NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Marshal.QueryInterface

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;

Parameters

pUnk
[To be supplied.]
iid
[To be supplied.]
ppv
[To be supplied.]

See Also

Marshal Class | Marshal Members | System.Runtime.InteropServices Namespace