Important The XStudio native C nano-COM APIs have been deprecated in favor of the KStudio native C nano-COM APIs.
Creates a playback interface to play the events in an Xbox Event File (XEF).
public:
HRESULT CreatePlayback(
XSTUDIO_LOCATION fileLocation,
const wchar_t *filePath,
const GUID *pStreamTypes,
UINT32 streamTypeCount,
IXStudioPlayback **ppPlayback
)
fileLocation
Type: XSTUDIO_LOCATION
[in] Location (console or development computer) of the Xbox Event File (XEF).
filePath
Type: wchar_t *
[in] Path and filename of the Xbox Event File (XEF) to play.
pStreamTypes
Type: GUID *
[in] Array of GUIDs that specify the stream types to play. To play the default stream types, use XSTUDIO_DEFAULT_NUI_PLAYBACK_STREAMS.
streamTypeCount
Type: UINT32
[in] Number of stream type GUIDs in pStreamTypeGuids.
ppPlayback
Type: IXStudioPlayback **
[out] Pointer to an IXStudioPlayback pointer that receives the playback interface.
Type: HRESULT
S_OK if successful; an error code otherwise.
When done using the playback interface, call Release.
Header: Declared in xstudio.h.
Library: Use xstudioclient.lib (console) or xstudioservice.lib (desktop).