Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e2b1222e
Commit
e2b1222e
authored
Mar 05, 2004
by
Robert Shearman
Committed by
Alexandre Julliard
Mar 05, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stub for RegisterDeviceNotificationW.
parent
ed593fdf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
1 deletion
+32
-1
user32.spec
dlls/user/user32.spec
+1
-1
user.c
windows/user.c
+31
-0
No files found.
dlls/user/user32.spec
View file @
e2b1222e
...
...
@@ -676,7 +676,7 @@
@ stdcall GetProcessDefaultLayout(ptr)
@ stdcall SetProcessDefaultLayout(long)
@ stdcall RegisterDeviceNotificationA(long ptr long)
@ st
ub RegisterDeviceNotificationW
@ st
dcall RegisterDeviceNotificationW(long ptr long)
@ stdcall TrackMouseEvent(ptr)
@ stub UnregisterDeviceNotification
...
...
windows/user.c
View file @
e2b1222e
...
...
@@ -710,9 +710,40 @@ void WINAPI RegisterSystemThread(DWORD flags, DWORD reserved)
/***********************************************************************
* RegisterDeviceNotificationA (USER32.@)
*
* See RegisterDeviceNotificationW.
*/
HDEVNOTIFY
WINAPI
RegisterDeviceNotificationA
(
HANDLE
hnd
,
LPVOID
notifyfilter
,
DWORD
flags
)
{
FIXME
(
"(hwnd=%p, filter=%p,flags=0x%08lx), STUB!
\n
"
,
hnd
,
notifyfilter
,
flags
);
return
0
;
}
/***********************************************************************
* RegisterDeviceNotificationW (USER32.@)
*
* Registers a window with the system so that it will receive
* notifications about a device.
*
* PARAMS
* hRecepient [I] Window or service status handle that
* will receive notifications.
* pNotificationFilter [I] DEV_BROADCAST_HDR followed by some
* type-specific data.
* dwFlags [I] See notes
*
* RETURNS
*
* A handle to the device notification.
*
* NOTES
*
* The dwFlags parameter can be one of two values:
*| DEVICE_NOTIFY_WINDOW_HANDLE - hRecepient is a window handle
*| DEVICE_NOTIFY_SERVICE_HANDLE - hRecepient is a service status handle
*/
HDEVNOTIFY
WINAPI
RegisterDeviceNotificationW
(
HANDLE
hRecepient
,
LPVOID
pNotificationFilter
,
DWORD
dwFlags
)
{
FIXME
(
"(hwnd=%p, filter=%p,flags=0x%08lx), STUB!
\n
"
,
hRecepient
,
pNotificationFilter
,
dwFlags
);
return
0
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment