ReactOS 0.4.16-dev-112-g52265ae
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | PIP_RETURN_DATA(x, y) {ReturnLength = x; Data = y; Status = STATUS_SUCCESS; break;} |
#define | PIP_REGISTRY_DATA(x, y) {ValueName = x; ValueType = y; break;} |
#define | PIP_UNIMPLEMENTED() {UNIMPLEMENTED_DBGBREAK(); break;} |
Variables | |
ERESOURCE | PpRegistryDeviceResource |
KGUARDED_MUTEX | PpDeviceReferenceTableLock |
RTL_AVL_TABLE | PpDeviceReferenceTable |
ULONG | ExpInitializationPhase |
PDRIVER_OBJECT | IopRootDriverObject |
PIO_BUS_TYPE_GUID_LIST | PnpBusTypeGuidList = NULL |
#define PIP_RETURN_DATA | ( | x, | |
y | |||
) | {ReturnLength = x; Data = y; Status = STATUS_SUCCESS; break;} |
#define PIP_UNIMPLEMENTED | ( | ) | {UNIMPLEMENTED_DBGBREAK(); break;} |
NTSTATUS NTAPI IoGetDeviceProperty | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN DEVICE_REGISTRY_PROPERTY | DeviceProperty, | ||
IN ULONG | BufferLength, | ||
OUT PVOID | PropertyBuffer, | ||
OUT PULONG | ResultLength | ||
) |
Definition at line 1382 of file pnpmgr.c.
Referenced by Bus_AddDevice(), ClasspInitializeHotplugInfo(), DcInitializeAdapterLocation(), GetBusInterface(), InPortAddDevice(), IntVideoPortCreateAdapterDeviceObject(), IoGetDmaAdapter(), IoOpenDeviceRegistryKey(), IopGetDeviceProperty(), IopUpdateResourceMap(), IsaFdoQueryInterface(), KspStartBusDevice(), NdisIAddDevice(), NdisIPnPStartDevice(), PcGetDeviceProperty(), PciDetermineSlotNumber(), PciGetDeviceProperty(), RamdiskPnp(), StreamClassStartDevice(), USBH_IoctlGetNodeConnectionDriverKeyName(), USBPORT_StartDevice(), USBPORT_UserGetHcName(), and UserEnumDisplayDevices().
VOID NTAPI IoInvalidateDeviceRelations | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN DEVICE_RELATION_TYPE | Type | ||
) |
Definition at line 1772 of file pnpmgr.c.
Referenced by _Function_class_(), add_volume_device(), ClassDeviceControl(), ClassInterpretSenseInfo(), DiskIoctlGetLengthInfo(), FxChildList::EndScan(), FDO_StartDevice(), FdoIoctlDiskCreateDisk(), FdoIoctlDiskDeleteDriveLayout(), FdoIoctlDiskSetDriveLayout(), FdoIoctlDiskSetDriveLayoutEx(), FdoIoctlDiskUpdateProperties(), MxDeviceObject::InvalidateDeviceRelations(), IsaFdoRemoveDevice(), IsaPdoStartReadPort(), IsaReadPortRemoveDevice(), KsCreateBusEnumObject(), KspBusWorkerRoutine(), KspInstallBusEnumInterface(), KsServiceBusEnumCreateRequest(), PartitionHandleDeviceControl(), FxChildList::ProcessBusRelations(), FxChildList::ProcessModificationsLocked(), RamdiskCreateRamdisk(), remove_volume_child(), ReportGreenPdo(), RequestDispatchToSequentialQueue(), SenseInfoInterpretByAdditionalSenseCode(), USBH_FdoQueryBusRelations(), USBH_ProcessPortStateChange(), USBHUB_RootHubCallBack(), and VideoPortEnumerateChildren().
VOID NTAPI IoInvalidateDeviceState | ( | IN PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 1848 of file pnpmgr.c.
Referenced by HidUsb_ResetWorkerRoutine(), MxDeviceObject::InvalidateDeviceState(), IsaPdoQueryDeviceUsageNotification(), IsaPdoStartReadPort(), and PciIdeXPdoQueryDeviceUsageNotification().
NTSTATUS NTAPI IoOpenDeviceRegistryKey | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN ULONG | DevInstKeyType, | ||
IN ACCESS_MASK | DesiredAccess, | ||
OUT PHANDLE | DevInstRegKey | ||
) |
Definition at line 1621 of file pnpmgr.c.
Referenced by _IRQL_requires_max_(), ClasspMediaChangeDeviceInstanceOverride(), ClasspScanForSpecialInRegistry(), CmBattAddDevice(), CmBattCreateFdo(), DiskAddDevice(), IntCreateNewRegistryPath(), IntSetupDeviceSettingsKey(), KsMapModuleName(), NdisIPnPStartDevice(), PciAddDevice(), PciGetBiosConfig(), PciSaveBiosConfig(), PcNewRegistryKey(), USBD_GetPdoRegistryParameter(), USBH_SetPdoRegistryParameter(), USBH_WriteFailReasonID(), USBPORT_GetRegistryKeyValueFullInfo(), and USBPORT_SetRegistryKeyValue().
NTSTATUS NTAPI IopCreateDeviceKeyPath | ( | IN PCUNICODE_STRING | RegistryPath, |
IN ULONG | CreateOptions, | ||
OUT PHANDLE | Handle | ||
) |
Definition at line 522 of file pnpmgr.c.
Referenced by IopInstallCriticalDevice(), IopQueryDeviceCapabilities(), IoReportDetectedDevice(), PiControlInitializeDevice(), and PiInitializeDevNode().
NTSTATUS NTAPI IopCreateRegistryKeyEx | ( | OUT PHANDLE | Handle, |
IN HANDLE RootHandle | OPTIONAL, | ||
IN PUNICODE_STRING | KeyName, | ||
IN ACCESS_MASK | DesiredAccess, | ||
IN ULONG | CreateOptions, | ||
OUT PULONG Disposition | OPTIONAL | ||
) |
Definition at line 910 of file pnpmgr.c.
Definition at line 32 of file pnpmgr.c.
Referenced by IopInstallCriticalDevice().
Definition at line 411 of file pnpmgr.c.
Referenced by PiInitializeDevNode().
NTSTATUS IopGetParentIdPrefix | ( | PDEVICE_NODE | DeviceNode, |
PUNICODE_STRING | ParentIdPrefix | ||
) |
Definition at line 760 of file pnpmgr.c.
Referenced by IopCreateDeviceInstancePath().
NTSTATUS NTAPI IopGetRegistryValue | ( | IN HANDLE | Handle, |
IN PWSTR | ValueName, | ||
OUT PKEY_VALUE_FULL_INFORMATION * | Information | ||
) |
Definition at line 1036 of file pnpmgr.c.
Referenced by IopGetDriverNames(), IopInitializeBuiltinDriver(), IopLoadDriver(), IopSetServiceEnumData(), PiAttachFilterDriversCallback(), PiCallDriverAddDevice(), PiGetDeviceRegistryProperty(), PiInitCacheGroupInformation(), PipGetDriverTagPriority(), and PpInitGetGroupOrderIndex().
NTSTATUS IopGetSystemPowerDeviceObject | ( | PDEVICE_OBJECT * | DeviceObject | ) |
Definition at line 393 of file pnpmgr.c.
NTSTATUS NTAPI IopInitiatePnpIrp | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
IN UCHAR | MinorFunction, | ||
IN PIO_STACK_LOCATION Stack | OPTIONAL | ||
) |
Definition at line 479 of file pnpmgr.c.
VOID NTAPI IopInstallCriticalDevice | ( | PDEVICE_NODE | DeviceNode | ) |
Definition at line 45 of file pnpmgr.c.
Referenced by PiInitializeDevNode().
NTSTATUS NTAPI IopOpenRegistryKeyEx | ( | PHANDLE | KeyHandle, |
HANDLE | ParentKey, | ||
PUNICODE_STRING | Name, | ||
ACCESS_MASK | DesiredAccess | ||
) |
Definition at line 885 of file pnpmgr.c.
Referenced by CreateDeviceFromRegistry(), EnumerateDevices(), IoOpenDeviceRegistryKey(), IopCreateDeviceKeyPath(), IopEnumerateDetectedDevices(), IopGetParentIdPrefix(), IopInitializeBootDrivers(), IopInitializeBuiltinDriver(), IopInitializePlugPlayServices(), IopLoadUnloadDriverWorker(), IopSetServiceEnumData(), IopStoreSystemPartitionInformation(), IopUpdateControlKeyWithResources(), IopUpdateRootKey(), IoSetSystemPartition(), PiAttachFilterDriversCallback(), PiCallDriverAddDevice(), PiGetDeviceRegistryProperty(), PiInitCacheGroupInformation(), PipGetDriverTagPriority(), PiStartDeviceFinal(), PnpDeviceObjectToDeviceInstance(), and PnpRootCreateDevice().
NTSTATUS IopSetDeviceInstanceData | ( | HANDLE | InstanceKey, |
PDEVICE_NODE | DeviceNode | ||
) |
Definition at line 606 of file pnpmgr.c.
Referenced by IoReportDetectedDevice(), PiControlInitializeDevice(), and PiInitializeDevNode().
NTSTATUS NTAPI IoSynchronousInvalidateDeviceRelations | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN DEVICE_RELATION_TYPE | Type | ||
) |
Definition at line 1798 of file pnpmgr.c.
BOOLEAN NTAPI IoTranslateBusAddress | ( | IN INTERFACE_TYPE | InterfaceType, |
IN ULONG | BusNumber, | ||
IN PHYSICAL_ADDRESS | BusAddress, | ||
IN OUT PULONG | AddressSpace, | ||
OUT PPHYSICAL_ADDRESS | TranslatedAddress | ||
) |
Definition at line 1831 of file pnpmgr.c.
RTL_GENERIC_COMPARE_RESULTS NTAPI PiCompareInstancePath | ( | IN PRTL_AVL_TABLE | Table, |
IN PVOID | FirstStruct, | ||
IN PVOID | SecondStruct | ||
) |
Definition at line 1081 of file pnpmgr.c.
Referenced by PpInitializeDeviceReferenceTable().
Definition at line 1107 of file pnpmgr.c.
Referenced by PpInitializeDeviceReferenceTable().
NTSTATUS NTAPI PiGetDeviceRegistryProperty | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN ULONG | ValueType, | ||
IN PWSTR | ValueName, | ||
IN PWSTR | KeyName, | ||
OUT PVOID | Buffer, | ||
IN PULONG | BufferLength | ||
) |
Definition at line 1291 of file pnpmgr.c.
Referenced by IoGetDeviceProperty().
Definition at line 1130 of file pnpmgr.c.
Referenced by PpInitSystem().
Definition at line 1170 of file pnpmgr.c.
Referenced by IoGetDeviceProperty().
ULONG NTAPI PnpDetermineResourceListSize | ( | IN PCM_RESOURCE_LIST | ResourceList | ) |
Definition at line 1237 of file pnpmgr.c.
Referenced by IoGetDeviceProperty(), IopAssignDeviceResources(), IopFixupResourceListWithRequirements(), IopSetDeviceInstanceData(), IopTranslateDeviceResources(), IopUpdateControlKeyWithResources(), and IopUpdateResourceMap().
NTSTATUS NTAPI PnpDeviceObjectToDeviceInstance | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PHANDLE | DeviceInstanceHandle, | ||
IN ACCESS_MASK | DesiredAccess | ||
) |
Definition at line 1197 of file pnpmgr.c.
Referenced by PiGetDeviceRegistryProperty().
Definition at line 1116 of file pnpmgr.c.
Referenced by PiInitPhase0().
Definition at line 1142 of file pnpmgr.c.
Referenced by ExpInitializeExecutive(), and Phase1InitializationDiscard().
|
extern |
Definition at line 68 of file init.c.
Referenced by PpInitSystem().
PDRIVER_OBJECT IopRootDriverObject |
Definition at line 26 of file pnpmgr.c.
Referenced by IopInitializePlugPlayServices(), PnpRootCreateDeviceObject(), and PnpRootDriverEntry().
PIO_BUS_TYPE_GUID_LIST PnpBusTypeGuidList = NULL |
Definition at line 27 of file pnpmgr.c.
Referenced by IopGetBusTypeGuidIndex(), IopInitializePlugPlayServices(), and PnpBusTypeGuidGet().
RTL_AVL_TABLE PpDeviceReferenceTable |
Definition at line 20 of file pnpmgr.c.
Referenced by PpInitializeDeviceReferenceTable().
KGUARDED_MUTEX PpDeviceReferenceTableLock |
Definition at line 19 of file pnpmgr.c.
Referenced by PpInitializeDeviceReferenceTable().
ERESOURCE PpRegistryDeviceResource |
Definition at line 18 of file pnpmgr.c.
Referenced by PiInitPhase0().