ReactOS
0.4.15-dev-5640-g0dde428
|
#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 1952 of file pnpmgr.c.
Referenced by Bus_AddDevice(), ClasspInitializeHotplugInfo(), 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 2342 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 2418 of file pnpmgr.c.
Referenced by HidUsb_ResetWorkerRoutine(), MxDeviceObject::InvalidateDeviceState(), IsaPdoQueryDeviceUsageNotification(), and IsaPdoStartReadPort().
NTSTATUS NTAPI IoOpenDeviceRegistryKey | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN ULONG | DevInstKeyType, | ||
IN ACCESS_MASK | DesiredAccess, | ||
OUT PHANDLE | DevInstRegKey | ||
) |
Definition at line 2191 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(), 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 1480 of file pnpmgr.c.
|
static |
Definition at line 886 of file pnpmgr.c.
Referenced by IopUpdateRootKey().
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 1606 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().
Definition at line 1327 of file pnpmgr.c.
Referenced by IopUpdateRootKey().
NTSTATUS NTAPI IopOpenRegistryKeyEx | ( | PHANDLE | KeyHandle, |
HANDLE | ParentKey, | ||
PUNICODE_STRING | Name, | ||
ACCESS_MASK | DesiredAccess | ||
) |
Definition at line 1455 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(), and PiInitializeDevNode().
Definition at line 1397 of file pnpmgr.c.
Referenced by IopInitializePlugPlayServices().
NTSTATUS NTAPI IoSynchronousInvalidateDeviceRelations | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN DEVICE_RELATION_TYPE | Type | ||
) |
Definition at line 2368 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 2401 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 1861 of file pnpmgr.c.
Referenced by IoGetDeviceProperty().
Definition at line 1700 of file pnpmgr.c.
Referenced by PpInitSystem().
Definition at line 1740 of file pnpmgr.c.
Referenced by IoGetDeviceProperty().
ULONG NTAPI PnpDetermineResourceListSize | ( | IN PCM_RESOURCE_LIST | ResourceList | ) |
Definition at line 1807 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 1767 of file pnpmgr.c.
Referenced by PiGetDeviceRegistryProperty().
Definition at line 1686 of file pnpmgr.c.
Referenced by PiInitPhase0().
Definition at line 1712 of file pnpmgr.c.
Referenced by ExpInitializeExecutive(), and Phase1InitializationDiscard().
ULONG ExpInitializationPhase |
Definition at line 68 of file init.c.
Referenced by PpInitSystem().
PDRIVER_OBJECT IopRootDriverObject |
Definition at line 26 of file pnpmgr.c.
Referenced by IopInitializeDevice(), IopInitializePlugPlayServices(), 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().