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


COleControl::GetClassID

Called by the framework to retrieve the OLE class ID of the control.

virtual HRESULT GetClassID(
   LPCLSID pclsid 
) = 0;

Параметры

  • pclsid
    Pointer to the location of the class ID.

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

Nonzero if the call was not successful; otherwise 0.

Заметки

Usually implemented by the IMPLEMENT_OLECREATE_EX macro.

Требования

Header: afxctl.h

См. также

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

COleControl Class

COleControl Members

Hierarchy Chart