How to use a ComPtr from the windows-runtime using windows-rs?
https://microsoft.github.io/windows-docs-rs/doc/windows/?search=ComPtr
The rust documentation for windows-rs does not have anything for any ComPtr structures.
https://microsoft.github.io/windows-docs-rs/doc/windows/?search=RawPtr
[EDIT] Also nothing for RawPtr
https://learn.microsoft.com/en-us/cpp/cppcx/wrl/comptr-class?view=msvc-170
The MS documentation does show ComPtr as a C++ object and this does expose the methods used however
this seems to just be basic language documentation... An IDE is not a language on aside, massive headaches
caused by avoiding Visual Studio but that's tangential...
https://github.com/robmikh/wgc-rust-demo/blob/master/src/d3d.rs
Proceeding from viewing the above file, figured RawPtr might translate to ComPtr.
https://docs.rs/winrt/latest/winrt/
docs.rs has winrt indexed but it is void of all content.
Building with the latest winrt by default does not contain RawPtr.
That example has the crate winrt defined in the cargo.toml file to point at a git url, which evaluates to the windows-rs git repo (the windows-rs crate).
The question is where is the ComPtr/RawPtr structure in windows-rs or otherwise?
The context is that I'm trying to follow the MSDN example for creating a direct3d device which
is demonstrated via C++ (Visual Studio build chain) using ComPtr.