AfxOleUnregisterClass

 

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

Syntax

      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.

Requirements

Header: afxctl.h

See Also

MFC Macros and Globals
AfxOleRegisterPropertyPageClass
AfxOleRegisterControlClass
AfxOleRegisterTypeLib