Visual Studio 2010 - Visual C++
AfxOleRegisterPropertyPageClass
Registers the property page class with the Windows registration database.
BOOL AFXAPI AfxOleRegisterPropertyPageClass( HINSTANCE hInstance, REFCLSID clsid, UINT idTypeName, int nRegFlags );
Parameters
Return Value
Nonzero if the control class was registered; otherwise 0.
Remarks
This allows the property page to be used by containers that are OLE-control aware. AfxOleRegisterPropertyPageClass updates the registry with the property page name and its location on the system and also sets the threading model that the control supports in the registry. For more information, see Technical Note 64, "Apartment-Model Threading in OLE Controls," and About Processes and Threads in the Windows SDK.
Requirements
Header: afxctl.h
See Also
Note