// ks.h
KSDDKAPI ACCESS_MASK KsQueryObjectAccessMask(
[in] KSOBJECT_HEADER Header
);
View the official Windows Driver Kit DDI referenceNo description available.
The KsQueryObjectAccessMask function returns the access originally granted to the first client that created a handle on the associated object. Access cannot be changed by duplicating handles.
Header [in]Points to a header previously allocated by KsAllocateObjectHeader whose access-granted mask pointer is to be returned.
The KsQueryObjectAccessMask function returns an access mask.