> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XAppCaptureUserRecordingResult

> XAppCaptureUserRecordingResult

# XAppCaptureUserRecordingResult

包含呼叫 [XAppCaptureStopUserRecord](/zh-TW/reference/system/xappcapture/functions/xappcapturestopuserrecord) 的結果。

## 語法

```cpp theme={null}
struct XAppCaptureUserRecordingResult {
    size_t fileSizeInBytes;
    SYSTEMTIME clipStartTimestamp;
    uint64_t durationInMilliseconds;
    uint32_t width;
    uint32_t height;
    XAppCaptureVideoEncoding encoding;
    XAppCaptureVideoColorFormat colorFormat;
}
```

## 成員

*fileSizeInBytes*
類型：size\_t

錄製內容的大小 (位元組)。

*clipStartTimestamp*
類型：SYSTEMTIME

錄製的開始時間。

*durationInMilliseconds*
類型：uint64\_t

錄製的實際持續時間 (毫秒)。

*width*
類型：uint32\_t

錄製內容的寬度。

*height*
類型：uint32\_t

錄製內容的高度。

*encoding*
類型：XAppCaptureVideoEncoding

錄製內容的編碼格式。

*colorFormat*
類型：XAppCaptureVideoColorFormat

錄製內容的色彩格式。

## 需求

**標頭：** XAppCapture.h

**支援的平台：** Windows、XBOX One 系列主機和 XBOX Series 主機

## 另請參閱

[GameDVR 概觀](/zh-TW/build/console-features/game-dvr/gamedvr-broadcast)\
[XAppCapture 成員](/zh-TW/reference/system/xappcapture/xappcapture_members)\
[XAppCaptureStartUserRecord](/zh-TW/reference/system/xappcapture/functions/xappcapturestartuserrecord)\
[XAppCaptureStopUserRecord](/zh-TW/reference/system/xappcapture/functions/xappcapturestopuserrecord)


## Related topics

- [XAppCaptureUserRecordingResult](/reference/system/xappcapture/structs/xappcaptureuserrecordingresult.md)
- [XAppCaptureStopUserRecord](/reference/system/xappcapture/functions/xappcapturestopuserrecord.md)
- [XAppCapture](/reference/system/xappcapture/xappcapture_members.md)
