Creates a pointer moniker based on a specified interface pointer.
| LPUNKNOWN punk,
||//Interface pointer to be used
| LPMONIKER FAR *ppmk
||//Receives the pointer moniker
Points to an interface pointer to the object to be identified by the resulting
Receives an IMoniker
interface pointer to the new pointer moniker. The returned pointer is NULL if
an error occurs; if non-NULL, the function has called IUnknown::AddRef
on the parameter and the caller is responsible for calling IUnknown::Release
Indicates the pointer moniker was created successfully.
Indicates an unexpected error occurred.
Indicates insufficient memory.
You rarely need to call this function.
A pointer moniker is essentially a wrapping of an interface pointer that
allows it to be passed to those interfaces that require monikers. Pointer monikers
allow an object that has no persistent representation to participate in a
moniker binding operation. Binding a pointer moniker is done by calling the pointer's IUnknown::QueryInterface
IMoniker - Pointer Moniker Implementation
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages