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

# GetCounterDataSizeX (XBOX One 系列)

> 查詢將接收計數器值之緩衝區所需的大小 (以位元組為單位)。

查詢將接收計數器值之緩衝區所需的大小 (以位元組為單位)。

## 語法

```cpp theme={null}
void GetCounterDataSizeX(  
)  
```

### 參數

無

### 傳回值

類型：SIZE\_T

所需的位元組數。

## 需求

**標頭：** d3d12\_x.h

**程式庫：** d3d12\_x.lib

**支援的平台：** XBOX One 系列

## 另請參閱

[ID3D12XboxCounterSet](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12xboxcounterset/id3d12xboxcounterset)


## Related topics

- [PIXReportCounter](/zh-CN/reference/tools/pix3/functions/pixreportcounter.md)
- [XSpeechSynthesizerGetStreamDataSize](/zh-CN/reference/system/xspeechsynthesizer/functions/xspeechsynthesizergetstreamdatasize.md)
- [GetSerializedSize](/zh-CN/reference/graphics/d3d12/interfaces/id3d12pipelinelibrary/methods/id3d12pipelinelibrary_getserializedsize_public.md)
- [XAsyncGetResultSize](/zh-CN/reference/system/xasync/functions/xasyncgetresultsize.md)
- [GetShapeXmaInputBuffer0Size](/zh-CN/reference/audio/shapexmacontext/functions/getshapexmainputbuffer0size.md)
