1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//! HRESULT error code values that DirectStorage can throw.

pub const E_DSTORAGE_ALREADY_RUNNING: u32 = 0x89240001;
pub const E_DSTORAGE_NOT_RUNNING: u32 = 0x89240002;
pub const E_DSTORAGE_INVALID_QUEUE_CAPACITY: u32 = 0x89240003;
pub const E_DSTORAGE_XVD_DEVICE_NOT_SUPPORTED: u32 = 0x89240004;
pub const E_DSTORAGE_UNSUPPORTED_VOLUME: u32 = 0x89240005;
pub const E_DSTORAGE_END_OF_FILE: u32 = 0x89240007;
pub const E_DSTORAGE_REQUEST_TOO_LARGE: u32 = 0x89240008;
pub const E_DSTORAGE_ACCESS_VIOLATION: u32 = 0x89240009;
pub const E_DSTORAGE_UNSUPPORTED_FILE: u32 = 0x8924000A;
pub const E_DSTORAGE_FILE_NOT_OPEN: u32 = 0x8924000B;
pub const E_DSTORAGE_RESERVED_FIELDS: u32 = 0x8924000C;
pub const E_DSTORAGE_INVALID_BCPACK_MODE: u32 = 0x8924000D;
pub const E_DSTORAGE_INVALID_SWIZZLE_MODE: u32 = 0x8924000E;
pub const E_DSTORAGE_INVALID_DESTINATION_SIZE: u32 = 0x8924000F;
pub const E_DSTORAGE_QUEUE_CLOSED: u32 = 0x89240010;
pub const E_DSTORAGE_INVALID_CLUSTER_SIZE: u32 = 0x89240011;
pub const E_DSTORAGE_TOO_MANY_QUEUES: u32 = 0x89240012;
pub const E_DSTORAGE_INVALID_QUEUE_PRIORITY: u32 = 0x89240013;
pub const E_DSTORAGE_TOO_MANY_FILES: u32 = 0x89240014;
pub const E_DSTORAGE_INDEX_BOUND: u32 = 0x89240015;
pub const E_DSTORAGE_IO_TIMEOUT: u32 = 0x89240016;
pub const E_DSTORAGE_INVALID_FILE_HANDLE: u32 = 0x89240017;
pub const E_DSTORAGE_DEPRECATED_PREVIEW_GDK: u32 = 0x89240018;
pub const E_DSTORAGE_XVD_NOT_REGISTERED: u32 = 0x89240019;
pub const E_DSTORAGE_INVALID_FILE_OFFSET: u32 = 0x8924001A;
pub const E_DSTORAGE_INVALID_SOURCE_TYPE: u32 = 0x8924001B;
pub const E_DSTORAGE_INVALID_INTERMEDIATE_SIZE: u32 = 0x8924001C;
pub const E_DSTORAGE_SYSTEM_NOT_SUPPORTED: u32 = 0x8924001D;
pub const E_DSTORAGE_STAGING_BUFFER_LOCKED: u32 = 0x8924001F;
pub const E_DSTORAGE_INVALID_STAGING_BUFFER_SIZE: u32 = 0x89240020;
pub const E_DSTORAGE_STAGING_BUFFER_TOO_SMALL: u32 = 0x89240021;
pub const E_DSTORAGE_INVALID_FENCE: u32 = 0x89240022;
pub const E_DSTORAGE_INVALID_STATUS_ARRAY: u32 = 0x89240023;
pub const E_DSTORAGE_INVALID_MEMORY_QUEUE_PRIORITY: u32 = 0x89240024;
pub const E_DSTORAGE_DECOMPRESSION_ERROR: u32 = 0x89240030;
pub const E_DSTORAGE_ZLIB_BAD_HEADER: u32 = 0x89240031;
pub const E_DSTORAGE_ZLIB_BAD_DATA: u32 = 0x89240032;
pub const E_DSTORAGE_ZLIB_PARITY_FAIL: u32 = 0x89240033;
pub const E_DSTORAGE_BCPACK_BAD_HEADER: u32 = 0x89240034;
pub const E_DSTORAGE_BCPACK_BAD_DATA: u32 = 0x89240035;
pub const E_DSTORAGE_DECRYPTION_ERROR: u32 = 0x89240036;
pub const E_DSTORAGE_PASSTHROUGH_ERROR: u32 = 0x89240037;
pub const E_DSTORAGE_FILE_TOO_FRAGMENTED: u32 = 0x89240038;
pub const E_DSTORAGE_COMPRESSED_DATA_TOO_LARGE: u32 = 0x89240039;
pub const E_DSTORAGE_INVALID_DESTINATION_TYPE: u32 = 0x89240040;