IXboxFrontPanelControl::GetScreenPixelFormat Method

Gets the resource format to use for the front panel display on an Xbox One X dev kit.

Syntax

public:
HRESULT GetScreenPixelFormat(
         DXGI_FORMAT screenPixelFormat
)  

Parameters

screenPixelFormat
Type: DXGI_FORMAT 

[out] Pointer to a value indicating the screen pixel format.

Return value

Type: HRESULT 

Returns S_OK if successful, or an error code otherwise.

Remarks

The pixel format returned by method is DXGI_FORMAT_R8_UNORM. However, the display supports 4 bits per pixel, and therefore throws away the lower four bits.

Requirements

Header: Declared in xboxfrontpanel.h.

Library: Use xboxfrontpanel.lib.

See also

IXboxFrontPanelControl::GetScreenHeight Method

IXboxFrontPanelControl::GetScreenWidth Method