QueryInterface Method (IUnknown)
In This Topic
Queries the supported COM interface on this instance.
Syntax
'Declaration
Function QueryInterface( _
ByRef As System.Guid, _
ByRef As System.IntPtr _
) As HResult
HResult QueryInterface(
ref System.Guid ,
out System.IntPtr
)
Parameters
- guid
- The guid of the interface.
- comObject
- The output COM object reference.
Return Value
If successfull,
HResult.Ok
See Also