Microsoft DirectX 8.1 (C++)

IMSVidCtl::get_DisplaySize

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The get_DisplaySize method retrieves the display size.

Syntax

HRESULT get_DisplaySize(
  DisplaySizeList*  pCurrentValue
);

Parameters

  pCurrentValue

[out]  Pointer to a variable that receives a member of the  DisplaySizeList enumeration.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

The display size has no effect if the AutoSize property is false.

See Also