mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:05:48 +00:00
[UMPNPMGR][SETUPAPI] PNP_RegisterNotification() has got 9 parameters.
This commit is contained in:
parent
18e835b605
commit
7eb6e42626
3 changed files with 26 additions and 11 deletions
|
@ -3530,20 +3530,30 @@ DWORD
|
|||
WINAPI
|
||||
PNP_RegisterNotification(
|
||||
handle_t hBinding,
|
||||
DWORD dwUnknown2,
|
||||
DWORD dwUnknown3,
|
||||
DWORD ulUnknown2,
|
||||
DWORD ulUnknown3,
|
||||
BYTE *pNotificationFilter,
|
||||
DWORD ulNotificationFilterSize,
|
||||
DWORD ulFlags,
|
||||
DWORD *pulNotify)
|
||||
DWORD *pulNotify,
|
||||
DWORD ulUnknown8,
|
||||
DWORD *pulUnknown9)
|
||||
{
|
||||
#if 0
|
||||
PNOTIFY_DATA pNotifyData;
|
||||
#endif
|
||||
|
||||
DPRINT1("PNP_RegisterNotification(%p %lx %lx %p %lu 0x%lx %p)\n",
|
||||
hBinding, dwUnknown2, dwUnknown3, pNotificationFilter,
|
||||
ulNotificationFilterSize, ulFlags, pulNotify);
|
||||
DPRINT1("PNP_RegisterNotification(%p %lx %lx %p %lu 0x%lx %p %lx %p)\n",
|
||||
hBinding, ulUnknown2, ulUnknown3, pNotificationFilter,
|
||||
ulNotificationFilterSize, ulFlags, pulNotify, ulUnknown8, pulUnknown9);
|
||||
|
||||
if (pNotificationFilter == NULL ||
|
||||
pulNotify == NULL ||
|
||||
pulUnknown9 == NULL)
|
||||
return CR_INVALID_POINTER;
|
||||
|
||||
if (ulFlags & ~0x7)
|
||||
return CR_INVALID_FLAG;
|
||||
|
||||
#if 0
|
||||
pNotifyData = RtlAllocateHeap(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(NOTIFY_DATA));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue