Commit f3a766bf authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

strmbase: Get rid of the unused "hInstance" field of the BaseWindow structure.

parent a17f2ecb
......@@ -110,7 +110,6 @@ HRESULT WINAPI BaseWindowImpl_PrepareWindow(BaseWindow *This)
winclass.lpfnWndProc = WndProcW;
winclass.cbWndExtra = sizeof(BaseWindow*);
winclass.hInstance = This->hInstance;
winclass.hbrBackground = GetStockObject(BLACK_BRUSH);
winclass.lpszClassName = class_nameW;
if (!RegisterClassW(&winclass) && GetLastError() != ERROR_CLASS_ALREADY_EXISTS)
......@@ -121,7 +120,7 @@ HRESULT WINAPI BaseWindowImpl_PrepareWindow(BaseWindow *This)
This->hWnd = CreateWindowExW(0, class_nameW, windownameW, WS_SIZEBOX,
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
NULL, NULL, This->hInstance, NULL);
NULL, NULL, NULL, NULL);
if (!This->hWnd)
{
......
......@@ -359,7 +359,6 @@ typedef struct tagBaseWindow
HWND hWnd;
LONG Width;
LONG Height;
HINSTANCE hInstance;
HDC hDC;
const struct BaseWindowFuncTable* pFuncsTable;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment