> ## 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*   \
Type: void\*

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

### 戻り値

Type: void

## 解説

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

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

## 要件

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

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

## 関連項目

[PIXBeginRetailEvent](/reference/tools/pix3/functions/pixbeginretailevent)\
[pix3](/reference/tools/pix3/pix3_members)\
[PIX (NDA トピック)](/tools/tools-console/pix/pix)


## Related topics

- [PIXBeginRetailEvent](/ja-jp/reference/tools/pix3/functions/pixbeginretailevent_2.md)
- [PIXBeginRetailEvent 関数](/ja-jp/reference/tools/pix3/functions/pixbeginretailevent.md)
- [PIXEndEvent 関数](/ja-jp/reference/tools/pix3/functions/pixendevent-overloads.md)
- [PIXEndEvent](/ja-jp/reference/tools/pix3/functions/pixendevent_2.md)
- [PIXSetRetailMarker](/ja-jp/reference/tools/pix3/functions/pixsetretailmarker_2.md)
