Microsoft DirectX 9.0

IDvdControl::VideoModePreferrence

Note   The IDvdControl interface is deprecated. Use IDvdControl2 instread.

Sets the video display mode the user prefers.

Syntax

HRESULT VideoModePreferrence(
    ULONG ulPreferredDisplayMode
);

Parameters

ulPreferredDisplayMode

[in] Value that specifies the new display mode for DVD content. Member of the DVD_PREFERRED_DISPLAY_MODE enumerated data type.

Return Value

Returns an HRESULT value .

Remarks

This method changes the default video window's aspect ratio, and can also specify a default aspect ratio conversion mechanism.

This method returns an error unless the domain is DVD_DOMAIN_VideoManagerMenu, DVD_DOMAIN_VideoTitleSetMenu, DVD_DOMAIN_Title, or DVD_DOMAIN_Stop. For more information, see DVD_DOMAIN.

See Also