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

# XAppCaptureScreenshotFile

> XAppCaptureScreenshotFile

# XAppCaptureScreenshotFile

Captura de tela e informações descritivas.

## Sintaxe

```cpp theme={null}
typedef struct XAppCaptureScreenshotFile {  
    char path[MAX_PATH];  
    size_t fileSize;  
    uint32_t width;  
    uint32_t height;  
} XAppCaptureScreenshotFile  
```

### Membros

*path*\
Tipo: char\[MAX\_PATH]

Caminho para a captura de tela.

*fileSize*\
Tipo: size\_t

Tamanho da captura de tela em bytes.

*width*\
Tipo: uint32\_t

Largura da captura de tela em pixels.

*height*\
Tipo: uint32\_t

Altura da captura de tela em pixels.

## Comentários

Este arquivo de captura de tela representa uma captura de tela de diagnóstico feita com a função [XAppCaptureTakeDiagnosticScreenshot](/pt-BR/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot). A captura de tela de diagnóstico é salva na mesma partição que o jogo, portanto, pode ser acessada usando o parâmetro *path*, em vez de abrir um fluxo de captura de tela. Esta estrutura é membro de [XAppCaptureDiagnosticScreenshotResult](/pt-BR/reference/system/xappcapture/structs/xappcapturediagnosticscreenshotresult).

## Requisitos

**Cabeçalho:** XAppCapture.h

**Plataformas compatíveis:** Windows, consoles da família XBOX One e consoles XBOX Series

## Confira também

[Visão geral do GameDVR](/pt-BR/build/console-features/game-dvr/gamedvr-broadcast)\
[Membros de XAppCapture](/pt-BR/reference/system/xappcapture/xappcapture_members)\
[XAppCaptureDiagnosticScreenshotResult](/pt-BR/reference/system/xappcapture/structs/xappcapturediagnosticscreenshotresult)\
[XAppCaptureTakeDiagnosticScreenshot](/pt-BR/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot)


## Related topics

- [XAppCaptureScreenshotFile](/reference/system/xappcapture/structs/xappcapturescreenshotfile.md)
- [XAppCaptureDiagnosticScreenshotResult](/reference/system/xappcapture/structs/xappcapturediagnosticscreenshotresult.md)
- [XAppCaptureTakeDiagnosticScreenshot](/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot.md)
