KsQueryObjectAccessMask function (ks.h)

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.

Syntax

KSDDKAPI ACCESS_MASK KsQueryObjectAccessMask(
  [in] KSOBJECT_HEADER Header
);

Parameters

[in] Header

Points to a header previously allocated by KsAllocateObjectHeader whose access-granted mask pointer is to be returned.

Return value

The KsQueryObjectAccessMask function returns an access mask.

Requirements

Requirement Value
Target Platform Universal
Header ks.h (include Ks.h)
Library Ks.lib

See also

KsAllocateObjectHeader