Important The XStudio native C nano-COM APIs have been deprecated in favor of the KStudio native C nano-COM APIs.
Creates a recording interface to record sensor events into an Xbox Event File (XEF).
public:
HRESULT CreateRecording(
XSTUDIO_LOCATION fileLocation,
const wchar_t *filePath,
const GUID *pStreamTypes,
UINT32 streamTypeCount,
IXStudioRecording **ppRecording
)
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 record to.
pStreamTypes
Type: GUID *
[in] Array of GUIDs that specify the stream types to record.
streamTypeCount
Type: UINT32
[in] Number of stream type GUIDs in pStreamTypeGuids.
ppRecording
Type: IXStudioRecording **
[out] Pointer to an IXStudioRecording pointer that receives the recording interface.
Type: HRESULT
S_OK if successful; an error code otherwise.
When done using the recording interface, call Release.
Header: Declared in xstudio.h.
Library: Use xstudioclient.lib (console) or xstudioservice.lib (desktop).