NTSTATUS
ExDeleteResourceLite(
IN PERESOURCE Resource
);
ExDeleteResourceLite deletes a given resource from the system’s resource list.
ExDeleteResourceLite returns STATUS_SUCCESS if the resource was deleted.
After calling ExDeleteResourceLite, the caller can free the memory it allocated for its resource.
Callers of ExDeleteResourceLite must be running at IRQL < DISPATCH_LEVEL.
ExFreePool, ExInitializeResourceLite, ExReinitializeResourceLite