mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[IDL][SETUPAPI][UMPNPMGR] Improve PNP_RegisterNotification
- The 2nd parameter is the handle to the recipient. - The 8th parameter is the callers process id.
This commit is contained in:
parent
954598037f
commit
71df39b027
3 changed files with 6 additions and 6 deletions
|
@ -4689,13 +4689,13 @@ DWORD
|
|||
WINAPI
|
||||
PNP_RegisterNotification(
|
||||
handle_t hBinding,
|
||||
DWORD ulUnknown2,
|
||||
DWORD_PTR hRecipient,
|
||||
LPWSTR pszName,
|
||||
BYTE *pNotificationFilter,
|
||||
DWORD ulNotificationFilterSize,
|
||||
DWORD ulFlags,
|
||||
PNP_NOTIFY_HANDLE *pNotifyHandle,
|
||||
DWORD ulUnknown8,
|
||||
DWORD ulProcessId,
|
||||
DWORD *pulUnknown9)
|
||||
{
|
||||
PDEV_BROADCAST_DEVICEINTERFACE_W pBroadcastDeviceInterface;
|
||||
|
@ -4703,8 +4703,8 @@ PNP_RegisterNotification(
|
|||
PNOTIFY_ENTRY pNotifyData = NULL;
|
||||
|
||||
DPRINT1("PNP_RegisterNotification(%p %lx '%S' %p %lu 0x%lx %p %lx %p)\n",
|
||||
hBinding, ulUnknown2, pszName, pNotificationFilter,
|
||||
ulNotificationFilterSize, ulFlags, pNotifyHandle, ulUnknown8, pulUnknown9);
|
||||
hBinding, hRecipient, pszName, pNotificationFilter,
|
||||
ulNotificationFilterSize, ulFlags, pNotifyHandle, ulProcessId, pulUnknown9);
|
||||
|
||||
if (pNotifyHandle == NULL)
|
||||
return CR_INVALID_POINTER;
|
||||
|
|
|
@ -670,7 +670,7 @@ CMP_RegisterNotification(
|
|||
RpcTryExcept
|
||||
{
|
||||
ret = PNP_RegisterNotification(BindingHandle,
|
||||
0, /* ??? */
|
||||
(DWORD_PTR)hRecipient,
|
||||
szNameBuffer,
|
||||
(BYTE*)lpvNotificationFilter,
|
||||
((DEV_BROADCAST_HDR*)lpvNotificationFilter)->dbch_size,
|
||||
|
|
|
@ -878,7 +878,7 @@ interface pnp
|
|||
__stdcall
|
||||
PNP_RegisterNotification(
|
||||
[in] handle_t hBinding,
|
||||
[in] DWORD ulUnknown2,
|
||||
[in] DWORD_PTR hRecipient,
|
||||
[in, string, ref] LPWSTR pszName,
|
||||
[in, size_is(ulNotificationFilterSize)] BYTE *pNotificationFilter,
|
||||
[in] DWORD ulNotificationFilterSize,
|
||||
|
|
Loading…
Reference in a new issue