> ## 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.

# PIXGpuEndCapture (XBOX One 系列)

> 結束 PIX GPU 擷取程序。

結束 PIX GPU 擷取程序。

<a id="syntaxSection" />

## 語法

```cpp theme={null}
HRESULT PIXGpuEndCapture(  
)  
```

<a id="parametersSection" />

### 參數

無。

<a id="retvalSection" />

### 傳回值

類型：HRESULT

其中一個 [Direct3D 12 傳回碼](https://msdn.microsoft.com/library/windows/desktop/dn706075\(v=vs.85\).aspx)。

<a id="remarksSection" />

## 備註

此函式會結束先前透過呼叫 [PIXGpuBeginCapture](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12commandqueue/methods/id3d12commandqueue_pixgpubegincapture) 方法所開始的 PIX GPU 擷取，該擷取會將多個畫面擷取至主機上的檔案以供稍後分析。此函式擷取的資料會以 .xpix 檔案的形式儲存在主機上。您必須先將檔案複製到開發電腦，才能進行分析。如需 PIX GPU 擷取的詳細資訊，請參閱 [PIX GPU 擷取](https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/tools-console/xbox-tools-and-apis/pix/gpu/pix-gpu-capture)。

<a id="requirementsSection" />

## 需求

**標頭：** d3d12\_x.h

**程式庫：** d3d12\_x.lib

**支援的平台：** XBOX One 系列

<a id="seealsoSection" />

## 另請參閱

[PIXGpuCaptureNextFrame](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12commandqueue/methods/id3d12commandqueue_pixgpucapturenextframe)\
[ID3D12CommandQueue](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12commandqueue/id3d12commandqueue)\
[d3d12\_x](/zh-TW/reference/graphics/d3d12_x/d3d12_x_members)


## Related topics

- [PIXEndCapture](/zh-CN/reference/tools/pix3/functions/pixendcapture.md)
- [XAppCaptureVideoCaptureSettings](/zh-CN/reference/system/xappcapture/structs/xappcapturevideocapturesettings.md)
- [PIX GPU capture and performance analysis](/tools/tools-console/pix/gpu/index.md)
- [PIXCaptureParameters](/zh-CN/reference/tools/pix3/structs/pixcaptureparameters.md)
- [XAppCaptureGetVideoCaptureSettings](/zh-CN/reference/system/xappcapture/functions/xappcapturegetvideocapturesettings.md)
