Share via


IDVDRenderer::SetContentAspectRatio (Windows Embedded CE 6.0)

1/6/2010

This method sets the content aspect ratio.

Syntax

HRESULT SetContentAspectRatio(
  EDVDDisplayAspectRatio enumDisplayAspectRatio
);

Parameters

  • enumDisplayAspectRatio
    [in] The following are the two possible values for this parameter.

    Value Description

    DISPLAY_ASPECT_4_3

    Aspect ratio set to 4:3.

    DISPLAY_ASPECT_16_9_DOWNSAMPLE_4_3

    Horizontal Letterbox. The renderer downsamples the decoded 4:3 input stream horizontally and displays the left and right borders as solid color.

Return Value

If the method completes successfully, the return value is S_OK.

Requirements

Header dvddrvr.idl
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IDVDRenderer
EDVDDisplayAspectRatio