Partager via


CWinApp::Unregister

Unregisters all files registered by the application object.

virtual BOOL Unregister( );

Return Value

Nonzero on success; otherwise 0.

Remarks

The Unregister function undoes the registration performed by the application object and the Register function. Normally, both functions are called implicitly by MFC and therefore will not appear in your code.

Override this function to perform custom unregistration steps.

Requirements

Header: afxwin.h

See Also

Concepts

CWinApp Class

CWinApp Members

Hierarchy Chart

CWinApp::RegisterShellFileTypes