CreatePointerMoniker

HRESULT CreatePointerMoniker(punk, ppmk)

Wrap a pointer in a Pointer Moniker so that it can be presented to interfaces that require monikers for generality, but specific uses of which can usefully deal with a moniker which cannot be saved to backing store.

Argument

Type

Description

punk

IUnknown*

The pointer that we are wrapping up in a moniker.

ppmk

IMoniker**

The returned Pointer Moniker.

return value

HRESULT

S_OK, E_OUTOFMEMORY