IXStudioRecording::SetStreamBinaryMetaData Method

Important The XStudio native C nano-COM APIs have been deprecated in favor of the KStudio native C nano-COM APIs.
Inserts a stream-level binary metadata tag (key:value pair). The metadata value is a opaque binary large object (BLOB).

Syntax

public:
HRESULT SetStreamBinaryMetaData(
         const GUID &streamType,
         UINT16 flags,
         const GUID &key,
         const void *pValue,
         UINT32 valueSize
)  

Parameters

streamType
Type: GUID 

[in] GUID identifying the title stream type.

flags
Type: UINT16 

[in] One or more XSTUDIO_FILE flags, indicating properties of the metadata.

key
Type: GUID 

[in] A GUID that identifies the metadata.

pValue
Type: void *

A pointer to the buffer containing the metadata value.

valueSize
Type: UINT32 

[in] Size, in bytes, of the buffer pointed to by pValue.

Return value

Type: HRESULT 

S_OK if successful; an error code otherwise.

Requirements

Header: Declared in xstudio.h.

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