// wdm.h
NTSTATUS ExInitializeResourceLite(
[out] PERESOURCE Resource
);
View the official Windows Driver Kit DDI reference
No description available.
The ExInitializeResourceLite routine initializes a resource variable.
Resource
[out]A pointer to the caller-supplied storage, which must be at least sizeof(ERESOURCE)
, for the resource variable being initialized. The storage must be 4-byte aligned on 32-bit platforms, and 8-byte aligned on 64-bit platforms.
ExInitializeResourceLite returns STATUS_SUCCESS.
The storage for ERESOURCE must be allocated from nonpaged pool.
The resource variable can be used for synchronization by a set of threads. Although the caller provides the storage for the resource variable, the ERESOURCE structure is opaque; that is, its members are reserved for system use.
Call ExDeleteResourceLite before freeing the memory for the resource.
For more information, see ERESOURCE routines.
ExAcquireResourceExclusiveLite
ExAcquireSharedStarveExclusive
ExAcquireSharedWaitForExclusive
ExConvertExclusiveToSharedLite
ExIsResourceAcquiredExclusiveLite
ExIsResourceAcquiredSharedLite
ExReleaseResourceForThreadLite