Export (0) Print
Expand All
Expand Minimize

ExDeleteResourceLite routine

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

Syntax


NTSTATUS ExDeleteResourceLite(
  _Inout_  PERESOURCE Resource
);

Parameters

Resource [in, out]

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

Version

Available starting with Windows 2000.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Ntoskrnl.lib

IRQL

<= APC_LEVEL

DDI compliance rules

IrqlExApcLte3, HwStorPortProhibitedDDIs

See also

ExFreePool
ExInitializeResourceLite
ExReinitializeResourceLite

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft