Windows 核心過時例程

下列過時例程會匯出以支援現有的二進位檔:

過時例程 Description
ExAcquireResourceExclusive

請改用 ExAcquireResourceExclusiveLite

ExAcquireResourceShared

請改用 ExAcquireResourceSharedLite

ExAllocateFromZone

請改用 lookaside 清單。 如需詳細資訊,請參閱 緩衝區管理

ExConvertExclusiveToShared

請改用 ExConvertExclusiveToSharedLite

ExDeleteResource

請改用 ExDeleteResourceLite

ExExtendZone

請改用 lookaside 清單。 如需詳細資訊,請參閱 緩衝區管理

ExFreeToZone

請改用 lookaside 清單。 如需詳細資訊,請參閱 緩衝區管理

ExInitializeResource

請改用 ExInitializeResourceLite

ExInitializeWorkItem

請改用 IoAllocateWorkItem

ExInitializeZone

請改用 lookaside 清單。 如需詳細資訊,請參閱 緩衝區管理

ExInterlockedAllocateFromZone

請改用 lookaside 清單。 如需詳細資訊,請參閱 緩衝區管理

ExInterlockedDecrementLong

請改用 InterlockedDecrement

ExInterlockedExchangeAddLargeInteger

如需以不可部分完成方式新增兩個 64 位數位的詳細資訊,請參閱 InterlockedExchangeAdd64

ExInterlockedExchangeUlong

請改用 InterlockedExchange

ExInterlockedExtendZone

請改用 lookaside 清單。 如需詳細資訊,請參閱 緩衝區管理

ExInterlockedFreeToZone

請改用 lookaside 清單。 如需詳細資訊,請參閱 緩衝區管理

ExInterlockedIncrementLong

請改用 InterlockedIncrement

ExIsFullZone

請改用 lookaside 清單。 如需詳細資訊,請參閱 緩衝區管理

ExIsObjectInFirstZoneSegment

請改用 lookaside 清單。 如需詳細資訊,請參閱 緩衝區管理

ExIsResourceAcquired

請改用 ExIsResourceAcquiredLite

ExIsResourceAcquiredExclusive

請改用 ExIsResourceAcquiredExclusiveLite

ExIsResourceAcquiredShared

請改用 ExIsResourceAcquiredSharedLite

ExReleaseResource

請改用 ExReleaseResourceLite

ExReleaseResourceForThread

請改用 ExReleaseResourceForThreadLite

IoAllocateAdapterChannel

請改用 AllocateAdapterChannel

IoAssignResources

PnP 管理員會指派 PnP 裝置的驅動程序資源,其會傳遞每個 IRP_MN_START_DEVICE 要求的資源清單。 必須支援 PnP 管理員無法列舉的舊版裝置的驅動程序應該改用 IoReportDetectedDeviceIoReportResourceForDetection

IoAttachDeviceByPointer

請改用 IoAttachDeviceToDeviceStack

IoFlushAdapterBuffers

請改用 FlushAdapterBuffers

IoFreeAdapterChannel

請改用 FreeAdapterChannel

IoFreeMapRegisters

請改用 FreeMapRegisters

IoMapTransfer

請改用 MapTransfer

IoQueryDeviceDescription

此例程會從 \Registry\Machine\Hardware\Description 樹狀結構擷取有關指定總線、控制器或周邊對象的硬體組態資訊,或這三種類型的任何組合。 需要硬體設定資訊的驅動程序應該改用 IoGetDeviceProperty

IoReportResourceUsage

此例程會宣告硬體資源,例如 \Registry\Machine\Hardware\ResourceMap 樹狀結構中的中斷向量、裝置記憶體範圍或特定 DMA 控制器通道,因此後續載入的驅動程式無法嘗試使用相同的資源。 如果新的驅動程式必須支持無法列舉的舊版裝置,驅動程式應該呼叫 IoReportResourceForDetection 來宣告裝置的資源。

KeGetDcacheFillSize

驅動程式應該改為呼叫 GetDmaAlignment

MmCreatemdl

請改用 IoAllocateMdl

MmIsNonPagedSystemAddressValid

AllocateAdapterChannel
ExAcquireResourceExclusiveLite
ExAcquireResourceSharedLite
ExConvertExclusiveToSharedLite
ExDeleteResourceLite
ExInitializeResourceLite
ExIsResourceAcquiredExclusiveLite
ExIsResourceAcquiredSharedLite
ExReleaseResourceForThreadLite
ExReleaseResourceLite
InterlockedDecrement
InterlockedExchange
InterlockedIncrement
FlushAdapterBuffers
FreeAdapterChannel
FreeMapRegisters
GetDmaAlignment
InterlockedExchangeAdd64
IoAllocateMdl
IoAllocateWorkItem
IoAttachDeviceToDeviceStack
IoGetDeviceProperty
IoReportDetectedDevice
IoReportResourceForDetection
IRP_MN_START_DEVICE
MapTransfer