Bagikan melalui


COleControl::GetClassID

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

virtual HRESULT GetClassID(
   LPCLSID pclsid 
) = 0;

Parameters

  • pclsid
    Pointer to the location of the class ID.

Return Value

Nonzero if the call was not successful; otherwise 0.

Remarks

Usually implemented by the IMPLEMENT_OLECREATE_EX macro.

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart

Other Resources

COleControl Members