mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 19:49:50 +00:00
Stub for RegisterDeviceNotificationA.
This commit is contained in:
parent
0b42d3ce5b
commit
521c0e4afa
3 changed files with 26 additions and 0 deletions
|
@ -634,3 +634,6 @@ rsrc user32
|
||||||
801 stdcall SetMenuInfo(long ptr)SetMenuInfo
|
801 stdcall SetMenuInfo(long ptr)SetMenuInfo
|
||||||
802 stdcall GetProcessDefaultLayout(ptr) GetProcessDefaultLayout
|
802 stdcall GetProcessDefaultLayout(ptr) GetProcessDefaultLayout
|
||||||
803 stdcall SetProcessDefaultLayout(long) SetProcessDefaultLayout
|
803 stdcall SetProcessDefaultLayout(long) SetProcessDefaultLayout
|
||||||
|
804 stdcall RegisterDeviceNotificationA(long ptr long) RegisterDeviceNotificationA
|
||||||
|
805 stub RegisterDeviceNotificationW
|
||||||
|
806 stub UnregisterDeviceNotification
|
||||||
|
|
|
@ -2984,6 +2984,13 @@ typedef struct
|
||||||
#define NF_QUERY 3
|
#define NF_QUERY 3
|
||||||
#define NF_REQUERY 4
|
#define NF_REQUERY 4
|
||||||
|
|
||||||
|
/* RegisterDeviceNotification stuff */
|
||||||
|
typedef PVOID HDEVNOTIFY;
|
||||||
|
typedef HDEVNOTIFY *PHDEVNOTIFY;
|
||||||
|
|
||||||
|
#define DEVICE_NOTIFY_WINDOW_HANDLE 0x00000000
|
||||||
|
|
||||||
|
|
||||||
#include "poppack.h"
|
#include "poppack.h"
|
||||||
#define EnumTaskWindows(handle,proc,lparam) \
|
#define EnumTaskWindows(handle,proc,lparam) \
|
||||||
EnumThreadWindows(handle,proc,lparam)
|
EnumThreadWindows(handle,proc,lparam)
|
||||||
|
@ -3053,6 +3060,9 @@ BOOL WINAPI PostThreadMessageA(DWORD, UINT, WPARAM, LPARAM);
|
||||||
BOOL WINAPI PostThreadMessageW(DWORD, UINT, WPARAM, LPARAM);
|
BOOL WINAPI PostThreadMessageW(DWORD, UINT, WPARAM, LPARAM);
|
||||||
#define PostThreadMessage WINELIB_NAME_AW(PostThreadMessage)
|
#define PostThreadMessage WINELIB_NAME_AW(PostThreadMessage)
|
||||||
BOOL WINAPI RegisterHotKey(HWND,INT,UINT,UINT);
|
BOOL WINAPI RegisterHotKey(HWND,INT,UINT,UINT);
|
||||||
|
HDEVNOTIFY WINAPI RegisterDeviceNotificationA(HANDLE,LPVOID,DWORD);
|
||||||
|
HDEVNOTIFY WINAPI RegisterDeviceNotificationW(HANDLE,LPVOID,DWORD);
|
||||||
|
#define RegisterDeviceNotification WINELIB_NAME_AW(RegisterDeviceNotification)
|
||||||
UINT WINAPI ReuseDDElParam(UINT,UINT,UINT,UINT,UINT);
|
UINT WINAPI ReuseDDElParam(UINT,UINT,UINT,UINT,UINT);
|
||||||
BOOL WINAPI SendMessageCallbackA(HWND,UINT,WPARAM,LPARAM,FARPROC,DWORD);
|
BOOL WINAPI SendMessageCallbackA(HWND,UINT,WPARAM,LPARAM,FARPROC,DWORD);
|
||||||
BOOL WINAPI SendMessageCallbackW(HWND,UINT,WPARAM,LPARAM,FARPROC,DWORD);
|
BOOL WINAPI SendMessageCallbackW(HWND,UINT,WPARAM,LPARAM,FARPROC,DWORD);
|
||||||
|
@ -3074,6 +3084,7 @@ INT WINAPI ToUnicode(UINT,UINT,PBYTE,LPWSTR,int,UINT);
|
||||||
BOOL WINAPI TrackPopupMenuEx(HMENU,UINT,INT,INT,HWND,
|
BOOL WINAPI TrackPopupMenuEx(HMENU,UINT,INT,INT,HWND,
|
||||||
LPTPMPARAMS);
|
LPTPMPARAMS);
|
||||||
UINT WINAPI UnpackDDElParam(UINT,UINT,UINT*,UINT*);
|
UINT WINAPI UnpackDDElParam(UINT,UINT,UINT*,UINT*);
|
||||||
|
BOOL WINAPI UnregisterDeviceNotification(HDEVNOTIFY);
|
||||||
BOOL WINAPI UnregisterHotKey(HWND,INT);
|
BOOL WINAPI UnregisterHotKey(HWND,INT);
|
||||||
DWORD WINAPI WaitForInputIdle(HANDLE,DWORD);
|
DWORD WINAPI WaitForInputIdle(HANDLE,DWORD);
|
||||||
VOID WINAPI keybd_event(BYTE,BYTE,DWORD,DWORD);
|
VOID WINAPI keybd_event(BYTE,BYTE,DWORD,DWORD);
|
||||||
|
|
|
@ -682,3 +682,15 @@ void WINAPI RegisterSystemThread(DWORD flags, DWORD reserved)
|
||||||
{
|
{
|
||||||
FIXME_(win32)("(%08lx, %08lx)\n", flags, reserved);
|
FIXME_(win32)("(%08lx, %08lx)\n", flags, reserved);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* RegisterDeviceNotification (USER32.477)
|
||||||
|
*/
|
||||||
|
HDEVNOTIFY WINAPI RegisterDeviceNotificationA(
|
||||||
|
HANDLE hnd, LPVOID notifyfilter, DWORD flags
|
||||||
|
) {
|
||||||
|
FIXME_(win32)("(hwnd=%08x, filter=%p,flags=0x%08lx), STUB!\n",
|
||||||
|
hnd,notifyfilter,flags
|
||||||
|
);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue