CMonikerFile::GetMoniker

IMoniker* GetMoniker( ) const;

Return Value

A pointer to the current moniker interface (IMoniker).

Remarks

Call this function to retrieve a pointer to the current moniker. Since CMonikerFile is not an interface, the pointer returned does not increment the reference count (through AddRef), and the moniker is released when the CMonikerFile object is released. If you want to hold onto the moniker or release it yourself, you must AddRef it.

CMonikerFile OverviewClass MembersHierarchy Chart