strmbase: Get rid of the unused "hDC" field of the BaseWindow structure.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9cef48941e
commit
3e7a804790
|
@ -130,8 +130,6 @@ HRESULT WINAPI BaseWindowImpl_PrepareWindow(BaseWindow *This)
|
|||
|
||||
SetWindowLongPtrW(This->hWnd, 0, (LONG_PTR)This);
|
||||
|
||||
This->hDC = GetDC(This->hWnd);
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
@ -140,10 +138,6 @@ HRESULT WINAPI BaseWindowImpl_DoneWithWindow(BaseWindow *This)
|
|||
if (!This->hWnd)
|
||||
return S_OK;
|
||||
|
||||
if (This->hDC)
|
||||
ReleaseDC(This->hWnd, This->hDC);
|
||||
This->hDC = NULL;
|
||||
|
||||
SendMessageW(This->hWnd, WM_CLOSE, 0, 0);
|
||||
This->hWnd = NULL;
|
||||
|
||||
|
|
|
@ -359,7 +359,6 @@ typedef struct tagBaseWindow
|
|||
HWND hWnd;
|
||||
LONG Width;
|
||||
LONG Height;
|
||||
HDC hDC;
|
||||
|
||||
const struct BaseWindowFuncTable* pFuncsTable;
|
||||
} BaseWindow;
|
||||
|
|
Loading…
Reference in New Issue