> ## Documentation Index
> Fetch the complete documentation index at: https://docs.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*   \
Type: void\*

イベントのコンテキストです。`ID3D12GraphicsCommandList\*`、`ID3D12GraphicsCommandList\*`、および `ID3D12XboxDmaCommandList\*` (XBOX のみ) を受け付けます。\
*context* は、PIX マーカーを設定先の D3D12 オブジェクトに関連付けます。

### 戻り値

Type: void

## 解説

デバッグ デバイスまたは計測用デバイスでは、`PIXEndERetailEvent` は [PIXEndEvent](https://docs.xbox.com/ja-jp/reference/tools/pix3/functions/pixendevent.md) と同じ動作をします。リテール デバイスでは、これらのイベントは GPU ハング デバッグ用の HIX ファイルに含まれます。

`PIXEndERetailEvent` の呼び出しには、対応する [PIXBeginRetailEvent](https://docs.xbox.com/ja-jp/reference/tools/pix3/functions/pixbeginretailevent.md) の呼び出しが必要です。
最悪の場合、イベント呼び出しの不一致によって PIX がクラッシュすることがあります。

## 要件

**ヘッダー:** pix3.h

**ライブラリ:** pixevt.lib
**サポートされているプラットフォーム:** XBOX One ファミリ本体および XBOX Series 本体

## 関連項目

[PIXBeginRetailEvent](https://docs.xbox.com/ja-jp/reference/tools/pix3/functions/pixbeginretailevent.md)\
[pix3](https://docs.xbox.com/ja-jp/reference/tools/pix3/pix3_members.md)\
[PIX (NDA トピック)](https://docs.xbox.com/ja-jp/tools/tools-console/pix/pix.md)


## Related topics

- [PIXBeginRetailEvent(void*, UINT64, PCSTR, ...)](https://docs.xbox.com/ja-jp/reference/tools/pix3/functions/pixbeginretailevent.md)
- [PIXBeginRetailEvent(void*,UINT64, PCWSTR, ...)](https://docs.xbox.com/ja-jp/reference/tools/pix3/functions/pixbeginretailevent_2.md)
- [PIXEndEvent](https://docs.xbox.com/ja-jp/reference/tools/pix3/functions/pixendevent-overloads.md)
- [PIXEndEvent()](https://docs.xbox.com/ja-jp/reference/tools/pix3/functions/pixendevent.md)
- [PIXEndEvent(void*)](https://docs.xbox.com/ja-jp/reference/tools/pix3/functions/pixendevent_2.md)
