HdmiDisplayInformation.RequestSetCurrentDisplayModeAsync 方法

定义

重载

RequestSetCurrentDisplayModeAsync(HdmiDisplayMode)

发送仅设置显示模式的请求。

RequestSetCurrentDisplayModeAsync(HdmiDisplayMode, HdmiDisplayHdrOption)

发送仅设置显示模式和 HDR 选项的请求。

RequestSetCurrentDisplayModeAsync(HdmiDisplayMode, HdmiDisplayHdrOption, HdmiDisplayHdr2086Metadata)

根据输入参数发送设置显示的请求。

RequestSetCurrentDisplayModeAsync(HdmiDisplayMode)

发送仅设置显示模式的请求。

public:
 virtual IAsyncOperation<bool> ^ RequestSetCurrentDisplayModeAsync(HdmiDisplayMode ^ mode) = RequestSetCurrentDisplayModeAsync;
/// [Windows.Foundation.Metadata.Overload("RequestSetCurrentDisplayModeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> RequestSetCurrentDisplayModeAsync(HdmiDisplayMode const& mode);
[Windows.Foundation.Metadata.Overload("RequestSetCurrentDisplayModeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> RequestSetCurrentDisplayModeAsync(HdmiDisplayMode mode);
function requestSetCurrentDisplayModeAsync(mode)
Public Function RequestSetCurrentDisplayModeAsync (mode As HdmiDisplayMode) As IAsyncOperation(Of Boolean)

参数

返回

指示设置请求是否成功的值。

属性

适用于

RequestSetCurrentDisplayModeAsync(HdmiDisplayMode, HdmiDisplayHdrOption)

发送仅设置显示模式和 HDR 选项的请求。

public:
 virtual IAsyncOperation<bool> ^ RequestSetCurrentDisplayModeAsync(HdmiDisplayMode ^ mode, HdmiDisplayHdrOption hdrOption) = RequestSetCurrentDisplayModeAsync;
/// [Windows.Foundation.Metadata.Overload("RequestSetCurrentDisplayModeWithHdrAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> RequestSetCurrentDisplayModeAsync(HdmiDisplayMode const& mode, HdmiDisplayHdrOption const& hdrOption);
[Windows.Foundation.Metadata.Overload("RequestSetCurrentDisplayModeWithHdrAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> RequestSetCurrentDisplayModeAsync(HdmiDisplayMode mode, HdmiDisplayHdrOption hdrOption);
function requestSetCurrentDisplayModeAsync(mode, hdrOption)
Public Function RequestSetCurrentDisplayModeAsync (mode As HdmiDisplayMode, hdrOption As HdmiDisplayHdrOption) As IAsyncOperation(Of Boolean)

参数

mode
HdmiDisplayMode

显示模式。

hdrOption
HdmiDisplayHdrOption

电光传输函数 (用于掌握 HDR 内容的 EOTF) 。

返回

指示设置请求是否成功的值。

属性

适用于

RequestSetCurrentDisplayModeAsync(HdmiDisplayMode, HdmiDisplayHdrOption, HdmiDisplayHdr2086Metadata)

根据输入参数发送设置显示的请求。

public:
 virtual IAsyncOperation<bool> ^ RequestSetCurrentDisplayModeAsync(HdmiDisplayMode ^ mode, HdmiDisplayHdrOption hdrOption, HdmiDisplayHdr2086Metadata hdrMetadata) = RequestSetCurrentDisplayModeAsync;
/// [Windows.Foundation.Metadata.Overload("RequestSetCurrentDisplayModeWithHdrAndMetadataAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> RequestSetCurrentDisplayModeAsync(HdmiDisplayMode const& mode, HdmiDisplayHdrOption const& hdrOption, HdmiDisplayHdr2086Metadata const& hdrMetadata);
[Windows.Foundation.Metadata.Overload("RequestSetCurrentDisplayModeWithHdrAndMetadataAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> RequestSetCurrentDisplayModeAsync(HdmiDisplayMode mode, HdmiDisplayHdrOption hdrOption, HdmiDisplayHdr2086Metadata hdrMetadata);
function requestSetCurrentDisplayModeAsync(mode, hdrOption, hdrMetadata)
Public Function RequestSetCurrentDisplayModeAsync (mode As HdmiDisplayMode, hdrOption As HdmiDisplayHdrOption, hdrMetadata As HdmiDisplayHdr2086Metadata) As IAsyncOperation(Of Boolean)

参数

mode
HdmiDisplayMode

显示模式。

hdrOption
HdmiDisplayHdrOption

电光传输函数 (用于掌握 HDR 内容的 EOTF) 。

hdrMetadata
HdmiDisplayHdr2086Metadata

用于调整输出的 10 位显示元数据。

返回

指示设置请求是否成功的值。

属性

适用于