In The Hand LtdIn The Hand
QueryInterface Method (pUnk, iid, ppv)
NamespacesInTheHand.Runtime.InteropServicesMarshalHelperQueryInterface(IntPtr, Guid%, IntPtr%)
.NET Components for Mobility
Requests a pointer to a specified interface from a COM object.
Declaration Syntax
C#Visual Basic
public static int QueryInterface(
	IntPtr pUnk,
	ref Guid iid,
	out IntPtr ppv
)
Public Shared Function QueryInterface ( _
	pUnk As IntPtr, _
	ByRef iid As Guid, _
	<OutAttribute> ByRef ppv As IntPtr _
) As Integer
Parameters
pUnk (IntPtr)
The interface to be queried.
iid (Guid%)
A Guid, passed by reference, that is the interface identifier (IID) of the requested interface.
ppv (IntPtr%)
When this method returns, contains a reference to the returned interface.
Return Value
An HRESULT that indicates the success or failure of the call.

Assembly: InTheHand (Module: InTheHand) Version: 7.0.0.0