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

# PIXEndEvent(void*)

> PIXEndEvent

# PIXEndEvent

ユーザー定義イベントの終了を定義します。

## 構文

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

### パラメーター

*context*   \
Type: void\*

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

### 戻り値

Type: void

## 解説

`PIXEndEvent` の呼び出しには、対応する [PIXBeginEvent](https://docs.xbox.com/ja-jp/reference/tools/pix3/functions/pixbeginevent.md) の呼び出しが必要です。[PIXBeginEvent](https://docs.xbox.com/ja-jp/reference/tools/pix3/functions/pixbeginevent.md) と `PIXEndEvent` のペアの呼び出しは、同じスレッドで行う必要があります。マーカーが一致しない場合、PIX はタイミング キャプチャで警告を発生させます。マーカーの不一致は、PIX タイムラインの予期しない、または使用できないレンダリングを引き起こします。
最悪の場合、イベント呼び出しの不一致によって PIX がクラッシュすることがあります。

## 要件

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

**ライブラリ:** pixevt.lib

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

## 関連項目

[PIXBeginEvent](https://docs.xbox.com/ja-jp/reference/tools/pix3/functions/pixbeginevent.md)\
[PIXEndEvent](https://docs.xbox.com/ja-jp/reference/tools/pix3/functions/pixendevent.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

- [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)
- [PIXEndRetailEvent](https://docs.xbox.com/ja-jp/reference/tools/pix3/functions/pixendretailevent.md)
- [PIXBeginEvent(void*, UINT64, PCWSTR, ...)](https://docs.xbox.com/ja-jp/reference/tools/pix3/functions/pixbeginevent_4.md)
- [PIXBeginEvent(void*, UINT64, PCSTR, ...)](https://docs.xbox.com/ja-jp/reference/tools/pix3/functions/pixbeginevent_3.md)
