Important The XStudio native C nano-COM APIs have been deprecated in favor of the KStudio native C nano-COM APIs.
Writes an event - syncronously - to the custom title stream.
public:
HRESULT WriteEvent(
const GUID &streamType,
UINT64 tick,
const void *pIndexBlob,
UINT32 indexBlobSize,
const XStudioBufferAndSizeConst *pData,
UINT32 dataCount
)
streamType
Type: GUID
[in] GUID identifying the title stream type.
tick
Type: UINT64
[in] Time-index of the event to write.
pIndexBlob
Type: void *
A pointer to the IndexBlob.
indexBlobSize
Type: UINT32
[in] The size of the IndexBlob.
pData
Type: XStudioBufferAndSizeConst *
A pointer to an array of XStudioBufferAndSizeConst elements.
dataCount
Type: UINT32
[in] The number of XStudioBufferAndSizeConst elements.
Type: HRESULT
S_OK if successful; an error code otherwise.
When you are finished using the interface, call Release.
Header: Declared in xstudio.h.
Library: Use xstudioclient.lib (console) or xstudioservice.lib (desktop).