ExDeleteResourceLite function (wdm.h)

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

Syntax

NTSTATUS ExDeleteResourceLite(
  [in, out] PERESOURCE Resource
);

Parameters

[in, out] 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

Requirement Value
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 HwStorPortProhibitedDDIs(storport), IrqlExApcLte3(wdm)

See also

ExFreePool

ExInitializeResourceLite

ExReinitializeResourceLite