ExDeleteResourceLite - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

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

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-exdeleteresourcelite)

ExDeleteResourceLite function

Description

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

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

A call to ExDeleteResourceLite must be preceded by a call to ExInitializeResourceLite.

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

For more information, see ERESOURCE routines.

See also

ExFreePool

ExInitializeResourceLite

ExReinitializeResourceLite