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

# DSTORAGE_REQUEST_OPTIONS

> DSTORAGE_REQUEST_OPTIONS

# DSTORAGE\_REQUEST\_OPTIONS

DirectStorage 読み取り要求のオプション。

## 構文

```cpp theme={null}
union DSTORAGE_REQUEST_OPTIONS {
    struct {
        UINT64 ZlibDecompress : 1;
        DSTORAGE_BCPACK_MODE BcpackMode : 4;  
        DSTORAGE_SWIZZLE_MODE SwizzleMode : 16;  
        UINT64 DestinationIsPhysicalPages : 1;  
        DSTORAGE_REQUEST_SOURCE_TYPE SourceType : 1;  
        UINT64 SourceIsPhysicalPages : 1;  
        UINT64 Reserved : 40;  
    };
    UINT64 AsUINT64;
};
```

### メンバー

*ZlibDecompress*\
Type: UINT64 : 1

RFC 1950 展開を実行するかどうかを示すブール値。

*BcpackMode*\
Type: [DSTORAGE\_BCPACK\_MODE](/reference/system/dstorage/enums/dstorage_bcpack_mode) : 4

実行する BCPack 展開のタイプを示す `DSTORAGE_BCPACK_MODE` 値。

*SwizzleMode*\
Type: [DSTORAGE\_SWIZZLE\_MODE](/reference/system/dstorage/enums/dstorage_swizzle_mode) : 16

実行する swizzle 操作のタイプを示す `DSTORAGE_SWIZZLE_MODE` 値。

*DestinationIsPhysicalPages*\
Type: UINT64 : 1

宛先メモリが [XMemAllocatePhysicalPages (NDA topic)](/reference/system/xmem/functions/xmemallocatephysicalpages) を通じて割り当てられた物理ページの配列であることを示すブール値。

*SourceType*\
Type: [DSTORAGE\_REQUEST\_SOURCE\_TYPE](/reference/system/dstorage/enums/dstorage_request_source_type)

要求のソースがファイルかメモリのブロックかを示す `DSTORAGE_REQUEST_SOURCE_TYPE` 値。

*SourceIsPhysicalPages*\
Type: UINT64

*SourceType* が `DSTORAGE_REQUEST_SOURCE_MEMORY` の場合、このブール値はソース メモリが [XMemAllocatePhysicalPages (NDA topic)](/reference/system/xmem/functions/xmemallocatephysicalpages) を通じて割り当てられた物理ページの配列であることを示します。

*Reserved*\
Type: UINT64 : 40

予約済み。0 である必要があります。

*AsUINT64*\
Type: UINT64

構造体の UINT64 表現。

## 解説

この構造体は、[DSTORAGE\_REQUEST](/reference/system/dstorage/structs/dstorage_request) および [DSTORAGE\_ERROR\_RECORD](/reference/system/dstorage/structs/dstorage_error_record) 構造体で使用されます。この構造体は、[IDStorageQueueX::EnqueueRequest](/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_enqueuerequest) が戻ったらすぐに再利用できます。

読み取り要求の詳細については、[DirectStorage の概要](/build/console-features/storage/directstorage/directstorage-overview) の「EnqueueRequest」セクションを参照してください。

## 要件

**ヘッダー:** dstorage\_xs.h

**サポートされているプラットフォーム:** XBOX Series 本体

## 関連項目

[DStorage](/reference/system/dstorage/dstorage_members)


## Related topics

- [DSTORAGE_SWIZZLE_MODE](/ja-jp/reference/system/dstorage/enums/dstorage_swizzle_mode.md)
- [DStorage](/ja-jp/reference/system/dstorage/dstorage_members.md)
- [DSTORAGE_BCPACK_MODE](/ja-jp/reference/system/dstorage/enums/dstorage_bcpack_mode.md)
- [DSTORAGE_REQUEST_SOURCE_TYPE](/ja-jp/reference/system/dstorage/enums/dstorage_request_source_type.md)
- [DSTORAGE_REQUEST](/ja-jp/reference/system/dstorage/structs/dstorage_request.md)
