Dela via


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.

Requirements

Header: afxctl.h

See Also

Concepts

MFC Macros and Globals

Reference

AfxOleRegisterPropertyPageClass

AfxOleRegisterControlClass

AfxOleRegisterTypeLib