Export (0) Print
Expand All

HalAssignSlotResources

The HalAssignSlotResources routine is obsolete and is exported only to support existing drivers. Drivers of PnP devices are assigned resources by the PnP manager, which passes resource lists with each IRP_MN_START_DEVICE request. Drivers that must support a legacy device that cannot be enumerated by the PnP manager should use IoReportDetectedDevice and IoReportResourceForDetection.

NTSTATUS HalAssignSlotResources(
  IN PUNICODE_STRING  RegistryPath,
  IN PUNICODE_STRING  DriverClassName,
  IN PDRIVER_OBJECT  DriverObject,
  IN PDEVICE_OBJECT  DeviceObject,
  IN INTERFACE_TYPE  BusType,
  IN ULONG  BusNumber,
  IN ULONG  SlotNumber,
  IN OUT PCM_RESOURCE_LIST  *AllocatedResources
);

Requirements

Header

Ntddk.h (include Ntddk.h)

See also

CM_RESOURCE_LIST
ExFreePool
HalGetBusData
IoAssignResources
IoReportDetectedDevice
IoReportResourceForDetection

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft