XAppCaptureOpenScreenshotStream
Opens a screenshot stream.Syntax
Parameters
localId _In_Type: char* Local ID of the screenshot returned in XAppCaptureTakeScreenshotResult after calling XAppCaptureTakeScreenshot. screenshotFormat _In_
Type: XAppCaptureScreenshotFormatFlag Screenshot format flag returned in XAppCaptureTakeScreenshotResult after calling XAppCaptureTakeScreenshot. handle _Out_
Type: XAppCaptureScreenshotStreamHandle* Screenshot stream handle returned as a result of opening the stream. totalBytes _Out_opt_
Type: uint64_t* Total number of bytes in the stream.
Return value
Type: HRESULT Function result.Remarks
This function isn’t safe to call on a time-sensitive thread. For more information, see Time-sensitive threads.
Requirements
Header: XAppCapture.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesConceptual documentation
See also
GameDVR OverviewXAppCapture Members
XAppCaptureReadScreenShotStream
XAppCaptureTakeScreenshot
XAppCaptureCloseScreenshotStream
