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

# XGMemoryLayout::Reset (XBOX One 系列)

> 重設配置、從虛擬位址範圍解除認可所有頁面、將所有 ESRAM 和系統記憶體頁面傳回可用清單，並使所有對應失效。

重設配置、從虛擬位址範圍解除認可所有頁面、將所有 ESRAM 和系統記憶體頁面傳回可用清單，並使在此配置上建立的所有對應失效。

<a id="syntaxSection" />

## 語法

```cpp theme={null}
HRESULT Reset(  
)  
```

<a id="ID4EP" />

### 傳回值

類型：HRESULT

S\_OK、E\_INVALIDARG 或 E\_OUTOFMEMORY。

<a id="remarks" />

## 備註

呼叫 **Reset** 之前，請確認 GPU 未在使用此配置。

<a id="requirements" />

## 需求

**標頭：** xgmemory.h

<a id="ID4EFB" />

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

## 另請參閱

[XGMemoryLayout](/zh-TW/reference/graphics/xgmemory_NR/interfaces/XGMemoryLayout/xgmemorylayout)


## Related topics

- [NDA topic directory - live Microsoft Learn links](/nda/nda-topic-directory.md)
- [Diretório de tópicos NDA: links ativos do Microsoft Learn](/pt-BR/nda/nda-topic-directory.md)
- [ID3D12CommandAllocator::Reset](/zh-CN/reference/graphics/d3d12/interfaces/id3d12commandallocator/methods/id3d12commandallocator_reset_public.md)
- [Répertoire des rubriques NDA : liens actifs vers Microsoft Learn](/fr-CA/nda/nda-topic-directory.md)
- [XGameStreamingShowTouchControlLayout](/zh-CN/reference/system/xgamestreaming/functions/xgamestreamingshowtouchcontrollayout.md)
