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

# XG_VALIDATED_JPEG_DESC (XBOX One 系列)

> 保存 JPEG 檔案資料流的驗證結果。

保存 JPEG 檔案資料流的驗證結果。

<a id="syntaxSection" />

## 語法

```cpp theme={null}
typedef struct XG_VALIDATED_JPEG_DESC {  
    XG_FORMAT DecodedFormat;
    UINT32 PixelWidth;
    UINT32 PixelHeight;
    UINT32 UnusedHeadersBytes;
} XG_VALIDATED_JPEG_DESC  
```

<a id="membersSection" />

### 成員

*DecodedFormat*\
類型：[XG\_FORMAT](/zh-TW/reference/graphics/xg__NR/enums/xg_format)

JPEG 影像的解碼格式，以 [XG\_FORMAT](/zh-TW/reference/graphics/xg__NR/enums/xg_format) 列舉常數表示。

*PixelWidth*\
類型：UINT32

JPEG 影像的寬度 (以像素為單位)。

*PixelHeight*\
類型：UINT32

JPEG 影像的高度 (以像素為單位)。

*UnusedHeadersBytes*\
類型：UINT32

未使用的標頭 (以位元組為單位)。

<a id="remarksSection" />

## 備註

此結構會為 XBOX Graphics (XG) 程式庫保存 JPEG 檔案資料流的驗證結果。`XG_VALIDATED_JPEG_DESC` 由 XG 程式庫中的 [XGValidateJpegFile](/zh-TW/reference/graphics/xg__NR/functions/xgvalidatejpegfile) 函式使用。

如需 XG 程式庫的詳細資訊，請參閱 [XBOX One 的原生資源管理](https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/graphics/directx/native-resource-management)。

<a id="requirementsSection" />

## 需求

**標頭：** xg.h

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

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

<a id="seealsoSection" />

## 另請參閱

[XG 參考](/zh-TW/reference/graphics/xg__NR/xg_members)


## Related topics

- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [XBOX GDK 主機開發的 NDA 主題索引](/zh-TW/nda/nda-overview.md)
- [D3D12_DESCRIPTOR_HEAP_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_descriptor_heap_desc_public.md)
- [GetRootSignatureDesc](/zh-TW/reference/graphics/d3d12/interfaces/id3d12rootsignaturedeserializer/methods/id3d12rootsignaturedeserializer_getrootsignaturedesc_public.md)
- [D3D12_BLEND_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_blend_desc_public.md)
