IDARG_OUT_PARSEMONITORDESCRIPTION 结构 (iddcx.h)

IDARG_OUT_PARSEMONITORDESCRIPTION结构提供有关监视器的监视模式数和首选监视模式的信息。

语法

struct IDARG_OUT_PARSEMONITORDESCRIPTION {
  UINT MonitorModeBufferOutputCount;
  UINT PreferredMonitorModeIdx;
};

成员

MonitorModeBufferOutputCount

[out]如果 IDARG_IN_PARSEMONITORDESCRIPTION(或 HDR 支持IDARG_IN_PARSEMONITORDESCRIPTION2)pMonitorModes 值为 NULL,则驱动程序应将 MonitorModeBufferOutputCount 设置为驱动程序为指定监视器说明生成的监视器模式数。 如果 pMonitorModes 为非 NULL,则 MonitorModeBufferOutputCount 指定驱动程序复制到 pMonitorModes 指向的缓冲区的监视模式计数。

PreferredMonitorModeIdx

[out]索引到首选模式监视模式的 pMonitorModes 数组中。 驱动程序可以将此值设置为 NO_PREFERRED_MODE ,以指示没有首选的监视模式。

注解

有关 HDR 支持的详细信息,请参阅 IddCx 版本 1.10 更新

要求

要求
最低受支持的客户端 Windows 10
标头 iddcx.h

另请参阅

EVT_IDD_CX_PARSE_MONITOR_DESCRIPTION

EVT_IDD_CX_PARSE_MONITOR_DESCRIPTION2

IDARG_IN_PARSEMONITORDESCRIPTION

IDARG_IN_PARSEMONITORDESCRIPTION2