共用方式為


IFullScreenVideoEx::SetCaption

 
Microsoft DirectShow 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.

Requirements

Header: Declared in Amvideo.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also