HdmiDisplayInformation.RequestSetCurrentDisplayModeAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RequestSetCurrentDisplayModeAsync(HdmiDisplayMode) |
Sends request to set only the display mode for the display. |
RequestSetCurrentDisplayModeAsync(HdmiDisplayMode, HdmiDisplayHdrOption) |
Sends request to set only the display mode and HDR option for the display. |
RequestSetCurrentDisplayModeAsync(HdmiDisplayMode, HdmiDisplayHdrOption, HdmiDisplayHdr2086Metadata) |
Sends request to set the display according to the input parameters. |
RequestSetCurrentDisplayModeAsync(HdmiDisplayMode)
Sends request to set only the display mode for the display.
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)
Parameters
- mode
- HdmiDisplayMode
Returns
Value that indicates whether the set request is successful.
- Attributes
Applies to
RequestSetCurrentDisplayModeAsync(HdmiDisplayMode, HdmiDisplayHdrOption)
Sends request to set only the display mode and HDR option for the display.
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)
Parameters
- mode
- HdmiDisplayMode
The display mode.
- hdrOption
- HdmiDisplayHdrOption
The electro-optical transfer function (EOTF) used to master the HDR content.
Returns
Value that indicates whether the set request is successful.
- Attributes
Applies to
RequestSetCurrentDisplayModeAsync(HdmiDisplayMode, HdmiDisplayHdrOption, HdmiDisplayHdr2086Metadata)
Sends request to set the display according to the input parameters.
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)
Parameters
- mode
- HdmiDisplayMode
The display mode.
- hdrOption
- HdmiDisplayHdrOption
The electro-optical transfer function (EOTF) used to master the HDR content.
- hdrMetadata
- HdmiDisplayHdr2086Metadata
The 10 bit display metadata used to adjust the output.
Returns
Value that indicates whether the set request is successful.
- Attributes