Поделиться через


CMonikerFile::GetMoniker

Call this function to retrieve a pointer to the current moniker.

IMoniker* GetMoniker( ) const;

Возвращаемое значение

A pointer to the current moniker interface (IMoniker).

Заметки

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.

Требования

Header: afxole.h

См. также

Основные понятия

CMonikerFile Class

CMonikerFile Members

Hierarchy Chart