Make sure to unregister all the classes that were registered when msi

is unloaded, so we can register again cleanly.
This commit is contained in:
Mike McCormack 2005-10-31 15:43:39 +00:00 committed by Alexandre Julliard
parent 9997f84eac
commit 7cd5467377
1 changed files with 2 additions and 0 deletions

View File

@ -2183,6 +2183,8 @@ BOOL msi_dialog_register_class( void )
void msi_dialog_unregister_class( void )
{
DestroyWindow( hMsiHiddenWindow );
hMsiHiddenWindow = NULL;
UnregisterClassW( szMsiDialogClass, NULL );
UnregisterClassW( szMsiHiddenWindow, NULL );
uiThreadId = 0;
}