ComponentOne Bitmap for WPF
QueryInterface Method (IUnknown)

C1.WPF.DX.4 Assembly > C1.Util.DX Namespace > IUnknown Interface : QueryInterface Method
The guid of the interface.
The output COM object reference.
Queries the supported COM interface on this instance.
Syntax
'Declaration
 
Function QueryInterface( _
   ByRef guid As System.Guid, _
   ByRef comObject As System.IntPtr _
) As HResult
HResult QueryInterface( 
   ref System.Guid guid,
   out System.IntPtr comObject
)

Parameters

guid
The guid of the interface.
comObject
The output COM object reference.

Return Value

If successfull, HResult.Ok
See Also

Reference

IUnknown Interface
IUnknown Members