[SETUPAPI][UMPNPMGR] Improve CMP_RegisterNotification/PNP_RegisterNotification

Pass the notification filter to PNP_RegisterNotification as a byte-pointer to the filter and the size of the filter.
This commit is contained in:
Eric Kohl 2019-06-23 19:26:44 +02:00
parent 8f04a09e74
commit ca0406131c
3 changed files with 8 additions and 2 deletions

View file

@ -875,6 +875,8 @@ interface pnp
__stdcall
PNP_RegisterNotification(
[in] handle_t hBinding,
[in, size_is(ulNotificationFilterSize)] BYTE *pNotificationFilter,
[in] DWORD ulNotificationFilterSize,
[in] DWORD ulFlags,
[out] DWORD *pulNotifyData);