rpcserver.c (a9c4c079) | rpcserver.c (7eb6e426) |
---|---|
1/* 2 * ReactOS kernel 3 * Copyright (C) 2005 ReactOS Team 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 3516 unchanged lines hidden (view full) --- 3525} 3526 3527 3528/* Function 59 */ 3529DWORD 3530WINAPI 3531PNP_RegisterNotification( 3532 handle_t hBinding, | 1/* 2 * ReactOS kernel 3 * Copyright (C) 2005 ReactOS Team 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 3516 unchanged lines hidden (view full) --- 3525} 3526 3527 3528/* Function 59 */ 3529DWORD 3530WINAPI 3531PNP_RegisterNotification( 3532 handle_t hBinding, |
3533 DWORD dwUnknown2, 3534 DWORD dwUnknown3, | 3533 DWORD ulUnknown2, 3534 DWORD ulUnknown3, |
3535 BYTE *pNotificationFilter, 3536 DWORD ulNotificationFilterSize, 3537 DWORD ulFlags, | 3535 BYTE *pNotificationFilter, 3536 DWORD ulNotificationFilterSize, 3537 DWORD ulFlags, |
3538 DWORD *pulNotify) | 3538 DWORD *pulNotify, 3539 DWORD ulUnknown8, 3540 DWORD *pulUnknown9) |
3539{ 3540#if 0 3541 PNOTIFY_DATA pNotifyData; 3542#endif 3543 | 3541{ 3542#if 0 3543 PNOTIFY_DATA pNotifyData; 3544#endif 3545 |
3544 DPRINT1("PNP_RegisterNotification(%p %lx %lx %p %lu 0x%lx %p)\n", 3545 hBinding, dwUnknown2, dwUnknown3, pNotificationFilter, 3546 ulNotificationFilterSize, ulFlags, pulNotify); | 3546 DPRINT1("PNP_RegisterNotification(%p %lx %lx %p %lu 0x%lx %p %lx %p)\n", 3547 hBinding, ulUnknown2, ulUnknown3, pNotificationFilter, 3548 ulNotificationFilterSize, ulFlags, pulNotify, ulUnknown8, pulUnknown9); |
3547 | 3549 |
3550 if (pNotificationFilter == NULL || 3551 pulNotify == NULL || 3552 pulUnknown9 == NULL) 3553 return CR_INVALID_POINTER; 3554 3555 if (ulFlags & ~0x7) 3556 return CR_INVALID_FLAG; 3557 |
|
3548#if 0 3549 pNotifyData = RtlAllocateHeap(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(NOTIFY_DATA)); 3550 if (pNotifyData == NULL) 3551 return CR_OUT_OF_MEMORY; 3552 3553 *pulNotify = (DWORD)pNotifyData; 3554#endif 3555 --- 310 unchanged lines hidden --- | 3558#if 0 3559 pNotifyData = RtlAllocateHeap(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(NOTIFY_DATA)); 3560 if (pNotifyData == NULL) 3561 return CR_OUT_OF_MEMORY; 3562 3563 *pulNotify = (DWORD)pNotifyData; 3564#endif 3565 --- 310 unchanged lines hidden --- |