D3DKMTCheckExclusiveOwnership function (d3dkmthk.h)

The D3DKMTCheckExclusiveOwnership function checks whether any kernel device object in the operating system has an exclusive level of ownership of any video present sources.

Syntax

BOOLEAN D3DKMTCheckExclusiveOwnership();

Return value

D3DKMTCheckExclusiveOwnership returns a Boolean value that indicates TRUE if any kernel device object in the operating system has an exclusive level of ownership of any video present sources and FALSE otherwise.

Remarks

For a description of ownership levels of video present sources, see the D3DKMTSetVidPnSourceOwner function and the D3DKMT_SETVIDPNSOURCEOWNER structure. An exclusive level of ownership is represented by the D3DKMT_VIDPNSOURCEOWNER_EXCLUSIVE or D3DKMT_VIDPNSOURCEOWNER_EXCLUSIVEGDI owner type, which can be specified in one of the elements in the array that the pType member of D3DKMT_SETVIDPNSOURCEOWNER specifies.

Requirements

Requirement Value
Minimum supported client Windows Vista
Target Platform Universal
Header d3dkmthk.h (include D3dkmthk.h)
Library Gdi32.lib
DLL Gdi32.dll

See also

D3DKMTSetVidPnSourceOwner

D3DKMT_SETVIDPNSOURCEOWNER