XFrontPanelGetScreenPixelFormat
Gets the pixel format of the front panel display.Syntax
Parameters
pixelFormat _Out_Type: DXGI_FORMAT* Pointer to a value indicating the pixel format.
Return value
Type: HRESULT ReturnsS_OK if successful; otherwise, returns an error code.
Remarks
The pixel format returned by this method isDXGI_FORMAT_R8_UNORM. The display supports only 4 bits per pixel; the lower four bits aren’t used.
Use the pixel format to construct the buffer for the XFrontPanelPresentBuffer function.
For more information, see XBOX One X: Using the front panel display (NDA topic).
