IXStudioEvent::GetData Method

Important The XStudio native C nano-COM APIs have been deprecated in favor of the KStudio native C nano-COM APIs.
Gets data associated with the event.

Syntax

public:
XStudioBufferAndSizeConst& GetData(
         UINT32 index
)  

Parameters

index
Type: UINT32 

[in] Zero-based index of the data to retrieve. To determine the number of available data buffers, call GetDataCount.

Note Currently, there is only 1 data buffer, and you should always pass 0 for index.

Return value

Type: XStudioBufferAndSizeConst 

Reference to an XStudioBufferAndSizeConst structure that contains the data pointer.

Requirements

Header: Declared in xstudio.h.

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