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

# PIXEndRetailEvent

> PIXEndRetailEvent

# PIXEndRetailEvent

定義使用者定義零售事件的結尾。

## 語法

```cpp theme={null}
void PIXEndRetailEvent(  
         void* context  
)  
```

### 參數

*context*   \
類型：void\*

事件的內容，接受 `ID3D12GraphicsCommandList\*`、`ID3D12GraphicsCommandList\*` 和 `ID3D12XboxDmaCommandList\*` (僅限 XBOX)。\
*context* 會將 PIX 標記與其所設定的 D3D12 物件產生關聯。

### 傳回值

類型：void

## 備註

在偵錯或已檢測的裝置上，`PIXEndERetailEvent` 的行為與 [PIXEndEvent](/zh-TW/reference/tools/pix3/functions/pixendevent) 相同。在零售裝置上，這些事件會包含在 HIX 檔案中，以用於 GPU 停止回應偵錯。

每個 `PIXEndERetailEvent` 呼叫都必須與對應的 [PIXBeginRetailEvent](/zh-TW/reference/tools/pix3/functions/pixbeginretailevent) 呼叫配對。
在最糟的情況下，不相符的事件呼叫可能會導致 PIX 當機。

## 需求

**標頭：** pix3.h

**程式庫：** pixevt.lib
**支援的平台：** XBOX One 系列主機和 XBOX Series 主機

## 另請參閱

[PIXBeginRetailEvent](/zh-TW/reference/tools/pix3/functions/pixbeginretailevent)\
[pix3](/zh-TW/reference/tools/pix3/pix3_members)\
[PIX (NDA 主題)](/zh-TW/tools/tools-console/pix/pix)


## Related topics

- [PIXBeginRetailEvent](/zh-TW/reference/tools/pix3/functions/pixbeginretailevent_2.md)
- [PIXBeginRetailEvent 函式](/zh-TW/reference/tools/pix3/functions/pixbeginretailevent.md)
- [PIXEndEvent 函式](/zh-TW/reference/tools/pix3/functions/pixendevent-overloads.md)
- [PIXEndEvent](/zh-TW/reference/tools/pix3/functions/pixendevent_2.md)
- [PIXEndEvent 參考](/zh-TW/reference/tools/pix3/functions/pixendevent.md)
