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

# GetCreationFlags

> 取得用來建立目前執行個體所代表之柵欄的旗標。

取得用來建立目前執行個體所代表之柵欄的旗標。

## 語法

```cpp theme={null}
D3D12_FENCE_FLAGS GetCreationFlags(
)
```

### 參數

### 傳回值

類型：D3D12\_FENCE\_FLAGS

用來建立柵欄的旗標。

## 備註

**GetCreationFlags** 傳回的旗標主要用於開啟共用柵欄。

## 需求

**標頭:** d3d12\_xs.h 或 d3d12\_x.h\
**程式庫:** d3d12\_xs.lib 或 d3d12\_x.lib\
**支援的平台**: XBOX Series 主機與 XBOX One 系列

## 另請參閱

[Id3d12fence1](/zh-TW/reference/graphics/d3d12/interfaces/id3d12fence1/id3d12fence1_public)

[多引擎同步處理](https://learn.microsoft.com/en-us/windows/win32/direct3d12/user-mode-heap-synchronization)


## Related topics

- [XblMultiplayerSearchHandleGetCreationTime](/zh-TW/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersearchhandlegetcreationtime.md)
- [XGameStreamingVideoFlags](/zh-TW/reference/system/xgamestreaming/enums/xgamestreamingvideoflags.md)
- [Login With Email Address](/api-reference/authentication/login-with-email-address.md)
- [使用電子郵件地址登入](/zh-TW/services/playfab/api-references/rest/client/authentication/login-with-email-address.md)
- [Login With Play Fab](/api-reference/authentication/login-with-play-fab.md)
