Requests a pointer to a specified interface on an unmanaged COM object.
[Visual Basic] Public Shared Function QueryInterface( _ ByVal pUnk As Integer, _ ByRef iid As Guid, _ ByRef ppv As Integer _ ) As Integer [C#] public static int QueryInterface( int pUnk, ref Guid iid, ref int ppv ); [C++] public: static int QueryInterface( int pUnk, Guid** iid, int** ppv ); [JScript] public static function QueryInterface( pUnk : int, iid : Guid, ppv : int ) : int;
Marshal Class | Marshal Members | System.Runtime.InteropServices Namespace