strmbase: add beginnings of BaseWindow
Alexandre Julliard
julliard at winehq.org
Wed Mar 28 04:34:58 CDT 2012
Aric Stewart <aric at codeweavers.com> writes:
> +HRESULT WINAPI BaseWindow_Destroy(BaseWindow *This)
> +{
> + if (This->hWnd)
> + BaseWindowImpl_DoneWithWindow(This);
> +
> + UnregisterClassW(This->pClassName, NULL);
You most likely don't want to unregister the class every time.
> + wnd_class_registered = GetClassInfoW(This->hInstance, This->pClassName,
> + &winclass);
> +
> + if (!wnd_class_registered)
> + {
There shouldn't be any reason to do this.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list