Unregisters all files registered by the application object.
Nonzero on success; otherwise 0.
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.