Creates a pointer moniker based on a pointer to an object.
WINOLEAPI CreatePointerMoniker(
LPUNKNOWN punk, //Pointer to the interface to be used
LPMONIKER FAR *ppmk //Address of output variable that receives
// the IMoniker interface pointer
);
This function supports the standard return values E_OUTOFMEMORY and E_UNEXPECTED, as well as the following:
A pointer moniker wraps an existing interface pointer in a moniker that can 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.
Pointer monikers are not commonly used, so this function is not often called.
Windows NT: Use version 3.1 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in objbase.h.
Import Library: Included as a resource in ole32.dll.
IMoniker - Pointer Moniker Implementation