D3DKMTSetDisplayPrivateDriverFormat - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmthk.h

NTSTATUS D3DKMTSetDisplayPrivateDriverFormat(
  [in] const D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT *unnamedParam1
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-d3dkmthk-d3dkmtsetdisplayprivatedriverformat)

D3DKMTSetDisplayPrivateDriverFormat function

Description

The D3DKMTSetDisplayPrivateDriverFormat function changes the private-format attribute of a video present source.

Parameters

unnamedParam1 [in]

A pointer to a D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT structure that describes how to format a video present source.

Return value

D3DKMTSetDisplayPrivateDriverFormat returns one of the following values:

Return code Description
STATUS_SUCCESS The video present source was successfully changed.
STATUS_DEVICE_REMOVED The graphics adapter was stopped or the display device was reset.
Parameters were validated and determined to be incorrect.
Before the call to D3DKMTSetDisplayPrivateDriverFormat, the device did not acquire exclusive ownership of the view. Therefore, the device could not change the private-format attribute of the video present source.
STATUS_NOT_SUPPORTED The display miniport driver does not support the DXGKDDI_SETDISPLAYPRIVATEDRIVERFORMAT function.
STATUS_UNSUCCESSFUL The display miniport driver could not change the private-format attribute of the view for the video present source.

This function might also return other NTSTATUS values.

See also

D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT

DXGKDDI_SETDISPLAYPRIVATEDRIVERFORMAT