ExDeleteResourceLite function

The ExDeleteResourceLite routine deletes a given resource from the system's resource list.

Syntax

NTSTATUS ExDeleteResourceLite(
  PERESOURCE Resource
);

Parameters

Resource

A pointer to the caller-supplied storage for the initialized resource variable to be deleted.

Return Value

ExDeleteResourceLite returns STATUS_SUCCESS if the resource was deleted.

Remarks

After calling ExDeleteResourceLite, the caller can free the memory it allocated for its resource.

Requirements

   
Minimum supported client Available starting with Windows 2000.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <= APC_LEVEL
DDI compliance rules IrqlExApcLte3, HwStorPortProhibitedDDIs

See Also

ExFreePool

ExInitializeResourceLite

ExReinitializeResourceLite