IXStudioSession::CreateTitleClient Method

Important The XStudio native C nano-COM APIs have been deprecated in favor of the KStudio native C nano-COM APIs.
Creates an interface for a title to write and read events from a custom title stream.

Syntax

public:
HRESULT CreateTitleClient(
         const wchar_t *titleName,
         IXStudioTitleClient **ppTitleClient
)  

Parameters

titleName
Type: wchar_t *

[in] Friendly name of the title.

ppTitleClient
Type: IXStudioTitleClient **

[out] Returns an IXStudioSession interface.

Return value

Type: HRESULT 

S_OK if successful; an error code otherwise.

Remarks

When you are finished using the interface, call Release.

Requirements

Header: Declared in xstudio.h.

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