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

Implemented SetMessageExtraInfo.

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