OPM_ACTUAL_OUTPUT_FORMAT structure (opmapi.h)

Contains the result of an OPM_GET_ACTUAL_OUTPUT_FORMAT query in Output Protection Manager (OPM).

Syntax

typedef struct _OPM_ACTUAL_OUTPUT_FORMAT {
  OPM_RANDOM_NUMBER  rnRandomNumber;
  ULONG              ulStatusFlags;
  ULONG              ulDisplayWidth;
  ULONG              ulDisplayHeight;
  DXVA2_SampleFormat dsfSampleInterleaveFormat;
  D3DFORMAT          d3dFormat;
  ULONG              ulFrequencyNumerator;
  ULONG              ulFrequencyDenominator;
} OPM_ACTUAL_OUTPUT_FORMAT;

Members

rnRandomNumber

An OPM_RANDOM_NUMBER structure. This structure contains the same 128-bit random number that the application sent to the driver in the OPM_GET_INFO_PARAMETERS or OPM_COPP_COMPATIBLE_GET_INFO_PARAMETERS structure.

ulStatusFlags

A bitwise OR of OPM Status Flags.

ulDisplayWidth

The width of the display mode, in pixels.

ulDisplayHeight

The height of the display mode, in pixels.

dsfSampleInterleaveFormat

A DXVA2_SampleFormat value that describes the interlace mode.

d3dFormat

A D3DFORMAT value that describes the video format.

ulFrequencyNumerator

The numerator of the refresh rate of the current display mode.

ulFrequencyDenominator

The denominator of the refresh rate of the current display mode.

Remarks

The refresh rate is expressed as a fraction. For example, if the refresh rate is 72 Hz, FreqNumerator = 72 and FreqDenominator = 1. For NTSC television, the values are FreqNumerator = 60000 and FreqDenominator = 1001 (59.94 fields per second).

The layout of this structure is identical to the DXVA_COPPStatusDisplayData structure used in Certified Output Protection Protocol (COPP).

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header opmapi.h

See also

OPM Structures

Output Protection Manager