Microsoft Windows CE 3.0  

GetInterface

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Retrieves an interface pointer.

HRESULT GetInterface(
LPUNKNOWN
pUnk
,
void **
ppv
);

Parameters

pUnk
Pointer to the IUnknowninterface.
ppv
Retrieved interface.

Return Values

Returns an HRESULTvalue.

Remarks

This member function performs a thread-safe increment of the reference count. To retrieve the interface and add a reference, call this function from your overriding implementation of the INonDelegatingUnknown::NonDelegatingQueryInterfacemethod.