Commit 98e5e770 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Implemented SetMessageExtraInfo.

parent e8c2ac2d
......@@ -522,7 +522,7 @@
@ stdcall SetMenuItemBitmaps(long long long long long)
@ stdcall SetMenuItemInfoA(long long long ptr)
@ stdcall SetMenuItemInfoW(long long long ptr)
@ stub SetMessageExtraInfo
@ stdcall SetMessageExtraInfo(long)
@ stdcall SetMessageQueue(long)
@ stdcall SetParent(long long)
@ stdcall SetProcessWindowStation(long)
......
......@@ -3832,7 +3832,7 @@ VOID WINAPI EndMenu(void);
DWORD WINAPI GetDialogBaseUnits(void);
BOOL WINAPI GetKeyboardState(LPBYTE);
DWORD WINAPI GetMenuCheckMarkDimensions(void);
LONG WINAPI GetMessageExtraInfo(void);
LPARAM WINAPI GetMessageExtraInfo(void);
DWORD WINAPI GetMessagePos(void);
LONG WINAPI GetMessageTime(void);
DWORD WINAPI OemKeyScan(WORD);
......@@ -4373,15 +4373,16 @@ BOOL WINAPI SetDoubleClickTime(UINT);
HWND WINAPI SetFocus(HWND);
BOOL WINAPI SetForegroundWindow(HWND);
void WINAPI SetInternalWindowPos(HWND,UINT,LPRECT,LPPOINT);
BOOL WINAPI SetMenu(HWND,HMENU);
BOOL WINAPI SetMenuContextHelpId(HMENU,DWORD);
BOOL WINAPI SetMenuItemBitmaps(HMENU,UINT,UINT,HBITMAP,HBITMAP);
BOOL WINAPI SetMessageQueue(INT);
BOOL WINAPI SetProcessDefaultLayout(DWORD);
BOOL WINAPI SetProcessWindowStation(HWINSTA);
HWND WINAPI SetParent(HWND,HWND);
BOOL WINAPI SetPropA(HWND,LPCSTR,HANDLE);
BOOL WINAPI SetPropW(HWND,LPCWSTR,HANDLE);
BOOL WINAPI SetMenu(HWND,HMENU);
BOOL WINAPI SetMenuContextHelpId(HMENU,DWORD);
BOOL WINAPI SetMenuItemBitmaps(HMENU,UINT,UINT,HBITMAP,HBITMAP);
LPARAM WINAPI SetMessageExtraInfo(LPARAM);
BOOL WINAPI SetMessageQueue(INT);
BOOL WINAPI SetProcessDefaultLayout(DWORD);
BOOL WINAPI SetProcessWindowStation(HWINSTA);
HWND WINAPI SetParent(HWND,HWND);
BOOL WINAPI SetPropA(HWND,LPCSTR,HANDLE);
BOOL WINAPI SetPropW(HWND,LPCWSTR,HANDLE);
#define SetProp WINELIB_NAME_AW(SetProp)
BOOL WINAPI SetRect(LPRECT,INT,INT,INT,INT);
BOOL WINAPI SetRectEmpty(LPRECT);
......
......@@ -239,10 +239,25 @@ LONG WINAPI GetMessageTime(void)
* GetMessageExtraInfo (USER.288)
* GetMessageExtraInfo (USER32.@)
*/
LONG WINAPI GetMessageExtraInfo(void)
LPARAM WINAPI GetMessageExtraInfo(void)
{
MESSAGEQUEUE *queue;
if (!(queue = QUEUE_Current())) return 0;
return queue->GetMessageExtraInfoVal;
}
/***********************************************************************
* SetMessageExtraInfo (USER32.@)
*/
LPARAM WINAPI SetMessageExtraInfo(LPARAM lParam)
{
MESSAGEQUEUE *queue;
LONG old_value;
if (!(queue = QUEUE_Current())) return 0;
old_value = queue->GetMessageExtraInfoVal;
queue->GetMessageExtraInfoVal = lParam;
return old_value;
}
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