|
ReactOS 0.4.17-dev-116-ga4b6fe9
|
#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 1381 of file pnpmgr.c.
Referenced by Bus_AddDevice(), ClasspInitializeHotplugInfo(), DcInitializeAdapterLocation(), GetBusInterface(), InPortAddDevice(), IntVideoPortCreateAdapterDeviceObject(), IoGetDmaAdapter(), IoOpenDeviceRegistryKey(), IopGetDeviceProperty(), IopUpdateResourceMap(), IsaFdoQueryInterface(), KspStartBusDevice(), NdisIAddDevice(), NdisIPnPStartDevice(), PcGetDeviceProperty(), PciDetermineSlotNumber(), PciGetDeviceProperty(), PciIdexGetBusLocation(), 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 1771 of file pnpmgr.c.
Referenced by _Function_class_(), add_volume_device(), AtaFdoDeviceControl(), AtaPortExitStateMachine(), 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 1847 of file pnpmgr.c.
Referenced by AtaPnpQueryDeviceUsageNotification(), HidUsb_ResetWorkerRoutine(), MxDeviceObject::InvalidateDeviceState(), IsaPdoQueryDeviceUsageNotification(), IsaPdoStartReadPort(), and PciIdeXPnpQueryDeviceUsageNotification().
| NTSTATUS NTAPI IoOpenDeviceRegistryKey | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN ULONG | DevInstKeyType, | ||
| IN ACCESS_MASK | DesiredAccess, | ||
| OUT PHANDLE | DevInstRegKey | ||
| ) |
Definition at line 1620 of file pnpmgr.c.
Referenced by _IRQL_requires_max_(), AtaGetRegistryKey(), AtaSetPortRegistryKey(), AtaSetRegistryKey(), ClasspMediaChangeDeviceInstanceOverride(), ClasspScanForSpecialInRegistry(), CmBattAddDevice(), CmBattCreateFdo(), DiskAddDevice(), EngpUpdateMonitorDevices(), IntCreateNewRegistryPath(), IntSetupDeviceSettingsKey(), IntVideoPortChildQueryId(), 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 521 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 909 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 759 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 1035 of file pnpmgr.c.
Referenced by IoGetDeviceInterfaceAlias(), 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 478 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 884 of file pnpmgr.c.
Referenced by CreateDeviceFromRegistry(), EnumerateDevices(), IoOpenDeviceRegistryKey(), IopCreateDeviceKeyPath(), IopEnumerateDetectedDevices(), IopGetParentIdPrefix(), IopInitializeBootDrivers(), IopInitializeBuiltinDriver(), IopInitializePlugPlayServices(), IopLoadUnloadDriverWorker(), IopOpenOrCreateSymbolicLinkSubKeys(), IopSetServiceEnumData(), IopStoreSystemPartitionInformation(), IopUpdateControlKeyWithResources(), IopUpdateRootKey(), IoSetSystemPartition(), OpenRegistryHandlesFromSymbolicLink(), PiAttachFilterDriversCallback(), PiCallDriverAddDevice(), PiGetDeviceRegistryProperty(), PiInitCacheGroupInformation(), PipGetDriverTagPriority(), PiStartDeviceFinal(), PnpDeviceObjectToDeviceInstance(), and PnpRootCreateDevice().
| NTSTATUS IopSetDeviceInstanceData | ( | HANDLE | InstanceKey, |
| PDEVICE_NODE | DeviceNode | ||
| ) |
Definition at line 605 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 1797 of file pnpmgr.c.
Referenced by EngpUpdateMonitorDevices().
| 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 1830 of file pnpmgr.c.
| RTL_GENERIC_COMPARE_RESULTS NTAPI PiCompareInstancePath | ( | IN PRTL_AVL_TABLE | Table, |
| IN PVOID | FirstStruct, | ||
| IN PVOID | SecondStruct | ||
| ) |
Definition at line 1080 of file pnpmgr.c.
Referenced by PpInitializeDeviceReferenceTable().
Definition at line 1106 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 1290 of file pnpmgr.c.
Referenced by IoGetDeviceProperty().
Definition at line 1129 of file pnpmgr.c.
Referenced by PpInitSystem().
Definition at line 1169 of file pnpmgr.c.
Referenced by IoGetDeviceProperty().
| ULONG NTAPI PnpDetermineResourceListSize | ( | IN PCM_RESOURCE_LIST | ResourceList | ) |
Definition at line 1236 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 1196 of file pnpmgr.c.
Referenced by PiGetDeviceRegistryProperty().
Definition at line 1115 of file pnpmgr.c.
Referenced by PiInitPhase0().
Definition at line 1141 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().