共用方式為


IAMTimelineObj::SetUserName

 
Microsoft DirectShow 9.0

IAMTimelineObj::SetUserName

The SetUserName method sets an application-defined name for the object.

Syntax

  HRESULT SetUserName(
    BSTR newVal
);

Parameters

newVal

Wide-character string that contains the name. Strings longer than 256 characters might be truncated.

Return Value

Returns S_OK.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also