CComDesignerServices::GetInterface

STDMETHOD GetInterface (const IID pIid, void **pRetInterface );

Return Value

A standard HRESULT value.

Parameters

pIid

Pointer to the ID of the interface in the service to which the caller requests a pointer.

pRetInterface

Indirect pointer to the requested interface, or NULL if no such pointer is available.

Remarks

GetInterface returns a pointer to an interface that is part of a service. The designer must previously have requested the use of the service in a SERVICES_MAP_ENTRY.

See Also

Service Map Macros