I'm trying to export working code I have in C# to Rust using the official window rust crate windows-rs (basically doing the exact same calls just with their Rust alternative).
I'm double checking that the handle points to a Internet Explorer_Server class handle. I'm getting the following error.
result = Err(Error { code: HRESULT(0x80070057), message: "The parameter is incorrect." })
I also couldn't find a single example of using ObjectFromLresult in Rust GitHub search.