mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
strmbase: Get rid of the "pfnOnReceiveMessage" callback.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a29b1d58b7
commit
a0aa542a26
4 changed files with 0 additions and 7 deletions
|
@ -443,7 +443,6 @@ static const BaseRendererFuncTable BaseFuncTable =
|
|||
static const BaseWindowFuncTable renderer_BaseWindowFuncTable = {
|
||||
VideoRenderer_GetClassWindowStyles,
|
||||
VideoRenderer_GetDefaultRect,
|
||||
NULL,
|
||||
VideoRenderer_OnSize
|
||||
};
|
||||
|
||||
|
|
|
@ -606,7 +606,6 @@ static BOOL WINAPI VMR9_OnSize(BaseWindow *This, LONG Width, LONG Height)
|
|||
static const BaseWindowFuncTable renderer_BaseWindowFuncTable = {
|
||||
VMR9_GetClassWindowStyles,
|
||||
VMR9_GetDefaultRect,
|
||||
NULL,
|
||||
VMR9_OnSize,
|
||||
};
|
||||
|
||||
|
|
|
@ -40,9 +40,6 @@ static LRESULT CALLBACK WndProcW(HWND hwnd, UINT message, WPARAM wparam, LPARAM
|
|||
if (!This)
|
||||
return DefWindowProcW(hwnd, message, wparam, lparam);
|
||||
|
||||
if (This->pFuncsTable->pfnOnReceiveMessage)
|
||||
return This->pFuncsTable->pfnOnReceiveMessage(This, hwnd, message, wparam, lparam);
|
||||
|
||||
switch (message)
|
||||
{
|
||||
case WM_KEYDOWN:
|
||||
|
|
|
@ -371,7 +371,6 @@ typedef struct tagBaseWindow
|
|||
|
||||
typedef LPWSTR (WINAPI *BaseWindow_GetClassWindowStyles)(BaseWindow *This, DWORD *pClassStyles, DWORD *pWindowStyles, DWORD *pWindowStylesEx);
|
||||
typedef RECT (WINAPI *BaseWindow_GetDefaultRect)(BaseWindow *This);
|
||||
typedef LRESULT (WINAPI *BaseWindow_OnReceiveMessage)(BaseWindow *This, HWND hwnd, INT uMsg, WPARAM wParam, LPARAM lParam);
|
||||
typedef BOOL (WINAPI *BaseWindow_OnSize)(BaseWindow *This, LONG Height, LONG Width);
|
||||
|
||||
typedef struct BaseWindowFuncTable
|
||||
|
@ -380,7 +379,6 @@ typedef struct BaseWindowFuncTable
|
|||
BaseWindow_GetClassWindowStyles pfnGetClassWindowStyles;
|
||||
BaseWindow_GetDefaultRect pfnGetDefaultRect;
|
||||
/* Optional, WinProc Related */
|
||||
BaseWindow_OnReceiveMessage pfnOnReceiveMessage;
|
||||
BaseWindow_OnSize pfnOnSize;
|
||||
} BaseWindowFuncTable;
|
||||
|
||||
|
|
Loading…
Reference in a new issue