Microsoft DirectX 9.0

IFullScreenVideoEx::SetCaption

The SetCaption method sets the caption associated with the full-screen window.

Syntax

HRESULT SetCaption(
  BSTR strCaption
);

Parameters

strCaption

[in] String containing the caption.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_POINTER NULL pointer argument.
S_OK Success.

Remarks

The caption is visible when the window is minimized.

See Also