ReactOS 0.4.16-dev-125-g798ea90
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Variables | |
KGUARDED_MUTEX | PiNotifyTargetDeviceLock |
KGUARDED_MUTEX | PiNotifyHwProfileLock |
KGUARDED_MUTEX | PiNotifyDeviceInterfaceLock |
PNP_NOTIFY_ENTRY | |
* | PPNP_NOTIFY_ENTRY |
#define NDEBUG |
Definition at line 14 of file pnpnotify.c.
_Guarded_by_ | ( | PiNotifyHwProfileLock | ) |
Definition at line 23 of file pnpnotify.c.
|
static |
Definition at line 125 of file pnpnotify.c.
ULONG NTAPI IoPnPDeliverServicePowerNotification | ( | _In_ ULONG | VetoedPowerOperation, |
_In_ ULONG | PowerNotificationCode, | ||
_In_ ULONG | PowerNotificationData, | ||
_In_ BOOLEAN | Synchronous | ||
) |
Definition at line 330 of file pnpnotify.c.
NTSTATUS NTAPI IoRegisterPlugPlayNotification | ( | _In_ IO_NOTIFICATION_EVENT_CATEGORY | EventCategory, |
_In_ ULONG | EventCategoryFlags, | ||
_In_opt_ PVOID | EventCategoryData, | ||
_In_ PDRIVER_OBJECT | DriverObject, | ||
_In_ PDRIVER_NOTIFICATION_CALLBACK_ROUTINE | CallbackRoutine, | ||
_Inout_opt_ PVOID | Context, | ||
_Out_ PVOID * | NotificationEntry | ||
) |
Definition at line 346 of file pnpnotify.c.
Referenced by _Function_class_(), add_device(), add_volume_device(), CompBattPnpDispatch(), DriverEntry(), PciVerifierInit(), PoInitSystem(), register_fve_callback(), FxIoTargetRemote::RegisterForPnpNotification(), RegisterForTargetDeviceNotification(), SysAudioRegisterNotifications(), Test_IoRegisterPlugPlayNotification(), and WdmAudOpenSysAudioDevices().
Definition at line 480 of file pnpnotify.c.
Referenced by _Function_class_(), do_shutdown(), free_vol(), MountMgrFreeMountedDeviceInfo(), MountMgrMountedDeviceRemoval(), MountMgrUnload(), Mx::MxUnRegisterPlugPlayNotification(), register_fve_callback(), remove_volume_child(), SysAudio_AddDevice(), SysAudio_Pnp(), Test_IoRegisterPlugPlayNotification(), FxIoTargetRemote::UnregisterForPnpNotification(), and WdmAudClose().
|
static |
Calls PnP notification routine and makes some checks to detect faulty drivers.
Definition at line 106 of file pnpnotify.c.
Referenced by _Requires_lock_held_(), and IoRegisterPlugPlayNotification().
|
static |
Definition at line 67 of file pnpnotify.c.
Referenced by _Requires_lock_held_(), and IoUnregisterPlugPlayNotification().
Definition at line 55 of file pnpnotify.c.
Referenced by IoInitSystem().
VOID PiNotifyDeviceInterfaceChange | ( | _In_ LPCGUID | Event, |
_In_ LPCGUID | InterfaceClassGuid, | ||
_In_ PUNICODE_STRING | SymbolicLinkName | ||
) |
Delivers the event to all drivers subscribed to EventCategoryDeviceInterfaceChange.
[in] | Event | The PnP event GUID |
[in] | InterfaceClassGuid | The GUID of an interface class |
[in] | SymbolicLinkName | Pointer to a string identifying the device interface name |
Definition at line 161 of file pnpnotify.c.
Referenced by IoSetDeviceInterfaceState().
Delivers the event to all drivers subscribed to EventCategoryHardwareProfileChange PnP event.
Definition at line 214 of file pnpnotify.c.
VOID PiNotifyTargetDeviceChange | ( | _In_ LPCGUID | Event, |
_In_ PDEVICE_OBJECT | DeviceObject, | ||
_In_opt_ PTARGET_DEVICE_CUSTOM_NOTIFICATION | CustomNotification | ||
) |
Delivers the event to all drivers subscribed to EventCategoryTargetDeviceChange PnP event.
[in] | Event | The PnP event GUID |
[in] | DeviceObject | The (target) device object |
[in] | CustomNotification | Pointer to a custom notification for GUID_PNP_CUSTOM_NOTIFICATION |
Definition at line 258 of file pnpnotify.c.
Referenced by IopCancelRemoveDevice(), IopQueryRemoveDevice(), IopSendRemoveDevice(), and PpSetCustomTargetEvent().
|
static |
Definition at line 92 of file pnpnotify.c.
Referenced by _Requires_lock_held_().
KGUARDED_MUTEX PiNotifyDeviceInterfaceLock |
Definition at line 21 of file pnpnotify.c.
Referenced by IoRegisterPlugPlayNotification(), IoUnregisterPlugPlayNotification(), PiInitializeNotifications(), and PiNotifyDeviceInterfaceChange().
KGUARDED_MUTEX PiNotifyHwProfileLock |
Definition at line 20 of file pnpnotify.c.
Referenced by IoRegisterPlugPlayNotification(), IoUnregisterPlugPlayNotification(), PiInitializeNotifications(), and PiNotifyHardwareProfileChange().
KGUARDED_MUTEX PiNotifyTargetDeviceLock |
Definition at line 19 of file pnpnotify.c.
Referenced by IoRegisterPlugPlayNotification(), IoUnregisterPlugPlayNotification(), PiInitializeNotifications(), and PiNotifyTargetDeviceChange().
PNP_NOTIFY_ENTRY |
Definition at line 49 of file pnpnotify.c.
Referenced by IoRegisterPlugPlayNotification(), PiNotifyDeviceInterfaceChange(), PiNotifyHardwareProfileChange(), and PiNotifyTargetDeviceChange().
* PPNP_NOTIFY_ENTRY |
Definition at line 49 of file pnpnotify.c.
Referenced by IoRegisterPlugPlayNotification(), IoUnregisterPlugPlayNotification(), PiNotifyDeviceInterfaceChange(), PiNotifyHardwareProfileChange(), and PiNotifyTargetDeviceChange().