IXStudioTitleClient::AddStream Method

Important The XStudio native C nano-COM APIs have been deprecated in favor of the KStudio native C nano-COM APIs.
Adds a custom title stream.

Syntax

public:
HRESULT AddStream(
         UINT32 flags,
         const GUID &streamType,
         const wchar_t *typeName,
         UINT32 indexBlobSize
)  

Parameters

flags
Type: UINT32 

[in] One or more XSTUDIO_FILE flags.

streamType
Type: GUID 

[in] GUID identifying the title stream type.

typeName
Type: wchar_t *

[in] Friendly name for the title stream-type.

indexBlobSize
Type: UINT32 

[in] The blob size of the index.

Return value

Type: HRESULT 

S_OK if successful; an error code otherwise.

Remarks

The custom title stream-type is a unique identifier (GUID) for the type/format/content of the custom title stream.

Requirements

Header: Declared in xstudio.h.

Library: Use xstudioclient.lib (console) or xstudioservice.lib (desktop).