This documentation is archived and is not being maintained.

AfxOleUnregisterClass

Removes the control or property page class entry from the Windows registration database.

BOOL AFXAPI AfxOleUnregisterClass(
   REFCLSID clsID,
   LPCSTR pszProgID 
);

Parameters

clsID
The unique class ID of the control or property page.
pszProgID
The unique program ID of the control or property page.

Return Value

Nonzero if the control or property page class was successfully unregistered; otherwise 0.

See Also

MFC Macros and Globals | AfxOleRegisterPropertyPageClass | AfxOleRegisterControlClass | AfxOleRegisterTypeLib

Show: