Resolve a WinRT object / COM pointer argument to the exact COM interface IID
expected by the callee's ABI slot. Fast-paths when the pointer already holds
the expected IID; otherwise performs QueryInterface and returns an owned
pointer that the caller must release in finally.
Resolve a WinRT object / COM pointer argument to the exact COM interface IID expected by the callee's ABI slot. Fast-paths when the pointer already holds the expected IID; otherwise performs
QueryInterfaceand returns anownedpointer that the caller must release infinally.