ExDeleteResourceLite

NTSTATUS
    ExDeleteResourceLite(

        IN PERESOURCE  Resource
        );

ExDeleteResourceLite deletes a given resource from the system’s resource list.

Parameters

Resource
Points to the caller-supplied storage for the initialized resource variable to be deleted.

Return Value

ExDeleteResourceLite returns STATUS_SUCCESS if the resource was deleted.

Comments

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

Callers of ExDeleteResourceLite must be running at IRQL < DISPATCH_LEVEL.

See Also

ExFreePool, ExInitializeResourceLite, ExReinitializeResourceLite