ReactOS
0.4.15-dev-2100-g9e32854
|
#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 |
BOOLEAN | PnPBootDriversLoaded |
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 1953 of file pnpmgr.c.
Referenced by Bus_AddDevice(), ClasspInitializeHotplugInfo(), GetBusInterface(), InPortAddDevice(), IntVideoPortCreateAdapterDeviceObject(), IoGetDmaAdapter(), IoOpenDeviceRegistryKey(), IopGetDeviceProperty(), IopUpdateResourceMap(), KspStartBusDevice(), NdisIAddDevice(), NdisIPnPStartDevice(), PcGetDeviceProperty(), PciDetermineSlotNumber(), PciGetDeviceProperty(), RamdiskPnp(), StreamClassStartDevice(), USBH_IoctlGetNodeConnectionDriverKeyName(), USBPORT_StartDevice(), and USBPORT_UserGetHcName().
VOID NTAPI IoInvalidateDeviceRelations | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN DEVICE_RELATION_TYPE | Type | ||
) |
Definition at line 2343 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(), IsaPdoStartReadPort(), KsCreateBusEnumObject(), KspBusWorkerRoutine(), KspInstallBusEnumInterface(), KsServiceBusEnumCreateRequest(), PartitionHandleDeviceControl(), FxChildList::ProcessBusRelations(), FxChildList::ProcessModificationsLocked(), RamdiskCreateRamdisk(), remove_volume_child(), ReportGreenPdo(), RequestDispatchToSequentialQueue(), SenseInfoInterpretByAdditionalSenseCode(), USBH_FdoQueryBusRelations(), USBH_ProcessPortStateChange(), USBHUB_RootHubCallBack(), and VideoPortEnumerateChildren().
NTSTATUS NTAPI IoOpenDeviceRegistryKey | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN ULONG | DevInstKeyType, | ||
IN ACCESS_MASK | DesiredAccess, | ||
OUT PHANDLE | DevInstRegKey | ||
) |
Definition at line 2192 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 523 of file pnpmgr.c.
Referenced by IopInstallCriticalDevice(), IopQueryDeviceCapabilities(), IoReportDetectedDevice(), 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 1481 of file pnpmgr.c.
|
static |
Definition at line 887 of file pnpmgr.c.
Referenced by IopUpdateRootKey().
Definition at line 33 of file pnpmgr.c.
Referenced by IopInstallCriticalDevice().
Definition at line 412 of file pnpmgr.c.
Referenced by PiInitializeDevNode().
NTSTATUS IopGetParentIdPrefix | ( | PDEVICE_NODE | DeviceNode, |
PUNICODE_STRING | ParentIdPrefix | ||
) |
Definition at line 761 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 1607 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 394 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 480 of file pnpmgr.c.
VOID NTAPI IopInstallCriticalDevice | ( | PDEVICE_NODE | DeviceNode | ) |
Definition at line 46 of file pnpmgr.c.
Referenced by PiInitializeDevNode().
Definition at line 1328 of file pnpmgr.c.
Referenced by IopUpdateRootKey().
NTSTATUS NTAPI IopOpenRegistryKeyEx | ( | PHANDLE | KeyHandle, |
HANDLE | ParentKey, | ||
PUNICODE_STRING | Name, | ||
ACCESS_MASK | DesiredAccess | ||
) |
Definition at line 1456 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 607 of file pnpmgr.c.
Referenced by IoReportDetectedDevice(), and PiInitializeDevNode().
Definition at line 1398 of file pnpmgr.c.
Referenced by IopInitializePlugPlayServices().
NTSTATUS NTAPI IoSynchronousInvalidateDeviceRelations | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN DEVICE_RELATION_TYPE | Type | ||
) |
Definition at line 2369 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 2402 of file pnpmgr.c.
RTL_GENERIC_COMPARE_RESULTS NTAPI PiCompareInstancePath | ( | IN PRTL_AVL_TABLE | Table, |
IN PVOID | FirstStruct, | ||
IN PVOID | SecondStruct | ||
) |
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 1862 of file pnpmgr.c.
Referenced by IoGetDeviceProperty().
Definition at line 1701 of file pnpmgr.c.
Referenced by PpInitSystem().
Definition at line 1741 of file pnpmgr.c.
Referenced by IoGetDeviceProperty().
ULONG NTAPI PnpDetermineResourceListSize | ( | IN PCM_RESOURCE_LIST | ResourceList | ) |
Definition at line 1808 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 1768 of file pnpmgr.c.
Referenced by PiGetDeviceRegistryProperty().
Definition at line 1687 of file pnpmgr.c.
Referenced by PiInitPhase0().
Definition at line 1713 of file pnpmgr.c.
Referenced by ExpInitializeExecutive(), and Phase1InitializationDiscard().
ULONG ExpInitializationPhase |
Definition at line 66 of file init.c.
Referenced by PpInitSystem().
PDRIVER_OBJECT IopRootDriverObject |
Definition at line 27 of file pnpmgr.c.
Referenced by IopInitializePlugPlayServices(), and PnpRootDriverEntry().
BOOLEAN PnPBootDriversLoaded |
Definition at line 21 of file pnpmgr.c.
Referenced by IopInitializeBootDrivers(), and PiQueueDeviceAction().
PIO_BUS_TYPE_GUID_LIST PnpBusTypeGuidList = NULL |
Definition at line 28 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().