diff options
author | Valentin Popov <valentin@popov.link> | 2024-07-19 15:37:58 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-07-19 15:37:58 +0300 |
commit | a990de90fe41456a23e58bd087d2f107d321f3a1 (patch) | |
tree | 15afc392522a9e85dc3332235e311b7d39352ea9 /vendor/windows-sys/src/Windows/Win32/Storage | |
parent | 3d48cd3f81164bbfc1a755dc1d4a9a02f98c8ddd (diff) | |
download | fparkan-a990de90fe41456a23e58bd087d2f107d321f3a1.tar.xz fparkan-a990de90fe41456a23e58bd087d2f107d321f3a1.zip |
Deleted vendor folder
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/Storage')
21 files changed, 0 insertions, 22567 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/Cabinets/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/Cabinets/mod.rs deleted file mode 100644 index 79435e4..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Storage/Cabinets/mod.rs +++ /dev/null @@ -1,314 +0,0 @@ -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cabinet.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FCIAddFile(hfci : *const ::core::ffi::c_void, pszsourcefile : ::windows_sys::core::PCSTR, pszfilename : ::windows_sys::core::PCSTR, fexecute : super::super::Foundation:: BOOL, pfnfcignc : PFNFCIGETNEXTCABINET, pfnfcis : PFNFCISTATUS, pfnfcigoi : PFNFCIGETOPENINFO, typecompress : u16) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cabinet.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FCICreate(perf : *const ERF, pfnfcifp : PFNFCIFILEPLACED, pfna : PFNFCIALLOC, pfnf : PFNFCIFREE, pfnopen : PFNFCIOPEN, pfnread : PFNFCIREAD, pfnwrite : PFNFCIWRITE, pfnclose : PFNFCICLOSE, pfnseek : PFNFCISEEK, pfndelete : PFNFCIDELETE, pfnfcigtf : PFNFCIGETTEMPFILE, pccab : *const CCAB, pv : *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cabinet.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FCIDestroy(hfci : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cabinet.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FCIFlushCabinet(hfci : *const ::core::ffi::c_void, fgetnextcab : super::super::Foundation:: BOOL, pfnfcignc : PFNFCIGETNEXTCABINET, pfnfcis : PFNFCISTATUS) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cabinet.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FCIFlushFolder(hfci : *const ::core::ffi::c_void, pfnfcignc : PFNFCIGETNEXTCABINET, pfnfcis : PFNFCISTATUS) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cabinet.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FDICopy(hfdi : *const ::core::ffi::c_void, pszcabinet : ::windows_sys::core::PCSTR, pszcabpath : ::windows_sys::core::PCSTR, flags : i32, pfnfdin : PFNFDINOTIFY, pfnfdid : PFNFDIDECRYPT, pvuser : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cabinet.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FDICreate(pfnalloc : PFNALLOC, pfnfree : PFNFREE, pfnopen : PFNOPEN, pfnread : PFNREAD, pfnwrite : PFNWRITE, pfnclose : PFNCLOSE, pfnseek : PFNSEEK, cputype : FDICREATE_CPU_TYPE, perf : *mut ERF) -> *mut ::core::ffi::c_void); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cabinet.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FDIDestroy(hfdi : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cabinet.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FDIIsCabinet(hfdi : *const ::core::ffi::c_void, hf : isize, pfdici : *mut FDICABINETINFO) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cabinet.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FDITruncateCabinet(hfdi : *const ::core::ffi::c_void, pszcabinetname : ::windows_sys::core::PCSTR, ifoldertodelete : u16) -> super::super::Foundation:: BOOL); -pub const CB_MAX_CABINET_NAME: u32 = 256u32; -pub const CB_MAX_CAB_PATH: u32 = 256u32; -pub const CB_MAX_DISK: i32 = 2147483647i32; -pub const CB_MAX_DISK_NAME: u32 = 256u32; -pub const CB_MAX_FILENAME: u32 = 256u32; -pub const FCIERR_ALLOC_FAIL: FCIERROR = 3i32; -pub const FCIERR_BAD_COMPR_TYPE: FCIERROR = 5i32; -pub const FCIERR_CAB_FILE: FCIERROR = 6i32; -pub const FCIERR_CAB_FORMAT_LIMIT: FCIERROR = 9i32; -pub const FCIERR_MCI_FAIL: FCIERROR = 8i32; -pub const FCIERR_NONE: FCIERROR = 0i32; -pub const FCIERR_OPEN_SRC: FCIERROR = 1i32; -pub const FCIERR_READ_SRC: FCIERROR = 2i32; -pub const FCIERR_TEMP_FILE: FCIERROR = 4i32; -pub const FCIERR_USER_ABORT: FCIERROR = 7i32; -pub const FDIERROR_ALLOC_FAIL: FDIERROR = 5i32; -pub const FDIERROR_BAD_COMPR_TYPE: FDIERROR = 6i32; -pub const FDIERROR_CABINET_NOT_FOUND: FDIERROR = 1i32; -pub const FDIERROR_CORRUPT_CABINET: FDIERROR = 4i32; -pub const FDIERROR_EOF: FDIERROR = 12i32; -pub const FDIERROR_MDI_FAIL: FDIERROR = 7i32; -pub const FDIERROR_NONE: FDIERROR = 0i32; -pub const FDIERROR_NOT_A_CABINET: FDIERROR = 2i32; -pub const FDIERROR_RESERVE_MISMATCH: FDIERROR = 9i32; -pub const FDIERROR_TARGET_FILE: FDIERROR = 8i32; -pub const FDIERROR_UNKNOWN_CABINET_VERSION: FDIERROR = 3i32; -pub const FDIERROR_USER_ABORT: FDIERROR = 11i32; -pub const FDIERROR_WRONG_CABINET: FDIERROR = 10i32; -pub const INCLUDED_FCI: u32 = 1u32; -pub const INCLUDED_FDI: u32 = 1u32; -pub const INCLUDED_TYPES_FCI_FDI: u32 = 1u32; -pub const _A_EXEC: u32 = 64u32; -pub const _A_NAME_IS_UTF: u32 = 128u32; -pub const cpu80286: FDICREATE_CPU_TYPE = 0i32; -pub const cpu80386: FDICREATE_CPU_TYPE = 1i32; -pub const cpuUNKNOWN: FDICREATE_CPU_TYPE = -1i32; -pub const fdidtDECRYPT: FDIDECRYPTTYPE = 2i32; -pub const fdidtNEW_CABINET: FDIDECRYPTTYPE = 0i32; -pub const fdidtNEW_FOLDER: FDIDECRYPTTYPE = 1i32; -pub const fdintCABINET_INFO: FDINOTIFICATIONTYPE = 0i32; -pub const fdintCLOSE_FILE_INFO: FDINOTIFICATIONTYPE = 3i32; -pub const fdintCOPY_FILE: FDINOTIFICATIONTYPE = 2i32; -pub const fdintENUMERATE: FDINOTIFICATIONTYPE = 5i32; -pub const fdintNEXT_CABINET: FDINOTIFICATIONTYPE = 4i32; -pub const fdintPARTIAL_FILE: FDINOTIFICATIONTYPE = 1i32; -pub const statusCabinet: u32 = 2u32; -pub const statusFile: u32 = 0u32; -pub const statusFolder: u32 = 1u32; -pub const tcompBAD: u32 = 15u32; -pub const tcompLZX_WINDOW_HI: u32 = 5376u32; -pub const tcompLZX_WINDOW_LO: u32 = 3840u32; -pub const tcompMASK_LZX_WINDOW: u32 = 7936u32; -pub const tcompMASK_QUANTUM_LEVEL: u32 = 240u32; -pub const tcompMASK_QUANTUM_MEM: u32 = 7936u32; -pub const tcompMASK_RESERVED: u32 = 57344u32; -pub const tcompMASK_TYPE: u32 = 15u32; -pub const tcompQUANTUM_LEVEL_HI: u32 = 112u32; -pub const tcompQUANTUM_LEVEL_LO: u32 = 16u32; -pub const tcompQUANTUM_MEM_HI: u32 = 5376u32; -pub const tcompQUANTUM_MEM_LO: u32 = 2560u32; -pub const tcompSHIFT_LZX_WINDOW: u32 = 8u32; -pub const tcompSHIFT_QUANTUM_LEVEL: u32 = 4u32; -pub const tcompSHIFT_QUANTUM_MEM: u32 = 8u32; -pub const tcompTYPE_LZX: u32 = 3u32; -pub const tcompTYPE_MSZIP: u32 = 1u32; -pub const tcompTYPE_NONE: u32 = 0u32; -pub const tcompTYPE_QUANTUM: u32 = 2u32; -pub type FCIERROR = i32; -pub type FDICREATE_CPU_TYPE = i32; -pub type FDIDECRYPTTYPE = i32; -pub type FDIERROR = i32; -pub type FDINOTIFICATIONTYPE = i32; -#[repr(C)] -pub struct CCAB { - pub cb: u32, - pub cbFolderThresh: u32, - pub cbReserveCFHeader: u32, - pub cbReserveCFFolder: u32, - pub cbReserveCFData: u32, - pub iCab: i32, - pub iDisk: i32, - pub fFailOnIncompressible: i32, - pub setID: u16, - pub szDisk: [u8; 256], - pub szCab: [u8; 256], - pub szCabPath: [u8; 256], -} -impl ::core::marker::Copy for CCAB {} -impl ::core::clone::Clone for CCAB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct ERF { - pub erfOper: i32, - pub erfType: i32, - pub fError: super::super::Foundation::BOOL, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for ERF {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for ERF { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct FDICABINETINFO { - pub cbCabinet: i32, - pub cFolders: u16, - pub cFiles: u16, - pub setID: u16, - pub iCabinet: u16, - pub fReserve: super::super::Foundation::BOOL, - pub hasprev: super::super::Foundation::BOOL, - pub hasnext: super::super::Foundation::BOOL, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for FDICABINETINFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for FDICABINETINFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct FDIDECRYPT { - pub fdidt: FDIDECRYPTTYPE, - pub pvUser: *mut ::core::ffi::c_void, - pub Anonymous: FDIDECRYPT_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for FDIDECRYPT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for FDIDECRYPT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union FDIDECRYPT_0 { - pub cabinet: FDIDECRYPT_0_0, - pub folder: FDIDECRYPT_0_2, - pub decrypt: FDIDECRYPT_0_1, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for FDIDECRYPT_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for FDIDECRYPT_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct FDIDECRYPT_0_0 { - pub pHeaderReserve: *mut ::core::ffi::c_void, - pub cbHeaderReserve: u16, - pub setID: u16, - pub iCabinet: i32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for FDIDECRYPT_0_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for FDIDECRYPT_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct FDIDECRYPT_0_1 { - pub pDataReserve: *mut ::core::ffi::c_void, - pub cbDataReserve: u16, - pub pbData: *mut ::core::ffi::c_void, - pub cbData: u16, - pub fSplit: super::super::Foundation::BOOL, - pub cbPartial: u16, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for FDIDECRYPT_0_1 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for FDIDECRYPT_0_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct FDIDECRYPT_0_2 { - pub pFolderReserve: *mut ::core::ffi::c_void, - pub cbFolderReserve: u16, - pub iFolder: u16, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for FDIDECRYPT_0_2 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for FDIDECRYPT_0_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FDINOTIFICATION { - pub cb: i32, - pub psz1: ::windows_sys::core::PSTR, - pub psz2: ::windows_sys::core::PSTR, - pub psz3: ::windows_sys::core::PSTR, - pub pv: *mut ::core::ffi::c_void, - pub hf: isize, - pub date: u16, - pub time: u16, - pub attribs: u16, - pub setID: u16, - pub iCabinet: u16, - pub iFolder: u16, - pub fdie: FDIERROR, -} -impl ::core::marker::Copy for FDINOTIFICATION {} -impl ::core::clone::Clone for FDINOTIFICATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct FDISPILLFILE { - pub ach: [u8; 2], - pub cbFile: i32, -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for FDISPILLFILE {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for FDISPILLFILE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -#[cfg(target_arch = "x86")] -pub struct FDISPILLFILE { - pub ach: [u8; 2], - pub cbFile: i32, -} -#[cfg(target_arch = "x86")] -impl ::core::marker::Copy for FDISPILLFILE {} -#[cfg(target_arch = "x86")] -impl ::core::clone::Clone for FDISPILLFILE { - fn clone(&self) -> Self { - *self - } -} -pub type PFNALLOC = ::core::option::Option<unsafe extern "system" fn(cb: u32) -> *mut ::core::ffi::c_void>; -pub type PFNCLOSE = ::core::option::Option<unsafe extern "system" fn(hf: isize) -> i32>; -pub type PFNFCIALLOC = ::core::option::Option<unsafe extern "system" fn(cb: u32) -> *mut ::core::ffi::c_void>; -pub type PFNFCICLOSE = ::core::option::Option<unsafe extern "system" fn(hf: isize, err: *mut i32, pv: *mut ::core::ffi::c_void) -> i32>; -pub type PFNFCIDELETE = ::core::option::Option<unsafe extern "system" fn(pszfile: ::windows_sys::core::PCSTR, err: *mut i32, pv: *mut ::core::ffi::c_void) -> i32>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFNFCIFILEPLACED = ::core::option::Option<unsafe extern "system" fn(pccab: *mut CCAB, pszfile: ::windows_sys::core::PCSTR, cbfile: i32, fcontinuation: super::super::Foundation::BOOL, pv: *mut ::core::ffi::c_void) -> i32>; -pub type PFNFCIFREE = ::core::option::Option<unsafe extern "system" fn(memory: *mut ::core::ffi::c_void) -> ()>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFNFCIGETNEXTCABINET = ::core::option::Option<unsafe extern "system" fn(pccab: *mut CCAB, cbprevcab: u32, pv: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -pub type PFNFCIGETOPENINFO = ::core::option::Option<unsafe extern "system" fn(pszname: ::windows_sys::core::PCSTR, pdate: *mut u16, ptime: *mut u16, pattribs: *mut u16, err: *mut i32, pv: *mut ::core::ffi::c_void) -> isize>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFNFCIGETTEMPFILE = ::core::option::Option<unsafe extern "system" fn(psztempname: ::windows_sys::core::PSTR, cbtempname: i32, pv: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -pub type PFNFCIOPEN = ::core::option::Option<unsafe extern "system" fn(pszfile: ::windows_sys::core::PCSTR, oflag: i32, pmode: i32, err: *mut i32, pv: *mut ::core::ffi::c_void) -> isize>; -pub type PFNFCIREAD = ::core::option::Option<unsafe extern "system" fn(hf: isize, memory: *mut ::core::ffi::c_void, cb: u32, err: *mut i32, pv: *mut ::core::ffi::c_void) -> u32>; -pub type PFNFCISEEK = ::core::option::Option<unsafe extern "system" fn(hf: isize, dist: i32, seektype: i32, err: *mut i32, pv: *mut ::core::ffi::c_void) -> i32>; -pub type PFNFCISTATUS = ::core::option::Option<unsafe extern "system" fn(typestatus: u32, cb1: u32, cb2: u32, pv: *mut ::core::ffi::c_void) -> i32>; -pub type PFNFCIWRITE = ::core::option::Option<unsafe extern "system" fn(hf: isize, memory: *mut ::core::ffi::c_void, cb: u32, err: *mut i32, pv: *mut ::core::ffi::c_void) -> u32>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFNFDIDECRYPT = ::core::option::Option<unsafe extern "system" fn(pfdid: *mut FDIDECRYPT) -> i32>; -pub type PFNFDINOTIFY = ::core::option::Option<unsafe extern "system" fn(fdint: FDINOTIFICATIONTYPE, pfdin: *mut FDINOTIFICATION) -> isize>; -pub type PFNFREE = ::core::option::Option<unsafe extern "system" fn(pv: *const ::core::ffi::c_void) -> ()>; -pub type PFNOPEN = ::core::option::Option<unsafe extern "system" fn(pszfile: ::windows_sys::core::PCSTR, oflag: i32, pmode: i32) -> isize>; -pub type PFNREAD = ::core::option::Option<unsafe extern "system" fn(hf: isize, pv: *mut ::core::ffi::c_void, cb: u32) -> u32>; -pub type PFNSEEK = ::core::option::Option<unsafe extern "system" fn(hf: isize, dist: i32, seektype: i32) -> i32>; -pub type PFNWRITE = ::core::option::Option<unsafe extern "system" fn(hf: isize, pv: *const ::core::ffi::c_void, cb: u32) -> u32>; diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/CloudFilters/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/CloudFilters/mod.rs deleted file mode 100644 index f394cc1..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Storage/CloudFilters/mod.rs +++ /dev/null @@ -1,943 +0,0 @@ -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CfCloseHandle(filehandle : super::super::Foundation:: HANDLE) -> ()); -#[cfg(feature = "Win32_System_CorrelationVector")] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_System_CorrelationVector\"`"] fn CfConnectSyncRoot(syncrootpath : ::windows_sys::core::PCWSTR, callbacktable : *const CF_CALLBACK_REGISTRATION, callbackcontext : *const ::core::ffi::c_void, connectflags : CF_CONNECT_FLAGS, connectionkey : *mut CF_CONNECTION_KEY) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn CfConvertToPlaceholder(filehandle : super::super::Foundation:: HANDLE, fileidentity : *const ::core::ffi::c_void, fileidentitylength : u32, convertflags : CF_CONVERT_FLAGS, convertusn : *mut i64, overlapped : *mut super::super::System::IO:: OVERLAPPED) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Storage_FileSystem")] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Storage_FileSystem\"`"] fn CfCreatePlaceholders(basedirectorypath : ::windows_sys::core::PCWSTR, placeholderarray : *mut CF_PLACEHOLDER_CREATE_INFO, placeholdercount : u32, createflags : CF_CREATE_FLAGS, entriesprocessed : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn CfDehydratePlaceholder(filehandle : super::super::Foundation:: HANDLE, startingoffset : i64, length : i64, dehydrateflags : CF_DEHYDRATE_FLAGS, overlapped : *mut super::super::System::IO:: OVERLAPPED) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cldapi.dll" "system" fn CfDisconnectSyncRoot(connectionkey : CF_CONNECTION_KEY) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem", feature = "Win32_System_CorrelationVector"))] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_CorrelationVector\"`"] fn CfExecute(opinfo : *const CF_OPERATION_INFO, opparams : *mut CF_OPERATION_PARAMETERS) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_CorrelationVector"))] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_CorrelationVector\"`"] fn CfGetCorrelationVector(filehandle : super::super::Foundation:: HANDLE, correlationvector : *mut super::super::System::CorrelationVector:: CORRELATION_VECTOR) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CfGetPlaceholderInfo(filehandle : super::super::Foundation:: HANDLE, infoclass : CF_PLACEHOLDER_INFO_CLASS, infobuffer : *mut ::core::ffi::c_void, infobufferlength : u32, returnedlength : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CfGetPlaceholderRangeInfo(filehandle : super::super::Foundation:: HANDLE, infoclass : CF_PLACEHOLDER_RANGE_INFO_CLASS, startingoffset : i64, length : i64, infobuffer : *mut ::core::ffi::c_void, infobufferlength : u32, returnedlength : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cldapi.dll" "system" fn CfGetPlaceholderRangeInfoForHydration(connectionkey : CF_CONNECTION_KEY, transferkey : i64, fileid : i64, infoclass : CF_PLACEHOLDER_RANGE_INFO_CLASS, startingoffset : i64, rangelength : i64, infobuffer : *mut ::core::ffi::c_void, infobuffersize : u32, infobufferwritten : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cldapi.dll" "system" fn CfGetPlaceholderStateFromAttributeTag(fileattributes : u32, reparsetag : u32) -> CF_PLACEHOLDER_STATE); -#[cfg(feature = "Win32_Storage_FileSystem")] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Storage_FileSystem\"`"] fn CfGetPlaceholderStateFromFileInfo(infobuffer : *const ::core::ffi::c_void, infoclass : super::FileSystem:: FILE_INFO_BY_HANDLE_CLASS) -> CF_PLACEHOLDER_STATE); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`"] fn CfGetPlaceholderStateFromFindData(finddata : *const super::FileSystem:: WIN32_FIND_DATAA) -> CF_PLACEHOLDER_STATE); -::windows_targets::link!("cldapi.dll" "system" fn CfGetPlatformInfo(platformversion : *mut CF_PLATFORM_INFO) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CfGetSyncRootInfoByHandle(filehandle : super::super::Foundation:: HANDLE, infoclass : CF_SYNC_ROOT_INFO_CLASS, infobuffer : *mut ::core::ffi::c_void, infobufferlength : u32, returnedlength : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cldapi.dll" "system" fn CfGetSyncRootInfoByPath(filepath : ::windows_sys::core::PCWSTR, infoclass : CF_SYNC_ROOT_INFO_CLASS, infobuffer : *mut ::core::ffi::c_void, infobufferlength : u32, returnedlength : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CfGetTransferKey(filehandle : super::super::Foundation:: HANDLE, transferkey : *mut i64) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CfGetWin32HandleFromProtectedHandle(protectedhandle : super::super::Foundation:: HANDLE) -> super::super::Foundation:: HANDLE); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn CfHydratePlaceholder(filehandle : super::super::Foundation:: HANDLE, startingoffset : i64, length : i64, hydrateflags : CF_HYDRATE_FLAGS, overlapped : *mut super::super::System::IO:: OVERLAPPED) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CfOpenFileWithOplock(filepath : ::windows_sys::core::PCWSTR, flags : CF_OPEN_FILE_FLAGS, protectedhandle : *mut super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cldapi.dll" "system" fn CfQuerySyncProviderStatus(connectionkey : CF_CONNECTION_KEY, providerstatus : *mut CF_SYNC_PROVIDER_STATUS) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CfReferenceProtectedHandle(protectedhandle : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOLEAN); -::windows_targets::link!("cldapi.dll" "system" fn CfRegisterSyncRoot(syncrootpath : ::windows_sys::core::PCWSTR, registration : *const CF_SYNC_REGISTRATION, policies : *const CF_SYNC_POLICIES, registerflags : CF_REGISTER_FLAGS) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CfReleaseProtectedHandle(protectedhandle : super::super::Foundation:: HANDLE) -> ()); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CfReleaseTransferKey(filehandle : super::super::Foundation:: HANDLE, transferkey : *const i64) -> ()); -::windows_targets::link!("cldapi.dll" "system" fn CfReportProviderProgress(connectionkey : CF_CONNECTION_KEY, transferkey : i64, providerprogresstotal : i64, providerprogresscompleted : i64) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cldapi.dll" "system" fn CfReportProviderProgress2(connectionkey : CF_CONNECTION_KEY, transferkey : i64, requestkey : i64, providerprogresstotal : i64, providerprogresscompleted : i64, targetsessionid : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cldapi.dll" "system" fn CfReportSyncStatus(syncrootpath : ::windows_sys::core::PCWSTR, syncstatus : *const CF_SYNC_STATUS) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn CfRevertPlaceholder(filehandle : super::super::Foundation:: HANDLE, revertflags : CF_REVERT_FLAGS, overlapped : *mut super::super::System::IO:: OVERLAPPED) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_CorrelationVector"))] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_CorrelationVector\"`"] fn CfSetCorrelationVector(filehandle : super::super::Foundation:: HANDLE, correlationvector : *const super::super::System::CorrelationVector:: CORRELATION_VECTOR) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CfSetInSyncState(filehandle : super::super::Foundation:: HANDLE, insyncstate : CF_IN_SYNC_STATE, insyncflags : CF_SET_IN_SYNC_FLAGS, insyncusn : *mut i64) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn CfSetPinState(filehandle : super::super::Foundation:: HANDLE, pinstate : CF_PIN_STATE, pinflags : CF_SET_PIN_FLAGS, overlapped : *mut super::super::System::IO:: OVERLAPPED) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cldapi.dll" "system" fn CfUnregisterSyncRoot(syncrootpath : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO"))] -::windows_targets::link!("cldapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`"] fn CfUpdatePlaceholder(filehandle : super::super::Foundation:: HANDLE, fsmetadata : *const CF_FS_METADATA, fileidentity : *const ::core::ffi::c_void, fileidentitylength : u32, dehydraterangearray : *const CF_FILE_RANGE, dehydraterangecount : u32, updateflags : CF_UPDATE_FLAGS, updateusn : *mut i64, overlapped : *mut super::super::System::IO:: OVERLAPPED) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("cldapi.dll" "system" fn CfUpdateSyncProviderStatus(connectionkey : CF_CONNECTION_KEY, providerstatus : CF_SYNC_PROVIDER_STATUS) -> ::windows_sys::core::HRESULT); -pub const CF_CALLBACK_CANCEL_FLAG_IO_ABORTED: CF_CALLBACK_CANCEL_FLAGS = 2i32; -pub const CF_CALLBACK_CANCEL_FLAG_IO_TIMEOUT: CF_CALLBACK_CANCEL_FLAGS = 1i32; -pub const CF_CALLBACK_CANCEL_FLAG_NONE: CF_CALLBACK_CANCEL_FLAGS = 0i32; -pub const CF_CALLBACK_CLOSE_COMPLETION_FLAG_DELETED: CF_CALLBACK_CLOSE_COMPLETION_FLAGS = 1i32; -pub const CF_CALLBACK_CLOSE_COMPLETION_FLAG_NONE: CF_CALLBACK_CLOSE_COMPLETION_FLAGS = 0i32; -pub const CF_CALLBACK_DEHYDRATE_COMPLETION_FLAG_BACKGROUND: CF_CALLBACK_DEHYDRATE_COMPLETION_FLAGS = 1i32; -pub const CF_CALLBACK_DEHYDRATE_COMPLETION_FLAG_DEHYDRATED: CF_CALLBACK_DEHYDRATE_COMPLETION_FLAGS = 2i32; -pub const CF_CALLBACK_DEHYDRATE_COMPLETION_FLAG_NONE: CF_CALLBACK_DEHYDRATE_COMPLETION_FLAGS = 0i32; -pub const CF_CALLBACK_DEHYDRATE_FLAG_BACKGROUND: CF_CALLBACK_DEHYDRATE_FLAGS = 1i32; -pub const CF_CALLBACK_DEHYDRATE_FLAG_NONE: CF_CALLBACK_DEHYDRATE_FLAGS = 0i32; -pub const CF_CALLBACK_DEHYDRATION_REASON_NONE: CF_CALLBACK_DEHYDRATION_REASON = 0i32; -pub const CF_CALLBACK_DEHYDRATION_REASON_SYSTEM_INACTIVITY: CF_CALLBACK_DEHYDRATION_REASON = 3i32; -pub const CF_CALLBACK_DEHYDRATION_REASON_SYSTEM_LOW_SPACE: CF_CALLBACK_DEHYDRATION_REASON = 2i32; -pub const CF_CALLBACK_DEHYDRATION_REASON_SYSTEM_OS_UPGRADE: CF_CALLBACK_DEHYDRATION_REASON = 4i32; -pub const CF_CALLBACK_DEHYDRATION_REASON_USER_MANUAL: CF_CALLBACK_DEHYDRATION_REASON = 1i32; -pub const CF_CALLBACK_DELETE_COMPLETION_FLAG_NONE: CF_CALLBACK_DELETE_COMPLETION_FLAGS = 0i32; -pub const CF_CALLBACK_DELETE_FLAG_IS_DIRECTORY: CF_CALLBACK_DELETE_FLAGS = 1i32; -pub const CF_CALLBACK_DELETE_FLAG_IS_UNDELETE: CF_CALLBACK_DELETE_FLAGS = 2i32; -pub const CF_CALLBACK_DELETE_FLAG_NONE: CF_CALLBACK_DELETE_FLAGS = 0i32; -pub const CF_CALLBACK_FETCH_DATA_FLAG_EXPLICIT_HYDRATION: CF_CALLBACK_FETCH_DATA_FLAGS = 2i32; -pub const CF_CALLBACK_FETCH_DATA_FLAG_NONE: CF_CALLBACK_FETCH_DATA_FLAGS = 0i32; -pub const CF_CALLBACK_FETCH_DATA_FLAG_RECOVERY: CF_CALLBACK_FETCH_DATA_FLAGS = 1i32; -pub const CF_CALLBACK_FETCH_PLACEHOLDERS_FLAG_NONE: CF_CALLBACK_FETCH_PLACEHOLDERS_FLAGS = 0i32; -pub const CF_CALLBACK_OPEN_COMPLETION_FLAG_NONE: CF_CALLBACK_OPEN_COMPLETION_FLAGS = 0i32; -pub const CF_CALLBACK_OPEN_COMPLETION_FLAG_PLACEHOLDER_UNKNOWN: CF_CALLBACK_OPEN_COMPLETION_FLAGS = 1i32; -pub const CF_CALLBACK_OPEN_COMPLETION_FLAG_PLACEHOLDER_UNSUPPORTED: CF_CALLBACK_OPEN_COMPLETION_FLAGS = 2i32; -pub const CF_CALLBACK_RENAME_COMPLETION_FLAG_NONE: CF_CALLBACK_RENAME_COMPLETION_FLAGS = 0i32; -pub const CF_CALLBACK_RENAME_FLAG_IS_DIRECTORY: CF_CALLBACK_RENAME_FLAGS = 1i32; -pub const CF_CALLBACK_RENAME_FLAG_NONE: CF_CALLBACK_RENAME_FLAGS = 0i32; -pub const CF_CALLBACK_RENAME_FLAG_SOURCE_IN_SCOPE: CF_CALLBACK_RENAME_FLAGS = 2i32; -pub const CF_CALLBACK_RENAME_FLAG_TARGET_IN_SCOPE: CF_CALLBACK_RENAME_FLAGS = 4i32; -pub const CF_CALLBACK_TYPE_CANCEL_FETCH_DATA: CF_CALLBACK_TYPE = 2i32; -pub const CF_CALLBACK_TYPE_CANCEL_FETCH_PLACEHOLDERS: CF_CALLBACK_TYPE = 4i32; -pub const CF_CALLBACK_TYPE_FETCH_DATA: CF_CALLBACK_TYPE = 0i32; -pub const CF_CALLBACK_TYPE_FETCH_PLACEHOLDERS: CF_CALLBACK_TYPE = 3i32; -pub const CF_CALLBACK_TYPE_NONE: CF_CALLBACK_TYPE = -1i32; -pub const CF_CALLBACK_TYPE_NOTIFY_DEHYDRATE: CF_CALLBACK_TYPE = 7i32; -pub const CF_CALLBACK_TYPE_NOTIFY_DEHYDRATE_COMPLETION: CF_CALLBACK_TYPE = 8i32; -pub const CF_CALLBACK_TYPE_NOTIFY_DELETE: CF_CALLBACK_TYPE = 9i32; -pub const CF_CALLBACK_TYPE_NOTIFY_DELETE_COMPLETION: CF_CALLBACK_TYPE = 10i32; -pub const CF_CALLBACK_TYPE_NOTIFY_FILE_CLOSE_COMPLETION: CF_CALLBACK_TYPE = 6i32; -pub const CF_CALLBACK_TYPE_NOTIFY_FILE_OPEN_COMPLETION: CF_CALLBACK_TYPE = 5i32; -pub const CF_CALLBACK_TYPE_NOTIFY_RENAME: CF_CALLBACK_TYPE = 11i32; -pub const CF_CALLBACK_TYPE_NOTIFY_RENAME_COMPLETION: CF_CALLBACK_TYPE = 12i32; -pub const CF_CALLBACK_TYPE_VALIDATE_DATA: CF_CALLBACK_TYPE = 1i32; -pub const CF_CALLBACK_VALIDATE_DATA_FLAG_EXPLICIT_HYDRATION: CF_CALLBACK_VALIDATE_DATA_FLAGS = 2i32; -pub const CF_CALLBACK_VALIDATE_DATA_FLAG_NONE: CF_CALLBACK_VALIDATE_DATA_FLAGS = 0i32; -pub const CF_CONNECT_FLAG_BLOCK_SELF_IMPLICIT_HYDRATION: CF_CONNECT_FLAGS = 8i32; -pub const CF_CONNECT_FLAG_NONE: CF_CONNECT_FLAGS = 0i32; -pub const CF_CONNECT_FLAG_REQUIRE_FULL_FILE_PATH: CF_CONNECT_FLAGS = 4i32; -pub const CF_CONNECT_FLAG_REQUIRE_PROCESS_INFO: CF_CONNECT_FLAGS = 2i32; -pub const CF_CONVERT_FLAG_ALWAYS_FULL: CF_CONVERT_FLAGS = 8i32; -pub const CF_CONVERT_FLAG_DEHYDRATE: CF_CONVERT_FLAGS = 2i32; -pub const CF_CONVERT_FLAG_ENABLE_ON_DEMAND_POPULATION: CF_CONVERT_FLAGS = 4i32; -pub const CF_CONVERT_FLAG_FORCE_CONVERT_TO_CLOUD_FILE: CF_CONVERT_FLAGS = 16i32; -pub const CF_CONVERT_FLAG_MARK_IN_SYNC: CF_CONVERT_FLAGS = 1i32; -pub const CF_CONVERT_FLAG_NONE: CF_CONVERT_FLAGS = 0i32; -pub const CF_CREATE_FLAG_NONE: CF_CREATE_FLAGS = 0i32; -pub const CF_CREATE_FLAG_STOP_ON_ERROR: CF_CREATE_FLAGS = 1i32; -pub const CF_DEHYDRATE_FLAG_BACKGROUND: CF_DEHYDRATE_FLAGS = 1i32; -pub const CF_DEHYDRATE_FLAG_NONE: CF_DEHYDRATE_FLAGS = 0i32; -pub const CF_HARDLINK_POLICY_ALLOWED: CF_HARDLINK_POLICY = 1i32; -pub const CF_HARDLINK_POLICY_NONE: CF_HARDLINK_POLICY = 0i32; -pub const CF_HYDRATE_FLAG_NONE: CF_HYDRATE_FLAGS = 0i32; -pub const CF_HYDRATION_POLICY_ALWAYS_FULL: CF_HYDRATION_POLICY_PRIMARY = 3u16; -pub const CF_HYDRATION_POLICY_FULL: CF_HYDRATION_POLICY_PRIMARY = 2u16; -pub const CF_HYDRATION_POLICY_MODIFIER_ALLOW_FULL_RESTART_HYDRATION: CF_HYDRATION_POLICY_MODIFIER = 8u16; -pub const CF_HYDRATION_POLICY_MODIFIER_AUTO_DEHYDRATION_ALLOWED: CF_HYDRATION_POLICY_MODIFIER = 4u16; -pub const CF_HYDRATION_POLICY_MODIFIER_NONE: CF_HYDRATION_POLICY_MODIFIER = 0u16; -pub const CF_HYDRATION_POLICY_MODIFIER_STREAMING_ALLOWED: CF_HYDRATION_POLICY_MODIFIER = 2u16; -pub const CF_HYDRATION_POLICY_MODIFIER_VALIDATION_REQUIRED: CF_HYDRATION_POLICY_MODIFIER = 1u16; -pub const CF_HYDRATION_POLICY_PARTIAL: CF_HYDRATION_POLICY_PRIMARY = 0u16; -pub const CF_HYDRATION_POLICY_PROGRESSIVE: CF_HYDRATION_POLICY_PRIMARY = 1u16; -pub const CF_INSYNC_POLICY_NONE: CF_INSYNC_POLICY = 0u32; -pub const CF_INSYNC_POLICY_PRESERVE_INSYNC_FOR_SYNC_ENGINE: CF_INSYNC_POLICY = 2147483648u32; -pub const CF_INSYNC_POLICY_TRACK_ALL: CF_INSYNC_POLICY = 16777215u32; -pub const CF_INSYNC_POLICY_TRACK_DIRECTORY_ALL: CF_INSYNC_POLICY = 11184880u32; -pub const CF_INSYNC_POLICY_TRACK_DIRECTORY_CREATION_TIME: CF_INSYNC_POLICY = 16u32; -pub const CF_INSYNC_POLICY_TRACK_DIRECTORY_HIDDEN_ATTRIBUTE: CF_INSYNC_POLICY = 64u32; -pub const CF_INSYNC_POLICY_TRACK_DIRECTORY_LAST_WRITE_TIME: CF_INSYNC_POLICY = 512u32; -pub const CF_INSYNC_POLICY_TRACK_DIRECTORY_READONLY_ATTRIBUTE: CF_INSYNC_POLICY = 32u32; -pub const CF_INSYNC_POLICY_TRACK_DIRECTORY_SYSTEM_ATTRIBUTE: CF_INSYNC_POLICY = 128u32; -pub const CF_INSYNC_POLICY_TRACK_FILE_ALL: CF_INSYNC_POLICY = 5592335u32; -pub const CF_INSYNC_POLICY_TRACK_FILE_CREATION_TIME: CF_INSYNC_POLICY = 1u32; -pub const CF_INSYNC_POLICY_TRACK_FILE_HIDDEN_ATTRIBUTE: CF_INSYNC_POLICY = 4u32; -pub const CF_INSYNC_POLICY_TRACK_FILE_LAST_WRITE_TIME: CF_INSYNC_POLICY = 256u32; -pub const CF_INSYNC_POLICY_TRACK_FILE_READONLY_ATTRIBUTE: CF_INSYNC_POLICY = 2u32; -pub const CF_INSYNC_POLICY_TRACK_FILE_SYSTEM_ATTRIBUTE: CF_INSYNC_POLICY = 8u32; -pub const CF_IN_SYNC_STATE_IN_SYNC: CF_IN_SYNC_STATE = 1i32; -pub const CF_IN_SYNC_STATE_NOT_IN_SYNC: CF_IN_SYNC_STATE = 0i32; -pub const CF_MAX_PRIORITY_HINT: u32 = 15u32; -pub const CF_MAX_PROVIDER_NAME_LENGTH: u32 = 255u32; -pub const CF_MAX_PROVIDER_VERSION_LENGTH: u32 = 255u32; -pub const CF_OPEN_FILE_FLAG_DELETE_ACCESS: CF_OPEN_FILE_FLAGS = 4i32; -pub const CF_OPEN_FILE_FLAG_EXCLUSIVE: CF_OPEN_FILE_FLAGS = 1i32; -pub const CF_OPEN_FILE_FLAG_FOREGROUND: CF_OPEN_FILE_FLAGS = 8i32; -pub const CF_OPEN_FILE_FLAG_NONE: CF_OPEN_FILE_FLAGS = 0i32; -pub const CF_OPEN_FILE_FLAG_WRITE_ACCESS: CF_OPEN_FILE_FLAGS = 2i32; -pub const CF_OPERATION_ACK_DATA_FLAG_NONE: CF_OPERATION_ACK_DATA_FLAGS = 0i32; -pub const CF_OPERATION_ACK_DEHYDRATE_FLAG_NONE: CF_OPERATION_ACK_DEHYDRATE_FLAGS = 0i32; -pub const CF_OPERATION_ACK_DELETE_FLAG_NONE: CF_OPERATION_ACK_DELETE_FLAGS = 0i32; -pub const CF_OPERATION_ACK_RENAME_FLAG_NONE: CF_OPERATION_ACK_RENAME_FLAGS = 0i32; -pub const CF_OPERATION_RESTART_HYDRATION_FLAG_MARK_IN_SYNC: CF_OPERATION_RESTART_HYDRATION_FLAGS = 1i32; -pub const CF_OPERATION_RESTART_HYDRATION_FLAG_NONE: CF_OPERATION_RESTART_HYDRATION_FLAGS = 0i32; -pub const CF_OPERATION_RETRIEVE_DATA_FLAG_NONE: CF_OPERATION_RETRIEVE_DATA_FLAGS = 0i32; -pub const CF_OPERATION_TRANSFER_DATA_FLAG_NONE: CF_OPERATION_TRANSFER_DATA_FLAGS = 0i32; -pub const CF_OPERATION_TRANSFER_PLACEHOLDERS_FLAG_DISABLE_ON_DEMAND_POPULATION: CF_OPERATION_TRANSFER_PLACEHOLDERS_FLAGS = 2i32; -pub const CF_OPERATION_TRANSFER_PLACEHOLDERS_FLAG_NONE: CF_OPERATION_TRANSFER_PLACEHOLDERS_FLAGS = 0i32; -pub const CF_OPERATION_TRANSFER_PLACEHOLDERS_FLAG_STOP_ON_ERROR: CF_OPERATION_TRANSFER_PLACEHOLDERS_FLAGS = 1i32; -pub const CF_OPERATION_TYPE_ACK_DATA: CF_OPERATION_TYPE = 2i32; -pub const CF_OPERATION_TYPE_ACK_DEHYDRATE: CF_OPERATION_TYPE = 5i32; -pub const CF_OPERATION_TYPE_ACK_DELETE: CF_OPERATION_TYPE = 6i32; -pub const CF_OPERATION_TYPE_ACK_RENAME: CF_OPERATION_TYPE = 7i32; -pub const CF_OPERATION_TYPE_RESTART_HYDRATION: CF_OPERATION_TYPE = 3i32; -pub const CF_OPERATION_TYPE_RETRIEVE_DATA: CF_OPERATION_TYPE = 1i32; -pub const CF_OPERATION_TYPE_TRANSFER_DATA: CF_OPERATION_TYPE = 0i32; -pub const CF_OPERATION_TYPE_TRANSFER_PLACEHOLDERS: CF_OPERATION_TYPE = 4i32; -pub const CF_PIN_STATE_EXCLUDED: CF_PIN_STATE = 3i32; -pub const CF_PIN_STATE_INHERIT: CF_PIN_STATE = 4i32; -pub const CF_PIN_STATE_PINNED: CF_PIN_STATE = 1i32; -pub const CF_PIN_STATE_UNPINNED: CF_PIN_STATE = 2i32; -pub const CF_PIN_STATE_UNSPECIFIED: CF_PIN_STATE = 0i32; -pub const CF_PLACEHOLDER_CREATE_FLAG_ALWAYS_FULL: CF_PLACEHOLDER_CREATE_FLAGS = 8i32; -pub const CF_PLACEHOLDER_CREATE_FLAG_DISABLE_ON_DEMAND_POPULATION: CF_PLACEHOLDER_CREATE_FLAGS = 1i32; -pub const CF_PLACEHOLDER_CREATE_FLAG_MARK_IN_SYNC: CF_PLACEHOLDER_CREATE_FLAGS = 2i32; -pub const CF_PLACEHOLDER_CREATE_FLAG_NONE: CF_PLACEHOLDER_CREATE_FLAGS = 0i32; -pub const CF_PLACEHOLDER_CREATE_FLAG_SUPERSEDE: CF_PLACEHOLDER_CREATE_FLAGS = 4i32; -pub const CF_PLACEHOLDER_INFO_BASIC: CF_PLACEHOLDER_INFO_CLASS = 0i32; -pub const CF_PLACEHOLDER_INFO_STANDARD: CF_PLACEHOLDER_INFO_CLASS = 1i32; -pub const CF_PLACEHOLDER_MANAGEMENT_POLICY_CONVERT_TO_UNRESTRICTED: CF_PLACEHOLDER_MANAGEMENT_POLICY = 2i32; -pub const CF_PLACEHOLDER_MANAGEMENT_POLICY_CREATE_UNRESTRICTED: CF_PLACEHOLDER_MANAGEMENT_POLICY = 1i32; -pub const CF_PLACEHOLDER_MANAGEMENT_POLICY_DEFAULT: CF_PLACEHOLDER_MANAGEMENT_POLICY = 0i32; -pub const CF_PLACEHOLDER_MANAGEMENT_POLICY_UPDATE_UNRESTRICTED: CF_PLACEHOLDER_MANAGEMENT_POLICY = 4i32; -pub const CF_PLACEHOLDER_MAX_FILE_IDENTITY_LENGTH: u32 = 4096u32; -pub const CF_PLACEHOLDER_RANGE_INFO_MODIFIED: CF_PLACEHOLDER_RANGE_INFO_CLASS = 3i32; -pub const CF_PLACEHOLDER_RANGE_INFO_ONDISK: CF_PLACEHOLDER_RANGE_INFO_CLASS = 1i32; -pub const CF_PLACEHOLDER_RANGE_INFO_VALIDATED: CF_PLACEHOLDER_RANGE_INFO_CLASS = 2i32; -pub const CF_PLACEHOLDER_STATE_ESSENTIAL_PROP_PRESENT: CF_PLACEHOLDER_STATE = 4u32; -pub const CF_PLACEHOLDER_STATE_INVALID: CF_PLACEHOLDER_STATE = 4294967295u32; -pub const CF_PLACEHOLDER_STATE_IN_SYNC: CF_PLACEHOLDER_STATE = 8u32; -pub const CF_PLACEHOLDER_STATE_NO_STATES: CF_PLACEHOLDER_STATE = 0u32; -pub const CF_PLACEHOLDER_STATE_PARTIAL: CF_PLACEHOLDER_STATE = 16u32; -pub const CF_PLACEHOLDER_STATE_PARTIALLY_ON_DISK: CF_PLACEHOLDER_STATE = 32u32; -pub const CF_PLACEHOLDER_STATE_PLACEHOLDER: CF_PLACEHOLDER_STATE = 1u32; -pub const CF_PLACEHOLDER_STATE_SYNC_ROOT: CF_PLACEHOLDER_STATE = 2u32; -pub const CF_POPULATION_POLICY_ALWAYS_FULL: CF_POPULATION_POLICY_PRIMARY = 3u16; -pub const CF_POPULATION_POLICY_FULL: CF_POPULATION_POLICY_PRIMARY = 2u16; -pub const CF_POPULATION_POLICY_MODIFIER_NONE: CF_POPULATION_POLICY_MODIFIER = 0u16; -pub const CF_POPULATION_POLICY_PARTIAL: CF_POPULATION_POLICY_PRIMARY = 0u16; -pub const CF_PROVIDER_STATUS_CLEAR_FLAGS: CF_SYNC_PROVIDER_STATUS = 2147483648u32; -pub const CF_PROVIDER_STATUS_CONNECTIVITY_LOST: CF_SYNC_PROVIDER_STATUS = 64u32; -pub const CF_PROVIDER_STATUS_DISCONNECTED: CF_SYNC_PROVIDER_STATUS = 0u32; -pub const CF_PROVIDER_STATUS_ERROR: CF_SYNC_PROVIDER_STATUS = 3221225474u32; -pub const CF_PROVIDER_STATUS_IDLE: CF_SYNC_PROVIDER_STATUS = 1u32; -pub const CF_PROVIDER_STATUS_POPULATE_CONTENT: CF_SYNC_PROVIDER_STATUS = 8u32; -pub const CF_PROVIDER_STATUS_POPULATE_METADATA: CF_SYNC_PROVIDER_STATUS = 4u32; -pub const CF_PROVIDER_STATUS_POPULATE_NAMESPACE: CF_SYNC_PROVIDER_STATUS = 2u32; -pub const CF_PROVIDER_STATUS_SYNC_FULL: CF_SYNC_PROVIDER_STATUS = 32u32; -pub const CF_PROVIDER_STATUS_SYNC_INCREMENTAL: CF_SYNC_PROVIDER_STATUS = 16u32; -pub const CF_PROVIDER_STATUS_TERMINATED: CF_SYNC_PROVIDER_STATUS = 3221225473u32; -pub const CF_REGISTER_FLAG_DISABLE_ON_DEMAND_POPULATION_ON_ROOT: CF_REGISTER_FLAGS = 2i32; -pub const CF_REGISTER_FLAG_MARK_IN_SYNC_ON_ROOT: CF_REGISTER_FLAGS = 4i32; -pub const CF_REGISTER_FLAG_NONE: CF_REGISTER_FLAGS = 0i32; -pub const CF_REGISTER_FLAG_UPDATE: CF_REGISTER_FLAGS = 1i32; -pub const CF_REQUEST_KEY_DEFAULT: u32 = 0u32; -pub const CF_REVERT_FLAG_NONE: CF_REVERT_FLAGS = 0i32; -pub const CF_SET_IN_SYNC_FLAG_NONE: CF_SET_IN_SYNC_FLAGS = 0i32; -pub const CF_SET_PIN_FLAG_NONE: CF_SET_PIN_FLAGS = 0i32; -pub const CF_SET_PIN_FLAG_RECURSE: CF_SET_PIN_FLAGS = 1i32; -pub const CF_SET_PIN_FLAG_RECURSE_ONLY: CF_SET_PIN_FLAGS = 2i32; -pub const CF_SET_PIN_FLAG_RECURSE_STOP_ON_ERROR: CF_SET_PIN_FLAGS = 4i32; -pub const CF_SYNC_ROOT_INFO_BASIC: CF_SYNC_ROOT_INFO_CLASS = 0i32; -pub const CF_SYNC_ROOT_INFO_PROVIDER: CF_SYNC_ROOT_INFO_CLASS = 2i32; -pub const CF_SYNC_ROOT_INFO_STANDARD: CF_SYNC_ROOT_INFO_CLASS = 1i32; -pub const CF_UPDATE_FLAG_ALLOW_PARTIAL: CF_UPDATE_FLAGS = 1024i32; -pub const CF_UPDATE_FLAG_ALWAYS_FULL: CF_UPDATE_FLAGS = 512i32; -pub const CF_UPDATE_FLAG_CLEAR_IN_SYNC: CF_UPDATE_FLAGS = 64i32; -pub const CF_UPDATE_FLAG_DEHYDRATE: CF_UPDATE_FLAGS = 4i32; -pub const CF_UPDATE_FLAG_DISABLE_ON_DEMAND_POPULATION: CF_UPDATE_FLAGS = 16i32; -pub const CF_UPDATE_FLAG_ENABLE_ON_DEMAND_POPULATION: CF_UPDATE_FLAGS = 8i32; -pub const CF_UPDATE_FLAG_MARK_IN_SYNC: CF_UPDATE_FLAGS = 2i32; -pub const CF_UPDATE_FLAG_NONE: CF_UPDATE_FLAGS = 0i32; -pub const CF_UPDATE_FLAG_PASSTHROUGH_FS_METADATA: CF_UPDATE_FLAGS = 256i32; -pub const CF_UPDATE_FLAG_REMOVE_FILE_IDENTITY: CF_UPDATE_FLAGS = 32i32; -pub const CF_UPDATE_FLAG_REMOVE_PROPERTY: CF_UPDATE_FLAGS = 128i32; -pub const CF_UPDATE_FLAG_VERIFY_IN_SYNC: CF_UPDATE_FLAGS = 1i32; -pub type CF_CALLBACK_CANCEL_FLAGS = i32; -pub type CF_CALLBACK_CLOSE_COMPLETION_FLAGS = i32; -pub type CF_CALLBACK_DEHYDRATE_COMPLETION_FLAGS = i32; -pub type CF_CALLBACK_DEHYDRATE_FLAGS = i32; -pub type CF_CALLBACK_DEHYDRATION_REASON = i32; -pub type CF_CALLBACK_DELETE_COMPLETION_FLAGS = i32; -pub type CF_CALLBACK_DELETE_FLAGS = i32; -pub type CF_CALLBACK_FETCH_DATA_FLAGS = i32; -pub type CF_CALLBACK_FETCH_PLACEHOLDERS_FLAGS = i32; -pub type CF_CALLBACK_OPEN_COMPLETION_FLAGS = i32; -pub type CF_CALLBACK_RENAME_COMPLETION_FLAGS = i32; -pub type CF_CALLBACK_RENAME_FLAGS = i32; -pub type CF_CALLBACK_TYPE = i32; -pub type CF_CALLBACK_VALIDATE_DATA_FLAGS = i32; -pub type CF_CONNECT_FLAGS = i32; -pub type CF_CONVERT_FLAGS = i32; -pub type CF_CREATE_FLAGS = i32; -pub type CF_DEHYDRATE_FLAGS = i32; -pub type CF_HARDLINK_POLICY = i32; -pub type CF_HYDRATE_FLAGS = i32; -pub type CF_HYDRATION_POLICY_MODIFIER = u16; -pub type CF_HYDRATION_POLICY_PRIMARY = u16; -pub type CF_INSYNC_POLICY = u32; -pub type CF_IN_SYNC_STATE = i32; -pub type CF_OPEN_FILE_FLAGS = i32; -pub type CF_OPERATION_ACK_DATA_FLAGS = i32; -pub type CF_OPERATION_ACK_DEHYDRATE_FLAGS = i32; -pub type CF_OPERATION_ACK_DELETE_FLAGS = i32; -pub type CF_OPERATION_ACK_RENAME_FLAGS = i32; -pub type CF_OPERATION_RESTART_HYDRATION_FLAGS = i32; -pub type CF_OPERATION_RETRIEVE_DATA_FLAGS = i32; -pub type CF_OPERATION_TRANSFER_DATA_FLAGS = i32; -pub type CF_OPERATION_TRANSFER_PLACEHOLDERS_FLAGS = i32; -pub type CF_OPERATION_TYPE = i32; -pub type CF_PIN_STATE = i32; -pub type CF_PLACEHOLDER_CREATE_FLAGS = i32; -pub type CF_PLACEHOLDER_INFO_CLASS = i32; -pub type CF_PLACEHOLDER_MANAGEMENT_POLICY = i32; -pub type CF_PLACEHOLDER_RANGE_INFO_CLASS = i32; -pub type CF_PLACEHOLDER_STATE = u32; -pub type CF_POPULATION_POLICY_MODIFIER = u16; -pub type CF_POPULATION_POLICY_PRIMARY = u16; -pub type CF_REGISTER_FLAGS = i32; -pub type CF_REVERT_FLAGS = i32; -pub type CF_SET_IN_SYNC_FLAGS = i32; -pub type CF_SET_PIN_FLAGS = i32; -pub type CF_SYNC_PROVIDER_STATUS = u32; -pub type CF_SYNC_ROOT_INFO_CLASS = i32; -pub type CF_UPDATE_FLAGS = i32; -#[repr(C)] -#[doc = "Required features: `\"Win32_System_CorrelationVector\"`"] -#[cfg(feature = "Win32_System_CorrelationVector")] -pub struct CF_CALLBACK_INFO { - pub StructSize: u32, - pub ConnectionKey: CF_CONNECTION_KEY, - pub CallbackContext: *mut ::core::ffi::c_void, - pub VolumeGuidName: ::windows_sys::core::PCWSTR, - pub VolumeDosName: ::windows_sys::core::PCWSTR, - pub VolumeSerialNumber: u32, - pub SyncRootFileId: i64, - pub SyncRootIdentity: *const ::core::ffi::c_void, - pub SyncRootIdentityLength: u32, - pub FileId: i64, - pub FileSize: i64, - pub FileIdentity: *const ::core::ffi::c_void, - pub FileIdentityLength: u32, - pub NormalizedPath: ::windows_sys::core::PCWSTR, - pub TransferKey: i64, - pub PriorityHint: u8, - pub CorrelationVector: *mut super::super::System::CorrelationVector::CORRELATION_VECTOR, - pub ProcessInfo: *mut CF_PROCESS_INFO, - pub RequestKey: i64, -} -#[cfg(feature = "Win32_System_CorrelationVector")] -impl ::core::marker::Copy for CF_CALLBACK_INFO {} -#[cfg(feature = "Win32_System_CorrelationVector")] -impl ::core::clone::Clone for CF_CALLBACK_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_CALLBACK_PARAMETERS { - pub ParamSize: u32, - pub Anonymous: CF_CALLBACK_PARAMETERS_0, -} -impl ::core::marker::Copy for CF_CALLBACK_PARAMETERS {} -impl ::core::clone::Clone for CF_CALLBACK_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union CF_CALLBACK_PARAMETERS_0 { - pub Cancel: CF_CALLBACK_PARAMETERS_0_0, - pub FetchData: CF_CALLBACK_PARAMETERS_0_6, - pub ValidateData: CF_CALLBACK_PARAMETERS_0_11, - pub FetchPlaceholders: CF_CALLBACK_PARAMETERS_0_7, - pub OpenCompletion: CF_CALLBACK_PARAMETERS_0_8, - pub CloseCompletion: CF_CALLBACK_PARAMETERS_0_1, - pub Dehydrate: CF_CALLBACK_PARAMETERS_0_3, - pub DehydrateCompletion: CF_CALLBACK_PARAMETERS_0_2, - pub Delete: CF_CALLBACK_PARAMETERS_0_5, - pub DeleteCompletion: CF_CALLBACK_PARAMETERS_0_4, - pub Rename: CF_CALLBACK_PARAMETERS_0_10, - pub RenameCompletion: CF_CALLBACK_PARAMETERS_0_9, -} -impl ::core::marker::Copy for CF_CALLBACK_PARAMETERS_0 {} -impl ::core::clone::Clone for CF_CALLBACK_PARAMETERS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_CALLBACK_PARAMETERS_0_0 { - pub Flags: CF_CALLBACK_CANCEL_FLAGS, - pub Anonymous: CF_CALLBACK_PARAMETERS_0_0_0, -} -impl ::core::marker::Copy for CF_CALLBACK_PARAMETERS_0_0 {} -impl ::core::clone::Clone for CF_CALLBACK_PARAMETERS_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union CF_CALLBACK_PARAMETERS_0_0_0 { - pub FetchData: CF_CALLBACK_PARAMETERS_0_0_0_0, -} -impl ::core::marker::Copy for CF_CALLBACK_PARAMETERS_0_0_0 {} -impl ::core::clone::Clone for CF_CALLBACK_PARAMETERS_0_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_CALLBACK_PARAMETERS_0_0_0_0 { - pub FileOffset: i64, - pub Length: i64, -} -impl ::core::marker::Copy for CF_CALLBACK_PARAMETERS_0_0_0_0 {} -impl ::core::clone::Clone for CF_CALLBACK_PARAMETERS_0_0_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_CALLBACK_PARAMETERS_0_1 { - pub Flags: CF_CALLBACK_CLOSE_COMPLETION_FLAGS, -} -impl ::core::marker::Copy for CF_CALLBACK_PARAMETERS_0_1 {} -impl ::core::clone::Clone for CF_CALLBACK_PARAMETERS_0_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_CALLBACK_PARAMETERS_0_2 { - pub Flags: CF_CALLBACK_DEHYDRATE_COMPLETION_FLAGS, - pub Reason: CF_CALLBACK_DEHYDRATION_REASON, -} -impl ::core::marker::Copy for CF_CALLBACK_PARAMETERS_0_2 {} -impl ::core::clone::Clone for CF_CALLBACK_PARAMETERS_0_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_CALLBACK_PARAMETERS_0_3 { - pub Flags: CF_CALLBACK_DEHYDRATE_FLAGS, - pub Reason: CF_CALLBACK_DEHYDRATION_REASON, -} -impl ::core::marker::Copy for CF_CALLBACK_PARAMETERS_0_3 {} -impl ::core::clone::Clone for CF_CALLBACK_PARAMETERS_0_3 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_CALLBACK_PARAMETERS_0_4 { - pub Flags: CF_CALLBACK_DELETE_COMPLETION_FLAGS, -} -impl ::core::marker::Copy for CF_CALLBACK_PARAMETERS_0_4 {} -impl ::core::clone::Clone for CF_CALLBACK_PARAMETERS_0_4 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_CALLBACK_PARAMETERS_0_5 { - pub Flags: CF_CALLBACK_DELETE_FLAGS, -} -impl ::core::marker::Copy for CF_CALLBACK_PARAMETERS_0_5 {} -impl ::core::clone::Clone for CF_CALLBACK_PARAMETERS_0_5 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_CALLBACK_PARAMETERS_0_6 { - pub Flags: CF_CALLBACK_FETCH_DATA_FLAGS, - pub RequiredFileOffset: i64, - pub RequiredLength: i64, - pub OptionalFileOffset: i64, - pub OptionalLength: i64, - pub LastDehydrationTime: i64, - pub LastDehydrationReason: CF_CALLBACK_DEHYDRATION_REASON, -} -impl ::core::marker::Copy for CF_CALLBACK_PARAMETERS_0_6 {} -impl ::core::clone::Clone for CF_CALLBACK_PARAMETERS_0_6 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_CALLBACK_PARAMETERS_0_7 { - pub Flags: CF_CALLBACK_FETCH_PLACEHOLDERS_FLAGS, - pub Pattern: ::windows_sys::core::PCWSTR, -} -impl ::core::marker::Copy for CF_CALLBACK_PARAMETERS_0_7 {} -impl ::core::clone::Clone for CF_CALLBACK_PARAMETERS_0_7 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_CALLBACK_PARAMETERS_0_8 { - pub Flags: CF_CALLBACK_OPEN_COMPLETION_FLAGS, -} -impl ::core::marker::Copy for CF_CALLBACK_PARAMETERS_0_8 {} -impl ::core::clone::Clone for CF_CALLBACK_PARAMETERS_0_8 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_CALLBACK_PARAMETERS_0_9 { - pub Flags: CF_CALLBACK_RENAME_COMPLETION_FLAGS, - pub SourcePath: ::windows_sys::core::PCWSTR, -} -impl ::core::marker::Copy for CF_CALLBACK_PARAMETERS_0_9 {} -impl ::core::clone::Clone for CF_CALLBACK_PARAMETERS_0_9 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_CALLBACK_PARAMETERS_0_10 { - pub Flags: CF_CALLBACK_RENAME_FLAGS, - pub TargetPath: ::windows_sys::core::PCWSTR, -} -impl ::core::marker::Copy for CF_CALLBACK_PARAMETERS_0_10 {} -impl ::core::clone::Clone for CF_CALLBACK_PARAMETERS_0_10 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_CALLBACK_PARAMETERS_0_11 { - pub Flags: CF_CALLBACK_VALIDATE_DATA_FLAGS, - pub RequiredFileOffset: i64, - pub RequiredLength: i64, -} -impl ::core::marker::Copy for CF_CALLBACK_PARAMETERS_0_11 {} -impl ::core::clone::Clone for CF_CALLBACK_PARAMETERS_0_11 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_System_CorrelationVector\"`"] -#[cfg(feature = "Win32_System_CorrelationVector")] -pub struct CF_CALLBACK_REGISTRATION { - pub Type: CF_CALLBACK_TYPE, - pub Callback: CF_CALLBACK, -} -#[cfg(feature = "Win32_System_CorrelationVector")] -impl ::core::marker::Copy for CF_CALLBACK_REGISTRATION {} -#[cfg(feature = "Win32_System_CorrelationVector")] -impl ::core::clone::Clone for CF_CALLBACK_REGISTRATION { - fn clone(&self) -> Self { - *self - } -} -pub type CF_CONNECTION_KEY = i64; -#[repr(C)] -pub struct CF_FILE_RANGE { - pub StartingOffset: i64, - pub Length: i64, -} -impl ::core::marker::Copy for CF_FILE_RANGE {} -impl ::core::clone::Clone for CF_FILE_RANGE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_FileSystem\"`"] -#[cfg(feature = "Win32_Storage_FileSystem")] -pub struct CF_FS_METADATA { - pub BasicInfo: super::FileSystem::FILE_BASIC_INFO, - pub FileSize: i64, -} -#[cfg(feature = "Win32_Storage_FileSystem")] -impl ::core::marker::Copy for CF_FS_METADATA {} -#[cfg(feature = "Win32_Storage_FileSystem")] -impl ::core::clone::Clone for CF_FS_METADATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_HYDRATION_POLICY { - pub Primary: CF_HYDRATION_POLICY_PRIMARY, - pub Modifier: CF_HYDRATION_POLICY_MODIFIER, -} -impl ::core::marker::Copy for CF_HYDRATION_POLICY {} -impl ::core::clone::Clone for CF_HYDRATION_POLICY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_System_CorrelationVector\"`"] -#[cfg(feature = "Win32_System_CorrelationVector")] -pub struct CF_OPERATION_INFO { - pub StructSize: u32, - pub Type: CF_OPERATION_TYPE, - pub ConnectionKey: CF_CONNECTION_KEY, - pub TransferKey: i64, - pub CorrelationVector: *const super::super::System::CorrelationVector::CORRELATION_VECTOR, - pub SyncStatus: *const CF_SYNC_STATUS, - pub RequestKey: i64, -} -#[cfg(feature = "Win32_System_CorrelationVector")] -impl ::core::marker::Copy for CF_OPERATION_INFO {} -#[cfg(feature = "Win32_System_CorrelationVector")] -impl ::core::clone::Clone for CF_OPERATION_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -pub struct CF_OPERATION_PARAMETERS { - pub ParamSize: u32, - pub Anonymous: CF_OPERATION_PARAMETERS_0, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -impl ::core::marker::Copy for CF_OPERATION_PARAMETERS {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -impl ::core::clone::Clone for CF_OPERATION_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -pub union CF_OPERATION_PARAMETERS_0 { - pub TransferData: CF_OPERATION_PARAMETERS_0_6, - pub RetrieveData: CF_OPERATION_PARAMETERS_0_5, - pub AckData: CF_OPERATION_PARAMETERS_0_0, - pub RestartHydration: CF_OPERATION_PARAMETERS_0_4, - pub TransferPlaceholders: CF_OPERATION_PARAMETERS_0_7, - pub AckDehydrate: CF_OPERATION_PARAMETERS_0_1, - pub AckRename: CF_OPERATION_PARAMETERS_0_3, - pub AckDelete: CF_OPERATION_PARAMETERS_0_2, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -impl ::core::marker::Copy for CF_OPERATION_PARAMETERS_0 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -impl ::core::clone::Clone for CF_OPERATION_PARAMETERS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -pub struct CF_OPERATION_PARAMETERS_0_0 { - pub Flags: CF_OPERATION_ACK_DATA_FLAGS, - pub CompletionStatus: super::super::Foundation::NTSTATUS, - pub Offset: i64, - pub Length: i64, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -impl ::core::marker::Copy for CF_OPERATION_PARAMETERS_0_0 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -impl ::core::clone::Clone for CF_OPERATION_PARAMETERS_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -pub struct CF_OPERATION_PARAMETERS_0_1 { - pub Flags: CF_OPERATION_ACK_DEHYDRATE_FLAGS, - pub CompletionStatus: super::super::Foundation::NTSTATUS, - pub FileIdentity: *const ::core::ffi::c_void, - pub FileIdentityLength: u32, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -impl ::core::marker::Copy for CF_OPERATION_PARAMETERS_0_1 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -impl ::core::clone::Clone for CF_OPERATION_PARAMETERS_0_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -pub struct CF_OPERATION_PARAMETERS_0_2 { - pub Flags: CF_OPERATION_ACK_DELETE_FLAGS, - pub CompletionStatus: super::super::Foundation::NTSTATUS, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -impl ::core::marker::Copy for CF_OPERATION_PARAMETERS_0_2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -impl ::core::clone::Clone for CF_OPERATION_PARAMETERS_0_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -pub struct CF_OPERATION_PARAMETERS_0_3 { - pub Flags: CF_OPERATION_ACK_RENAME_FLAGS, - pub CompletionStatus: super::super::Foundation::NTSTATUS, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -impl ::core::marker::Copy for CF_OPERATION_PARAMETERS_0_3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -impl ::core::clone::Clone for CF_OPERATION_PARAMETERS_0_3 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -pub struct CF_OPERATION_PARAMETERS_0_4 { - pub Flags: CF_OPERATION_RESTART_HYDRATION_FLAGS, - pub FsMetadata: *const CF_FS_METADATA, - pub FileIdentity: *const ::core::ffi::c_void, - pub FileIdentityLength: u32, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -impl ::core::marker::Copy for CF_OPERATION_PARAMETERS_0_4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -impl ::core::clone::Clone for CF_OPERATION_PARAMETERS_0_4 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -pub struct CF_OPERATION_PARAMETERS_0_5 { - pub Flags: CF_OPERATION_RETRIEVE_DATA_FLAGS, - pub Buffer: *mut ::core::ffi::c_void, - pub Offset: i64, - pub Length: i64, - pub ReturnedLength: i64, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -impl ::core::marker::Copy for CF_OPERATION_PARAMETERS_0_5 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -impl ::core::clone::Clone for CF_OPERATION_PARAMETERS_0_5 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -pub struct CF_OPERATION_PARAMETERS_0_6 { - pub Flags: CF_OPERATION_TRANSFER_DATA_FLAGS, - pub CompletionStatus: super::super::Foundation::NTSTATUS, - pub Buffer: *const ::core::ffi::c_void, - pub Offset: i64, - pub Length: i64, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -impl ::core::marker::Copy for CF_OPERATION_PARAMETERS_0_6 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -impl ::core::clone::Clone for CF_OPERATION_PARAMETERS_0_6 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -pub struct CF_OPERATION_PARAMETERS_0_7 { - pub Flags: CF_OPERATION_TRANSFER_PLACEHOLDERS_FLAGS, - pub CompletionStatus: super::super::Foundation::NTSTATUS, - pub PlaceholderTotalCount: i64, - pub PlaceholderArray: *mut CF_PLACEHOLDER_CREATE_INFO, - pub PlaceholderCount: u32, - pub EntriesProcessed: u32, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -impl ::core::marker::Copy for CF_OPERATION_PARAMETERS_0_7 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] -impl ::core::clone::Clone for CF_OPERATION_PARAMETERS_0_7 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_PLACEHOLDER_BASIC_INFO { - pub PinState: CF_PIN_STATE, - pub InSyncState: CF_IN_SYNC_STATE, - pub FileId: i64, - pub SyncRootFileId: i64, - pub FileIdentityLength: u32, - pub FileIdentity: [u8; 1], -} -impl ::core::marker::Copy for CF_PLACEHOLDER_BASIC_INFO {} -impl ::core::clone::Clone for CF_PLACEHOLDER_BASIC_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_FileSystem\"`"] -#[cfg(feature = "Win32_Storage_FileSystem")] -pub struct CF_PLACEHOLDER_CREATE_INFO { - pub RelativeFileName: ::windows_sys::core::PCWSTR, - pub FsMetadata: CF_FS_METADATA, - pub FileIdentity: *const ::core::ffi::c_void, - pub FileIdentityLength: u32, - pub Flags: CF_PLACEHOLDER_CREATE_FLAGS, - pub Result: ::windows_sys::core::HRESULT, - pub CreateUsn: i64, -} -#[cfg(feature = "Win32_Storage_FileSystem")] -impl ::core::marker::Copy for CF_PLACEHOLDER_CREATE_INFO {} -#[cfg(feature = "Win32_Storage_FileSystem")] -impl ::core::clone::Clone for CF_PLACEHOLDER_CREATE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_PLACEHOLDER_STANDARD_INFO { - pub OnDiskDataSize: i64, - pub ValidatedDataSize: i64, - pub ModifiedDataSize: i64, - pub PropertiesSize: i64, - pub PinState: CF_PIN_STATE, - pub InSyncState: CF_IN_SYNC_STATE, - pub FileId: i64, - pub SyncRootFileId: i64, - pub FileIdentityLength: u32, - pub FileIdentity: [u8; 1], -} -impl ::core::marker::Copy for CF_PLACEHOLDER_STANDARD_INFO {} -impl ::core::clone::Clone for CF_PLACEHOLDER_STANDARD_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_PLATFORM_INFO { - pub BuildNumber: u32, - pub RevisionNumber: u32, - pub IntegrationNumber: u32, -} -impl ::core::marker::Copy for CF_PLATFORM_INFO {} -impl ::core::clone::Clone for CF_PLATFORM_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_POPULATION_POLICY { - pub Primary: CF_POPULATION_POLICY_PRIMARY, - pub Modifier: CF_POPULATION_POLICY_MODIFIER, -} -impl ::core::marker::Copy for CF_POPULATION_POLICY {} -impl ::core::clone::Clone for CF_POPULATION_POLICY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_PROCESS_INFO { - pub StructSize: u32, - pub ProcessId: u32, - pub ImagePath: ::windows_sys::core::PCWSTR, - pub PackageName: ::windows_sys::core::PCWSTR, - pub ApplicationId: ::windows_sys::core::PCWSTR, - pub CommandLine: ::windows_sys::core::PCWSTR, - pub SessionId: u32, -} -impl ::core::marker::Copy for CF_PROCESS_INFO {} -impl ::core::clone::Clone for CF_PROCESS_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_SYNC_POLICIES { - pub StructSize: u32, - pub Hydration: CF_HYDRATION_POLICY, - pub Population: CF_POPULATION_POLICY, - pub InSync: CF_INSYNC_POLICY, - pub HardLink: CF_HARDLINK_POLICY, - pub PlaceholderManagement: CF_PLACEHOLDER_MANAGEMENT_POLICY, -} -impl ::core::marker::Copy for CF_SYNC_POLICIES {} -impl ::core::clone::Clone for CF_SYNC_POLICIES { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_SYNC_REGISTRATION { - pub StructSize: u32, - pub ProviderName: ::windows_sys::core::PCWSTR, - pub ProviderVersion: ::windows_sys::core::PCWSTR, - pub SyncRootIdentity: *const ::core::ffi::c_void, - pub SyncRootIdentityLength: u32, - pub FileIdentity: *const ::core::ffi::c_void, - pub FileIdentityLength: u32, - pub ProviderId: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for CF_SYNC_REGISTRATION {} -impl ::core::clone::Clone for CF_SYNC_REGISTRATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_SYNC_ROOT_BASIC_INFO { - pub SyncRootFileId: i64, -} -impl ::core::marker::Copy for CF_SYNC_ROOT_BASIC_INFO {} -impl ::core::clone::Clone for CF_SYNC_ROOT_BASIC_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_SYNC_ROOT_PROVIDER_INFO { - pub ProviderStatus: CF_SYNC_PROVIDER_STATUS, - pub ProviderName: [u16; 256], - pub ProviderVersion: [u16; 256], -} -impl ::core::marker::Copy for CF_SYNC_ROOT_PROVIDER_INFO {} -impl ::core::clone::Clone for CF_SYNC_ROOT_PROVIDER_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_SYNC_ROOT_STANDARD_INFO { - pub SyncRootFileId: i64, - pub HydrationPolicy: CF_HYDRATION_POLICY, - pub PopulationPolicy: CF_POPULATION_POLICY, - pub InSyncPolicy: CF_INSYNC_POLICY, - pub HardLinkPolicy: CF_HARDLINK_POLICY, - pub ProviderStatus: CF_SYNC_PROVIDER_STATUS, - pub ProviderName: [u16; 256], - pub ProviderVersion: [u16; 256], - pub SyncRootIdentityLength: u32, - pub SyncRootIdentity: [u8; 1], -} -impl ::core::marker::Copy for CF_SYNC_ROOT_STANDARD_INFO {} -impl ::core::clone::Clone for CF_SYNC_ROOT_STANDARD_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CF_SYNC_STATUS { - pub StructSize: u32, - pub Code: u32, - pub DescriptionOffset: u32, - pub DescriptionLength: u32, - pub DeviceIdOffset: u32, - pub DeviceIdLength: u32, -} -impl ::core::marker::Copy for CF_SYNC_STATUS {} -impl ::core::clone::Clone for CF_SYNC_STATUS { - fn clone(&self) -> Self { - *self - } -} -#[doc = "Required features: `\"Win32_System_CorrelationVector\"`"] -#[cfg(feature = "Win32_System_CorrelationVector")] -pub type CF_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callbackinfo: *const CF_CALLBACK_INFO, callbackparameters: *const CF_CALLBACK_PARAMETERS) -> ()>; diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/Compression/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/Compression/mod.rs deleted file mode 100644 index 14298cb..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Storage/Compression/mod.rs +++ /dev/null @@ -1,52 +0,0 @@ -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cabinet.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CloseCompressor(compressorhandle : COMPRESSOR_HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cabinet.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CloseDecompressor(decompressorhandle : isize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cabinet.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn Compress(compressorhandle : COMPRESSOR_HANDLE, uncompresseddata : *const ::core::ffi::c_void, uncompresseddatasize : usize, compressedbuffer : *mut ::core::ffi::c_void, compressedbuffersize : usize, compresseddatasize : *mut usize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cabinet.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CreateCompressor(algorithm : COMPRESS_ALGORITHM, allocationroutines : *const COMPRESS_ALLOCATION_ROUTINES, compressorhandle : *mut COMPRESSOR_HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cabinet.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CreateDecompressor(algorithm : COMPRESS_ALGORITHM, allocationroutines : *const COMPRESS_ALLOCATION_ROUTINES, decompressorhandle : *mut isize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cabinet.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn Decompress(decompressorhandle : isize, compresseddata : *const ::core::ffi::c_void, compresseddatasize : usize, uncompressedbuffer : *mut ::core::ffi::c_void, uncompressedbuffersize : usize, uncompresseddatasize : *mut usize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cabinet.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn QueryCompressorInformation(compressorhandle : COMPRESSOR_HANDLE, compressinformationclass : COMPRESS_INFORMATION_CLASS, compressinformation : *mut ::core::ffi::c_void, compressinformationsize : usize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cabinet.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn QueryDecompressorInformation(decompressorhandle : isize, compressinformationclass : COMPRESS_INFORMATION_CLASS, compressinformation : *mut ::core::ffi::c_void, compressinformationsize : usize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cabinet.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ResetCompressor(compressorhandle : COMPRESSOR_HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cabinet.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ResetDecompressor(decompressorhandle : isize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cabinet.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetCompressorInformation(compressorhandle : COMPRESSOR_HANDLE, compressinformationclass : COMPRESS_INFORMATION_CLASS, compressinformation : *const ::core::ffi::c_void, compressinformationsize : usize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cabinet.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetDecompressorInformation(decompressorhandle : isize, compressinformationclass : COMPRESS_INFORMATION_CLASS, compressinformation : *const ::core::ffi::c_void, compressinformationsize : usize) -> super::super::Foundation:: BOOL); -pub const COMPRESS_ALGORITHM_INVALID: u32 = 0u32; -pub const COMPRESS_ALGORITHM_LZMS: COMPRESS_ALGORITHM = 5u32; -pub const COMPRESS_ALGORITHM_MAX: u32 = 6u32; -pub const COMPRESS_ALGORITHM_MSZIP: COMPRESS_ALGORITHM = 2u32; -pub const COMPRESS_ALGORITHM_NULL: u32 = 1u32; -pub const COMPRESS_ALGORITHM_XPRESS: COMPRESS_ALGORITHM = 3u32; -pub const COMPRESS_ALGORITHM_XPRESS_HUFF: COMPRESS_ALGORITHM = 4u32; -pub const COMPRESS_INFORMATION_CLASS_BLOCK_SIZE: COMPRESS_INFORMATION_CLASS = 1i32; -pub const COMPRESS_INFORMATION_CLASS_INVALID: COMPRESS_INFORMATION_CLASS = 0i32; -pub const COMPRESS_INFORMATION_CLASS_LEVEL: COMPRESS_INFORMATION_CLASS = 2i32; -pub const COMPRESS_RAW: u32 = 536870912u32; -pub type COMPRESS_ALGORITHM = u32; -pub type COMPRESS_INFORMATION_CLASS = i32; -pub type COMPRESSOR_HANDLE = isize; -#[repr(C)] -pub struct COMPRESS_ALLOCATION_ROUTINES { - pub Allocate: PFN_COMPRESS_ALLOCATE, - pub Free: PFN_COMPRESS_FREE, - pub UserContext: *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for COMPRESS_ALLOCATION_ROUTINES {} -impl ::core::clone::Clone for COMPRESS_ALLOCATION_ROUTINES { - fn clone(&self) -> Self { - *self - } -} -pub type PFN_COMPRESS_ALLOCATE = ::core::option::Option<unsafe extern "system" fn(usercontext: *const ::core::ffi::c_void, size: usize) -> *mut ::core::ffi::c_void>; -pub type PFN_COMPRESS_FREE = ::core::option::Option<unsafe extern "system" fn(usercontext: *const ::core::ffi::c_void, memory: *const ::core::ffi::c_void) -> ()>; diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs deleted file mode 100644 index 4be6ad2..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs +++ /dev/null @@ -1,529 +0,0 @@ -::windows_targets::link!("netapi32.dll" "system" fn NetDfsAdd(dfsentrypath : ::windows_sys::core::PCWSTR, servername : ::windows_sys::core::PCWSTR, sharename : ::windows_sys::core::PCWSTR, comment : ::windows_sys::core::PCWSTR, flags : u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetDfsAddFtRoot(servername : ::windows_sys::core::PCWSTR, rootshare : ::windows_sys::core::PCWSTR, ftdfsname : ::windows_sys::core::PCWSTR, comment : ::windows_sys::core::PCWSTR, flags : u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetDfsAddRootTarget(pdfspath : ::windows_sys::core::PCWSTR, ptargetpath : ::windows_sys::core::PCWSTR, majorversion : u32, pcomment : ::windows_sys::core::PCWSTR, flags : u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetDfsAddStdRoot(servername : ::windows_sys::core::PCWSTR, rootshare : ::windows_sys::core::PCWSTR, comment : ::windows_sys::core::PCWSTR, flags : u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetDfsEnum(dfsname : ::windows_sys::core::PCWSTR, level : u32, prefmaxlen : u32, buffer : *mut *mut u8, entriesread : *mut u32, resumehandle : *mut u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetDfsGetClientInfo(dfsentrypath : ::windows_sys::core::PCWSTR, servername : ::windows_sys::core::PCWSTR, sharename : ::windows_sys::core::PCWSTR, level : u32, buffer : *mut *mut u8) -> u32); -#[cfg(feature = "Win32_Security")] -::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn NetDfsGetFtContainerSecurity(domainname : ::windows_sys::core::PCWSTR, securityinformation : u32, ppsecuritydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR, lpcbsecuritydescriptor : *mut u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetDfsGetInfo(dfsentrypath : ::windows_sys::core::PCWSTR, servername : ::windows_sys::core::PCWSTR, sharename : ::windows_sys::core::PCWSTR, level : u32, buffer : *mut *mut u8) -> u32); -#[cfg(feature = "Win32_Security")] -::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn NetDfsGetSecurity(dfsentrypath : ::windows_sys::core::PCWSTR, securityinformation : u32, ppsecuritydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR, lpcbsecuritydescriptor : *mut u32) -> u32); -#[cfg(feature = "Win32_Security")] -::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn NetDfsGetStdContainerSecurity(machinename : ::windows_sys::core::PCWSTR, securityinformation : u32, ppsecuritydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR, lpcbsecuritydescriptor : *mut u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetDfsGetSupportedNamespaceVersion(origin : DFS_NAMESPACE_VERSION_ORIGIN, pname : ::windows_sys::core::PCWSTR, ppversioninfo : *mut *mut DFS_SUPPORTED_NAMESPACE_VERSION_INFO) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetDfsMove(olddfsentrypath : ::windows_sys::core::PCWSTR, newdfsentrypath : ::windows_sys::core::PCWSTR, flags : u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetDfsRemove(dfsentrypath : ::windows_sys::core::PCWSTR, servername : ::windows_sys::core::PCWSTR, sharename : ::windows_sys::core::PCWSTR) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetDfsRemoveFtRoot(servername : ::windows_sys::core::PCWSTR, rootshare : ::windows_sys::core::PCWSTR, ftdfsname : ::windows_sys::core::PCWSTR, flags : u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetDfsRemoveFtRootForced(domainname : ::windows_sys::core::PCWSTR, servername : ::windows_sys::core::PCWSTR, rootshare : ::windows_sys::core::PCWSTR, ftdfsname : ::windows_sys::core::PCWSTR, flags : u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetDfsRemoveRootTarget(pdfspath : ::windows_sys::core::PCWSTR, ptargetpath : ::windows_sys::core::PCWSTR, flags : u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetDfsRemoveStdRoot(servername : ::windows_sys::core::PCWSTR, rootshare : ::windows_sys::core::PCWSTR, flags : u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetDfsSetClientInfo(dfsentrypath : ::windows_sys::core::PCWSTR, servername : ::windows_sys::core::PCWSTR, sharename : ::windows_sys::core::PCWSTR, level : u32, buffer : *const u8) -> u32); -#[cfg(feature = "Win32_Security")] -::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn NetDfsSetFtContainerSecurity(domainname : ::windows_sys::core::PCWSTR, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetDfsSetInfo(dfsentrypath : ::windows_sys::core::PCWSTR, servername : ::windows_sys::core::PCWSTR, sharename : ::windows_sys::core::PCWSTR, level : u32, buffer : *const u8) -> u32); -#[cfg(feature = "Win32_Security")] -::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn NetDfsSetSecurity(dfsentrypath : ::windows_sys::core::PCWSTR, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); -#[cfg(feature = "Win32_Security")] -::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn NetDfsSetStdContainerSecurity(machinename : ::windows_sys::core::PCWSTR, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); -pub const DFS_ADD_VOLUME: u32 = 1u32; -pub const DFS_FORCE_REMOVE: u32 = 2147483648u32; -pub const DFS_MOVE_FLAG_REPLACE_IF_EXISTS: u32 = 1u32; -pub const DFS_NAMESPACE_VERSION_ORIGIN_COMBINED: DFS_NAMESPACE_VERSION_ORIGIN = 0i32; -pub const DFS_NAMESPACE_VERSION_ORIGIN_DOMAIN: DFS_NAMESPACE_VERSION_ORIGIN = 2i32; -pub const DFS_NAMESPACE_VERSION_ORIGIN_SERVER: DFS_NAMESPACE_VERSION_ORIGIN = 1i32; -pub const DFS_PROPERTY_FLAG_ABDE: u32 = 32u32; -pub const DFS_PROPERTY_FLAG_CLUSTER_ENABLED: u32 = 16u32; -pub const DFS_PROPERTY_FLAG_INSITE_REFERRALS: u32 = 1u32; -pub const DFS_PROPERTY_FLAG_ROOT_SCALABILITY: u32 = 2u32; -pub const DFS_PROPERTY_FLAG_SITE_COSTING: u32 = 4u32; -pub const DFS_PROPERTY_FLAG_TARGET_FAILBACK: u32 = 8u32; -pub const DFS_RESTORE_VOLUME: u32 = 2u32; -pub const DFS_SITE_PRIMARY: u32 = 1u32; -pub const DFS_STORAGE_FLAVOR_UNUSED2: u32 = 768u32; -pub const DFS_STORAGE_STATES: u32 = 15u32; -pub const DFS_STORAGE_STATE_ACTIVE: u32 = 4u32; -pub const DFS_STORAGE_STATE_OFFLINE: u32 = 1u32; -pub const DFS_STORAGE_STATE_ONLINE: u32 = 2u32; -pub const DFS_VOLUME_FLAVORS: u32 = 768u32; -pub const DFS_VOLUME_FLAVOR_AD_BLOB: u32 = 512u32; -pub const DFS_VOLUME_FLAVOR_STANDALONE: u32 = 256u32; -pub const DFS_VOLUME_FLAVOR_UNUSED1: u32 = 0u32; -pub const DFS_VOLUME_STATES: u32 = 15u32; -pub const DFS_VOLUME_STATE_FORCE_SYNC: u32 = 64u32; -pub const DFS_VOLUME_STATE_INCONSISTENT: u32 = 2u32; -pub const DFS_VOLUME_STATE_OFFLINE: u32 = 3u32; -pub const DFS_VOLUME_STATE_OK: u32 = 1u32; -pub const DFS_VOLUME_STATE_ONLINE: u32 = 4u32; -pub const DFS_VOLUME_STATE_RESYNCHRONIZE: u32 = 16u32; -pub const DFS_VOLUME_STATE_STANDBY: u32 = 32u32; -pub const DfsGlobalHighPriorityClass: DFS_TARGET_PRIORITY_CLASS = 1i32; -pub const DfsGlobalLowPriorityClass: DFS_TARGET_PRIORITY_CLASS = 4i32; -pub const DfsInvalidPriorityClass: DFS_TARGET_PRIORITY_CLASS = -1i32; -pub const DfsSiteCostHighPriorityClass: DFS_TARGET_PRIORITY_CLASS = 2i32; -pub const DfsSiteCostLowPriorityClass: DFS_TARGET_PRIORITY_CLASS = 3i32; -pub const DfsSiteCostNormalPriorityClass: DFS_TARGET_PRIORITY_CLASS = 0i32; -pub const FSCTL_DFS_BASE: u32 = 6u32; -pub const FSCTL_DFS_GET_PKT_ENTRY_STATE: u32 = 401340u32; -pub const NET_DFS_SETDC_FLAGS: u32 = 0u32; -pub const NET_DFS_SETDC_INITPKT: u32 = 2u32; -pub const NET_DFS_SETDC_TIMEOUT: u32 = 1u32; -pub type DFS_NAMESPACE_VERSION_ORIGIN = i32; -pub type DFS_TARGET_PRIORITY_CLASS = i32; -#[repr(C)] -pub struct DFS_GET_PKT_ENTRY_STATE_ARG { - pub DfsEntryPathLen: u16, - pub ServerNameLen: u16, - pub ShareNameLen: u16, - pub Level: u32, - pub Buffer: [u16; 1], -} -impl ::core::marker::Copy for DFS_GET_PKT_ENTRY_STATE_ARG {} -impl ::core::clone::Clone for DFS_GET_PKT_ENTRY_STATE_ARG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_INFO_1 { - pub EntryPath: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for DFS_INFO_1 {} -impl ::core::clone::Clone for DFS_INFO_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_INFO_100 { - pub Comment: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for DFS_INFO_100 {} -impl ::core::clone::Clone for DFS_INFO_100 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_INFO_101 { - pub State: u32, -} -impl ::core::marker::Copy for DFS_INFO_101 {} -impl ::core::clone::Clone for DFS_INFO_101 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_INFO_102 { - pub Timeout: u32, -} -impl ::core::marker::Copy for DFS_INFO_102 {} -impl ::core::clone::Clone for DFS_INFO_102 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_INFO_103 { - pub PropertyFlagMask: u32, - pub PropertyFlags: u32, -} -impl ::core::marker::Copy for DFS_INFO_103 {} -impl ::core::clone::Clone for DFS_INFO_103 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_INFO_104 { - pub TargetPriority: DFS_TARGET_PRIORITY, -} -impl ::core::marker::Copy for DFS_INFO_104 {} -impl ::core::clone::Clone for DFS_INFO_104 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_INFO_105 { - pub Comment: ::windows_sys::core::PWSTR, - pub State: u32, - pub Timeout: u32, - pub PropertyFlagMask: u32, - pub PropertyFlags: u32, -} -impl ::core::marker::Copy for DFS_INFO_105 {} -impl ::core::clone::Clone for DFS_INFO_105 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_INFO_106 { - pub State: u32, - pub TargetPriority: DFS_TARGET_PRIORITY, -} -impl ::core::marker::Copy for DFS_INFO_106 {} -impl ::core::clone::Clone for DFS_INFO_106 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Security\"`"] -#[cfg(feature = "Win32_Security")] -pub struct DFS_INFO_107 { - pub Comment: ::windows_sys::core::PWSTR, - pub State: u32, - pub Timeout: u32, - pub PropertyFlagMask: u32, - pub PropertyFlags: u32, - pub SdLengthReserved: u32, - pub pSecurityDescriptor: super::super::Security::PSECURITY_DESCRIPTOR, -} -#[cfg(feature = "Win32_Security")] -impl ::core::marker::Copy for DFS_INFO_107 {} -#[cfg(feature = "Win32_Security")] -impl ::core::clone::Clone for DFS_INFO_107 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Security\"`"] -#[cfg(feature = "Win32_Security")] -pub struct DFS_INFO_150 { - pub SdLengthReserved: u32, - pub pSecurityDescriptor: super::super::Security::PSECURITY_DESCRIPTOR, -} -#[cfg(feature = "Win32_Security")] -impl ::core::marker::Copy for DFS_INFO_150 {} -#[cfg(feature = "Win32_Security")] -impl ::core::clone::Clone for DFS_INFO_150 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct DFS_INFO_1_32 { - pub EntryPath: u32, -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for DFS_INFO_1_32 {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for DFS_INFO_1_32 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_INFO_2 { - pub EntryPath: ::windows_sys::core::PWSTR, - pub Comment: ::windows_sys::core::PWSTR, - pub State: u32, - pub NumberOfStorages: u32, -} -impl ::core::marker::Copy for DFS_INFO_2 {} -impl ::core::clone::Clone for DFS_INFO_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_INFO_200 { - pub FtDfsName: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for DFS_INFO_200 {} -impl ::core::clone::Clone for DFS_INFO_200 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct DFS_INFO_2_32 { - pub EntryPath: u32, - pub Comment: u32, - pub State: u32, - pub NumberOfStorages: u32, -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for DFS_INFO_2_32 {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for DFS_INFO_2_32 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_INFO_3 { - pub EntryPath: ::windows_sys::core::PWSTR, - pub Comment: ::windows_sys::core::PWSTR, - pub State: u32, - pub NumberOfStorages: u32, - pub Storage: *mut DFS_STORAGE_INFO, -} -impl ::core::marker::Copy for DFS_INFO_3 {} -impl ::core::clone::Clone for DFS_INFO_3 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_INFO_300 { - pub Flags: u32, - pub DfsName: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for DFS_INFO_300 {} -impl ::core::clone::Clone for DFS_INFO_300 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct DFS_INFO_3_32 { - pub EntryPath: u32, - pub Comment: u32, - pub State: u32, - pub NumberOfStorages: u32, - pub Storage: u32, -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for DFS_INFO_3_32 {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for DFS_INFO_3_32 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_INFO_4 { - pub EntryPath: ::windows_sys::core::PWSTR, - pub Comment: ::windows_sys::core::PWSTR, - pub State: u32, - pub Timeout: u32, - pub Guid: ::windows_sys::core::GUID, - pub NumberOfStorages: u32, - pub Storage: *mut DFS_STORAGE_INFO, -} -impl ::core::marker::Copy for DFS_INFO_4 {} -impl ::core::clone::Clone for DFS_INFO_4 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct DFS_INFO_4_32 { - pub EntryPath: u32, - pub Comment: u32, - pub State: u32, - pub Timeout: u32, - pub Guid: ::windows_sys::core::GUID, - pub NumberOfStorages: u32, - pub Storage: u32, -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for DFS_INFO_4_32 {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for DFS_INFO_4_32 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_INFO_5 { - pub EntryPath: ::windows_sys::core::PWSTR, - pub Comment: ::windows_sys::core::PWSTR, - pub State: u32, - pub Timeout: u32, - pub Guid: ::windows_sys::core::GUID, - pub PropertyFlags: u32, - pub MetadataSize: u32, - pub NumberOfStorages: u32, -} -impl ::core::marker::Copy for DFS_INFO_5 {} -impl ::core::clone::Clone for DFS_INFO_5 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_INFO_50 { - pub NamespaceMajorVersion: u32, - pub NamespaceMinorVersion: u32, - pub NamespaceCapabilities: u64, -} -impl ::core::marker::Copy for DFS_INFO_50 {} -impl ::core::clone::Clone for DFS_INFO_50 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_INFO_6 { - pub EntryPath: ::windows_sys::core::PWSTR, - pub Comment: ::windows_sys::core::PWSTR, - pub State: u32, - pub Timeout: u32, - pub Guid: ::windows_sys::core::GUID, - pub PropertyFlags: u32, - pub MetadataSize: u32, - pub NumberOfStorages: u32, - pub Storage: *mut DFS_STORAGE_INFO_1, -} -impl ::core::marker::Copy for DFS_INFO_6 {} -impl ::core::clone::Clone for DFS_INFO_6 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_INFO_7 { - pub GenerationGuid: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for DFS_INFO_7 {} -impl ::core::clone::Clone for DFS_INFO_7 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Security\"`"] -#[cfg(feature = "Win32_Security")] -pub struct DFS_INFO_8 { - pub EntryPath: ::windows_sys::core::PWSTR, - pub Comment: ::windows_sys::core::PWSTR, - pub State: u32, - pub Timeout: u32, - pub Guid: ::windows_sys::core::GUID, - pub PropertyFlags: u32, - pub MetadataSize: u32, - pub SdLengthReserved: u32, - pub pSecurityDescriptor: super::super::Security::PSECURITY_DESCRIPTOR, - pub NumberOfStorages: u32, -} -#[cfg(feature = "Win32_Security")] -impl ::core::marker::Copy for DFS_INFO_8 {} -#[cfg(feature = "Win32_Security")] -impl ::core::clone::Clone for DFS_INFO_8 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Security\"`"] -#[cfg(feature = "Win32_Security")] -pub struct DFS_INFO_9 { - pub EntryPath: ::windows_sys::core::PWSTR, - pub Comment: ::windows_sys::core::PWSTR, - pub State: u32, - pub Timeout: u32, - pub Guid: ::windows_sys::core::GUID, - pub PropertyFlags: u32, - pub MetadataSize: u32, - pub SdLengthReserved: u32, - pub pSecurityDescriptor: super::super::Security::PSECURITY_DESCRIPTOR, - pub NumberOfStorages: u32, - pub Storage: *mut DFS_STORAGE_INFO_1, -} -#[cfg(feature = "Win32_Security")] -impl ::core::marker::Copy for DFS_INFO_9 {} -#[cfg(feature = "Win32_Security")] -impl ::core::clone::Clone for DFS_INFO_9 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_SITELIST_INFO { - pub cSites: u32, - pub Site: [DFS_SITENAME_INFO; 1], -} -impl ::core::marker::Copy for DFS_SITELIST_INFO {} -impl ::core::clone::Clone for DFS_SITELIST_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_SITENAME_INFO { - pub SiteFlags: u32, - pub SiteName: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for DFS_SITENAME_INFO {} -impl ::core::clone::Clone for DFS_SITENAME_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_STORAGE_INFO { - pub State: u32, - pub ServerName: ::windows_sys::core::PWSTR, - pub ShareName: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for DFS_STORAGE_INFO {} -impl ::core::clone::Clone for DFS_STORAGE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct DFS_STORAGE_INFO_0_32 { - pub State: u32, - pub ServerName: u32, - pub ShareName: u32, -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for DFS_STORAGE_INFO_0_32 {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for DFS_STORAGE_INFO_0_32 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_STORAGE_INFO_1 { - pub State: u32, - pub ServerName: ::windows_sys::core::PWSTR, - pub ShareName: ::windows_sys::core::PWSTR, - pub TargetPriority: DFS_TARGET_PRIORITY, -} -impl ::core::marker::Copy for DFS_STORAGE_INFO_1 {} -impl ::core::clone::Clone for DFS_STORAGE_INFO_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_SUPPORTED_NAMESPACE_VERSION_INFO { - pub DomainDfsMajorVersion: u32, - pub DomainDfsMinorVersion: u32, - pub DomainDfsCapabilities: u64, - pub StandaloneDfsMajorVersion: u32, - pub StandaloneDfsMinorVersion: u32, - pub StandaloneDfsCapabilities: u64, -} -impl ::core::marker::Copy for DFS_SUPPORTED_NAMESPACE_VERSION_INFO {} -impl ::core::clone::Clone for DFS_SUPPORTED_NAMESPACE_VERSION_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DFS_TARGET_PRIORITY { - pub TargetPriorityClass: DFS_TARGET_PRIORITY_CLASS, - pub TargetPriorityRank: u16, - pub Reserved: u16, -} -impl ::core::marker::Copy for DFS_TARGET_PRIORITY {} -impl ::core::clone::Clone for DFS_TARGET_PRIORITY { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/FileHistory/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/FileHistory/mod.rs deleted file mode 100644 index d1a3686..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Storage/FileHistory/mod.rs +++ /dev/null @@ -1,107 +0,0 @@ -#[cfg(feature = "Win32_System_WindowsProgramming")] -::windows_targets::link!("fhsvcctl.dll" "system" #[doc = "Required features: `\"Win32_System_WindowsProgramming\"`"] fn FhServiceBlockBackup(pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_WindowsProgramming")] -::windows_targets::link!("fhsvcctl.dll" "system" #[doc = "Required features: `\"Win32_System_WindowsProgramming\"`"] fn FhServiceClosePipe(pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] -::windows_targets::link!("fhsvcctl.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`"] fn FhServiceOpenPipe(startserviceifstopped : super::super::Foundation:: BOOL, pipe : *mut super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_WindowsProgramming")] -::windows_targets::link!("fhsvcctl.dll" "system" #[doc = "Required features: `\"Win32_System_WindowsProgramming\"`"] fn FhServiceReloadConfiguration(pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] -::windows_targets::link!("fhsvcctl.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`"] fn FhServiceStartBackup(pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE, lowpriorityio : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] -::windows_targets::link!("fhsvcctl.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`"] fn FhServiceStopBackup(pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE, stoptracking : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_WindowsProgramming")] -::windows_targets::link!("fhsvcctl.dll" "system" #[doc = "Required features: `\"Win32_System_WindowsProgramming\"`"] fn FhServiceUnblockBackup(pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE) -> ::windows_sys::core::HRESULT); -pub type IFhConfigMgr = *mut ::core::ffi::c_void; -pub type IFhReassociation = *mut ::core::ffi::c_void; -pub type IFhScopeIterator = *mut ::core::ffi::c_void; -pub type IFhTarget = *mut ::core::ffi::c_void; -pub const BackupCancelled: FhBackupStopReason = 4i32; -pub const BackupInvalidStopReason: FhBackupStopReason = 0i32; -pub const BackupLimitUserBusyMachineOnAC: FhBackupStopReason = 1i32; -pub const BackupLimitUserBusyMachineOnDC: FhBackupStopReason = 3i32; -pub const BackupLimitUserIdleMachineOnDC: FhBackupStopReason = 2i32; -pub const FHCFG_E_CONFIGURATION_PREVIOUSLY_LOADED: ::windows_sys::core::HRESULT = -2147220731i32; -pub const FHCFG_E_CONFIG_ALREADY_EXISTS: ::windows_sys::core::HRESULT = -2147220734i32; -pub const FHCFG_E_CONFIG_FILE_NOT_FOUND: ::windows_sys::core::HRESULT = -2147220735i32; -pub const FHCFG_E_CORRUPT_CONFIG_FILE: ::windows_sys::core::HRESULT = -2147220736i32; -pub const FHCFG_E_INVALID_REHYDRATION_STATE: ::windows_sys::core::HRESULT = -2147220726i32; -pub const FHCFG_E_LEGACY_BACKUP_NOT_FOUND: ::windows_sys::core::HRESULT = -2147220715i32; -pub const FHCFG_E_LEGACY_BACKUP_USER_EXCLUDED: ::windows_sys::core::HRESULT = -2147220716i32; -pub const FHCFG_E_LEGACY_TARGET_UNSUPPORTED: ::windows_sys::core::HRESULT = -2147220718i32; -pub const FHCFG_E_LEGACY_TARGET_VALIDATION_UNSUPPORTED: ::windows_sys::core::HRESULT = -2147220717i32; -pub const FHCFG_E_NO_VALID_CONFIGURATION_LOADED: ::windows_sys::core::HRESULT = -2147220733i32; -pub const FHCFG_E_RECOMMENDATION_CHANGE_NOT_ALLOWED: ::windows_sys::core::HRESULT = -2147220720i32; -pub const FHCFG_E_TARGET_CANNOT_BE_USED: ::windows_sys::core::HRESULT = -2147220727i32; -pub const FHCFG_E_TARGET_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -2147220729i32; -pub const FHCFG_E_TARGET_NOT_CONNECTED: ::windows_sys::core::HRESULT = -2147220732i32; -pub const FHCFG_E_TARGET_NOT_ENOUGH_FREE_SPACE: ::windows_sys::core::HRESULT = -2147220728i32; -pub const FHCFG_E_TARGET_REHYDRATED_ELSEWHERE: ::windows_sys::core::HRESULT = -2147220719i32; -pub const FHCFG_E_TARGET_VERIFICATION_FAILED: ::windows_sys::core::HRESULT = -2147220730i32; -pub const FHSVC_E_BACKUP_BLOCKED: ::windows_sys::core::HRESULT = -2147219968i32; -pub const FHSVC_E_CONFIG_DISABLED: ::windows_sys::core::HRESULT = -2147219966i32; -pub const FHSVC_E_CONFIG_DISABLED_GP: ::windows_sys::core::HRESULT = -2147219965i32; -pub const FHSVC_E_CONFIG_REHYDRATING: ::windows_sys::core::HRESULT = -2147219963i32; -pub const FHSVC_E_FATAL_CONFIG_ERROR: ::windows_sys::core::HRESULT = -2147219964i32; -pub const FHSVC_E_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -2147219967i32; -pub const FH_ACCESS_DENIED: FH_DEVICE_VALIDATION_RESULT = 0i32; -pub const FH_CURRENT_DEFAULT: FH_DEVICE_VALIDATION_RESULT = 3i32; -pub const FH_DRIVE_FIXED: FH_TARGET_DRIVE_TYPES = 3i32; -pub const FH_DRIVE_REMOTE: FH_TARGET_DRIVE_TYPES = 4i32; -pub const FH_DRIVE_REMOVABLE: FH_TARGET_DRIVE_TYPES = 2i32; -pub const FH_DRIVE_UNKNOWN: FH_TARGET_DRIVE_TYPES = 0i32; -pub const FH_FOLDER: FH_PROTECTED_ITEM_CATEGORY = 0i32; -pub const FH_FREQUENCY: FH_LOCAL_POLICY_TYPE = 0i32; -pub const FH_INVALID_DRIVE_TYPE: FH_DEVICE_VALIDATION_RESULT = 1i32; -pub const FH_LIBRARY: FH_PROTECTED_ITEM_CATEGORY = 1i32; -pub const FH_NAMESPACE_EXISTS: FH_DEVICE_VALIDATION_RESULT = 4i32; -pub const FH_READ_ONLY_PERMISSION: FH_DEVICE_VALIDATION_RESULT = 2i32; -pub const FH_RETENTION_AGE: FH_LOCAL_POLICY_TYPE = 2i32; -pub const FH_RETENTION_AGE_BASED: FH_RETENTION_TYPES = 2i32; -pub const FH_RETENTION_DISABLED: FH_RETENTION_TYPES = 0i32; -pub const FH_RETENTION_TYPE: FH_LOCAL_POLICY_TYPE = 1i32; -pub const FH_RETENTION_UNLIMITED: FH_RETENTION_TYPES = 1i32; -pub const FH_STATE_BACKUP_NOT_SUPPORTED: u32 = 2064u32; -pub const FH_STATE_DISABLED_BY_GP: u32 = 2u32; -pub const FH_STATE_FATAL_CONFIG_ERROR: u32 = 3u32; -pub const FH_STATE_MIGRATING: u32 = 4u32; -pub const FH_STATE_NOT_TRACKED: u32 = 0u32; -pub const FH_STATE_NO_ERROR: u32 = 255u32; -pub const FH_STATE_OFF: u32 = 1u32; -pub const FH_STATE_REHYDRATING: u32 = 5u32; -pub const FH_STATE_RUNNING: u32 = 256u32; -pub const FH_STATE_STAGING_FULL: u32 = 18u32; -pub const FH_STATE_TARGET_ABSENT: u32 = 21u32; -pub const FH_STATE_TARGET_ACCESS_DENIED: u32 = 14u32; -pub const FH_STATE_TARGET_FS_LIMITATION: u32 = 13u32; -pub const FH_STATE_TARGET_FULL: u32 = 17u32; -pub const FH_STATE_TARGET_FULL_RETENTION_MAX: u32 = 16u32; -pub const FH_STATE_TARGET_LOW_SPACE: u32 = 20u32; -pub const FH_STATE_TARGET_LOW_SPACE_RETENTION_MAX: u32 = 19u32; -pub const FH_STATE_TARGET_VOLUME_DIRTY: u32 = 15u32; -pub const FH_STATE_TOO_MUCH_BEHIND: u32 = 240u32; -pub const FH_STATUS_DISABLED: FH_BACKUP_STATUS = 0i32; -pub const FH_STATUS_DISABLED_BY_GP: FH_BACKUP_STATUS = 1i32; -pub const FH_STATUS_ENABLED: FH_BACKUP_STATUS = 2i32; -pub const FH_STATUS_REHYDRATING: FH_BACKUP_STATUS = 3i32; -pub const FH_TARGET_DRIVE_TYPE: FH_TARGET_PROPERTY_TYPE = 2i32; -pub const FH_TARGET_NAME: FH_TARGET_PROPERTY_TYPE = 0i32; -pub const FH_TARGET_PART_OF_LIBRARY: FH_DEVICE_VALIDATION_RESULT = 5i32; -pub const FH_TARGET_URL: FH_TARGET_PROPERTY_TYPE = 1i32; -pub const FH_VALID_TARGET: FH_DEVICE_VALIDATION_RESULT = 6i32; -pub const FhConfigMgr: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xed43bb3c_09e9_498a_9df6_2177244c6db4); -pub const FhReassociation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4d728e35_16fa_4320_9e8b_bfd7100a8846); -pub const MAX_BACKUP_STATUS: FH_BACKUP_STATUS = 4i32; -pub const MAX_LOCAL_POLICY: FH_LOCAL_POLICY_TYPE = 3i32; -pub const MAX_PROTECTED_ITEM_CATEGORY: FH_PROTECTED_ITEM_CATEGORY = 2i32; -pub const MAX_RETENTION_TYPE: FH_RETENTION_TYPES = 3i32; -pub const MAX_TARGET_PROPERTY: FH_TARGET_PROPERTY_TYPE = 3i32; -pub const MAX_VALIDATION_RESULT: FH_DEVICE_VALIDATION_RESULT = 7i32; -pub type FH_BACKUP_STATUS = i32; -pub type FH_DEVICE_VALIDATION_RESULT = i32; -pub type FH_LOCAL_POLICY_TYPE = i32; -pub type FH_PROTECTED_ITEM_CATEGORY = i32; -pub type FH_RETENTION_TYPES = i32; -pub type FH_TARGET_DRIVE_TYPES = i32; -pub type FH_TARGET_PROPERTY_TYPE = i32; -pub type FhBackupStopReason = i32; diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/FileSystem/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/FileSystem/mod.rs deleted file mode 100644 index 5cb313f..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Storage/FileSystem/mod.rs +++ /dev/null @@ -1,5336 +0,0 @@ -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddLogContainer(hlog : super::super::Foundation:: HANDLE, pcbcontainer : *const u64, pwszcontainerpath : ::windows_sys::core::PCWSTR, preserved : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddLogContainerSet(hlog : super::super::Foundation:: HANDLE, ccontainer : u16, pcbcontainer : *const u64, rgwszcontainerpath : *const ::windows_sys::core::PCWSTR, preserved : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Security")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn AddUsersToEncryptedFile(lpfilename : ::windows_sys::core::PCWSTR, pencryptioncertificates : *const ENCRYPTION_CERTIFICATE_LIST) -> u32); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn AdvanceLogBase(pvmarshal : *mut ::core::ffi::c_void, plsnbase : *mut CLS_LSN, fflags : u32, poverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AlignReservedLog(pvmarshal : *mut ::core::ffi::c_void, creservedrecords : u32, rgcbreservation : *mut i64, pcbalignreservation : *mut i64) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AllocReservedLog(pvmarshal : *mut ::core::ffi::c_void, creservedrecords : u32, pcbadjustment : *mut i64) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AreFileApisANSI() -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AreShortNamesEnabled(handle : super::super::Foundation:: HANDLE, enabled : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BackupRead(hfile : super::super::Foundation:: HANDLE, lpbuffer : *mut u8, nnumberofbytestoread : u32, lpnumberofbytesread : *mut u32, babort : super::super::Foundation:: BOOL, bprocesssecurity : super::super::Foundation:: BOOL, lpcontext : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BackupSeek(hfile : super::super::Foundation:: HANDLE, dwlowbytestoseek : u32, dwhighbytestoseek : u32, lpdwlowbyteseeked : *mut u32, lpdwhighbyteseeked : *mut u32, lpcontext : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BackupWrite(hfile : super::super::Foundation:: HANDLE, lpbuffer : *const u8, nnumberofbytestowrite : u32, lpnumberofbyteswritten : *mut u32, babort : super::super::Foundation:: BOOL, bprocesssecurity : super::super::Foundation:: BOOL, lpcontext : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-core-ioring-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BuildIoRingCancelRequest(ioring : HIORING, file : IORING_HANDLE_REF, optocancel : usize, userdata : usize) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BuildIoRingFlushFile(ioring : HIORING, fileref : IORING_HANDLE_REF, flushmode : FILE_FLUSH_MODE, userdata : usize, sqeflags : IORING_SQE_FLAGS) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-core-ioring-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BuildIoRingReadFile(ioring : HIORING, fileref : IORING_HANDLE_REF, dataref : IORING_BUFFER_REF, numberofbytestoread : u32, fileoffset : u64, userdata : usize, sqeflags : IORING_SQE_FLAGS) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("api-ms-win-core-ioring-l1-1-0.dll" "system" fn BuildIoRingRegisterBuffers(ioring : HIORING, count : u32, buffers : *const IORING_BUFFER_INFO, userdata : usize) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-core-ioring-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BuildIoRingRegisterFileHandles(ioring : HIORING, count : u32, handles : *const super::super::Foundation:: HANDLE, userdata : usize) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BuildIoRingWriteFile(ioring : HIORING, fileref : IORING_HANDLE_REF, bufferref : IORING_BUFFER_REF, numberofbytestowrite : u32, fileoffset : u64, writeflags : FILE_WRITE_FLAGS, userdata : usize, sqeflags : IORING_SQE_FLAGS) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CheckNameLegalDOS8Dot3A(lpname : ::windows_sys::core::PCSTR, lpoemname : ::windows_sys::core::PSTR, oemnamesize : u32, pbnamecontainsspaces : *mut super::super::Foundation:: BOOL, pbnamelegal : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CheckNameLegalDOS8Dot3W(lpname : ::windows_sys::core::PCWSTR, lpoemname : ::windows_sys::core::PSTR, oemnamesize : u32, pbnamecontainsspaces : *mut super::super::Foundation:: BOOL, pbnamelegal : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CloseAndResetLogFile(hlog : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -::windows_targets::link!("advapi32.dll" "system" fn CloseEncryptedFileRaw(pvcontext : *const ::core::ffi::c_void) -> ()); -::windows_targets::link!("api-ms-win-core-ioring-l1-1-0.dll" "system" fn CloseIoRing(ioring : HIORING) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CommitComplete(enlistmenthandle : super::super::Foundation:: HANDLE, tmvirtualclock : *mut i64) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CommitEnlistment(enlistmenthandle : super::super::Foundation:: HANDLE, tmvirtualclock : *mut i64) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CommitTransaction(transactionhandle : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CommitTransactionAsync(transactionhandle : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CompareFileTime(lpfiletime1 : *const super::super::Foundation:: FILETIME, lpfiletime2 : *const super::super::Foundation:: FILETIME) -> i32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CopyFile2(pwszexistingfilename : ::windows_sys::core::PCWSTR, pwsznewfilename : ::windows_sys::core::PCWSTR, pextendedparameters : *const COPYFILE2_EXTENDED_PARAMETERS) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CopyFileA(lpexistingfilename : ::windows_sys::core::PCSTR, lpnewfilename : ::windows_sys::core::PCSTR, bfailifexists : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CopyFileExA(lpexistingfilename : ::windows_sys::core::PCSTR, lpnewfilename : ::windows_sys::core::PCSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, pbcancel : *mut super::super::Foundation:: BOOL, dwcopyflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CopyFileExW(lpexistingfilename : ::windows_sys::core::PCWSTR, lpnewfilename : ::windows_sys::core::PCWSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, pbcancel : *mut super::super::Foundation:: BOOL, dwcopyflags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-core-file-fromapp-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CopyFileFromAppW(lpexistingfilename : ::windows_sys::core::PCWSTR, lpnewfilename : ::windows_sys::core::PCWSTR, bfailifexists : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CopyFileTransactedA(lpexistingfilename : ::windows_sys::core::PCSTR, lpnewfilename : ::windows_sys::core::PCSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, pbcancel : *const super::super::Foundation:: BOOL, dwcopyflags : u32, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CopyFileTransactedW(lpexistingfilename : ::windows_sys::core::PCWSTR, lpnewfilename : ::windows_sys::core::PCWSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, pbcancel : *const super::super::Foundation:: BOOL, dwcopyflags : u32, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CopyFileW(lpexistingfilename : ::windows_sys::core::PCWSTR, lpnewfilename : ::windows_sys::core::PCWSTR, bfailifexists : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); -::windows_targets::link!("kernel32.dll" "system" fn CopyLZFile(hfsource : i32, hfdest : i32) -> i32); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateDirectoryA(lppathname : ::windows_sys::core::PCSTR, lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateDirectoryExA(lptemplatedirectory : ::windows_sys::core::PCSTR, lpnewdirectory : ::windows_sys::core::PCSTR, lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateDirectoryExW(lptemplatedirectory : ::windows_sys::core::PCWSTR, lpnewdirectory : ::windows_sys::core::PCWSTR, lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("api-ms-win-core-file-fromapp-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateDirectoryFromAppW(lppathname : ::windows_sys::core::PCWSTR, lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateDirectoryTransactedA(lptemplatedirectory : ::windows_sys::core::PCSTR, lpnewdirectory : ::windows_sys::core::PCSTR, lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateDirectoryTransactedW(lptemplatedirectory : ::windows_sys::core::PCWSTR, lpnewdirectory : ::windows_sys::core::PCWSTR, lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateDirectoryW(lppathname : ::windows_sys::core::PCWSTR, lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateEnlistment(lpenlistmentattributes : *mut super::super::Security:: SECURITY_ATTRIBUTES, resourcemanagerhandle : super::super::Foundation:: HANDLE, transactionhandle : super::super::Foundation:: HANDLE, notificationmask : u32, createoptions : u32, enlistmentkey : *mut ::core::ffi::c_void) -> super::super::Foundation:: HANDLE); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateFile2(lpfilename : ::windows_sys::core::PCWSTR, dwdesiredaccess : u32, dwsharemode : FILE_SHARE_MODE, dwcreationdisposition : FILE_CREATION_DISPOSITION, pcreateexparams : *const CREATEFILE2_EXTENDED_PARAMETERS) -> super::super::Foundation:: HANDLE); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("api-ms-win-core-file-fromapp-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateFile2FromAppW(lpfilename : ::windows_sys::core::PCWSTR, dwdesiredaccess : u32, dwsharemode : u32, dwcreationdisposition : u32, pcreateexparams : *const CREATEFILE2_EXTENDED_PARAMETERS) -> super::super::Foundation:: HANDLE); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateFileA(lpfilename : ::windows_sys::core::PCSTR, dwdesiredaccess : u32, dwsharemode : FILE_SHARE_MODE, lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, dwcreationdisposition : FILE_CREATION_DISPOSITION, dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES, htemplatefile : super::super::Foundation:: HANDLE) -> super::super::Foundation:: HANDLE); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("api-ms-win-core-file-fromapp-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateFileFromAppW(lpfilename : ::windows_sys::core::PCWSTR, dwdesiredaccess : u32, dwsharemode : u32, lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, dwcreationdisposition : u32, dwflagsandattributes : u32, htemplatefile : super::super::Foundation:: HANDLE) -> super::super::Foundation:: HANDLE); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateFileTransactedA(lpfilename : ::windows_sys::core::PCSTR, dwdesiredaccess : u32, dwsharemode : FILE_SHARE_MODE, lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, dwcreationdisposition : FILE_CREATION_DISPOSITION, dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES, htemplatefile : super::super::Foundation:: HANDLE, htransaction : super::super::Foundation:: HANDLE, pusminiversion : *const TXFS_MINIVERSION, lpextendedparameter : *const ::core::ffi::c_void) -> super::super::Foundation:: HANDLE); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateFileTransactedW(lpfilename : ::windows_sys::core::PCWSTR, dwdesiredaccess : u32, dwsharemode : FILE_SHARE_MODE, lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, dwcreationdisposition : FILE_CREATION_DISPOSITION, dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES, htemplatefile : super::super::Foundation:: HANDLE, htransaction : super::super::Foundation:: HANDLE, pusminiversion : *const TXFS_MINIVERSION, lpextendedparameter : *const ::core::ffi::c_void) -> super::super::Foundation:: HANDLE); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateFileW(lpfilename : ::windows_sys::core::PCWSTR, dwdesiredaccess : u32, dwsharemode : FILE_SHARE_MODE, lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, dwcreationdisposition : FILE_CREATION_DISPOSITION, dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES, htemplatefile : super::super::Foundation:: HANDLE) -> super::super::Foundation:: HANDLE); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateHardLinkA(lpfilename : ::windows_sys::core::PCSTR, lpexistingfilename : ::windows_sys::core::PCSTR, lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateHardLinkTransactedA(lpfilename : ::windows_sys::core::PCSTR, lpexistingfilename : ::windows_sys::core::PCSTR, lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateHardLinkTransactedW(lpfilename : ::windows_sys::core::PCWSTR, lpexistingfilename : ::windows_sys::core::PCWSTR, lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateHardLinkW(lpfilename : ::windows_sys::core::PCWSTR, lpexistingfilename : ::windows_sys::core::PCWSTR, lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES) -> super::super::Foundation:: BOOL); -::windows_targets::link!("api-ms-win-core-ioring-l1-1-0.dll" "system" fn CreateIoRing(ioringversion : IORING_VERSION, flags : IORING_CREATE_FLAGS, submissionqueuesize : u32, completionqueuesize : u32, h : *mut HIORING) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn CreateLogContainerScanContext(hlog : super::super::Foundation:: HANDLE, cfromcontainer : u32, ccontainers : u32, escanmode : u8, pcxscan : *mut CLS_SCAN_CONTEXT, poverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateLogFile(pszlogfilename : ::windows_sys::core::PCWSTR, fdesiredaccess : u32, dwsharemode : FILE_SHARE_MODE, psalogfile : *mut super::super::Security:: SECURITY_ATTRIBUTES, fcreatedisposition : FILE_CREATION_DISPOSITION, fflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CreateLogMarshallingArea(hlog : super::super::Foundation:: HANDLE, pfnallocbuffer : CLFS_BLOCK_ALLOCATION, pfnfreebuffer : CLFS_BLOCK_DEALLOCATION, pvblockalloccontext : *mut ::core::ffi::c_void, cbmarshallingbuffer : u32, cmaxwritebuffers : u32, cmaxreadbuffers : u32, ppvmarshal : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateResourceManager(lpresourcemanagerattributes : *mut super::super::Security:: SECURITY_ATTRIBUTES, resourcemanagerid : *mut ::windows_sys::core::GUID, createoptions : u32, tmhandle : super::super::Foundation:: HANDLE, description : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CreateSymbolicLinkA(lpsymlinkfilename : ::windows_sys::core::PCSTR, lptargetfilename : ::windows_sys::core::PCSTR, dwflags : SYMBOLIC_LINK_FLAGS) -> super::super::Foundation:: BOOLEAN); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CreateSymbolicLinkTransactedA(lpsymlinkfilename : ::windows_sys::core::PCSTR, lptargetfilename : ::windows_sys::core::PCSTR, dwflags : SYMBOLIC_LINK_FLAGS, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOLEAN); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CreateSymbolicLinkTransactedW(lpsymlinkfilename : ::windows_sys::core::PCWSTR, lptargetfilename : ::windows_sys::core::PCWSTR, dwflags : SYMBOLIC_LINK_FLAGS, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOLEAN); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CreateSymbolicLinkW(lpsymlinkfilename : ::windows_sys::core::PCWSTR, lptargetfilename : ::windows_sys::core::PCWSTR, dwflags : SYMBOLIC_LINK_FLAGS) -> super::super::Foundation:: BOOLEAN); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CreateTapePartition(hdevice : super::super::Foundation:: HANDLE, dwpartitionmethod : CREATE_TAPE_PARTITION_METHOD, dwcount : u32, dwsize : u32) -> u32); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateTransaction(lptransactionattributes : *mut super::super::Security:: SECURITY_ATTRIBUTES, uow : *mut ::windows_sys::core::GUID, createoptions : u32, isolationlevel : u32, isolationflags : u32, timeout : u32, description : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: HANDLE); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateTransactionManager(lptransactionattributes : *mut super::super::Security:: SECURITY_ATTRIBUTES, logfilename : ::windows_sys::core::PCWSTR, createoptions : u32, commitstrength : u32) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DecryptFileA(lpfilename : ::windows_sys::core::PCSTR, dwreserved : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DecryptFileW(lpfilename : ::windows_sys::core::PCWSTR, dwreserved : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DefineDosDeviceA(dwflags : DEFINE_DOS_DEVICE_FLAGS, lpdevicename : ::windows_sys::core::PCSTR, lptargetpath : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DefineDosDeviceW(dwflags : DEFINE_DOS_DEVICE_FLAGS, lpdevicename : ::windows_sys::core::PCWSTR, lptargetpath : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DeleteFileA(lpfilename : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-core-file-fromapp-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DeleteFileFromAppW(lpfilename : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DeleteFileTransactedA(lpfilename : ::windows_sys::core::PCSTR, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DeleteFileTransactedW(lpfilename : ::windows_sys::core::PCWSTR, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DeleteFileW(lpfilename : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DeleteLogByHandle(hlog : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DeleteLogFile(pszlogfilename : ::windows_sys::core::PCWSTR, pvreserved : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DeleteLogMarshallingArea(pvmarshal : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DeleteVolumeMountPointA(lpszvolumemountpoint : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DeleteVolumeMountPointW(lpszvolumemountpoint : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DeregisterManageableLogClient(hlog : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn DuplicateEncryptionInfoFile(srcfilename : ::windows_sys::core::PCWSTR, dstfilename : ::windows_sys::core::PCWSTR, dwcreationdistribution : u32, dwattributes : u32, lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EncryptFileA(lpfilename : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EncryptFileW(lpfilename : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EncryptionDisable(dirpath : ::windows_sys::core::PCWSTR, disable : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EraseTape(hdevice : super::super::Foundation:: HANDLE, dwerasetype : ERASE_TAPE_TYPE, bimmediate : super::super::Foundation:: BOOL) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FileEncryptionStatusA(lpfilename : ::windows_sys::core::PCSTR, lpstatus : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FileEncryptionStatusW(lpfilename : ::windows_sys::core::PCWSTR, lpstatus : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FileTimeToLocalFileTime(lpfiletime : *const super::super::Foundation:: FILETIME, lplocalfiletime : *mut super::super::Foundation:: FILETIME) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindClose(hfindfile : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindCloseChangeNotification(hchangehandle : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindFirstChangeNotificationA(lppathname : ::windows_sys::core::PCSTR, bwatchsubtree : super::super::Foundation:: BOOL, dwnotifyfilter : FILE_NOTIFY_CHANGE) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindFirstChangeNotificationW(lppathname : ::windows_sys::core::PCWSTR, bwatchsubtree : super::super::Foundation:: BOOL, dwnotifyfilter : FILE_NOTIFY_CHANGE) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindFirstFileA(lpfilename : ::windows_sys::core::PCSTR, lpfindfiledata : *mut WIN32_FIND_DATAA) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindFirstFileExA(lpfilename : ::windows_sys::core::PCSTR, finfolevelid : FINDEX_INFO_LEVELS, lpfindfiledata : *mut ::core::ffi::c_void, fsearchop : FINDEX_SEARCH_OPS, lpsearchfilter : *const ::core::ffi::c_void, dwadditionalflags : FIND_FIRST_EX_FLAGS) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-core-file-fromapp-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindFirstFileExFromAppW(lpfilename : ::windows_sys::core::PCWSTR, finfolevelid : FINDEX_INFO_LEVELS, lpfindfiledata : *mut ::core::ffi::c_void, fsearchop : FINDEX_SEARCH_OPS, lpsearchfilter : *const ::core::ffi::c_void, dwadditionalflags : u32) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindFirstFileExW(lpfilename : ::windows_sys::core::PCWSTR, finfolevelid : FINDEX_INFO_LEVELS, lpfindfiledata : *mut ::core::ffi::c_void, fsearchop : FINDEX_SEARCH_OPS, lpsearchfilter : *const ::core::ffi::c_void, dwadditionalflags : FIND_FIRST_EX_FLAGS) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindFirstFileNameTransactedW(lpfilename : ::windows_sys::core::PCWSTR, dwflags : u32, stringlength : *mut u32, linkname : ::windows_sys::core::PWSTR, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindFirstFileNameW(lpfilename : ::windows_sys::core::PCWSTR, dwflags : u32, stringlength : *mut u32, linkname : ::windows_sys::core::PWSTR) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindFirstFileTransactedA(lpfilename : ::windows_sys::core::PCSTR, finfolevelid : FINDEX_INFO_LEVELS, lpfindfiledata : *mut ::core::ffi::c_void, fsearchop : FINDEX_SEARCH_OPS, lpsearchfilter : *const ::core::ffi::c_void, dwadditionalflags : u32, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindFirstFileTransactedW(lpfilename : ::windows_sys::core::PCWSTR, finfolevelid : FINDEX_INFO_LEVELS, lpfindfiledata : *mut ::core::ffi::c_void, fsearchop : FINDEX_SEARCH_OPS, lpsearchfilter : *const ::core::ffi::c_void, dwadditionalflags : u32, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindFirstFileW(lpfilename : ::windows_sys::core::PCWSTR, lpfindfiledata : *mut WIN32_FIND_DATAW) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindFirstStreamTransactedW(lpfilename : ::windows_sys::core::PCWSTR, infolevel : STREAM_INFO_LEVELS, lpfindstreamdata : *mut ::core::ffi::c_void, dwflags : u32, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindFirstStreamW(lpfilename : ::windows_sys::core::PCWSTR, infolevel : STREAM_INFO_LEVELS, lpfindstreamdata : *mut ::core::ffi::c_void, dwflags : u32) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindFirstVolumeA(lpszvolumename : ::windows_sys::core::PSTR, cchbufferlength : u32) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindFirstVolumeMountPointA(lpszrootpathname : ::windows_sys::core::PCSTR, lpszvolumemountpoint : ::windows_sys::core::PSTR, cchbufferlength : u32) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindFirstVolumeMountPointW(lpszrootpathname : ::windows_sys::core::PCWSTR, lpszvolumemountpoint : ::windows_sys::core::PWSTR, cchbufferlength : u32) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindFirstVolumeW(lpszvolumename : ::windows_sys::core::PWSTR, cchbufferlength : u32) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindNextChangeNotification(hchangehandle : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindNextFileA(hfindfile : super::super::Foundation:: HANDLE, lpfindfiledata : *mut WIN32_FIND_DATAA) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindNextFileNameW(hfindstream : super::super::Foundation:: HANDLE, stringlength : *mut u32, linkname : ::windows_sys::core::PWSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindNextFileW(hfindfile : super::super::Foundation:: HANDLE, lpfindfiledata : *mut WIN32_FIND_DATAW) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindNextStreamW(hfindstream : super::super::Foundation:: HANDLE, lpfindstreamdata : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindNextVolumeA(hfindvolume : super::super::Foundation:: HANDLE, lpszvolumename : ::windows_sys::core::PSTR, cchbufferlength : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindNextVolumeMountPointA(hfindvolumemountpoint : super::super::Foundation:: HANDLE, lpszvolumemountpoint : ::windows_sys::core::PSTR, cchbufferlength : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindNextVolumeMountPointW(hfindvolumemountpoint : super::super::Foundation:: HANDLE, lpszvolumemountpoint : ::windows_sys::core::PWSTR, cchbufferlength : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindNextVolumeW(hfindvolume : super::super::Foundation:: HANDLE, lpszvolumename : ::windows_sys::core::PWSTR, cchbufferlength : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindVolumeClose(hfindvolume : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindVolumeMountPointClose(hfindvolumemountpoint : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FlushFileBuffers(hfile : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn FlushLogBuffers(pvmarshal : *const ::core::ffi::c_void, poverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn FlushLogToLsn(pvmarshalcontext : *mut ::core::ffi::c_void, plsnflush : *mut CLS_LSN, plsnlastflushed : *mut CLS_LSN, poverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); -::windows_targets::link!("advapi32.dll" "system" fn FreeEncryptedFileMetadata(pbmetadata : *const u8) -> ()); -#[cfg(feature = "Win32_Security")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn FreeEncryptionCertificateHashList(pusers : *const ENCRYPTION_CERTIFICATE_HASH_LIST) -> ()); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FreeReservedLog(pvmarshal : *mut ::core::ffi::c_void, creservedrecords : u32, pcbadjustment : *mut i64) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetBinaryTypeA(lpapplicationname : ::windows_sys::core::PCSTR, lpbinarytype : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetBinaryTypeW(lpapplicationname : ::windows_sys::core::PCWSTR, lpbinarytype : *mut u32) -> super::super::Foundation:: BOOL); -::windows_targets::link!("kernel32.dll" "system" fn GetCompressedFileSizeA(lpfilename : ::windows_sys::core::PCSTR, lpfilesizehigh : *mut u32) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCompressedFileSizeTransactedA(lpfilename : ::windows_sys::core::PCSTR, lpfilesizehigh : *mut u32, htransaction : super::super::Foundation:: HANDLE) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCompressedFileSizeTransactedW(lpfilename : ::windows_sys::core::PCWSTR, lpfilesizehigh : *mut u32, htransaction : super::super::Foundation:: HANDLE) -> u32); -::windows_targets::link!("kernel32.dll" "system" fn GetCompressedFileSizeW(lpfilename : ::windows_sys::core::PCWSTR, lpfilesizehigh : *mut u32) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCurrentClockTransactionManager(transactionmanagerhandle : super::super::Foundation:: HANDLE, tmvirtualclock : *mut i64) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetDiskFreeSpaceA(lprootpathname : ::windows_sys::core::PCSTR, lpsectorspercluster : *mut u32, lpbytespersector : *mut u32, lpnumberoffreeclusters : *mut u32, lptotalnumberofclusters : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetDiskFreeSpaceExA(lpdirectoryname : ::windows_sys::core::PCSTR, lpfreebytesavailabletocaller : *mut u64, lptotalnumberofbytes : *mut u64, lptotalnumberoffreebytes : *mut u64) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetDiskFreeSpaceExW(lpdirectoryname : ::windows_sys::core::PCWSTR, lpfreebytesavailabletocaller : *mut u64, lptotalnumberofbytes : *mut u64, lptotalnumberoffreebytes : *mut u64) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetDiskFreeSpaceW(lprootpathname : ::windows_sys::core::PCWSTR, lpsectorspercluster : *mut u32, lpbytespersector : *mut u32, lpnumberoffreeclusters : *mut u32, lptotalnumberofclusters : *mut u32) -> super::super::Foundation:: BOOL); -::windows_targets::link!("kernel32.dll" "system" fn GetDiskSpaceInformationA(rootpath : ::windows_sys::core::PCSTR, diskspaceinfo : *mut DISK_SPACE_INFORMATION) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("kernel32.dll" "system" fn GetDiskSpaceInformationW(rootpath : ::windows_sys::core::PCWSTR, diskspaceinfo : *mut DISK_SPACE_INFORMATION) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("kernel32.dll" "system" fn GetDriveTypeA(lprootpathname : ::windows_sys::core::PCSTR) -> u32); -::windows_targets::link!("kernel32.dll" "system" fn GetDriveTypeW(lprootpathname : ::windows_sys::core::PCWSTR) -> u32); -::windows_targets::link!("advapi32.dll" "system" fn GetEncryptedFileMetadata(lpfilename : ::windows_sys::core::PCWSTR, pcbmetadata : *mut u32, ppbmetadata : *mut *mut u8) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetEnlistmentId(enlistmenthandle : super::super::Foundation:: HANDLE, enlistmentid : *mut ::windows_sys::core::GUID) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetEnlistmentRecoveryInformation(enlistmenthandle : super::super::Foundation:: HANDLE, buffersize : u32, buffer : *mut ::core::ffi::c_void, bufferused : *mut u32) -> super::super::Foundation:: BOOL); -::windows_targets::link!("kernel32.dll" "system" fn GetExpandedNameA(lpszsource : ::windows_sys::core::PCSTR, lpszbuffer : ::windows_sys::core::PSTR) -> i32); -::windows_targets::link!("kernel32.dll" "system" fn GetExpandedNameW(lpszsource : ::windows_sys::core::PCWSTR, lpszbuffer : ::windows_sys::core::PWSTR) -> i32); -::windows_targets::link!("kernel32.dll" "system" fn GetFileAttributesA(lpfilename : ::windows_sys::core::PCSTR) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFileAttributesExA(lpfilename : ::windows_sys::core::PCSTR, finfolevelid : GET_FILEEX_INFO_LEVELS, lpfileinformation : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-core-file-fromapp-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFileAttributesExFromAppW(lpfilename : ::windows_sys::core::PCWSTR, finfolevelid : GET_FILEEX_INFO_LEVELS, lpfileinformation : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFileAttributesExW(lpfilename : ::windows_sys::core::PCWSTR, finfolevelid : GET_FILEEX_INFO_LEVELS, lpfileinformation : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFileAttributesTransactedA(lpfilename : ::windows_sys::core::PCSTR, finfolevelid : GET_FILEEX_INFO_LEVELS, lpfileinformation : *mut ::core::ffi::c_void, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFileAttributesTransactedW(lpfilename : ::windows_sys::core::PCWSTR, finfolevelid : GET_FILEEX_INFO_LEVELS, lpfileinformation : *mut ::core::ffi::c_void, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -::windows_targets::link!("kernel32.dll" "system" fn GetFileAttributesW(lpfilename : ::windows_sys::core::PCWSTR) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFileBandwidthReservation(hfile : super::super::Foundation:: HANDLE, lpperiodmilliseconds : *mut u32, lpbytesperperiod : *mut u32, pdiscardable : *mut super::super::Foundation:: BOOL, lptransfersize : *mut u32, lpnumoutstandingrequests : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFileInformationByHandle(hfile : super::super::Foundation:: HANDLE, lpfileinformation : *mut BY_HANDLE_FILE_INFORMATION) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFileInformationByHandleEx(hfile : super::super::Foundation:: HANDLE, fileinformationclass : FILE_INFO_BY_HANDLE_CLASS, lpfileinformation : *mut ::core::ffi::c_void, dwbuffersize : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFileSize(hfile : super::super::Foundation:: HANDLE, lpfilesizehigh : *mut u32) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFileSizeEx(hfile : super::super::Foundation:: HANDLE, lpfilesize : *mut i64) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFileTime(hfile : super::super::Foundation:: HANDLE, lpcreationtime : *mut super::super::Foundation:: FILETIME, lplastaccesstime : *mut super::super::Foundation:: FILETIME, lplastwritetime : *mut super::super::Foundation:: FILETIME) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFileType(hfile : super::super::Foundation:: HANDLE) -> FILE_TYPE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("version.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFileVersionInfoA(lptstrfilename : ::windows_sys::core::PCSTR, dwhandle : u32, dwlen : u32, lpdata : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("version.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFileVersionInfoExA(dwflags : GET_FILE_VERSION_INFO_FLAGS, lpwstrfilename : ::windows_sys::core::PCSTR, dwhandle : u32, dwlen : u32, lpdata : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("version.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFileVersionInfoExW(dwflags : GET_FILE_VERSION_INFO_FLAGS, lpwstrfilename : ::windows_sys::core::PCWSTR, dwhandle : u32, dwlen : u32, lpdata : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -::windows_targets::link!("version.dll" "system" fn GetFileVersionInfoSizeA(lptstrfilename : ::windows_sys::core::PCSTR, lpdwhandle : *mut u32) -> u32); -::windows_targets::link!("version.dll" "system" fn GetFileVersionInfoSizeExA(dwflags : GET_FILE_VERSION_INFO_FLAGS, lpwstrfilename : ::windows_sys::core::PCSTR, lpdwhandle : *mut u32) -> u32); -::windows_targets::link!("version.dll" "system" fn GetFileVersionInfoSizeExW(dwflags : GET_FILE_VERSION_INFO_FLAGS, lpwstrfilename : ::windows_sys::core::PCWSTR, lpdwhandle : *mut u32) -> u32); -::windows_targets::link!("version.dll" "system" fn GetFileVersionInfoSizeW(lptstrfilename : ::windows_sys::core::PCWSTR, lpdwhandle : *mut u32) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("version.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFileVersionInfoW(lptstrfilename : ::windows_sys::core::PCWSTR, dwhandle : u32, dwlen : u32, lpdata : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFinalPathNameByHandleA(hfile : super::super::Foundation:: HANDLE, lpszfilepath : ::windows_sys::core::PSTR, cchfilepath : u32, dwflags : GETFINALPATHNAMEBYHANDLE_FLAGS) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFinalPathNameByHandleW(hfile : super::super::Foundation:: HANDLE, lpszfilepath : ::windows_sys::core::PWSTR, cchfilepath : u32, dwflags : GETFINALPATHNAMEBYHANDLE_FLAGS) -> u32); -::windows_targets::link!("kernel32.dll" "system" fn GetFullPathNameA(lpfilename : ::windows_sys::core::PCSTR, nbufferlength : u32, lpbuffer : ::windows_sys::core::PSTR, lpfilepart : *mut ::windows_sys::core::PSTR) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFullPathNameTransactedA(lpfilename : ::windows_sys::core::PCSTR, nbufferlength : u32, lpbuffer : ::windows_sys::core::PSTR, lpfilepart : *mut ::windows_sys::core::PSTR, htransaction : super::super::Foundation:: HANDLE) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFullPathNameTransactedW(lpfilename : ::windows_sys::core::PCWSTR, nbufferlength : u32, lpbuffer : ::windows_sys::core::PWSTR, lpfilepart : *mut ::windows_sys::core::PWSTR, htransaction : super::super::Foundation:: HANDLE) -> u32); -::windows_targets::link!("kernel32.dll" "system" fn GetFullPathNameW(lpfilename : ::windows_sys::core::PCWSTR, nbufferlength : u32, lpbuffer : ::windows_sys::core::PWSTR, lpfilepart : *mut ::windows_sys::core::PWSTR) -> u32); -::windows_targets::link!("api-ms-win-core-ioring-l1-1-0.dll" "system" fn GetIoRingInfo(ioring : HIORING, info : *mut IORING_INFO) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetLogContainerName(hlog : super::super::Foundation:: HANDLE, cidlogicalcontainer : u32, pwstrcontainername : ::windows_sys::core::PCWSTR, clencontainername : u32, pcactuallencontainername : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetLogFileInformation(hlog : super::super::Foundation:: HANDLE, pinfobuffer : *mut CLS_INFORMATION, cbbuffer : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetLogIoStatistics(hlog : super::super::Foundation:: HANDLE, pvstatsbuffer : *mut ::core::ffi::c_void, cbstatsbuffer : u32, estatsclass : CLFS_IOSTATS_CLASS, pcbstatswritten : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetLogReservationInfo(pvmarshal : *const ::core::ffi::c_void, pcbrecordnumber : *mut u32, pcbuserreservation : *mut i64, pcbcommitreservation : *mut i64) -> super::super::Foundation:: BOOL); -::windows_targets::link!("kernel32.dll" "system" fn GetLogicalDriveStringsA(nbufferlength : u32, lpbuffer : ::windows_sys::core::PSTR) -> u32); -::windows_targets::link!("kernel32.dll" "system" fn GetLogicalDriveStringsW(nbufferlength : u32, lpbuffer : ::windows_sys::core::PWSTR) -> u32); -::windows_targets::link!("kernel32.dll" "system" fn GetLogicalDrives() -> u32); -::windows_targets::link!("kernel32.dll" "system" fn GetLongPathNameA(lpszshortpath : ::windows_sys::core::PCSTR, lpszlongpath : ::windows_sys::core::PSTR, cchbuffer : u32) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetLongPathNameTransactedA(lpszshortpath : ::windows_sys::core::PCSTR, lpszlongpath : ::windows_sys::core::PSTR, cchbuffer : u32, htransaction : super::super::Foundation:: HANDLE) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetLongPathNameTransactedW(lpszshortpath : ::windows_sys::core::PCWSTR, lpszlongpath : ::windows_sys::core::PWSTR, cchbuffer : u32, htransaction : super::super::Foundation:: HANDLE) -> u32); -::windows_targets::link!("kernel32.dll" "system" fn GetLongPathNameW(lpszshortpath : ::windows_sys::core::PCWSTR, lpszlongpath : ::windows_sys::core::PWSTR, cchbuffer : u32) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetNextLogArchiveExtent(pvarchivecontext : *mut ::core::ffi::c_void, rgadextent : *mut CLS_ARCHIVE_DESCRIPTOR, cdescriptors : u32, pcdescriptorsreturned : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetNotificationResourceManager(resourcemanagerhandle : super::super::Foundation:: HANDLE, transactionnotification : *mut TRANSACTION_NOTIFICATION, notificationlength : u32, dwmilliseconds : u32, returnlength : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn GetNotificationResourceManagerAsync(resourcemanagerhandle : super::super::Foundation:: HANDLE, transactionnotification : *mut TRANSACTION_NOTIFICATION, transactionnotificationlength : u32, returnlength : *mut u32, lpoverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); -::windows_targets::link!("kernel32.dll" "system" fn GetShortPathNameA(lpszlongpath : ::windows_sys::core::PCSTR, lpszshortpath : ::windows_sys::core::PSTR, cchbuffer : u32) -> u32); -::windows_targets::link!("kernel32.dll" "system" fn GetShortPathNameW(lpszlongpath : ::windows_sys::core::PCWSTR, lpszshortpath : ::windows_sys::core::PWSTR, cchbuffer : u32) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetTapeParameters(hdevice : super::super::Foundation:: HANDLE, dwoperation : GET_TAPE_DRIVE_PARAMETERS_OPERATION, lpdwsize : *mut u32, lptapeinformation : *mut ::core::ffi::c_void) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetTapePosition(hdevice : super::super::Foundation:: HANDLE, dwpositiontype : TAPE_POSITION_TYPE, lpdwpartition : *mut u32, lpdwoffsetlow : *mut u32, lpdwoffsethigh : *mut u32) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetTapeStatus(hdevice : super::super::Foundation:: HANDLE) -> u32); -::windows_targets::link!("kernel32.dll" "system" fn GetTempFileNameA(lppathname : ::windows_sys::core::PCSTR, lpprefixstring : ::windows_sys::core::PCSTR, uunique : u32, lptempfilename : ::windows_sys::core::PSTR) -> u32); -::windows_targets::link!("kernel32.dll" "system" fn GetTempFileNameW(lppathname : ::windows_sys::core::PCWSTR, lpprefixstring : ::windows_sys::core::PCWSTR, uunique : u32, lptempfilename : ::windows_sys::core::PWSTR) -> u32); -::windows_targets::link!("kernel32.dll" "system" fn GetTempPath2A(bufferlength : u32, buffer : ::windows_sys::core::PSTR) -> u32); -::windows_targets::link!("kernel32.dll" "system" fn GetTempPath2W(bufferlength : u32, buffer : ::windows_sys::core::PWSTR) -> u32); -::windows_targets::link!("kernel32.dll" "system" fn GetTempPathA(nbufferlength : u32, lpbuffer : ::windows_sys::core::PSTR) -> u32); -::windows_targets::link!("kernel32.dll" "system" fn GetTempPathW(nbufferlength : u32, lpbuffer : ::windows_sys::core::PWSTR) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetTransactionId(transactionhandle : super::super::Foundation:: HANDLE, transactionid : *mut ::windows_sys::core::GUID) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetTransactionInformation(transactionhandle : super::super::Foundation:: HANDLE, outcome : *mut u32, isolationlevel : *mut u32, isolationflags : *mut u32, timeout : *mut u32, bufferlength : u32, description : ::windows_sys::core::PWSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetTransactionManagerId(transactionmanagerhandle : super::super::Foundation:: HANDLE, transactionmanagerid : *mut ::windows_sys::core::GUID) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetVolumeInformationA(lprootpathname : ::windows_sys::core::PCSTR, lpvolumenamebuffer : ::windows_sys::core::PSTR, nvolumenamesize : u32, lpvolumeserialnumber : *mut u32, lpmaximumcomponentlength : *mut u32, lpfilesystemflags : *mut u32, lpfilesystemnamebuffer : ::windows_sys::core::PSTR, nfilesystemnamesize : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetVolumeInformationByHandleW(hfile : super::super::Foundation:: HANDLE, lpvolumenamebuffer : ::windows_sys::core::PWSTR, nvolumenamesize : u32, lpvolumeserialnumber : *mut u32, lpmaximumcomponentlength : *mut u32, lpfilesystemflags : *mut u32, lpfilesystemnamebuffer : ::windows_sys::core::PWSTR, nfilesystemnamesize : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetVolumeInformationW(lprootpathname : ::windows_sys::core::PCWSTR, lpvolumenamebuffer : ::windows_sys::core::PWSTR, nvolumenamesize : u32, lpvolumeserialnumber : *mut u32, lpmaximumcomponentlength : *mut u32, lpfilesystemflags : *mut u32, lpfilesystemnamebuffer : ::windows_sys::core::PWSTR, nfilesystemnamesize : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetVolumeNameForVolumeMountPointA(lpszvolumemountpoint : ::windows_sys::core::PCSTR, lpszvolumename : ::windows_sys::core::PSTR, cchbufferlength : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetVolumeNameForVolumeMountPointW(lpszvolumemountpoint : ::windows_sys::core::PCWSTR, lpszvolumename : ::windows_sys::core::PWSTR, cchbufferlength : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetVolumePathNameA(lpszfilename : ::windows_sys::core::PCSTR, lpszvolumepathname : ::windows_sys::core::PSTR, cchbufferlength : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetVolumePathNameW(lpszfilename : ::windows_sys::core::PCWSTR, lpszvolumepathname : ::windows_sys::core::PWSTR, cchbufferlength : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetVolumePathNamesForVolumeNameA(lpszvolumename : ::windows_sys::core::PCSTR, lpszvolumepathnames : ::windows_sys::core::PSTR, cchbufferlength : u32, lpcchreturnlength : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetVolumePathNamesForVolumeNameW(lpszvolumename : ::windows_sys::core::PCWSTR, lpszvolumepathnames : ::windows_sys::core::PWSTR, cchbufferlength : u32, lpcchreturnlength : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn HandleLogFull(hlog : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn InstallLogPolicy(hlog : super::super::Foundation:: HANDLE, ppolicy : *mut CLFS_MGMT_POLICY) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-core-ioring-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsIoRingOpSupported(ioring : HIORING, op : IORING_OP_CODE) -> super::super::Foundation:: BOOL); -::windows_targets::link!("kernel32.dll" "system" fn LZClose(hfile : i32) -> ()); -::windows_targets::link!("kernel32.dll" "system" fn LZCopy(hfsource : i32, hfdest : i32) -> i32); -::windows_targets::link!("kernel32.dll" "system" fn LZDone() -> ()); -::windows_targets::link!("kernel32.dll" "system" fn LZInit(hfsource : i32) -> i32); -::windows_targets::link!("kernel32.dll" "system" fn LZOpenFileA(lpfilename : ::windows_sys::core::PCSTR, lpreopenbuf : *mut OFSTRUCT, wstyle : LZOPENFILE_STYLE) -> i32); -::windows_targets::link!("kernel32.dll" "system" fn LZOpenFileW(lpfilename : ::windows_sys::core::PCWSTR, lpreopenbuf : *mut OFSTRUCT, wstyle : LZOPENFILE_STYLE) -> i32); -::windows_targets::link!("kernel32.dll" "system" fn LZRead(hfile : i32, lpbuffer : ::windows_sys::core::PSTR, cbread : i32) -> i32); -::windows_targets::link!("kernel32.dll" "system" fn LZSeek(hfile : i32, loffset : i32, iorigin : i32) -> i32); -::windows_targets::link!("kernel32.dll" "system" fn LZStart() -> i32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LocalFileTimeToFileTime(lplocalfiletime : *const super::super::Foundation:: FILETIME, lpfiletime : *mut super::super::Foundation:: FILETIME) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LockFile(hfile : super::super::Foundation:: HANDLE, dwfileoffsetlow : u32, dwfileoffsethigh : u32, nnumberofbytestolocklow : u32, nnumberofbytestolockhigh : u32) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn LockFileEx(hfile : super::super::Foundation:: HANDLE, dwflags : LOCK_FILE_FLAGS, dwreserved : u32, nnumberofbytestolocklow : u32, nnumberofbytestolockhigh : u32, lpoverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LogTailAdvanceFailure(hlog : super::super::Foundation:: HANDLE, dwreason : u32) -> super::super::Foundation:: BOOL); -::windows_targets::link!("clfsw32.dll" "system" fn LsnBlockOffset(plsn : *const CLS_LSN) -> u32); -::windows_targets::link!("clfsw32.dll" "system" fn LsnContainer(plsn : *const CLS_LSN) -> u32); -::windows_targets::link!("clfsw32.dll" "system" fn LsnCreate(cidcontainer : u32, offblock : u32, crecord : u32) -> CLS_LSN); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsnEqual(plsn1 : *const CLS_LSN, plsn2 : *const CLS_LSN) -> super::super::Foundation:: BOOLEAN); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsnGreater(plsn1 : *const CLS_LSN, plsn2 : *const CLS_LSN) -> super::super::Foundation:: BOOLEAN); -::windows_targets::link!("clfsw32.dll" "system" fn LsnIncrement(plsn : *const CLS_LSN) -> CLS_LSN); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsnInvalid(plsn : *const CLS_LSN) -> super::super::Foundation:: BOOLEAN); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsnLess(plsn1 : *const CLS_LSN, plsn2 : *const CLS_LSN) -> super::super::Foundation:: BOOLEAN); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsnNull(plsn : *const CLS_LSN) -> super::super::Foundation:: BOOLEAN); -::windows_targets::link!("clfsw32.dll" "system" fn LsnRecordSequence(plsn : *const CLS_LSN) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MoveFileA(lpexistingfilename : ::windows_sys::core::PCSTR, lpnewfilename : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MoveFileExA(lpexistingfilename : ::windows_sys::core::PCSTR, lpnewfilename : ::windows_sys::core::PCSTR, dwflags : MOVE_FILE_FLAGS) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MoveFileExW(lpexistingfilename : ::windows_sys::core::PCWSTR, lpnewfilename : ::windows_sys::core::PCWSTR, dwflags : MOVE_FILE_FLAGS) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-core-file-fromapp-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MoveFileFromAppW(lpexistingfilename : ::windows_sys::core::PCWSTR, lpnewfilename : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MoveFileTransactedA(lpexistingfilename : ::windows_sys::core::PCSTR, lpnewfilename : ::windows_sys::core::PCSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, dwflags : MOVE_FILE_FLAGS, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MoveFileTransactedW(lpexistingfilename : ::windows_sys::core::PCWSTR, lpnewfilename : ::windows_sys::core::PCWSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, dwflags : MOVE_FILE_FLAGS, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MoveFileW(lpexistingfilename : ::windows_sys::core::PCWSTR, lpnewfilename : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MoveFileWithProgressA(lpexistingfilename : ::windows_sys::core::PCSTR, lpnewfilename : ::windows_sys::core::PCSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, dwflags : MOVE_FILE_FLAGS) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MoveFileWithProgressW(lpexistingfilename : ::windows_sys::core::PCWSTR, lpnewfilename : ::windows_sys::core::PCWSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, dwflags : MOVE_FILE_FLAGS) -> super::super::Foundation:: BOOL); -::windows_targets::link!("netapi32.dll" "system" fn NetConnectionEnum(servername : ::windows_sys::core::PCWSTR, qualifier : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32, resume_handle : *mut u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetFileClose(servername : ::windows_sys::core::PCWSTR, fileid : u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetFileEnum(servername : ::windows_sys::core::PCWSTR, basepath : ::windows_sys::core::PCWSTR, username : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32, resume_handle : *mut usize) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetFileGetInfo(servername : ::windows_sys::core::PCWSTR, fileid : u32, level : u32, bufptr : *mut *mut u8) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetServerAliasAdd(servername : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetServerAliasDel(servername : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetServerAliasEnum(servername : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32, resumehandle : *mut u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetSessionDel(servername : ::windows_sys::core::PCWSTR, uncclientname : ::windows_sys::core::PCWSTR, username : ::windows_sys::core::PCWSTR) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetSessionEnum(servername : ::windows_sys::core::PCWSTR, uncclientname : ::windows_sys::core::PCWSTR, username : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32, resume_handle : *mut u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetSessionGetInfo(servername : ::windows_sys::core::PCWSTR, uncclientname : ::windows_sys::core::PCWSTR, username : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetShareAdd(servername : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8, parm_err : *mut u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetShareCheck(servername : ::windows_sys::core::PCWSTR, device : ::windows_sys::core::PCWSTR, r#type : *mut u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetShareDel(servername : ::windows_sys::core::PCWSTR, netname : ::windows_sys::core::PCWSTR, reserved : u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetShareDelEx(servername : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetShareDelSticky(servername : ::windows_sys::core::PCWSTR, netname : ::windows_sys::core::PCWSTR, reserved : u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetShareEnum(servername : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32, resume_handle : *mut u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetShareEnumSticky(servername : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32, resume_handle : *mut u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetShareGetInfo(servername : ::windows_sys::core::PCWSTR, netname : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetShareSetInfo(servername : ::windows_sys::core::PCWSTR, netname : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8, parm_err : *mut u32) -> u32); -::windows_targets::link!("netapi32.dll" "system" fn NetStatisticsGet(servername : *const i8, service : *const i8, level : u32, options : u32, buffer : *mut *mut u8) -> u32); -::windows_targets::link!("advapi32.dll" "system" fn OpenEncryptedFileRawA(lpfilename : ::windows_sys::core::PCSTR, ulflags : u32, pvcontext : *mut *mut ::core::ffi::c_void) -> u32); -::windows_targets::link!("advapi32.dll" "system" fn OpenEncryptedFileRawW(lpfilename : ::windows_sys::core::PCWSTR, ulflags : u32, pvcontext : *mut *mut ::core::ffi::c_void) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OpenEnlistment(dwdesiredaccess : u32, resourcemanagerhandle : super::super::Foundation:: HANDLE, enlistmentid : *mut ::windows_sys::core::GUID) -> super::super::Foundation:: HANDLE); -::windows_targets::link!("kernel32.dll" "system" fn OpenFile(lpfilename : ::windows_sys::core::PCSTR, lpreopenbuff : *mut OFSTRUCT, ustyle : u32) -> i32); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn OpenFileById(hvolumehint : super::super::Foundation:: HANDLE, lpfileid : *const FILE_ID_DESCRIPTOR, dwdesiredaccess : u32, dwsharemode : FILE_SHARE_MODE, lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OpenResourceManager(dwdesiredaccess : u32, tmhandle : super::super::Foundation:: HANDLE, resourcemanagerid : *mut ::windows_sys::core::GUID) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OpenTransaction(dwdesiredaccess : u32, transactionid : *mut ::windows_sys::core::GUID) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OpenTransactionManager(logfilename : ::windows_sys::core::PCWSTR, desiredaccess : u32, openoptions : u32) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OpenTransactionManagerById(transactionmanagerid : *const ::windows_sys::core::GUID, desiredaccess : u32, openoptions : u32) -> super::super::Foundation:: HANDLE); -::windows_targets::link!("api-ms-win-core-ioring-l1-1-0.dll" "system" fn PopIoRingCompletion(ioring : HIORING, cqe : *mut IORING_CQE) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrePrepareComplete(enlistmenthandle : super::super::Foundation:: HANDLE, tmvirtualclock : *mut i64) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrePrepareEnlistment(enlistmenthandle : super::super::Foundation:: HANDLE, tmvirtualclock : *mut i64) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrepareComplete(enlistmenthandle : super::super::Foundation:: HANDLE, tmvirtualclock : *mut i64) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrepareEnlistment(enlistmenthandle : super::super::Foundation:: HANDLE, tmvirtualclock : *mut i64) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrepareLogArchive(hlog : super::super::Foundation:: HANDLE, pszbaselogfilename : ::windows_sys::core::PWSTR, clen : u32, plsnlow : *const CLS_LSN, plsnhigh : *const CLS_LSN, pcactuallength : *mut u32, poffbaselogfiledata : *mut u64, pcbbaselogfilelength : *mut u64, plsnbase : *mut CLS_LSN, plsnlast : *mut CLS_LSN, plsncurrentarchivetail : *mut CLS_LSN, ppvarchivecontext : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrepareTape(hdevice : super::super::Foundation:: HANDLE, dwoperation : PREPARE_TAPE_OPERATION, bimmediate : super::super::Foundation:: BOOL) -> u32); -::windows_targets::link!("kernel32.dll" "system" fn QueryDosDeviceA(lpdevicename : ::windows_sys::core::PCSTR, lptargetpath : ::windows_sys::core::PSTR, ucchmax : u32) -> u32); -::windows_targets::link!("kernel32.dll" "system" fn QueryDosDeviceW(lpdevicename : ::windows_sys::core::PCWSTR, lptargetpath : ::windows_sys::core::PWSTR, ucchmax : u32) -> u32); -::windows_targets::link!("api-ms-win-core-ioring-l1-1-0.dll" "system" fn QueryIoRingCapabilities(capabilities : *mut IORING_CAPABILITIES) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn QueryLogPolicy(hlog : super::super::Foundation:: HANDLE, epolicytype : CLFS_MGMT_POLICY_TYPE, ppolicybuffer : *mut CLFS_MGMT_POLICY, pcbpolicybuffer : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Security")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn QueryRecoveryAgentsOnEncryptedFile(lpfilename : ::windows_sys::core::PCWSTR, precoveryagents : *mut *mut ENCRYPTION_CERTIFICATE_HASH_LIST) -> u32); -#[cfg(feature = "Win32_Security")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn QueryUsersOnEncryptedFile(lpfilename : ::windows_sys::core::PCWSTR, pusers : *mut *mut ENCRYPTION_CERTIFICATE_HASH_LIST) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReOpenFile(horiginalfile : super::super::Foundation:: HANDLE, dwdesiredaccess : u32, dwsharemode : FILE_SHARE_MODE, dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES) -> super::super::Foundation:: HANDLE); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn ReadDirectoryChangesExW(hdirectory : super::super::Foundation:: HANDLE, lpbuffer : *mut ::core::ffi::c_void, nbufferlength : u32, bwatchsubtree : super::super::Foundation:: BOOL, dwnotifyfilter : FILE_NOTIFY_CHANGE, lpbytesreturned : *mut u32, lpoverlapped : *mut super::super::System::IO:: OVERLAPPED, lpcompletionroutine : super::super::System::IO:: LPOVERLAPPED_COMPLETION_ROUTINE, readdirectorynotifyinformationclass : READ_DIRECTORY_NOTIFY_INFORMATION_CLASS) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn ReadDirectoryChangesW(hdirectory : super::super::Foundation:: HANDLE, lpbuffer : *mut ::core::ffi::c_void, nbufferlength : u32, bwatchsubtree : super::super::Foundation:: BOOL, dwnotifyfilter : FILE_NOTIFY_CHANGE, lpbytesreturned : *mut u32, lpoverlapped : *mut super::super::System::IO:: OVERLAPPED, lpcompletionroutine : super::super::System::IO:: LPOVERLAPPED_COMPLETION_ROUTINE) -> super::super::Foundation:: BOOL); -::windows_targets::link!("advapi32.dll" "system" fn ReadEncryptedFileRaw(pfexportcallback : PFE_EXPORT_FUNC, pvcallbackcontext : *const ::core::ffi::c_void, pvcontext : *const ::core::ffi::c_void) -> u32); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn ReadFile(hfile : super::super::Foundation:: HANDLE, lpbuffer : *mut u8, nnumberofbytestoread : u32, lpnumberofbytesread : *mut u32, lpoverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn ReadFileEx(hfile : super::super::Foundation:: HANDLE, lpbuffer : *mut u8, nnumberofbytestoread : u32, lpoverlapped : *mut super::super::System::IO:: OVERLAPPED, lpcompletionroutine : super::super::System::IO:: LPOVERLAPPED_COMPLETION_ROUTINE) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn ReadFileScatter(hfile : super::super::Foundation:: HANDLE, asegmentarray : *const FILE_SEGMENT_ELEMENT, nnumberofbytestoread : u32, lpreserved : *const u32, lpoverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReadLogArchiveMetadata(pvarchivecontext : *mut ::core::ffi::c_void, cboffset : u32, cbbytestoread : u32, pbreadbuffer : *mut u8, pcbbytesread : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn ReadLogNotification(hlog : super::super::Foundation:: HANDLE, pnotification : *mut CLFS_MGMT_NOTIFICATION, lpoverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn ReadLogRecord(pvmarshal : *mut ::core::ffi::c_void, plsnfirst : *mut CLS_LSN, econtextmode : CLFS_CONTEXT_MODE, ppvreadbuffer : *mut *mut ::core::ffi::c_void, pcbreadbuffer : *mut u32, perecordtype : *mut u8, plsnundonext : *mut CLS_LSN, plsnprevious : *mut CLS_LSN, ppvreadcontext : *mut *mut ::core::ffi::c_void, poverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn ReadLogRestartArea(pvmarshal : *mut ::core::ffi::c_void, ppvrestartbuffer : *mut *mut ::core::ffi::c_void, pcbrestartbuffer : *mut u32, plsn : *mut CLS_LSN, ppvcontext : *mut *mut ::core::ffi::c_void, poverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn ReadNextLogRecord(pvreadcontext : *mut ::core::ffi::c_void, ppvbuffer : *mut *mut ::core::ffi::c_void, pcbbuffer : *mut u32, perecordtype : *mut u8, plsnuser : *mut CLS_LSN, plsnundonext : *mut CLS_LSN, plsnprevious : *mut CLS_LSN, plsnrecord : *mut CLS_LSN, poverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReadOnlyEnlistment(enlistmenthandle : super::super::Foundation:: HANDLE, tmvirtualclock : *mut i64) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn ReadPreviousLogRestartArea(pvreadcontext : *mut ::core::ffi::c_void, ppvrestartbuffer : *mut *mut ::core::ffi::c_void, pcbrestartbuffer : *mut u32, plsnrestart : *mut CLS_LSN, poverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RecoverEnlistment(enlistmenthandle : super::super::Foundation:: HANDLE, enlistmentkey : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RecoverResourceManager(resourcemanagerhandle : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RecoverTransactionManager(transactionmanagerhandle : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RegisterForLogWriteNotification(hlog : super::super::Foundation:: HANDLE, cbthreshold : u32, fenable : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RegisterManageableLogClient(hlog : super::super::Foundation:: HANDLE, pcallbacks : *mut LOG_MANAGEMENT_CALLBACKS) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RemoveDirectoryA(lppathname : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-core-file-fromapp-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RemoveDirectoryFromAppW(lppathname : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RemoveDirectoryTransactedA(lppathname : ::windows_sys::core::PCSTR, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RemoveDirectoryTransactedW(lppathname : ::windows_sys::core::PCWSTR, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RemoveDirectoryW(lppathname : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RemoveLogContainer(hlog : super::super::Foundation:: HANDLE, pwszcontainerpath : ::windows_sys::core::PCWSTR, fforce : super::super::Foundation:: BOOL, preserved : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RemoveLogContainerSet(hlog : super::super::Foundation:: HANDLE, ccontainer : u16, rgwszcontainerpath : *const ::windows_sys::core::PCWSTR, fforce : super::super::Foundation:: BOOL, preserved : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RemoveLogPolicy(hlog : super::super::Foundation:: HANDLE, epolicytype : CLFS_MGMT_POLICY_TYPE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Security")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn RemoveUsersFromEncryptedFile(lpfilename : ::windows_sys::core::PCWSTR, phashes : *const ENCRYPTION_CERTIFICATE_HASH_LIST) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RenameTransactionManager(logfilename : ::windows_sys::core::PCWSTR, existingtransactionmanagerguid : *mut ::windows_sys::core::GUID) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReplaceFileA(lpreplacedfilename : ::windows_sys::core::PCSTR, lpreplacementfilename : ::windows_sys::core::PCSTR, lpbackupfilename : ::windows_sys::core::PCSTR, dwreplaceflags : REPLACE_FILE_FLAGS, lpexclude : *const ::core::ffi::c_void, lpreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-core-file-fromapp-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReplaceFileFromAppW(lpreplacedfilename : ::windows_sys::core::PCWSTR, lpreplacementfilename : ::windows_sys::core::PCWSTR, lpbackupfilename : ::windows_sys::core::PCWSTR, dwreplaceflags : u32, lpexclude : *const ::core::ffi::c_void, lpreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReplaceFileW(lpreplacedfilename : ::windows_sys::core::PCWSTR, lpreplacementfilename : ::windows_sys::core::PCWSTR, lpbackupfilename : ::windows_sys::core::PCWSTR, dwreplaceflags : REPLACE_FILE_FLAGS, lpexclude : *const ::core::ffi::c_void, lpreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn ReserveAndAppendLog(pvmarshal : *mut ::core::ffi::c_void, rgwriteentries : *mut CLS_WRITE_ENTRY, cwriteentries : u32, plsnundonext : *mut CLS_LSN, plsnprevious : *mut CLS_LSN, creserverecords : u32, rgcbreservation : *mut i64, fflags : CLFS_FLAG, plsn : *mut CLS_LSN, poverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn ReserveAndAppendLogAligned(pvmarshal : *mut ::core::ffi::c_void, rgwriteentries : *mut CLS_WRITE_ENTRY, cwriteentries : u32, cbentryalignment : u32, plsnundonext : *mut CLS_LSN, plsnprevious : *mut CLS_LSN, creserverecords : u32, rgcbreservation : *mut i64, fflags : CLFS_FLAG, plsn : *mut CLS_LSN, poverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RollbackComplete(enlistmenthandle : super::super::Foundation:: HANDLE, tmvirtualclock : *mut i64) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RollbackEnlistment(enlistmenthandle : super::super::Foundation:: HANDLE, tmvirtualclock : *mut i64) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RollbackTransaction(transactionhandle : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RollbackTransactionAsync(transactionhandle : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RollforwardTransactionManager(transactionmanagerhandle : super::super::Foundation:: HANDLE, tmvirtualclock : *mut i64) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ScanLogContainers(pcxscan : *mut CLS_SCAN_CONTEXT, escanmode : u8, preserved : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -::windows_targets::link!("kernel32.dll" "system" fn SearchPathA(lppath : ::windows_sys::core::PCSTR, lpfilename : ::windows_sys::core::PCSTR, lpextension : ::windows_sys::core::PCSTR, nbufferlength : u32, lpbuffer : ::windows_sys::core::PSTR, lpfilepart : *mut ::windows_sys::core::PSTR) -> u32); -::windows_targets::link!("kernel32.dll" "system" fn SearchPathW(lppath : ::windows_sys::core::PCWSTR, lpfilename : ::windows_sys::core::PCWSTR, lpextension : ::windows_sys::core::PCWSTR, nbufferlength : u32, lpbuffer : ::windows_sys::core::PWSTR, lpfilepart : *mut ::windows_sys::core::PWSTR) -> u32); -#[cfg(feature = "Win32_Security")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn SetEncryptedFileMetadata(lpfilename : ::windows_sys::core::PCWSTR, pboldmetadata : *const u8, pbnewmetadata : *const u8, pownerhash : *const ENCRYPTION_CERTIFICATE_HASH, dwoperation : u32, pcertificatesadded : *const ENCRYPTION_CERTIFICATE_HASH_LIST) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetEndOfFile(hfile : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn SetEndOfLog(hlog : super::super::Foundation:: HANDLE, plsnend : *mut CLS_LSN, lpoverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetEnlistmentRecoveryInformation(enlistmenthandle : super::super::Foundation:: HANDLE, buffersize : u32, buffer : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -::windows_targets::link!("kernel32.dll" "system" fn SetFileApisToANSI() -> ()); -::windows_targets::link!("kernel32.dll" "system" fn SetFileApisToOEM() -> ()); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetFileAttributesA(lpfilename : ::windows_sys::core::PCSTR, dwfileattributes : FILE_FLAGS_AND_ATTRIBUTES) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-core-file-fromapp-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetFileAttributesFromAppW(lpfilename : ::windows_sys::core::PCWSTR, dwfileattributes : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetFileAttributesTransactedA(lpfilename : ::windows_sys::core::PCSTR, dwfileattributes : u32, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetFileAttributesTransactedW(lpfilename : ::windows_sys::core::PCWSTR, dwfileattributes : u32, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetFileAttributesW(lpfilename : ::windows_sys::core::PCWSTR, dwfileattributes : FILE_FLAGS_AND_ATTRIBUTES) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetFileBandwidthReservation(hfile : super::super::Foundation:: HANDLE, nperiodmilliseconds : u32, nbytesperperiod : u32, bdiscardable : super::super::Foundation:: BOOL, lptransfersize : *mut u32, lpnumoutstandingrequests : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetFileCompletionNotificationModes(filehandle : super::super::Foundation:: HANDLE, flags : u8) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetFileInformationByHandle(hfile : super::super::Foundation:: HANDLE, fileinformationclass : FILE_INFO_BY_HANDLE_CLASS, lpfileinformation : *const ::core::ffi::c_void, dwbuffersize : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetFileIoOverlappedRange(filehandle : super::super::Foundation:: HANDLE, overlappedrangestart : *const u8, length : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetFilePointer(hfile : super::super::Foundation:: HANDLE, ldistancetomove : i32, lpdistancetomovehigh : *mut i32, dwmovemethod : SET_FILE_POINTER_MOVE_METHOD) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetFilePointerEx(hfile : super::super::Foundation:: HANDLE, lidistancetomove : i64, lpnewfilepointer : *mut i64, dwmovemethod : SET_FILE_POINTER_MOVE_METHOD) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetFileShortNameA(hfile : super::super::Foundation:: HANDLE, lpshortname : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetFileShortNameW(hfile : super::super::Foundation:: HANDLE, lpshortname : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetFileTime(hfile : super::super::Foundation:: HANDLE, lpcreationtime : *const super::super::Foundation:: FILETIME, lplastaccesstime : *const super::super::Foundation:: FILETIME, lplastwritetime : *const super::super::Foundation:: FILETIME) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetFileValidData(hfile : super::super::Foundation:: HANDLE, validdatalength : i64) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-core-ioring-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetIoRingCompletionEvent(ioring : HIORING, hevent : super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetLogArchiveMode(hlog : super::super::Foundation:: HANDLE, emode : CLFS_LOG_ARCHIVE_MODE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetLogArchiveTail(hlog : super::super::Foundation:: HANDLE, plsnarchivetail : *mut CLS_LSN, preserved : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetLogFileSizeWithPolicy(hlog : super::super::Foundation:: HANDLE, pdesiredsize : *const u64, presultingsize : *mut u64) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetResourceManagerCompletionPort(resourcemanagerhandle : super::super::Foundation:: HANDLE, iocompletionporthandle : super::super::Foundation:: HANDLE, completionkey : usize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetSearchPathMode(flags : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetTapeParameters(hdevice : super::super::Foundation:: HANDLE, dwoperation : TAPE_INFORMATION_TYPE, lptapeinformation : *const ::core::ffi::c_void) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetTapePosition(hdevice : super::super::Foundation:: HANDLE, dwpositionmethod : TAPE_POSITION_METHOD, dwpartition : u32, dwoffsetlow : u32, dwoffsethigh : u32, bimmediate : super::super::Foundation:: BOOL) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetTransactionInformation(transactionhandle : super::super::Foundation:: HANDLE, isolationlevel : u32, isolationflags : u32, timeout : u32, description : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Security")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn SetUserFileEncryptionKey(pencryptioncertificate : *const ENCRYPTION_CERTIFICATE) -> u32); -#[cfg(feature = "Win32_Security")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn SetUserFileEncryptionKeyEx(pencryptioncertificate : *const ENCRYPTION_CERTIFICATE, dwcapabilities : u32, dwflags : u32, pvreserved : *const ::core::ffi::c_void) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetVolumeLabelA(lprootpathname : ::windows_sys::core::PCSTR, lpvolumename : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetVolumeLabelW(lprootpathname : ::windows_sys::core::PCWSTR, lpvolumename : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetVolumeMountPointA(lpszvolumemountpoint : ::windows_sys::core::PCSTR, lpszvolumename : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetVolumeMountPointW(lpszvolumemountpoint : ::windows_sys::core::PCWSTR, lpszvolumename : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ktmw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SinglePhaseReject(enlistmenthandle : super::super::Foundation:: HANDLE, tmvirtualclock : *mut i64) -> super::super::Foundation:: BOOL); -::windows_targets::link!("api-ms-win-core-ioring-l1-1-0.dll" "system" fn SubmitIoRing(ioring : HIORING, waitoperations : u32, milliseconds : u32, submittedentries : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TerminateLogArchive(pvarchivecontext : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TerminateReadLog(pvcursorcontext : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn TruncateLog(pvmarshal : *const ::core::ffi::c_void, plsnend : *const CLS_LSN, lpoverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); -::windows_targets::link!("txfw32.dll" "system" fn TxfGetThreadMiniVersionForCreate(miniversion : *mut u16) -> ()); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("txfw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TxfLogCreateFileReadContext(logpath : ::windows_sys::core::PCWSTR, beginninglsn : CLS_LSN, endinglsn : CLS_LSN, txffileid : *const TXF_ID, txflogcontext : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("txfw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TxfLogCreateRangeReadContext(logpath : ::windows_sys::core::PCWSTR, beginninglsn : CLS_LSN, endinglsn : CLS_LSN, beginningvirtualclock : *const i64, endingvirtualclock : *const i64, recordtypemask : u32, txflogcontext : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("txfw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TxfLogDestroyReadContext(txflogcontext : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("txfw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TxfLogReadRecords(txflogcontext : *const ::core::ffi::c_void, bufferlength : u32, buffer : *mut ::core::ffi::c_void, bytesused : *mut u32, recordcount : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("txfw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TxfLogRecordGetFileName(recordbuffer : *const ::core::ffi::c_void, recordbufferlengthinbytes : u32, namebuffer : ::windows_sys::core::PWSTR, namebufferlengthinbytes : *mut u32, txfid : *mut TXF_ID) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("txfw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TxfLogRecordGetGenericType(recordbuffer : *const ::core::ffi::c_void, recordbufferlengthinbytes : u32, generictype : *mut u32, virtualclock : *mut i64) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("txfw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TxfReadMetadataInfo(filehandle : super::super::Foundation:: HANDLE, txffileid : *mut TXF_ID, lastlsn : *mut CLS_LSN, transactionstate : *mut u32, lockingtransaction : *mut ::windows_sys::core::GUID) -> super::super::Foundation:: BOOL); -::windows_targets::link!("txfw32.dll" "system" fn TxfSetThreadMiniVersionForCreate(miniversion : u16) -> ()); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn UnlockFile(hfile : super::super::Foundation:: HANDLE, dwfileoffsetlow : u32, dwfileoffsethigh : u32, nnumberofbytestounlocklow : u32, nnumberofbytestounlockhigh : u32) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn UnlockFileEx(hfile : super::super::Foundation:: HANDLE, dwreserved : u32, nnumberofbytestounlocklow : u32, nnumberofbytestounlockhigh : u32, lpoverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn ValidateLog(pszlogfilename : ::windows_sys::core::PCWSTR, psalogfile : *mut super::super::Security:: SECURITY_ATTRIBUTES, pinfobuffer : *mut CLS_INFORMATION, pcbbuffer : *mut u32) -> super::super::Foundation:: BOOL); -::windows_targets::link!("version.dll" "system" fn VerFindFileA(uflags : VER_FIND_FILE_FLAGS, szfilename : ::windows_sys::core::PCSTR, szwindir : ::windows_sys::core::PCSTR, szappdir : ::windows_sys::core::PCSTR, szcurdir : ::windows_sys::core::PSTR, pucurdirlen : *mut u32, szdestdir : ::windows_sys::core::PSTR, pudestdirlen : *mut u32) -> VER_FIND_FILE_STATUS); -::windows_targets::link!("version.dll" "system" fn VerFindFileW(uflags : VER_FIND_FILE_FLAGS, szfilename : ::windows_sys::core::PCWSTR, szwindir : ::windows_sys::core::PCWSTR, szappdir : ::windows_sys::core::PCWSTR, szcurdir : ::windows_sys::core::PWSTR, pucurdirlen : *mut u32, szdestdir : ::windows_sys::core::PWSTR, pudestdirlen : *mut u32) -> VER_FIND_FILE_STATUS); -::windows_targets::link!("version.dll" "system" fn VerInstallFileA(uflags : VER_INSTALL_FILE_FLAGS, szsrcfilename : ::windows_sys::core::PCSTR, szdestfilename : ::windows_sys::core::PCSTR, szsrcdir : ::windows_sys::core::PCSTR, szdestdir : ::windows_sys::core::PCSTR, szcurdir : ::windows_sys::core::PCSTR, sztmpfile : ::windows_sys::core::PSTR, putmpfilelen : *mut u32) -> VER_INSTALL_FILE_STATUS); -::windows_targets::link!("version.dll" "system" fn VerInstallFileW(uflags : VER_INSTALL_FILE_FLAGS, szsrcfilename : ::windows_sys::core::PCWSTR, szdestfilename : ::windows_sys::core::PCWSTR, szsrcdir : ::windows_sys::core::PCWSTR, szdestdir : ::windows_sys::core::PCWSTR, szcurdir : ::windows_sys::core::PCWSTR, sztmpfile : ::windows_sys::core::PWSTR, putmpfilelen : *mut u32) -> VER_INSTALL_FILE_STATUS); -::windows_targets::link!("kernel32.dll" "system" fn VerLanguageNameA(wlang : u32, szlang : ::windows_sys::core::PSTR, cchlang : u32) -> u32); -::windows_targets::link!("kernel32.dll" "system" fn VerLanguageNameW(wlang : u32, szlang : ::windows_sys::core::PWSTR, cchlang : u32) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("version.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VerQueryValueA(pblock : *const ::core::ffi::c_void, lpsubblock : ::windows_sys::core::PCSTR, lplpbuffer : *mut *mut ::core::ffi::c_void, pulen : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("version.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VerQueryValueW(pblock : *const ::core::ffi::c_void, lpsubblock : ::windows_sys::core::PCWSTR, lplpbuffer : *mut *mut ::core::ffi::c_void, pulen : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wofutil.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WofEnumEntries(volumename : ::windows_sys::core::PCWSTR, provider : u32, enumproc : WofEnumEntryProc, userdata : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wofutil.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WofFileEnumFiles(volumename : ::windows_sys::core::PCWSTR, algorithm : u32, enumproc : WofEnumFilesProc, userdata : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wofutil.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WofGetDriverVersion(fileorvolumehandle : super::super::Foundation:: HANDLE, provider : u32, wofversion : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wofutil.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WofIsExternalFile(filepath : ::windows_sys::core::PCWSTR, isexternalfile : *mut super::super::Foundation:: BOOL, provider : *mut u32, externalfileinfo : *mut ::core::ffi::c_void, bufferlength : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wofutil.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WofSetFileDataLocation(filehandle : super::super::Foundation:: HANDLE, provider : u32, externalfileinfo : *const ::core::ffi::c_void, length : u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wofutil.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WofShouldCompressBinaries(volume : ::windows_sys::core::PCWSTR, algorithm : *mut u32) -> super::super::Foundation:: BOOL); -::windows_targets::link!("wofutil.dll" "system" fn WofWimAddEntry(volumename : ::windows_sys::core::PCWSTR, wimpath : ::windows_sys::core::PCWSTR, wimtype : u32, wimindex : u32, datasourceid : *mut i64) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wofutil.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WofWimEnumFiles(volumename : ::windows_sys::core::PCWSTR, datasourceid : i64, enumproc : WofEnumFilesProc, userdata : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wofutil.dll" "system" fn WofWimRemoveEntry(volumename : ::windows_sys::core::PCWSTR, datasourceid : i64) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wofutil.dll" "system" fn WofWimSuspendEntry(volumename : ::windows_sys::core::PCWSTR, datasourceid : i64) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wofutil.dll" "system" fn WofWimUpdateEntry(volumename : ::windows_sys::core::PCWSTR, datasourceid : i64, newwimpath : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn Wow64DisableWow64FsRedirection(oldvalue : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn Wow64EnableWow64FsRedirection(wow64fsenableredirection : super::super::Foundation:: BOOLEAN) -> super::super::Foundation:: BOOLEAN); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn Wow64RevertWow64FsRedirection(olvalue : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -::windows_targets::link!("advapi32.dll" "system" fn WriteEncryptedFileRaw(pfimportcallback : PFE_IMPORT_FUNC, pvcallbackcontext : *const ::core::ffi::c_void, pvcontext : *const ::core::ffi::c_void) -> u32); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn WriteFile(hfile : super::super::Foundation:: HANDLE, lpbuffer : *const u8, nnumberofbytestowrite : u32, lpnumberofbyteswritten : *mut u32, lpoverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn WriteFileEx(hfile : super::super::Foundation:: HANDLE, lpbuffer : *const u8, nnumberofbytestowrite : u32, lpoverlapped : *mut super::super::System::IO:: OVERLAPPED, lpcompletionroutine : super::super::System::IO:: LPOVERLAPPED_COMPLETION_ROUTINE) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn WriteFileGather(hfile : super::super::Foundation:: HANDLE, asegmentarray : *const FILE_SEGMENT_ELEMENT, nnumberofbytestowrite : u32, lpreserved : *const u32, lpoverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn WriteLogRestartArea(pvmarshal : *mut ::core::ffi::c_void, pvrestartbuffer : *mut ::core::ffi::c_void, cbrestartbuffer : u32, plsnbase : *mut CLS_LSN, fflags : CLFS_FLAG, pcbwritten : *mut u32, plsnnext : *mut CLS_LSN, poverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WriteTapemark(hdevice : super::super::Foundation:: HANDLE, dwtapemarktype : TAPEMARK_TYPE, dwtapemarkcount : u32, bimmediate : super::super::Foundation:: BOOL) -> u32); -pub type IDiskQuotaControl = *mut ::core::ffi::c_void; -pub type IDiskQuotaEvents = *mut ::core::ffi::c_void; -pub type IDiskQuotaUser = *mut ::core::ffi::c_void; -pub type IDiskQuotaUserBatch = *mut ::core::ffi::c_void; -pub type IEnumDiskQuotaUsers = *mut ::core::ffi::c_void; -pub const ACCESS_ALL: SHARE_INFO_PERMISSIONS = 32768u32; -pub const ACCESS_ATRIB: SHARE_INFO_PERMISSIONS = 32u32; -pub const ACCESS_CREATE: SHARE_INFO_PERMISSIONS = 4u32; -pub const ACCESS_DELETE: SHARE_INFO_PERMISSIONS = 16u32; -pub const ACCESS_EXEC: SHARE_INFO_PERMISSIONS = 8u32; -pub const ACCESS_PERM: SHARE_INFO_PERMISSIONS = 64u32; -pub const ACCESS_READ: SHARE_INFO_PERMISSIONS = 1u32; -pub const ACCESS_WRITE: SHARE_INFO_PERMISSIONS = 2u32; -pub const BACKUP_ALTERNATE_DATA: WIN_STREAM_ID = 4u32; -pub const BACKUP_DATA: WIN_STREAM_ID = 1u32; -pub const BACKUP_EA_DATA: WIN_STREAM_ID = 2u32; -pub const BACKUP_LINK: WIN_STREAM_ID = 5u32; -pub const BACKUP_OBJECT_ID: WIN_STREAM_ID = 7u32; -pub const BACKUP_PROPERTY_DATA: WIN_STREAM_ID = 6u32; -pub const BACKUP_REPARSE_DATA: WIN_STREAM_ID = 8u32; -pub const BACKUP_SECURITY_DATA: WIN_STREAM_ID = 3u32; -pub const BACKUP_SPARSE_BLOCK: WIN_STREAM_ID = 9u32; -pub const BACKUP_TXFS_DATA: WIN_STREAM_ID = 10u32; -pub const BusType1394: STORAGE_BUS_TYPE = 4i32; -pub const BusTypeAta: STORAGE_BUS_TYPE = 3i32; -pub const BusTypeAtapi: STORAGE_BUS_TYPE = 2i32; -pub const BusTypeFibre: STORAGE_BUS_TYPE = 6i32; -pub const BusTypeFileBackedVirtual: STORAGE_BUS_TYPE = 15i32; -pub const BusTypeMax: STORAGE_BUS_TYPE = 20i32; -pub const BusTypeMaxReserved: STORAGE_BUS_TYPE = 127i32; -pub const BusTypeMmc: STORAGE_BUS_TYPE = 13i32; -pub const BusTypeNvme: STORAGE_BUS_TYPE = 17i32; -pub const BusTypeRAID: STORAGE_BUS_TYPE = 8i32; -pub const BusTypeSCM: STORAGE_BUS_TYPE = 18i32; -pub const BusTypeSas: STORAGE_BUS_TYPE = 10i32; -pub const BusTypeSata: STORAGE_BUS_TYPE = 11i32; -pub const BusTypeScsi: STORAGE_BUS_TYPE = 1i32; -pub const BusTypeSd: STORAGE_BUS_TYPE = 12i32; -pub const BusTypeSpaces: STORAGE_BUS_TYPE = 16i32; -pub const BusTypeSsa: STORAGE_BUS_TYPE = 5i32; -pub const BusTypeUfs: STORAGE_BUS_TYPE = 19i32; -pub const BusTypeUnknown: STORAGE_BUS_TYPE = 0i32; -pub const BusTypeUsb: STORAGE_BUS_TYPE = 7i32; -pub const BusTypeVirtual: STORAGE_BUS_TYPE = 14i32; -pub const BusTypeiScsi: STORAGE_BUS_TYPE = 9i32; -pub const CALLBACK_CHUNK_FINISHED: LPPROGRESS_ROUTINE_CALLBACK_REASON = 0u32; -pub const CALLBACK_STREAM_SWITCH: LPPROGRESS_ROUTINE_CALLBACK_REASON = 1u32; -pub const CLFS_BASELOG_EXTENSION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".blf"); -pub const CLFS_CONTAINER_RELATIVE_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%BLF%\\"); -pub const CLFS_CONTAINER_STREAM_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%BLF%:"); -pub const CLFS_FLAG_FILTER_INTERMEDIATE_LEVEL: u32 = 16u32; -pub const CLFS_FLAG_FILTER_TOP_LEVEL: u32 = 32u32; -pub const CLFS_FLAG_FORCE_APPEND: CLFS_FLAG = 1u32; -pub const CLFS_FLAG_FORCE_FLUSH: CLFS_FLAG = 2u32; -pub const CLFS_FLAG_HIDDEN_SYSTEM_LOG: u32 = 512u32; -pub const CLFS_FLAG_IGNORE_SHARE_ACCESS: u32 = 64u32; -pub const CLFS_FLAG_MINIFILTER_LEVEL: u32 = 256u32; -pub const CLFS_FLAG_NON_REENTRANT_FILTER: u32 = 16u32; -pub const CLFS_FLAG_NO_FLAGS: CLFS_FLAG = 0u32; -pub const CLFS_FLAG_READ_IN_PROGRESS: u32 = 128u32; -pub const CLFS_FLAG_REENTRANT_FILE_SYSTEM: u32 = 8u32; -pub const CLFS_FLAG_REENTRANT_FILTER: u32 = 32u32; -pub const CLFS_FLAG_USE_RESERVATION: CLFS_FLAG = 4u32; -pub const CLFS_MARSHALLING_FLAG_DISABLE_BUFF_INIT: u32 = 1u32; -pub const CLFS_MARSHALLING_FLAG_NONE: u32 = 0u32; -pub const CLFS_MAX_CONTAINER_INFO: u32 = 256u32; -pub const CLFS_MGMT_CLIENT_REGISTRATION_VERSION: u32 = 1u32; -pub const CLFS_MGMT_POLICY_VERSION: u32 = 1u32; -pub const CLFS_SCAN_BACKWARD: u8 = 4u8; -pub const CLFS_SCAN_BUFFERED: u8 = 32u8; -pub const CLFS_SCAN_CLOSE: u8 = 8u8; -pub const CLFS_SCAN_FORWARD: u8 = 2u8; -pub const CLFS_SCAN_INIT: u8 = 1u8; -pub const CLFS_SCAN_INITIALIZED: u8 = 16u8; -pub const CLSID_DiskQuotaControl: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7988b571_ec89_11cf_9c00_00aa00a14f56); -pub const COMPRESSION_FORMAT_DEFAULT: COMPRESSION_FORMAT = 1u16; -pub const COMPRESSION_FORMAT_LZNT1: COMPRESSION_FORMAT = 2u16; -pub const COMPRESSION_FORMAT_NONE: COMPRESSION_FORMAT = 0u16; -pub const COMPRESSION_FORMAT_XP10: COMPRESSION_FORMAT = 5u16; -pub const COMPRESSION_FORMAT_XPRESS: COMPRESSION_FORMAT = 3u16; -pub const COMPRESSION_FORMAT_XPRESS_HUFF: COMPRESSION_FORMAT = 4u16; -pub const COPYFILE2_CALLBACK_CHUNK_FINISHED: COPYFILE2_MESSAGE_TYPE = 2i32; -pub const COPYFILE2_CALLBACK_CHUNK_STARTED: COPYFILE2_MESSAGE_TYPE = 1i32; -pub const COPYFILE2_CALLBACK_ERROR: COPYFILE2_MESSAGE_TYPE = 6i32; -pub const COPYFILE2_CALLBACK_MAX: COPYFILE2_MESSAGE_TYPE = 7i32; -pub const COPYFILE2_CALLBACK_NONE: COPYFILE2_MESSAGE_TYPE = 0i32; -pub const COPYFILE2_CALLBACK_POLL_CONTINUE: COPYFILE2_MESSAGE_TYPE = 5i32; -pub const COPYFILE2_CALLBACK_STREAM_FINISHED: COPYFILE2_MESSAGE_TYPE = 4i32; -pub const COPYFILE2_CALLBACK_STREAM_STARTED: COPYFILE2_MESSAGE_TYPE = 3i32; -pub const COPYFILE2_PHASE_MAX: COPYFILE2_COPY_PHASE = 7i32; -pub const COPYFILE2_PHASE_NAMEGRAFT_COPY: COPYFILE2_COPY_PHASE = 6i32; -pub const COPYFILE2_PHASE_NONE: COPYFILE2_COPY_PHASE = 0i32; -pub const COPYFILE2_PHASE_PREPARE_DEST: COPYFILE2_COPY_PHASE = 2i32; -pub const COPYFILE2_PHASE_PREPARE_SOURCE: COPYFILE2_COPY_PHASE = 1i32; -pub const COPYFILE2_PHASE_READ_SOURCE: COPYFILE2_COPY_PHASE = 3i32; -pub const COPYFILE2_PHASE_SERVER_COPY: COPYFILE2_COPY_PHASE = 5i32; -pub const COPYFILE2_PHASE_WRITE_DESTINATION: COPYFILE2_COPY_PHASE = 4i32; -pub const COPYFILE2_PROGRESS_CANCEL: COPYFILE2_MESSAGE_ACTION = 1i32; -pub const COPYFILE2_PROGRESS_CONTINUE: COPYFILE2_MESSAGE_ACTION = 0i32; -pub const COPYFILE2_PROGRESS_PAUSE: COPYFILE2_MESSAGE_ACTION = 4i32; -pub const COPYFILE2_PROGRESS_QUIET: COPYFILE2_MESSAGE_ACTION = 3i32; -pub const COPYFILE2_PROGRESS_STOP: COPYFILE2_MESSAGE_ACTION = 2i32; -pub const CREATE_ALWAYS: FILE_CREATION_DISPOSITION = 2u32; -pub const CREATE_NEW: FILE_CREATION_DISPOSITION = 1u32; -pub const CRM_PROTOCOL_DYNAMIC_MARSHAL_INFO: u32 = 2u32; -pub const CRM_PROTOCOL_EXPLICIT_MARSHAL_ONLY: u32 = 1u32; -pub const CRM_PROTOCOL_MAXIMUM_OPTION: u32 = 3u32; -pub const CSC_CACHE_AUTO_REINT: u32 = 16u32; -pub const CSC_CACHE_MANUAL_REINT: u32 = 0u32; -pub const CSC_CACHE_NONE: u32 = 48u32; -pub const CSC_CACHE_VDO: u32 = 32u32; -pub const CSC_MASK: u32 = 48u32; -pub const CSC_MASK_EXT: u32 = 8240u32; -pub const CSV_BLOCK_AND_FILE_CACHE_CALLBACK_VERSION: u32 = 2u32; -pub const CSV_BLOCK_CACHE_CALLBACK_VERSION: u32 = 1u32; -pub const ClfsClientRecord: u8 = 3u8; -pub const ClfsContainerActive: u32 = 4u32; -pub const ClfsContainerActivePendingDelete: u32 = 8u32; -pub const ClfsContainerInactive: u32 = 2u32; -pub const ClfsContainerInitializing: u32 = 1u32; -pub const ClfsContainerPendingArchive: u32 = 16u32; -pub const ClfsContainerPendingArchiveAndDelete: u32 = 32u32; -pub const ClfsContextForward: CLFS_CONTEXT_MODE = 3i32; -pub const ClfsContextNone: CLFS_CONTEXT_MODE = 0i32; -pub const ClfsContextPrevious: CLFS_CONTEXT_MODE = 2i32; -pub const ClfsContextUndoNext: CLFS_CONTEXT_MODE = 1i32; -pub const ClfsDataRecord: u8 = 1u8; -pub const ClfsIoStatsDefault: CLFS_IOSTATS_CLASS = 0i32; -pub const ClfsIoStatsMax: CLFS_IOSTATS_CLASS = 65535i32; -pub const ClfsLogArchiveDisabled: CLFS_LOG_ARCHIVE_MODE = 2i32; -pub const ClfsLogArchiveEnabled: CLFS_LOG_ARCHIVE_MODE = 1i32; -pub const ClfsLogBasicInformation: CLS_LOG_INFORMATION_CLASS = 0i32; -pub const ClfsLogBasicInformationPhysical: CLS_LOG_INFORMATION_CLASS = 1i32; -pub const ClfsLogPhysicalLsnInformation: CLS_LOG_INFORMATION_CLASS = 5i32; -pub const ClfsLogPhysicalNameInformation: CLS_LOG_INFORMATION_CLASS = 2i32; -pub const ClfsLogStreamIdentifierInformation: CLS_LOG_INFORMATION_CLASS = 3i32; -pub const ClfsLogSystemMarkingInformation: CLS_LOG_INFORMATION_CLASS = 4i32; -pub const ClfsMgmtAdvanceTailNotification: CLFS_MGMT_NOTIFICATION_TYPE = 0i32; -pub const ClfsMgmtLogFullHandlerNotification: CLFS_MGMT_NOTIFICATION_TYPE = 1i32; -pub const ClfsMgmtLogUnpinnedNotification: CLFS_MGMT_NOTIFICATION_TYPE = 2i32; -pub const ClfsMgmtLogWriteNotification: CLFS_MGMT_NOTIFICATION_TYPE = 3i32; -pub const ClfsMgmtPolicyAutoGrow: CLFS_MGMT_POLICY_TYPE = 6i32; -pub const ClfsMgmtPolicyAutoShrink: CLFS_MGMT_POLICY_TYPE = 5i32; -pub const ClfsMgmtPolicyGrowthRate: CLFS_MGMT_POLICY_TYPE = 3i32; -pub const ClfsMgmtPolicyInvalid: CLFS_MGMT_POLICY_TYPE = 10i32; -pub const ClfsMgmtPolicyLogTail: CLFS_MGMT_POLICY_TYPE = 4i32; -pub const ClfsMgmtPolicyMaximumSize: CLFS_MGMT_POLICY_TYPE = 0i32; -pub const ClfsMgmtPolicyMinimumSize: CLFS_MGMT_POLICY_TYPE = 1i32; -pub const ClfsMgmtPolicyNewContainerExtension: CLFS_MGMT_POLICY_TYPE = 9i32; -pub const ClfsMgmtPolicyNewContainerPrefix: CLFS_MGMT_POLICY_TYPE = 7i32; -pub const ClfsMgmtPolicyNewContainerSize: CLFS_MGMT_POLICY_TYPE = 2i32; -pub const ClfsMgmtPolicyNewContainerSuffix: CLFS_MGMT_POLICY_TYPE = 8i32; -pub const ClfsNullRecord: u8 = 0u8; -pub const ClfsRestartRecord: u8 = 2u8; -pub const ClsContainerActive: u32 = 4u32; -pub const ClsContainerActivePendingDelete: u32 = 8u32; -pub const ClsContainerInactive: u32 = 2u32; -pub const ClsContainerInitializing: u32 = 1u32; -pub const ClsContainerPendingArchive: u32 = 16u32; -pub const ClsContainerPendingArchiveAndDelete: u32 = 32u32; -pub const ClsContextForward: CLS_CONTEXT_MODE = 3i32; -pub const ClsContextNone: CLS_CONTEXT_MODE = 0i32; -pub const ClsContextPrevious: CLS_CONTEXT_MODE = 2i32; -pub const ClsContextUndoNext: CLS_CONTEXT_MODE = 1i32; -pub const ClsIoStatsDefault: CLS_IOSTATS_CLASS = 0i32; -pub const ClsIoStatsMax: CLS_IOSTATS_CLASS = 65535i32; -pub const DDD_EXACT_MATCH_ON_REMOVE: DEFINE_DOS_DEVICE_FLAGS = 4u32; -pub const DDD_LUID_BROADCAST_DRIVE: DEFINE_DOS_DEVICE_FLAGS = 16u32; -pub const DDD_NO_BROADCAST_SYSTEM: DEFINE_DOS_DEVICE_FLAGS = 8u32; -pub const DDD_RAW_TARGET_PATH: DEFINE_DOS_DEVICE_FLAGS = 1u32; -pub const DDD_REMOVE_DEFINITION: DEFINE_DOS_DEVICE_FLAGS = 2u32; -pub const DELETE: FILE_ACCESS_RIGHTS = 65536u32; -pub const DISKQUOTA_FILESTATE_INCOMPLETE: u32 = 256u32; -pub const DISKQUOTA_FILESTATE_MASK: u32 = 768u32; -pub const DISKQUOTA_FILESTATE_REBUILDING: u32 = 512u32; -pub const DISKQUOTA_LOGFLAG_USER_LIMIT: u32 = 2u32; -pub const DISKQUOTA_LOGFLAG_USER_THRESHOLD: u32 = 1u32; -pub const DISKQUOTA_STATE_DISABLED: u32 = 0u32; -pub const DISKQUOTA_STATE_ENFORCE: u32 = 2u32; -pub const DISKQUOTA_STATE_MASK: u32 = 3u32; -pub const DISKQUOTA_STATE_TRACK: u32 = 1u32; -pub const DISKQUOTA_USERNAME_RESOLVE_ASYNC: DISKQUOTA_USERNAME_RESOLVE = 2u32; -pub const DISKQUOTA_USERNAME_RESOLVE_NONE: DISKQUOTA_USERNAME_RESOLVE = 0u32; -pub const DISKQUOTA_USERNAME_RESOLVE_SYNC: DISKQUOTA_USERNAME_RESOLVE = 1u32; -pub const DISKQUOTA_USER_ACCOUNT_DELETED: u32 = 2u32; -pub const DISKQUOTA_USER_ACCOUNT_INVALID: u32 = 3u32; -pub const DISKQUOTA_USER_ACCOUNT_RESOLVED: u32 = 0u32; -pub const DISKQUOTA_USER_ACCOUNT_UNAVAILABLE: u32 = 1u32; -pub const DISKQUOTA_USER_ACCOUNT_UNKNOWN: u32 = 4u32; -pub const DISKQUOTA_USER_ACCOUNT_UNRESOLVED: u32 = 5u32; -pub const EA_CONTAINER_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("ContainerName"); -pub const EA_CONTAINER_SIZE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("ContainerSize"); -pub const EFS_COMPATIBILITY_VERSION_NCRYPT_PROTECTOR: u32 = 5u32; -pub const EFS_COMPATIBILITY_VERSION_PFILE_PROTECTOR: u32 = 6u32; -pub const EFS_EFS_SUBVER_EFS_CERT: u32 = 1u32; -pub const EFS_METADATA_ADD_USER: u32 = 1u32; -pub const EFS_METADATA_GENERAL_OP: u32 = 8u32; -pub const EFS_METADATA_REMOVE_USER: u32 = 2u32; -pub const EFS_METADATA_REPLACE_USER: u32 = 4u32; -pub const EFS_PFILE_SUBVER_APPX: u32 = 3u32; -pub const EFS_PFILE_SUBVER_RMS: u32 = 2u32; -pub const EFS_SUBVER_UNKNOWN: u32 = 0u32; -pub const ENLISTMENT_MAXIMUM_OPTION: u32 = 1u32; -pub const ENLISTMENT_OBJECT_PATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("\\Enlistment\\"); -pub const ENLISTMENT_SUPERIOR: u32 = 1u32; -pub const ExtendedFileIdType: FILE_ID_TYPE = 2i32; -pub const FILE_ACTION_ADDED: FILE_ACTION = 1u32; -pub const FILE_ACTION_MODIFIED: FILE_ACTION = 3u32; -pub const FILE_ACTION_REMOVED: FILE_ACTION = 2u32; -pub const FILE_ACTION_RENAMED_NEW_NAME: FILE_ACTION = 5u32; -pub const FILE_ACTION_RENAMED_OLD_NAME: FILE_ACTION = 4u32; -pub const FILE_ADD_FILE: FILE_ACCESS_RIGHTS = 2u32; -pub const FILE_ADD_SUBDIRECTORY: FILE_ACCESS_RIGHTS = 4u32; -pub const FILE_ALL_ACCESS: FILE_ACCESS_RIGHTS = 2032127u32; -pub const FILE_APPEND_DATA: FILE_ACCESS_RIGHTS = 4u32; -pub const FILE_ATTRIBUTE_ARCHIVE: FILE_FLAGS_AND_ATTRIBUTES = 32u32; -pub const FILE_ATTRIBUTE_COMPRESSED: FILE_FLAGS_AND_ATTRIBUTES = 2048u32; -pub const FILE_ATTRIBUTE_DEVICE: FILE_FLAGS_AND_ATTRIBUTES = 64u32; -pub const FILE_ATTRIBUTE_DIRECTORY: FILE_FLAGS_AND_ATTRIBUTES = 16u32; -pub const FILE_ATTRIBUTE_EA: FILE_FLAGS_AND_ATTRIBUTES = 262144u32; -pub const FILE_ATTRIBUTE_ENCRYPTED: FILE_FLAGS_AND_ATTRIBUTES = 16384u32; -pub const FILE_ATTRIBUTE_HIDDEN: FILE_FLAGS_AND_ATTRIBUTES = 2u32; -pub const FILE_ATTRIBUTE_INTEGRITY_STREAM: FILE_FLAGS_AND_ATTRIBUTES = 32768u32; -pub const FILE_ATTRIBUTE_NORMAL: FILE_FLAGS_AND_ATTRIBUTES = 128u32; -pub const FILE_ATTRIBUTE_NOT_CONTENT_INDEXED: FILE_FLAGS_AND_ATTRIBUTES = 8192u32; -pub const FILE_ATTRIBUTE_NO_SCRUB_DATA: FILE_FLAGS_AND_ATTRIBUTES = 131072u32; -pub const FILE_ATTRIBUTE_OFFLINE: FILE_FLAGS_AND_ATTRIBUTES = 4096u32; -pub const FILE_ATTRIBUTE_PINNED: FILE_FLAGS_AND_ATTRIBUTES = 524288u32; -pub const FILE_ATTRIBUTE_READONLY: FILE_FLAGS_AND_ATTRIBUTES = 1u32; -pub const FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS: FILE_FLAGS_AND_ATTRIBUTES = 4194304u32; -pub const FILE_ATTRIBUTE_RECALL_ON_OPEN: FILE_FLAGS_AND_ATTRIBUTES = 262144u32; -pub const FILE_ATTRIBUTE_REPARSE_POINT: FILE_FLAGS_AND_ATTRIBUTES = 1024u32; -pub const FILE_ATTRIBUTE_SPARSE_FILE: FILE_FLAGS_AND_ATTRIBUTES = 512u32; -pub const FILE_ATTRIBUTE_SYSTEM: FILE_FLAGS_AND_ATTRIBUTES = 4u32; -pub const FILE_ATTRIBUTE_TEMPORARY: FILE_FLAGS_AND_ATTRIBUTES = 256u32; -pub const FILE_ATTRIBUTE_UNPINNED: FILE_FLAGS_AND_ATTRIBUTES = 1048576u32; -pub const FILE_ATTRIBUTE_VIRTUAL: FILE_FLAGS_AND_ATTRIBUTES = 65536u32; -pub const FILE_BEGIN: SET_FILE_POINTER_MOVE_METHOD = 0u32; -pub const FILE_CREATE_PIPE_INSTANCE: FILE_ACCESS_RIGHTS = 4u32; -pub const FILE_CURRENT: SET_FILE_POINTER_MOVE_METHOD = 1u32; -pub const FILE_DELETE_CHILD: FILE_ACCESS_RIGHTS = 64u32; -pub const FILE_DEVICE_CD_ROM: FILE_DEVICE_TYPE = 2u32; -pub const FILE_DEVICE_DISK: FILE_DEVICE_TYPE = 7u32; -pub const FILE_DEVICE_DVD: FILE_DEVICE_TYPE = 51u32; -pub const FILE_DEVICE_TAPE: FILE_DEVICE_TYPE = 31u32; -pub const FILE_DISPOSITION_FLAG_DELETE: FILE_DISPOSITION_INFO_EX_FLAGS = 1u32; -pub const FILE_DISPOSITION_FLAG_DO_NOT_DELETE: FILE_DISPOSITION_INFO_EX_FLAGS = 0u32; -pub const FILE_DISPOSITION_FLAG_FORCE_IMAGE_SECTION_CHECK: FILE_DISPOSITION_INFO_EX_FLAGS = 4u32; -pub const FILE_DISPOSITION_FLAG_IGNORE_READONLY_ATTRIBUTE: FILE_DISPOSITION_INFO_EX_FLAGS = 16u32; -pub const FILE_DISPOSITION_FLAG_ON_CLOSE: FILE_DISPOSITION_INFO_EX_FLAGS = 8u32; -pub const FILE_DISPOSITION_FLAG_POSIX_SEMANTICS: FILE_DISPOSITION_INFO_EX_FLAGS = 2u32; -pub const FILE_END: SET_FILE_POINTER_MOVE_METHOD = 2u32; -pub const FILE_EXECUTE: FILE_ACCESS_RIGHTS = 32u32; -pub const FILE_FLAG_BACKUP_SEMANTICS: FILE_FLAGS_AND_ATTRIBUTES = 33554432u32; -pub const FILE_FLAG_DELETE_ON_CLOSE: FILE_FLAGS_AND_ATTRIBUTES = 67108864u32; -pub const FILE_FLAG_FIRST_PIPE_INSTANCE: FILE_FLAGS_AND_ATTRIBUTES = 524288u32; -pub const FILE_FLAG_NO_BUFFERING: FILE_FLAGS_AND_ATTRIBUTES = 536870912u32; -pub const FILE_FLAG_OPEN_NO_RECALL: FILE_FLAGS_AND_ATTRIBUTES = 1048576u32; -pub const FILE_FLAG_OPEN_REPARSE_POINT: FILE_FLAGS_AND_ATTRIBUTES = 2097152u32; -pub const FILE_FLAG_OVERLAPPED: FILE_FLAGS_AND_ATTRIBUTES = 1073741824u32; -pub const FILE_FLAG_POSIX_SEMANTICS: FILE_FLAGS_AND_ATTRIBUTES = 16777216u32; -pub const FILE_FLAG_RANDOM_ACCESS: FILE_FLAGS_AND_ATTRIBUTES = 268435456u32; -pub const FILE_FLAG_SEQUENTIAL_SCAN: FILE_FLAGS_AND_ATTRIBUTES = 134217728u32; -pub const FILE_FLAG_SESSION_AWARE: FILE_FLAGS_AND_ATTRIBUTES = 8388608u32; -pub const FILE_FLAG_WRITE_THROUGH: FILE_FLAGS_AND_ATTRIBUTES = 2147483648u32; -pub const FILE_FLUSH_DATA: FILE_FLUSH_MODE = 1i32; -pub const FILE_FLUSH_DEFAULT: FILE_FLUSH_MODE = 0i32; -pub const FILE_FLUSH_MIN_METADATA: FILE_FLUSH_MODE = 2i32; -pub const FILE_FLUSH_NO_SYNC: FILE_FLUSH_MODE = 3i32; -pub const FILE_GENERIC_EXECUTE: FILE_ACCESS_RIGHTS = 1179808u32; -pub const FILE_GENERIC_READ: FILE_ACCESS_RIGHTS = 1179785u32; -pub const FILE_GENERIC_WRITE: FILE_ACCESS_RIGHTS = 1179926u32; -pub const FILE_LIST_DIRECTORY: FILE_ACCESS_RIGHTS = 1u32; -pub const FILE_NAME_NORMALIZED: GETFINALPATHNAMEBYHANDLE_FLAGS = 0u32; -pub const FILE_NAME_OPENED: GETFINALPATHNAMEBYHANDLE_FLAGS = 8u32; -pub const FILE_NOTIFY_CHANGE_ATTRIBUTES: FILE_NOTIFY_CHANGE = 4u32; -pub const FILE_NOTIFY_CHANGE_CREATION: FILE_NOTIFY_CHANGE = 64u32; -pub const FILE_NOTIFY_CHANGE_DIR_NAME: FILE_NOTIFY_CHANGE = 2u32; -pub const FILE_NOTIFY_CHANGE_FILE_NAME: FILE_NOTIFY_CHANGE = 1u32; -pub const FILE_NOTIFY_CHANGE_LAST_ACCESS: FILE_NOTIFY_CHANGE = 32u32; -pub const FILE_NOTIFY_CHANGE_LAST_WRITE: FILE_NOTIFY_CHANGE = 16u32; -pub const FILE_NOTIFY_CHANGE_SECURITY: FILE_NOTIFY_CHANGE = 256u32; -pub const FILE_NOTIFY_CHANGE_SIZE: FILE_NOTIFY_CHANGE = 8u32; -pub const FILE_PROVIDER_COMPRESSION_LZX: u32 = 1u32; -pub const FILE_PROVIDER_COMPRESSION_XPRESS16K: u32 = 3u32; -pub const FILE_PROVIDER_COMPRESSION_XPRESS4K: u32 = 0u32; -pub const FILE_PROVIDER_COMPRESSION_XPRESS8K: u32 = 2u32; -pub const FILE_READ_ATTRIBUTES: FILE_ACCESS_RIGHTS = 128u32; -pub const FILE_READ_DATA: FILE_ACCESS_RIGHTS = 1u32; -pub const FILE_READ_EA: FILE_ACCESS_RIGHTS = 8u32; -pub const FILE_SHARE_DELETE: FILE_SHARE_MODE = 4u32; -pub const FILE_SHARE_NONE: FILE_SHARE_MODE = 0u32; -pub const FILE_SHARE_READ: FILE_SHARE_MODE = 1u32; -pub const FILE_SHARE_WRITE: FILE_SHARE_MODE = 2u32; -pub const FILE_TRAVERSE: FILE_ACCESS_RIGHTS = 32u32; -pub const FILE_TYPE_CHAR: FILE_TYPE = 2u32; -pub const FILE_TYPE_DISK: FILE_TYPE = 1u32; -pub const FILE_TYPE_PIPE: FILE_TYPE = 3u32; -pub const FILE_TYPE_REMOTE: FILE_TYPE = 32768u32; -pub const FILE_TYPE_UNKNOWN: FILE_TYPE = 0u32; -pub const FILE_VER_GET_LOCALISED: GET_FILE_VERSION_INFO_FLAGS = 1u32; -pub const FILE_VER_GET_NEUTRAL: GET_FILE_VERSION_INFO_FLAGS = 2u32; -pub const FILE_VER_GET_PREFETCHED: GET_FILE_VERSION_INFO_FLAGS = 4u32; -pub const FILE_WRITE_ATTRIBUTES: FILE_ACCESS_RIGHTS = 256u32; -pub const FILE_WRITE_DATA: FILE_ACCESS_RIGHTS = 2u32; -pub const FILE_WRITE_EA: FILE_ACCESS_RIGHTS = 16u32; -pub const FILE_WRITE_FLAGS_NONE: FILE_WRITE_FLAGS = 0i32; -pub const FILE_WRITE_FLAGS_WRITE_THROUGH: FILE_WRITE_FLAGS = 1i32; -pub const FIND_FIRST_EX_CASE_SENSITIVE: FIND_FIRST_EX_FLAGS = 1u32; -pub const FIND_FIRST_EX_LARGE_FETCH: FIND_FIRST_EX_FLAGS = 2u32; -pub const FIND_FIRST_EX_ON_DISK_ENTRIES_ONLY: FIND_FIRST_EX_FLAGS = 4u32; -pub const FileAlignmentInfo: FILE_INFO_BY_HANDLE_CLASS = 17i32; -pub const FileAllocationInfo: FILE_INFO_BY_HANDLE_CLASS = 5i32; -pub const FileAttributeTagInfo: FILE_INFO_BY_HANDLE_CLASS = 9i32; -pub const FileBasicInfo: FILE_INFO_BY_HANDLE_CLASS = 0i32; -pub const FileCaseSensitiveInfo: FILE_INFO_BY_HANDLE_CLASS = 23i32; -pub const FileCompressionInfo: FILE_INFO_BY_HANDLE_CLASS = 8i32; -pub const FileDispositionInfo: FILE_INFO_BY_HANDLE_CLASS = 4i32; -pub const FileDispositionInfoEx: FILE_INFO_BY_HANDLE_CLASS = 21i32; -pub const FileEndOfFileInfo: FILE_INFO_BY_HANDLE_CLASS = 6i32; -pub const FileFullDirectoryInfo: FILE_INFO_BY_HANDLE_CLASS = 14i32; -pub const FileFullDirectoryRestartInfo: FILE_INFO_BY_HANDLE_CLASS = 15i32; -pub const FileIdBothDirectoryInfo: FILE_INFO_BY_HANDLE_CLASS = 10i32; -pub const FileIdBothDirectoryRestartInfo: FILE_INFO_BY_HANDLE_CLASS = 11i32; -pub const FileIdExtdDirectoryInfo: FILE_INFO_BY_HANDLE_CLASS = 19i32; -pub const FileIdExtdDirectoryRestartInfo: FILE_INFO_BY_HANDLE_CLASS = 20i32; -pub const FileIdInfo: FILE_INFO_BY_HANDLE_CLASS = 18i32; -pub const FileIdType: FILE_ID_TYPE = 0i32; -pub const FileIoPriorityHintInfo: FILE_INFO_BY_HANDLE_CLASS = 12i32; -pub const FileNameInfo: FILE_INFO_BY_HANDLE_CLASS = 2i32; -pub const FileNormalizedNameInfo: FILE_INFO_BY_HANDLE_CLASS = 24i32; -pub const FileRemoteProtocolInfo: FILE_INFO_BY_HANDLE_CLASS = 13i32; -pub const FileRenameInfo: FILE_INFO_BY_HANDLE_CLASS = 3i32; -pub const FileRenameInfoEx: FILE_INFO_BY_HANDLE_CLASS = 22i32; -pub const FileStandardInfo: FILE_INFO_BY_HANDLE_CLASS = 1i32; -pub const FileStorageInfo: FILE_INFO_BY_HANDLE_CLASS = 16i32; -pub const FileStreamInfo: FILE_INFO_BY_HANDLE_CLASS = 7i32; -pub const FindExInfoBasic: FINDEX_INFO_LEVELS = 1i32; -pub const FindExInfoMaxInfoLevel: FINDEX_INFO_LEVELS = 2i32; -pub const FindExInfoStandard: FINDEX_INFO_LEVELS = 0i32; -pub const FindExSearchLimitToDevices: FINDEX_SEARCH_OPS = 2i32; -pub const FindExSearchLimitToDirectories: FINDEX_SEARCH_OPS = 1i32; -pub const FindExSearchMaxSearchOp: FINDEX_SEARCH_OPS = 3i32; -pub const FindExSearchNameMatch: FINDEX_SEARCH_OPS = 0i32; -pub const FindStreamInfoMaxInfoLevel: STREAM_INFO_LEVELS = 1i32; -pub const FindStreamInfoStandard: STREAM_INFO_LEVELS = 0i32; -pub const GET_TAPE_DRIVE_INFORMATION: GET_TAPE_DRIVE_PARAMETERS_OPERATION = 1u32; -pub const GET_TAPE_MEDIA_INFORMATION: GET_TAPE_DRIVE_PARAMETERS_OPERATION = 0u32; -pub const GetFileExInfoStandard: GET_FILEEX_INFO_LEVELS = 0i32; -pub const GetFileExMaxInfoLevel: GET_FILEEX_INFO_LEVELS = 1i32; -pub const INVALID_FILE_ATTRIBUTES: u32 = 4294967295u32; -pub const INVALID_FILE_SIZE: u32 = 4294967295u32; -pub const INVALID_SET_FILE_POINTER: u32 = 4294967295u32; -pub const IOCTL_VOLUME_ALLOCATE_BC_STREAM: u32 = 5685312u32; -pub const IOCTL_VOLUME_BASE: u32 = 86u32; -pub const IOCTL_VOLUME_BC_VERSION: u32 = 1u32; -pub const IOCTL_VOLUME_FREE_BC_STREAM: u32 = 5685316u32; -pub const IOCTL_VOLUME_GET_BC_PROPERTIES: u32 = 5652540u32; -pub const IOCTL_VOLUME_GET_CSVBLOCKCACHE_CALLBACK: u32 = 5685352u32; -pub const IOCTL_VOLUME_GET_GPT_ATTRIBUTES: u32 = 5636152u32; -pub const IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS: u32 = 5636096u32; -pub const IOCTL_VOLUME_IS_CLUSTERED: u32 = 5636144u32; -pub const IOCTL_VOLUME_IS_CSV: u32 = 5636192u32; -pub const IOCTL_VOLUME_IS_DYNAMIC: u32 = 5636168u32; -pub const IOCTL_VOLUME_IS_IO_CAPABLE: u32 = 5636116u32; -pub const IOCTL_VOLUME_IS_OFFLINE: u32 = 5636112u32; -pub const IOCTL_VOLUME_IS_PARTITION: u32 = 5636136u32; -pub const IOCTL_VOLUME_LOGICAL_TO_PHYSICAL: u32 = 5636128u32; -pub const IOCTL_VOLUME_OFFLINE: u32 = 5685260u32; -pub const IOCTL_VOLUME_ONLINE: u32 = 5685256u32; -pub const IOCTL_VOLUME_PHYSICAL_TO_LOGICAL: u32 = 5636132u32; -pub const IOCTL_VOLUME_POST_ONLINE: u32 = 5685348u32; -pub const IOCTL_VOLUME_PREPARE_FOR_CRITICAL_IO: u32 = 5685324u32; -pub const IOCTL_VOLUME_PREPARE_FOR_SHRINK: u32 = 5685340u32; -pub const IOCTL_VOLUME_QUERY_ALLOCATION_HINT: u32 = 5652562u32; -pub const IOCTL_VOLUME_QUERY_FAILOVER_SET: u32 = 5636120u32; -pub const IOCTL_VOLUME_QUERY_MINIMUM_SHRINK_SIZE: u32 = 5652568u32; -pub const IOCTL_VOLUME_QUERY_VOLUME_NUMBER: u32 = 5636124u32; -pub const IOCTL_VOLUME_READ_PLEX: u32 = 5652526u32; -pub const IOCTL_VOLUME_SET_GPT_ATTRIBUTES: u32 = 5636148u32; -pub const IOCTL_VOLUME_SUPPORTS_ONLINE_OFFLINE: u32 = 5636100u32; -pub const IOCTL_VOLUME_UPDATE_PROPERTIES: u32 = 5636180u32; -pub const IORING_CREATE_ADVISORY_FLAGS_NONE: IORING_CREATE_ADVISORY_FLAGS = 0i32; -pub const IORING_CREATE_REQUIRED_FLAGS_NONE: IORING_CREATE_REQUIRED_FLAGS = 0i32; -pub const IORING_FEATURE_FLAGS_NONE: IORING_FEATURE_FLAGS = 0i32; -pub const IORING_FEATURE_SET_COMPLETION_EVENT: IORING_FEATURE_FLAGS = 2i32; -pub const IORING_FEATURE_UM_EMULATION: IORING_FEATURE_FLAGS = 1i32; -pub const IORING_OP_CANCEL: IORING_OP_CODE = 4i32; -pub const IORING_OP_FLUSH: IORING_OP_CODE = 6i32; -pub const IORING_OP_NOP: IORING_OP_CODE = 0i32; -pub const IORING_OP_READ: IORING_OP_CODE = 1i32; -pub const IORING_OP_REGISTER_BUFFERS: IORING_OP_CODE = 3i32; -pub const IORING_OP_REGISTER_FILES: IORING_OP_CODE = 2i32; -pub const IORING_OP_WRITE: IORING_OP_CODE = 5i32; -pub const IORING_REF_RAW: IORING_REF_KIND = 0i32; -pub const IORING_REF_REGISTERED: IORING_REF_KIND = 1i32; -pub const IORING_VERSION_1: IORING_VERSION = 1i32; -pub const IORING_VERSION_2: IORING_VERSION = 2i32; -pub const IORING_VERSION_3: IORING_VERSION = 300i32; -pub const IORING_VERSION_INVALID: IORING_VERSION = 0i32; -pub const IOSQE_FLAGS_DRAIN_PRECEDING_OPS: IORING_SQE_FLAGS = 1i32; -pub const IOSQE_FLAGS_NONE: IORING_SQE_FLAGS = 0i32; -pub const IoPriorityHintLow: PRIORITY_HINT = 1i32; -pub const IoPriorityHintNormal: PRIORITY_HINT = 2i32; -pub const IoPriorityHintVeryLow: PRIORITY_HINT = 0i32; -pub const KTM_MARSHAL_BLOB_VERSION_MAJOR: u32 = 1u32; -pub const KTM_MARSHAL_BLOB_VERSION_MINOR: u32 = 1u32; -pub const LOCKFILE_EXCLUSIVE_LOCK: LOCK_FILE_FLAGS = 2u32; -pub const LOCKFILE_FAIL_IMMEDIATELY: LOCK_FILE_FLAGS = 1u32; -pub const LOG_POLICY_OVERWRITE: u32 = 1u32; -pub const LOG_POLICY_PERSIST: u32 = 2u32; -pub const LZERROR_BADINHANDLE: i32 = -1i32; -pub const LZERROR_BADOUTHANDLE: i32 = -2i32; -pub const LZERROR_BADVALUE: i32 = -7i32; -pub const LZERROR_GLOBALLOC: i32 = -5i32; -pub const LZERROR_GLOBLOCK: i32 = -6i32; -pub const LZERROR_READ: i32 = -3i32; -pub const LZERROR_UNKNOWNALG: i32 = -8i32; -pub const LZERROR_WRITE: i32 = -4i32; -pub const MAXIMUM_REPARSE_DATA_BUFFER_SIZE: u32 = 16384u32; -pub const MAX_RESOURCEMANAGER_DESCRIPTION_LENGTH: u32 = 64u32; -pub const MAX_SID_SIZE: u32 = 256u32; -pub const MAX_TRANSACTION_DESCRIPTION_LENGTH: u32 = 64u32; -pub const MOVEFILE_COPY_ALLOWED: MOVE_FILE_FLAGS = 2u32; -pub const MOVEFILE_CREATE_HARDLINK: MOVE_FILE_FLAGS = 16u32; -pub const MOVEFILE_DELAY_UNTIL_REBOOT: MOVE_FILE_FLAGS = 4u32; -pub const MOVEFILE_FAIL_IF_NOT_TRACKABLE: MOVE_FILE_FLAGS = 32u32; -pub const MOVEFILE_REPLACE_EXISTING: MOVE_FILE_FLAGS = 1u32; -pub const MOVEFILE_WRITE_THROUGH: MOVE_FILE_FLAGS = 8u32; -pub const MaximumFileIdType: FILE_ID_TYPE = 3i32; -pub const MaximumFileInfoByHandleClass: FILE_INFO_BY_HANDLE_CLASS = 25i32; -pub const MaximumIoPriorityHintType: PRIORITY_HINT = 3i32; -pub const NTMSMLI_MAXAPPDESCR: u32 = 256u32; -pub const NTMSMLI_MAXIDSIZE: u32 = 256u32; -pub const NTMSMLI_MAXTYPE: u32 = 64u32; -pub const NTMS_ALLOCATE_ERROR_IF_UNAVAILABLE: NtmsAllocateOptions = 4i32; -pub const NTMS_ALLOCATE_FROMSCRATCH: NtmsAllocationPolicy = 1i32; -pub const NTMS_ALLOCATE_NEW: NtmsAllocateOptions = 1i32; -pub const NTMS_ALLOCATE_NEXT: NtmsAllocateOptions = 2i32; -pub const NTMS_APPLICATIONNAME_LENGTH: u32 = 64u32; -pub const NTMS_ASYNCOP_MOUNT: NtmsAsyncOperations = 1i32; -pub const NTMS_ASYNCSTATE_COMPLETE: NtmsAsyncStatus = 4i32; -pub const NTMS_ASYNCSTATE_INPROCESS: NtmsAsyncStatus = 3i32; -pub const NTMS_ASYNCSTATE_QUEUED: NtmsAsyncStatus = 0i32; -pub const NTMS_ASYNCSTATE_WAIT_OPERATOR: NtmsAsyncStatus = 2i32; -pub const NTMS_ASYNCSTATE_WAIT_RESOURCE: NtmsAsyncStatus = 1i32; -pub const NTMS_BARCODESTATE_OK: NtmsBarCodeState = 1i32; -pub const NTMS_BARCODESTATE_UNREADABLE: NtmsBarCodeState = 2i32; -pub const NTMS_BARCODE_LENGTH: u32 = 64u32; -pub const NTMS_CHANGER: NtmsObjectsTypes = 2i32; -pub const NTMS_CHANGER_TYPE: NtmsObjectsTypes = 3i32; -pub const NTMS_COMPUTER: NtmsObjectsTypes = 4i32; -pub const NTMS_COMPUTERNAME_LENGTH: u32 = 64u32; -pub const NTMS_CONTROL_ACCESS: NtmsAccessMask = 4i32; -pub const NTMS_CREATE_NEW: NtmsCreateOptions = 2i32; -pub const NTMS_DEALLOCATE_TOSCRATCH: NtmsDeallocationPolicy = 1i32; -pub const NTMS_DESCRIPTION_LENGTH: u32 = 127u32; -pub const NTMS_DEVICENAME_LENGTH: u32 = 64u32; -pub const NTMS_DISMOUNT_DEFERRED: NtmsDismountOptions = 1i32; -pub const NTMS_DISMOUNT_IMMEDIATE: NtmsDismountOptions = 2i32; -pub const NTMS_DOORSTATE_CLOSED: NtmsDoorState = 1i32; -pub const NTMS_DOORSTATE_OPEN: NtmsDoorState = 2i32; -pub const NTMS_DOORSTATE_UNKNOWN: NtmsDoorState = 0i32; -pub const NTMS_DRIVE: NtmsObjectsTypes = 5i32; -pub const NTMS_DRIVESTATE_BEING_CLEANED: NtmsDriveState = 6i32; -pub const NTMS_DRIVESTATE_DISMOUNTABLE: NtmsDriveState = 7i32; -pub const NTMS_DRIVESTATE_DISMOUNTED: NtmsDriveState = 0i32; -pub const NTMS_DRIVESTATE_LOADED: NtmsDriveState = 2i32; -pub const NTMS_DRIVESTATE_MOUNTED: NtmsDriveState = 1i32; -pub const NTMS_DRIVESTATE_UNLOADED: NtmsDriveState = 5i32; -pub const NTMS_DRIVE_TYPE: NtmsObjectsTypes = 6i32; -pub const NTMS_EJECT_ASK_USER: NtmsEjectOperation = 5i32; -pub const NTMS_EJECT_FORCE: NtmsEjectOperation = 3i32; -pub const NTMS_EJECT_IMMEDIATE: NtmsEjectOperation = 4i32; -pub const NTMS_EJECT_QUEUE: NtmsEjectOperation = 2i32; -pub const NTMS_EJECT_START: NtmsEjectOperation = 0i32; -pub const NTMS_EJECT_STOP: NtmsEjectOperation = 1i32; -pub const NTMS_ENUM_DEFAULT: NtmsEnumerateOption = 0i32; -pub const NTMS_ENUM_ROOTPOOL: NtmsEnumerateOption = 1i32; -pub const NTMS_ERROR_ON_DUPLICATE: NtmsCreateNtmsMediaOptions = 1i32; -pub const NTMS_EVENT_COMPLETE: NtmsNotificationOperations = 5i32; -pub const NTMS_EVENT_SIGNAL: NtmsNotificationOperations = 4i32; -pub const NTMS_I1_MESSAGE_LENGTH: u32 = 127u32; -pub const NTMS_IEDOOR: NtmsObjectsTypes = 7i32; -pub const NTMS_IEPORT: NtmsObjectsTypes = 8i32; -pub const NTMS_INITIALIZING: NtmsOperationalState = 10i32; -pub const NTMS_INJECT_RETRACT: NtmsInjectOperation = 2i32; -pub const NTMS_INJECT_START: NtmsInjectOperation = 0i32; -pub const NTMS_INJECT_STARTMANY: NtmsInjectOperation = 3i32; -pub const NTMS_INJECT_STOP: NtmsInjectOperation = 1i32; -pub const NTMS_INVENTORY_DEFAULT: NtmsInventoryMethod = 3i32; -pub const NTMS_INVENTORY_FAST: NtmsInventoryMethod = 1i32; -pub const NTMS_INVENTORY_MAX: NtmsInventoryMethod = 6i32; -pub const NTMS_INVENTORY_NONE: NtmsInventoryMethod = 0i32; -pub const NTMS_INVENTORY_OMID: NtmsInventoryMethod = 2i32; -pub const NTMS_INVENTORY_SLOT: NtmsInventoryMethod = 4i32; -pub const NTMS_INVENTORY_STOP: NtmsInventoryMethod = 5i32; -pub const NTMS_LIBRARY: NtmsObjectsTypes = 9i32; -pub const NTMS_LIBRARYFLAG_AUTODETECTCHANGE: NtmsLibraryFlags = 4i32; -pub const NTMS_LIBRARYFLAG_CLEANERPRESENT: NtmsLibraryFlags = 2i32; -pub const NTMS_LIBRARYFLAG_FIXEDOFFLINE: NtmsLibraryFlags = 1i32; -pub const NTMS_LIBRARYFLAG_IGNORECLEANERUSESREMAINING: NtmsLibraryFlags = 8i32; -pub const NTMS_LIBRARYFLAG_RECOGNIZECLEANERBARCODE: NtmsLibraryFlags = 16i32; -pub const NTMS_LIBRARYTYPE_OFFLINE: NtmsLibraryType = 1i32; -pub const NTMS_LIBRARYTYPE_ONLINE: NtmsLibraryType = 2i32; -pub const NTMS_LIBRARYTYPE_STANDALONE: NtmsLibraryType = 3i32; -pub const NTMS_LIBRARYTYPE_UNKNOWN: NtmsLibraryType = 0i32; -pub const NTMS_LIBREQFLAGS_NOAUTOPURGE: NtmsLibRequestFlags = 1i32; -pub const NTMS_LIBREQFLAGS_NOFAILEDPURGE: NtmsLibRequestFlags = 2i32; -pub const NTMS_LIBREQUEST: NtmsObjectsTypes = 10i32; -pub const NTMS_LM_CANCELLED: NtmsLmState = 7i32; -pub const NTMS_LM_CLASSIFY: NtmsLmOperation = 19i32; -pub const NTMS_LM_CLEANDRIVE: NtmsLmOperation = 15i32; -pub const NTMS_LM_DEFERRED: NtmsLmState = 6i32; -pub const NTMS_LM_DEFFERED: NtmsLmState = 6i32; -pub const NTMS_LM_DISABLECHANGER: NtmsLmOperation = 1i32; -pub const NTMS_LM_DISABLEDRIVE: NtmsLmOperation = 3i32; -pub const NTMS_LM_DISABLELIBRARY: NtmsLmOperation = 1i32; -pub const NTMS_LM_DISABLEMEDIA: NtmsLmOperation = 5i32; -pub const NTMS_LM_DISMOUNT: NtmsLmOperation = 16i32; -pub const NTMS_LM_DOORACCESS: NtmsLmOperation = 9i32; -pub const NTMS_LM_EJECT: NtmsLmOperation = 10i32; -pub const NTMS_LM_EJECTCLEANER: NtmsLmOperation = 11i32; -pub const NTMS_LM_ENABLECHANGER: NtmsLmOperation = 2i32; -pub const NTMS_LM_ENABLEDRIVE: NtmsLmOperation = 4i32; -pub const NTMS_LM_ENABLELIBRARY: NtmsLmOperation = 2i32; -pub const NTMS_LM_ENABLEMEDIA: NtmsLmOperation = 6i32; -pub const NTMS_LM_FAILED: NtmsLmState = 3i32; -pub const NTMS_LM_INJECT: NtmsLmOperation = 12i32; -pub const NTMS_LM_INJECTCLEANER: NtmsLmOperation = 13i32; -pub const NTMS_LM_INPROCESS: NtmsLmState = 1i32; -pub const NTMS_LM_INVALID: NtmsLmState = 4i32; -pub const NTMS_LM_INVENTORY: NtmsLmOperation = 8i32; -pub const NTMS_LM_MAXWORKITEM: NtmsLmOperation = 22i32; -pub const NTMS_LM_MOUNT: NtmsLmOperation = 17i32; -pub const NTMS_LM_PASSED: NtmsLmState = 2i32; -pub const NTMS_LM_PROCESSOMID: NtmsLmOperation = 14i32; -pub const NTMS_LM_QUEUED: NtmsLmState = 0i32; -pub const NTMS_LM_RELEASECLEANER: NtmsLmOperation = 21i32; -pub const NTMS_LM_REMOVE: NtmsLmOperation = 0i32; -pub const NTMS_LM_RESERVECLEANER: NtmsLmOperation = 20i32; -pub const NTMS_LM_STOPPED: NtmsLmState = 8i32; -pub const NTMS_LM_UPDATEOMID: NtmsLmOperation = 7i32; -pub const NTMS_LM_WAITING: NtmsLmState = 5i32; -pub const NTMS_LM_WRITESCRATCH: NtmsLmOperation = 18i32; -pub const NTMS_LOGICAL_MEDIA: NtmsObjectsTypes = 11i32; -pub const NTMS_MAXATTR_LENGTH: u32 = 65536u32; -pub const NTMS_MAXATTR_NAMELEN: u32 = 32u32; -pub const NTMS_MEDIARW_READONLY: NtmsReadWriteCharacteristics = 3i32; -pub const NTMS_MEDIARW_REWRITABLE: NtmsReadWriteCharacteristics = 1i32; -pub const NTMS_MEDIARW_UNKNOWN: NtmsReadWriteCharacteristics = 0i32; -pub const NTMS_MEDIARW_WRITEONCE: NtmsReadWriteCharacteristics = 2i32; -pub const NTMS_MEDIASTATE_IDLE: NtmsMediaState = 0i32; -pub const NTMS_MEDIASTATE_INUSE: NtmsMediaState = 1i32; -pub const NTMS_MEDIASTATE_LOADED: NtmsMediaState = 3i32; -pub const NTMS_MEDIASTATE_MOUNTED: NtmsMediaState = 2i32; -pub const NTMS_MEDIASTATE_OPERROR: NtmsMediaState = 5i32; -pub const NTMS_MEDIASTATE_OPREQ: NtmsMediaState = 6i32; -pub const NTMS_MEDIASTATE_UNLOADED: NtmsMediaState = 4i32; -pub const NTMS_MEDIA_POOL: NtmsObjectsTypes = 12i32; -pub const NTMS_MEDIA_TYPE: NtmsObjectsTypes = 13i32; -pub const NTMS_MESSAGE_LENGTH: u32 = 256u32; -pub const NTMS_MODIFY_ACCESS: NtmsAccessMask = 2i32; -pub const NTMS_MOUNT_ERROR_IF_OFFLINE: NtmsMountOptions = 8i32; -pub const NTMS_MOUNT_ERROR_IF_UNAVAILABLE: NtmsMountOptions = 4i32; -pub const NTMS_MOUNT_ERROR_NOT_AVAILABLE: NtmsMountOptions = 4i32; -pub const NTMS_MOUNT_ERROR_OFFLINE: NtmsMountOptions = 8i32; -pub const NTMS_MOUNT_NOWAIT: NtmsMountOptions = 32i32; -pub const NTMS_MOUNT_READ: NtmsMountOptions = 1i32; -pub const NTMS_MOUNT_SPECIFIC_DRIVE: NtmsMountOptions = 16i32; -pub const NTMS_MOUNT_WRITE: NtmsMountOptions = 2i32; -pub const NTMS_NEEDS_SERVICE: NtmsOperationalState = 20i32; -pub const NTMS_NOT_PRESENT: NtmsOperationalState = 21i32; -pub const NTMS_NUMBER_OF_OBJECT_TYPES: NtmsObjectsTypes = 19i32; -pub const NTMS_OBJECT: NtmsObjectsTypes = 1i32; -pub const NTMS_OBJECTNAME_LENGTH: u32 = 64u32; -pub const NTMS_OBJ_DELETE: NtmsNotificationOperations = 3i32; -pub const NTMS_OBJ_INSERT: NtmsNotificationOperations = 2i32; -pub const NTMS_OBJ_UPDATE: NtmsNotificationOperations = 1i32; -pub const NTMS_OMIDLABELID_LENGTH: u32 = 255u32; -pub const NTMS_OMIDLABELINFO_LENGTH: u32 = 256u32; -pub const NTMS_OMIDLABELTYPE_LENGTH: u32 = 64u32; -pub const NTMS_OMID_TYPE_FILESYSTEM_INFO: NTMS_OMID_TYPE = 2u32; -pub const NTMS_OMID_TYPE_RAW_LABEL: NTMS_OMID_TYPE = 1u32; -pub const NTMS_OPEN_ALWAYS: NtmsCreateOptions = 3i32; -pub const NTMS_OPEN_EXISTING: NtmsCreateOptions = 1i32; -pub const NTMS_OPREQFLAGS_NOALERTS: NtmsOpRequestFlags = 16i32; -pub const NTMS_OPREQFLAGS_NOAUTOPURGE: NtmsOpRequestFlags = 1i32; -pub const NTMS_OPREQFLAGS_NOFAILEDPURGE: NtmsOpRequestFlags = 2i32; -pub const NTMS_OPREQFLAGS_NOTRAYICON: NtmsOpRequestFlags = 32i32; -pub const NTMS_OPREQUEST: NtmsObjectsTypes = 17i32; -pub const NTMS_OPREQ_CLEANER: NtmsOpreqCommand = 2i32; -pub const NTMS_OPREQ_DEVICESERVICE: NtmsOpreqCommand = 3i32; -pub const NTMS_OPREQ_MESSAGE: NtmsOpreqCommand = 5i32; -pub const NTMS_OPREQ_MOVEMEDIA: NtmsOpreqCommand = 4i32; -pub const NTMS_OPREQ_NEWMEDIA: NtmsOpreqCommand = 1i32; -pub const NTMS_OPREQ_UNKNOWN: NtmsOpreqCommand = 0i32; -pub const NTMS_OPSTATE_ACTIVE: NtmsOpreqState = 2i32; -pub const NTMS_OPSTATE_COMPLETE: NtmsOpreqState = 5i32; -pub const NTMS_OPSTATE_INPROGRESS: NtmsOpreqState = 3i32; -pub const NTMS_OPSTATE_REFUSED: NtmsOpreqState = 4i32; -pub const NTMS_OPSTATE_SUBMITTED: NtmsOpreqState = 1i32; -pub const NTMS_OPSTATE_UNKNOWN: NtmsOpreqState = 0i32; -pub const NTMS_PARTITION: NtmsObjectsTypes = 14i32; -pub const NTMS_PARTSTATE_ALLOCATED: NtmsPartitionState = 5i32; -pub const NTMS_PARTSTATE_AVAILABLE: NtmsPartitionState = 4i32; -pub const NTMS_PARTSTATE_COMPLETE: NtmsPartitionState = 6i32; -pub const NTMS_PARTSTATE_DECOMMISSIONED: NtmsPartitionState = 3i32; -pub const NTMS_PARTSTATE_FOREIGN: NtmsPartitionState = 7i32; -pub const NTMS_PARTSTATE_IMPORT: NtmsPartitionState = 8i32; -pub const NTMS_PARTSTATE_INCOMPATIBLE: NtmsPartitionState = 2i32; -pub const NTMS_PARTSTATE_RESERVED: NtmsPartitionState = 9i32; -pub const NTMS_PARTSTATE_UNKNOWN: NtmsPartitionState = 0i32; -pub const NTMS_PARTSTATE_UNPREPARED: NtmsPartitionState = 1i32; -pub const NTMS_PHYSICAL_MEDIA: NtmsObjectsTypes = 15i32; -pub const NTMS_POOLHIERARCHY_LENGTH: u32 = 512u32; -pub const NTMS_POOLPOLICY_KEEPOFFLINEIMPORT: NtmsMediaPoolPolicy = 2i32; -pub const NTMS_POOLPOLICY_PURGEOFFLINESCRATCH: NtmsMediaPoolPolicy = 1i32; -pub const NTMS_POOLTYPE_APPLICATION: NtmsPoolType = 1000i32; -pub const NTMS_POOLTYPE_FOREIGN: NtmsPoolType = 2i32; -pub const NTMS_POOLTYPE_IMPORT: NtmsPoolType = 3i32; -pub const NTMS_POOLTYPE_SCRATCH: NtmsPoolType = 1i32; -pub const NTMS_POOLTYPE_UNKNOWN: NtmsPoolType = 0i32; -pub const NTMS_PORTCONTENT_EMPTY: NtmsPortContent = 2i32; -pub const NTMS_PORTCONTENT_FULL: NtmsPortContent = 1i32; -pub const NTMS_PORTCONTENT_UNKNOWN: NtmsPortContent = 0i32; -pub const NTMS_PORTPOSITION_EXTENDED: NtmsPortPosition = 1i32; -pub const NTMS_PORTPOSITION_RETRACTED: NtmsPortPosition = 2i32; -pub const NTMS_PORTPOSITION_UNKNOWN: NtmsPortPosition = 0i32; -pub const NTMS_PRIORITY_DEFAULT: NtmsMountPriority = 0i32; -pub const NTMS_PRIORITY_HIGH: NtmsMountPriority = 7i32; -pub const NTMS_PRIORITY_HIGHEST: NtmsMountPriority = 15i32; -pub const NTMS_PRIORITY_LOW: NtmsMountPriority = -7i32; -pub const NTMS_PRIORITY_LOWEST: NtmsMountPriority = -15i32; -pub const NTMS_PRIORITY_NORMAL: NtmsMountPriority = 0i32; -pub const NTMS_PRODUCTNAME_LENGTH: u32 = 128u32; -pub const NTMS_READY: NtmsOperationalState = 0i32; -pub const NTMS_REVISION_LENGTH: u32 = 32u32; -pub const NTMS_SEQUENCE_LENGTH: u32 = 32u32; -pub const NTMS_SERIALNUMBER_LENGTH: u32 = 32u32; -pub const NTMS_SESSION_QUERYEXPEDITE: NtmsSessionOptions = 1i32; -pub const NTMS_SLOTSTATE_EMPTY: NtmsSlotState = 2i32; -pub const NTMS_SLOTSTATE_FULL: NtmsSlotState = 1i32; -pub const NTMS_SLOTSTATE_NEEDSINVENTORY: NtmsSlotState = 4i32; -pub const NTMS_SLOTSTATE_NOTPRESENT: NtmsSlotState = 3i32; -pub const NTMS_SLOTSTATE_UNKNOWN: NtmsSlotState = 0i32; -pub const NTMS_STORAGESLOT: NtmsObjectsTypes = 16i32; -pub const NTMS_UIDEST_ADD: NtmsUIOperations = 1i32; -pub const NTMS_UIDEST_DELETE: NtmsUIOperations = 2i32; -pub const NTMS_UIDEST_DELETEALL: NtmsUIOperations = 3i32; -pub const NTMS_UIOPERATION_MAX: NtmsUIOperations = 4i32; -pub const NTMS_UITYPE_ERR: NtmsUITypes = 3i32; -pub const NTMS_UITYPE_INFO: NtmsUITypes = 1i32; -pub const NTMS_UITYPE_INVALID: NtmsUITypes = 0i32; -pub const NTMS_UITYPE_MAX: NtmsUITypes = 4i32; -pub const NTMS_UITYPE_REQ: NtmsUITypes = 2i32; -pub const NTMS_UI_DESTINATION: NtmsObjectsTypes = 18i32; -pub const NTMS_UNKNOWN: NtmsObjectsTypes = 0i32; -pub const NTMS_UNKNOWN_DRIVE: NtmsDriveType = 0i32; -pub const NTMS_USERNAME_LENGTH: u32 = 64u32; -pub const NTMS_USE_ACCESS: NtmsAccessMask = 1i32; -pub const NTMS_VENDORNAME_LENGTH: u32 = 128u32; -pub const OF_CANCEL: LZOPENFILE_STYLE = 2048u16; -pub const OF_CREATE: LZOPENFILE_STYLE = 4096u16; -pub const OF_DELETE: LZOPENFILE_STYLE = 512u16; -pub const OF_EXIST: LZOPENFILE_STYLE = 16384u16; -pub const OF_PARSE: LZOPENFILE_STYLE = 256u16; -pub const OF_PROMPT: LZOPENFILE_STYLE = 8192u16; -pub const OF_READ: LZOPENFILE_STYLE = 0u16; -pub const OF_READWRITE: LZOPENFILE_STYLE = 2u16; -pub const OF_REOPEN: LZOPENFILE_STYLE = 32768u16; -pub const OF_SHARE_COMPAT: LZOPENFILE_STYLE = 0u16; -pub const OF_SHARE_DENY_NONE: LZOPENFILE_STYLE = 64u16; -pub const OF_SHARE_DENY_READ: LZOPENFILE_STYLE = 48u16; -pub const OF_SHARE_DENY_WRITE: LZOPENFILE_STYLE = 32u16; -pub const OF_SHARE_EXCLUSIVE: LZOPENFILE_STYLE = 16u16; -pub const OF_VERIFY: LZOPENFILE_STYLE = 1024u16; -pub const OF_WRITE: LZOPENFILE_STYLE = 1u16; -pub const OPEN_ALWAYS: FILE_CREATION_DISPOSITION = 4u32; -pub const OPEN_EXISTING: FILE_CREATION_DISPOSITION = 3u32; -pub const ObjectIdType: FILE_ID_TYPE = 1i32; -pub const PARTITION_BASIC_DATA_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xebd0a0a2_b9e5_4433_87c0_68b6b72699c7); -pub const PARTITION_BSP_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x57434f53_4df9_45b9_8e9e_2370f006457c); -pub const PARTITION_CLUSTER_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdb97dba9_0840_4bae_97f0_ffb9a327c7e1); -pub const PARTITION_DPP_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x57434f53_94cb_43f0_a533_d73c10cfa57d); -pub const PARTITION_ENTRY_UNUSED_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x00000000_0000_0000_0000_000000000000); -pub const PARTITION_LDM_DATA_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xaf9b60a0_1431_4f62_bc68_3311714a69ad); -pub const PARTITION_LDM_METADATA_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5808c8aa_7e8f_42e0_85d2_e1e90434cfb3); -pub const PARTITION_LEGACY_BL_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x424ca0e2_7cb2_4fb9_8143_c52a99398bc6); -pub const PARTITION_LEGACY_BL_GUID_BACKUP: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x424c3e6c_d79f_49cb_935d_36d71467a288); -pub const PARTITION_MAIN_OS_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x57434f53_8f45_405e_8a23_186d8a4330d3); -pub const PARTITION_MSFT_RECOVERY_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xde94bba4_06d1_4d40_a16a_bfd50179d6ac); -pub const PARTITION_MSFT_RESERVED_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe3c9e316_0b5c_4db8_817d_f92df00215ae); -pub const PARTITION_MSFT_SNAPSHOT_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcaddebf1_4400_4de8_b103_12117dcf3ccf); -pub const PARTITION_OS_DATA_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x57434f53_23f2_44d5_a830_67bbdaa609f9); -pub const PARTITION_PATCH_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8967a686_96aa_6aa8_9589_a84256541090); -pub const PARTITION_PRE_INSTALLED_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x57434f53_7fe0_4196_9b42_427b51643484); -pub const PARTITION_SBL_CACHE_HDD_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03aaa829_ebfc_4e7e_aac9_c4d76c63b24b); -pub const PARTITION_SBL_CACHE_SSD_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xeeff8352_dd2a_44db_ae83_bee1cf7481dc); -pub const PARTITION_SBL_CACHE_SSD_RESERVED_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdcc0c7c1_55ad_4f17_9d43_4bc776e0117e); -pub const PARTITION_SERVICING_FILES_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x57434f53_432e_4014_ae4c_8deaa9c0006a); -pub const PARTITION_SERVICING_METADATA_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x57434f53_c691_4a05_bb4e_703dafd229ce); -pub const PARTITION_SERVICING_RESERVE_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x57434f53_4b81_460b_a319_ffb6fe136d14); -pub const PARTITION_SERVICING_STAGING_ROOT_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x57434f53_e84d_4e84_aaf3_ecbbbd04b9df); -pub const PARTITION_SPACES_DATA_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe7addcb4_dc34_4539_9a76_ebbd07be6f7e); -pub const PARTITION_SPACES_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe75caf8f_f680_4cee_afa3_b001e56efc2d); -pub const PARTITION_SYSTEM_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc12a7328_f81f_11d2_ba4b_00a0c93ec93b); -pub const PARTITION_WINDOWS_SYSTEM_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x57434f53_e3e3_4631_a5c5_26d2243873aa); -pub const PERM_FILE_CREATE: FILE_INFO_FLAGS_PERMISSIONS = 4u32; -pub const PERM_FILE_READ: FILE_INFO_FLAGS_PERMISSIONS = 1u32; -pub const PERM_FILE_WRITE: FILE_INFO_FLAGS_PERMISSIONS = 2u32; -pub const PIPE_ACCESS_DUPLEX: FILE_FLAGS_AND_ATTRIBUTES = 3u32; -pub const PIPE_ACCESS_INBOUND: FILE_FLAGS_AND_ATTRIBUTES = 1u32; -pub const PIPE_ACCESS_OUTBOUND: FILE_FLAGS_AND_ATTRIBUTES = 2u32; -pub const QUIC: SERVER_CERTIFICATE_TYPE = 0i32; -pub const READ_CONTROL: FILE_ACCESS_RIGHTS = 131072u32; -pub const REPLACEFILE_IGNORE_ACL_ERRORS: REPLACE_FILE_FLAGS = 4u32; -pub const REPLACEFILE_IGNORE_MERGE_ERRORS: REPLACE_FILE_FLAGS = 2u32; -pub const REPLACEFILE_WRITE_THROUGH: REPLACE_FILE_FLAGS = 1u32; -pub const RESOURCE_MANAGER_COMMUNICATION: u32 = 2u32; -pub const RESOURCE_MANAGER_MAXIMUM_OPTION: u32 = 3u32; -pub const RESOURCE_MANAGER_OBJECT_PATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("\\ResourceManager\\"); -pub const RESOURCE_MANAGER_VOLATILE: u32 = 1u32; -pub const ReadDirectoryNotifyExtendedInformation: READ_DIRECTORY_NOTIFY_INFORMATION_CLASS = 2i32; -pub const ReadDirectoryNotifyFullInformation: READ_DIRECTORY_NOTIFY_INFORMATION_CLASS = 3i32; -pub const ReadDirectoryNotifyInformation: READ_DIRECTORY_NOTIFY_INFORMATION_CLASS = 1i32; -pub const ReadDirectoryNotifyMaximumInformation: READ_DIRECTORY_NOTIFY_INFORMATION_CLASS = 4i32; -pub const SECURITY_ANONYMOUS: FILE_FLAGS_AND_ATTRIBUTES = 0u32; -pub const SECURITY_CONTEXT_TRACKING: FILE_FLAGS_AND_ATTRIBUTES = 262144u32; -pub const SECURITY_DELEGATION: FILE_FLAGS_AND_ATTRIBUTES = 196608u32; -pub const SECURITY_EFFECTIVE_ONLY: FILE_FLAGS_AND_ATTRIBUTES = 524288u32; -pub const SECURITY_IDENTIFICATION: FILE_FLAGS_AND_ATTRIBUTES = 65536u32; -pub const SECURITY_IMPERSONATION: FILE_FLAGS_AND_ATTRIBUTES = 131072u32; -pub const SECURITY_SQOS_PRESENT: FILE_FLAGS_AND_ATTRIBUTES = 1048576u32; -pub const SECURITY_VALID_SQOS_FLAGS: FILE_FLAGS_AND_ATTRIBUTES = 2031616u32; -pub const SESI1_NUM_ELEMENTS: u32 = 8u32; -pub const SESI2_NUM_ELEMENTS: u32 = 9u32; -pub const SESS_GUEST: SESSION_INFO_USER_FLAGS = 1u32; -pub const SESS_NOENCRYPTION: SESSION_INFO_USER_FLAGS = 2u32; -pub const SET_TAPE_DRIVE_INFORMATION: TAPE_INFORMATION_TYPE = 1u32; -pub const SET_TAPE_MEDIA_INFORMATION: TAPE_INFORMATION_TYPE = 0u32; -pub const SHARE_CURRENT_USES_PARMNUM: u32 = 7u32; -pub const SHARE_FILE_SD_PARMNUM: u32 = 501u32; -pub const SHARE_MAX_USES_PARMNUM: u32 = 6u32; -pub const SHARE_NETNAME_PARMNUM: u32 = 1u32; -pub const SHARE_PASSWD_PARMNUM: u32 = 9u32; -pub const SHARE_PATH_PARMNUM: u32 = 8u32; -pub const SHARE_PERMISSIONS_PARMNUM: u32 = 5u32; -pub const SHARE_QOS_POLICY_PARMNUM: u32 = 504u32; -pub const SHARE_REMARK_PARMNUM: u32 = 4u32; -pub const SHARE_SERVER_PARMNUM: u32 = 503u32; -pub const SHARE_TYPE_PARMNUM: u32 = 3u32; -pub const SHI1005_FLAGS_ACCESS_BASED_DIRECTORY_ENUM: u32 = 2048u32; -pub const SHI1005_FLAGS_ALLOW_NAMESPACE_CACHING: u32 = 1024u32; -pub const SHI1005_FLAGS_CLUSTER_MANAGED: u32 = 524288u32; -pub const SHI1005_FLAGS_COMPRESS_DATA: u32 = 1048576u32; -pub const SHI1005_FLAGS_DFS: u32 = 1u32; -pub const SHI1005_FLAGS_DFS_ROOT: u32 = 2u32; -pub const SHI1005_FLAGS_DISABLE_CLIENT_BUFFERING: u32 = 131072u32; -pub const SHI1005_FLAGS_DISABLE_DIRECTORY_HANDLE_LEASING: u32 = 4194304u32; -pub const SHI1005_FLAGS_ENABLE_CA: u32 = 16384u32; -pub const SHI1005_FLAGS_ENABLE_HASH: u32 = 8192u32; -pub const SHI1005_FLAGS_ENCRYPT_DATA: u32 = 32768u32; -pub const SHI1005_FLAGS_FORCE_LEVELII_OPLOCK: u32 = 4096u32; -pub const SHI1005_FLAGS_FORCE_SHARED_DELETE: u32 = 512u32; -pub const SHI1005_FLAGS_IDENTITY_REMOTING: u32 = 262144u32; -pub const SHI1005_FLAGS_ISOLATED_TRANSPORT: u32 = 2097152u32; -pub const SHI1005_FLAGS_RESERVED: u32 = 65536u32; -pub const SHI1005_FLAGS_RESTRICT_EXCLUSIVE_OPENS: u32 = 256u32; -pub const SHI1_NUM_ELEMENTS: u32 = 4u32; -pub const SHI2_NUM_ELEMENTS: u32 = 10u32; -pub const SHI_USES_UNLIMITED: u32 = 4294967295u32; -pub const SPECIFIC_RIGHTS_ALL: FILE_ACCESS_RIGHTS = 65535u32; -pub const STANDARD_RIGHTS_ALL: FILE_ACCESS_RIGHTS = 2031616u32; -pub const STANDARD_RIGHTS_EXECUTE: FILE_ACCESS_RIGHTS = 131072u32; -pub const STANDARD_RIGHTS_READ: FILE_ACCESS_RIGHTS = 131072u32; -pub const STANDARD_RIGHTS_REQUIRED: FILE_ACCESS_RIGHTS = 983040u32; -pub const STANDARD_RIGHTS_WRITE: FILE_ACCESS_RIGHTS = 131072u32; -pub const STATSOPT_CLR: u32 = 1u32; -pub const STYPE_DEVICE: SHARE_TYPE = 2u32; -pub const STYPE_DISKTREE: SHARE_TYPE = 0u32; -pub const STYPE_IPC: SHARE_TYPE = 3u32; -pub const STYPE_MASK: SHARE_TYPE = 255u32; -pub const STYPE_PRINTQ: SHARE_TYPE = 1u32; -pub const STYPE_RESERVED1: u32 = 16777216u32; -pub const STYPE_RESERVED2: u32 = 33554432u32; -pub const STYPE_RESERVED3: u32 = 67108864u32; -pub const STYPE_RESERVED4: u32 = 134217728u32; -pub const STYPE_RESERVED5: u32 = 1048576u32; -pub const STYPE_RESERVED_ALL: u32 = 1073741568u32; -pub const STYPE_SPECIAL: SHARE_TYPE = 2147483648u32; -pub const STYPE_TEMPORARY: SHARE_TYPE = 1073741824u32; -pub const SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE: SYMBOLIC_LINK_FLAGS = 2u32; -pub const SYMBOLIC_LINK_FLAG_DIRECTORY: SYMBOLIC_LINK_FLAGS = 1u32; -pub const SYNCHRONIZE: FILE_ACCESS_RIGHTS = 1048576u32; -pub const TAPE_ABSOLUTE_BLOCK: TAPE_POSITION_METHOD = 1u32; -pub const TAPE_ABSOLUTE_POSITION: TAPE_POSITION_TYPE = 0u32; -pub const TAPE_ERASE_LONG: ERASE_TAPE_TYPE = 1u32; -pub const TAPE_ERASE_SHORT: ERASE_TAPE_TYPE = 0u32; -pub const TAPE_FILEMARKS: TAPEMARK_TYPE = 1u32; -pub const TAPE_FIXED_PARTITIONS: CREATE_TAPE_PARTITION_METHOD = 0u32; -pub const TAPE_FORMAT: PREPARE_TAPE_OPERATION = 5u32; -pub const TAPE_INITIATOR_PARTITIONS: CREATE_TAPE_PARTITION_METHOD = 2u32; -pub const TAPE_LOAD: PREPARE_TAPE_OPERATION = 0u32; -pub const TAPE_LOCK: PREPARE_TAPE_OPERATION = 3u32; -pub const TAPE_LOGICAL_BLOCK: TAPE_POSITION_METHOD = 2u32; -pub const TAPE_LOGICAL_POSITION: TAPE_POSITION_TYPE = 1u32; -pub const TAPE_LONG_FILEMARKS: TAPEMARK_TYPE = 3u32; -pub const TAPE_REWIND: TAPE_POSITION_METHOD = 0u32; -pub const TAPE_SELECT_PARTITIONS: CREATE_TAPE_PARTITION_METHOD = 1u32; -pub const TAPE_SETMARKS: TAPEMARK_TYPE = 0u32; -pub const TAPE_SHORT_FILEMARKS: TAPEMARK_TYPE = 2u32; -pub const TAPE_SPACE_END_OF_DATA: TAPE_POSITION_METHOD = 4u32; -pub const TAPE_SPACE_FILEMARKS: TAPE_POSITION_METHOD = 6u32; -pub const TAPE_SPACE_RELATIVE_BLOCKS: TAPE_POSITION_METHOD = 5u32; -pub const TAPE_SPACE_SEQUENTIAL_FMKS: TAPE_POSITION_METHOD = 7u32; -pub const TAPE_SPACE_SEQUENTIAL_SMKS: TAPE_POSITION_METHOD = 9u32; -pub const TAPE_SPACE_SETMARKS: TAPE_POSITION_METHOD = 8u32; -pub const TAPE_TENSION: PREPARE_TAPE_OPERATION = 2u32; -pub const TAPE_UNLOAD: PREPARE_TAPE_OPERATION = 1u32; -pub const TAPE_UNLOCK: PREPARE_TAPE_OPERATION = 4u32; -pub const TRANSACTIONMANAGER_OBJECT_PATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("\\TransactionManager\\"); -pub const TRANSACTION_DO_NOT_PROMOTE: u32 = 1u32; -pub const TRANSACTION_MANAGER_COMMIT_DEFAULT: u32 = 0u32; -pub const TRANSACTION_MANAGER_COMMIT_LOWEST: u32 = 8u32; -pub const TRANSACTION_MANAGER_COMMIT_SYSTEM_HIVES: u32 = 4u32; -pub const TRANSACTION_MANAGER_COMMIT_SYSTEM_VOLUME: u32 = 2u32; -pub const TRANSACTION_MANAGER_CORRUPT_FOR_PROGRESS: u32 = 32u32; -pub const TRANSACTION_MANAGER_CORRUPT_FOR_RECOVERY: u32 = 16u32; -pub const TRANSACTION_MANAGER_MAXIMUM_OPTION: u32 = 63u32; -pub const TRANSACTION_MANAGER_VOLATILE: u32 = 1u32; -pub const TRANSACTION_MAXIMUM_OPTION: u32 = 1u32; -pub const TRANSACTION_NOTIFICATION_TM_ONLINE_FLAG_IS_CLUSTERED: u32 = 1u32; -pub const TRANSACTION_NOTIFY_COMMIT: u32 = 4u32; -pub const TRANSACTION_NOTIFY_COMMIT_COMPLETE: u32 = 64u32; -pub const TRANSACTION_NOTIFY_COMMIT_FINALIZE: u32 = 1073741824u32; -pub const TRANSACTION_NOTIFY_COMMIT_REQUEST: u32 = 67108864u32; -pub const TRANSACTION_NOTIFY_DELEGATE_COMMIT: u32 = 1024u32; -pub const TRANSACTION_NOTIFY_ENLIST_MASK: u32 = 262144u32; -pub const TRANSACTION_NOTIFY_ENLIST_PREPREPARE: u32 = 4096u32; -pub const TRANSACTION_NOTIFY_INDOUBT: u32 = 16384u32; -pub const TRANSACTION_NOTIFY_LAST_RECOVER: u32 = 8192u32; -pub const TRANSACTION_NOTIFY_MARSHAL: u32 = 131072u32; -pub const TRANSACTION_NOTIFY_MASK: u32 = 1073741823u32; -pub const TRANSACTION_NOTIFY_PREPARE: u32 = 2u32; -pub const TRANSACTION_NOTIFY_PREPARE_COMPLETE: u32 = 32u32; -pub const TRANSACTION_NOTIFY_PREPREPARE: u32 = 1u32; -pub const TRANSACTION_NOTIFY_PREPREPARE_COMPLETE: u32 = 16u32; -pub const TRANSACTION_NOTIFY_PROMOTE: u32 = 134217728u32; -pub const TRANSACTION_NOTIFY_PROMOTE_NEW: u32 = 268435456u32; -pub const TRANSACTION_NOTIFY_PROPAGATE_PULL: u32 = 32768u32; -pub const TRANSACTION_NOTIFY_PROPAGATE_PUSH: u32 = 65536u32; -pub const TRANSACTION_NOTIFY_RECOVER: u32 = 256u32; -pub const TRANSACTION_NOTIFY_RECOVER_QUERY: u32 = 2048u32; -pub const TRANSACTION_NOTIFY_REQUEST_OUTCOME: u32 = 536870912u32; -pub const TRANSACTION_NOTIFY_RM_DISCONNECTED: u32 = 16777216u32; -pub const TRANSACTION_NOTIFY_ROLLBACK: u32 = 8u32; -pub const TRANSACTION_NOTIFY_ROLLBACK_COMPLETE: u32 = 128u32; -pub const TRANSACTION_NOTIFY_SINGLE_PHASE_COMMIT: u32 = 512u32; -pub const TRANSACTION_NOTIFY_TM_ONLINE: u32 = 33554432u32; -pub const TRANSACTION_OBJECT_PATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("\\Transaction\\"); -pub const TRUNCATE_EXISTING: FILE_CREATION_DISPOSITION = 5u32; -pub const TXFS_MINIVERSION_COMMITTED_VIEW: TXFS_MINIVERSION = 0u32; -pub const TXFS_MINIVERSION_DEFAULT_VIEW: TXFS_MINIVERSION = 65534u32; -pub const TXFS_MINIVERSION_DIRTY_VIEW: TXFS_MINIVERSION = 65535u32; -pub const TXF_LOG_RECORD_GENERIC_TYPE_ABORT: u32 = 2u32; -pub const TXF_LOG_RECORD_GENERIC_TYPE_COMMIT: u32 = 1u32; -pub const TXF_LOG_RECORD_GENERIC_TYPE_DATA: u32 = 8u32; -pub const TXF_LOG_RECORD_GENERIC_TYPE_PREPARE: u32 = 4u32; -pub const TXF_LOG_RECORD_TYPE_AFFECTED_FILE: TXF_LOG_RECORD_TYPE = 4u16; -pub const TXF_LOG_RECORD_TYPE_TRUNCATE: TXF_LOG_RECORD_TYPE = 2u16; -pub const TXF_LOG_RECORD_TYPE_WRITE: TXF_LOG_RECORD_TYPE = 1u16; -pub const TransactionOutcomeAborted: TRANSACTION_OUTCOME = 3i32; -pub const TransactionOutcomeCommitted: TRANSACTION_OUTCOME = 2i32; -pub const TransactionOutcomeUndetermined: TRANSACTION_OUTCOME = 1i32; -pub const VFFF_ISSHAREDFILE: VER_FIND_FILE_FLAGS = 1u32; -pub const VFF_BUFFTOOSMALL: VER_FIND_FILE_STATUS = 4u32; -pub const VFF_CURNEDEST: VER_FIND_FILE_STATUS = 1u32; -pub const VFF_FILEINUSE: VER_FIND_FILE_STATUS = 2u32; -pub const VFT2_DRV_COMM: VS_FIXEDFILEINFO_FILE_SUBTYPE = 10i32; -pub const VFT2_DRV_DISPLAY: VS_FIXEDFILEINFO_FILE_SUBTYPE = 4i32; -pub const VFT2_DRV_INPUTMETHOD: VS_FIXEDFILEINFO_FILE_SUBTYPE = 11i32; -pub const VFT2_DRV_INSTALLABLE: VS_FIXEDFILEINFO_FILE_SUBTYPE = 8i32; -pub const VFT2_DRV_KEYBOARD: VS_FIXEDFILEINFO_FILE_SUBTYPE = 2i32; -pub const VFT2_DRV_LANGUAGE: VS_FIXEDFILEINFO_FILE_SUBTYPE = 3i32; -pub const VFT2_DRV_MOUSE: VS_FIXEDFILEINFO_FILE_SUBTYPE = 5i32; -pub const VFT2_DRV_NETWORK: VS_FIXEDFILEINFO_FILE_SUBTYPE = 6i32; -pub const VFT2_DRV_PRINTER: VS_FIXEDFILEINFO_FILE_SUBTYPE = 1i32; -pub const VFT2_DRV_SOUND: VS_FIXEDFILEINFO_FILE_SUBTYPE = 9i32; -pub const VFT2_DRV_SYSTEM: VS_FIXEDFILEINFO_FILE_SUBTYPE = 7i32; -pub const VFT2_DRV_VERSIONED_PRINTER: VS_FIXEDFILEINFO_FILE_SUBTYPE = 12i32; -pub const VFT2_FONT_RASTER: VS_FIXEDFILEINFO_FILE_SUBTYPE = 1i32; -pub const VFT2_FONT_TRUETYPE: VS_FIXEDFILEINFO_FILE_SUBTYPE = 3i32; -pub const VFT2_FONT_VECTOR: VS_FIXEDFILEINFO_FILE_SUBTYPE = 2i32; -pub const VFT2_UNKNOWN: VS_FIXEDFILEINFO_FILE_SUBTYPE = 0i32; -pub const VFT_APP: VS_FIXEDFILEINFO_FILE_TYPE = 1i32; -pub const VFT_DLL: VS_FIXEDFILEINFO_FILE_TYPE = 2i32; -pub const VFT_DRV: VS_FIXEDFILEINFO_FILE_TYPE = 3i32; -pub const VFT_FONT: VS_FIXEDFILEINFO_FILE_TYPE = 4i32; -pub const VFT_STATIC_LIB: VS_FIXEDFILEINFO_FILE_TYPE = 7i32; -pub const VFT_UNKNOWN: VS_FIXEDFILEINFO_FILE_TYPE = 0i32; -pub const VFT_VXD: VS_FIXEDFILEINFO_FILE_TYPE = 5i32; -pub const VIFF_DONTDELETEOLD: VER_INSTALL_FILE_FLAGS = 2u32; -pub const VIFF_FORCEINSTALL: VER_INSTALL_FILE_FLAGS = 1u32; -pub const VIF_ACCESSVIOLATION: VER_INSTALL_FILE_STATUS = 512u32; -pub const VIF_BUFFTOOSMALL: VER_INSTALL_FILE_STATUS = 262144u32; -pub const VIF_CANNOTCREATE: VER_INSTALL_FILE_STATUS = 2048u32; -pub const VIF_CANNOTDELETE: VER_INSTALL_FILE_STATUS = 4096u32; -pub const VIF_CANNOTDELETECUR: VER_INSTALL_FILE_STATUS = 16384u32; -pub const VIF_CANNOTLOADCABINET: VER_INSTALL_FILE_STATUS = 1048576u32; -pub const VIF_CANNOTLOADLZ32: VER_INSTALL_FILE_STATUS = 524288u32; -pub const VIF_CANNOTREADDST: VER_INSTALL_FILE_STATUS = 131072u32; -pub const VIF_CANNOTREADSRC: VER_INSTALL_FILE_STATUS = 65536u32; -pub const VIF_CANNOTRENAME: VER_INSTALL_FILE_STATUS = 8192u32; -pub const VIF_DIFFCODEPG: VER_INSTALL_FILE_STATUS = 16u32; -pub const VIF_DIFFLANG: VER_INSTALL_FILE_STATUS = 8u32; -pub const VIF_DIFFTYPE: VER_INSTALL_FILE_STATUS = 32u32; -pub const VIF_FILEINUSE: VER_INSTALL_FILE_STATUS = 128u32; -pub const VIF_MISMATCH: VER_INSTALL_FILE_STATUS = 2u32; -pub const VIF_OUTOFMEMORY: VER_INSTALL_FILE_STATUS = 32768u32; -pub const VIF_OUTOFSPACE: VER_INSTALL_FILE_STATUS = 256u32; -pub const VIF_SHARINGVIOLATION: VER_INSTALL_FILE_STATUS = 1024u32; -pub const VIF_SRCOLD: VER_INSTALL_FILE_STATUS = 4u32; -pub const VIF_TEMPFILE: VER_INSTALL_FILE_STATUS = 1u32; -pub const VIF_WRITEPROT: VER_INSTALL_FILE_STATUS = 64u32; -pub const VOLUME_NAME_DOS: GETFINALPATHNAMEBYHANDLE_FLAGS = 0u32; -pub const VOLUME_NAME_GUID: GETFINALPATHNAMEBYHANDLE_FLAGS = 1u32; -pub const VOLUME_NAME_NONE: GETFINALPATHNAMEBYHANDLE_FLAGS = 4u32; -pub const VOLUME_NAME_NT: GETFINALPATHNAMEBYHANDLE_FLAGS = 2u32; -pub const VOS_DOS: VS_FIXEDFILEINFO_FILE_OS = 65536u32; -pub const VOS_DOS_WINDOWS16: VS_FIXEDFILEINFO_FILE_OS = 65537u32; -pub const VOS_DOS_WINDOWS32: VS_FIXEDFILEINFO_FILE_OS = 65540u32; -pub const VOS_NT: VS_FIXEDFILEINFO_FILE_OS = 262144u32; -pub const VOS_NT_WINDOWS32: VS_FIXEDFILEINFO_FILE_OS = 262148u32; -pub const VOS_OS216: VS_FIXEDFILEINFO_FILE_OS = 131072u32; -pub const VOS_OS216_PM16: VS_FIXEDFILEINFO_FILE_OS = 131074u32; -pub const VOS_OS232: VS_FIXEDFILEINFO_FILE_OS = 196608u32; -pub const VOS_OS232_PM32: VS_FIXEDFILEINFO_FILE_OS = 196611u32; -pub const VOS_UNKNOWN: VS_FIXEDFILEINFO_FILE_OS = 0u32; -pub const VOS_WINCE: VS_FIXEDFILEINFO_FILE_OS = 327680u32; -pub const VOS__BASE: VS_FIXEDFILEINFO_FILE_OS = 0u32; -pub const VOS__PM16: VS_FIXEDFILEINFO_FILE_OS = 2u32; -pub const VOS__PM32: VS_FIXEDFILEINFO_FILE_OS = 3u32; -pub const VOS__WINDOWS16: VS_FIXEDFILEINFO_FILE_OS = 1u32; -pub const VOS__WINDOWS32: VS_FIXEDFILEINFO_FILE_OS = 4u32; -pub const VS_FFI_FILEFLAGSMASK: i32 = 63i32; -pub const VS_FFI_SIGNATURE: i32 = -17890115i32; -pub const VS_FFI_STRUCVERSION: i32 = 65536i32; -pub const VS_FF_DEBUG: VS_FIXEDFILEINFO_FILE_FLAGS = 1u32; -pub const VS_FF_INFOINFERRED: VS_FIXEDFILEINFO_FILE_FLAGS = 16u32; -pub const VS_FF_PATCHED: VS_FIXEDFILEINFO_FILE_FLAGS = 4u32; -pub const VS_FF_PRERELEASE: VS_FIXEDFILEINFO_FILE_FLAGS = 2u32; -pub const VS_FF_PRIVATEBUILD: VS_FIXEDFILEINFO_FILE_FLAGS = 8u32; -pub const VS_FF_SPECIALBUILD: VS_FIXEDFILEINFO_FILE_FLAGS = 32u32; -pub const VS_USER_DEFINED: u32 = 100u32; -pub const VS_VERSION_INFO: u32 = 1u32; -pub const WIM_BOOT_NOT_OS_WIM: u32 = 0u32; -pub const WIM_BOOT_OS_WIM: u32 = 1u32; -pub const WIM_ENTRY_FLAG_NOT_ACTIVE: u32 = 1u32; -pub const WIM_ENTRY_FLAG_SUSPENDED: u32 = 2u32; -pub const WIM_EXTERNAL_FILE_INFO_FLAG_NOT_ACTIVE: u32 = 1u32; -pub const WIM_EXTERNAL_FILE_INFO_FLAG_SUSPENDED: u32 = 2u32; -pub const WIM_PROVIDER_HASH_SIZE: u32 = 20u32; -pub const WINEFS_SETUSERKEY_SET_CAPABILITIES: u32 = 1u32; -pub const WOF_PROVIDER_FILE: u32 = 2u32; -pub const WOF_PROVIDER_WIM: u32 = 1u32; -pub const WRITE_DAC: FILE_ACCESS_RIGHTS = 262144u32; -pub const WRITE_OWNER: FILE_ACCESS_RIGHTS = 524288u32; -pub const _FT_TYPES_DEFINITION_: u32 = 1u32; -pub type CLFS_CONTEXT_MODE = i32; -pub type CLFS_FLAG = u32; -pub type CLFS_IOSTATS_CLASS = i32; -pub type CLFS_LOG_ARCHIVE_MODE = i32; -pub type CLFS_MGMT_NOTIFICATION_TYPE = i32; -pub type CLFS_MGMT_POLICY_TYPE = i32; -pub type CLS_CONTEXT_MODE = i32; -pub type CLS_IOSTATS_CLASS = i32; -pub type CLS_LOG_INFORMATION_CLASS = i32; -pub type COMPRESSION_FORMAT = u16; -pub type COPYFILE2_COPY_PHASE = i32; -pub type COPYFILE2_MESSAGE_ACTION = i32; -pub type COPYFILE2_MESSAGE_TYPE = i32; -pub type CREATE_TAPE_PARTITION_METHOD = u32; -pub type DEFINE_DOS_DEVICE_FLAGS = u32; -pub type DISKQUOTA_USERNAME_RESOLVE = u32; -pub type ERASE_TAPE_TYPE = u32; -pub type FILE_ACCESS_RIGHTS = u32; -pub type FILE_ACTION = u32; -pub type FILE_CREATION_DISPOSITION = u32; -pub type FILE_DEVICE_TYPE = u32; -pub type FILE_DISPOSITION_INFO_EX_FLAGS = u32; -pub type FILE_FLAGS_AND_ATTRIBUTES = u32; -pub type FILE_FLUSH_MODE = i32; -pub type FILE_ID_TYPE = i32; -pub type FILE_INFO_BY_HANDLE_CLASS = i32; -pub type FILE_INFO_FLAGS_PERMISSIONS = u32; -pub type FILE_NOTIFY_CHANGE = u32; -pub type FILE_SHARE_MODE = u32; -pub type FILE_TYPE = u32; -pub type FILE_WRITE_FLAGS = i32; -pub type FINDEX_INFO_LEVELS = i32; -pub type FINDEX_SEARCH_OPS = i32; -pub type FIND_FIRST_EX_FLAGS = u32; -pub type GETFINALPATHNAMEBYHANDLE_FLAGS = u32; -pub type GET_FILEEX_INFO_LEVELS = i32; -pub type GET_FILE_VERSION_INFO_FLAGS = u32; -pub type GET_TAPE_DRIVE_PARAMETERS_OPERATION = u32; -pub type IORING_CREATE_ADVISORY_FLAGS = i32; -pub type IORING_CREATE_REQUIRED_FLAGS = i32; -pub type IORING_FEATURE_FLAGS = i32; -pub type IORING_OP_CODE = i32; -pub type IORING_REF_KIND = i32; -pub type IORING_SQE_FLAGS = i32; -pub type IORING_VERSION = i32; -pub type LOCK_FILE_FLAGS = u32; -pub type LPPROGRESS_ROUTINE_CALLBACK_REASON = u32; -pub type LZOPENFILE_STYLE = u16; -pub type MOVE_FILE_FLAGS = u32; -pub type NTMS_OMID_TYPE = u32; -pub type NtmsAccessMask = i32; -pub type NtmsAllocateOptions = i32; -pub type NtmsAllocationPolicy = i32; -pub type NtmsAsyncOperations = i32; -pub type NtmsAsyncStatus = i32; -pub type NtmsBarCodeState = i32; -pub type NtmsCreateNtmsMediaOptions = i32; -pub type NtmsCreateOptions = i32; -pub type NtmsDeallocationPolicy = i32; -pub type NtmsDismountOptions = i32; -pub type NtmsDoorState = i32; -pub type NtmsDriveState = i32; -pub type NtmsDriveType = i32; -pub type NtmsEjectOperation = i32; -pub type NtmsEnumerateOption = i32; -pub type NtmsInjectOperation = i32; -pub type NtmsInventoryMethod = i32; -pub type NtmsLibRequestFlags = i32; -pub type NtmsLibraryFlags = i32; -pub type NtmsLibraryType = i32; -pub type NtmsLmOperation = i32; -pub type NtmsLmState = i32; -pub type NtmsMediaPoolPolicy = i32; -pub type NtmsMediaState = i32; -pub type NtmsMountOptions = i32; -pub type NtmsMountPriority = i32; -pub type NtmsNotificationOperations = i32; -pub type NtmsObjectsTypes = i32; -pub type NtmsOpRequestFlags = i32; -pub type NtmsOperationalState = i32; -pub type NtmsOpreqCommand = i32; -pub type NtmsOpreqState = i32; -pub type NtmsPartitionState = i32; -pub type NtmsPoolType = i32; -pub type NtmsPortContent = i32; -pub type NtmsPortPosition = i32; -pub type NtmsReadWriteCharacteristics = i32; -pub type NtmsSessionOptions = i32; -pub type NtmsSlotState = i32; -pub type NtmsUIOperations = i32; -pub type NtmsUITypes = i32; -pub type PREPARE_TAPE_OPERATION = u32; -pub type PRIORITY_HINT = i32; -pub type READ_DIRECTORY_NOTIFY_INFORMATION_CLASS = i32; -pub type REPLACE_FILE_FLAGS = u32; -pub type SERVER_CERTIFICATE_TYPE = i32; -pub type SESSION_INFO_USER_FLAGS = u32; -pub type SET_FILE_POINTER_MOVE_METHOD = u32; -pub type SHARE_INFO_PERMISSIONS = u32; -pub type SHARE_TYPE = u32; -pub type STORAGE_BUS_TYPE = i32; -pub type STREAM_INFO_LEVELS = i32; -pub type SYMBOLIC_LINK_FLAGS = u32; -pub type TAPEMARK_TYPE = u32; -pub type TAPE_INFORMATION_TYPE = u32; -pub type TAPE_POSITION_METHOD = u32; -pub type TAPE_POSITION_TYPE = u32; -pub type TRANSACTION_OUTCOME = i32; -pub type TXFS_MINIVERSION = u32; -pub type TXF_LOG_RECORD_TYPE = u16; -pub type VER_FIND_FILE_FLAGS = u32; -pub type VER_FIND_FILE_STATUS = u32; -pub type VER_INSTALL_FILE_FLAGS = u32; -pub type VER_INSTALL_FILE_STATUS = u32; -pub type VS_FIXEDFILEINFO_FILE_FLAGS = u32; -pub type VS_FIXEDFILEINFO_FILE_OS = u32; -pub type VS_FIXEDFILEINFO_FILE_SUBTYPE = i32; -pub type VS_FIXEDFILEINFO_FILE_TYPE = i32; -pub type WIN_STREAM_ID = u32; -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct BY_HANDLE_FILE_INFORMATION { - pub dwFileAttributes: u32, - pub ftCreationTime: super::super::Foundation::FILETIME, - pub ftLastAccessTime: super::super::Foundation::FILETIME, - pub ftLastWriteTime: super::super::Foundation::FILETIME, - pub dwVolumeSerialNumber: u32, - pub nFileSizeHigh: u32, - pub nFileSizeLow: u32, - pub nNumberOfLinks: u32, - pub nFileIndexHigh: u32, - pub nFileIndexLow: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for BY_HANDLE_FILE_INFORMATION {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for BY_HANDLE_FILE_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLFS_LOG_NAME_INFORMATION { - pub NameLengthInBytes: u16, - pub Name: [u16; 1], -} -impl ::core::marker::Copy for CLFS_LOG_NAME_INFORMATION {} -impl ::core::clone::Clone for CLFS_LOG_NAME_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLFS_MGMT_NOTIFICATION { - pub Notification: CLFS_MGMT_NOTIFICATION_TYPE, - pub Lsn: CLS_LSN, - pub LogIsPinned: u16, -} -impl ::core::marker::Copy for CLFS_MGMT_NOTIFICATION {} -impl ::core::clone::Clone for CLFS_MGMT_NOTIFICATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLFS_MGMT_POLICY { - pub Version: u32, - pub LengthInBytes: u32, - pub PolicyFlags: u32, - pub PolicyType: CLFS_MGMT_POLICY_TYPE, - pub PolicyParameters: CLFS_MGMT_POLICY_0, -} -impl ::core::marker::Copy for CLFS_MGMT_POLICY {} -impl ::core::clone::Clone for CLFS_MGMT_POLICY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union CLFS_MGMT_POLICY_0 { - pub MaximumSize: CLFS_MGMT_POLICY_0_4, - pub MinimumSize: CLFS_MGMT_POLICY_0_5, - pub NewContainerSize: CLFS_MGMT_POLICY_0_8, - pub GrowthRate: CLFS_MGMT_POLICY_0_2, - pub LogTail: CLFS_MGMT_POLICY_0_3, - pub AutoShrink: CLFS_MGMT_POLICY_0_1, - pub AutoGrow: CLFS_MGMT_POLICY_0_0, - pub NewContainerPrefix: CLFS_MGMT_POLICY_0_7, - pub NewContainerSuffix: CLFS_MGMT_POLICY_0_9, - pub NewContainerExtension: CLFS_MGMT_POLICY_0_6, -} -impl ::core::marker::Copy for CLFS_MGMT_POLICY_0 {} -impl ::core::clone::Clone for CLFS_MGMT_POLICY_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLFS_MGMT_POLICY_0_0 { - pub Enabled: u32, -} -impl ::core::marker::Copy for CLFS_MGMT_POLICY_0_0 {} -impl ::core::clone::Clone for CLFS_MGMT_POLICY_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLFS_MGMT_POLICY_0_1 { - pub Percentage: u32, -} -impl ::core::marker::Copy for CLFS_MGMT_POLICY_0_1 {} -impl ::core::clone::Clone for CLFS_MGMT_POLICY_0_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLFS_MGMT_POLICY_0_2 { - pub AbsoluteGrowthInContainers: u32, - pub RelativeGrowthPercentage: u32, -} -impl ::core::marker::Copy for CLFS_MGMT_POLICY_0_2 {} -impl ::core::clone::Clone for CLFS_MGMT_POLICY_0_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLFS_MGMT_POLICY_0_3 { - pub MinimumAvailablePercentage: u32, - pub MinimumAvailableContainers: u32, -} -impl ::core::marker::Copy for CLFS_MGMT_POLICY_0_3 {} -impl ::core::clone::Clone for CLFS_MGMT_POLICY_0_3 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLFS_MGMT_POLICY_0_4 { - pub Containers: u32, -} -impl ::core::marker::Copy for CLFS_MGMT_POLICY_0_4 {} -impl ::core::clone::Clone for CLFS_MGMT_POLICY_0_4 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLFS_MGMT_POLICY_0_5 { - pub Containers: u32, -} -impl ::core::marker::Copy for CLFS_MGMT_POLICY_0_5 {} -impl ::core::clone::Clone for CLFS_MGMT_POLICY_0_5 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLFS_MGMT_POLICY_0_6 { - pub ExtensionLengthInBytes: u16, - pub ExtensionString: [u16; 1], -} -impl ::core::marker::Copy for CLFS_MGMT_POLICY_0_6 {} -impl ::core::clone::Clone for CLFS_MGMT_POLICY_0_6 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLFS_MGMT_POLICY_0_7 { - pub PrefixLengthInBytes: u16, - pub PrefixString: [u16; 1], -} -impl ::core::marker::Copy for CLFS_MGMT_POLICY_0_7 {} -impl ::core::clone::Clone for CLFS_MGMT_POLICY_0_7 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLFS_MGMT_POLICY_0_8 { - pub SizeInBytes: u32, -} -impl ::core::marker::Copy for CLFS_MGMT_POLICY_0_8 {} -impl ::core::clone::Clone for CLFS_MGMT_POLICY_0_8 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLFS_MGMT_POLICY_0_9 { - pub NextContainerSuffix: u64, -} -impl ::core::marker::Copy for CLFS_MGMT_POLICY_0_9 {} -impl ::core::clone::Clone for CLFS_MGMT_POLICY_0_9 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLFS_NODE_ID { - pub cType: u32, - pub cbNode: u32, -} -impl ::core::marker::Copy for CLFS_NODE_ID {} -impl ::core::clone::Clone for CLFS_NODE_ID { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLFS_PHYSICAL_LSN_INFORMATION { - pub StreamIdentifier: u8, - pub VirtualLsn: CLS_LSN, - pub PhysicalLsn: CLS_LSN, -} -impl ::core::marker::Copy for CLFS_PHYSICAL_LSN_INFORMATION {} -impl ::core::clone::Clone for CLFS_PHYSICAL_LSN_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLFS_STREAM_ID_INFORMATION { - pub StreamIdentifier: u8, -} -impl ::core::marker::Copy for CLFS_STREAM_ID_INFORMATION {} -impl ::core::clone::Clone for CLFS_STREAM_ID_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLS_ARCHIVE_DESCRIPTOR { - pub coffLow: u64, - pub coffHigh: u64, - pub infoContainer: CLS_CONTAINER_INFORMATION, -} -impl ::core::marker::Copy for CLS_ARCHIVE_DESCRIPTOR {} -impl ::core::clone::Clone for CLS_ARCHIVE_DESCRIPTOR { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLS_CONTAINER_INFORMATION { - pub FileAttributes: u32, - pub CreationTime: u64, - pub LastAccessTime: u64, - pub LastWriteTime: u64, - pub ContainerSize: i64, - pub FileNameActualLength: u32, - pub FileNameLength: u32, - pub FileName: [u16; 256], - pub State: u32, - pub PhysicalContainerId: u32, - pub LogicalContainerId: u32, -} -impl ::core::marker::Copy for CLS_CONTAINER_INFORMATION {} -impl ::core::clone::Clone for CLS_CONTAINER_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLS_INFORMATION { - pub TotalAvailable: i64, - pub CurrentAvailable: i64, - pub TotalReservation: i64, - pub BaseFileSize: u64, - pub ContainerSize: u64, - pub TotalContainers: u32, - pub FreeContainers: u32, - pub TotalClients: u32, - pub Attributes: u32, - pub FlushThreshold: u32, - pub SectorSize: u32, - pub MinArchiveTailLsn: CLS_LSN, - pub BaseLsn: CLS_LSN, - pub LastFlushedLsn: CLS_LSN, - pub LastLsn: CLS_LSN, - pub RestartLsn: CLS_LSN, - pub Identity: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for CLS_INFORMATION {} -impl ::core::clone::Clone for CLS_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLS_IO_STATISTICS { - pub hdrIoStats: CLS_IO_STATISTICS_HEADER, - pub cFlush: u64, - pub cbFlush: u64, - pub cMetaFlush: u64, - pub cbMetaFlush: u64, -} -impl ::core::marker::Copy for CLS_IO_STATISTICS {} -impl ::core::clone::Clone for CLS_IO_STATISTICS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLS_IO_STATISTICS_HEADER { - pub ubMajorVersion: u8, - pub ubMinorVersion: u8, - pub eStatsClass: CLFS_IOSTATS_CLASS, - pub cbLength: u16, - pub coffData: u32, -} -impl ::core::marker::Copy for CLS_IO_STATISTICS_HEADER {} -impl ::core::clone::Clone for CLS_IO_STATISTICS_HEADER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLS_LSN { - pub Internal: u64, -} -impl ::core::marker::Copy for CLS_LSN {} -impl ::core::clone::Clone for CLS_LSN { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct CLS_SCAN_CONTEXT { - pub cidNode: CLFS_NODE_ID, - pub hLog: super::super::Foundation::HANDLE, - pub cIndex: u32, - pub cContainers: u32, - pub cContainersReturned: u32, - pub eScanMode: u8, - pub pinfoContainer: *mut CLS_CONTAINER_INFORMATION, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for CLS_SCAN_CONTEXT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for CLS_SCAN_CONTEXT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CLS_WRITE_ENTRY { - pub Buffer: *mut ::core::ffi::c_void, - pub ByteLength: u32, -} -impl ::core::marker::Copy for CLS_WRITE_ENTRY {} -impl ::core::clone::Clone for CLS_WRITE_ENTRY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CONNECTION_INFO_0 { - pub coni0_id: u32, -} -impl ::core::marker::Copy for CONNECTION_INFO_0 {} -impl ::core::clone::Clone for CONNECTION_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CONNECTION_INFO_1 { - pub coni1_id: u32, - pub coni1_type: SHARE_TYPE, - pub coni1_num_opens: u32, - pub coni1_num_users: u32, - pub coni1_time: u32, - pub coni1_username: ::windows_sys::core::PWSTR, - pub coni1_netname: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for CONNECTION_INFO_1 {} -impl ::core::clone::Clone for CONNECTION_INFO_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct COPYFILE2_EXTENDED_PARAMETERS { - pub dwSize: u32, - pub dwCopyFlags: u32, - pub pfCancel: *mut super::super::Foundation::BOOL, - pub pProgressRoutine: PCOPYFILE2_PROGRESS_ROUTINE, - pub pvCallbackContext: *mut ::core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for COPYFILE2_EXTENDED_PARAMETERS {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for COPYFILE2_EXTENDED_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct COPYFILE2_EXTENDED_PARAMETERS_V2 { - pub dwSize: u32, - pub dwCopyFlags: u32, - pub pfCancel: *mut super::super::Foundation::BOOL, - pub pProgressRoutine: PCOPYFILE2_PROGRESS_ROUTINE, - pub pvCallbackContext: *mut ::core::ffi::c_void, - pub dwCopyFlagsV2: u32, - pub ioDesiredSize: u32, - pub ioDesiredRate: u32, - pub reserved: [*mut ::core::ffi::c_void; 8], -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for COPYFILE2_EXTENDED_PARAMETERS_V2 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for COPYFILE2_EXTENDED_PARAMETERS_V2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct COPYFILE2_MESSAGE { - pub Type: COPYFILE2_MESSAGE_TYPE, - pub dwPadding: u32, - pub Info: COPYFILE2_MESSAGE_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for COPYFILE2_MESSAGE {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for COPYFILE2_MESSAGE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union COPYFILE2_MESSAGE_0 { - pub ChunkStarted: COPYFILE2_MESSAGE_0_1, - pub ChunkFinished: COPYFILE2_MESSAGE_0_0, - pub StreamStarted: COPYFILE2_MESSAGE_0_5, - pub StreamFinished: COPYFILE2_MESSAGE_0_4, - pub PollContinue: COPYFILE2_MESSAGE_0_3, - pub Error: COPYFILE2_MESSAGE_0_2, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for COPYFILE2_MESSAGE_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for COPYFILE2_MESSAGE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct COPYFILE2_MESSAGE_0_0 { - pub dwStreamNumber: u32, - pub dwFlags: u32, - pub hSourceFile: super::super::Foundation::HANDLE, - pub hDestinationFile: super::super::Foundation::HANDLE, - pub uliChunkNumber: u64, - pub uliChunkSize: u64, - pub uliStreamSize: u64, - pub uliStreamBytesTransferred: u64, - pub uliTotalFileSize: u64, - pub uliTotalBytesTransferred: u64, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for COPYFILE2_MESSAGE_0_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for COPYFILE2_MESSAGE_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct COPYFILE2_MESSAGE_0_1 { - pub dwStreamNumber: u32, - pub dwReserved: u32, - pub hSourceFile: super::super::Foundation::HANDLE, - pub hDestinationFile: super::super::Foundation::HANDLE, - pub uliChunkNumber: u64, - pub uliChunkSize: u64, - pub uliStreamSize: u64, - pub uliTotalFileSize: u64, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for COPYFILE2_MESSAGE_0_1 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for COPYFILE2_MESSAGE_0_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct COPYFILE2_MESSAGE_0_2 { - pub CopyPhase: COPYFILE2_COPY_PHASE, - pub dwStreamNumber: u32, - pub hrFailure: ::windows_sys::core::HRESULT, - pub dwReserved: u32, - pub uliChunkNumber: u64, - pub uliStreamSize: u64, - pub uliStreamBytesTransferred: u64, - pub uliTotalFileSize: u64, - pub uliTotalBytesTransferred: u64, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for COPYFILE2_MESSAGE_0_2 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for COPYFILE2_MESSAGE_0_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct COPYFILE2_MESSAGE_0_3 { - pub dwReserved: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for COPYFILE2_MESSAGE_0_3 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for COPYFILE2_MESSAGE_0_3 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct COPYFILE2_MESSAGE_0_4 { - pub dwStreamNumber: u32, - pub dwReserved: u32, - pub hSourceFile: super::super::Foundation::HANDLE, - pub hDestinationFile: super::super::Foundation::HANDLE, - pub uliStreamSize: u64, - pub uliStreamBytesTransferred: u64, - pub uliTotalFileSize: u64, - pub uliTotalBytesTransferred: u64, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for COPYFILE2_MESSAGE_0_4 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for COPYFILE2_MESSAGE_0_4 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct COPYFILE2_MESSAGE_0_5 { - pub dwStreamNumber: u32, - pub dwReserved: u32, - pub hSourceFile: super::super::Foundation::HANDLE, - pub hDestinationFile: super::super::Foundation::HANDLE, - pub uliStreamSize: u64, - pub uliTotalFileSize: u64, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for COPYFILE2_MESSAGE_0_5 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for COPYFILE2_MESSAGE_0_5 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -pub struct CREATEFILE2_EXTENDED_PARAMETERS { - pub dwSize: u32, - pub dwFileAttributes: u32, - pub dwFileFlags: u32, - pub dwSecurityQosFlags: u32, - pub lpSecurityAttributes: *mut super::super::Security::SECURITY_ATTRIBUTES, - pub hTemplateFile: super::super::Foundation::HANDLE, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -impl ::core::marker::Copy for CREATEFILE2_EXTENDED_PARAMETERS {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -impl ::core::clone::Clone for CREATEFILE2_EXTENDED_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DISKQUOTA_USER_INFORMATION { - pub QuotaUsed: i64, - pub QuotaThreshold: i64, - pub QuotaLimit: i64, -} -impl ::core::marker::Copy for DISKQUOTA_USER_INFORMATION {} -impl ::core::clone::Clone for DISKQUOTA_USER_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DISK_SPACE_INFORMATION { - pub ActualTotalAllocationUnits: u64, - pub ActualAvailableAllocationUnits: u64, - pub ActualPoolUnavailableAllocationUnits: u64, - pub CallerTotalAllocationUnits: u64, - pub CallerAvailableAllocationUnits: u64, - pub CallerPoolUnavailableAllocationUnits: u64, - pub UsedAllocationUnits: u64, - pub TotalReservedAllocationUnits: u64, - pub VolumeStorageReserveAllocationUnits: u64, - pub AvailableCommittedAllocationUnits: u64, - pub PoolAvailableAllocationUnits: u64, - pub SectorsPerAllocationUnit: u32, - pub BytesPerSector: u32, -} -impl ::core::marker::Copy for DISK_SPACE_INFORMATION {} -impl ::core::clone::Clone for DISK_SPACE_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct EFS_CERTIFICATE_BLOB { - pub dwCertEncodingType: u32, - pub cbData: u32, - pub pbData: *mut u8, -} -impl ::core::marker::Copy for EFS_CERTIFICATE_BLOB {} -impl ::core::clone::Clone for EFS_CERTIFICATE_BLOB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct EFS_COMPATIBILITY_INFO { - pub EfsVersion: u32, -} -impl ::core::marker::Copy for EFS_COMPATIBILITY_INFO {} -impl ::core::clone::Clone for EFS_COMPATIBILITY_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct EFS_DECRYPTION_STATUS_INFO { - pub dwDecryptionError: u32, - pub dwHashOffset: u32, - pub cbHash: u32, -} -impl ::core::marker::Copy for EFS_DECRYPTION_STATUS_INFO {} -impl ::core::clone::Clone for EFS_DECRYPTION_STATUS_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct EFS_ENCRYPTION_STATUS_INFO { - pub bHasCurrentKey: super::super::Foundation::BOOL, - pub dwEncryptionError: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for EFS_ENCRYPTION_STATUS_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for EFS_ENCRYPTION_STATUS_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct EFS_HASH_BLOB { - pub cbData: u32, - pub pbData: *mut u8, -} -impl ::core::marker::Copy for EFS_HASH_BLOB {} -impl ::core::clone::Clone for EFS_HASH_BLOB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Security_Cryptography\"`"] -#[cfg(feature = "Win32_Security_Cryptography")] -pub struct EFS_KEY_INFO { - pub dwVersion: u32, - pub Entropy: u32, - pub Algorithm: super::super::Security::Cryptography::ALG_ID, - pub KeyLength: u32, -} -#[cfg(feature = "Win32_Security_Cryptography")] -impl ::core::marker::Copy for EFS_KEY_INFO {} -#[cfg(feature = "Win32_Security_Cryptography")] -impl ::core::clone::Clone for EFS_KEY_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct EFS_PIN_BLOB { - pub cbPadding: u32, - pub cbData: u32, - pub pbData: *mut u8, -} -impl ::core::marker::Copy for EFS_PIN_BLOB {} -impl ::core::clone::Clone for EFS_PIN_BLOB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct EFS_RPC_BLOB { - pub cbData: u32, - pub pbData: *mut u8, -} -impl ::core::marker::Copy for EFS_RPC_BLOB {} -impl ::core::clone::Clone for EFS_RPC_BLOB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct EFS_VERSION_INFO { - pub EfsVersion: u32, - pub SubVersion: u32, -} -impl ::core::marker::Copy for EFS_VERSION_INFO {} -impl ::core::clone::Clone for EFS_VERSION_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Security\"`"] -#[cfg(feature = "Win32_Security")] -pub struct ENCRYPTED_FILE_METADATA_SIGNATURE { - pub dwEfsAccessType: u32, - pub pCertificatesAdded: *mut ENCRYPTION_CERTIFICATE_HASH_LIST, - pub pEncryptionCertificate: *mut ENCRYPTION_CERTIFICATE, - pub pEfsStreamSignature: *mut EFS_RPC_BLOB, -} -#[cfg(feature = "Win32_Security")] -impl ::core::marker::Copy for ENCRYPTED_FILE_METADATA_SIGNATURE {} -#[cfg(feature = "Win32_Security")] -impl ::core::clone::Clone for ENCRYPTED_FILE_METADATA_SIGNATURE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Security\"`"] -#[cfg(feature = "Win32_Security")] -pub struct ENCRYPTION_CERTIFICATE { - pub cbTotalLength: u32, - pub pUserSid: *mut super::super::Security::SID, - pub pCertBlob: *mut EFS_CERTIFICATE_BLOB, -} -#[cfg(feature = "Win32_Security")] -impl ::core::marker::Copy for ENCRYPTION_CERTIFICATE {} -#[cfg(feature = "Win32_Security")] -impl ::core::clone::Clone for ENCRYPTION_CERTIFICATE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Security\"`"] -#[cfg(feature = "Win32_Security")] -pub struct ENCRYPTION_CERTIFICATE_HASH { - pub cbTotalLength: u32, - pub pUserSid: *mut super::super::Security::SID, - pub pHash: *mut EFS_HASH_BLOB, - pub lpDisplayInformation: ::windows_sys::core::PWSTR, -} -#[cfg(feature = "Win32_Security")] -impl ::core::marker::Copy for ENCRYPTION_CERTIFICATE_HASH {} -#[cfg(feature = "Win32_Security")] -impl ::core::clone::Clone for ENCRYPTION_CERTIFICATE_HASH { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Security\"`"] -#[cfg(feature = "Win32_Security")] -pub struct ENCRYPTION_CERTIFICATE_HASH_LIST { - pub nCert_Hash: u32, - pub pUsers: *mut *mut ENCRYPTION_CERTIFICATE_HASH, -} -#[cfg(feature = "Win32_Security")] -impl ::core::marker::Copy for ENCRYPTION_CERTIFICATE_HASH_LIST {} -#[cfg(feature = "Win32_Security")] -impl ::core::clone::Clone for ENCRYPTION_CERTIFICATE_HASH_LIST { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Security\"`"] -#[cfg(feature = "Win32_Security")] -pub struct ENCRYPTION_CERTIFICATE_LIST { - pub nUsers: u32, - pub pUsers: *mut *mut ENCRYPTION_CERTIFICATE, -} -#[cfg(feature = "Win32_Security")] -impl ::core::marker::Copy for ENCRYPTION_CERTIFICATE_LIST {} -#[cfg(feature = "Win32_Security")] -impl ::core::clone::Clone for ENCRYPTION_CERTIFICATE_LIST { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Security\"`"] -#[cfg(feature = "Win32_Security")] -pub struct ENCRYPTION_PROTECTOR { - pub cbTotalLength: u32, - pub pUserSid: *mut super::super::Security::SID, - pub lpProtectorDescriptor: ::windows_sys::core::PWSTR, -} -#[cfg(feature = "Win32_Security")] -impl ::core::marker::Copy for ENCRYPTION_PROTECTOR {} -#[cfg(feature = "Win32_Security")] -impl ::core::clone::Clone for ENCRYPTION_PROTECTOR { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Security\"`"] -#[cfg(feature = "Win32_Security")] -pub struct ENCRYPTION_PROTECTOR_LIST { - pub nProtectors: u32, - pub pProtectors: *mut *mut ENCRYPTION_PROTECTOR, -} -#[cfg(feature = "Win32_Security")] -impl ::core::marker::Copy for ENCRYPTION_PROTECTOR_LIST {} -#[cfg(feature = "Win32_Security")] -impl ::core::clone::Clone for ENCRYPTION_PROTECTOR_LIST { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct FH_OVERLAPPED { - pub Internal: usize, - pub InternalHigh: usize, - pub Offset: u32, - pub OffsetHigh: u32, - pub hEvent: super::super::Foundation::HANDLE, - pub pfnCompletion: PFN_IO_COMPLETION, - pub Reserved1: usize, - pub Reserved2: usize, - pub Reserved3: usize, - pub Reserved4: usize, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for FH_OVERLAPPED {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for FH_OVERLAPPED { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_ALIGNMENT_INFO { - pub AlignmentRequirement: u32, -} -impl ::core::marker::Copy for FILE_ALIGNMENT_INFO {} -impl ::core::clone::Clone for FILE_ALIGNMENT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_ALLOCATION_INFO { - pub AllocationSize: i64, -} -impl ::core::marker::Copy for FILE_ALLOCATION_INFO {} -impl ::core::clone::Clone for FILE_ALLOCATION_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_ATTRIBUTE_TAG_INFO { - pub FileAttributes: u32, - pub ReparseTag: u32, -} -impl ::core::marker::Copy for FILE_ATTRIBUTE_TAG_INFO {} -impl ::core::clone::Clone for FILE_ATTRIBUTE_TAG_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_BASIC_INFO { - pub CreationTime: i64, - pub LastAccessTime: i64, - pub LastWriteTime: i64, - pub ChangeTime: i64, - pub FileAttributes: u32, -} -impl ::core::marker::Copy for FILE_BASIC_INFO {} -impl ::core::clone::Clone for FILE_BASIC_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_COMPRESSION_INFO { - pub CompressedFileSize: i64, - pub CompressionFormat: COMPRESSION_FORMAT, - pub CompressionUnitShift: u8, - pub ChunkShift: u8, - pub ClusterShift: u8, - pub Reserved: [u8; 3], -} -impl ::core::marker::Copy for FILE_COMPRESSION_INFO {} -impl ::core::clone::Clone for FILE_COMPRESSION_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct FILE_DISPOSITION_INFO { - pub DeleteFile: super::super::Foundation::BOOLEAN, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for FILE_DISPOSITION_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for FILE_DISPOSITION_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_DISPOSITION_INFO_EX { - pub Flags: FILE_DISPOSITION_INFO_EX_FLAGS, -} -impl ::core::marker::Copy for FILE_DISPOSITION_INFO_EX {} -impl ::core::clone::Clone for FILE_DISPOSITION_INFO_EX { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_END_OF_FILE_INFO { - pub EndOfFile: i64, -} -impl ::core::marker::Copy for FILE_END_OF_FILE_INFO {} -impl ::core::clone::Clone for FILE_END_OF_FILE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_EXTENT { - pub VolumeOffset: u64, - pub ExtentLength: u64, -} -impl ::core::marker::Copy for FILE_EXTENT {} -impl ::core::clone::Clone for FILE_EXTENT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_FULL_DIR_INFO { - pub NextEntryOffset: u32, - pub FileIndex: u32, - pub CreationTime: i64, - pub LastAccessTime: i64, - pub LastWriteTime: i64, - pub ChangeTime: i64, - pub EndOfFile: i64, - pub AllocationSize: i64, - pub FileAttributes: u32, - pub FileNameLength: u32, - pub EaSize: u32, - pub FileName: [u16; 1], -} -impl ::core::marker::Copy for FILE_FULL_DIR_INFO {} -impl ::core::clone::Clone for FILE_FULL_DIR_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_ID_128 { - pub Identifier: [u8; 16], -} -impl ::core::marker::Copy for FILE_ID_128 {} -impl ::core::clone::Clone for FILE_ID_128 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_ID_BOTH_DIR_INFO { - pub NextEntryOffset: u32, - pub FileIndex: u32, - pub CreationTime: i64, - pub LastAccessTime: i64, - pub LastWriteTime: i64, - pub ChangeTime: i64, - pub EndOfFile: i64, - pub AllocationSize: i64, - pub FileAttributes: u32, - pub FileNameLength: u32, - pub EaSize: u32, - pub ShortNameLength: i8, - pub ShortName: [u16; 12], - pub FileId: i64, - pub FileName: [u16; 1], -} -impl ::core::marker::Copy for FILE_ID_BOTH_DIR_INFO {} -impl ::core::clone::Clone for FILE_ID_BOTH_DIR_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_ID_DESCRIPTOR { - pub dwSize: u32, - pub Type: FILE_ID_TYPE, - pub Anonymous: FILE_ID_DESCRIPTOR_0, -} -impl ::core::marker::Copy for FILE_ID_DESCRIPTOR {} -impl ::core::clone::Clone for FILE_ID_DESCRIPTOR { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union FILE_ID_DESCRIPTOR_0 { - pub FileId: i64, - pub ObjectId: ::windows_sys::core::GUID, - pub ExtendedFileId: FILE_ID_128, -} -impl ::core::marker::Copy for FILE_ID_DESCRIPTOR_0 {} -impl ::core::clone::Clone for FILE_ID_DESCRIPTOR_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_ID_EXTD_DIR_INFO { - pub NextEntryOffset: u32, - pub FileIndex: u32, - pub CreationTime: i64, - pub LastAccessTime: i64, - pub LastWriteTime: i64, - pub ChangeTime: i64, - pub EndOfFile: i64, - pub AllocationSize: i64, - pub FileAttributes: u32, - pub FileNameLength: u32, - pub EaSize: u32, - pub ReparsePointTag: u32, - pub FileId: FILE_ID_128, - pub FileName: [u16; 1], -} -impl ::core::marker::Copy for FILE_ID_EXTD_DIR_INFO {} -impl ::core::clone::Clone for FILE_ID_EXTD_DIR_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_ID_INFO { - pub VolumeSerialNumber: u64, - pub FileId: FILE_ID_128, -} -impl ::core::marker::Copy for FILE_ID_INFO {} -impl ::core::clone::Clone for FILE_ID_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_INFO_2 { - pub fi2_id: u32, -} -impl ::core::marker::Copy for FILE_INFO_2 {} -impl ::core::clone::Clone for FILE_INFO_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_INFO_3 { - pub fi3_id: u32, - pub fi3_permissions: FILE_INFO_FLAGS_PERMISSIONS, - pub fi3_num_locks: u32, - pub fi3_pathname: ::windows_sys::core::PWSTR, - pub fi3_username: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for FILE_INFO_3 {} -impl ::core::clone::Clone for FILE_INFO_3 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_IO_PRIORITY_HINT_INFO { - pub PriorityHint: PRIORITY_HINT, -} -impl ::core::marker::Copy for FILE_IO_PRIORITY_HINT_INFO {} -impl ::core::clone::Clone for FILE_IO_PRIORITY_HINT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_NAME_INFO { - pub FileNameLength: u32, - pub FileName: [u16; 1], -} -impl ::core::marker::Copy for FILE_NAME_INFO {} -impl ::core::clone::Clone for FILE_NAME_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_NOTIFY_EXTENDED_INFORMATION { - pub NextEntryOffset: u32, - pub Action: FILE_ACTION, - pub CreationTime: i64, - pub LastModificationTime: i64, - pub LastChangeTime: i64, - pub LastAccessTime: i64, - pub AllocatedLength: i64, - pub FileSize: i64, - pub FileAttributes: u32, - pub Anonymous: FILE_NOTIFY_EXTENDED_INFORMATION_0, - pub FileId: i64, - pub ParentFileId: i64, - pub FileNameLength: u32, - pub FileName: [u16; 1], -} -impl ::core::marker::Copy for FILE_NOTIFY_EXTENDED_INFORMATION {} -impl ::core::clone::Clone for FILE_NOTIFY_EXTENDED_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union FILE_NOTIFY_EXTENDED_INFORMATION_0 { - pub ReparsePointTag: u32, - pub EaSize: u32, -} -impl ::core::marker::Copy for FILE_NOTIFY_EXTENDED_INFORMATION_0 {} -impl ::core::clone::Clone for FILE_NOTIFY_EXTENDED_INFORMATION_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_NOTIFY_INFORMATION { - pub NextEntryOffset: u32, - pub Action: FILE_ACTION, - pub FileNameLength: u32, - pub FileName: [u16; 1], -} -impl ::core::marker::Copy for FILE_NOTIFY_INFORMATION {} -impl ::core::clone::Clone for FILE_NOTIFY_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_REMOTE_PROTOCOL_INFO { - pub StructureVersion: u16, - pub StructureSize: u16, - pub Protocol: u32, - pub ProtocolMajorVersion: u16, - pub ProtocolMinorVersion: u16, - pub ProtocolRevision: u16, - pub Reserved: u16, - pub Flags: u32, - pub GenericReserved: FILE_REMOTE_PROTOCOL_INFO_0, - pub ProtocolSpecific: FILE_REMOTE_PROTOCOL_INFO_1, -} -impl ::core::marker::Copy for FILE_REMOTE_PROTOCOL_INFO {} -impl ::core::clone::Clone for FILE_REMOTE_PROTOCOL_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_REMOTE_PROTOCOL_INFO_0 { - pub Reserved: [u32; 8], -} -impl ::core::marker::Copy for FILE_REMOTE_PROTOCOL_INFO_0 {} -impl ::core::clone::Clone for FILE_REMOTE_PROTOCOL_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union FILE_REMOTE_PROTOCOL_INFO_1 { - pub Smb2: FILE_REMOTE_PROTOCOL_INFO_1_0, - pub Reserved: [u32; 16], -} -impl ::core::marker::Copy for FILE_REMOTE_PROTOCOL_INFO_1 {} -impl ::core::clone::Clone for FILE_REMOTE_PROTOCOL_INFO_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_REMOTE_PROTOCOL_INFO_1_0 { - pub Server: FILE_REMOTE_PROTOCOL_INFO_1_0_0, - pub Share: FILE_REMOTE_PROTOCOL_INFO_1_0_1, -} -impl ::core::marker::Copy for FILE_REMOTE_PROTOCOL_INFO_1_0 {} -impl ::core::clone::Clone for FILE_REMOTE_PROTOCOL_INFO_1_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_REMOTE_PROTOCOL_INFO_1_0_0 { - pub Capabilities: u32, -} -impl ::core::marker::Copy for FILE_REMOTE_PROTOCOL_INFO_1_0_0 {} -impl ::core::clone::Clone for FILE_REMOTE_PROTOCOL_INFO_1_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_REMOTE_PROTOCOL_INFO_1_0_1 { - pub Capabilities: u32, - pub ShareFlags: u32, -} -impl ::core::marker::Copy for FILE_REMOTE_PROTOCOL_INFO_1_0_1 {} -impl ::core::clone::Clone for FILE_REMOTE_PROTOCOL_INFO_1_0_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct FILE_RENAME_INFO { - pub Anonymous: FILE_RENAME_INFO_0, - pub RootDirectory: super::super::Foundation::HANDLE, - pub FileNameLength: u32, - pub FileName: [u16; 1], -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for FILE_RENAME_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for FILE_RENAME_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union FILE_RENAME_INFO_0 { - pub ReplaceIfExists: super::super::Foundation::BOOLEAN, - pub Flags: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for FILE_RENAME_INFO_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for FILE_RENAME_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union FILE_SEGMENT_ELEMENT { - pub Buffer: *mut ::core::ffi::c_void, - pub Alignment: u64, -} -impl ::core::marker::Copy for FILE_SEGMENT_ELEMENT {} -impl ::core::clone::Clone for FILE_SEGMENT_ELEMENT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct FILE_STANDARD_INFO { - pub AllocationSize: i64, - pub EndOfFile: i64, - pub NumberOfLinks: u32, - pub DeletePending: super::super::Foundation::BOOLEAN, - pub Directory: super::super::Foundation::BOOLEAN, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for FILE_STANDARD_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for FILE_STANDARD_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_STORAGE_INFO { - pub LogicalBytesPerSector: u32, - pub PhysicalBytesPerSectorForAtomicity: u32, - pub PhysicalBytesPerSectorForPerformance: u32, - pub FileSystemEffectivePhysicalBytesPerSectorForAtomicity: u32, - pub Flags: u32, - pub ByteOffsetForSectorAlignment: u32, - pub ByteOffsetForPartitionAlignment: u32, -} -impl ::core::marker::Copy for FILE_STORAGE_INFO {} -impl ::core::clone::Clone for FILE_STORAGE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILE_STREAM_INFO { - pub NextEntryOffset: u32, - pub StreamNameLength: u32, - pub StreamSize: i64, - pub StreamAllocationSize: i64, - pub StreamName: [u16; 1], -} -impl ::core::marker::Copy for FILE_STREAM_INFO {} -impl ::core::clone::Clone for FILE_STREAM_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct FIO_CONTEXT { - pub m_dwTempHack: u32, - pub m_dwSignature: u32, - pub m_hFile: super::super::Foundation::HANDLE, - pub m_dwLinesOffset: u32, - pub m_dwHeaderLength: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for FIO_CONTEXT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for FIO_CONTEXT { - fn clone(&self) -> Self { - *self - } -} -pub type HIORING = isize; -#[repr(C)] -pub struct IORING_BUFFER_INFO { - pub Address: *mut ::core::ffi::c_void, - pub Length: u32, -} -impl ::core::marker::Copy for IORING_BUFFER_INFO {} -impl ::core::clone::Clone for IORING_BUFFER_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct IORING_BUFFER_REF { - pub Kind: IORING_REF_KIND, - pub Buffer: IORING_BUFFER_REF_0, -} -impl ::core::marker::Copy for IORING_BUFFER_REF {} -impl ::core::clone::Clone for IORING_BUFFER_REF { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union IORING_BUFFER_REF_0 { - pub Address: *mut ::core::ffi::c_void, - pub IndexAndOffset: IORING_REGISTERED_BUFFER, -} -impl ::core::marker::Copy for IORING_BUFFER_REF_0 {} -impl ::core::clone::Clone for IORING_BUFFER_REF_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct IORING_CAPABILITIES { - pub MaxVersion: IORING_VERSION, - pub MaxSubmissionQueueSize: u32, - pub MaxCompletionQueueSize: u32, - pub FeatureFlags: IORING_FEATURE_FLAGS, -} -impl ::core::marker::Copy for IORING_CAPABILITIES {} -impl ::core::clone::Clone for IORING_CAPABILITIES { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct IORING_CQE { - pub UserData: usize, - pub ResultCode: ::windows_sys::core::HRESULT, - pub Information: usize, -} -impl ::core::marker::Copy for IORING_CQE {} -impl ::core::clone::Clone for IORING_CQE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct IORING_CREATE_FLAGS { - pub Required: IORING_CREATE_REQUIRED_FLAGS, - pub Advisory: IORING_CREATE_ADVISORY_FLAGS, -} -impl ::core::marker::Copy for IORING_CREATE_FLAGS {} -impl ::core::clone::Clone for IORING_CREATE_FLAGS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct IORING_HANDLE_REF { - pub Kind: IORING_REF_KIND, - pub Handle: IORING_HANDLE_REF_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for IORING_HANDLE_REF {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for IORING_HANDLE_REF { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union IORING_HANDLE_REF_0 { - pub Handle: super::super::Foundation::HANDLE, - pub Index: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for IORING_HANDLE_REF_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for IORING_HANDLE_REF_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct IORING_INFO { - pub IoRingVersion: IORING_VERSION, - pub Flags: IORING_CREATE_FLAGS, - pub SubmissionQueueSize: u32, - pub CompletionQueueSize: u32, -} -impl ::core::marker::Copy for IORING_INFO {} -impl ::core::clone::Clone for IORING_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct IORING_REGISTERED_BUFFER { - pub BufferIndex: u32, - pub Offset: u32, -} -impl ::core::marker::Copy for IORING_REGISTERED_BUFFER {} -impl ::core::clone::Clone for IORING_REGISTERED_BUFFER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct KCRM_MARSHAL_HEADER { - pub VersionMajor: u32, - pub VersionMinor: u32, - pub NumProtocols: u32, - pub Unused: u32, -} -impl ::core::marker::Copy for KCRM_MARSHAL_HEADER {} -impl ::core::clone::Clone for KCRM_MARSHAL_HEADER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct KCRM_PROTOCOL_BLOB { - pub ProtocolId: ::windows_sys::core::GUID, - pub StaticInfoLength: u32, - pub TransactionIdInfoLength: u32, - pub Unused1: u32, - pub Unused2: u32, -} -impl ::core::marker::Copy for KCRM_PROTOCOL_BLOB {} -impl ::core::clone::Clone for KCRM_PROTOCOL_BLOB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct KCRM_TRANSACTION_BLOB { - pub UOW: ::windows_sys::core::GUID, - pub TmIdentity: ::windows_sys::core::GUID, - pub IsolationLevel: u32, - pub IsolationFlags: u32, - pub Timeout: u32, - pub Description: [u16; 64], -} -impl ::core::marker::Copy for KCRM_TRANSACTION_BLOB {} -impl ::core::clone::Clone for KCRM_TRANSACTION_BLOB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct LOG_MANAGEMENT_CALLBACKS { - pub CallbackContext: *mut ::core::ffi::c_void, - pub AdvanceTailCallback: PLOG_TAIL_ADVANCE_CALLBACK, - pub LogFullHandlerCallback: PLOG_FULL_HANDLER_CALLBACK, - pub LogUnpinnedCallback: PLOG_UNPINNED_CALLBACK, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for LOG_MANAGEMENT_CALLBACKS {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for LOG_MANAGEMENT_CALLBACKS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct MediaLabelInfo { - pub LabelType: [u16; 64], - pub LabelIDSize: u32, - pub LabelID: [u8; 256], - pub LabelAppDescr: [u16; 256], -} -impl ::core::marker::Copy for MediaLabelInfo {} -impl ::core::clone::Clone for MediaLabelInfo { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NAME_CACHE_CONTEXT { - pub m_dwSignature: u32, -} -impl ::core::marker::Copy for NAME_CACHE_CONTEXT {} -impl ::core::clone::Clone for NAME_CACHE_CONTEXT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_ALLOCATION_INFORMATION { - pub dwSize: u32, - pub lpReserved: *mut ::core::ffi::c_void, - pub AllocatedFrom: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for NTMS_ALLOCATION_INFORMATION {} -impl ::core::clone::Clone for NTMS_ALLOCATION_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct NTMS_ASYNC_IO { - pub OperationId: ::windows_sys::core::GUID, - pub EventId: ::windows_sys::core::GUID, - pub dwOperationType: u32, - pub dwResult: u32, - pub dwAsyncState: u32, - pub hEvent: super::super::Foundation::HANDLE, - pub bOnStateChange: super::super::Foundation::BOOL, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NTMS_ASYNC_IO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NTMS_ASYNC_IO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_CHANGERINFORMATIONA { - pub Number: u32, - pub ChangerType: ::windows_sys::core::GUID, - pub szSerialNumber: [u8; 32], - pub szRevision: [u8; 32], - pub szDeviceName: [u8; 64], - pub ScsiPort: u16, - pub ScsiBus: u16, - pub ScsiTarget: u16, - pub ScsiLun: u16, - pub Library: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for NTMS_CHANGERINFORMATIONA {} -impl ::core::clone::Clone for NTMS_CHANGERINFORMATIONA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_CHANGERINFORMATIONW { - pub Number: u32, - pub ChangerType: ::windows_sys::core::GUID, - pub szSerialNumber: [u16; 32], - pub szRevision: [u16; 32], - pub szDeviceName: [u16; 64], - pub ScsiPort: u16, - pub ScsiBus: u16, - pub ScsiTarget: u16, - pub ScsiLun: u16, - pub Library: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for NTMS_CHANGERINFORMATIONW {} -impl ::core::clone::Clone for NTMS_CHANGERINFORMATIONW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_CHANGERTYPEINFORMATIONA { - pub szVendor: [u8; 128], - pub szProduct: [u8; 128], - pub DeviceType: u32, -} -impl ::core::marker::Copy for NTMS_CHANGERTYPEINFORMATIONA {} -impl ::core::clone::Clone for NTMS_CHANGERTYPEINFORMATIONA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_CHANGERTYPEINFORMATIONW { - pub szVendor: [u16; 128], - pub szProduct: [u16; 128], - pub DeviceType: u32, -} -impl ::core::marker::Copy for NTMS_CHANGERTYPEINFORMATIONW {} -impl ::core::clone::Clone for NTMS_CHANGERTYPEINFORMATIONW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_COMPUTERINFORMATION { - pub dwLibRequestPurgeTime: u32, - pub dwOpRequestPurgeTime: u32, - pub dwLibRequestFlags: u32, - pub dwOpRequestFlags: u32, - pub dwMediaPoolPolicy: u32, -} -impl ::core::marker::Copy for NTMS_COMPUTERINFORMATION {} -impl ::core::clone::Clone for NTMS_COMPUTERINFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct NTMS_DRIVEINFORMATIONA { - pub Number: u32, - pub State: u32, - pub DriveType: ::windows_sys::core::GUID, - pub szDeviceName: [u8; 64], - pub szSerialNumber: [u8; 32], - pub szRevision: [u8; 32], - pub ScsiPort: u16, - pub ScsiBus: u16, - pub ScsiTarget: u16, - pub ScsiLun: u16, - pub dwMountCount: u32, - pub LastCleanedTs: super::super::Foundation::SYSTEMTIME, - pub SavedPartitionId: ::windows_sys::core::GUID, - pub Library: ::windows_sys::core::GUID, - pub Reserved: ::windows_sys::core::GUID, - pub dwDeferDismountDelay: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NTMS_DRIVEINFORMATIONA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NTMS_DRIVEINFORMATIONA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct NTMS_DRIVEINFORMATIONW { - pub Number: u32, - pub State: u32, - pub DriveType: ::windows_sys::core::GUID, - pub szDeviceName: [u16; 64], - pub szSerialNumber: [u16; 32], - pub szRevision: [u16; 32], - pub ScsiPort: u16, - pub ScsiBus: u16, - pub ScsiTarget: u16, - pub ScsiLun: u16, - pub dwMountCount: u32, - pub LastCleanedTs: super::super::Foundation::SYSTEMTIME, - pub SavedPartitionId: ::windows_sys::core::GUID, - pub Library: ::windows_sys::core::GUID, - pub Reserved: ::windows_sys::core::GUID, - pub dwDeferDismountDelay: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NTMS_DRIVEINFORMATIONW {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NTMS_DRIVEINFORMATIONW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_DRIVETYPEINFORMATIONA { - pub szVendor: [u8; 128], - pub szProduct: [u8; 128], - pub NumberOfHeads: u32, - pub DeviceType: FILE_DEVICE_TYPE, -} -impl ::core::marker::Copy for NTMS_DRIVETYPEINFORMATIONA {} -impl ::core::clone::Clone for NTMS_DRIVETYPEINFORMATIONA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_DRIVETYPEINFORMATIONW { - pub szVendor: [u16; 128], - pub szProduct: [u16; 128], - pub NumberOfHeads: u32, - pub DeviceType: FILE_DEVICE_TYPE, -} -impl ::core::marker::Copy for NTMS_DRIVETYPEINFORMATIONW {} -impl ::core::clone::Clone for NTMS_DRIVETYPEINFORMATIONW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_FILESYSTEM_INFO { - pub FileSystemType: [u16; 64], - pub VolumeName: [u16; 256], - pub SerialNumber: u32, -} -impl ::core::marker::Copy for NTMS_FILESYSTEM_INFO {} -impl ::core::clone::Clone for NTMS_FILESYSTEM_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct NTMS_I1_LIBRARYINFORMATION { - pub LibraryType: u32, - pub CleanerSlot: ::windows_sys::core::GUID, - pub CleanerSlotDefault: ::windows_sys::core::GUID, - pub LibrarySupportsDriveCleaning: super::super::Foundation::BOOL, - pub BarCodeReaderInstalled: super::super::Foundation::BOOL, - pub InventoryMethod: u32, - pub dwCleanerUsesRemaining: u32, - pub FirstDriveNumber: u32, - pub dwNumberOfDrives: u32, - pub FirstSlotNumber: u32, - pub dwNumberOfSlots: u32, - pub FirstDoorNumber: u32, - pub dwNumberOfDoors: u32, - pub FirstPortNumber: u32, - pub dwNumberOfPorts: u32, - pub FirstChangerNumber: u32, - pub dwNumberOfChangers: u32, - pub dwNumberOfMedia: u32, - pub dwNumberOfMediaTypes: u32, - pub dwNumberOfLibRequests: u32, - pub Reserved: ::windows_sys::core::GUID, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NTMS_I1_LIBRARYINFORMATION {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NTMS_I1_LIBRARYINFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct NTMS_I1_LIBREQUESTINFORMATIONA { - pub OperationCode: u32, - pub OperationOption: u32, - pub State: u32, - pub PartitionId: ::windows_sys::core::GUID, - pub DriveId: ::windows_sys::core::GUID, - pub PhysMediaId: ::windows_sys::core::GUID, - pub Library: ::windows_sys::core::GUID, - pub SlotId: ::windows_sys::core::GUID, - pub TimeQueued: super::super::Foundation::SYSTEMTIME, - pub TimeCompleted: super::super::Foundation::SYSTEMTIME, - pub szApplication: [u8; 64], - pub szUser: [u8; 64], - pub szComputer: [u8; 64], -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NTMS_I1_LIBREQUESTINFORMATIONA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NTMS_I1_LIBREQUESTINFORMATIONA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct NTMS_I1_LIBREQUESTINFORMATIONW { - pub OperationCode: u32, - pub OperationOption: u32, - pub State: u32, - pub PartitionId: ::windows_sys::core::GUID, - pub DriveId: ::windows_sys::core::GUID, - pub PhysMediaId: ::windows_sys::core::GUID, - pub Library: ::windows_sys::core::GUID, - pub SlotId: ::windows_sys::core::GUID, - pub TimeQueued: super::super::Foundation::SYSTEMTIME, - pub TimeCompleted: super::super::Foundation::SYSTEMTIME, - pub szApplication: [u16; 64], - pub szUser: [u16; 64], - pub szComputer: [u16; 64], -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NTMS_I1_LIBREQUESTINFORMATIONW {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NTMS_I1_LIBREQUESTINFORMATIONW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct NTMS_I1_OBJECTINFORMATIONA { - pub dwSize: u32, - pub dwType: u32, - pub Created: super::super::Foundation::SYSTEMTIME, - pub Modified: super::super::Foundation::SYSTEMTIME, - pub ObjectGuid: ::windows_sys::core::GUID, - pub Enabled: super::super::Foundation::BOOL, - pub dwOperationalState: u32, - pub szName: [u8; 64], - pub szDescription: [u8; 127], - pub Info: NTMS_I1_OBJECTINFORMATIONA_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NTMS_I1_OBJECTINFORMATIONA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NTMS_I1_OBJECTINFORMATIONA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union NTMS_I1_OBJECTINFORMATIONA_0 { - pub Drive: NTMS_DRIVEINFORMATIONA, - pub DriveType: NTMS_DRIVETYPEINFORMATIONA, - pub Library: NTMS_I1_LIBRARYINFORMATION, - pub Changer: NTMS_CHANGERINFORMATIONA, - pub ChangerType: NTMS_CHANGERTYPEINFORMATIONA, - pub StorageSlot: NTMS_STORAGESLOTINFORMATION, - pub IEDoor: NTMS_IEDOORINFORMATION, - pub IEPort: NTMS_IEPORTINFORMATION, - pub PhysicalMedia: NTMS_I1_PMIDINFORMATIONA, - pub LogicalMedia: NTMS_LMIDINFORMATION, - pub Partition: NTMS_I1_PARTITIONINFORMATIONA, - pub MediaPool: NTMS_MEDIAPOOLINFORMATION, - pub MediaType: NTMS_MEDIATYPEINFORMATION, - pub LibRequest: NTMS_I1_LIBREQUESTINFORMATIONA, - pub OpRequest: NTMS_I1_OPREQUESTINFORMATIONA, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NTMS_I1_OBJECTINFORMATIONA_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NTMS_I1_OBJECTINFORMATIONA_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct NTMS_I1_OBJECTINFORMATIONW { - pub dwSize: u32, - pub dwType: u32, - pub Created: super::super::Foundation::SYSTEMTIME, - pub Modified: super::super::Foundation::SYSTEMTIME, - pub ObjectGuid: ::windows_sys::core::GUID, - pub Enabled: super::super::Foundation::BOOL, - pub dwOperationalState: u32, - pub szName: [u16; 64], - pub szDescription: [u16; 127], - pub Info: NTMS_I1_OBJECTINFORMATIONW_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NTMS_I1_OBJECTINFORMATIONW {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NTMS_I1_OBJECTINFORMATIONW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union NTMS_I1_OBJECTINFORMATIONW_0 { - pub Drive: NTMS_DRIVEINFORMATIONW, - pub DriveType: NTMS_DRIVETYPEINFORMATIONW, - pub Library: NTMS_I1_LIBRARYINFORMATION, - pub Changer: NTMS_CHANGERINFORMATIONW, - pub ChangerType: NTMS_CHANGERTYPEINFORMATIONW, - pub StorageSlot: NTMS_STORAGESLOTINFORMATION, - pub IEDoor: NTMS_IEDOORINFORMATION, - pub IEPort: NTMS_IEPORTINFORMATION, - pub PhysicalMedia: NTMS_I1_PMIDINFORMATIONW, - pub LogicalMedia: NTMS_LMIDINFORMATION, - pub Partition: NTMS_I1_PARTITIONINFORMATIONW, - pub MediaPool: NTMS_MEDIAPOOLINFORMATION, - pub MediaType: NTMS_MEDIATYPEINFORMATION, - pub LibRequest: NTMS_I1_LIBREQUESTINFORMATIONW, - pub OpRequest: NTMS_I1_OPREQUESTINFORMATIONW, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NTMS_I1_OBJECTINFORMATIONW_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NTMS_I1_OBJECTINFORMATIONW_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct NTMS_I1_OPREQUESTINFORMATIONA { - pub Request: u32, - pub Submitted: super::super::Foundation::SYSTEMTIME, - pub State: u32, - pub szMessage: [u8; 127], - pub Arg1Type: u32, - pub Arg1: ::windows_sys::core::GUID, - pub Arg2Type: u32, - pub Arg2: ::windows_sys::core::GUID, - pub szApplication: [u8; 64], - pub szUser: [u8; 64], - pub szComputer: [u8; 64], -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NTMS_I1_OPREQUESTINFORMATIONA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NTMS_I1_OPREQUESTINFORMATIONA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct NTMS_I1_OPREQUESTINFORMATIONW { - pub Request: u32, - pub Submitted: super::super::Foundation::SYSTEMTIME, - pub State: u32, - pub szMessage: [u16; 127], - pub Arg1Type: u32, - pub Arg1: ::windows_sys::core::GUID, - pub Arg2Type: u32, - pub Arg2: ::windows_sys::core::GUID, - pub szApplication: [u16; 64], - pub szUser: [u16; 64], - pub szComputer: [u16; 64], -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NTMS_I1_OPREQUESTINFORMATIONW {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NTMS_I1_OPREQUESTINFORMATIONW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_I1_PARTITIONINFORMATIONA { - pub PhysicalMedia: ::windows_sys::core::GUID, - pub LogicalMedia: ::windows_sys::core::GUID, - pub State: u32, - pub Side: u16, - pub dwOmidLabelIdLength: u32, - pub OmidLabelId: [u8; 255], - pub szOmidLabelType: [u8; 64], - pub szOmidLabelInfo: [u8; 256], - pub dwMountCount: u32, - pub dwAllocateCount: u32, -} -impl ::core::marker::Copy for NTMS_I1_PARTITIONINFORMATIONA {} -impl ::core::clone::Clone for NTMS_I1_PARTITIONINFORMATIONA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_I1_PARTITIONINFORMATIONW { - pub PhysicalMedia: ::windows_sys::core::GUID, - pub LogicalMedia: ::windows_sys::core::GUID, - pub State: u32, - pub Side: u16, - pub dwOmidLabelIdLength: u32, - pub OmidLabelId: [u8; 255], - pub szOmidLabelType: [u16; 64], - pub szOmidLabelInfo: [u16; 256], - pub dwMountCount: u32, - pub dwAllocateCount: u32, -} -impl ::core::marker::Copy for NTMS_I1_PARTITIONINFORMATIONW {} -impl ::core::clone::Clone for NTMS_I1_PARTITIONINFORMATIONW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_I1_PMIDINFORMATIONA { - pub CurrentLibrary: ::windows_sys::core::GUID, - pub MediaPool: ::windows_sys::core::GUID, - pub Location: ::windows_sys::core::GUID, - pub LocationType: u32, - pub MediaType: ::windows_sys::core::GUID, - pub HomeSlot: ::windows_sys::core::GUID, - pub szBarCode: [u8; 64], - pub BarCodeState: u32, - pub szSequenceNumber: [u8; 32], - pub MediaState: u32, - pub dwNumberOfPartitions: u32, -} -impl ::core::marker::Copy for NTMS_I1_PMIDINFORMATIONA {} -impl ::core::clone::Clone for NTMS_I1_PMIDINFORMATIONA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_I1_PMIDINFORMATIONW { - pub CurrentLibrary: ::windows_sys::core::GUID, - pub MediaPool: ::windows_sys::core::GUID, - pub Location: ::windows_sys::core::GUID, - pub LocationType: u32, - pub MediaType: ::windows_sys::core::GUID, - pub HomeSlot: ::windows_sys::core::GUID, - pub szBarCode: [u16; 64], - pub BarCodeState: u32, - pub szSequenceNumber: [u16; 32], - pub MediaState: u32, - pub dwNumberOfPartitions: u32, -} -impl ::core::marker::Copy for NTMS_I1_PMIDINFORMATIONW {} -impl ::core::clone::Clone for NTMS_I1_PMIDINFORMATIONW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_IEDOORINFORMATION { - pub Number: u32, - pub State: u32, - pub MaxOpenSecs: u16, - pub Library: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for NTMS_IEDOORINFORMATION {} -impl ::core::clone::Clone for NTMS_IEDOORINFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_IEPORTINFORMATION { - pub Number: u32, - pub Content: u32, - pub Position: u32, - pub MaxExtendSecs: u16, - pub Library: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for NTMS_IEPORTINFORMATION {} -impl ::core::clone::Clone for NTMS_IEPORTINFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct NTMS_LIBRARYINFORMATION { - pub LibraryType: u32, - pub CleanerSlot: ::windows_sys::core::GUID, - pub CleanerSlotDefault: ::windows_sys::core::GUID, - pub LibrarySupportsDriveCleaning: super::super::Foundation::BOOL, - pub BarCodeReaderInstalled: super::super::Foundation::BOOL, - pub InventoryMethod: u32, - pub dwCleanerUsesRemaining: u32, - pub FirstDriveNumber: u32, - pub dwNumberOfDrives: u32, - pub FirstSlotNumber: u32, - pub dwNumberOfSlots: u32, - pub FirstDoorNumber: u32, - pub dwNumberOfDoors: u32, - pub FirstPortNumber: u32, - pub dwNumberOfPorts: u32, - pub FirstChangerNumber: u32, - pub dwNumberOfChangers: u32, - pub dwNumberOfMedia: u32, - pub dwNumberOfMediaTypes: u32, - pub dwNumberOfLibRequests: u32, - pub Reserved: ::windows_sys::core::GUID, - pub AutoRecovery: super::super::Foundation::BOOL, - pub dwFlags: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NTMS_LIBRARYINFORMATION {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NTMS_LIBRARYINFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct NTMS_LIBREQUESTINFORMATIONA { - pub OperationCode: u32, - pub OperationOption: u32, - pub State: u32, - pub PartitionId: ::windows_sys::core::GUID, - pub DriveId: ::windows_sys::core::GUID, - pub PhysMediaId: ::windows_sys::core::GUID, - pub Library: ::windows_sys::core::GUID, - pub SlotId: ::windows_sys::core::GUID, - pub TimeQueued: super::super::Foundation::SYSTEMTIME, - pub TimeCompleted: super::super::Foundation::SYSTEMTIME, - pub szApplication: [u8; 64], - pub szUser: [u8; 64], - pub szComputer: [u8; 64], - pub dwErrorCode: u32, - pub WorkItemId: ::windows_sys::core::GUID, - pub dwPriority: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NTMS_LIBREQUESTINFORMATIONA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NTMS_LIBREQUESTINFORMATIONA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct NTMS_LIBREQUESTINFORMATIONW { - pub OperationCode: u32, - pub OperationOption: u32, - pub State: u32, - pub PartitionId: ::windows_sys::core::GUID, - pub DriveId: ::windows_sys::core::GUID, - pub PhysMediaId: ::windows_sys::core::GUID, - pub Library: ::windows_sys::core::GUID, - pub SlotId: ::windows_sys::core::GUID, - pub TimeQueued: super::super::Foundation::SYSTEMTIME, - pub TimeCompleted: super::super::Foundation::SYSTEMTIME, - pub szApplication: [u16; 64], - pub szUser: [u16; 64], - pub szComputer: [u16; 64], - pub dwErrorCode: u32, - pub WorkItemId: ::windows_sys::core::GUID, - pub dwPriority: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NTMS_LIBREQUESTINFORMATIONW {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NTMS_LIBREQUESTINFORMATIONW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_LMIDINFORMATION { - pub MediaPool: ::windows_sys::core::GUID, - pub dwNumberOfPartitions: u32, -} -impl ::core::marker::Copy for NTMS_LMIDINFORMATION {} -impl ::core::clone::Clone for NTMS_LMIDINFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_MEDIAPOOLINFORMATION { - pub PoolType: u32, - pub MediaType: ::windows_sys::core::GUID, - pub Parent: ::windows_sys::core::GUID, - pub AllocationPolicy: u32, - pub DeallocationPolicy: u32, - pub dwMaxAllocates: u32, - pub dwNumberOfPhysicalMedia: u32, - pub dwNumberOfLogicalMedia: u32, - pub dwNumberOfMediaPools: u32, -} -impl ::core::marker::Copy for NTMS_MEDIAPOOLINFORMATION {} -impl ::core::clone::Clone for NTMS_MEDIAPOOLINFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_MEDIATYPEINFORMATION { - pub MediaType: u32, - pub NumberOfSides: u32, - pub ReadWriteCharacteristics: u32, - pub DeviceType: FILE_DEVICE_TYPE, -} -impl ::core::marker::Copy for NTMS_MEDIATYPEINFORMATION {} -impl ::core::clone::Clone for NTMS_MEDIATYPEINFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_MOUNT_INFORMATION { - pub dwSize: u32, - pub lpReserved: *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for NTMS_MOUNT_INFORMATION {} -impl ::core::clone::Clone for NTMS_MOUNT_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_NOTIFICATIONINFORMATION { - pub dwOperation: u32, - pub ObjectId: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for NTMS_NOTIFICATIONINFORMATION {} -impl ::core::clone::Clone for NTMS_NOTIFICATIONINFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct NTMS_OBJECTINFORMATIONA { - pub dwSize: u32, - pub dwType: u32, - pub Created: super::super::Foundation::SYSTEMTIME, - pub Modified: super::super::Foundation::SYSTEMTIME, - pub ObjectGuid: ::windows_sys::core::GUID, - pub Enabled: super::super::Foundation::BOOL, - pub dwOperationalState: u32, - pub szName: [u8; 64], - pub szDescription: [u8; 127], - pub Info: NTMS_OBJECTINFORMATIONA_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NTMS_OBJECTINFORMATIONA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NTMS_OBJECTINFORMATIONA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union NTMS_OBJECTINFORMATIONA_0 { - pub Drive: NTMS_DRIVEINFORMATIONA, - pub DriveType: NTMS_DRIVETYPEINFORMATIONA, - pub Library: NTMS_LIBRARYINFORMATION, - pub Changer: NTMS_CHANGERINFORMATIONA, - pub ChangerType: NTMS_CHANGERTYPEINFORMATIONA, - pub StorageSlot: NTMS_STORAGESLOTINFORMATION, - pub IEDoor: NTMS_IEDOORINFORMATION, - pub IEPort: NTMS_IEPORTINFORMATION, - pub PhysicalMedia: NTMS_PMIDINFORMATIONA, - pub LogicalMedia: NTMS_LMIDINFORMATION, - pub Partition: NTMS_PARTITIONINFORMATIONA, - pub MediaPool: NTMS_MEDIAPOOLINFORMATION, - pub MediaType: NTMS_MEDIATYPEINFORMATION, - pub LibRequest: NTMS_LIBREQUESTINFORMATIONA, - pub OpRequest: NTMS_OPREQUESTINFORMATIONA, - pub Computer: NTMS_COMPUTERINFORMATION, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NTMS_OBJECTINFORMATIONA_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NTMS_OBJECTINFORMATIONA_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct NTMS_OBJECTINFORMATIONW { - pub dwSize: u32, - pub dwType: u32, - pub Created: super::super::Foundation::SYSTEMTIME, - pub Modified: super::super::Foundation::SYSTEMTIME, - pub ObjectGuid: ::windows_sys::core::GUID, - pub Enabled: super::super::Foundation::BOOL, - pub dwOperationalState: u32, - pub szName: [u16; 64], - pub szDescription: [u16; 127], - pub Info: NTMS_OBJECTINFORMATIONW_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NTMS_OBJECTINFORMATIONW {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NTMS_OBJECTINFORMATIONW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union NTMS_OBJECTINFORMATIONW_0 { - pub Drive: NTMS_DRIVEINFORMATIONW, - pub DriveType: NTMS_DRIVETYPEINFORMATIONW, - pub Library: NTMS_LIBRARYINFORMATION, - pub Changer: NTMS_CHANGERINFORMATIONW, - pub ChangerType: NTMS_CHANGERTYPEINFORMATIONW, - pub StorageSlot: NTMS_STORAGESLOTINFORMATION, - pub IEDoor: NTMS_IEDOORINFORMATION, - pub IEPort: NTMS_IEPORTINFORMATION, - pub PhysicalMedia: NTMS_PMIDINFORMATIONW, - pub LogicalMedia: NTMS_LMIDINFORMATION, - pub Partition: NTMS_PARTITIONINFORMATIONW, - pub MediaPool: NTMS_MEDIAPOOLINFORMATION, - pub MediaType: NTMS_MEDIATYPEINFORMATION, - pub LibRequest: NTMS_LIBREQUESTINFORMATIONW, - pub OpRequest: NTMS_OPREQUESTINFORMATIONW, - pub Computer: NTMS_COMPUTERINFORMATION, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NTMS_OBJECTINFORMATIONW_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NTMS_OBJECTINFORMATIONW_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct NTMS_OPREQUESTINFORMATIONA { - pub Request: u32, - pub Submitted: super::super::Foundation::SYSTEMTIME, - pub State: u32, - pub szMessage: [u8; 256], - pub Arg1Type: u32, - pub Arg1: ::windows_sys::core::GUID, - pub Arg2Type: u32, - pub Arg2: ::windows_sys::core::GUID, - pub szApplication: [u8; 64], - pub szUser: [u8; 64], - pub szComputer: [u8; 64], -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NTMS_OPREQUESTINFORMATIONA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NTMS_OPREQUESTINFORMATIONA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct NTMS_OPREQUESTINFORMATIONW { - pub Request: u32, - pub Submitted: super::super::Foundation::SYSTEMTIME, - pub State: u32, - pub szMessage: [u16; 256], - pub Arg1Type: u32, - pub Arg1: ::windows_sys::core::GUID, - pub Arg2Type: u32, - pub Arg2: ::windows_sys::core::GUID, - pub szApplication: [u16; 64], - pub szUser: [u16; 64], - pub szComputer: [u16; 64], -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for NTMS_OPREQUESTINFORMATIONW {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for NTMS_OPREQUESTINFORMATIONW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_PARTITIONINFORMATIONA { - pub PhysicalMedia: ::windows_sys::core::GUID, - pub LogicalMedia: ::windows_sys::core::GUID, - pub State: u32, - pub Side: u16, - pub dwOmidLabelIdLength: u32, - pub OmidLabelId: [u8; 255], - pub szOmidLabelType: [u8; 64], - pub szOmidLabelInfo: [u8; 256], - pub dwMountCount: u32, - pub dwAllocateCount: u32, - pub Capacity: i64, -} -impl ::core::marker::Copy for NTMS_PARTITIONINFORMATIONA {} -impl ::core::clone::Clone for NTMS_PARTITIONINFORMATIONA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_PARTITIONINFORMATIONW { - pub PhysicalMedia: ::windows_sys::core::GUID, - pub LogicalMedia: ::windows_sys::core::GUID, - pub State: u32, - pub Side: u16, - pub dwOmidLabelIdLength: u32, - pub OmidLabelId: [u8; 255], - pub szOmidLabelType: [u16; 64], - pub szOmidLabelInfo: [u16; 256], - pub dwMountCount: u32, - pub dwAllocateCount: u32, - pub Capacity: i64, -} -impl ::core::marker::Copy for NTMS_PARTITIONINFORMATIONW {} -impl ::core::clone::Clone for NTMS_PARTITIONINFORMATIONW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_PMIDINFORMATIONA { - pub CurrentLibrary: ::windows_sys::core::GUID, - pub MediaPool: ::windows_sys::core::GUID, - pub Location: ::windows_sys::core::GUID, - pub LocationType: u32, - pub MediaType: ::windows_sys::core::GUID, - pub HomeSlot: ::windows_sys::core::GUID, - pub szBarCode: [u8; 64], - pub BarCodeState: u32, - pub szSequenceNumber: [u8; 32], - pub MediaState: u32, - pub dwNumberOfPartitions: u32, - pub dwMediaTypeCode: u32, - pub dwDensityCode: u32, - pub MountedPartition: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for NTMS_PMIDINFORMATIONA {} -impl ::core::clone::Clone for NTMS_PMIDINFORMATIONA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_PMIDINFORMATIONW { - pub CurrentLibrary: ::windows_sys::core::GUID, - pub MediaPool: ::windows_sys::core::GUID, - pub Location: ::windows_sys::core::GUID, - pub LocationType: u32, - pub MediaType: ::windows_sys::core::GUID, - pub HomeSlot: ::windows_sys::core::GUID, - pub szBarCode: [u16; 64], - pub BarCodeState: u32, - pub szSequenceNumber: [u16; 32], - pub MediaState: u32, - pub dwNumberOfPartitions: u32, - pub dwMediaTypeCode: u32, - pub dwDensityCode: u32, - pub MountedPartition: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for NTMS_PMIDINFORMATIONW {} -impl ::core::clone::Clone for NTMS_PMIDINFORMATIONW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTMS_STORAGESLOTINFORMATION { - pub Number: u32, - pub State: u32, - pub Library: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for NTMS_STORAGESLOTINFORMATION {} -impl ::core::clone::Clone for NTMS_STORAGESLOTINFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct OFSTRUCT { - pub cBytes: u8, - pub fFixedDisk: u8, - pub nErrCode: u16, - pub Reserved1: u16, - pub Reserved2: u16, - pub szPathName: [u8; 128], -} -impl ::core::marker::Copy for OFSTRUCT {} -impl ::core::clone::Clone for OFSTRUCT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct REPARSE_GUID_DATA_BUFFER { - pub ReparseTag: u32, - pub ReparseDataLength: u16, - pub Reserved: u16, - pub ReparseGuid: ::windows_sys::core::GUID, - pub GenericReparseBuffer: REPARSE_GUID_DATA_BUFFER_0, -} -impl ::core::marker::Copy for REPARSE_GUID_DATA_BUFFER {} -impl ::core::clone::Clone for REPARSE_GUID_DATA_BUFFER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct REPARSE_GUID_DATA_BUFFER_0 { - pub DataBuffer: [u8; 1], -} -impl ::core::marker::Copy for REPARSE_GUID_DATA_BUFFER_0 {} -impl ::core::clone::Clone for REPARSE_GUID_DATA_BUFFER_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct SERVER_ALIAS_INFO_0 { - pub srvai0_alias: ::windows_sys::core::PWSTR, - pub srvai0_target: ::windows_sys::core::PWSTR, - pub srvai0_default: super::super::Foundation::BOOLEAN, - pub srvai0_reserved: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for SERVER_ALIAS_INFO_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for SERVER_ALIAS_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SERVER_CERTIFICATE_INFO_0 { - pub srvci0_name: ::windows_sys::core::PWSTR, - pub srvci0_subject: ::windows_sys::core::PWSTR, - pub srvci0_issuer: ::windows_sys::core::PWSTR, - pub srvci0_thumbprint: ::windows_sys::core::PWSTR, - pub srvci0_friendlyname: ::windows_sys::core::PWSTR, - pub srvci0_notbefore: ::windows_sys::core::PWSTR, - pub srvci0_notafter: ::windows_sys::core::PWSTR, - pub srvci0_storelocation: ::windows_sys::core::PWSTR, - pub srvci0_storename: ::windows_sys::core::PWSTR, - pub srvci0_renewalchain: ::windows_sys::core::PWSTR, - pub srvci0_type: u32, - pub srvci0_flags: u32, - pub srvci0_mapping_status: u32, -} -impl ::core::marker::Copy for SERVER_CERTIFICATE_INFO_0 {} -impl ::core::clone::Clone for SERVER_CERTIFICATE_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SESSION_INFO_0 { - pub sesi0_cname: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for SESSION_INFO_0 {} -impl ::core::clone::Clone for SESSION_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SESSION_INFO_1 { - pub sesi1_cname: ::windows_sys::core::PWSTR, - pub sesi1_username: ::windows_sys::core::PWSTR, - pub sesi1_num_opens: u32, - pub sesi1_time: u32, - pub sesi1_idle_time: u32, - pub sesi1_user_flags: SESSION_INFO_USER_FLAGS, -} -impl ::core::marker::Copy for SESSION_INFO_1 {} -impl ::core::clone::Clone for SESSION_INFO_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SESSION_INFO_10 { - pub sesi10_cname: ::windows_sys::core::PWSTR, - pub sesi10_username: ::windows_sys::core::PWSTR, - pub sesi10_time: u32, - pub sesi10_idle_time: u32, -} -impl ::core::marker::Copy for SESSION_INFO_10 {} -impl ::core::clone::Clone for SESSION_INFO_10 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SESSION_INFO_2 { - pub sesi2_cname: ::windows_sys::core::PWSTR, - pub sesi2_username: ::windows_sys::core::PWSTR, - pub sesi2_num_opens: u32, - pub sesi2_time: u32, - pub sesi2_idle_time: u32, - pub sesi2_user_flags: SESSION_INFO_USER_FLAGS, - pub sesi2_cltype_name: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for SESSION_INFO_2 {} -impl ::core::clone::Clone for SESSION_INFO_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SESSION_INFO_502 { - pub sesi502_cname: ::windows_sys::core::PWSTR, - pub sesi502_username: ::windows_sys::core::PWSTR, - pub sesi502_num_opens: u32, - pub sesi502_time: u32, - pub sesi502_idle_time: u32, - pub sesi502_user_flags: SESSION_INFO_USER_FLAGS, - pub sesi502_cltype_name: ::windows_sys::core::PWSTR, - pub sesi502_transport: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for SESSION_INFO_502 {} -impl ::core::clone::Clone for SESSION_INFO_502 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SHARE_INFO_0 { - pub shi0_netname: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for SHARE_INFO_0 {} -impl ::core::clone::Clone for SHARE_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SHARE_INFO_1 { - pub shi1_netname: ::windows_sys::core::PWSTR, - pub shi1_type: SHARE_TYPE, - pub shi1_remark: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for SHARE_INFO_1 {} -impl ::core::clone::Clone for SHARE_INFO_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SHARE_INFO_1004 { - pub shi1004_remark: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for SHARE_INFO_1004 {} -impl ::core::clone::Clone for SHARE_INFO_1004 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SHARE_INFO_1005 { - pub shi1005_flags: u32, -} -impl ::core::marker::Copy for SHARE_INFO_1005 {} -impl ::core::clone::Clone for SHARE_INFO_1005 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SHARE_INFO_1006 { - pub shi1006_max_uses: u32, -} -impl ::core::marker::Copy for SHARE_INFO_1006 {} -impl ::core::clone::Clone for SHARE_INFO_1006 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Security\"`"] -#[cfg(feature = "Win32_Security")] -pub struct SHARE_INFO_1501 { - pub shi1501_reserved: u32, - pub shi1501_security_descriptor: super::super::Security::PSECURITY_DESCRIPTOR, -} -#[cfg(feature = "Win32_Security")] -impl ::core::marker::Copy for SHARE_INFO_1501 {} -#[cfg(feature = "Win32_Security")] -impl ::core::clone::Clone for SHARE_INFO_1501 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SHARE_INFO_1503 { - pub shi1503_sharefilter: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for SHARE_INFO_1503 {} -impl ::core::clone::Clone for SHARE_INFO_1503 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SHARE_INFO_2 { - pub shi2_netname: ::windows_sys::core::PWSTR, - pub shi2_type: SHARE_TYPE, - pub shi2_remark: ::windows_sys::core::PWSTR, - pub shi2_permissions: SHARE_INFO_PERMISSIONS, - pub shi2_max_uses: u32, - pub shi2_current_uses: u32, - pub shi2_path: ::windows_sys::core::PWSTR, - pub shi2_passwd: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for SHARE_INFO_2 {} -impl ::core::clone::Clone for SHARE_INFO_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SHARE_INFO_501 { - pub shi501_netname: ::windows_sys::core::PWSTR, - pub shi501_type: SHARE_TYPE, - pub shi501_remark: ::windows_sys::core::PWSTR, - pub shi501_flags: u32, -} -impl ::core::marker::Copy for SHARE_INFO_501 {} -impl ::core::clone::Clone for SHARE_INFO_501 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Security\"`"] -#[cfg(feature = "Win32_Security")] -pub struct SHARE_INFO_502 { - pub shi502_netname: ::windows_sys::core::PWSTR, - pub shi502_type: SHARE_TYPE, - pub shi502_remark: ::windows_sys::core::PWSTR, - pub shi502_permissions: SHARE_INFO_PERMISSIONS, - pub shi502_max_uses: u32, - pub shi502_current_uses: u32, - pub shi502_path: ::windows_sys::core::PWSTR, - pub shi502_passwd: ::windows_sys::core::PWSTR, - pub shi502_reserved: u32, - pub shi502_security_descriptor: super::super::Security::PSECURITY_DESCRIPTOR, -} -#[cfg(feature = "Win32_Security")] -impl ::core::marker::Copy for SHARE_INFO_502 {} -#[cfg(feature = "Win32_Security")] -impl ::core::clone::Clone for SHARE_INFO_502 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Security\"`"] -#[cfg(feature = "Win32_Security")] -pub struct SHARE_INFO_503 { - pub shi503_netname: ::windows_sys::core::PWSTR, - pub shi503_type: SHARE_TYPE, - pub shi503_remark: ::windows_sys::core::PWSTR, - pub shi503_permissions: SHARE_INFO_PERMISSIONS, - pub shi503_max_uses: u32, - pub shi503_current_uses: u32, - pub shi503_path: ::windows_sys::core::PWSTR, - pub shi503_passwd: ::windows_sys::core::PWSTR, - pub shi503_servername: ::windows_sys::core::PWSTR, - pub shi503_reserved: u32, - pub shi503_security_descriptor: super::super::Security::PSECURITY_DESCRIPTOR, -} -#[cfg(feature = "Win32_Security")] -impl ::core::marker::Copy for SHARE_INFO_503 {} -#[cfg(feature = "Win32_Security")] -impl ::core::clone::Clone for SHARE_INFO_503 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct STAT_SERVER_0 { - pub sts0_start: u32, - pub sts0_fopens: u32, - pub sts0_devopens: u32, - pub sts0_jobsqueued: u32, - pub sts0_sopens: u32, - pub sts0_stimedout: u32, - pub sts0_serrorout: u32, - pub sts0_pwerrors: u32, - pub sts0_permerrors: u32, - pub sts0_syserrors: u32, - pub sts0_bytessent_low: u32, - pub sts0_bytessent_high: u32, - pub sts0_bytesrcvd_low: u32, - pub sts0_bytesrcvd_high: u32, - pub sts0_avresponse: u32, - pub sts0_reqbufneed: u32, - pub sts0_bigbufneed: u32, -} -impl ::core::marker::Copy for STAT_SERVER_0 {} -impl ::core::clone::Clone for STAT_SERVER_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct STAT_WORKSTATION_0 { - pub StatisticsStartTime: i64, - pub BytesReceived: i64, - pub SmbsReceived: i64, - pub PagingReadBytesRequested: i64, - pub NonPagingReadBytesRequested: i64, - pub CacheReadBytesRequested: i64, - pub NetworkReadBytesRequested: i64, - pub BytesTransmitted: i64, - pub SmbsTransmitted: i64, - pub PagingWriteBytesRequested: i64, - pub NonPagingWriteBytesRequested: i64, - pub CacheWriteBytesRequested: i64, - pub NetworkWriteBytesRequested: i64, - pub InitiallyFailedOperations: u32, - pub FailedCompletionOperations: u32, - pub ReadOperations: u32, - pub RandomReadOperations: u32, - pub ReadSmbs: u32, - pub LargeReadSmbs: u32, - pub SmallReadSmbs: u32, - pub WriteOperations: u32, - pub RandomWriteOperations: u32, - pub WriteSmbs: u32, - pub LargeWriteSmbs: u32, - pub SmallWriteSmbs: u32, - pub RawReadsDenied: u32, - pub RawWritesDenied: u32, - pub NetworkErrors: u32, - pub Sessions: u32, - pub FailedSessions: u32, - pub Reconnects: u32, - pub CoreConnects: u32, - pub Lanman20Connects: u32, - pub Lanman21Connects: u32, - pub LanmanNtConnects: u32, - pub ServerDisconnects: u32, - pub HungSessions: u32, - pub UseCount: u32, - pub FailedUseCount: u32, - pub CurrentCommands: u32, -} -impl ::core::marker::Copy for STAT_WORKSTATION_0 {} -impl ::core::clone::Clone for STAT_WORKSTATION_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct TAPE_ERASE { - pub Type: ERASE_TAPE_TYPE, - pub Immediate: super::super::Foundation::BOOLEAN, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for TAPE_ERASE {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for TAPE_ERASE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct TAPE_GET_POSITION { - pub Type: TAPE_POSITION_TYPE, - pub Partition: u32, - pub Offset: i64, -} -impl ::core::marker::Copy for TAPE_GET_POSITION {} -impl ::core::clone::Clone for TAPE_GET_POSITION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct TAPE_PREPARE { - pub Operation: PREPARE_TAPE_OPERATION, - pub Immediate: super::super::Foundation::BOOLEAN, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for TAPE_PREPARE {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for TAPE_PREPARE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct TAPE_SET_POSITION { - pub Method: TAPE_POSITION_METHOD, - pub Partition: u32, - pub Offset: i64, - pub Immediate: super::super::Foundation::BOOLEAN, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for TAPE_SET_POSITION {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for TAPE_SET_POSITION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct TAPE_WRITE_MARKS { - pub Type: TAPEMARK_TYPE, - pub Count: u32, - pub Immediate: super::super::Foundation::BOOLEAN, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for TAPE_WRITE_MARKS {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for TAPE_WRITE_MARKS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct TRANSACTION_NOTIFICATION { - pub TransactionKey: *mut ::core::ffi::c_void, - pub TransactionNotification: u32, - pub TmVirtualClock: i64, - pub ArgumentLength: u32, -} -impl ::core::marker::Copy for TRANSACTION_NOTIFICATION {} -impl ::core::clone::Clone for TRANSACTION_NOTIFICATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct TRANSACTION_NOTIFICATION_MARSHAL_ARGUMENT { - pub MarshalCookie: u32, - pub UOW: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for TRANSACTION_NOTIFICATION_MARSHAL_ARGUMENT {} -impl ::core::clone::Clone for TRANSACTION_NOTIFICATION_MARSHAL_ARGUMENT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct TRANSACTION_NOTIFICATION_PROPAGATE_ARGUMENT { - pub PropagationCookie: u32, - pub UOW: ::windows_sys::core::GUID, - pub TmIdentity: ::windows_sys::core::GUID, - pub BufferLength: u32, -} -impl ::core::marker::Copy for TRANSACTION_NOTIFICATION_PROPAGATE_ARGUMENT {} -impl ::core::clone::Clone for TRANSACTION_NOTIFICATION_PROPAGATE_ARGUMENT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct TRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT { - pub EnlistmentId: ::windows_sys::core::GUID, - pub UOW: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for TRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT {} -impl ::core::clone::Clone for TRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct TRANSACTION_NOTIFICATION_SAVEPOINT_ARGUMENT { - pub SavepointId: u32, -} -impl ::core::marker::Copy for TRANSACTION_NOTIFICATION_SAVEPOINT_ARGUMENT {} -impl ::core::clone::Clone for TRANSACTION_NOTIFICATION_SAVEPOINT_ARGUMENT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct TRANSACTION_NOTIFICATION_TM_ONLINE_ARGUMENT { - pub TmIdentity: ::windows_sys::core::GUID, - pub Flags: u32, -} -impl ::core::marker::Copy for TRANSACTION_NOTIFICATION_TM_ONLINE_ARGUMENT {} -impl ::core::clone::Clone for TRANSACTION_NOTIFICATION_TM_ONLINE_ARGUMENT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(4))] -pub struct TXF_ID { - pub Anonymous: TXF_ID_0, -} -impl ::core::marker::Copy for TXF_ID {} -impl ::core::clone::Clone for TXF_ID { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(4))] -pub struct TXF_ID_0 { - pub LowPart: i64, - pub HighPart: i64, -} -impl ::core::marker::Copy for TXF_ID_0 {} -impl ::core::clone::Clone for TXF_ID_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(4))] -pub struct TXF_LOG_RECORD_AFFECTED_FILE { - pub Version: u16, - pub RecordLength: u32, - pub Flags: u32, - pub TxfFileId: TXF_ID, - pub KtmGuid: ::windows_sys::core::GUID, - pub FileNameLength: u32, - pub FileNameByteOffsetInStructure: u32, -} -impl ::core::marker::Copy for TXF_LOG_RECORD_AFFECTED_FILE {} -impl ::core::clone::Clone for TXF_LOG_RECORD_AFFECTED_FILE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(4))] -pub struct TXF_LOG_RECORD_BASE { - pub Version: u16, - pub RecordType: TXF_LOG_RECORD_TYPE, - pub RecordLength: u32, -} -impl ::core::marker::Copy for TXF_LOG_RECORD_BASE {} -impl ::core::clone::Clone for TXF_LOG_RECORD_BASE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(4))] -pub struct TXF_LOG_RECORD_TRUNCATE { - pub Version: u16, - pub RecordType: u16, - pub RecordLength: u32, - pub Flags: u32, - pub TxfFileId: TXF_ID, - pub KtmGuid: ::windows_sys::core::GUID, - pub NewFileSize: i64, - pub FileNameLength: u32, - pub FileNameByteOffsetInStructure: u32, -} -impl ::core::marker::Copy for TXF_LOG_RECORD_TRUNCATE {} -impl ::core::clone::Clone for TXF_LOG_RECORD_TRUNCATE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(4))] -pub struct TXF_LOG_RECORD_WRITE { - pub Version: u16, - pub RecordType: u16, - pub RecordLength: u32, - pub Flags: u32, - pub TxfFileId: TXF_ID, - pub KtmGuid: ::windows_sys::core::GUID, - pub ByteOffsetInFile: i64, - pub NumBytesWritten: u32, - pub ByteOffsetInStructure: u32, - pub FileNameLength: u32, - pub FileNameByteOffsetInStructure: u32, -} -impl ::core::marker::Copy for TXF_LOG_RECORD_WRITE {} -impl ::core::clone::Clone for TXF_LOG_RECORD_WRITE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct VOLUME_ALLOCATE_BC_STREAM_INPUT { - pub Version: u32, - pub RequestsPerPeriod: u32, - pub Period: u32, - pub RetryFailures: super::super::Foundation::BOOLEAN, - pub Discardable: super::super::Foundation::BOOLEAN, - pub Reserved1: [super::super::Foundation::BOOLEAN; 2], - pub LowestByteOffset: u64, - pub HighestByteOffset: u64, - pub AccessType: u32, - pub AccessMode: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for VOLUME_ALLOCATE_BC_STREAM_INPUT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for VOLUME_ALLOCATE_BC_STREAM_INPUT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct VOLUME_ALLOCATE_BC_STREAM_OUTPUT { - pub RequestSize: u64, - pub NumOutStandingRequests: u32, -} -impl ::core::marker::Copy for VOLUME_ALLOCATE_BC_STREAM_OUTPUT {} -impl ::core::clone::Clone for VOLUME_ALLOCATE_BC_STREAM_OUTPUT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct VOLUME_ALLOCATION_HINT_INPUT { - pub ClusterSize: u32, - pub NumberOfClusters: u32, - pub StartingClusterNumber: i64, -} -impl ::core::marker::Copy for VOLUME_ALLOCATION_HINT_INPUT {} -impl ::core::clone::Clone for VOLUME_ALLOCATION_HINT_INPUT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct VOLUME_ALLOCATION_HINT_OUTPUT { - pub Bitmap: [u32; 1], -} -impl ::core::marker::Copy for VOLUME_ALLOCATION_HINT_OUTPUT {} -impl ::core::clone::Clone for VOLUME_ALLOCATION_HINT_OUTPUT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct VOLUME_CRITICAL_IO { - pub AccessType: u32, - pub ExtentsCount: u32, - pub Extents: [FILE_EXTENT; 1], -} -impl ::core::marker::Copy for VOLUME_CRITICAL_IO {} -impl ::core::clone::Clone for VOLUME_CRITICAL_IO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct VOLUME_FAILOVER_SET { - pub NumberOfDisks: u32, - pub DiskNumbers: [u32; 1], -} -impl ::core::marker::Copy for VOLUME_FAILOVER_SET {} -impl ::core::clone::Clone for VOLUME_FAILOVER_SET { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct VOLUME_GET_BC_PROPERTIES_INPUT { - pub Version: u32, - pub Reserved1: u32, - pub LowestByteOffset: u64, - pub HighestByteOffset: u64, - pub AccessType: u32, - pub AccessMode: u32, -} -impl ::core::marker::Copy for VOLUME_GET_BC_PROPERTIES_INPUT {} -impl ::core::clone::Clone for VOLUME_GET_BC_PROPERTIES_INPUT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct VOLUME_GET_BC_PROPERTIES_OUTPUT { - pub MaximumRequestsPerPeriod: u32, - pub MinimumPeriod: u32, - pub MaximumRequestSize: u64, - pub EstimatedTimePerRequest: u32, - pub NumOutStandingRequests: u32, - pub RequestSize: u64, -} -impl ::core::marker::Copy for VOLUME_GET_BC_PROPERTIES_OUTPUT {} -impl ::core::clone::Clone for VOLUME_GET_BC_PROPERTIES_OUTPUT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct VOLUME_LOGICAL_OFFSET { - pub LogicalOffset: i64, -} -impl ::core::marker::Copy for VOLUME_LOGICAL_OFFSET {} -impl ::core::clone::Clone for VOLUME_LOGICAL_OFFSET { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct VOLUME_NUMBER { - pub VolumeNumber: u32, - pub VolumeManagerName: [u16; 8], -} -impl ::core::marker::Copy for VOLUME_NUMBER {} -impl ::core::clone::Clone for VOLUME_NUMBER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct VOLUME_PHYSICAL_OFFSET { - pub DiskNumber: u32, - pub Offset: i64, -} -impl ::core::marker::Copy for VOLUME_PHYSICAL_OFFSET {} -impl ::core::clone::Clone for VOLUME_PHYSICAL_OFFSET { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct VOLUME_PHYSICAL_OFFSETS { - pub NumberOfPhysicalOffsets: u32, - pub PhysicalOffset: [VOLUME_PHYSICAL_OFFSET; 1], -} -impl ::core::marker::Copy for VOLUME_PHYSICAL_OFFSETS {} -impl ::core::clone::Clone for VOLUME_PHYSICAL_OFFSETS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct VOLUME_READ_PLEX_INPUT { - pub ByteOffset: i64, - pub Length: u32, - pub PlexNumber: u32, -} -impl ::core::marker::Copy for VOLUME_READ_PLEX_INPUT {} -impl ::core::clone::Clone for VOLUME_READ_PLEX_INPUT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct VOLUME_SET_GPT_ATTRIBUTES_INFORMATION { - pub GptAttributes: u64, - pub RevertOnClose: super::super::Foundation::BOOLEAN, - pub ApplyToAllConnectedVolumes: super::super::Foundation::BOOLEAN, - pub Reserved1: u16, - pub Reserved2: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for VOLUME_SET_GPT_ATTRIBUTES_INFORMATION {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for VOLUME_SET_GPT_ATTRIBUTES_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct VOLUME_SHRINK_INFO { - pub VolumeSize: u64, -} -impl ::core::marker::Copy for VOLUME_SHRINK_INFO {} -impl ::core::clone::Clone for VOLUME_SHRINK_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct VS_FIXEDFILEINFO { - pub dwSignature: u32, - pub dwStrucVersion: u32, - pub dwFileVersionMS: u32, - pub dwFileVersionLS: u32, - pub dwProductVersionMS: u32, - pub dwProductVersionLS: u32, - pub dwFileFlagsMask: u32, - pub dwFileFlags: VS_FIXEDFILEINFO_FILE_FLAGS, - pub dwFileOS: VS_FIXEDFILEINFO_FILE_OS, - pub dwFileType: u32, - pub dwFileSubtype: u32, - pub dwFileDateMS: u32, - pub dwFileDateLS: u32, -} -impl ::core::marker::Copy for VS_FIXEDFILEINFO {} -impl ::core::clone::Clone for VS_FIXEDFILEINFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct WIM_ENTRY_INFO { - pub WimEntryInfoSize: u32, - pub WimType: u32, - pub DataSourceId: i64, - pub WimGuid: ::windows_sys::core::GUID, - pub WimPath: ::windows_sys::core::PCWSTR, - pub WimIndex: u32, - pub Flags: u32, -} -impl ::core::marker::Copy for WIM_ENTRY_INFO {} -impl ::core::clone::Clone for WIM_ENTRY_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct WIM_EXTERNAL_FILE_INFO { - pub DataSourceId: i64, - pub ResourceHash: [u8; 20], - pub Flags: u32, -} -impl ::core::marker::Copy for WIM_EXTERNAL_FILE_INFO {} -impl ::core::clone::Clone for WIM_EXTERNAL_FILE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct WIN32_FILE_ATTRIBUTE_DATA { - pub dwFileAttributes: u32, - pub ftCreationTime: super::super::Foundation::FILETIME, - pub ftLastAccessTime: super::super::Foundation::FILETIME, - pub ftLastWriteTime: super::super::Foundation::FILETIME, - pub nFileSizeHigh: u32, - pub nFileSizeLow: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for WIN32_FILE_ATTRIBUTE_DATA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for WIN32_FILE_ATTRIBUTE_DATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct WIN32_FIND_DATAA { - pub dwFileAttributes: u32, - pub ftCreationTime: super::super::Foundation::FILETIME, - pub ftLastAccessTime: super::super::Foundation::FILETIME, - pub ftLastWriteTime: super::super::Foundation::FILETIME, - pub nFileSizeHigh: u32, - pub nFileSizeLow: u32, - pub dwReserved0: u32, - pub dwReserved1: u32, - pub cFileName: [u8; 260], - pub cAlternateFileName: [u8; 14], -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for WIN32_FIND_DATAA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for WIN32_FIND_DATAA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct WIN32_FIND_DATAW { - pub dwFileAttributes: u32, - pub ftCreationTime: super::super::Foundation::FILETIME, - pub ftLastAccessTime: super::super::Foundation::FILETIME, - pub ftLastWriteTime: super::super::Foundation::FILETIME, - pub nFileSizeHigh: u32, - pub nFileSizeLow: u32, - pub dwReserved0: u32, - pub dwReserved1: u32, - pub cFileName: [u16; 260], - pub cAlternateFileName: [u16; 14], -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for WIN32_FIND_DATAW {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for WIN32_FIND_DATAW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct WIN32_FIND_STREAM_DATA { - pub StreamSize: i64, - pub cStreamName: [u16; 296], -} -impl ::core::marker::Copy for WIN32_FIND_STREAM_DATA {} -impl ::core::clone::Clone for WIN32_FIND_STREAM_DATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct WIN32_STREAM_ID { - pub dwStreamId: WIN_STREAM_ID, - pub dwStreamAttributes: u32, - pub Size: i64, - pub dwStreamNameSize: u32, - pub cStreamName: [u16; 1], -} -impl ::core::marker::Copy for WIN32_STREAM_ID {} -impl ::core::clone::Clone for WIN32_STREAM_ID { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct WOF_FILE_COMPRESSION_INFO_V0 { - pub Algorithm: u32, -} -impl ::core::marker::Copy for WOF_FILE_COMPRESSION_INFO_V0 {} -impl ::core::clone::Clone for WOF_FILE_COMPRESSION_INFO_V0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct WOF_FILE_COMPRESSION_INFO_V1 { - pub Algorithm: u32, - pub Flags: u32, -} -impl ::core::marker::Copy for WOF_FILE_COMPRESSION_INFO_V1 {} -impl ::core::clone::Clone for WOF_FILE_COMPRESSION_INFO_V1 { - fn clone(&self) -> Self { - *self - } -} -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -pub type CACHE_ACCESS_CHECK = ::core::option::Option<unsafe extern "system" fn(psecuritydescriptor: super::super::Security::PSECURITY_DESCRIPTOR, hclienttoken: super::super::Foundation::HANDLE, dwdesiredaccess: u32, genericmapping: *mut super::super::Security::GENERIC_MAPPING, privilegeset: *mut super::super::Security::PRIVILEGE_SET, privilegesetlength: *mut u32, grantedaccess: *mut u32, accessstatus: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL>; -pub type CACHE_DESTROY_CALLBACK = ::core::option::Option<unsafe extern "system" fn(cb: u32, lpb: *mut u8) -> ()>; -pub type CACHE_KEY_COMPARE = ::core::option::Option<unsafe extern "system" fn(cbkey1: u32, lpbkey1: *mut u8, cbkey2: u32, lpbkey2: *mut u8) -> i32>; -pub type CACHE_KEY_HASH = ::core::option::Option<unsafe extern "system" fn(lpbkey: *mut u8, cbkey: u32) -> u32>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type CACHE_READ_CALLBACK = ::core::option::Option<unsafe extern "system" fn(cb: u32, lpb: *mut u8, lpvcontext: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -pub type CLAIMMEDIALABEL = ::core::option::Option<unsafe extern "system" fn(pbuffer: *const u8, nbuffersize: u32, plabelinfo: *mut MediaLabelInfo) -> u32>; -pub type CLAIMMEDIALABELEX = ::core::option::Option<unsafe extern "system" fn(pbuffer: *const u8, nbuffersize: u32, plabelinfo: *mut MediaLabelInfo, labelguid: *mut ::windows_sys::core::GUID) -> u32>; -pub type CLFS_BLOCK_ALLOCATION = ::core::option::Option<unsafe extern "system" fn(cbbufferlength: u32, pvusercontext: *mut ::core::ffi::c_void) -> *mut ::core::ffi::c_void>; -pub type CLFS_BLOCK_DEALLOCATION = ::core::option::Option<unsafe extern "system" fn(pvbuffer: *mut ::core::ffi::c_void, pvusercontext: *mut ::core::ffi::c_void) -> ()>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type FCACHE_CREATE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(lpstrname: ::windows_sys::core::PCSTR, lpvdata: *mut ::core::ffi::c_void, cbfilesize: *mut u32, cbfilesizehigh: *mut u32) -> super::super::Foundation::HANDLE>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type FCACHE_RICHCREATE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(lpstrname: ::windows_sys::core::PCSTR, lpvdata: *mut ::core::ffi::c_void, cbfilesize: *mut u32, cbfilesizehigh: *mut u32, pfdidwescanit: *mut super::super::Foundation::BOOL, pfisstuffed: *mut super::super::Foundation::BOOL, pfstoredwithdots: *mut super::super::Foundation::BOOL, pfstoredwithterminatingdot: *mut super::super::Foundation::BOOL) -> super::super::Foundation::HANDLE>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type LPPROGRESS_ROUTINE = ::core::option::Option<unsafe extern "system" fn(totalfilesize: i64, totalbytestransferred: i64, streamsize: i64, streambytestransferred: i64, dwstreamnumber: u32, dwcallbackreason: LPPROGRESS_ROUTINE_CALLBACK_REASON, hsourcefile: super::super::Foundation::HANDLE, hdestinationfile: super::super::Foundation::HANDLE, lpdata: *const ::core::ffi::c_void) -> u32>; -pub type MAXMEDIALABEL = ::core::option::Option<unsafe extern "system" fn(pmaxsize: *mut u32) -> u32>; -pub type PCLFS_COMPLETION_ROUTINE = ::core::option::Option<unsafe extern "system" fn(pvoverlapped: *mut ::core::ffi::c_void, ulreserved: u32) -> ()>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PCOPYFILE2_PROGRESS_ROUTINE = ::core::option::Option<unsafe extern "system" fn(pmessage: *const COPYFILE2_MESSAGE, pvcallbackcontext: *const ::core::ffi::c_void) -> COPYFILE2_MESSAGE_ACTION>; -pub type PFE_EXPORT_FUNC = ::core::option::Option<unsafe extern "system" fn(pbdata: *const u8, pvcallbackcontext: *const ::core::ffi::c_void, ullength: u32) -> u32>; -pub type PFE_IMPORT_FUNC = ::core::option::Option<unsafe extern "system" fn(pbdata: *mut u8, pvcallbackcontext: *const ::core::ffi::c_void, ullength: *mut u32) -> u32>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFN_IO_COMPLETION = ::core::option::Option<unsafe extern "system" fn(pcontext: *mut FIO_CONTEXT, lpo: *mut FH_OVERLAPPED, cb: u32, dwcompletionstatus: u32) -> ()>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PLOG_FULL_HANDLER_CALLBACK = ::core::option::Option<unsafe extern "system" fn(hlogfile: super::super::Foundation::HANDLE, dwerror: u32, flogispinned: super::super::Foundation::BOOL, pvclientcontext: *mut ::core::ffi::c_void) -> ()>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PLOG_TAIL_ADVANCE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(hlogfile: super::super::Foundation::HANDLE, lsntarget: CLS_LSN, pvclientcontext: *mut ::core::ffi::c_void) -> ()>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PLOG_UNPINNED_CALLBACK = ::core::option::Option<unsafe extern "system" fn(hlogfile: super::super::Foundation::HANDLE, pvclientcontext: *mut ::core::ffi::c_void) -> ()>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type WofEnumEntryProc = ::core::option::Option<unsafe extern "system" fn(entryinfo: *const ::core::ffi::c_void, userdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type WofEnumFilesProc = ::core::option::Option<unsafe extern "system" fn(filepath: ::windows_sys::core::PCWSTR, externalfileinfo: *const ::core::ffi::c_void, userdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/Imapi/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/Imapi/mod.rs deleted file mode 100644 index 7c4a8cf..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Storage/Imapi/mod.rs +++ /dev/null @@ -1,773 +0,0 @@ -::windows_targets::link!("mapi32.dll" "system" fn CloseIMsgSession(lpmsgsess : LPMSGSESS) -> ()); -#[cfg(feature = "Win32_System_AddressBook")] -::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_AddressBook\"`"] fn GetAttribIMsgOnIStg(lpobject : *mut ::core::ffi::c_void, lpproptagarray : *mut super::super::System::AddressBook:: SPropTagArray, lpppropattrarray : *mut *mut SPropAttrArray) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("mapi32.dll" "system" fn MapStorageSCode(stgscode : i32) -> i32); -#[cfg(all(feature = "Win32_System_AddressBook", feature = "Win32_System_Com_StructuredStorage"))] -::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_AddressBook\"`, `\"Win32_System_Com_StructuredStorage\"`"] fn OpenIMsgOnIStg(lpmsgsess : LPMSGSESS, lpallocatebuffer : super::super::System::AddressBook:: LPALLOCATEBUFFER, lpallocatemore : super::super::System::AddressBook:: LPALLOCATEMORE, lpfreebuffer : super::super::System::AddressBook:: LPFREEBUFFER, lpmalloc : super::super::System::Com:: IMalloc, lpmapisup : *mut ::core::ffi::c_void, lpstg : super::super::System::Com::StructuredStorage:: IStorage, lpfmsgcallrelease : *mut MSGCALLRELEASE, ulcallerdata : u32, ulflags : u32, lppmsg : *mut super::super::System::AddressBook:: IMessage) -> i32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OpenIMsgSession(lpmalloc : super::super::System::Com:: IMalloc, ulflags : u32, lppmsgsess : *mut LPMSGSESS) -> i32); -#[cfg(feature = "Win32_System_AddressBook")] -::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_AddressBook\"`"] fn SetAttribIMsgOnIStg(lpobject : *mut ::core::ffi::c_void, lpproptags : *mut super::super::System::AddressBook:: SPropTagArray, lppropattrs : *mut SPropAttrArray, lpppropproblems : *mut *mut super::super::System::AddressBook:: SPropProblemArray) -> ::windows_sys::core::HRESULT); -pub type DDiscFormat2DataEvents = *mut ::core::ffi::c_void; -pub type DDiscFormat2EraseEvents = *mut ::core::ffi::c_void; -pub type DDiscFormat2RawCDEvents = *mut ::core::ffi::c_void; -pub type DDiscFormat2TrackAtOnceEvents = *mut ::core::ffi::c_void; -pub type DDiscMaster2Events = *mut ::core::ffi::c_void; -pub type DFileSystemImageEvents = *mut ::core::ffi::c_void; -pub type DFileSystemImageImportEvents = *mut ::core::ffi::c_void; -pub type DWriteEngine2Events = *mut ::core::ffi::c_void; -pub type IBlockRange = *mut ::core::ffi::c_void; -pub type IBlockRangeList = *mut ::core::ffi::c_void; -pub type IBootOptions = *mut ::core::ffi::c_void; -pub type IBurnVerification = *mut ::core::ffi::c_void; -pub type IDiscFormat2 = *mut ::core::ffi::c_void; -pub type IDiscFormat2Data = *mut ::core::ffi::c_void; -pub type IDiscFormat2DataEventArgs = *mut ::core::ffi::c_void; -pub type IDiscFormat2Erase = *mut ::core::ffi::c_void; -pub type IDiscFormat2RawCD = *mut ::core::ffi::c_void; -pub type IDiscFormat2RawCDEventArgs = *mut ::core::ffi::c_void; -pub type IDiscFormat2TrackAtOnce = *mut ::core::ffi::c_void; -pub type IDiscFormat2TrackAtOnceEventArgs = *mut ::core::ffi::c_void; -pub type IDiscMaster = *mut ::core::ffi::c_void; -pub type IDiscMaster2 = *mut ::core::ffi::c_void; -pub type IDiscMasterProgressEvents = *mut ::core::ffi::c_void; -pub type IDiscRecorder = *mut ::core::ffi::c_void; -pub type IDiscRecorder2 = *mut ::core::ffi::c_void; -pub type IDiscRecorder2Ex = *mut ::core::ffi::c_void; -pub type IEnumDiscMasterFormats = *mut ::core::ffi::c_void; -pub type IEnumDiscRecorders = *mut ::core::ffi::c_void; -pub type IEnumFsiItems = *mut ::core::ffi::c_void; -pub type IEnumProgressItems = *mut ::core::ffi::c_void; -pub type IFileSystemImage = *mut ::core::ffi::c_void; -pub type IFileSystemImage2 = *mut ::core::ffi::c_void; -pub type IFileSystemImage3 = *mut ::core::ffi::c_void; -pub type IFileSystemImageResult = *mut ::core::ffi::c_void; -pub type IFileSystemImageResult2 = *mut ::core::ffi::c_void; -pub type IFsiDirectoryItem = *mut ::core::ffi::c_void; -pub type IFsiDirectoryItem2 = *mut ::core::ffi::c_void; -pub type IFsiFileItem = *mut ::core::ffi::c_void; -pub type IFsiFileItem2 = *mut ::core::ffi::c_void; -pub type IFsiItem = *mut ::core::ffi::c_void; -pub type IFsiNamedStreams = *mut ::core::ffi::c_void; -pub type IIsoImageManager = *mut ::core::ffi::c_void; -pub type IJolietDiscMaster = *mut ::core::ffi::c_void; -pub type IMultisession = *mut ::core::ffi::c_void; -pub type IMultisessionRandomWrite = *mut ::core::ffi::c_void; -pub type IMultisessionSequential = *mut ::core::ffi::c_void; -pub type IMultisessionSequential2 = *mut ::core::ffi::c_void; -pub type IProgressItem = *mut ::core::ffi::c_void; -pub type IProgressItems = *mut ::core::ffi::c_void; -pub type IRawCDImageCreator = *mut ::core::ffi::c_void; -pub type IRawCDImageTrackInfo = *mut ::core::ffi::c_void; -pub type IRedbookDiscMaster = *mut ::core::ffi::c_void; -pub type IStreamConcatenate = *mut ::core::ffi::c_void; -pub type IStreamInterleave = *mut ::core::ffi::c_void; -pub type IStreamPseudoRandomBased = *mut ::core::ffi::c_void; -pub type IWriteEngine2 = *mut ::core::ffi::c_void; -pub type IWriteEngine2EventArgs = *mut ::core::ffi::c_void; -pub type IWriteSpeedDescriptor = *mut ::core::ffi::c_void; -pub const BlockRange: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb507ca27_2204_11dd_966a_001aa01bbc58); -pub const BlockRangeList: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb507ca28_2204_11dd_966a_001aa01bbc58); -pub const BootOptions: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2c941fce_975b_59be_a960_9a2a262853a5); -pub const CATID_SMTP_DNSRESOLVERRECORDSINK: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbd0b4366_8e03_11d2_94f6_00c04f79f1d6); -pub const CATID_SMTP_DSN: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x22b55731_f5f8_4d23_bd8f_87b52371a73a); -pub const CATID_SMTP_GET_AUX_DOMAIN_INFO_FLAGS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x84ff368a_fab3_43d7_bcdf_692c5b46e6b1); -pub const CATID_SMTP_LOG: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x93d0a538_2c1e_4b68_a7c9_d73a8aa6ee97); -pub const CATID_SMTP_MAXMSGSIZE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xebf159de_a67e_11d2_94f7_00c04f79f1d6); -pub const CATID_SMTP_MSGTRACKLOG: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc6df52aa_7db0_11d2_94f4_00c04f79f1d6); -pub const CATID_SMTP_ON_BEFORE_DATA: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf6628c92_0d5e_11d2_aa68_00c04fa35b82); -pub const CATID_SMTP_ON_INBOUND_COMMAND: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf6628c8d_0d5e_11d2_aa68_00c04fa35b82); -pub const CATID_SMTP_ON_MESSAGE_START: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf6628c90_0d5e_11d2_aa68_00c04fa35b82); -pub const CATID_SMTP_ON_PER_RECIPIENT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf6628c91_0d5e_11d2_aa68_00c04fa35b82); -pub const CATID_SMTP_ON_SERVER_RESPONSE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf6628c8e_0d5e_11d2_aa68_00c04fa35b82); -pub const CATID_SMTP_ON_SESSION_END: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf6628c93_0d5e_11d2_aa68_00c04fa35b82); -pub const CATID_SMTP_ON_SESSION_START: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf6628c8f_0d5e_11d2_aa68_00c04fa35b82); -pub const CATID_SMTP_STORE_DRIVER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x59175850_e533_11d1_aa67_00c04fa345f6); -pub const CATID_SMTP_TRANSPORT_CATEGORIZE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x960252a3_0a3a_11d2_9e00_00c04fa322ba); -pub const CATID_SMTP_TRANSPORT_POSTCATEGORIZE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x76719654_05a6_11d2_9dfd_00c04fa322ba); -pub const CATID_SMTP_TRANSPORT_PRECATEGORIZE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa3acfb0d_83ff_11d2_9e14_00c04fa322ba); -pub const CATID_SMTP_TRANSPORT_ROUTER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x283430c9_1850_11d2_9e03_00c04fa322ba); -pub const CATID_SMTP_TRANSPORT_SUBMISSION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xff3caa23_00b9_11d2_9dfb_00c04fa322ba); -pub const CLSID_SmtpCat: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb23c35b7_9219_11d2_9e17_00c04fa322ba); -pub const DISPID_DDISCFORMAT2DATAEVENTS_UPDATE: u32 = 512u32; -pub const DISPID_DDISCFORMAT2RAWCDEVENTS_UPDATE: u32 = 512u32; -pub const DISPID_DDISCFORMAT2TAOEVENTS_UPDATE: u32 = 512u32; -pub const DISPID_DDISCMASTER2EVENTS_DEVICEADDED: u32 = 256u32; -pub const DISPID_DDISCMASTER2EVENTS_DEVICEREMOVED: u32 = 257u32; -pub const DISPID_DFILESYSTEMIMAGEEVENTS_UPDATE: u32 = 256u32; -pub const DISPID_DFILESYSTEMIMAGEIMPORTEVENTS_UPDATEIMPORT: u32 = 257u32; -pub const DISPID_DWRITEENGINE2EVENTS_UPDATE: u32 = 256u32; -pub const DISPID_IBLOCKRANGELIST_BLOCKRANGES: u32 = 256u32; -pub const DISPID_IBLOCKRANGE_ENDLBA: u32 = 257u32; -pub const DISPID_IBLOCKRANGE_STARTLBA: u32 = 256u32; -pub const DISPID_IDISCFORMAT2DATAEVENTARGS_CURRENTACTION: u32 = 771u32; -pub const DISPID_IDISCFORMAT2DATAEVENTARGS_ELAPSEDTIME: u32 = 768u32; -pub const DISPID_IDISCFORMAT2DATAEVENTARGS_ESTIMATEDREMAININGTIME: u32 = 769u32; -pub const DISPID_IDISCFORMAT2DATAEVENTARGS_ESTIMATEDTOTALTIME: u32 = 770u32; -pub const DISPID_IDISCFORMAT2DATA_BUFFERUNDERRUNFREEDISABLED: u32 = 257u32; -pub const DISPID_IDISCFORMAT2DATA_CANCELWRITE: u32 = 513u32; -pub const DISPID_IDISCFORMAT2DATA_CLIENTNAME: u32 = 272u32; -pub const DISPID_IDISCFORMAT2DATA_CURRENTMEDIASTATUS: u32 = 262u32; -pub const DISPID_IDISCFORMAT2DATA_CURRENTMEDIATYPE: u32 = 271u32; -pub const DISPID_IDISCFORMAT2DATA_CURRENTROTATIONTYPEISPURECAV: u32 = 276u32; -pub const DISPID_IDISCFORMAT2DATA_CURRENTWRITESPEED: u32 = 275u32; -pub const DISPID_IDISCFORMAT2DATA_DISABLEDVDCOMPATIBILITYMODE: u32 = 270u32; -pub const DISPID_IDISCFORMAT2DATA_FORCEMEDIATOBECLOSED: u32 = 269u32; -pub const DISPID_IDISCFORMAT2DATA_FORCEOVERWRITE: u32 = 279u32; -pub const DISPID_IDISCFORMAT2DATA_FREESECTORS: u32 = 265u32; -pub const DISPID_IDISCFORMAT2DATA_LASTSECTOROFPREVIOUSSESSION: u32 = 268u32; -pub const DISPID_IDISCFORMAT2DATA_MUTLISESSIONINTERFACES: u32 = 280u32; -pub const DISPID_IDISCFORMAT2DATA_NEXTWRITABLEADDRESS: u32 = 266u32; -pub const DISPID_IDISCFORMAT2DATA_POSTGAPALREADYINIMAGE: u32 = 260u32; -pub const DISPID_IDISCFORMAT2DATA_RECORDER: u32 = 256u32; -pub const DISPID_IDISCFORMAT2DATA_REQUESTEDROTATIONTYPEISPURECAV: u32 = 274u32; -pub const DISPID_IDISCFORMAT2DATA_REQUESTEDWRITESPEED: u32 = 273u32; -pub const DISPID_IDISCFORMAT2DATA_SETWRITESPEED: u32 = 514u32; -pub const DISPID_IDISCFORMAT2DATA_STARTSECTOROFPREVIOUSSESSION: u32 = 267u32; -pub const DISPID_IDISCFORMAT2DATA_SUPPORTEDWRITESPEEDDESCRIPTORS: u32 = 278u32; -pub const DISPID_IDISCFORMAT2DATA_SUPPORTEDWRITESPEEDS: u32 = 277u32; -pub const DISPID_IDISCFORMAT2DATA_TOTALSECTORS: u32 = 264u32; -pub const DISPID_IDISCFORMAT2DATA_WRITE: u32 = 512u32; -pub const DISPID_IDISCFORMAT2DATA_WRITEPROTECTSTATUS: u32 = 263u32; -pub const DISPID_IDISCFORMAT2ERASEEVENTS_UPDATE: u32 = 512u32; -pub const DISPID_IDISCFORMAT2ERASE_CLIENTNAME: u32 = 259u32; -pub const DISPID_IDISCFORMAT2ERASE_ERASEMEDIA: u32 = 513u32; -pub const DISPID_IDISCFORMAT2ERASE_FULLERASE: u32 = 257u32; -pub const DISPID_IDISCFORMAT2ERASE_MEDIATYPE: u32 = 258u32; -pub const DISPID_IDISCFORMAT2ERASE_RECORDER: u32 = 256u32; -pub const DISPID_IDISCFORMAT2RAWCDEVENTARGS_CURRENTACTION: u32 = 769u32; -pub const DISPID_IDISCFORMAT2RAWCDEVENTARGS_CURRENTTRACKNUMBER: u32 = 768u32; -pub const DISPID_IDISCFORMAT2RAWCDEVENTARGS_ELAPSEDTIME: u32 = 768u32; -pub const DISPID_IDISCFORMAT2RAWCDEVENTARGS_ESTIMATEDREMAININGTIME: u32 = 769u32; -pub const DISPID_IDISCFORMAT2RAWCDEVENTARGS_ESTIMATEDTOTALTIME: u32 = 770u32; -pub const DISPID_IDISCFORMAT2RAWCD_BUFFERUNDERRUNFREEDISABLED: u32 = 258u32; -pub const DISPID_IDISCFORMAT2RAWCD_CANCELWRITE: u32 = 515u32; -pub const DISPID_IDISCFORMAT2RAWCD_CLIENTNAME: u32 = 266u32; -pub const DISPID_IDISCFORMAT2RAWCD_CURRENTMEDIATYPE: u32 = 261u32; -pub const DISPID_IDISCFORMAT2RAWCD_CURRENTROTATIONTYPEISPURECAV: u32 = 270u32; -pub const DISPID_IDISCFORMAT2RAWCD_CURRENTWRITESPEED: u32 = 269u32; -pub const DISPID_IDISCFORMAT2RAWCD_LASTPOSSIBLESTARTOFLEADOUT: u32 = 260u32; -pub const DISPID_IDISCFORMAT2RAWCD_PREPAREMEDIA: u32 = 512u32; -pub const DISPID_IDISCFORMAT2RAWCD_RECORDER: u32 = 256u32; -pub const DISPID_IDISCFORMAT2RAWCD_RELEASEMEDIA: u32 = 516u32; -pub const DISPID_IDISCFORMAT2RAWCD_REQUESTEDDATASECTORTYPE: u32 = 265u32; -pub const DISPID_IDISCFORMAT2RAWCD_REQUESTEDROTATIONTYPEISPURECAV: u32 = 268u32; -pub const DISPID_IDISCFORMAT2RAWCD_REQUESTEDWRITESPEED: u32 = 267u32; -pub const DISPID_IDISCFORMAT2RAWCD_SETWRITESPEED: u32 = 517u32; -pub const DISPID_IDISCFORMAT2RAWCD_STARTOFNEXTSESSION: u32 = 259u32; -pub const DISPID_IDISCFORMAT2RAWCD_SUPPORTEDDATASECTORTYPES: u32 = 264u32; -pub const DISPID_IDISCFORMAT2RAWCD_SUPPORTEDWRITESPEEDDESCRIPTORS: u32 = 272u32; -pub const DISPID_IDISCFORMAT2RAWCD_SUPPORTEDWRITESPEEDS: u32 = 271u32; -pub const DISPID_IDISCFORMAT2RAWCD_WRITEMEDIA: u32 = 513u32; -pub const DISPID_IDISCFORMAT2RAWCD_WRITEMEDIAWITHVALIDATION: u32 = 514u32; -pub const DISPID_IDISCFORMAT2TAOEVENTARGS_CURRENTACTION: u32 = 769u32; -pub const DISPID_IDISCFORMAT2TAOEVENTARGS_CURRENTTRACKNUMBER: u32 = 768u32; -pub const DISPID_IDISCFORMAT2TAOEVENTARGS_ELAPSEDTIME: u32 = 770u32; -pub const DISPID_IDISCFORMAT2TAOEVENTARGS_ESTIMATEDREMAININGTIME: u32 = 771u32; -pub const DISPID_IDISCFORMAT2TAOEVENTARGS_ESTIMATEDTOTALTIME: u32 = 772u32; -pub const DISPID_IDISCFORMAT2TAO_ADDAUDIOTRACK: u32 = 513u32; -pub const DISPID_IDISCFORMAT2TAO_BUFFERUNDERRUNFREEDISABLED: u32 = 258u32; -pub const DISPID_IDISCFORMAT2TAO_CANCELADDTRACK: u32 = 514u32; -pub const DISPID_IDISCFORMAT2TAO_CLIENTNAME: u32 = 270u32; -pub const DISPID_IDISCFORMAT2TAO_CURRENTMEDIATYPE: u32 = 267u32; -pub const DISPID_IDISCFORMAT2TAO_CURRENTROTATIONTYPEISPURECAV: u32 = 274u32; -pub const DISPID_IDISCFORMAT2TAO_CURRENTWRITESPEED: u32 = 273u32; -pub const DISPID_IDISCFORMAT2TAO_DONOTFINALIZEMEDIA: u32 = 263u32; -pub const DISPID_IDISCFORMAT2TAO_EXPECTEDTABLEOFCONTENTS: u32 = 266u32; -pub const DISPID_IDISCFORMAT2TAO_FINISHMEDIA: u32 = 515u32; -pub const DISPID_IDISCFORMAT2TAO_FREESECTORSONMEDIA: u32 = 261u32; -pub const DISPID_IDISCFORMAT2TAO_NUMBEROFEXISTINGTRACKS: u32 = 259u32; -pub const DISPID_IDISCFORMAT2TAO_PREPAREMEDIA: u32 = 512u32; -pub const DISPID_IDISCFORMAT2TAO_RECORDER: u32 = 256u32; -pub const DISPID_IDISCFORMAT2TAO_REQUESTEDROTATIONTYPEISPURECAV: u32 = 272u32; -pub const DISPID_IDISCFORMAT2TAO_REQUESTEDWRITESPEED: u32 = 271u32; -pub const DISPID_IDISCFORMAT2TAO_SETWRITESPEED: u32 = 516u32; -pub const DISPID_IDISCFORMAT2TAO_SUPPORTEDWRITESPEEDDESCRIPTORS: u32 = 276u32; -pub const DISPID_IDISCFORMAT2TAO_SUPPORTEDWRITESPEEDS: u32 = 275u32; -pub const DISPID_IDISCFORMAT2TAO_TOTALSECTORSONMEDIA: u32 = 260u32; -pub const DISPID_IDISCFORMAT2TAO_USEDSECTORSONMEDIA: u32 = 262u32; -pub const DISPID_IDISCFORMAT2_MEDIAHEURISTICALLYBLANK: u32 = 1793u32; -pub const DISPID_IDISCFORMAT2_MEDIAPHYSICALLYBLANK: u32 = 1792u32; -pub const DISPID_IDISCFORMAT2_MEDIASUPPORTED: u32 = 2049u32; -pub const DISPID_IDISCFORMAT2_RECORDERSUPPORTED: u32 = 2048u32; -pub const DISPID_IDISCFORMAT2_SUPPORTEDMEDIATYPES: u32 = 1794u32; -pub const DISPID_IDISCRECORDER2_ACQUIREEXCLUSIVEACCESS: u32 = 258u32; -pub const DISPID_IDISCRECORDER2_ACTIVEDISCRECORDER: u32 = 0u32; -pub const DISPID_IDISCRECORDER2_CLOSETRAY: u32 = 257u32; -pub const DISPID_IDISCRECORDER2_CURRENTFEATUREPAGES: u32 = 521u32; -pub const DISPID_IDISCRECORDER2_CURRENTPROFILES: u32 = 523u32; -pub const DISPID_IDISCRECORDER2_DEVICECANLOADMEDIA: u32 = 518u32; -pub const DISPID_IDISCRECORDER2_DISABLEMCN: u32 = 260u32; -pub const DISPID_IDISCRECORDER2_EJECTMEDIA: u32 = 256u32; -pub const DISPID_IDISCRECORDER2_ENABLEMCN: u32 = 261u32; -pub const DISPID_IDISCRECORDER2_EXCLUSIVEACCESSOWNER: u32 = 525u32; -pub const DISPID_IDISCRECORDER2_INITIALIZEDISCRECORDER: u32 = 262u32; -pub const DISPID_IDISCRECORDER2_LEGACYDEVICENUMBER: u32 = 519u32; -pub const DISPID_IDISCRECORDER2_PRODUCTID: u32 = 514u32; -pub const DISPID_IDISCRECORDER2_PRODUCTREVISION: u32 = 515u32; -pub const DISPID_IDISCRECORDER2_RELEASEEXCLUSIVEACCESS: u32 = 259u32; -pub const DISPID_IDISCRECORDER2_SUPPORTEDFEATUREPAGES: u32 = 520u32; -pub const DISPID_IDISCRECORDER2_SUPPORTEDMODEPAGES: u32 = 524u32; -pub const DISPID_IDISCRECORDER2_SUPPORTEDPROFILES: u32 = 522u32; -pub const DISPID_IDISCRECORDER2_VENDORID: u32 = 513u32; -pub const DISPID_IDISCRECORDER2_VOLUMENAME: u32 = 516u32; -pub const DISPID_IDISCRECORDER2_VOLUMEPATHNAMES: u32 = 517u32; -pub const DISPID_IMULTISESSION_FIRSTDATASESSION: u32 = 512u32; -pub const DISPID_IMULTISESSION_FREESECTORS: u32 = 516u32; -pub const DISPID_IMULTISESSION_IMPORTRECORDER: u32 = 258u32; -pub const DISPID_IMULTISESSION_INUSE: u32 = 257u32; -pub const DISPID_IMULTISESSION_LASTSECTOROFPREVIOUSSESSION: u32 = 514u32; -pub const DISPID_IMULTISESSION_LASTWRITTENADDRESS: u32 = 518u32; -pub const DISPID_IMULTISESSION_NEXTWRITABLEADDRESS: u32 = 515u32; -pub const DISPID_IMULTISESSION_SECTORSONMEDIA: u32 = 519u32; -pub const DISPID_IMULTISESSION_STARTSECTOROFPREVIOUSSESSION: u32 = 513u32; -pub const DISPID_IMULTISESSION_SUPPORTEDONCURRENTMEDIA: u32 = 256u32; -pub const DISPID_IMULTISESSION_WRITEUNITSIZE: u32 = 517u32; -pub const DISPID_IRAWCDIMAGECREATOR_ADDSPECIALPREGAP: u32 = 514u32; -pub const DISPID_IRAWCDIMAGECREATOR_ADDSUBCODERWGENERATOR: u32 = 515u32; -pub const DISPID_IRAWCDIMAGECREATOR_ADDTRACK: u32 = 513u32; -pub const DISPID_IRAWCDIMAGECREATOR_CREATERESULTIMAGE: u32 = 512u32; -pub const DISPID_IRAWCDIMAGECREATOR_DISABLEGAPLESSAUDIO: u32 = 259u32; -pub const DISPID_IRAWCDIMAGECREATOR_EXPECTEDTABLEOFCONTENTS: u32 = 265u32; -pub const DISPID_IRAWCDIMAGECREATOR_MEDIACATALOGNUMBER: u32 = 260u32; -pub const DISPID_IRAWCDIMAGECREATOR_NUMBEROFEXISTINGTRACKS: u32 = 263u32; -pub const DISPID_IRAWCDIMAGECREATOR_RESULTINGIMAGETYPE: u32 = 256u32; -pub const DISPID_IRAWCDIMAGECREATOR_STARTINGTRACKNUMBER: u32 = 261u32; -pub const DISPID_IRAWCDIMAGECREATOR_STARTOFLEADOUT: u32 = 257u32; -pub const DISPID_IRAWCDIMAGECREATOR_STARTOFLEADOUTLIMIT: u32 = 258u32; -pub const DISPID_IRAWCDIMAGECREATOR_TRACKINFO: u32 = 262u32; -pub const DISPID_IRAWCDIMAGECREATOR_USEDSECTORSONDISC: u32 = 264u32; -pub const DISPID_IRAWCDTRACKINFO_AUDIOHASPREEMPHASIS: u32 = 262u32; -pub const DISPID_IRAWCDTRACKINFO_DIGITALAUDIOCOPYSETTING: u32 = 261u32; -pub const DISPID_IRAWCDTRACKINFO_ISRC: u32 = 260u32; -pub const DISPID_IRAWCDTRACKINFO_SECTORCOUNT: u32 = 257u32; -pub const DISPID_IRAWCDTRACKINFO_SECTORTYPE: u32 = 259u32; -pub const DISPID_IRAWCDTRACKINFO_STARTINGLBA: u32 = 256u32; -pub const DISPID_IRAWCDTRACKINFO_TRACKNUMBER: u32 = 258u32; -pub const DISPID_IWRITEENGINE2EVENTARGS_FREESYSTEMBUFFER: u32 = 264u32; -pub const DISPID_IWRITEENGINE2EVENTARGS_LASTREADLBA: u32 = 258u32; -pub const DISPID_IWRITEENGINE2EVENTARGS_LASTWRITTENLBA: u32 = 259u32; -pub const DISPID_IWRITEENGINE2EVENTARGS_SECTORCOUNT: u32 = 257u32; -pub const DISPID_IWRITEENGINE2EVENTARGS_STARTLBA: u32 = 256u32; -pub const DISPID_IWRITEENGINE2EVENTARGS_TOTALDEVICEBUFFER: u32 = 260u32; -pub const DISPID_IWRITEENGINE2EVENTARGS_TOTALSYSTEMBUFFER: u32 = 262u32; -pub const DISPID_IWRITEENGINE2EVENTARGS_USEDDEVICEBUFFER: u32 = 261u32; -pub const DISPID_IWRITEENGINE2EVENTARGS_USEDSYSTEMBUFFER: u32 = 263u32; -pub const DISPID_IWRITEENGINE2_BYTESPERSECTOR: u32 = 260u32; -pub const DISPID_IWRITEENGINE2_CANCELWRITE: u32 = 513u32; -pub const DISPID_IWRITEENGINE2_DISCRECORDER: u32 = 256u32; -pub const DISPID_IWRITEENGINE2_ENDINGSECTORSPERSECOND: u32 = 259u32; -pub const DISPID_IWRITEENGINE2_STARTINGSECTORSPERSECOND: u32 = 258u32; -pub const DISPID_IWRITEENGINE2_USESTREAMINGWRITE12: u32 = 257u32; -pub const DISPID_IWRITEENGINE2_WRITEINPROGRESS: u32 = 261u32; -pub const DISPID_IWRITEENGINE2_WRITESECTION: u32 = 512u32; -pub const Emulation12MFloppy: EmulationType = 1i32; -pub const Emulation144MFloppy: EmulationType = 2i32; -pub const Emulation288MFloppy: EmulationType = 3i32; -pub const EmulationHardDisk: EmulationType = 4i32; -pub const EmulationNone: EmulationType = 0i32; -pub const EnumFsiItems: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2c941fc6_975b_59be_a960_9a2a262853a5); -pub const EnumProgressItems: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2c941fca_975b_59be_a960_9a2a262853a5); -pub const FileSystemImageResult: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2c941fcc_975b_59be_a960_9a2a262853a5); -pub const FsiDirectoryItem: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2c941fc8_975b_59be_a960_9a2a262853a5); -pub const FsiFileItem: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2c941fc7_975b_59be_a960_9a2a262853a5); -pub const FsiFileSystemISO9660: FsiFileSystems = 1i32; -pub const FsiFileSystemJoliet: FsiFileSystems = 2i32; -pub const FsiFileSystemNone: FsiFileSystems = 0i32; -pub const FsiFileSystemUDF: FsiFileSystems = 4i32; -pub const FsiFileSystemUnknown: FsiFileSystems = 1073741824i32; -pub const FsiItemDirectory: FsiItemType = 1i32; -pub const FsiItemFile: FsiItemType = 2i32; -pub const FsiItemNotFound: FsiItemType = 0i32; -pub const FsiNamedStreams: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc6b6f8ed_6d19_44b4_b539_b159b793a32d); -pub const FsiStream: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2c941fcd_975b_59be_a960_9a2a262853a5); -pub const GUID_SMTPSVC_SOURCE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1b3c0666_e470_11d1_aa67_00c04fa345f6); -pub const GUID_SMTP_SOURCE_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xfb65c4dc_e468_11d1_aa67_00c04fa345f6); -pub const IMAPI2FS_BOOT_ENTRY_COUNT_MAX: u32 = 32u32; -pub const IMAPI2FS_FullVersion_STR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.0"); -pub const IMAPI2FS_FullVersion_WSTR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.0"); -pub const IMAPI2FS_MajorVersion: u32 = 1u32; -pub const IMAPI2FS_MinorVersion: u32 = 0u32; -pub const IMAPI2_DEFAULT_COMMAND_TIMEOUT: u32 = 10u32; -pub const IMAPILib2_MajorVersion: u32 = 1u32; -pub const IMAPILib2_MinorVersion: u32 = 0u32; -pub const IMAPI_BURN_VERIFICATION_FULL: IMAPI_BURN_VERIFICATION_LEVEL = 2i32; -pub const IMAPI_BURN_VERIFICATION_NONE: IMAPI_BURN_VERIFICATION_LEVEL = 0i32; -pub const IMAPI_BURN_VERIFICATION_QUICK: IMAPI_BURN_VERIFICATION_LEVEL = 1i32; -pub const IMAPI_CD_SECTOR_AUDIO: IMAPI_CD_SECTOR_TYPE = 0i32; -pub const IMAPI_CD_SECTOR_MODE1: IMAPI_CD_SECTOR_TYPE = 2i32; -pub const IMAPI_CD_SECTOR_MODE1RAW: IMAPI_CD_SECTOR_TYPE = 6i32; -pub const IMAPI_CD_SECTOR_MODE2FORM0: IMAPI_CD_SECTOR_TYPE = 3i32; -pub const IMAPI_CD_SECTOR_MODE2FORM0RAW: IMAPI_CD_SECTOR_TYPE = 7i32; -pub const IMAPI_CD_SECTOR_MODE2FORM1: IMAPI_CD_SECTOR_TYPE = 4i32; -pub const IMAPI_CD_SECTOR_MODE2FORM1RAW: IMAPI_CD_SECTOR_TYPE = 8i32; -pub const IMAPI_CD_SECTOR_MODE2FORM2: IMAPI_CD_SECTOR_TYPE = 5i32; -pub const IMAPI_CD_SECTOR_MODE2FORM2RAW: IMAPI_CD_SECTOR_TYPE = 9i32; -pub const IMAPI_CD_SECTOR_MODE_ZERO: IMAPI_CD_SECTOR_TYPE = 1i32; -pub const IMAPI_CD_TRACK_DIGITAL_COPY_PERMITTED: IMAPI_CD_TRACK_DIGITAL_COPY_SETTING = 0i32; -pub const IMAPI_CD_TRACK_DIGITAL_COPY_PROHIBITED: IMAPI_CD_TRACK_DIGITAL_COPY_SETTING = 1i32; -pub const IMAPI_CD_TRACK_DIGITAL_COPY_SCMS: IMAPI_CD_TRACK_DIGITAL_COPY_SETTING = 2i32; -pub const IMAPI_E_ALREADYOPEN: ::windows_sys::core::HRESULT = -2147220958i32; -pub const IMAPI_E_BADJOLIETNAME: ::windows_sys::core::HRESULT = -2147220963i32; -pub const IMAPI_E_BOOTIMAGE_AND_NONBLANK_DISC: ::windows_sys::core::HRESULT = -2147220946i32; -pub const IMAPI_E_CANNOT_WRITE_TO_MEDIA: ::windows_sys::core::HRESULT = -2147220948i32; -pub const IMAPI_E_COMPRESSEDSTASH: ::windows_sys::core::HRESULT = -2147220952i32; -pub const IMAPI_E_DEVICE_INVALIDTYPE: ::windows_sys::core::HRESULT = -2147220972i32; -pub const IMAPI_E_DEVICE_NOPROPERTIES: ::windows_sys::core::HRESULT = -2147220975i32; -pub const IMAPI_E_DEVICE_NOTACCESSIBLE: ::windows_sys::core::HRESULT = -2147220974i32; -pub const IMAPI_E_DEVICE_NOTPRESENT: ::windows_sys::core::HRESULT = -2147220973i32; -pub const IMAPI_E_DEVICE_STILL_IN_USE: ::windows_sys::core::HRESULT = -2147220954i32; -pub const IMAPI_E_DISCFULL: ::windows_sys::core::HRESULT = -2147220964i32; -pub const IMAPI_E_DISCINFO: ::windows_sys::core::HRESULT = -2147220967i32; -pub const IMAPI_E_ENCRYPTEDSTASH: ::windows_sys::core::HRESULT = -2147220951i32; -pub const IMAPI_E_FILEACCESS: ::windows_sys::core::HRESULT = -2147220968i32; -pub const IMAPI_E_FILEEXISTS: ::windows_sys::core::HRESULT = -2147220956i32; -pub const IMAPI_E_FILESYSTEM: ::windows_sys::core::HRESULT = -2147220969i32; -pub const IMAPI_E_GENERIC: ::windows_sys::core::HRESULT = -2147220978i32; -pub const IMAPI_E_INITIALIZE_ENDWRITE: ::windows_sys::core::HRESULT = -2147220970i32; -pub const IMAPI_E_INITIALIZE_WRITE: ::windows_sys::core::HRESULT = -2147220971i32; -pub const IMAPI_E_INVALIDIMAGE: ::windows_sys::core::HRESULT = -2147220962i32; -pub const IMAPI_E_LOSS_OF_STREAMING: ::windows_sys::core::HRESULT = -2147220953i32; -pub const IMAPI_E_MEDIUM_INVALIDTYPE: ::windows_sys::core::HRESULT = -2147220976i32; -pub const IMAPI_E_MEDIUM_NOTPRESENT: ::windows_sys::core::HRESULT = -2147220977i32; -pub const IMAPI_E_NOACTIVEFORMAT: ::windows_sys::core::HRESULT = -2147220961i32; -pub const IMAPI_E_NOACTIVERECORDER: ::windows_sys::core::HRESULT = -2147220960i32; -pub const IMAPI_E_NOTENOUGHDISKFORSTASH: ::windows_sys::core::HRESULT = -2147220950i32; -pub const IMAPI_E_NOTINITIALIZED: ::windows_sys::core::HRESULT = -2147220980i32; -pub const IMAPI_E_NOTOPENED: ::windows_sys::core::HRESULT = -2147220981i32; -pub const IMAPI_E_REMOVABLESTASH: ::windows_sys::core::HRESULT = -2147220949i32; -pub const IMAPI_E_STASHINUSE: ::windows_sys::core::HRESULT = -2147220955i32; -pub const IMAPI_E_TRACKNOTOPEN: ::windows_sys::core::HRESULT = -2147220966i32; -pub const IMAPI_E_TRACKOPEN: ::windows_sys::core::HRESULT = -2147220965i32; -pub const IMAPI_E_TRACK_NOT_BIG_ENOUGH: ::windows_sys::core::HRESULT = -2147220947i32; -pub const IMAPI_E_USERABORT: ::windows_sys::core::HRESULT = -2147220979i32; -pub const IMAPI_E_WRONGDISC: ::windows_sys::core::HRESULT = -2147220957i32; -pub const IMAPI_E_WRONGFORMAT: ::windows_sys::core::HRESULT = -2147220959i32; -pub const IMAPI_FEATURE_PAGE_TYPE_AACS: IMAPI_FEATURE_PAGE_TYPE = 269i32; -pub const IMAPI_FEATURE_PAGE_TYPE_BD_PSEUDO_OVERWRITE: IMAPI_FEATURE_PAGE_TYPE = 56i32; -pub const IMAPI_FEATURE_PAGE_TYPE_BD_READ: IMAPI_FEATURE_PAGE_TYPE = 64i32; -pub const IMAPI_FEATURE_PAGE_TYPE_BD_WRITE: IMAPI_FEATURE_PAGE_TYPE = 65i32; -pub const IMAPI_FEATURE_PAGE_TYPE_CDRW_CAV_WRITE: IMAPI_FEATURE_PAGE_TYPE = 39i32; -pub const IMAPI_FEATURE_PAGE_TYPE_CD_ANALOG_PLAY: IMAPI_FEATURE_PAGE_TYPE = 259i32; -pub const IMAPI_FEATURE_PAGE_TYPE_CD_MASTERING: IMAPI_FEATURE_PAGE_TYPE = 46i32; -pub const IMAPI_FEATURE_PAGE_TYPE_CD_MULTIREAD: IMAPI_FEATURE_PAGE_TYPE = 29i32; -pub const IMAPI_FEATURE_PAGE_TYPE_CD_READ: IMAPI_FEATURE_PAGE_TYPE = 30i32; -pub const IMAPI_FEATURE_PAGE_TYPE_CD_RW_MEDIA_WRITE_SUPPORT: IMAPI_FEATURE_PAGE_TYPE = 55i32; -pub const IMAPI_FEATURE_PAGE_TYPE_CD_TRACK_AT_ONCE: IMAPI_FEATURE_PAGE_TYPE = 45i32; -pub const IMAPI_FEATURE_PAGE_TYPE_CORE: IMAPI_FEATURE_PAGE_TYPE = 1i32; -pub const IMAPI_FEATURE_PAGE_TYPE_DISC_CONTROL_BLOCKS: IMAPI_FEATURE_PAGE_TYPE = 266i32; -pub const IMAPI_FEATURE_PAGE_TYPE_DOUBLE_DENSITY_CD_READ: IMAPI_FEATURE_PAGE_TYPE = 48i32; -pub const IMAPI_FEATURE_PAGE_TYPE_DOUBLE_DENSITY_CD_RW_WRITE: IMAPI_FEATURE_PAGE_TYPE = 50i32; -pub const IMAPI_FEATURE_PAGE_TYPE_DOUBLE_DENSITY_CD_R_WRITE: IMAPI_FEATURE_PAGE_TYPE = 49i32; -pub const IMAPI_FEATURE_PAGE_TYPE_DVD_CPRM: IMAPI_FEATURE_PAGE_TYPE = 267i32; -pub const IMAPI_FEATURE_PAGE_TYPE_DVD_CSS: IMAPI_FEATURE_PAGE_TYPE = 262i32; -pub const IMAPI_FEATURE_PAGE_TYPE_DVD_DASH_WRITE: IMAPI_FEATURE_PAGE_TYPE = 47i32; -pub const IMAPI_FEATURE_PAGE_TYPE_DVD_PLUS_R: IMAPI_FEATURE_PAGE_TYPE = 43i32; -pub const IMAPI_FEATURE_PAGE_TYPE_DVD_PLUS_RW: IMAPI_FEATURE_PAGE_TYPE = 42i32; -pub const IMAPI_FEATURE_PAGE_TYPE_DVD_PLUS_R_DUAL_LAYER: IMAPI_FEATURE_PAGE_TYPE = 59i32; -pub const IMAPI_FEATURE_PAGE_TYPE_DVD_READ: IMAPI_FEATURE_PAGE_TYPE = 31i32; -pub const IMAPI_FEATURE_PAGE_TYPE_EMBEDDED_CHANGER: IMAPI_FEATURE_PAGE_TYPE = 258i32; -pub const IMAPI_FEATURE_PAGE_TYPE_ENHANCED_DEFECT_REPORTING: IMAPI_FEATURE_PAGE_TYPE = 41i32; -pub const IMAPI_FEATURE_PAGE_TYPE_FIRMWARE_INFORMATION: IMAPI_FEATURE_PAGE_TYPE = 268i32; -pub const IMAPI_FEATURE_PAGE_TYPE_FORMATTABLE: IMAPI_FEATURE_PAGE_TYPE = 35i32; -pub const IMAPI_FEATURE_PAGE_TYPE_HARDWARE_DEFECT_MANAGEMENT: IMAPI_FEATURE_PAGE_TYPE = 36i32; -pub const IMAPI_FEATURE_PAGE_TYPE_HD_DVD_READ: IMAPI_FEATURE_PAGE_TYPE = 80i32; -pub const IMAPI_FEATURE_PAGE_TYPE_HD_DVD_WRITE: IMAPI_FEATURE_PAGE_TYPE = 81i32; -pub const IMAPI_FEATURE_PAGE_TYPE_INCREMENTAL_STREAMING_WRITABLE: IMAPI_FEATURE_PAGE_TYPE = 33i32; -pub const IMAPI_FEATURE_PAGE_TYPE_LAYER_JUMP_RECORDING: IMAPI_FEATURE_PAGE_TYPE = 51i32; -pub const IMAPI_FEATURE_PAGE_TYPE_LOGICAL_UNIT_SERIAL_NUMBER: IMAPI_FEATURE_PAGE_TYPE = 264i32; -pub const IMAPI_FEATURE_PAGE_TYPE_MEDIA_SERIAL_NUMBER: IMAPI_FEATURE_PAGE_TYPE = 265i32; -pub const IMAPI_FEATURE_PAGE_TYPE_MICROCODE_UPDATE: IMAPI_FEATURE_PAGE_TYPE = 260i32; -pub const IMAPI_FEATURE_PAGE_TYPE_MORPHING: IMAPI_FEATURE_PAGE_TYPE = 2i32; -pub const IMAPI_FEATURE_PAGE_TYPE_MRW: IMAPI_FEATURE_PAGE_TYPE = 40i32; -pub const IMAPI_FEATURE_PAGE_TYPE_POWER_MANAGEMENT: IMAPI_FEATURE_PAGE_TYPE = 256i32; -pub const IMAPI_FEATURE_PAGE_TYPE_PROFILE_LIST: IMAPI_FEATURE_PAGE_TYPE = 0i32; -pub const IMAPI_FEATURE_PAGE_TYPE_RANDOMLY_READABLE: IMAPI_FEATURE_PAGE_TYPE = 16i32; -pub const IMAPI_FEATURE_PAGE_TYPE_RANDOMLY_WRITABLE: IMAPI_FEATURE_PAGE_TYPE = 32i32; -pub const IMAPI_FEATURE_PAGE_TYPE_REAL_TIME_STREAMING: IMAPI_FEATURE_PAGE_TYPE = 263i32; -pub const IMAPI_FEATURE_PAGE_TYPE_REMOVABLE_MEDIUM: IMAPI_FEATURE_PAGE_TYPE = 3i32; -pub const IMAPI_FEATURE_PAGE_TYPE_RESTRICTED_OVERWRITE: IMAPI_FEATURE_PAGE_TYPE = 38i32; -pub const IMAPI_FEATURE_PAGE_TYPE_RIGID_RESTRICTED_OVERWRITE: IMAPI_FEATURE_PAGE_TYPE = 44i32; -pub const IMAPI_FEATURE_PAGE_TYPE_SECTOR_ERASABLE: IMAPI_FEATURE_PAGE_TYPE = 34i32; -pub const IMAPI_FEATURE_PAGE_TYPE_SMART: IMAPI_FEATURE_PAGE_TYPE = 257i32; -pub const IMAPI_FEATURE_PAGE_TYPE_TIMEOUT: IMAPI_FEATURE_PAGE_TYPE = 261i32; -pub const IMAPI_FEATURE_PAGE_TYPE_VCPS: IMAPI_FEATURE_PAGE_TYPE = 272i32; -pub const IMAPI_FEATURE_PAGE_TYPE_WRITE_ONCE: IMAPI_FEATURE_PAGE_TYPE = 37i32; -pub const IMAPI_FEATURE_PAGE_TYPE_WRITE_PROTECT: IMAPI_FEATURE_PAGE_TYPE = 4i32; -pub const IMAPI_FORMAT2_DATA_MEDIA_STATE_APPENDABLE: IMAPI_FORMAT2_DATA_MEDIA_STATE = 4i32; -pub const IMAPI_FORMAT2_DATA_MEDIA_STATE_BLANK: IMAPI_FORMAT2_DATA_MEDIA_STATE = 2i32; -pub const IMAPI_FORMAT2_DATA_MEDIA_STATE_DAMAGED: IMAPI_FORMAT2_DATA_MEDIA_STATE = 1024i32; -pub const IMAPI_FORMAT2_DATA_MEDIA_STATE_ERASE_REQUIRED: IMAPI_FORMAT2_DATA_MEDIA_STATE = 2048i32; -pub const IMAPI_FORMAT2_DATA_MEDIA_STATE_FINALIZED: IMAPI_FORMAT2_DATA_MEDIA_STATE = 16384i32; -pub const IMAPI_FORMAT2_DATA_MEDIA_STATE_FINAL_SESSION: IMAPI_FORMAT2_DATA_MEDIA_STATE = 8i32; -pub const IMAPI_FORMAT2_DATA_MEDIA_STATE_INFORMATIONAL_MASK: IMAPI_FORMAT2_DATA_MEDIA_STATE = 15i32; -pub const IMAPI_FORMAT2_DATA_MEDIA_STATE_NON_EMPTY_SESSION: IMAPI_FORMAT2_DATA_MEDIA_STATE = 4096i32; -pub const IMAPI_FORMAT2_DATA_MEDIA_STATE_OVERWRITE_ONLY: IMAPI_FORMAT2_DATA_MEDIA_STATE = 1i32; -pub const IMAPI_FORMAT2_DATA_MEDIA_STATE_RANDOMLY_WRITABLE: IMAPI_FORMAT2_DATA_MEDIA_STATE = 1i32; -pub const IMAPI_FORMAT2_DATA_MEDIA_STATE_UNKNOWN: IMAPI_FORMAT2_DATA_MEDIA_STATE = 0i32; -pub const IMAPI_FORMAT2_DATA_MEDIA_STATE_UNSUPPORTED_MASK: IMAPI_FORMAT2_DATA_MEDIA_STATE = 64512i32; -pub const IMAPI_FORMAT2_DATA_MEDIA_STATE_UNSUPPORTED_MEDIA: IMAPI_FORMAT2_DATA_MEDIA_STATE = 32768i32; -pub const IMAPI_FORMAT2_DATA_MEDIA_STATE_WRITE_PROTECTED: IMAPI_FORMAT2_DATA_MEDIA_STATE = 8192i32; -pub const IMAPI_FORMAT2_DATA_WRITE_ACTION_CALIBRATING_POWER: IMAPI_FORMAT2_DATA_WRITE_ACTION = 3i32; -pub const IMAPI_FORMAT2_DATA_WRITE_ACTION_COMPLETED: IMAPI_FORMAT2_DATA_WRITE_ACTION = 6i32; -pub const IMAPI_FORMAT2_DATA_WRITE_ACTION_FINALIZATION: IMAPI_FORMAT2_DATA_WRITE_ACTION = 5i32; -pub const IMAPI_FORMAT2_DATA_WRITE_ACTION_FORMATTING_MEDIA: IMAPI_FORMAT2_DATA_WRITE_ACTION = 1i32; -pub const IMAPI_FORMAT2_DATA_WRITE_ACTION_INITIALIZING_HARDWARE: IMAPI_FORMAT2_DATA_WRITE_ACTION = 2i32; -pub const IMAPI_FORMAT2_DATA_WRITE_ACTION_VALIDATING_MEDIA: IMAPI_FORMAT2_DATA_WRITE_ACTION = 0i32; -pub const IMAPI_FORMAT2_DATA_WRITE_ACTION_VERIFYING: IMAPI_FORMAT2_DATA_WRITE_ACTION = 7i32; -pub const IMAPI_FORMAT2_DATA_WRITE_ACTION_WRITING_DATA: IMAPI_FORMAT2_DATA_WRITE_ACTION = 4i32; -pub const IMAPI_FORMAT2_RAW_CD_SUBCODE_IS_COOKED: IMAPI_FORMAT2_RAW_CD_DATA_SECTOR_TYPE = 2i32; -pub const IMAPI_FORMAT2_RAW_CD_SUBCODE_IS_RAW: IMAPI_FORMAT2_RAW_CD_DATA_SECTOR_TYPE = 3i32; -pub const IMAPI_FORMAT2_RAW_CD_SUBCODE_PQ_ONLY: IMAPI_FORMAT2_RAW_CD_DATA_SECTOR_TYPE = 1i32; -pub const IMAPI_FORMAT2_RAW_CD_WRITE_ACTION_FINISHING: IMAPI_FORMAT2_RAW_CD_WRITE_ACTION = 3i32; -pub const IMAPI_FORMAT2_RAW_CD_WRITE_ACTION_PREPARING: IMAPI_FORMAT2_RAW_CD_WRITE_ACTION = 1i32; -pub const IMAPI_FORMAT2_RAW_CD_WRITE_ACTION_UNKNOWN: IMAPI_FORMAT2_RAW_CD_WRITE_ACTION = 0i32; -pub const IMAPI_FORMAT2_RAW_CD_WRITE_ACTION_WRITING: IMAPI_FORMAT2_RAW_CD_WRITE_ACTION = 2i32; -pub const IMAPI_FORMAT2_TAO_WRITE_ACTION_FINISHING: IMAPI_FORMAT2_TAO_WRITE_ACTION = 3i32; -pub const IMAPI_FORMAT2_TAO_WRITE_ACTION_PREPARING: IMAPI_FORMAT2_TAO_WRITE_ACTION = 1i32; -pub const IMAPI_FORMAT2_TAO_WRITE_ACTION_UNKNOWN: IMAPI_FORMAT2_TAO_WRITE_ACTION = 0i32; -pub const IMAPI_FORMAT2_TAO_WRITE_ACTION_VERIFYING: IMAPI_FORMAT2_TAO_WRITE_ACTION = 4i32; -pub const IMAPI_FORMAT2_TAO_WRITE_ACTION_WRITING: IMAPI_FORMAT2_TAO_WRITE_ACTION = 2i32; -pub const IMAPI_MEDIA_TYPE_BDR: IMAPI_MEDIA_PHYSICAL_TYPE = 18i32; -pub const IMAPI_MEDIA_TYPE_BDRE: IMAPI_MEDIA_PHYSICAL_TYPE = 19i32; -pub const IMAPI_MEDIA_TYPE_BDROM: IMAPI_MEDIA_PHYSICAL_TYPE = 17i32; -pub const IMAPI_MEDIA_TYPE_CDR: IMAPI_MEDIA_PHYSICAL_TYPE = 2i32; -pub const IMAPI_MEDIA_TYPE_CDROM: IMAPI_MEDIA_PHYSICAL_TYPE = 1i32; -pub const IMAPI_MEDIA_TYPE_CDRW: IMAPI_MEDIA_PHYSICAL_TYPE = 3i32; -pub const IMAPI_MEDIA_TYPE_DISK: IMAPI_MEDIA_PHYSICAL_TYPE = 12i32; -pub const IMAPI_MEDIA_TYPE_DVDDASHR: IMAPI_MEDIA_PHYSICAL_TYPE = 9i32; -pub const IMAPI_MEDIA_TYPE_DVDDASHRW: IMAPI_MEDIA_PHYSICAL_TYPE = 10i32; -pub const IMAPI_MEDIA_TYPE_DVDDASHR_DUALLAYER: IMAPI_MEDIA_PHYSICAL_TYPE = 11i32; -pub const IMAPI_MEDIA_TYPE_DVDPLUSR: IMAPI_MEDIA_PHYSICAL_TYPE = 6i32; -pub const IMAPI_MEDIA_TYPE_DVDPLUSRW: IMAPI_MEDIA_PHYSICAL_TYPE = 7i32; -pub const IMAPI_MEDIA_TYPE_DVDPLUSRW_DUALLAYER: IMAPI_MEDIA_PHYSICAL_TYPE = 13i32; -pub const IMAPI_MEDIA_TYPE_DVDPLUSR_DUALLAYER: IMAPI_MEDIA_PHYSICAL_TYPE = 8i32; -pub const IMAPI_MEDIA_TYPE_DVDRAM: IMAPI_MEDIA_PHYSICAL_TYPE = 5i32; -pub const IMAPI_MEDIA_TYPE_DVDROM: IMAPI_MEDIA_PHYSICAL_TYPE = 4i32; -pub const IMAPI_MEDIA_TYPE_HDDVDR: IMAPI_MEDIA_PHYSICAL_TYPE = 15i32; -pub const IMAPI_MEDIA_TYPE_HDDVDRAM: IMAPI_MEDIA_PHYSICAL_TYPE = 16i32; -pub const IMAPI_MEDIA_TYPE_HDDVDROM: IMAPI_MEDIA_PHYSICAL_TYPE = 14i32; -pub const IMAPI_MEDIA_TYPE_MAX: IMAPI_MEDIA_PHYSICAL_TYPE = 19i32; -pub const IMAPI_MEDIA_TYPE_UNKNOWN: IMAPI_MEDIA_PHYSICAL_TYPE = 0i32; -pub const IMAPI_MODE_PAGE_REQUEST_TYPE_CHANGEABLE_VALUES: IMAPI_MODE_PAGE_REQUEST_TYPE = 1i32; -pub const IMAPI_MODE_PAGE_REQUEST_TYPE_CURRENT_VALUES: IMAPI_MODE_PAGE_REQUEST_TYPE = 0i32; -pub const IMAPI_MODE_PAGE_REQUEST_TYPE_DEFAULT_VALUES: IMAPI_MODE_PAGE_REQUEST_TYPE = 2i32; -pub const IMAPI_MODE_PAGE_REQUEST_TYPE_SAVED_VALUES: IMAPI_MODE_PAGE_REQUEST_TYPE = 3i32; -pub const IMAPI_MODE_PAGE_TYPE_CACHING: IMAPI_MODE_PAGE_TYPE = 8i32; -pub const IMAPI_MODE_PAGE_TYPE_INFORMATIONAL_EXCEPTIONS: IMAPI_MODE_PAGE_TYPE = 28i32; -pub const IMAPI_MODE_PAGE_TYPE_LEGACY_CAPABILITIES: IMAPI_MODE_PAGE_TYPE = 42i32; -pub const IMAPI_MODE_PAGE_TYPE_MRW: IMAPI_MODE_PAGE_TYPE = 3i32; -pub const IMAPI_MODE_PAGE_TYPE_POWER_CONDITION: IMAPI_MODE_PAGE_TYPE = 26i32; -pub const IMAPI_MODE_PAGE_TYPE_READ_WRITE_ERROR_RECOVERY: IMAPI_MODE_PAGE_TYPE = 1i32; -pub const IMAPI_MODE_PAGE_TYPE_TIMEOUT_AND_PROTECT: IMAPI_MODE_PAGE_TYPE = 29i32; -pub const IMAPI_MODE_PAGE_TYPE_WRITE_PARAMETERS: IMAPI_MODE_PAGE_TYPE = 5i32; -pub const IMAPI_PROFILE_TYPE_AS_MO: IMAPI_PROFILE_TYPE = 5i32; -pub const IMAPI_PROFILE_TYPE_BD_REWRITABLE: IMAPI_PROFILE_TYPE = 67i32; -pub const IMAPI_PROFILE_TYPE_BD_ROM: IMAPI_PROFILE_TYPE = 64i32; -pub const IMAPI_PROFILE_TYPE_BD_R_RANDOM_RECORDING: IMAPI_PROFILE_TYPE = 66i32; -pub const IMAPI_PROFILE_TYPE_BD_R_SEQUENTIAL: IMAPI_PROFILE_TYPE = 65i32; -pub const IMAPI_PROFILE_TYPE_CDROM: IMAPI_PROFILE_TYPE = 8i32; -pub const IMAPI_PROFILE_TYPE_CD_RECORDABLE: IMAPI_PROFILE_TYPE = 9i32; -pub const IMAPI_PROFILE_TYPE_CD_REWRITABLE: IMAPI_PROFILE_TYPE = 10i32; -pub const IMAPI_PROFILE_TYPE_DDCDROM: IMAPI_PROFILE_TYPE = 32i32; -pub const IMAPI_PROFILE_TYPE_DDCD_RECORDABLE: IMAPI_PROFILE_TYPE = 33i32; -pub const IMAPI_PROFILE_TYPE_DDCD_REWRITABLE: IMAPI_PROFILE_TYPE = 34i32; -pub const IMAPI_PROFILE_TYPE_DVDROM: IMAPI_PROFILE_TYPE = 16i32; -pub const IMAPI_PROFILE_TYPE_DVD_DASH_RECORDABLE: IMAPI_PROFILE_TYPE = 17i32; -pub const IMAPI_PROFILE_TYPE_DVD_DASH_REWRITABLE: IMAPI_PROFILE_TYPE = 19i32; -pub const IMAPI_PROFILE_TYPE_DVD_DASH_RW_SEQUENTIAL: IMAPI_PROFILE_TYPE = 20i32; -pub const IMAPI_PROFILE_TYPE_DVD_DASH_R_DUAL_LAYER_JUMP: IMAPI_PROFILE_TYPE = 22i32; -pub const IMAPI_PROFILE_TYPE_DVD_DASH_R_DUAL_SEQUENTIAL: IMAPI_PROFILE_TYPE = 21i32; -pub const IMAPI_PROFILE_TYPE_DVD_PLUS_R: IMAPI_PROFILE_TYPE = 27i32; -pub const IMAPI_PROFILE_TYPE_DVD_PLUS_RW: IMAPI_PROFILE_TYPE = 26i32; -pub const IMAPI_PROFILE_TYPE_DVD_PLUS_RW_DUAL: IMAPI_PROFILE_TYPE = 42i32; -pub const IMAPI_PROFILE_TYPE_DVD_PLUS_R_DUAL: IMAPI_PROFILE_TYPE = 43i32; -pub const IMAPI_PROFILE_TYPE_DVD_RAM: IMAPI_PROFILE_TYPE = 18i32; -pub const IMAPI_PROFILE_TYPE_HD_DVD_RAM: IMAPI_PROFILE_TYPE = 82i32; -pub const IMAPI_PROFILE_TYPE_HD_DVD_RECORDABLE: IMAPI_PROFILE_TYPE = 81i32; -pub const IMAPI_PROFILE_TYPE_HD_DVD_ROM: IMAPI_PROFILE_TYPE = 80i32; -pub const IMAPI_PROFILE_TYPE_INVALID: IMAPI_PROFILE_TYPE = 0i32; -pub const IMAPI_PROFILE_TYPE_MO_ERASABLE: IMAPI_PROFILE_TYPE = 3i32; -pub const IMAPI_PROFILE_TYPE_MO_WRITE_ONCE: IMAPI_PROFILE_TYPE = 4i32; -pub const IMAPI_PROFILE_TYPE_NON_REMOVABLE_DISK: IMAPI_PROFILE_TYPE = 1i32; -pub const IMAPI_PROFILE_TYPE_NON_STANDARD: IMAPI_PROFILE_TYPE = 65535i32; -pub const IMAPI_PROFILE_TYPE_REMOVABLE_DISK: IMAPI_PROFILE_TYPE = 2i32; -pub const IMAPI_READ_TRACK_ADDRESS_TYPE_LBA: IMAPI_READ_TRACK_ADDRESS_TYPE = 0i32; -pub const IMAPI_READ_TRACK_ADDRESS_TYPE_SESSION: IMAPI_READ_TRACK_ADDRESS_TYPE = 2i32; -pub const IMAPI_READ_TRACK_ADDRESS_TYPE_TRACK: IMAPI_READ_TRACK_ADDRESS_TYPE = 1i32; -pub const IMAPI_SECTORS_PER_SECOND_AT_1X_BD: u32 = 2195u32; -pub const IMAPI_SECTORS_PER_SECOND_AT_1X_CD: u32 = 75u32; -pub const IMAPI_SECTORS_PER_SECOND_AT_1X_DVD: u32 = 680u32; -pub const IMAPI_SECTORS_PER_SECOND_AT_1X_HD_DVD: u32 = 4568u32; -pub const IMAPI_SECTOR_SIZE: u32 = 2048u32; -pub const IMAPI_S_BUFFER_TO_SMALL: ::windows_sys::core::HRESULT = 262657i32; -pub const IMAPI_S_PROPERTIESIGNORED: ::windows_sys::core::HRESULT = 262656i32; -pub const IMAPI_WRITEPROTECTED_BY_CARTRIDGE: IMAPI_MEDIA_WRITE_PROTECT_STATE = 2i32; -pub const IMAPI_WRITEPROTECTED_BY_DISC_CONTROL_BLOCK: IMAPI_MEDIA_WRITE_PROTECT_STATE = 16i32; -pub const IMAPI_WRITEPROTECTED_BY_MEDIA_SPECIFIC_REASON: IMAPI_MEDIA_WRITE_PROTECT_STATE = 4i32; -pub const IMAPI_WRITEPROTECTED_BY_SOFTWARE_WRITE_PROTECT: IMAPI_MEDIA_WRITE_PROTECT_STATE = 8i32; -pub const IMAPI_WRITEPROTECTED_READ_ONLY_MEDIA: IMAPI_MEDIA_WRITE_PROTECT_STATE = 16384i32; -pub const IMAPI_WRITEPROTECTED_UNTIL_POWERDOWN: IMAPI_MEDIA_WRITE_PROTECT_STATE = 1i32; -pub const IMMPID_CPV_AFTER__: IMMPID_CPV_ENUM = 32769i32; -pub const IMMPID_CPV_BEFORE__: IMMPID_CPV_ENUM = 32767i32; -pub const IMMPID_CP_START: IMMPID_CPV_ENUM = 32768i32; -pub const IMMPID_MPV_AFTER__: IMMPID_MPV_ENUM = 12294i32; -pub const IMMPID_MPV_BEFORE__: IMMPID_MPV_ENUM = 12287i32; -pub const IMMPID_MPV_MESSAGE_CREATION_FLAGS: IMMPID_MPV_ENUM = 12289i32; -pub const IMMPID_MPV_MESSAGE_OPEN_HANDLES: IMMPID_MPV_ENUM = 12290i32; -pub const IMMPID_MPV_STORE_DRIVER_HANDLE: IMMPID_MPV_ENUM = 12288i32; -pub const IMMPID_MPV_TOTAL_OPEN_CONTENT_HANDLES: IMMPID_MPV_ENUM = 12293i32; -pub const IMMPID_MPV_TOTAL_OPEN_HANDLES: IMMPID_MPV_ENUM = 12291i32; -pub const IMMPID_MPV_TOTAL_OPEN_PROPERTY_STREAM_HANDLES: IMMPID_MPV_ENUM = 12292i32; -pub const IMMPID_MP_AFTER__: IMMPID_MP_ENUM = 4153i32; -pub const IMMPID_MP_ARRIVAL_FILETIME: IMMPID_MP_ENUM = 4121i32; -pub const IMMPID_MP_ARRIVAL_TIME: IMMPID_MP_ENUM = 4115i32; -pub const IMMPID_MP_AUTHENTICATED_USER_NAME: IMMPID_MP_ENUM = 4104i32; -pub const IMMPID_MP_BEFORE__: IMMPID_MP_ENUM = 4095i32; -pub const IMMPID_MP_BINARYMIME_OPTION: IMMPID_MP_ENUM = 4109i32; -pub const IMMPID_MP_CHUNKING_OPTION: IMMPID_MP_ENUM = 4108i32; -pub const IMMPID_MP_CLIENT_AUTH_TYPE: IMMPID_MP_ENUM = 4149i32; -pub const IMMPID_MP_CLIENT_AUTH_USER: IMMPID_MP_ENUM = 4148i32; -pub const IMMPID_MP_CONNECTION_IP_ADDRESS: IMMPID_MP_ENUM = 4105i32; -pub const IMMPID_MP_CONNECTION_SERVER_IP_ADDRESS: IMMPID_MP_ENUM = 4134i32; -pub const IMMPID_MP_CONNECTION_SERVER_PORT: IMMPID_MP_ENUM = 4147i32; -pub const IMMPID_MP_CONTENT_FILE_NAME: IMMPID_MP_ENUM = 4097i32; -pub const IMMPID_MP_CONTENT_TYPE: IMMPID_MP_ENUM = 4145i32; -pub const IMMPID_MP_CRC_GLOBAL: IMMPID_MP_ENUM = 4150i32; -pub const IMMPID_MP_CRC_RECIPS: IMMPID_MP_ENUM = 4151i32; -pub const IMMPID_MP_DEFERRED_DELIVERY_FILETIME: IMMPID_MP_ENUM = 4141i32; -pub const IMMPID_MP_DOMAIN_LIST: IMMPID_MP_ENUM = 4102i32; -pub const IMMPID_MP_DSN_ENVID_VALUE: IMMPID_MP_ENUM = 4112i32; -pub const IMMPID_MP_DSN_RET_VALUE: IMMPID_MP_ENUM = 4113i32; -pub const IMMPID_MP_EIGHTBIT_MIME_OPTION: IMMPID_MP_ENUM = 4107i32; -pub const IMMPID_MP_ENCRYPTION_TYPE: IMMPID_MP_ENUM = 4146i32; -pub const IMMPID_MP_ERROR_CODE: IMMPID_MP_ENUM = 4111i32; -pub const IMMPID_MP_EXPIRE_DELAY: IMMPID_MP_ENUM = 4117i32; -pub const IMMPID_MP_EXPIRE_NDR: IMMPID_MP_ENUM = 4118i32; -pub const IMMPID_MP_FOUND_EMBEDDED_CRLF_DOT_CRLF: IMMPID_MP_ENUM = 4126i32; -pub const IMMPID_MP_FROM_ADDRESS: IMMPID_MP_ENUM = 4139i32; -pub const IMMPID_MP_HELO_DOMAIN: IMMPID_MP_ENUM = 4106i32; -pub const IMMPID_MP_HR_CAT_STATUS: IMMPID_MP_ENUM = 4122i32; -pub const IMMPID_MP_INBOUND_MAIL_FROM_AUTH: IMMPID_MP_ENUM = 4152i32; -pub const IMMPID_MP_LOCAL_EXPIRE_DELAY: IMMPID_MP_ENUM = 4119i32; -pub const IMMPID_MP_LOCAL_EXPIRE_NDR: IMMPID_MP_ENUM = 4120i32; -pub const IMMPID_MP_MESSAGE_STATUS: IMMPID_MP_ENUM = 4116i32; -pub const IMMPID_MP_MSGCLASS: IMMPID_MP_ENUM = 4144i32; -pub const IMMPID_MP_MSG_GUID: IMMPID_MP_ENUM = 4123i32; -pub const IMMPID_MP_MSG_SIZE_HINT: IMMPID_MP_ENUM = 4127i32; -pub const IMMPID_MP_NUM_RECIPIENTS: IMMPID_MP_ENUM = 4137i32; -pub const IMMPID_MP_ORIGINAL_ARRIVAL_TIME: IMMPID_MP_ENUM = 4143i32; -pub const IMMPID_MP_PICKUP_FILE_NAME: IMMPID_MP_ENUM = 4103i32; -pub const IMMPID_MP_RECIPIENT_LIST: IMMPID_MP_ENUM = 4096i32; -pub const IMMPID_MP_REMOTE_AUTHENTICATION_TYPE: IMMPID_MP_ENUM = 4110i32; -pub const IMMPID_MP_REMOTE_SERVER_DSN_CAPABLE: IMMPID_MP_ENUM = 4114i32; -pub const IMMPID_MP_RFC822_BCC_ADDRESS: IMMPID_MP_ENUM = 4133i32; -pub const IMMPID_MP_RFC822_CC_ADDRESS: IMMPID_MP_ENUM = 4132i32; -pub const IMMPID_MP_RFC822_FROM_ADDRESS: IMMPID_MP_ENUM = 4130i32; -pub const IMMPID_MP_RFC822_MSG_ID: IMMPID_MP_ENUM = 4128i32; -pub const IMMPID_MP_RFC822_MSG_SUBJECT: IMMPID_MP_ENUM = 4129i32; -pub const IMMPID_MP_RFC822_TO_ADDRESS: IMMPID_MP_ENUM = 4131i32; -pub const IMMPID_MP_SCANNED_FOR_CRLF_DOT_CRLF: IMMPID_MP_ENUM = 4125i32; -pub const IMMPID_MP_SENDER_ADDRESS: IMMPID_MP_ENUM = 4140i32; -pub const IMMPID_MP_SENDER_ADDRESS_LEGACY_EX_DN: IMMPID_MP_ENUM = 4101i32; -pub const IMMPID_MP_SENDER_ADDRESS_OTHER: IMMPID_MP_ENUM = 4142i32; -pub const IMMPID_MP_SENDER_ADDRESS_SMTP: IMMPID_MP_ENUM = 4098i32; -pub const IMMPID_MP_SENDER_ADDRESS_X400: IMMPID_MP_ENUM = 4100i32; -pub const IMMPID_MP_SENDER_ADDRESS_X500: IMMPID_MP_ENUM = 4099i32; -pub const IMMPID_MP_SERVER_NAME: IMMPID_MP_ENUM = 4135i32; -pub const IMMPID_MP_SERVER_VERSION: IMMPID_MP_ENUM = 4136i32; -pub const IMMPID_MP_SUPERSEDES_MSG_GUID: IMMPID_MP_ENUM = 4124i32; -pub const IMMPID_MP_X_PRIORITY: IMMPID_MP_ENUM = 4138i32; -pub const IMMPID_NMP_AFTER__: IMMPID_NMP_ENUM = 24585i32; -pub const IMMPID_NMP_BEFORE__: IMMPID_NMP_ENUM = 24575i32; -pub const IMMPID_NMP_HEADERS: IMMPID_NMP_ENUM = 24582i32; -pub const IMMPID_NMP_NEWSGROUP_LIST: IMMPID_NMP_ENUM = 24581i32; -pub const IMMPID_NMP_NNTP_APPROVED_HEADER: IMMPID_NMP_ENUM = 24584i32; -pub const IMMPID_NMP_NNTP_PROCESSING: IMMPID_NMP_ENUM = 24583i32; -pub const IMMPID_NMP_POST_TOKEN: IMMPID_NMP_ENUM = 24580i32; -pub const IMMPID_NMP_PRIMARY_ARTID: IMMPID_NMP_ENUM = 24579i32; -pub const IMMPID_NMP_PRIMARY_GROUP: IMMPID_NMP_ENUM = 24578i32; -pub const IMMPID_NMP_SECONDARY_ARTNUM: IMMPID_NMP_ENUM = 24577i32; -pub const IMMPID_NMP_SECONDARY_GROUPS: IMMPID_NMP_ENUM = 24576i32; -pub const IMMPID_RPV_AFTER__: IMMPID_RPV_ENUM = 16386i32; -pub const IMMPID_RPV_BEFORE__: IMMPID_RPV_ENUM = 16383i32; -pub const IMMPID_RPV_DONT_DELIVER: IMMPID_RPV_ENUM = 16384i32; -pub const IMMPID_RPV_NO_NAME_COLLISIONS: IMMPID_RPV_ENUM = 16385i32; -pub const IMMPID_RP_ADDRESS: IMMPID_RP_ENUM = 8195i32; -pub const IMMPID_RP_ADDRESS_OTHER: IMMPID_RP_ENUM = 8211i32; -pub const IMMPID_RP_ADDRESS_SMTP: IMMPID_RP_ENUM = 8201i32; -pub const IMMPID_RP_ADDRESS_TYPE: IMMPID_RP_ENUM = 8194i32; -pub const IMMPID_RP_ADDRESS_TYPE_SMTP: IMMPID_RP_ENUM = 8196i32; -pub const IMMPID_RP_ADDRESS_X400: IMMPID_RP_ENUM = 8202i32; -pub const IMMPID_RP_ADDRESS_X500: IMMPID_RP_ENUM = 8203i32; -pub const IMMPID_RP_AFTER__: IMMPID_RP_ENUM = 8213i32; -pub const IMMPID_RP_BEFORE__: IMMPID_RP_ENUM = 8191i32; -pub const IMMPID_RP_DISPLAY_NAME: IMMPID_RP_ENUM = 8212i32; -pub const IMMPID_RP_DOMAIN: IMMPID_RP_ENUM = 8210i32; -pub const IMMPID_RP_DSN_NOTIFY_INVALID: IMMPID_RP_ENUM = 8193i32; -pub const IMMPID_RP_DSN_NOTIFY_SUCCESS: IMMPID_RP_ENUM = 8192i32; -pub const IMMPID_RP_DSN_NOTIFY_VALUE: IMMPID_RP_ENUM = 8199i32; -pub const IMMPID_RP_DSN_ORCPT_VALUE: IMMPID_RP_ENUM = 8200i32; -pub const IMMPID_RP_DSN_PRE_CAT_ADDRESS: IMMPID_RP_ENUM = 8207i32; -pub const IMMPID_RP_ERROR_CODE: IMMPID_RP_ENUM = 8197i32; -pub const IMMPID_RP_ERROR_STRING: IMMPID_RP_ENUM = 8198i32; -pub const IMMPID_RP_LEGACY_EX_DN: IMMPID_RP_ENUM = 8204i32; -pub const IMMPID_RP_MDB_GUID: IMMPID_RP_ENUM = 8208i32; -pub const IMMPID_RP_RECIPIENT_FLAGS: IMMPID_RP_ENUM = 8205i32; -pub const IMMPID_RP_SMTP_STATUS_STRING: IMMPID_RP_ENUM = 8206i32; -pub const IMMPID_RP_USER_GUID: IMMPID_RP_ENUM = 8209i32; -pub const MEDIA_BLANK: MEDIA_FLAGS = 1i32; -pub const MEDIA_CDDA_CDROM: MEDIA_TYPES = 1i32; -pub const MEDIA_CD_EXTRA: MEDIA_TYPES = 4i32; -pub const MEDIA_CD_I: MEDIA_TYPES = 3i32; -pub const MEDIA_CD_OTHER: MEDIA_TYPES = 5i32; -pub const MEDIA_CD_ROM_XA: MEDIA_TYPES = 2i32; -pub const MEDIA_FORMAT_UNUSABLE_BY_IMAPI: MEDIA_FLAGS = 8i32; -pub const MEDIA_RW: MEDIA_FLAGS = 2i32; -pub const MEDIA_SPECIAL: MEDIA_TYPES = 6i32; -pub const MEDIA_WRITABLE: MEDIA_FLAGS = 4i32; -pub const MPV_INBOUND_CUTOFF_EXCEEDED: u32 = 1u32; -pub const MPV_WRITE_CONTENT: u32 = 2u32; -pub const MP_MSGCLASS_DELIVERY_REPORT: u32 = 3u32; -pub const MP_MSGCLASS_NONDELIVERY_REPORT: u32 = 4u32; -pub const MP_MSGCLASS_REPLICATION: u32 = 2u32; -pub const MP_MSGCLASS_SYSTEM: u32 = 1u32; -pub const MP_STATUS_ABANDON_DELIVERY: u32 = 6u32; -pub const MP_STATUS_ABORT_DELIVERY: u32 = 2u32; -pub const MP_STATUS_BAD_MAIL: u32 = 3u32; -pub const MP_STATUS_CATEGORIZED: u32 = 5u32; -pub const MP_STATUS_RETRY: u32 = 1u32; -pub const MP_STATUS_SUBMITTED: u32 = 4u32; -pub const MP_STATUS_SUCCESS: u32 = 0u32; -pub const MSDiscMasterObj: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x520cca63_51a5_11d3_9144_00104ba11c5e); -pub const MSDiscRecorderObj: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x520cca61_51a5_11d3_9144_00104ba11c5e); -pub const MSEnumDiscRecordersObj: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8a03567a_63cb_4ba8_baf6_52119816d1ef); -pub const MsftDiscFormat2Data: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2735412a_7f64_5b0f_8f00_5d77afbe261e); -pub const MsftDiscFormat2Erase: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2735412b_7f64_5b0f_8f00_5d77afbe261e); -pub const MsftDiscFormat2RawCD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x27354128_7f64_5b0f_8f00_5d77afbe261e); -pub const MsftDiscFormat2TrackAtOnce: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x27354129_7f64_5b0f_8f00_5d77afbe261e); -pub const MsftDiscMaster2: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2735412e_7f64_5b0f_8f00_5d77afbe261e); -pub const MsftDiscRecorder2: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2735412d_7f64_5b0f_8f00_5d77afbe261e); -pub const MsftFileSystemImage: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2c941fc5_975b_59be_a960_9a2a262853a5); -pub const MsftIsoImageManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xceee3b62_8f56_4056_869b_ef16917e3efc); -pub const MsftMultisessionRandomWrite: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb507ca24_2204_11dd_966a_001aa01bbc58); -pub const MsftMultisessionSequential: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x27354122_7f64_5b0f_8f00_5d77afbe261e); -pub const MsftRawCDImageCreator: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x25983561_9d65_49ce_b335_40630d901227); -pub const MsftStreamConcatenate: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x27354125_7f64_5b0f_8f00_5d77afbe261e); -pub const MsftStreamInterleave: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x27354124_7f64_5b0f_8f00_5d77afbe261e); -pub const MsftStreamPrng001: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x27354126_7f64_5b0f_8f00_5d77afbe261e); -pub const MsftStreamZero: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x27354127_7f64_5b0f_8f00_5d77afbe261e); -pub const MsftWriteEngine2: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2735412c_7f64_5b0f_8f00_5d77afbe261e); -pub const MsftWriteSpeedDescriptor: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x27354123_7f64_5b0f_8f00_5d77afbe261e); -pub const NMP_PROCESS_CONTROL: u32 = 2u32; -pub const NMP_PROCESS_MODERATOR: u32 = 4u32; -pub const NMP_PROCESS_POST: u32 = 1u32; -pub const PlatformEFI: PlatformId = 239i32; -pub const PlatformMac: PlatformId = 2i32; -pub const PlatformPowerPC: PlatformId = 1i32; -pub const PlatformX86: PlatformId = 0i32; -pub const ProgressItem: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2c941fcb_975b_59be_a960_9a2a262853a5); -pub const ProgressItems: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2c941fc9_975b_59be_a960_9a2a262853a5); -pub const RECORDER_BURNING: DISC_RECORDER_STATE_FLAGS = 2u32; -pub const RECORDER_CDR: RECORDER_TYPES = 1i32; -pub const RECORDER_CDRW: RECORDER_TYPES = 2i32; -pub const RECORDER_DOING_NOTHING: DISC_RECORDER_STATE_FLAGS = 0u32; -pub const RECORDER_OPENED: DISC_RECORDER_STATE_FLAGS = 1u32; -pub const RP_DELIVERED: u32 = 272u32; -pub const RP_DSN_HANDLED: u32 = 64u32; -pub const RP_DSN_NOTIFY_DELAY: u32 = 67108864u32; -pub const RP_DSN_NOTIFY_FAILURE: u32 = 33554432u32; -pub const RP_DSN_NOTIFY_INVALID: u32 = 0u32; -pub const RP_DSN_NOTIFY_MASK: u32 = 251658240u32; -pub const RP_DSN_NOTIFY_NEVER: u32 = 134217728u32; -pub const RP_DSN_NOTIFY_SUCCESS: u32 = 16777216u32; -pub const RP_DSN_SENT_DELAYED: u32 = 16384u32; -pub const RP_DSN_SENT_DELIVERED: u32 = 131136u32; -pub const RP_DSN_SENT_EXPANDED: u32 = 32832u32; -pub const RP_DSN_SENT_NDR: u32 = 1104u32; -pub const RP_DSN_SENT_RELAYED: u32 = 65600u32; -pub const RP_ENPANDED: u32 = 8208u32; -pub const RP_ERROR_CONTEXT_CAT: u32 = 2097152u32; -pub const RP_ERROR_CONTEXT_MTA: u32 = 4194304u32; -pub const RP_ERROR_CONTEXT_STORE: u32 = 1048576u32; -pub const RP_EXPANDED: u32 = 8208u32; -pub const RP_FAILED: u32 = 2096u32; -pub const RP_GENERAL_FAILURE: u32 = 32u32; -pub const RP_HANDLED: u32 = 16u32; -pub const RP_RECIP_FLAGS_RESERVED: u32 = 15u32; -pub const RP_REMOTE_MTA_NO_DSN: u32 = 524288u32; -pub const RP_UNRESOLVED: u32 = 4144u32; -pub const RP_VOLATILE_FLAGS_MASK: u32 = 4026531840u32; -pub const SZ_PROGID_SMTPCAT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Smtp.Cat"); -pub const tagIMMPID_CPV_STRUCT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa2a76b2a_e52d_11d1_aa64_00c04fa35b82); -pub const tagIMMPID_MPV_STRUCT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcbe69706_c9bd_11d1_9ff2_00c04fa37348); -pub const tagIMMPID_MP_STRUCT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x13384cf0_b3c4_11d1_aa92_00aa006bc80b); -pub const tagIMMPID_NMP_STRUCT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7433a9aa_20e2_11d2_94d6_00c04fa379f1); -pub const tagIMMPID_RPV_STRUCT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x79e82049_d320_11d1_9ff4_00c04fa37348); -pub const tagIMMPID_RP_STRUCT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x79e82048_d320_11d1_9ff4_00c04fa37348); -pub type DISC_RECORDER_STATE_FLAGS = u32; -pub type EmulationType = i32; -pub type FsiFileSystems = i32; -pub type FsiItemType = i32; -pub type IMAPI_BURN_VERIFICATION_LEVEL = i32; -pub type IMAPI_CD_SECTOR_TYPE = i32; -pub type IMAPI_CD_TRACK_DIGITAL_COPY_SETTING = i32; -pub type IMAPI_FEATURE_PAGE_TYPE = i32; -pub type IMAPI_FORMAT2_DATA_MEDIA_STATE = i32; -pub type IMAPI_FORMAT2_DATA_WRITE_ACTION = i32; -pub type IMAPI_FORMAT2_RAW_CD_DATA_SECTOR_TYPE = i32; -pub type IMAPI_FORMAT2_RAW_CD_WRITE_ACTION = i32; -pub type IMAPI_FORMAT2_TAO_WRITE_ACTION = i32; -pub type IMAPI_MEDIA_PHYSICAL_TYPE = i32; -pub type IMAPI_MEDIA_WRITE_PROTECT_STATE = i32; -pub type IMAPI_MODE_PAGE_REQUEST_TYPE = i32; -pub type IMAPI_MODE_PAGE_TYPE = i32; -pub type IMAPI_PROFILE_TYPE = i32; -pub type IMAPI_READ_TRACK_ADDRESS_TYPE = i32; -pub type IMMPID_CPV_ENUM = i32; -pub type IMMPID_MPV_ENUM = i32; -pub type IMMPID_MP_ENUM = i32; -pub type IMMPID_NMP_ENUM = i32; -pub type IMMPID_RPV_ENUM = i32; -pub type IMMPID_RP_ENUM = i32; -pub type MEDIA_FLAGS = i32; -pub type MEDIA_TYPES = i32; -pub type PlatformId = i32; -pub type RECORDER_TYPES = i32; -#[repr(C)] -pub struct IMMP_MPV_STORE_DRIVER_HANDLE { - pub guidSignature: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for IMMP_MPV_STORE_DRIVER_HANDLE {} -impl ::core::clone::Clone for IMMP_MPV_STORE_DRIVER_HANDLE { - fn clone(&self) -> Self { - *self - } -} -pub type LPMSGSESS = isize; -#[repr(C)] -pub struct SPropAttrArray { - pub cValues: u32, - pub aPropAttr: [u32; 1], -} -impl ::core::marker::Copy for SPropAttrArray {} -impl ::core::clone::Clone for SPropAttrArray { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct tagIMMPID_GUIDLIST_ITEM { - pub pguid: *const ::windows_sys::core::GUID, - pub dwStart: u32, - pub dwLast: u32, -} -impl ::core::marker::Copy for tagIMMPID_GUIDLIST_ITEM {} -impl ::core::clone::Clone for tagIMMPID_GUIDLIST_ITEM { - fn clone(&self) -> Self { - *self - } -} -#[doc = "Required features: `\"Win32_System_AddressBook\"`"] -#[cfg(feature = "Win32_System_AddressBook")] -pub type MSGCALLRELEASE = ::core::option::Option<unsafe extern "system" fn(ulcallerdata: u32, lpmessage: super::super::System::AddressBook::IMessage) -> ()>; diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/IndexServer/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/IndexServer/mod.rs deleted file mode 100644 index b93af1e..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Storage/IndexServer/mod.rs +++ /dev/null @@ -1,351 +0,0 @@ -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("query.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn BindIFilterFromStorage(pstg : super::super::System::Com::StructuredStorage:: IStorage, punkouter : ::windows_sys::core::IUnknown, ppiunk : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("query.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn BindIFilterFromStream(pstm : super::super::System::Com:: IStream, punkouter : ::windows_sys::core::IUnknown, ppiunk : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("query.dll" "system" fn LoadIFilter(pwcspath : ::windows_sys::core::PCWSTR, punkouter : ::windows_sys::core::IUnknown, ppiunk : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("query.dll" "system" fn LoadIFilterEx(pwcspath : ::windows_sys::core::PCWSTR, dwflags : u32, riid : *const ::windows_sys::core::GUID, ppiunk : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -pub type IFilter = *mut ::core::ffi::c_void; -pub type IPhraseSink = *mut ::core::ffi::c_void; -pub const CHUNK_EOC: CHUNK_BREAKTYPE = 4i32; -pub const CHUNK_EOP: CHUNK_BREAKTYPE = 3i32; -pub const CHUNK_EOS: CHUNK_BREAKTYPE = 2i32; -pub const CHUNK_EOW: CHUNK_BREAKTYPE = 1i32; -pub const CHUNK_FILTER_OWNED_VALUE: CHUNKSTATE = 4i32; -pub const CHUNK_NO_BREAK: CHUNK_BREAKTYPE = 0i32; -pub const CHUNK_TEXT: CHUNKSTATE = 1i32; -pub const CHUNK_VALUE: CHUNKSTATE = 2i32; -pub const CIADMIN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("::_nodocstore_::"); -pub const CICAT_ALL_OPENED: u32 = 32u32; -pub const CICAT_GET_STATE: u32 = 16u32; -pub const CICAT_NO_QUERY: u32 = 8u32; -pub const CICAT_READONLY: u32 = 2u32; -pub const CICAT_STOPPED: u32 = 1u32; -pub const CICAT_WRITABLE: u32 = 4u32; -pub const CINULLCATALOG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("::_noindex_::"); -pub const CI_PROVIDER_ALL: u32 = 4294967295u32; -pub const CI_PROVIDER_INDEXING_SERVICE: u32 = 2u32; -pub const CI_PROVIDER_MSSEARCH: u32 = 1u32; -pub const CI_STATE_ANNEALING_MERGE: u32 = 8u32; -pub const CI_STATE_BATTERY_POLICY: u32 = 262144u32; -pub const CI_STATE_BATTERY_POWER: u32 = 2048u32; -pub const CI_STATE_CONTENT_SCAN_REQUIRED: u32 = 4u32; -pub const CI_STATE_DELETION_MERGE: u32 = 32768u32; -pub const CI_STATE_HIGH_CPU: u32 = 131072u32; -pub const CI_STATE_HIGH_IO: u32 = 256u32; -pub const CI_STATE_INDEX_MIGRATION_MERGE: u32 = 64u32; -pub const CI_STATE_LOW_DISK: u32 = 65536u32; -pub const CI_STATE_LOW_MEMORY: u32 = 128u32; -pub const CI_STATE_MASTER_MERGE: u32 = 2u32; -pub const CI_STATE_MASTER_MERGE_PAUSED: u32 = 512u32; -pub const CI_STATE_READING_USNS: u32 = 16384u32; -pub const CI_STATE_READ_ONLY: u32 = 1024u32; -pub const CI_STATE_RECOVERING: u32 = 32u32; -pub const CI_STATE_SCANNING: u32 = 16u32; -pub const CI_STATE_SHADOW_MERGE: u32 = 1u32; -pub const CI_STATE_STARTING: u32 = 8192u32; -pub const CI_STATE_USER_ACTIVE: u32 = 4096u32; -pub const CI_VERSION_WDS30: u32 = 258u32; -pub const CI_VERSION_WDS40: u32 = 265u32; -pub const CI_VERSION_WIN70: u32 = 1792u32; -pub const CLSID_INDEX_SERVER_DSO: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf9ae8980_7e52_11d0_8964_00c04fd611d7); -pub const DBKIND_GUID: DBKINDENUM = 6i32; -pub const DBKIND_GUID_NAME: DBKINDENUM = 0i32; -pub const DBKIND_GUID_PROPID: DBKINDENUM = 1i32; -pub const DBKIND_NAME: DBKINDENUM = 2i32; -pub const DBKIND_PGUID_NAME: DBKINDENUM = 3i32; -pub const DBKIND_PGUID_PROPID: DBKINDENUM = 4i32; -pub const DBKIND_PROPID: DBKINDENUM = 5i32; -pub const DBPROPSET_CIFRMWRKCORE_EXT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xafafaca5_b5d1_11d0_8c62_00c04fc2db8d); -pub const DBPROPSET_FSCIFRMWRK_EXT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa9bd1526_6a80_11d0_8c9d_0020af1d740e); -pub const DBPROPSET_MSIDXS_ROWSETEXT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xaa6ee6b0_e828_11d0_b23e_00aa0047fc01); -pub const DBPROPSET_QUERYEXT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa7ac77ed_f8d7_11ce_a798_0020f8008025); -pub const DBPROPSET_SESS_QUERYEXT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x63623309_2d8b_4d17_b152_6e2956c26a70); -pub const DBPROP_APPLICATION_NAME: u32 = 11u32; -pub const DBPROP_CATALOGLISTID: u32 = 9u32; -pub const DBPROP_CI_CATALOG_NAME: u32 = 2u32; -pub const DBPROP_CI_DEPTHS: u32 = 4u32; -pub const DBPROP_CI_EXCLUDE_SCOPES: u32 = 5u32; -pub const DBPROP_CI_INCLUDE_SCOPES: u32 = 3u32; -pub const DBPROP_CI_PROVIDER: u32 = 8u32; -pub const DBPROP_CI_QUERY_TYPE: u32 = 7u32; -pub const DBPROP_CI_SCOPE_FLAGS: u32 = 4u32; -pub const DBPROP_CI_SECURITY_ID: u32 = 6u32; -pub const DBPROP_CLIENT_CLSID: u32 = 3u32; -pub const DBPROP_DEFAULT_EQUALS_BEHAVIOR: u32 = 2u32; -pub const DBPROP_DEFERCATALOGVERIFICATION: u32 = 8u32; -pub const DBPROP_DEFERNONINDEXEDTRIMMING: u32 = 3u32; -pub const DBPROP_DONOTCOMPUTEEXPENSIVEPROPS: u32 = 15u32; -pub const DBPROP_ENABLEROWSETEVENTS: u32 = 16u32; -pub const DBPROP_FIRSTROWS: u32 = 7u32; -pub const DBPROP_FREETEXTANYTERM: u32 = 12u32; -pub const DBPROP_FREETEXTUSESTEMMING: u32 = 13u32; -pub const DBPROP_GENERATEPARSETREE: u32 = 10u32; -pub const DBPROP_GENERICOPTIONS_STRING: u32 = 6u32; -pub const DBPROP_IGNORENOISEONLYCLAUSES: u32 = 5u32; -pub const DBPROP_IGNORESBRI: u32 = 14u32; -pub const DBPROP_MACHINE: u32 = 2u32; -pub const DBPROP_USECONTENTINDEX: u32 = 2u32; -pub const DBPROP_USEEXTENDEDDBTYPES: u32 = 4u32; -pub const DBSETFUNC_ALL: u32 = 1u32; -pub const DBSETFUNC_DISTINCT: u32 = 2u32; -pub const DBSETFUNC_NONE: u32 = 0u32; -pub const FILTER_E_ACCESS: ::windows_sys::core::HRESULT = -2147215613i32; -pub const FILTER_E_EMBEDDING_UNAVAILABLE: ::windows_sys::core::HRESULT = -2147215609i32; -pub const FILTER_E_END_OF_CHUNKS: ::windows_sys::core::HRESULT = -2147215616i32; -pub const FILTER_E_LINK_UNAVAILABLE: ::windows_sys::core::HRESULT = -2147215608i32; -pub const FILTER_E_NO_MORE_TEXT: ::windows_sys::core::HRESULT = -2147215615i32; -pub const FILTER_E_NO_MORE_VALUES: ::windows_sys::core::HRESULT = -2147215614i32; -pub const FILTER_E_NO_TEXT: ::windows_sys::core::HRESULT = -2147215611i32; -pub const FILTER_E_NO_VALUES: ::windows_sys::core::HRESULT = -2147215610i32; -pub const FILTER_E_PASSWORD: ::windows_sys::core::HRESULT = -2147215605i32; -pub const FILTER_E_UNKNOWNFORMAT: ::windows_sys::core::HRESULT = -2147215604i32; -pub const FILTER_S_LAST_TEXT: ::windows_sys::core::HRESULT = 268041i32; -pub const FILTER_S_LAST_VALUES: ::windows_sys::core::HRESULT = 268042i32; -pub const FILTER_W_MONIKER_CLIPPED: ::windows_sys::core::HRESULT = 268036i32; -pub const GENERATE_METHOD_EXACT: u32 = 0u32; -pub const GENERATE_METHOD_INFLECT: u32 = 2u32; -pub const GENERATE_METHOD_PREFIX: u32 = 1u32; -pub const IFILTER_FLAGS_OLE_PROPERTIES: IFILTER_FLAGS = 1i32; -pub const IFILTER_INIT_APPLY_CRAWL_ATTRIBUTES: IFILTER_INIT = 256i32; -pub const IFILTER_INIT_APPLY_INDEX_ATTRIBUTES: IFILTER_INIT = 16i32; -pub const IFILTER_INIT_APPLY_OTHER_ATTRIBUTES: IFILTER_INIT = 32i32; -pub const IFILTER_INIT_CANON_HYPHENS: IFILTER_INIT = 4i32; -pub const IFILTER_INIT_CANON_PARAGRAPHS: IFILTER_INIT = 1i32; -pub const IFILTER_INIT_CANON_SPACES: IFILTER_INIT = 8i32; -pub const IFILTER_INIT_DISABLE_EMBEDDED: IFILTER_INIT = 2048i32; -pub const IFILTER_INIT_EMIT_FORMATTING: IFILTER_INIT = 4096i32; -pub const IFILTER_INIT_FILTER_AGGRESSIVE_BREAK: IFILTER_INIT = 1024i32; -pub const IFILTER_INIT_FILTER_OWNED_VALUE_OK: IFILTER_INIT = 512i32; -pub const IFILTER_INIT_HARD_LINE_BREAKS: IFILTER_INIT = 2i32; -pub const IFILTER_INIT_INDEXING_ONLY: IFILTER_INIT = 64i32; -pub const IFILTER_INIT_SEARCH_LINKS: IFILTER_INIT = 128i32; -pub const LIFF_FORCE_TEXT_FILTER_FALLBACK: u32 = 3u32; -pub const LIFF_IMPLEMENT_TEXT_FILTER_FALLBACK_POLICY: u32 = 2u32; -pub const LIFF_LOAD_DEFINED_FILTER: u32 = 1u32; -pub const MSIDXSPROP_COMMAND_LOCALE_STRING: u32 = 3u32; -pub const MSIDXSPROP_MAX_RANK: u32 = 6u32; -pub const MSIDXSPROP_PARSE_TREE: u32 = 5u32; -pub const MSIDXSPROP_QUERY_RESTRICTION: u32 = 4u32; -pub const MSIDXSPROP_RESULTS_FOUND: u32 = 7u32; -pub const MSIDXSPROP_ROWSETQUERYSTATUS: u32 = 2u32; -pub const MSIDXSPROP_SAME_SORTORDER_USED: u32 = 14u32; -pub const MSIDXSPROP_SERVER_NLSVERSION: u32 = 12u32; -pub const MSIDXSPROP_SERVER_NLSVER_DEFINED: u32 = 13u32; -pub const MSIDXSPROP_SERVER_VERSION: u32 = 9u32; -pub const MSIDXSPROP_SERVER_WINVER_MAJOR: u32 = 10u32; -pub const MSIDXSPROP_SERVER_WINVER_MINOR: u32 = 11u32; -pub const MSIDXSPROP_WHEREID: u32 = 8u32; -pub const NOT_AN_ERROR: ::windows_sys::core::HRESULT = 524288i32; -pub const PID_FILENAME: u32 = 100u32; -pub const PROPID_QUERY_ALL: u32 = 6u32; -pub const PROPID_QUERY_HITCOUNT: u32 = 4u32; -pub const PROPID_QUERY_LASTSEENTIME: u32 = 10u32; -pub const PROPID_QUERY_RANK: u32 = 3u32; -pub const PROPID_QUERY_RANKVECTOR: u32 = 2u32; -pub const PROPID_QUERY_UNFILTERED: u32 = 7u32; -pub const PROPID_QUERY_VIRTUALPATH: u32 = 9u32; -pub const PROPID_QUERY_WORKID: u32 = 5u32; -pub const PROPID_STG_CONTENTS: u32 = 19u32; -pub const PROXIMITY_UNIT_CHAPTER: u32 = 3u32; -pub const PROXIMITY_UNIT_PARAGRAPH: u32 = 2u32; -pub const PROXIMITY_UNIT_SENTENCE: u32 = 1u32; -pub const PROXIMITY_UNIT_WORD: u32 = 0u32; -pub const PSGUID_FILENAME: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x41cf5ae0_f75a_4806_bd87_59c7d9248eb9); -pub const QUERY_DEEP: u32 = 1u32; -pub const QUERY_PHYSICAL_PATH: u32 = 0u32; -pub const QUERY_SHALLOW: u32 = 0u32; -pub const QUERY_VIRTUAL_PATH: u32 = 2u32; -pub const SCOPE_FLAG_DEEP: u32 = 2u32; -pub const SCOPE_FLAG_INCLUDE: u32 = 1u32; -pub const SCOPE_FLAG_MASK: u32 = 255u32; -pub const SCOPE_TYPE_MASK: u32 = 4294967040u32; -pub const SCOPE_TYPE_VPATH: u32 = 512u32; -pub const SCOPE_TYPE_WINPATH: u32 = 256u32; -pub const STAT_BUSY: u32 = 0u32; -pub const STAT_COALESCE_COMP_ALL_NOISE: u32 = 8192u32; -pub const STAT_CONTENT_OUT_OF_DATE: u32 = 32u32; -pub const STAT_CONTENT_QUERY_INCOMPLETE: u32 = 128u32; -pub const STAT_DONE: u32 = 2u32; -pub const STAT_ERROR: u32 = 1u32; -pub const STAT_MISSING_PROP_IN_RELDOC: u32 = 2048u32; -pub const STAT_MISSING_RELDOC: u32 = 1024u32; -pub const STAT_NOISE_WORDS: u32 = 16u32; -pub const STAT_PARTIAL_SCOPE: u32 = 8u32; -pub const STAT_REFRESH: u32 = 3u32; -pub const STAT_REFRESH_INCOMPLETE: u32 = 64u32; -pub const STAT_RELDOC_ACCESS_DENIED: u32 = 4096u32; -pub const STAT_SHARING_VIOLATION: u32 = 512u32; -pub const STAT_TIME_LIMIT_EXCEEDED: u32 = 256u32; -pub const VECTOR_RANK_DICE: u32 = 3u32; -pub const VECTOR_RANK_INNER: u32 = 2u32; -pub const VECTOR_RANK_JACCARD: u32 = 4u32; -pub const VECTOR_RANK_MAX: u32 = 1u32; -pub const VECTOR_RANK_MIN: u32 = 0u32; -pub const WORDREP_BREAK_EOC: WORDREP_BREAK_TYPE = 3i32; -pub const WORDREP_BREAK_EOP: WORDREP_BREAK_TYPE = 2i32; -pub const WORDREP_BREAK_EOS: WORDREP_BREAK_TYPE = 1i32; -pub const WORDREP_BREAK_EOW: WORDREP_BREAK_TYPE = 0i32; -pub type CHUNKSTATE = i32; -pub type CHUNK_BREAKTYPE = i32; -pub type DBKINDENUM = i32; -pub type IFILTER_FLAGS = i32; -pub type IFILTER_INIT = i32; -pub type WORDREP_BREAK_TYPE = i32; -#[repr(C)] -pub struct CI_STATE { - pub cbStruct: u32, - pub cWordList: u32, - pub cPersistentIndex: u32, - pub cQueries: u32, - pub cDocuments: u32, - pub cFreshTest: u32, - pub dwMergeProgress: u32, - pub eState: u32, - pub cFilteredDocuments: u32, - pub cTotalDocuments: u32, - pub cPendingScans: u32, - pub dwIndexSize: u32, - pub cUniqueKeys: u32, - pub cSecQDocuments: u32, - pub dwPropCacheSize: u32, -} -impl ::core::marker::Copy for CI_STATE {} -impl ::core::clone::Clone for CI_STATE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct DBID { - pub uGuid: DBID_0, - pub eKind: u32, - pub uName: DBID_1, -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for DBID {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for DBID { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub union DBID_0 { - pub guid: ::windows_sys::core::GUID, - pub pguid: *mut ::windows_sys::core::GUID, -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for DBID_0 {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for DBID_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub union DBID_1 { - pub pwszName: ::windows_sys::core::PWSTR, - pub ulPropid: u32, -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for DBID_1 {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for DBID_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(2))] -#[cfg(target_arch = "x86")] -pub struct DBID { - pub uGuid: DBID_0, - pub eKind: u32, - pub uName: DBID_1, -} -#[cfg(target_arch = "x86")] -impl ::core::marker::Copy for DBID {} -#[cfg(target_arch = "x86")] -impl ::core::clone::Clone for DBID { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(2))] -#[cfg(target_arch = "x86")] -pub union DBID_0 { - pub guid: ::windows_sys::core::GUID, - pub pguid: *mut ::windows_sys::core::GUID, -} -#[cfg(target_arch = "x86")] -impl ::core::marker::Copy for DBID_0 {} -#[cfg(target_arch = "x86")] -impl ::core::clone::Clone for DBID_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(2))] -#[cfg(target_arch = "x86")] -pub union DBID_1 { - pub pwszName: ::windows_sys::core::PWSTR, - pub ulPropid: u32, -} -#[cfg(target_arch = "x86")] -impl ::core::marker::Copy for DBID_1 {} -#[cfg(target_arch = "x86")] -impl ::core::clone::Clone for DBID_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILTERREGION { - pub idChunk: u32, - pub cwcStart: u32, - pub cwcExtent: u32, -} -impl ::core::marker::Copy for FILTERREGION {} -impl ::core::clone::Clone for FILTERREGION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -pub struct FULLPROPSPEC { - pub guidPropSet: ::windows_sys::core::GUID, - pub psProperty: super::super::System::Com::StructuredStorage::PROPSPEC, -} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::marker::Copy for FULLPROPSPEC {} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::clone::Clone for FULLPROPSPEC { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -pub struct STAT_CHUNK { - pub idChunk: u32, - pub breakType: CHUNK_BREAKTYPE, - pub flags: CHUNKSTATE, - pub locale: u32, - pub attribute: FULLPROPSPEC, - pub idChunkSource: u32, - pub cwcStartSource: u32, - pub cwcLenSource: u32, -} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::marker::Copy for STAT_CHUNK {} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::clone::Clone for STAT_CHUNK { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/InstallableFileSystems/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/InstallableFileSystems/mod.rs deleted file mode 100644 index 74dc97e..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Storage/InstallableFileSystems/mod.rs +++ /dev/null @@ -1,449 +0,0 @@ -::windows_targets::link!("fltlib.dll" "system" fn FilterAttach(lpfiltername : ::windows_sys::core::PCWSTR, lpvolumename : ::windows_sys::core::PCWSTR, lpinstancename : ::windows_sys::core::PCWSTR, dwcreatedinstancenamelength : u32, lpcreatedinstancename : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("fltlib.dll" "system" fn FilterAttachAtAltitude(lpfiltername : ::windows_sys::core::PCWSTR, lpvolumename : ::windows_sys::core::PCWSTR, lpaltitude : ::windows_sys::core::PCWSTR, lpinstancename : ::windows_sys::core::PCWSTR, dwcreatedinstancenamelength : u32, lpcreatedinstancename : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("fltlib.dll" "system" fn FilterClose(hfilter : HFILTER) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("fltlib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FilterConnectCommunicationPort(lpportname : ::windows_sys::core::PCWSTR, dwoptions : u32, lpcontext : *const ::core::ffi::c_void, wsizeofcontext : u16, lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, hport : *mut super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("fltlib.dll" "system" fn FilterCreate(lpfiltername : ::windows_sys::core::PCWSTR, hfilter : *mut HFILTER) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("fltlib.dll" "system" fn FilterDetach(lpfiltername : ::windows_sys::core::PCWSTR, lpvolumename : ::windows_sys::core::PCWSTR, lpinstancename : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("fltlib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FilterFindClose(hfilterfind : super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("fltlib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FilterFindFirst(dwinformationclass : FILTER_INFORMATION_CLASS, lpbuffer : *mut ::core::ffi::c_void, dwbuffersize : u32, lpbytesreturned : *mut u32, lpfilterfind : *mut super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("fltlib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FilterFindNext(hfilterfind : super::super::Foundation:: HANDLE, dwinformationclass : FILTER_INFORMATION_CLASS, lpbuffer : *mut ::core::ffi::c_void, dwbuffersize : u32, lpbytesreturned : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("fltlib.dll" "system" fn FilterGetDosName(lpvolumename : ::windows_sys::core::PCWSTR, lpdosname : ::windows_sys::core::PWSTR, dwdosnamebuffersize : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("fltlib.dll" "system" fn FilterGetInformation(hfilter : HFILTER, dwinformationclass : FILTER_INFORMATION_CLASS, lpbuffer : *mut ::core::ffi::c_void, dwbuffersize : u32, lpbytesreturned : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("fltlib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn FilterGetMessage(hport : super::super::Foundation:: HANDLE, lpmessagebuffer : *mut FILTER_MESSAGE_HEADER, dwmessagebuffersize : u32, lpoverlapped : *mut super::super::System::IO:: OVERLAPPED) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("fltlib.dll" "system" fn FilterInstanceClose(hinstance : HFILTER_INSTANCE) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("fltlib.dll" "system" fn FilterInstanceCreate(lpfiltername : ::windows_sys::core::PCWSTR, lpvolumename : ::windows_sys::core::PCWSTR, lpinstancename : ::windows_sys::core::PCWSTR, hinstance : *mut HFILTER_INSTANCE) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("fltlib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FilterInstanceFindClose(hfilterinstancefind : super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("fltlib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FilterInstanceFindFirst(lpfiltername : ::windows_sys::core::PCWSTR, dwinformationclass : INSTANCE_INFORMATION_CLASS, lpbuffer : *mut ::core::ffi::c_void, dwbuffersize : u32, lpbytesreturned : *mut u32, lpfilterinstancefind : *mut super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("fltlib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FilterInstanceFindNext(hfilterinstancefind : super::super::Foundation:: HANDLE, dwinformationclass : INSTANCE_INFORMATION_CLASS, lpbuffer : *mut ::core::ffi::c_void, dwbuffersize : u32, lpbytesreturned : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("fltlib.dll" "system" fn FilterInstanceGetInformation(hinstance : HFILTER_INSTANCE, dwinformationclass : INSTANCE_INFORMATION_CLASS, lpbuffer : *mut ::core::ffi::c_void, dwbuffersize : u32, lpbytesreturned : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("fltlib.dll" "system" fn FilterLoad(lpfiltername : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("fltlib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FilterReplyMessage(hport : super::super::Foundation:: HANDLE, lpreplybuffer : *const FILTER_REPLY_HEADER, dwreplybuffersize : u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("fltlib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FilterSendMessage(hport : super::super::Foundation:: HANDLE, lpinbuffer : *const ::core::ffi::c_void, dwinbuffersize : u32, lpoutbuffer : *mut ::core::ffi::c_void, dwoutbuffersize : u32, lpbytesreturned : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("fltlib.dll" "system" fn FilterUnload(lpfiltername : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("fltlib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FilterVolumeFindClose(hvolumefind : super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("fltlib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FilterVolumeFindFirst(dwinformationclass : FILTER_VOLUME_INFORMATION_CLASS, lpbuffer : *mut ::core::ffi::c_void, dwbuffersize : u32, lpbytesreturned : *mut u32, lpvolumefind : *mut super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("fltlib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FilterVolumeFindNext(hvolumefind : super::super::Foundation:: HANDLE, dwinformationclass : FILTER_VOLUME_INFORMATION_CLASS, lpbuffer : *mut ::core::ffi::c_void, dwbuffersize : u32, lpbytesreturned : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("fltlib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FilterVolumeInstanceFindClose(hvolumeinstancefind : super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("fltlib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FilterVolumeInstanceFindFirst(lpvolumename : ::windows_sys::core::PCWSTR, dwinformationclass : INSTANCE_INFORMATION_CLASS, lpbuffer : *mut ::core::ffi::c_void, dwbuffersize : u32, lpbytesreturned : *mut u32, lpvolumeinstancefind : *mut super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("fltlib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FilterVolumeInstanceFindNext(hvolumeinstancefind : super::super::Foundation:: HANDLE, dwinformationclass : INSTANCE_INFORMATION_CLASS, lpbuffer : *mut ::core::ffi::c_void, dwbuffersize : u32, lpbytesreturned : *mut u32) -> ::windows_sys::core::HRESULT); -pub const FILTER_NAME_MAX_CHARS: u32 = 255u32; -pub const FLTFL_AGGREGATE_INFO_IS_LEGACYFILTER: u32 = 2u32; -pub const FLTFL_AGGREGATE_INFO_IS_MINIFILTER: u32 = 1u32; -pub const FLTFL_ASI_IS_LEGACYFILTER: u32 = 2u32; -pub const FLTFL_ASI_IS_MINIFILTER: u32 = 1u32; -pub const FLTFL_IASIL_DETACHED_VOLUME: u32 = 1u32; -pub const FLTFL_IASIM_DETACHED_VOLUME: u32 = 1u32; -pub const FLTFL_IASI_IS_LEGACYFILTER: u32 = 2u32; -pub const FLTFL_IASI_IS_MINIFILTER: u32 = 1u32; -pub const FLTFL_VSI_DETACHED_VOLUME: u32 = 1u32; -pub const FLT_FSTYPE_BSUDF: FLT_FILESYSTEM_TYPE = 12i32; -pub const FLT_FSTYPE_CDFS: FLT_FILESYSTEM_TYPE = 4i32; -pub const FLT_FSTYPE_CIMFS: FLT_FILESYSTEM_TYPE = 30i32; -pub const FLT_FSTYPE_CSVFS: FLT_FILESYSTEM_TYPE = 27i32; -pub const FLT_FSTYPE_EXFAT: FLT_FILESYSTEM_TYPE = 22i32; -pub const FLT_FSTYPE_FAT: FLT_FILESYSTEM_TYPE = 3i32; -pub const FLT_FSTYPE_FS_REC: FLT_FILESYSTEM_TYPE = 19i32; -pub const FLT_FSTYPE_GPFS: FLT_FILESYSTEM_TYPE = 24i32; -pub const FLT_FSTYPE_INCD: FLT_FILESYSTEM_TYPE = 20i32; -pub const FLT_FSTYPE_INCD_FAT: FLT_FILESYSTEM_TYPE = 21i32; -pub const FLT_FSTYPE_LANMAN: FLT_FILESYSTEM_TYPE = 6i32; -pub const FLT_FSTYPE_MSFS: FLT_FILESYSTEM_TYPE = 26i32; -pub const FLT_FSTYPE_MS_NETWARE: FLT_FILESYSTEM_TYPE = 10i32; -pub const FLT_FSTYPE_MUP: FLT_FILESYSTEM_TYPE = 13i32; -pub const FLT_FSTYPE_NETWARE: FLT_FILESYSTEM_TYPE = 11i32; -pub const FLT_FSTYPE_NFS: FLT_FILESYSTEM_TYPE = 9i32; -pub const FLT_FSTYPE_NPFS: FLT_FILESYSTEM_TYPE = 25i32; -pub const FLT_FSTYPE_NTFS: FLT_FILESYSTEM_TYPE = 2i32; -pub const FLT_FSTYPE_OPENAFS: FLT_FILESYSTEM_TYPE = 29i32; -pub const FLT_FSTYPE_PSFS: FLT_FILESYSTEM_TYPE = 23i32; -pub const FLT_FSTYPE_RAW: FLT_FILESYSTEM_TYPE = 1i32; -pub const FLT_FSTYPE_RDPDR: FLT_FILESYSTEM_TYPE = 8i32; -pub const FLT_FSTYPE_REFS: FLT_FILESYSTEM_TYPE = 28i32; -pub const FLT_FSTYPE_ROXIO_UDF1: FLT_FILESYSTEM_TYPE = 15i32; -pub const FLT_FSTYPE_ROXIO_UDF2: FLT_FILESYSTEM_TYPE = 16i32; -pub const FLT_FSTYPE_ROXIO_UDF3: FLT_FILESYSTEM_TYPE = 17i32; -pub const FLT_FSTYPE_RSFX: FLT_FILESYSTEM_TYPE = 14i32; -pub const FLT_FSTYPE_TACIT: FLT_FILESYSTEM_TYPE = 18i32; -pub const FLT_FSTYPE_UDFS: FLT_FILESYSTEM_TYPE = 5i32; -pub const FLT_FSTYPE_UNKNOWN: FLT_FILESYSTEM_TYPE = 0i32; -pub const FLT_FSTYPE_WEBDAV: FLT_FILESYSTEM_TYPE = 7i32; -pub const FLT_PORT_FLAG_SYNC_HANDLE: u32 = 1u32; -pub const FilterAggregateBasicInformation: FILTER_INFORMATION_CLASS = 1i32; -pub const FilterAggregateStandardInformation: FILTER_INFORMATION_CLASS = 2i32; -pub const FilterFullInformation: FILTER_INFORMATION_CLASS = 0i32; -pub const FilterVolumeBasicInformation: FILTER_VOLUME_INFORMATION_CLASS = 0i32; -pub const FilterVolumeStandardInformation: FILTER_VOLUME_INFORMATION_CLASS = 1i32; -pub const INSTANCE_NAME_MAX_CHARS: u32 = 255u32; -pub const InstanceAggregateStandardInformation: INSTANCE_INFORMATION_CLASS = 3i32; -pub const InstanceBasicInformation: INSTANCE_INFORMATION_CLASS = 0i32; -pub const InstanceFullInformation: INSTANCE_INFORMATION_CLASS = 2i32; -pub const InstancePartialInformation: INSTANCE_INFORMATION_CLASS = 1i32; -pub const VOLUME_NAME_MAX_CHARS: u32 = 1024u32; -pub const WNNC_CRED_MANAGER: u32 = 4294901760u32; -pub const WNNC_NET_10NET: u32 = 327680u32; -pub const WNNC_NET_3IN1: u32 = 2555904u32; -pub const WNNC_NET_9P: u32 = 4718592u32; -pub const WNNC_NET_9TILES: u32 = 589824u32; -pub const WNNC_NET_APPLETALK: u32 = 1245184u32; -pub const WNNC_NET_AS400: u32 = 720896u32; -pub const WNNC_NET_AURISTOR_FS: u32 = 4587520u32; -pub const WNNC_NET_AVID: u32 = 1703936u32; -pub const WNNC_NET_AVID1: u32 = 3801088u32; -pub const WNNC_NET_BMC: u32 = 1572864u32; -pub const WNNC_NET_BWNFS: u32 = 1048576u32; -pub const WNNC_NET_CLEARCASE: u32 = 1441792u32; -pub const WNNC_NET_COGENT: u32 = 1114112u32; -pub const WNNC_NET_CSC: u32 = 2490368u32; -pub const WNNC_NET_DAV: u32 = 3014656u32; -pub const WNNC_NET_DCE: u32 = 1638400u32; -pub const WNNC_NET_DECORB: u32 = 2097152u32; -pub const WNNC_NET_DFS: u32 = 3866624u32; -pub const WNNC_NET_DISTINCT: u32 = 2293760u32; -pub const WNNC_NET_DOCUSHARE: u32 = 4521984u32; -pub const WNNC_NET_DOCUSPACE: u32 = 1769472u32; -pub const WNNC_NET_DRIVEONWEB: u32 = 4063232u32; -pub const WNNC_NET_EXIFS: u32 = 2949120u32; -pub const WNNC_NET_EXTENDNET: u32 = 2686976u32; -pub const WNNC_NET_FARALLON: u32 = 1179648u32; -pub const WNNC_NET_FJ_REDIR: u32 = 2228224u32; -pub const WNNC_NET_FOXBAT: u32 = 2818048u32; -pub const WNNC_NET_FRONTIER: u32 = 1507328u32; -pub const WNNC_NET_FTP_NFS: u32 = 786432u32; -pub const WNNC_NET_GOOGLE: u32 = 4390912u32; -pub const WNNC_NET_HOB_NFS: u32 = 3276800u32; -pub const WNNC_NET_IBMAL: u32 = 3407872u32; -pub const WNNC_NET_INTERGRAPH: u32 = 1310720u32; -pub const WNNC_NET_KNOWARE: u32 = 3080192u32; -pub const WNNC_NET_KWNP: u32 = 3932160u32; -pub const WNNC_NET_LANMAN: u32 = 131072u32; -pub const WNNC_NET_LANSTEP: u32 = 524288u32; -pub const WNNC_NET_LANTASTIC: u32 = 655360u32; -pub const WNNC_NET_LIFENET: u32 = 917504u32; -pub const WNNC_NET_LOCK: u32 = 3473408u32; -pub const WNNC_NET_LOCUS: u32 = 393216u32; -pub const WNNC_NET_MANGOSOFT: u32 = 1835008u32; -pub const WNNC_NET_MASFAX: u32 = 3211264u32; -pub const WNNC_NET_MFILES: u32 = 4259840u32; -pub const WNNC_NET_MSNET: u32 = 65536u32; -pub const WNNC_NET_MS_NFS: u32 = 4325376u32; -pub const WNNC_NET_NDFS: u32 = 4456448u32; -pub const WNNC_NET_NETWARE: u32 = 196608u32; -pub const WNNC_NET_OBJECT_DIRE: u32 = 3145728u32; -pub const WNNC_NET_OPENAFS: u32 = 3735552u32; -pub const WNNC_NET_PATHWORKS: u32 = 851968u32; -pub const WNNC_NET_POWERLAN: u32 = 983040u32; -pub const WNNC_NET_PROTSTOR: u32 = 2162688u32; -pub const WNNC_NET_QUINCY: u32 = 3670016u32; -pub const WNNC_NET_RDR2SAMPLE: u32 = 2424832u32; -pub const WNNC_NET_RIVERFRONT1: u32 = 1966080u32; -pub const WNNC_NET_RIVERFRONT2: u32 = 2031616u32; -pub const WNNC_NET_RSFX: u32 = 4194304u32; -pub const WNNC_NET_SECUREAGENT: u32 = 4653056u32; -pub const WNNC_NET_SERNET: u32 = 1900544u32; -pub const WNNC_NET_SHIVA: u32 = 3342336u32; -pub const WNNC_NET_SMB: u32 = 131072u32; -pub const WNNC_NET_SRT: u32 = 3604480u32; -pub const WNNC_NET_STAC: u32 = 2752512u32; -pub const WNNC_NET_SUN_PC_NFS: u32 = 458752u32; -pub const WNNC_NET_SYMFONET: u32 = 1376256u32; -pub const WNNC_NET_TERMSRV: u32 = 3538944u32; -pub const WNNC_NET_TWINS: u32 = 2359296u32; -pub const WNNC_NET_VINES: u32 = 262144u32; -pub const WNNC_NET_VMWARE: u32 = 4128768u32; -pub const WNNC_NET_YAHOO: u32 = 2883584u32; -pub const WNNC_NET_ZENWORKS: u32 = 3997696u32; -pub type FILTER_INFORMATION_CLASS = i32; -pub type FILTER_VOLUME_INFORMATION_CLASS = i32; -pub type FLT_FILESYSTEM_TYPE = i32; -pub type INSTANCE_INFORMATION_CLASS = i32; -#[repr(C)] -pub struct FILTER_AGGREGATE_BASIC_INFORMATION { - pub NextEntryOffset: u32, - pub Flags: u32, - pub Type: FILTER_AGGREGATE_BASIC_INFORMATION_0, -} -impl ::core::marker::Copy for FILTER_AGGREGATE_BASIC_INFORMATION {} -impl ::core::clone::Clone for FILTER_AGGREGATE_BASIC_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union FILTER_AGGREGATE_BASIC_INFORMATION_0 { - pub MiniFilter: FILTER_AGGREGATE_BASIC_INFORMATION_0_1, - pub LegacyFilter: FILTER_AGGREGATE_BASIC_INFORMATION_0_0, -} -impl ::core::marker::Copy for FILTER_AGGREGATE_BASIC_INFORMATION_0 {} -impl ::core::clone::Clone for FILTER_AGGREGATE_BASIC_INFORMATION_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILTER_AGGREGATE_BASIC_INFORMATION_0_0 { - pub FilterNameLength: u16, - pub FilterNameBufferOffset: u16, -} -impl ::core::marker::Copy for FILTER_AGGREGATE_BASIC_INFORMATION_0_0 {} -impl ::core::clone::Clone for FILTER_AGGREGATE_BASIC_INFORMATION_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILTER_AGGREGATE_BASIC_INFORMATION_0_1 { - pub FrameID: u32, - pub NumberOfInstances: u32, - pub FilterNameLength: u16, - pub FilterNameBufferOffset: u16, - pub FilterAltitudeLength: u16, - pub FilterAltitudeBufferOffset: u16, -} -impl ::core::marker::Copy for FILTER_AGGREGATE_BASIC_INFORMATION_0_1 {} -impl ::core::clone::Clone for FILTER_AGGREGATE_BASIC_INFORMATION_0_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILTER_AGGREGATE_STANDARD_INFORMATION { - pub NextEntryOffset: u32, - pub Flags: u32, - pub Type: FILTER_AGGREGATE_STANDARD_INFORMATION_0, -} -impl ::core::marker::Copy for FILTER_AGGREGATE_STANDARD_INFORMATION {} -impl ::core::clone::Clone for FILTER_AGGREGATE_STANDARD_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union FILTER_AGGREGATE_STANDARD_INFORMATION_0 { - pub MiniFilter: FILTER_AGGREGATE_STANDARD_INFORMATION_0_1, - pub LegacyFilter: FILTER_AGGREGATE_STANDARD_INFORMATION_0_0, -} -impl ::core::marker::Copy for FILTER_AGGREGATE_STANDARD_INFORMATION_0 {} -impl ::core::clone::Clone for FILTER_AGGREGATE_STANDARD_INFORMATION_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILTER_AGGREGATE_STANDARD_INFORMATION_0_0 { - pub Flags: u32, - pub FilterNameLength: u16, - pub FilterNameBufferOffset: u16, - pub FilterAltitudeLength: u16, - pub FilterAltitudeBufferOffset: u16, -} -impl ::core::marker::Copy for FILTER_AGGREGATE_STANDARD_INFORMATION_0_0 {} -impl ::core::clone::Clone for FILTER_AGGREGATE_STANDARD_INFORMATION_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILTER_AGGREGATE_STANDARD_INFORMATION_0_1 { - pub Flags: u32, - pub FrameID: u32, - pub NumberOfInstances: u32, - pub FilterNameLength: u16, - pub FilterNameBufferOffset: u16, - pub FilterAltitudeLength: u16, - pub FilterAltitudeBufferOffset: u16, -} -impl ::core::marker::Copy for FILTER_AGGREGATE_STANDARD_INFORMATION_0_1 {} -impl ::core::clone::Clone for FILTER_AGGREGATE_STANDARD_INFORMATION_0_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILTER_FULL_INFORMATION { - pub NextEntryOffset: u32, - pub FrameID: u32, - pub NumberOfInstances: u32, - pub FilterNameLength: u16, - pub FilterNameBuffer: [u16; 1], -} -impl ::core::marker::Copy for FILTER_FULL_INFORMATION {} -impl ::core::clone::Clone for FILTER_FULL_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILTER_MESSAGE_HEADER { - pub ReplyLength: u32, - pub MessageId: u64, -} -impl ::core::marker::Copy for FILTER_MESSAGE_HEADER {} -impl ::core::clone::Clone for FILTER_MESSAGE_HEADER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct FILTER_REPLY_HEADER { - pub Status: super::super::Foundation::NTSTATUS, - pub MessageId: u64, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for FILTER_REPLY_HEADER {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for FILTER_REPLY_HEADER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILTER_VOLUME_BASIC_INFORMATION { - pub FilterVolumeNameLength: u16, - pub FilterVolumeName: [u16; 1], -} -impl ::core::marker::Copy for FILTER_VOLUME_BASIC_INFORMATION {} -impl ::core::clone::Clone for FILTER_VOLUME_BASIC_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FILTER_VOLUME_STANDARD_INFORMATION { - pub NextEntryOffset: u32, - pub Flags: u32, - pub FrameID: u32, - pub FileSystemType: FLT_FILESYSTEM_TYPE, - pub FilterVolumeNameLength: u16, - pub FilterVolumeName: [u16; 1], -} -impl ::core::marker::Copy for FILTER_VOLUME_STANDARD_INFORMATION {} -impl ::core::clone::Clone for FILTER_VOLUME_STANDARD_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -pub type HFILTER = isize; -pub type HFILTER_INSTANCE = isize; -#[repr(C)] -pub struct INSTANCE_AGGREGATE_STANDARD_INFORMATION { - pub NextEntryOffset: u32, - pub Flags: u32, - pub Type: INSTANCE_AGGREGATE_STANDARD_INFORMATION_0, -} -impl ::core::marker::Copy for INSTANCE_AGGREGATE_STANDARD_INFORMATION {} -impl ::core::clone::Clone for INSTANCE_AGGREGATE_STANDARD_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union INSTANCE_AGGREGATE_STANDARD_INFORMATION_0 { - pub MiniFilter: INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_1, - pub LegacyFilter: INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_0, -} -impl ::core::marker::Copy for INSTANCE_AGGREGATE_STANDARD_INFORMATION_0 {} -impl ::core::clone::Clone for INSTANCE_AGGREGATE_STANDARD_INFORMATION_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_0 { - pub Flags: u32, - pub AltitudeLength: u16, - pub AltitudeBufferOffset: u16, - pub VolumeNameLength: u16, - pub VolumeNameBufferOffset: u16, - pub FilterNameLength: u16, - pub FilterNameBufferOffset: u16, - pub SupportedFeatures: u32, -} -impl ::core::marker::Copy for INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_0 {} -impl ::core::clone::Clone for INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_1 { - pub Flags: u32, - pub FrameID: u32, - pub VolumeFileSystemType: FLT_FILESYSTEM_TYPE, - pub InstanceNameLength: u16, - pub InstanceNameBufferOffset: u16, - pub AltitudeLength: u16, - pub AltitudeBufferOffset: u16, - pub VolumeNameLength: u16, - pub VolumeNameBufferOffset: u16, - pub FilterNameLength: u16, - pub FilterNameBufferOffset: u16, - pub SupportedFeatures: u32, -} -impl ::core::marker::Copy for INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_1 {} -impl ::core::clone::Clone for INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct INSTANCE_BASIC_INFORMATION { - pub NextEntryOffset: u32, - pub InstanceNameLength: u16, - pub InstanceNameBufferOffset: u16, -} -impl ::core::marker::Copy for INSTANCE_BASIC_INFORMATION {} -impl ::core::clone::Clone for INSTANCE_BASIC_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct INSTANCE_FULL_INFORMATION { - pub NextEntryOffset: u32, - pub InstanceNameLength: u16, - pub InstanceNameBufferOffset: u16, - pub AltitudeLength: u16, - pub AltitudeBufferOffset: u16, - pub VolumeNameLength: u16, - pub VolumeNameBufferOffset: u16, - pub FilterNameLength: u16, - pub FilterNameBufferOffset: u16, -} -impl ::core::marker::Copy for INSTANCE_FULL_INFORMATION {} -impl ::core::clone::Clone for INSTANCE_FULL_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct INSTANCE_PARTIAL_INFORMATION { - pub NextEntryOffset: u32, - pub InstanceNameLength: u16, - pub InstanceNameBufferOffset: u16, - pub AltitudeLength: u16, - pub AltitudeBufferOffset: u16, -} -impl ::core::marker::Copy for INSTANCE_PARTIAL_INFORMATION {} -impl ::core::clone::Clone for INSTANCE_PARTIAL_INFORMATION { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/IscsiDisc/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/IscsiDisc/mod.rs deleted file mode 100644 index 194b735..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Storage/IscsiDisc/mod.rs +++ /dev/null @@ -1,1840 +0,0 @@ -::windows_targets::link!("iscsidsc.dll" "system" fn AddISNSServerA(address : ::windows_sys::core::PCSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn AddISNSServerW(address : ::windows_sys::core::PCWSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn AddIScsiConnectionA(uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID, reserved : *mut ::core::ffi::c_void, initiatorportnumber : u32, targetportal : *mut ISCSI_TARGET_PORTALA, securityflags : u64, loginoptions : *mut ISCSI_LOGIN_OPTIONS, keysize : u32, key : ::windows_sys::core::PCSTR, connectionid : *mut ISCSI_UNIQUE_SESSION_ID) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn AddIScsiConnectionW(uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID, reserved : *mut ::core::ffi::c_void, initiatorportnumber : u32, targetportal : *mut ISCSI_TARGET_PORTALW, securityflags : u64, loginoptions : *mut ISCSI_LOGIN_OPTIONS, keysize : u32, key : ::windows_sys::core::PCSTR, connectionid : *mut ISCSI_UNIQUE_SESSION_ID) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn AddIScsiSendTargetPortalA(initiatorinstance : ::windows_sys::core::PCSTR, initiatorportnumber : u32, loginoptions : *mut ISCSI_LOGIN_OPTIONS, securityflags : u64, portal : *mut ISCSI_TARGET_PORTALA) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn AddIScsiSendTargetPortalW(initiatorinstance : ::windows_sys::core::PCWSTR, initiatorportnumber : u32, loginoptions : *mut ISCSI_LOGIN_OPTIONS, securityflags : u64, portal : *mut ISCSI_TARGET_PORTALW) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("iscsidsc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddIScsiStaticTargetA(targetname : ::windows_sys::core::PCSTR, targetalias : ::windows_sys::core::PCSTR, targetflags : u32, persist : super::super::Foundation:: BOOLEAN, mappings : *mut ISCSI_TARGET_MAPPINGA, loginoptions : *mut ISCSI_LOGIN_OPTIONS, portalgroup : *mut ISCSI_TARGET_PORTAL_GROUPA) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("iscsidsc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddIScsiStaticTargetW(targetname : ::windows_sys::core::PCWSTR, targetalias : ::windows_sys::core::PCWSTR, targetflags : u32, persist : super::super::Foundation:: BOOLEAN, mappings : *mut ISCSI_TARGET_MAPPINGW, loginoptions : *mut ISCSI_LOGIN_OPTIONS, portalgroup : *mut ISCSI_TARGET_PORTAL_GROUPW) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn AddPersistentIScsiDeviceA(devicepath : ::windows_sys::core::PCSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn AddPersistentIScsiDeviceW(devicepath : ::windows_sys::core::PCWSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn AddRadiusServerA(address : ::windows_sys::core::PCSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn AddRadiusServerW(address : ::windows_sys::core::PCWSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn ClearPersistentIScsiDevices() -> u32); -#[cfg(feature = "Win32_System_Ioctl")] -::windows_targets::link!("iscsidsc.dll" "system" #[doc = "Required features: `\"Win32_System_Ioctl\"`"] fn GetDevicesForIScsiSessionA(uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID, devicecount : *mut u32, devices : *mut ISCSI_DEVICE_ON_SESSIONA) -> u32); -#[cfg(feature = "Win32_System_Ioctl")] -::windows_targets::link!("iscsidsc.dll" "system" #[doc = "Required features: `\"Win32_System_Ioctl\"`"] fn GetDevicesForIScsiSessionW(uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID, devicecount : *mut u32, devices : *mut ISCSI_DEVICE_ON_SESSIONW) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn GetIScsiIKEInfoA(initiatorname : ::windows_sys::core::PCSTR, initiatorportnumber : u32, reserved : *mut u32, authinfo : *mut IKE_AUTHENTICATION_INFORMATION) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn GetIScsiIKEInfoW(initiatorname : ::windows_sys::core::PCWSTR, initiatorportnumber : u32, reserved : *mut u32, authinfo : *mut IKE_AUTHENTICATION_INFORMATION) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn GetIScsiInitiatorNodeNameA(initiatornodename : ::windows_sys::core::PSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn GetIScsiInitiatorNodeNameW(initiatornodename : ::windows_sys::core::PWSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn GetIScsiSessionListA(buffersize : *mut u32, sessioncount : *mut u32, sessioninfo : *mut ISCSI_SESSION_INFOA) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("iscsidsc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetIScsiSessionListEx(buffersize : *mut u32, sessioncountptr : *mut u32, sessioninfo : *mut ISCSI_SESSION_INFO_EX) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn GetIScsiSessionListW(buffersize : *mut u32, sessioncount : *mut u32, sessioninfo : *mut ISCSI_SESSION_INFOW) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn GetIScsiTargetInformationA(targetname : ::windows_sys::core::PCSTR, discoverymechanism : ::windows_sys::core::PCSTR, infoclass : TARGET_INFORMATION_CLASS, buffersize : *mut u32, buffer : *mut ::core::ffi::c_void) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn GetIScsiTargetInformationW(targetname : ::windows_sys::core::PCWSTR, discoverymechanism : ::windows_sys::core::PCWSTR, infoclass : TARGET_INFORMATION_CLASS, buffersize : *mut u32, buffer : *mut ::core::ffi::c_void) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn GetIScsiVersionInformation(versioninfo : *mut ISCSI_VERSION_INFO) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("iscsidsc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LoginIScsiTargetA(targetname : ::windows_sys::core::PCSTR, isinformationalsession : super::super::Foundation:: BOOLEAN, initiatorinstance : ::windows_sys::core::PCSTR, initiatorportnumber : u32, targetportal : *mut ISCSI_TARGET_PORTALA, securityflags : u64, mappings : *mut ISCSI_TARGET_MAPPINGA, loginoptions : *mut ISCSI_LOGIN_OPTIONS, keysize : u32, key : ::windows_sys::core::PCSTR, ispersistent : super::super::Foundation:: BOOLEAN, uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID, uniqueconnectionid : *mut ISCSI_UNIQUE_SESSION_ID) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("iscsidsc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LoginIScsiTargetW(targetname : ::windows_sys::core::PCWSTR, isinformationalsession : super::super::Foundation:: BOOLEAN, initiatorinstance : ::windows_sys::core::PCWSTR, initiatorportnumber : u32, targetportal : *mut ISCSI_TARGET_PORTALW, securityflags : u64, mappings : *mut ISCSI_TARGET_MAPPINGW, loginoptions : *mut ISCSI_LOGIN_OPTIONS, keysize : u32, key : ::windows_sys::core::PCSTR, ispersistent : super::super::Foundation:: BOOLEAN, uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID, uniqueconnectionid : *mut ISCSI_UNIQUE_SESSION_ID) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn LogoutIScsiTarget(uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn RefreshISNSServerA(address : ::windows_sys::core::PCSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn RefreshISNSServerW(address : ::windows_sys::core::PCWSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn RefreshIScsiSendTargetPortalA(initiatorinstance : ::windows_sys::core::PCSTR, initiatorportnumber : u32, portal : *mut ISCSI_TARGET_PORTALA) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn RefreshIScsiSendTargetPortalW(initiatorinstance : ::windows_sys::core::PCWSTR, initiatorportnumber : u32, portal : *mut ISCSI_TARGET_PORTALW) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn RemoveISNSServerA(address : ::windows_sys::core::PCSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn RemoveISNSServerW(address : ::windows_sys::core::PCWSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn RemoveIScsiConnection(uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID, connectionid : *mut ISCSI_UNIQUE_SESSION_ID) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn RemoveIScsiPersistentTargetA(initiatorinstance : ::windows_sys::core::PCSTR, initiatorportnumber : u32, targetname : ::windows_sys::core::PCSTR, portal : *mut ISCSI_TARGET_PORTALA) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn RemoveIScsiPersistentTargetW(initiatorinstance : ::windows_sys::core::PCWSTR, initiatorportnumber : u32, targetname : ::windows_sys::core::PCWSTR, portal : *mut ISCSI_TARGET_PORTALW) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn RemoveIScsiSendTargetPortalA(initiatorinstance : ::windows_sys::core::PCSTR, initiatorportnumber : u32, portal : *mut ISCSI_TARGET_PORTALA) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn RemoveIScsiSendTargetPortalW(initiatorinstance : ::windows_sys::core::PCWSTR, initiatorportnumber : u32, portal : *mut ISCSI_TARGET_PORTALW) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn RemoveIScsiStaticTargetA(targetname : ::windows_sys::core::PCSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn RemoveIScsiStaticTargetW(targetname : ::windows_sys::core::PCWSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn RemovePersistentIScsiDeviceA(devicepath : ::windows_sys::core::PCSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn RemovePersistentIScsiDeviceW(devicepath : ::windows_sys::core::PCWSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn RemoveRadiusServerA(address : ::windows_sys::core::PCSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn RemoveRadiusServerW(address : ::windows_sys::core::PCWSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn ReportActiveIScsiTargetMappingsA(buffersize : *mut u32, mappingcount : *mut u32, mappings : *mut ISCSI_TARGET_MAPPINGA) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn ReportActiveIScsiTargetMappingsW(buffersize : *mut u32, mappingcount : *mut u32, mappings : *mut ISCSI_TARGET_MAPPINGW) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn ReportISNSServerListA(buffersizeinchar : *mut u32, buffer : ::windows_sys::core::PSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn ReportISNSServerListW(buffersizeinchar : *mut u32, buffer : ::windows_sys::core::PWSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn ReportIScsiInitiatorListA(buffersize : *mut u32, buffer : ::windows_sys::core::PSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn ReportIScsiInitiatorListW(buffersize : *mut u32, buffer : ::windows_sys::core::PWSTR) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("iscsidsc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReportIScsiPersistentLoginsA(count : *mut u32, persistentlogininfo : *mut PERSISTENT_ISCSI_LOGIN_INFOA, buffersizeinbytes : *mut u32) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("iscsidsc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReportIScsiPersistentLoginsW(count : *mut u32, persistentlogininfo : *mut PERSISTENT_ISCSI_LOGIN_INFOW, buffersizeinbytes : *mut u32) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn ReportIScsiSendTargetPortalsA(portalcount : *mut u32, portalinfo : *mut ISCSI_TARGET_PORTAL_INFOA) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn ReportIScsiSendTargetPortalsExA(portalcount : *mut u32, portalinfosize : *mut u32, portalinfo : *mut ISCSI_TARGET_PORTAL_INFO_EXA) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn ReportIScsiSendTargetPortalsExW(portalcount : *mut u32, portalinfosize : *mut u32, portalinfo : *mut ISCSI_TARGET_PORTAL_INFO_EXW) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn ReportIScsiSendTargetPortalsW(portalcount : *mut u32, portalinfo : *mut ISCSI_TARGET_PORTAL_INFOW) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn ReportIScsiTargetPortalsA(initiatorname : ::windows_sys::core::PCSTR, targetname : ::windows_sys::core::PCSTR, targetportaltag : *mut u16, elementcount : *mut u32, portals : *mut ISCSI_TARGET_PORTALA) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn ReportIScsiTargetPortalsW(initiatorname : ::windows_sys::core::PCWSTR, targetname : ::windows_sys::core::PCWSTR, targetportaltag : *mut u16, elementcount : *mut u32, portals : *mut ISCSI_TARGET_PORTALW) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("iscsidsc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReportIScsiTargetsA(forceupdate : super::super::Foundation:: BOOLEAN, buffersize : *mut u32, buffer : ::windows_sys::core::PSTR) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("iscsidsc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReportIScsiTargetsW(forceupdate : super::super::Foundation:: BOOLEAN, buffersize : *mut u32, buffer : ::windows_sys::core::PWSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn ReportPersistentIScsiDevicesA(buffersizeinchar : *mut u32, buffer : ::windows_sys::core::PSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn ReportPersistentIScsiDevicesW(buffersizeinchar : *mut u32, buffer : ::windows_sys::core::PWSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn ReportRadiusServerListA(buffersizeinchar : *mut u32, buffer : ::windows_sys::core::PSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn ReportRadiusServerListW(buffersizeinchar : *mut u32, buffer : ::windows_sys::core::PWSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn SendScsiInquiry(uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID, lun : u64, evpdcmddt : u8, pagecode : u8, scsistatus : *mut u8, responsesize : *mut u32, responsebuffer : *mut u8, sensesize : *mut u32, sensebuffer : *mut u8) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn SendScsiReadCapacity(uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID, lun : u64, scsistatus : *mut u8, responsesize : *mut u32, responsebuffer : *mut u8, sensesize : *mut u32, sensebuffer : *mut u8) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn SendScsiReportLuns(uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID, scsistatus : *mut u8, responsesize : *mut u32, responsebuffer : *mut u8, sensesize : *mut u32, sensebuffer : *mut u8) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("iscsidsc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetIScsiGroupPresharedKey(keylength : u32, key : *mut u8, persist : super::super::Foundation:: BOOLEAN) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("iscsidsc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetIScsiIKEInfoA(initiatorname : ::windows_sys::core::PCSTR, initiatorportnumber : u32, authinfo : *mut IKE_AUTHENTICATION_INFORMATION, persist : super::super::Foundation:: BOOLEAN) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("iscsidsc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetIScsiIKEInfoW(initiatorname : ::windows_sys::core::PCWSTR, initiatorportnumber : u32, authinfo : *mut IKE_AUTHENTICATION_INFORMATION, persist : super::super::Foundation:: BOOLEAN) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn SetIScsiInitiatorCHAPSharedSecret(sharedsecretlength : u32, sharedsecret : *mut u8) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn SetIScsiInitiatorNodeNameA(initiatornodename : ::windows_sys::core::PCSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn SetIScsiInitiatorNodeNameW(initiatornodename : ::windows_sys::core::PCWSTR) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn SetIScsiInitiatorRADIUSSharedSecret(sharedsecretlength : u32, sharedsecret : *mut u8) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("iscsidsc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetIScsiTunnelModeOuterAddressA(initiatorname : ::windows_sys::core::PCSTR, initiatorportnumber : u32, destinationaddress : ::windows_sys::core::PCSTR, outermodeaddress : ::windows_sys::core::PCSTR, persist : super::super::Foundation:: BOOLEAN) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("iscsidsc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetIScsiTunnelModeOuterAddressW(initiatorname : ::windows_sys::core::PCWSTR, initiatorportnumber : u32, destinationaddress : ::windows_sys::core::PCWSTR, outermodeaddress : ::windows_sys::core::PCWSTR, persist : super::super::Foundation:: BOOLEAN) -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn SetupPersistentIScsiDevices() -> u32); -::windows_targets::link!("iscsidsc.dll" "system" fn SetupPersistentIScsiVolumes() -> u32); -pub const ATA_FLAGS_48BIT_COMMAND: u32 = 8u32; -pub const ATA_FLAGS_DATA_IN: u32 = 2u32; -pub const ATA_FLAGS_DATA_OUT: u32 = 4u32; -pub const ATA_FLAGS_DRDY_REQUIRED: u32 = 1u32; -pub const ATA_FLAGS_NO_MULTIPLE: u32 = 32u32; -pub const ATA_FLAGS_USE_DMA: u32 = 16u32; -pub const DD_SCSI_DEVICE_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("\\Device\\ScsiPort"); -pub const DUMP_DRIVER_NAME_LENGTH: u32 = 15u32; -pub const DUMP_EX_FLAG_DRIVER_FULL_PATH_SUPPORT: u32 = 8u32; -pub const DUMP_EX_FLAG_RESUME_SUPPORT: u32 = 4u32; -pub const DUMP_EX_FLAG_SUPPORT_64BITMEMORY: u32 = 1u32; -pub const DUMP_EX_FLAG_SUPPORT_DD_TELEMETRY: u32 = 2u32; -pub const DUMP_POINTERS_VERSION_1: u32 = 1u32; -pub const DUMP_POINTERS_VERSION_2: u32 = 2u32; -pub const DUMP_POINTERS_VERSION_3: u32 = 3u32; -pub const DUMP_POINTERS_VERSION_4: u32 = 4u32; -pub const DiscoveryMechanisms: TARGET_INFORMATION_CLASS = 2i32; -pub const FILE_DEVICE_SCSI: u32 = 27u32; -pub const FIRMWARE_FUNCTION_ACTIVATE: u32 = 3u32; -pub const FIRMWARE_FUNCTION_DOWNLOAD: u32 = 2u32; -pub const FIRMWARE_FUNCTION_GET_INFO: u32 = 1u32; -pub const FIRMWARE_REQUEST_BLOCK_STRUCTURE_VERSION: u32 = 1u32; -pub const FIRMWARE_REQUEST_FLAG_CONTROLLER: u32 = 1u32; -pub const FIRMWARE_REQUEST_FLAG_FIRST_SEGMENT: u32 = 4u32; -pub const FIRMWARE_REQUEST_FLAG_LAST_SEGMENT: u32 = 2u32; -pub const FIRMWARE_REQUEST_FLAG_REPLACE_EXISTING_IMAGE: u32 = 1073741824u32; -pub const FIRMWARE_REQUEST_FLAG_SWITCH_TO_EXISTING_FIRMWARE: u32 = 2147483648u32; -pub const FIRMWARE_STATUS_COMMAND_ABORT: u32 = 133u32; -pub const FIRMWARE_STATUS_CONTROLLER_ERROR: u32 = 16u32; -pub const FIRMWARE_STATUS_DEVICE_ERROR: u32 = 64u32; -pub const FIRMWARE_STATUS_END_OF_MEDIA: u32 = 134u32; -pub const FIRMWARE_STATUS_ERROR: u32 = 1u32; -pub const FIRMWARE_STATUS_ID_NOT_FOUND: u32 = 131u32; -pub const FIRMWARE_STATUS_ILLEGAL_LENGTH: u32 = 135u32; -pub const FIRMWARE_STATUS_ILLEGAL_REQUEST: u32 = 2u32; -pub const FIRMWARE_STATUS_INPUT_BUFFER_TOO_BIG: u32 = 4u32; -pub const FIRMWARE_STATUS_INTERFACE_CRC_ERROR: u32 = 128u32; -pub const FIRMWARE_STATUS_INVALID_IMAGE: u32 = 7u32; -pub const FIRMWARE_STATUS_INVALID_PARAMETER: u32 = 3u32; -pub const FIRMWARE_STATUS_INVALID_SLOT: u32 = 6u32; -pub const FIRMWARE_STATUS_MEDIA_CHANGE: u32 = 130u32; -pub const FIRMWARE_STATUS_MEDIA_CHANGE_REQUEST: u32 = 132u32; -pub const FIRMWARE_STATUS_OUTPUT_BUFFER_TOO_SMALL: u32 = 5u32; -pub const FIRMWARE_STATUS_POWER_CYCLE_REQUIRED: u32 = 32u32; -pub const FIRMWARE_STATUS_SUCCESS: u32 = 0u32; -pub const FIRMWARE_STATUS_UNCORRECTABLE_DATA_ERROR: u32 = 129u32; -pub const HYBRID_FUNCTION_DEMOTE_BY_SIZE: u32 = 19u32; -pub const HYBRID_FUNCTION_DISABLE_CACHING_MEDIUM: u32 = 16u32; -pub const HYBRID_FUNCTION_ENABLE_CACHING_MEDIUM: u32 = 17u32; -pub const HYBRID_FUNCTION_GET_INFO: u32 = 1u32; -pub const HYBRID_FUNCTION_SET_DIRTY_THRESHOLD: u32 = 18u32; -pub const HYBRID_REQUEST_BLOCK_STRUCTURE_VERSION: u32 = 1u32; -pub const HYBRID_REQUEST_INFO_STRUCTURE_VERSION: u32 = 1u32; -pub const HYBRID_STATUS_ENABLE_REFCOUNT_HOLD: u32 = 16u32; -pub const HYBRID_STATUS_ILLEGAL_REQUEST: u32 = 1u32; -pub const HYBRID_STATUS_INVALID_PARAMETER: u32 = 2u32; -pub const HYBRID_STATUS_OUTPUT_BUFFER_TOO_SMALL: u32 = 3u32; -pub const HYBRID_STATUS_SUCCESS: u32 = 0u32; -pub const ID_FQDN: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2"); -pub const ID_IPV4_ADDR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1"); -pub const ID_IPV6_ADDR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("5"); -pub const ID_USER_FQDN: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("3"); -pub const IKE_AUTHENTICATION_PRESHARED_KEY_METHOD: IKE_AUTHENTICATION_METHOD = 1i32; -pub const IOCTL_ATA_MINIPORT: u32 = 315444u32; -pub const IOCTL_ATA_PASS_THROUGH: u32 = 315436u32; -pub const IOCTL_ATA_PASS_THROUGH_DIRECT: u32 = 315440u32; -pub const IOCTL_IDE_PASS_THROUGH: u32 = 315432u32; -pub const IOCTL_MINIPORT_PROCESS_SERVICE_IRP: u32 = 315448u32; -pub const IOCTL_MINIPORT_SIGNATURE_DSM_GENERAL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("MPDSMGEN"); -pub const IOCTL_MINIPORT_SIGNATURE_DSM_NOTIFICATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("MPDSM "); -pub const IOCTL_MINIPORT_SIGNATURE_ENDURANCE_INFO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("ENDURINF"); -pub const IOCTL_MINIPORT_SIGNATURE_FIRMWARE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("FIRMWARE"); -pub const IOCTL_MINIPORT_SIGNATURE_HYBRDISK: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("HYBRDISK"); -pub const IOCTL_MINIPORT_SIGNATURE_QUERY_PHYSICAL_TOPOLOGY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("TOPOLOGY"); -pub const IOCTL_MINIPORT_SIGNATURE_QUERY_PROTOCOL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("PROTOCOL"); -pub const IOCTL_MINIPORT_SIGNATURE_QUERY_TEMPERATURE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("TEMPERAT"); -pub const IOCTL_MINIPORT_SIGNATURE_SCSIDISK: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SCSIDISK"); -pub const IOCTL_MINIPORT_SIGNATURE_SET_PROTOCOL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SETPROTO"); -pub const IOCTL_MINIPORT_SIGNATURE_SET_TEMPERATURE_THRESHOLD: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SETTEMPT"); -pub const IOCTL_MPIO_PASS_THROUGH_PATH: u32 = 315452u32; -pub const IOCTL_MPIO_PASS_THROUGH_PATH_DIRECT: u32 = 315456u32; -pub const IOCTL_MPIO_PASS_THROUGH_PATH_DIRECT_EX: u32 = 315472u32; -pub const IOCTL_MPIO_PASS_THROUGH_PATH_EX: u32 = 315468u32; -pub const IOCTL_SCSI_BASE: u32 = 4u32; -pub const IOCTL_SCSI_FREE_DUMP_POINTERS: u32 = 266276u32; -pub const IOCTL_SCSI_GET_ADDRESS: u32 = 266264u32; -pub const IOCTL_SCSI_GET_CAPABILITIES: u32 = 266256u32; -pub const IOCTL_SCSI_GET_DUMP_POINTERS: u32 = 266272u32; -pub const IOCTL_SCSI_GET_INQUIRY_DATA: u32 = 266252u32; -pub const IOCTL_SCSI_MINIPORT: u32 = 315400u32; -pub const IOCTL_SCSI_PASS_THROUGH: u32 = 315396u32; -pub const IOCTL_SCSI_PASS_THROUGH_DIRECT: u32 = 315412u32; -pub const IOCTL_SCSI_PASS_THROUGH_DIRECT_EX: u32 = 315464u32; -pub const IOCTL_SCSI_PASS_THROUGH_EX: u32 = 315460u32; -pub const IOCTL_SCSI_RESCAN_BUS: u32 = 266268u32; -pub const ISCSI_CHAP_AUTH_TYPE: ISCSI_AUTH_TYPES = 1i32; -pub const ISCSI_DIGEST_TYPE_CRC32C: ISCSI_DIGEST_TYPES = 1i32; -pub const ISCSI_DIGEST_TYPE_NONE: ISCSI_DIGEST_TYPES = 0i32; -pub const ISCSI_LOGIN_FLAG_ALLOW_PORTAL_HOPPING: u32 = 8u32; -pub const ISCSI_LOGIN_FLAG_MULTIPATH_ENABLED: u32 = 2u32; -pub const ISCSI_LOGIN_FLAG_REQUIRE_IPSEC: u32 = 1u32; -pub const ISCSI_LOGIN_FLAG_RESERVED1: u32 = 4u32; -pub const ISCSI_LOGIN_FLAG_USE_RADIUS_RESPONSE: u32 = 16u32; -pub const ISCSI_LOGIN_FLAG_USE_RADIUS_VERIFICATION: u32 = 32u32; -pub const ISCSI_LOGIN_OPTIONS_AUTH_TYPE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("0x00000080"); -pub const ISCSI_LOGIN_OPTIONS_DATA_DIGEST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("0x00000002"); -pub const ISCSI_LOGIN_OPTIONS_DEFAULT_TIME_2_RETAIN: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("0x00000010"); -pub const ISCSI_LOGIN_OPTIONS_DEFAULT_TIME_2_WAIT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("0x00000008"); -pub const ISCSI_LOGIN_OPTIONS_HEADER_DIGEST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("0x00000001"); -pub const ISCSI_LOGIN_OPTIONS_MAXIMUM_CONNECTIONS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("0x00000004"); -pub const ISCSI_LOGIN_OPTIONS_PASSWORD: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("0x00000040"); -pub const ISCSI_LOGIN_OPTIONS_USERNAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("0x00000020"); -pub const ISCSI_LOGIN_OPTIONS_VERSION: u32 = 0u32; -pub const ISCSI_MUTUAL_CHAP_AUTH_TYPE: ISCSI_AUTH_TYPES = 2i32; -pub const ISCSI_NO_AUTH_TYPE: ISCSI_AUTH_TYPES = 0i32; -pub const ISCSI_SECURITY_FLAG_AGGRESSIVE_MODE_ENABLED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("0x00000008"); -pub const ISCSI_SECURITY_FLAG_IKE_IPSEC_ENABLED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("0x00000002"); -pub const ISCSI_SECURITY_FLAG_MAIN_MODE_ENABLED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("0x00000004"); -pub const ISCSI_SECURITY_FLAG_PFS_ENABLED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("0x00000010"); -pub const ISCSI_SECURITY_FLAG_TRANSPORT_MODE_PREFERRED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("0x00000020"); -pub const ISCSI_SECURITY_FLAG_TUNNEL_MODE_PREFERRED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("0x00000040"); -pub const ISCSI_SECURITY_FLAG_VALID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("0x00000001"); -pub const ISCSI_TARGET_FLAG_HIDE_STATIC_TARGET: u32 = 2u32; -pub const ISCSI_TARGET_FLAG_MERGE_TARGET_INFORMATION: u32 = 4u32; -pub const ISCSI_TCP_PROTOCOL_TYPE: TARGETPROTOCOLTYPE = 0i32; -pub const InitiatorName: TARGET_INFORMATION_CLASS = 5i32; -pub const LoginOptions: TARGET_INFORMATION_CLASS = 7i32; -pub const MAX_ISCSI_ALIAS_LEN: u32 = 255u32; -pub const MAX_ISCSI_DISCOVERY_DOMAIN_LEN: u32 = 256u32; -pub const MAX_ISCSI_HBANAME_LEN: u32 = 256u32; -pub const MAX_ISCSI_NAME_LEN: u32 = 223u32; -pub const MAX_ISCSI_PORTAL_ADDRESS_LEN: u32 = 256u32; -pub const MAX_ISCSI_PORTAL_ALIAS_LEN: u32 = 256u32; -pub const MAX_ISCSI_PORTAL_NAME_LEN: u32 = 256u32; -pub const MAX_ISCSI_TEXT_ADDRESS_LEN: u32 = 256u32; -pub const MAX_RADIUS_ADDRESS_LEN: u32 = 41u32; -pub const MINIPORT_DSM_NOTIFICATION_VERSION: u32 = 1u32; -pub const MINIPORT_DSM_NOTIFICATION_VERSION_1: u32 = 1u32; -pub const MINIPORT_DSM_NOTIFY_FLAG_BEGIN: u32 = 1u32; -pub const MINIPORT_DSM_NOTIFY_FLAG_END: u32 = 2u32; -pub const MINIPORT_DSM_PROFILE_CRASHDUMP_FILE: u32 = 3u32; -pub const MINIPORT_DSM_PROFILE_HIBERNATION_FILE: u32 = 2u32; -pub const MINIPORT_DSM_PROFILE_PAGE_FILE: u32 = 1u32; -pub const MINIPORT_DSM_PROFILE_UNKNOWN: u32 = 0u32; -pub const MPIO_IOCTL_FLAG_INVOLVE_DSM: u32 = 4u32; -pub const MPIO_IOCTL_FLAG_USE_PATHID: u32 = 1u32; -pub const MPIO_IOCTL_FLAG_USE_SCSIADDRESS: u32 = 2u32; -pub const MpStorageDiagnosticLevelDefault: MP_STORAGE_DIAGNOSTIC_LEVEL = 0i32; -pub const MpStorageDiagnosticLevelMax: MP_STORAGE_DIAGNOSTIC_LEVEL = 1i32; -pub const MpStorageDiagnosticTargetTypeHbaFirmware: MP_STORAGE_DIAGNOSTIC_TARGET_TYPE = 3i32; -pub const MpStorageDiagnosticTargetTypeMax: MP_STORAGE_DIAGNOSTIC_TARGET_TYPE = 4i32; -pub const MpStorageDiagnosticTargetTypeMiniport: MP_STORAGE_DIAGNOSTIC_TARGET_TYPE = 2i32; -pub const MpStorageDiagnosticTargetTypeUndefined: MP_STORAGE_DIAGNOSTIC_TARGET_TYPE = 0i32; -pub const NRB_FUNCTION_ADD_LBAS_PINNED_SET: u32 = 16u32; -pub const NRB_FUNCTION_FLUSH_NVCACHE: u32 = 20u32; -pub const NRB_FUNCTION_NVCACHE_INFO: u32 = 236u32; -pub const NRB_FUNCTION_NVCACHE_POWER_MODE_RETURN: u32 = 1u32; -pub const NRB_FUNCTION_NVCACHE_POWER_MODE_SET: u32 = 0u32; -pub const NRB_FUNCTION_NVSEPARATED_FLUSH: u32 = 193u32; -pub const NRB_FUNCTION_NVSEPARATED_INFO: u32 = 192u32; -pub const NRB_FUNCTION_NVSEPARATED_WB_DISABLE: u32 = 194u32; -pub const NRB_FUNCTION_NVSEPARATED_WB_REVERT_DEFAULT: u32 = 195u32; -pub const NRB_FUNCTION_PASS_HINT_PAYLOAD: u32 = 224u32; -pub const NRB_FUNCTION_QUERY_ASCENDER_STATUS: u32 = 208u32; -pub const NRB_FUNCTION_QUERY_CACHE_MISS: u32 = 19u32; -pub const NRB_FUNCTION_QUERY_HYBRID_DISK_STATUS: u32 = 209u32; -pub const NRB_FUNCTION_QUERY_PINNED_SET: u32 = 18u32; -pub const NRB_FUNCTION_REMOVE_LBAS_PINNED_SET: u32 = 17u32; -pub const NRB_FUNCTION_SPINDLE_STATUS: u32 = 229u32; -pub const NRB_ILLEGAL_REQUEST: u32 = 1u32; -pub const NRB_INPUT_DATA_OVERRUN: u32 = 3u32; -pub const NRB_INPUT_DATA_UNDERRUN: u32 = 4u32; -pub const NRB_INVALID_PARAMETER: u32 = 2u32; -pub const NRB_OUTPUT_DATA_OVERRUN: u32 = 5u32; -pub const NRB_OUTPUT_DATA_UNDERRUN: u32 = 6u32; -pub const NRB_SUCCESS: u32 = 0u32; -pub const NVSEPWriteCacheTypeNone: NV_SEP_WRITE_CACHE_TYPE = 1i32; -pub const NVSEPWriteCacheTypeUnknown: NV_SEP_WRITE_CACHE_TYPE = 0i32; -pub const NVSEPWriteCacheTypeWriteBack: NV_SEP_WRITE_CACHE_TYPE = 2i32; -pub const NVSEPWriteCacheTypeWriteThrough: NV_SEP_WRITE_CACHE_TYPE = 3i32; -pub const NV_SEP_CACHE_PARAMETER_VERSION: u32 = 1u32; -pub const NV_SEP_CACHE_PARAMETER_VERSION_1: u32 = 1u32; -pub const NvCacheStatusDisabled: NVCACHE_STATUS = 2i32; -pub const NvCacheStatusDisabling: NVCACHE_STATUS = 1i32; -pub const NvCacheStatusEnabled: NVCACHE_STATUS = 3i32; -pub const NvCacheStatusUnknown: NVCACHE_STATUS = 0i32; -pub const NvCacheTypeNone: NVCACHE_TYPE = 1i32; -pub const NvCacheTypeUnknown: NVCACHE_TYPE = 0i32; -pub const NvCacheTypeWriteBack: NVCACHE_TYPE = 2i32; -pub const NvCacheTypeWriteThrough: NVCACHE_TYPE = 3i32; -pub const PersistentTargetMappings: TARGET_INFORMATION_CLASS = 4i32; -pub const PortalGroups: TARGET_INFORMATION_CLASS = 3i32; -pub const ProtocolType: TARGET_INFORMATION_CLASS = 0i32; -pub const SCSI_IOCTL_DATA_BIDIRECTIONAL: u32 = 3u32; -pub const SCSI_IOCTL_DATA_IN: u32 = 1u32; -pub const SCSI_IOCTL_DATA_OUT: u32 = 0u32; -pub const SCSI_IOCTL_DATA_UNSPECIFIED: u32 = 2u32; -pub const STORAGE_DIAGNOSTIC_STATUS_BUFFER_TOO_SMALL: u32 = 1u32; -pub const STORAGE_DIAGNOSTIC_STATUS_INVALID_PARAMETER: u32 = 3u32; -pub const STORAGE_DIAGNOSTIC_STATUS_INVALID_SIGNATURE: u32 = 4u32; -pub const STORAGE_DIAGNOSTIC_STATUS_INVALID_TARGET_TYPE: u32 = 5u32; -pub const STORAGE_DIAGNOSTIC_STATUS_MORE_DATA: u32 = 6u32; -pub const STORAGE_DIAGNOSTIC_STATUS_SUCCESS: u32 = 0u32; -pub const STORAGE_DIAGNOSTIC_STATUS_UNSUPPORTED_VERSION: u32 = 2u32; -pub const STORAGE_FIRMWARE_ACTIVATE_STRUCTURE_VERSION: u32 = 1u32; -pub const STORAGE_FIRMWARE_DOWNLOAD_STRUCTURE_VERSION: u32 = 1u32; -pub const STORAGE_FIRMWARE_DOWNLOAD_STRUCTURE_VERSION_V2: u32 = 2u32; -pub const STORAGE_FIRMWARE_INFO_INVALID_SLOT: u32 = 255u32; -pub const STORAGE_FIRMWARE_INFO_STRUCTURE_VERSION: u32 = 1u32; -pub const STORAGE_FIRMWARE_INFO_STRUCTURE_VERSION_V2: u32 = 2u32; -pub const STORAGE_FIRMWARE_SLOT_INFO_V2_REVISION_LENGTH: u32 = 16u32; -pub const ScsiRawInterfaceGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x53f56309_b6bf_11d0_94f2_00a0c91efb8b); -pub const TargetAlias: TARGET_INFORMATION_CLASS = 1i32; -pub const TargetFlags: TARGET_INFORMATION_CLASS = 6i32; -pub const WmiScsiAddressGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x53f5630f_b6bf_11d0_94f2_00a0c91efb8b); -pub type IKE_AUTHENTICATION_METHOD = i32; -pub type ISCSI_AUTH_TYPES = i32; -pub type ISCSI_DIGEST_TYPES = i32; -pub type MP_STORAGE_DIAGNOSTIC_LEVEL = i32; -pub type MP_STORAGE_DIAGNOSTIC_TARGET_TYPE = i32; -pub type NVCACHE_STATUS = i32; -pub type NVCACHE_TYPE = i32; -pub type NV_SEP_WRITE_CACHE_TYPE = i32; -pub type TARGETPROTOCOLTYPE = i32; -pub type TARGET_INFORMATION_CLASS = i32; -#[repr(C)] -pub struct ATA_PASS_THROUGH_DIRECT { - pub Length: u16, - pub AtaFlags: u16, - pub PathId: u8, - pub TargetId: u8, - pub Lun: u8, - pub ReservedAsUchar: u8, - pub DataTransferLength: u32, - pub TimeOutValue: u32, - pub ReservedAsUlong: u32, - pub DataBuffer: *mut ::core::ffi::c_void, - pub PreviousTaskFile: [u8; 8], - pub CurrentTaskFile: [u8; 8], -} -impl ::core::marker::Copy for ATA_PASS_THROUGH_DIRECT {} -impl ::core::clone::Clone for ATA_PASS_THROUGH_DIRECT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct ATA_PASS_THROUGH_DIRECT32 { - pub Length: u16, - pub AtaFlags: u16, - pub PathId: u8, - pub TargetId: u8, - pub Lun: u8, - pub ReservedAsUchar: u8, - pub DataTransferLength: u32, - pub TimeOutValue: u32, - pub ReservedAsUlong: u32, - pub DataBuffer: *mut ::core::ffi::c_void, - pub PreviousTaskFile: [u8; 8], - pub CurrentTaskFile: [u8; 8], -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for ATA_PASS_THROUGH_DIRECT32 {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for ATA_PASS_THROUGH_DIRECT32 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ATA_PASS_THROUGH_EX { - pub Length: u16, - pub AtaFlags: u16, - pub PathId: u8, - pub TargetId: u8, - pub Lun: u8, - pub ReservedAsUchar: u8, - pub DataTransferLength: u32, - pub TimeOutValue: u32, - pub ReservedAsUlong: u32, - pub DataBufferOffset: usize, - pub PreviousTaskFile: [u8; 8], - pub CurrentTaskFile: [u8; 8], -} -impl ::core::marker::Copy for ATA_PASS_THROUGH_EX {} -impl ::core::clone::Clone for ATA_PASS_THROUGH_EX { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct ATA_PASS_THROUGH_EX32 { - pub Length: u16, - pub AtaFlags: u16, - pub PathId: u8, - pub TargetId: u8, - pub Lun: u8, - pub ReservedAsUchar: u8, - pub DataTransferLength: u32, - pub TimeOutValue: u32, - pub ReservedAsUlong: u32, - pub DataBufferOffset: u32, - pub PreviousTaskFile: [u8; 8], - pub CurrentTaskFile: [u8; 8], -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for ATA_PASS_THROUGH_EX32 {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for ATA_PASS_THROUGH_EX32 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DSM_NOTIFICATION_REQUEST_BLOCK { - pub Size: u32, - pub Version: u32, - pub NotifyFlags: u32, - pub DataSetProfile: u32, - pub Reserved: [u32; 3], - pub DataSetRangesCount: u32, - pub DataSetRanges: [MP_DEVICE_DATA_SET_RANGE; 1], -} -impl ::core::marker::Copy for DSM_NOTIFICATION_REQUEST_BLOCK {} -impl ::core::clone::Clone for DSM_NOTIFICATION_REQUEST_BLOCK { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DUMP_DRIVER { - pub DumpDriverList: *mut ::core::ffi::c_void, - pub DriverName: [u16; 15], - pub BaseName: [u16; 15], -} -impl ::core::marker::Copy for DUMP_DRIVER {} -impl ::core::clone::Clone for DUMP_DRIVER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DUMP_DRIVER_EX { - pub DumpDriverList: *mut ::core::ffi::c_void, - pub DriverName: [u16; 15], - pub BaseName: [u16; 15], - pub DriverFullPath: NTSCSI_UNICODE_STRING, -} -impl ::core::marker::Copy for DUMP_DRIVER_EX {} -impl ::core::clone::Clone for DUMP_DRIVER_EX { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct DUMP_POINTERS { - pub AdapterObject: *mut _ADAPTER_OBJECT, - pub MappedRegisterBase: *mut ::core::ffi::c_void, - pub DumpData: *mut ::core::ffi::c_void, - pub CommonBufferVa: *mut ::core::ffi::c_void, - pub CommonBufferPa: i64, - pub CommonBufferSize: u32, - pub AllocateCommonBuffers: super::super::Foundation::BOOLEAN, - pub UseDiskDump: super::super::Foundation::BOOLEAN, - pub Spare1: [u8; 2], - pub DeviceObject: *mut ::core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for DUMP_POINTERS {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for DUMP_POINTERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct DUMP_POINTERS_EX { - pub Header: DUMP_POINTERS_VERSION, - pub DumpData: *mut ::core::ffi::c_void, - pub CommonBufferVa: *mut ::core::ffi::c_void, - pub CommonBufferSize: u32, - pub AllocateCommonBuffers: super::super::Foundation::BOOLEAN, - pub DeviceObject: *mut ::core::ffi::c_void, - pub DriverList: *mut ::core::ffi::c_void, - pub dwPortFlags: u32, - pub MaxDeviceDumpSectionSize: u32, - pub MaxDeviceDumpLevel: u32, - pub MaxTransferSize: u32, - pub AdapterObject: *mut ::core::ffi::c_void, - pub MappedRegisterBase: *mut ::core::ffi::c_void, - pub DeviceReady: *mut super::super::Foundation::BOOLEAN, - pub DumpDevicePowerOn: PDUMP_DEVICE_POWERON_ROUTINE, - pub DumpDevicePowerOnContext: *mut ::core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for DUMP_POINTERS_EX {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for DUMP_POINTERS_EX { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DUMP_POINTERS_VERSION { - pub Version: u32, - pub Size: u32, -} -impl ::core::marker::Copy for DUMP_POINTERS_VERSION {} -impl ::core::clone::Clone for DUMP_POINTERS_VERSION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FIRMWARE_REQUEST_BLOCK { - pub Version: u32, - pub Size: u32, - pub Function: u32, - pub Flags: u32, - pub DataBufferOffset: u32, - pub DataBufferLength: u32, -} -impl ::core::marker::Copy for FIRMWARE_REQUEST_BLOCK {} -impl ::core::clone::Clone for FIRMWARE_REQUEST_BLOCK { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct HYBRID_DEMOTE_BY_SIZE { - pub Version: u32, - pub Size: u32, - pub SourcePriority: u8, - pub TargetPriority: u8, - pub Reserved0: u16, - pub Reserved1: u32, - pub LbaCount: u64, -} -impl ::core::marker::Copy for HYBRID_DEMOTE_BY_SIZE {} -impl ::core::clone::Clone for HYBRID_DEMOTE_BY_SIZE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct HYBRID_DIRTY_THRESHOLDS { - pub Version: u32, - pub Size: u32, - pub DirtyLowThreshold: u32, - pub DirtyHighThreshold: u32, -} -impl ::core::marker::Copy for HYBRID_DIRTY_THRESHOLDS {} -impl ::core::clone::Clone for HYBRID_DIRTY_THRESHOLDS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct HYBRID_INFORMATION { - pub Version: u32, - pub Size: u32, - pub HybridSupported: super::super::Foundation::BOOLEAN, - pub Status: NVCACHE_STATUS, - pub CacheTypeEffective: NVCACHE_TYPE, - pub CacheTypeDefault: NVCACHE_TYPE, - pub FractionBase: u32, - pub CacheSize: u64, - pub Attributes: HYBRID_INFORMATION_0, - pub Priorities: HYBRID_INFORMATION_1, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for HYBRID_INFORMATION {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for HYBRID_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct HYBRID_INFORMATION_0 { - pub _bitfield: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for HYBRID_INFORMATION_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for HYBRID_INFORMATION_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct HYBRID_INFORMATION_1 { - pub PriorityLevelCount: u8, - pub MaxPriorityBehavior: super::super::Foundation::BOOLEAN, - pub OptimalWriteGranularity: u8, - pub Reserved: u8, - pub DirtyThresholdLow: u32, - pub DirtyThresholdHigh: u32, - pub SupportedCommands: HYBRID_INFORMATION_1_0, - pub Priority: [NVCACHE_PRIORITY_LEVEL_DESCRIPTOR; 1], -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for HYBRID_INFORMATION_1 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for HYBRID_INFORMATION_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct HYBRID_INFORMATION_1_0 { - pub _bitfield: u32, - pub MaxEvictCommands: u32, - pub MaxLbaRangeCountForEvict: u32, - pub MaxLbaRangeCountForChangeLba: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for HYBRID_INFORMATION_1_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for HYBRID_INFORMATION_1_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct HYBRID_REQUEST_BLOCK { - pub Version: u32, - pub Size: u32, - pub Function: u32, - pub Flags: u32, - pub DataBufferOffset: u32, - pub DataBufferLength: u32, -} -impl ::core::marker::Copy for HYBRID_REQUEST_BLOCK {} -impl ::core::clone::Clone for HYBRID_REQUEST_BLOCK { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct IDE_IO_CONTROL { - pub HeaderLength: u32, - pub Signature: [u8; 8], - pub Timeout: u32, - pub ControlCode: u32, - pub ReturnStatus: u32, - pub DataLength: u32, -} -impl ::core::marker::Copy for IDE_IO_CONTROL {} -impl ::core::clone::Clone for IDE_IO_CONTROL { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct IKE_AUTHENTICATION_INFORMATION { - pub AuthMethod: IKE_AUTHENTICATION_METHOD, - pub Anonymous: IKE_AUTHENTICATION_INFORMATION_0, -} -impl ::core::marker::Copy for IKE_AUTHENTICATION_INFORMATION {} -impl ::core::clone::Clone for IKE_AUTHENTICATION_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union IKE_AUTHENTICATION_INFORMATION_0 { - pub PsKey: IKE_AUTHENTICATION_PRESHARED_KEY, -} -impl ::core::marker::Copy for IKE_AUTHENTICATION_INFORMATION_0 {} -impl ::core::clone::Clone for IKE_AUTHENTICATION_INFORMATION_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct IKE_AUTHENTICATION_PRESHARED_KEY { - pub SecurityFlags: u64, - pub IdType: u8, - pub IdLengthInBytes: u32, - pub Id: *mut u8, - pub KeyLengthInBytes: u32, - pub Key: *mut u8, -} -impl ::core::marker::Copy for IKE_AUTHENTICATION_PRESHARED_KEY {} -impl ::core::clone::Clone for IKE_AUTHENTICATION_PRESHARED_KEY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct IO_SCSI_CAPABILITIES { - pub Length: u32, - pub MaximumTransferLength: u32, - pub MaximumPhysicalPages: u32, - pub SupportedAsynchronousEvents: u32, - pub AlignmentMask: u32, - pub TaggedQueuing: super::super::Foundation::BOOLEAN, - pub AdapterScansDown: super::super::Foundation::BOOLEAN, - pub AdapterUsesPio: super::super::Foundation::BOOLEAN, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for IO_SCSI_CAPABILITIES {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for IO_SCSI_CAPABILITIES { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ISCSI_CONNECTION_INFOA { - pub ConnectionId: ISCSI_UNIQUE_SESSION_ID, - pub InitiatorAddress: ::windows_sys::core::PSTR, - pub TargetAddress: ::windows_sys::core::PSTR, - pub InitiatorSocket: u16, - pub TargetSocket: u16, - pub CID: [u8; 2], -} -impl ::core::marker::Copy for ISCSI_CONNECTION_INFOA {} -impl ::core::clone::Clone for ISCSI_CONNECTION_INFOA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ISCSI_CONNECTION_INFOW { - pub ConnectionId: ISCSI_UNIQUE_SESSION_ID, - pub InitiatorAddress: ::windows_sys::core::PWSTR, - pub TargetAddress: ::windows_sys::core::PWSTR, - pub InitiatorSocket: u16, - pub TargetSocket: u16, - pub CID: [u8; 2], -} -impl ::core::marker::Copy for ISCSI_CONNECTION_INFOW {} -impl ::core::clone::Clone for ISCSI_CONNECTION_INFOW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ISCSI_CONNECTION_INFO_EX { - pub ConnectionId: ISCSI_UNIQUE_SESSION_ID, - pub State: u8, - pub Protocol: u8, - pub HeaderDigest: u8, - pub DataDigest: u8, - pub MaxRecvDataSegmentLength: u32, - pub AuthType: ISCSI_AUTH_TYPES, - pub EstimatedThroughput: u64, - pub MaxDatagramSize: u32, -} -impl ::core::marker::Copy for ISCSI_CONNECTION_INFO_EX {} -impl ::core::clone::Clone for ISCSI_CONNECTION_INFO_EX { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_System_Ioctl\"`"] -#[cfg(feature = "Win32_System_Ioctl")] -pub struct ISCSI_DEVICE_ON_SESSIONA { - pub InitiatorName: [u8; 256], - pub TargetName: [u8; 224], - pub ScsiAddress: SCSI_ADDRESS, - pub DeviceInterfaceType: ::windows_sys::core::GUID, - pub DeviceInterfaceName: [u8; 260], - pub LegacyName: [u8; 260], - pub StorageDeviceNumber: super::super::System::Ioctl::STORAGE_DEVICE_NUMBER, - pub DeviceInstance: u32, -} -#[cfg(feature = "Win32_System_Ioctl")] -impl ::core::marker::Copy for ISCSI_DEVICE_ON_SESSIONA {} -#[cfg(feature = "Win32_System_Ioctl")] -impl ::core::clone::Clone for ISCSI_DEVICE_ON_SESSIONA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_System_Ioctl\"`"] -#[cfg(feature = "Win32_System_Ioctl")] -pub struct ISCSI_DEVICE_ON_SESSIONW { - pub InitiatorName: [u16; 256], - pub TargetName: [u16; 224], - pub ScsiAddress: SCSI_ADDRESS, - pub DeviceInterfaceType: ::windows_sys::core::GUID, - pub DeviceInterfaceName: [u16; 260], - pub LegacyName: [u16; 260], - pub StorageDeviceNumber: super::super::System::Ioctl::STORAGE_DEVICE_NUMBER, - pub DeviceInstance: u32, -} -#[cfg(feature = "Win32_System_Ioctl")] -impl ::core::marker::Copy for ISCSI_DEVICE_ON_SESSIONW {} -#[cfg(feature = "Win32_System_Ioctl")] -impl ::core::clone::Clone for ISCSI_DEVICE_ON_SESSIONW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ISCSI_LOGIN_OPTIONS { - pub Version: u32, - pub InformationSpecified: u32, - pub LoginFlags: u32, - pub AuthType: ISCSI_AUTH_TYPES, - pub HeaderDigest: ISCSI_DIGEST_TYPES, - pub DataDigest: ISCSI_DIGEST_TYPES, - pub MaximumConnections: u32, - pub DefaultTime2Wait: u32, - pub DefaultTime2Retain: u32, - pub UsernameLength: u32, - pub PasswordLength: u32, - pub Username: *mut u8, - pub Password: *mut u8, -} -impl ::core::marker::Copy for ISCSI_LOGIN_OPTIONS {} -impl ::core::clone::Clone for ISCSI_LOGIN_OPTIONS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ISCSI_SESSION_INFOA { - pub SessionId: ISCSI_UNIQUE_SESSION_ID, - pub InitiatorName: ::windows_sys::core::PSTR, - pub TargetNodeName: ::windows_sys::core::PSTR, - pub TargetName: ::windows_sys::core::PSTR, - pub ISID: [u8; 6], - pub TSID: [u8; 2], - pub ConnectionCount: u32, - pub Connections: *mut ISCSI_CONNECTION_INFOA, -} -impl ::core::marker::Copy for ISCSI_SESSION_INFOA {} -impl ::core::clone::Clone for ISCSI_SESSION_INFOA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ISCSI_SESSION_INFOW { - pub SessionId: ISCSI_UNIQUE_SESSION_ID, - pub InitiatorName: ::windows_sys::core::PWSTR, - pub TargetNodeName: ::windows_sys::core::PWSTR, - pub TargetName: ::windows_sys::core::PWSTR, - pub ISID: [u8; 6], - pub TSID: [u8; 2], - pub ConnectionCount: u32, - pub Connections: *mut ISCSI_CONNECTION_INFOW, -} -impl ::core::marker::Copy for ISCSI_SESSION_INFOW {} -impl ::core::clone::Clone for ISCSI_SESSION_INFOW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct ISCSI_SESSION_INFO_EX { - pub SessionId: ISCSI_UNIQUE_SESSION_ID, - pub InitialR2t: super::super::Foundation::BOOLEAN, - pub ImmediateData: super::super::Foundation::BOOLEAN, - pub Type: u8, - pub DataSequenceInOrder: super::super::Foundation::BOOLEAN, - pub DataPduInOrder: super::super::Foundation::BOOLEAN, - pub ErrorRecoveryLevel: u8, - pub MaxOutstandingR2t: u32, - pub FirstBurstLength: u32, - pub MaxBurstLength: u32, - pub MaximumConnections: u32, - pub ConnectionCount: u32, - pub Connections: *mut ISCSI_CONNECTION_INFO_EX, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for ISCSI_SESSION_INFO_EX {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for ISCSI_SESSION_INFO_EX { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ISCSI_TARGET_MAPPINGA { - pub InitiatorName: [u8; 256], - pub TargetName: [u8; 224], - pub OSDeviceName: [u8; 260], - pub SessionId: ISCSI_UNIQUE_SESSION_ID, - pub OSBusNumber: u32, - pub OSTargetNumber: u32, - pub LUNCount: u32, - pub LUNList: *mut SCSI_LUN_LIST, -} -impl ::core::marker::Copy for ISCSI_TARGET_MAPPINGA {} -impl ::core::clone::Clone for ISCSI_TARGET_MAPPINGA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ISCSI_TARGET_MAPPINGW { - pub InitiatorName: [u16; 256], - pub TargetName: [u16; 224], - pub OSDeviceName: [u16; 260], - pub SessionId: ISCSI_UNIQUE_SESSION_ID, - pub OSBusNumber: u32, - pub OSTargetNumber: u32, - pub LUNCount: u32, - pub LUNList: *mut SCSI_LUN_LIST, -} -impl ::core::marker::Copy for ISCSI_TARGET_MAPPINGW {} -impl ::core::clone::Clone for ISCSI_TARGET_MAPPINGW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ISCSI_TARGET_PORTALA { - pub SymbolicName: [u8; 256], - pub Address: [u8; 256], - pub Socket: u16, -} -impl ::core::marker::Copy for ISCSI_TARGET_PORTALA {} -impl ::core::clone::Clone for ISCSI_TARGET_PORTALA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ISCSI_TARGET_PORTALW { - pub SymbolicName: [u16; 256], - pub Address: [u16; 256], - pub Socket: u16, -} -impl ::core::marker::Copy for ISCSI_TARGET_PORTALW {} -impl ::core::clone::Clone for ISCSI_TARGET_PORTALW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ISCSI_TARGET_PORTAL_GROUPA { - pub Count: u32, - pub Portals: [ISCSI_TARGET_PORTALA; 1], -} -impl ::core::marker::Copy for ISCSI_TARGET_PORTAL_GROUPA {} -impl ::core::clone::Clone for ISCSI_TARGET_PORTAL_GROUPA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ISCSI_TARGET_PORTAL_GROUPW { - pub Count: u32, - pub Portals: [ISCSI_TARGET_PORTALW; 1], -} -impl ::core::marker::Copy for ISCSI_TARGET_PORTAL_GROUPW {} -impl ::core::clone::Clone for ISCSI_TARGET_PORTAL_GROUPW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ISCSI_TARGET_PORTAL_INFOA { - pub InitiatorName: [u8; 256], - pub InitiatorPortNumber: u32, - pub SymbolicName: [u8; 256], - pub Address: [u8; 256], - pub Socket: u16, -} -impl ::core::marker::Copy for ISCSI_TARGET_PORTAL_INFOA {} -impl ::core::clone::Clone for ISCSI_TARGET_PORTAL_INFOA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ISCSI_TARGET_PORTAL_INFOW { - pub InitiatorName: [u16; 256], - pub InitiatorPortNumber: u32, - pub SymbolicName: [u16; 256], - pub Address: [u16; 256], - pub Socket: u16, -} -impl ::core::marker::Copy for ISCSI_TARGET_PORTAL_INFOW {} -impl ::core::clone::Clone for ISCSI_TARGET_PORTAL_INFOW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ISCSI_TARGET_PORTAL_INFO_EXA { - pub InitiatorName: [u8; 256], - pub InitiatorPortNumber: u32, - pub SymbolicName: [u8; 256], - pub Address: [u8; 256], - pub Socket: u16, - pub SecurityFlags: u64, - pub LoginOptions: ISCSI_LOGIN_OPTIONS, -} -impl ::core::marker::Copy for ISCSI_TARGET_PORTAL_INFO_EXA {} -impl ::core::clone::Clone for ISCSI_TARGET_PORTAL_INFO_EXA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ISCSI_TARGET_PORTAL_INFO_EXW { - pub InitiatorName: [u16; 256], - pub InitiatorPortNumber: u32, - pub SymbolicName: [u16; 256], - pub Address: [u16; 256], - pub Socket: u16, - pub SecurityFlags: u64, - pub LoginOptions: ISCSI_LOGIN_OPTIONS, -} -impl ::core::marker::Copy for ISCSI_TARGET_PORTAL_INFO_EXW {} -impl ::core::clone::Clone for ISCSI_TARGET_PORTAL_INFO_EXW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ISCSI_UNIQUE_SESSION_ID { - pub AdapterUnique: u64, - pub AdapterSpecific: u64, -} -impl ::core::marker::Copy for ISCSI_UNIQUE_SESSION_ID {} -impl ::core::clone::Clone for ISCSI_UNIQUE_SESSION_ID { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ISCSI_VERSION_INFO { - pub MajorVersion: u32, - pub MinorVersion: u32, - pub BuildNumber: u32, -} -impl ::core::marker::Copy for ISCSI_VERSION_INFO {} -impl ::core::clone::Clone for ISCSI_VERSION_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct MPIO_PASS_THROUGH_PATH { - pub PassThrough: SCSI_PASS_THROUGH, - pub Version: u32, - pub Length: u16, - pub Flags: u8, - pub PortNumber: u8, - pub MpioPathId: u64, -} -impl ::core::marker::Copy for MPIO_PASS_THROUGH_PATH {} -impl ::core::clone::Clone for MPIO_PASS_THROUGH_PATH { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct MPIO_PASS_THROUGH_PATH32 { - pub PassThrough: SCSI_PASS_THROUGH32, - pub Version: u32, - pub Length: u16, - pub Flags: u8, - pub PortNumber: u8, - pub MpioPathId: u64, -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for MPIO_PASS_THROUGH_PATH32 {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for MPIO_PASS_THROUGH_PATH32 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct MPIO_PASS_THROUGH_PATH32_EX { - pub PassThroughOffset: u32, - pub Version: u32, - pub Length: u16, - pub Flags: u8, - pub PortNumber: u8, - pub MpioPathId: u64, -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for MPIO_PASS_THROUGH_PATH32_EX {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for MPIO_PASS_THROUGH_PATH32_EX { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct MPIO_PASS_THROUGH_PATH_DIRECT { - pub PassThrough: SCSI_PASS_THROUGH_DIRECT, - pub Version: u32, - pub Length: u16, - pub Flags: u8, - pub PortNumber: u8, - pub MpioPathId: u64, -} -impl ::core::marker::Copy for MPIO_PASS_THROUGH_PATH_DIRECT {} -impl ::core::clone::Clone for MPIO_PASS_THROUGH_PATH_DIRECT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct MPIO_PASS_THROUGH_PATH_DIRECT32 { - pub PassThrough: SCSI_PASS_THROUGH_DIRECT32, - pub Version: u32, - pub Length: u16, - pub Flags: u8, - pub PortNumber: u8, - pub MpioPathId: u64, -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for MPIO_PASS_THROUGH_PATH_DIRECT32 {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for MPIO_PASS_THROUGH_PATH_DIRECT32 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct MPIO_PASS_THROUGH_PATH_DIRECT32_EX { - pub PassThroughOffset: u32, - pub Version: u32, - pub Length: u16, - pub Flags: u8, - pub PortNumber: u8, - pub MpioPathId: u64, -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for MPIO_PASS_THROUGH_PATH_DIRECT32_EX {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for MPIO_PASS_THROUGH_PATH_DIRECT32_EX { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct MPIO_PASS_THROUGH_PATH_DIRECT_EX { - pub PassThroughOffset: u32, - pub Version: u32, - pub Length: u16, - pub Flags: u8, - pub PortNumber: u8, - pub MpioPathId: u64, -} -impl ::core::marker::Copy for MPIO_PASS_THROUGH_PATH_DIRECT_EX {} -impl ::core::clone::Clone for MPIO_PASS_THROUGH_PATH_DIRECT_EX { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct MPIO_PASS_THROUGH_PATH_EX { - pub PassThroughOffset: u32, - pub Version: u32, - pub Length: u16, - pub Flags: u8, - pub PortNumber: u8, - pub MpioPathId: u64, -} -impl ::core::marker::Copy for MPIO_PASS_THROUGH_PATH_EX {} -impl ::core::clone::Clone for MPIO_PASS_THROUGH_PATH_EX { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct MP_DEVICE_DATA_SET_RANGE { - pub StartingOffset: i64, - pub LengthInBytes: u64, -} -impl ::core::marker::Copy for MP_DEVICE_DATA_SET_RANGE {} -impl ::core::clone::Clone for MP_DEVICE_DATA_SET_RANGE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NTSCSI_UNICODE_STRING { - pub Length: u16, - pub MaximumLength: u16, - pub Buffer: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for NTSCSI_UNICODE_STRING {} -impl ::core::clone::Clone for NTSCSI_UNICODE_STRING { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVCACHE_HINT_PAYLOAD { - pub Command: u8, - pub Feature7_0: u8, - pub Feature15_8: u8, - pub Count15_8: u8, - pub LBA7_0: u8, - pub LBA15_8: u8, - pub LBA23_16: u8, - pub LBA31_24: u8, - pub LBA39_32: u8, - pub LBA47_40: u8, - pub Auxiliary7_0: u8, - pub Auxiliary23_16: u8, - pub Reserved: [u8; 4], -} -impl ::core::marker::Copy for NVCACHE_HINT_PAYLOAD {} -impl ::core::clone::Clone for NVCACHE_HINT_PAYLOAD { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVCACHE_PRIORITY_LEVEL_DESCRIPTOR { - pub PriorityLevel: u8, - pub Reserved0: [u8; 3], - pub ConsumedNVMSizeFraction: u32, - pub ConsumedMappingResourcesFraction: u32, - pub ConsumedNVMSizeForDirtyDataFraction: u32, - pub ConsumedMappingResourcesForDirtyDataFraction: u32, - pub Reserved1: u32, -} -impl ::core::marker::Copy for NVCACHE_PRIORITY_LEVEL_DESCRIPTOR {} -impl ::core::clone::Clone for NVCACHE_PRIORITY_LEVEL_DESCRIPTOR { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVCACHE_REQUEST_BLOCK { - pub NRBSize: u32, - pub Function: u16, - pub NRBFlags: u32, - pub NRBStatus: u32, - pub Count: u32, - pub LBA: u64, - pub DataBufSize: u32, - pub NVCacheStatus: u32, - pub NVCacheSubStatus: u32, -} -impl ::core::marker::Copy for NVCACHE_REQUEST_BLOCK {} -impl ::core::clone::Clone for NVCACHE_REQUEST_BLOCK { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NV_FEATURE_PARAMETER { - pub NVPowerModeEnabled: u16, - pub NVParameterReserv1: u16, - pub NVCmdEnabled: u16, - pub NVParameterReserv2: u16, - pub NVPowerModeVer: u16, - pub NVCmdVer: u16, - pub NVSize: u32, - pub NVReadSpeed: u16, - pub NVWrtSpeed: u16, - pub DeviceSpinUpTime: u32, -} -impl ::core::marker::Copy for NV_FEATURE_PARAMETER {} -impl ::core::clone::Clone for NV_FEATURE_PARAMETER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NV_SEP_CACHE_PARAMETER { - pub Version: u32, - pub Size: u32, - pub Flags: NV_SEP_CACHE_PARAMETER_0, - pub WriteCacheType: u8, - pub WriteCacheTypeEffective: u8, - pub ParameterReserve1: [u8; 3], -} -impl ::core::marker::Copy for NV_SEP_CACHE_PARAMETER {} -impl ::core::clone::Clone for NV_SEP_CACHE_PARAMETER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NV_SEP_CACHE_PARAMETER_0 { - pub CacheFlags: NV_SEP_CACHE_PARAMETER_0_0, - pub CacheFlagsSet: u8, -} -impl ::core::marker::Copy for NV_SEP_CACHE_PARAMETER_0 {} -impl ::core::clone::Clone for NV_SEP_CACHE_PARAMETER_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NV_SEP_CACHE_PARAMETER_0_0 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NV_SEP_CACHE_PARAMETER_0_0 {} -impl ::core::clone::Clone for NV_SEP_CACHE_PARAMETER_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct PERSISTENT_ISCSI_LOGIN_INFOA { - pub TargetName: [u8; 224], - pub IsInformationalSession: super::super::Foundation::BOOLEAN, - pub InitiatorInstance: [u8; 256], - pub InitiatorPortNumber: u32, - pub TargetPortal: ISCSI_TARGET_PORTALA, - pub SecurityFlags: u64, - pub Mappings: *mut ISCSI_TARGET_MAPPINGA, - pub LoginOptions: ISCSI_LOGIN_OPTIONS, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PERSISTENT_ISCSI_LOGIN_INFOA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PERSISTENT_ISCSI_LOGIN_INFOA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct PERSISTENT_ISCSI_LOGIN_INFOW { - pub TargetName: [u16; 224], - pub IsInformationalSession: super::super::Foundation::BOOLEAN, - pub InitiatorInstance: [u16; 256], - pub InitiatorPortNumber: u32, - pub TargetPortal: ISCSI_TARGET_PORTALW, - pub SecurityFlags: u64, - pub Mappings: *mut ISCSI_TARGET_MAPPINGW, - pub LoginOptions: ISCSI_LOGIN_OPTIONS, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PERSISTENT_ISCSI_LOGIN_INFOW {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PERSISTENT_ISCSI_LOGIN_INFOW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SCSI_ADAPTER_BUS_INFO { - pub NumberOfBuses: u8, - pub BusData: [SCSI_BUS_DATA; 1], -} -impl ::core::marker::Copy for SCSI_ADAPTER_BUS_INFO {} -impl ::core::clone::Clone for SCSI_ADAPTER_BUS_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SCSI_ADDRESS { - pub Length: u32, - pub PortNumber: u8, - pub PathId: u8, - pub TargetId: u8, - pub Lun: u8, -} -impl ::core::marker::Copy for SCSI_ADDRESS {} -impl ::core::clone::Clone for SCSI_ADDRESS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SCSI_BUS_DATA { - pub NumberOfLogicalUnits: u8, - pub InitiatorBusId: u8, - pub InquiryDataOffset: u32, -} -impl ::core::marker::Copy for SCSI_BUS_DATA {} -impl ::core::clone::Clone for SCSI_BUS_DATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct SCSI_INQUIRY_DATA { - pub PathId: u8, - pub TargetId: u8, - pub Lun: u8, - pub DeviceClaimed: super::super::Foundation::BOOLEAN, - pub InquiryDataLength: u32, - pub NextInquiryDataOffset: u32, - pub InquiryData: [u8; 1], -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for SCSI_INQUIRY_DATA {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for SCSI_INQUIRY_DATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SCSI_LUN_LIST { - pub OSLUN: u32, - pub TargetLUN: u64, -} -impl ::core::marker::Copy for SCSI_LUN_LIST {} -impl ::core::clone::Clone for SCSI_LUN_LIST { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SCSI_PASS_THROUGH { - pub Length: u16, - pub ScsiStatus: u8, - pub PathId: u8, - pub TargetId: u8, - pub Lun: u8, - pub CdbLength: u8, - pub SenseInfoLength: u8, - pub DataIn: u8, - pub DataTransferLength: u32, - pub TimeOutValue: u32, - pub DataBufferOffset: usize, - pub SenseInfoOffset: u32, - pub Cdb: [u8; 16], -} -impl ::core::marker::Copy for SCSI_PASS_THROUGH {} -impl ::core::clone::Clone for SCSI_PASS_THROUGH { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct SCSI_PASS_THROUGH32 { - pub Length: u16, - pub ScsiStatus: u8, - pub PathId: u8, - pub TargetId: u8, - pub Lun: u8, - pub CdbLength: u8, - pub SenseInfoLength: u8, - pub DataIn: u8, - pub DataTransferLength: u32, - pub TimeOutValue: u32, - pub DataBufferOffset: u32, - pub SenseInfoOffset: u32, - pub Cdb: [u8; 16], -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for SCSI_PASS_THROUGH32 {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for SCSI_PASS_THROUGH32 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct SCSI_PASS_THROUGH32_EX { - pub Version: u32, - pub Length: u32, - pub CdbLength: u32, - pub StorAddressLength: u32, - pub ScsiStatus: u8, - pub SenseInfoLength: u8, - pub DataDirection: u8, - pub Reserved: u8, - pub TimeOutValue: u32, - pub StorAddressOffset: u32, - pub SenseInfoOffset: u32, - pub DataOutTransferLength: u32, - pub DataInTransferLength: u32, - pub DataOutBufferOffset: u32, - pub DataInBufferOffset: u32, - pub Cdb: [u8; 1], -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for SCSI_PASS_THROUGH32_EX {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for SCSI_PASS_THROUGH32_EX { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SCSI_PASS_THROUGH_DIRECT { - pub Length: u16, - pub ScsiStatus: u8, - pub PathId: u8, - pub TargetId: u8, - pub Lun: u8, - pub CdbLength: u8, - pub SenseInfoLength: u8, - pub DataIn: u8, - pub DataTransferLength: u32, - pub TimeOutValue: u32, - pub DataBuffer: *mut ::core::ffi::c_void, - pub SenseInfoOffset: u32, - pub Cdb: [u8; 16], -} -impl ::core::marker::Copy for SCSI_PASS_THROUGH_DIRECT {} -impl ::core::clone::Clone for SCSI_PASS_THROUGH_DIRECT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct SCSI_PASS_THROUGH_DIRECT32 { - pub Length: u16, - pub ScsiStatus: u8, - pub PathId: u8, - pub TargetId: u8, - pub Lun: u8, - pub CdbLength: u8, - pub SenseInfoLength: u8, - pub DataIn: u8, - pub DataTransferLength: u32, - pub TimeOutValue: u32, - pub DataBuffer: *mut ::core::ffi::c_void, - pub SenseInfoOffset: u32, - pub Cdb: [u8; 16], -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for SCSI_PASS_THROUGH_DIRECT32 {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for SCSI_PASS_THROUGH_DIRECT32 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct SCSI_PASS_THROUGH_DIRECT32_EX { - pub Version: u32, - pub Length: u32, - pub CdbLength: u32, - pub StorAddressLength: u32, - pub ScsiStatus: u8, - pub SenseInfoLength: u8, - pub DataDirection: u8, - pub Reserved: u8, - pub TimeOutValue: u32, - pub StorAddressOffset: u32, - pub SenseInfoOffset: u32, - pub DataOutTransferLength: u32, - pub DataInTransferLength: u32, - pub DataOutBuffer: *mut ::core::ffi::c_void, - pub DataInBuffer: *mut ::core::ffi::c_void, - pub Cdb: [u8; 1], -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for SCSI_PASS_THROUGH_DIRECT32_EX {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for SCSI_PASS_THROUGH_DIRECT32_EX { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SCSI_PASS_THROUGH_DIRECT_EX { - pub Version: u32, - pub Length: u32, - pub CdbLength: u32, - pub StorAddressLength: u32, - pub ScsiStatus: u8, - pub SenseInfoLength: u8, - pub DataDirection: u8, - pub Reserved: u8, - pub TimeOutValue: u32, - pub StorAddressOffset: u32, - pub SenseInfoOffset: u32, - pub DataOutTransferLength: u32, - pub DataInTransferLength: u32, - pub DataOutBuffer: *mut ::core::ffi::c_void, - pub DataInBuffer: *mut ::core::ffi::c_void, - pub Cdb: [u8; 1], -} -impl ::core::marker::Copy for SCSI_PASS_THROUGH_DIRECT_EX {} -impl ::core::clone::Clone for SCSI_PASS_THROUGH_DIRECT_EX { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SCSI_PASS_THROUGH_EX { - pub Version: u32, - pub Length: u32, - pub CdbLength: u32, - pub StorAddressLength: u32, - pub ScsiStatus: u8, - pub SenseInfoLength: u8, - pub DataDirection: u8, - pub Reserved: u8, - pub TimeOutValue: u32, - pub StorAddressOffset: u32, - pub SenseInfoOffset: u32, - pub DataOutTransferLength: u32, - pub DataInTransferLength: u32, - pub DataOutBufferOffset: usize, - pub DataInBufferOffset: usize, - pub Cdb: [u8; 1], -} -impl ::core::marker::Copy for SCSI_PASS_THROUGH_EX {} -impl ::core::clone::Clone for SCSI_PASS_THROUGH_EX { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SRB_IO_CONTROL { - pub HeaderLength: u32, - pub Signature: [u8; 8], - pub Timeout: u32, - pub ControlCode: u32, - pub ReturnCode: u32, - pub Length: u32, -} -impl ::core::marker::Copy for SRB_IO_CONTROL {} -impl ::core::clone::Clone for SRB_IO_CONTROL { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct STORAGE_DIAGNOSTIC_MP_REQUEST { - pub Version: u32, - pub Size: u32, - pub TargetType: MP_STORAGE_DIAGNOSTIC_TARGET_TYPE, - pub Level: MP_STORAGE_DIAGNOSTIC_LEVEL, - pub ProviderId: ::windows_sys::core::GUID, - pub BufferSize: u32, - pub Reserved: u32, - pub DataBuffer: [u8; 1], -} -impl ::core::marker::Copy for STORAGE_DIAGNOSTIC_MP_REQUEST {} -impl ::core::clone::Clone for STORAGE_DIAGNOSTIC_MP_REQUEST { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct STORAGE_ENDURANCE_DATA_DESCRIPTOR { - pub Version: u32, - pub Size: u32, - pub EnduranceInfo: STORAGE_ENDURANCE_INFO, -} -impl ::core::marker::Copy for STORAGE_ENDURANCE_DATA_DESCRIPTOR {} -impl ::core::clone::Clone for STORAGE_ENDURANCE_DATA_DESCRIPTOR { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct STORAGE_ENDURANCE_INFO { - pub ValidFields: u32, - pub GroupId: u32, - pub Flags: STORAGE_ENDURANCE_INFO_0, - pub LifePercentage: u32, - pub BytesReadCount: [u8; 16], - pub ByteWriteCount: [u8; 16], -} -impl ::core::marker::Copy for STORAGE_ENDURANCE_INFO {} -impl ::core::clone::Clone for STORAGE_ENDURANCE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct STORAGE_ENDURANCE_INFO_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for STORAGE_ENDURANCE_INFO_0 {} -impl ::core::clone::Clone for STORAGE_ENDURANCE_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct STORAGE_FIRMWARE_ACTIVATE { - pub Version: u32, - pub Size: u32, - pub SlotToActivate: u8, - pub Reserved0: [u8; 3], -} -impl ::core::marker::Copy for STORAGE_FIRMWARE_ACTIVATE {} -impl ::core::clone::Clone for STORAGE_FIRMWARE_ACTIVATE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct STORAGE_FIRMWARE_DOWNLOAD { - pub Version: u32, - pub Size: u32, - pub Offset: u64, - pub BufferSize: u64, - pub ImageBuffer: [u8; 1], -} -impl ::core::marker::Copy for STORAGE_FIRMWARE_DOWNLOAD {} -impl ::core::clone::Clone for STORAGE_FIRMWARE_DOWNLOAD { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct STORAGE_FIRMWARE_DOWNLOAD_V2 { - pub Version: u32, - pub Size: u32, - pub Offset: u64, - pub BufferSize: u64, - pub Slot: u8, - pub Reserved: [u8; 3], - pub ImageSize: u32, - pub ImageBuffer: [u8; 1], -} -impl ::core::marker::Copy for STORAGE_FIRMWARE_DOWNLOAD_V2 {} -impl ::core::clone::Clone for STORAGE_FIRMWARE_DOWNLOAD_V2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct STORAGE_FIRMWARE_INFO { - pub Version: u32, - pub Size: u32, - pub UpgradeSupport: super::super::Foundation::BOOLEAN, - pub SlotCount: u8, - pub ActiveSlot: u8, - pub PendingActivateSlot: u8, - pub Reserved: u32, - pub Slot: [STORAGE_FIRMWARE_SLOT_INFO; 1], -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for STORAGE_FIRMWARE_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for STORAGE_FIRMWARE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct STORAGE_FIRMWARE_INFO_V2 { - pub Version: u32, - pub Size: u32, - pub UpgradeSupport: super::super::Foundation::BOOLEAN, - pub SlotCount: u8, - pub ActiveSlot: u8, - pub PendingActivateSlot: u8, - pub FirmwareShared: super::super::Foundation::BOOLEAN, - pub Reserved: [u8; 3], - pub ImagePayloadAlignment: u32, - pub ImagePayloadMaxSize: u32, - pub Slot: [STORAGE_FIRMWARE_SLOT_INFO_V2; 1], -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for STORAGE_FIRMWARE_INFO_V2 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for STORAGE_FIRMWARE_INFO_V2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct STORAGE_FIRMWARE_SLOT_INFO { - pub SlotNumber: u8, - pub ReadOnly: super::super::Foundation::BOOLEAN, - pub Reserved: [u8; 6], - pub Revision: STORAGE_FIRMWARE_SLOT_INFO_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for STORAGE_FIRMWARE_SLOT_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for STORAGE_FIRMWARE_SLOT_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union STORAGE_FIRMWARE_SLOT_INFO_0 { - pub Info: [u8; 8], - pub AsUlonglong: u64, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for STORAGE_FIRMWARE_SLOT_INFO_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for STORAGE_FIRMWARE_SLOT_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct STORAGE_FIRMWARE_SLOT_INFO_V2 { - pub SlotNumber: u8, - pub ReadOnly: super::super::Foundation::BOOLEAN, - pub Reserved: [u8; 6], - pub Revision: [u8; 16], -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for STORAGE_FIRMWARE_SLOT_INFO_V2 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for STORAGE_FIRMWARE_SLOT_INFO_V2 { - fn clone(&self) -> Self { - *self - } -} -pub type _ADAPTER_OBJECT = isize; -pub type PDUMP_DEVICE_POWERON_ROUTINE = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void) -> i32>; diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/Jet/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/Jet/mod.rs deleted file mode 100644 index 381caa5..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Storage/Jet/mod.rs +++ /dev/null @@ -1,3343 +0,0 @@ -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetAddColumnA(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szcolumnname : *const i8, pcolumndef : *const JET_COLUMNDEF, pvdefault : *const ::core::ffi::c_void, cbdefault : u32, pcolumnid : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetAddColumnW(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szcolumnname : *const u16, pcolumndef : *const JET_COLUMNDEF, pvdefault : *const ::core::ffi::c_void, cbdefault : u32, pcolumnid : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetAttachDatabase2A(sesid : super::StructuredStorage:: JET_SESID, szfilename : *const i8, cpgdatabasesizemax : u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetAttachDatabase2W(sesid : super::StructuredStorage:: JET_SESID, szfilename : *const u16, cpgdatabasesizemax : u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetAttachDatabaseA(sesid : super::StructuredStorage:: JET_SESID, szfilename : *const i8, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetAttachDatabaseW(sesid : super::StructuredStorage:: JET_SESID, szfilename : *const u16, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetBackupA(szbackuppath : *const i8, grbit : u32, pfnstatus : JET_PFNSTATUS) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetBackupInstanceA(instance : super::StructuredStorage:: JET_INSTANCE, szbackuppath : *const i8, grbit : u32, pfnstatus : JET_PFNSTATUS) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetBackupInstanceW(instance : super::StructuredStorage:: JET_INSTANCE, szbackuppath : *const u16, grbit : u32, pfnstatus : JET_PFNSTATUS) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetBackupW(szbackuppath : *const u16, grbit : u32, pfnstatus : JET_PFNSTATUS) -> i32); -::windows_targets::link!("esent.dll" "system" fn JetBeginExternalBackup(grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetBeginExternalBackupInstance(instance : super::StructuredStorage:: JET_INSTANCE, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetBeginSessionA(instance : super::StructuredStorage:: JET_INSTANCE, psesid : *mut super::StructuredStorage:: JET_SESID, szusername : *const i8, szpassword : *const i8) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetBeginSessionW(instance : super::StructuredStorage:: JET_INSTANCE, psesid : *mut super::StructuredStorage:: JET_SESID, szusername : *const u16, szpassword : *const u16) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetBeginTransaction(sesid : super::StructuredStorage:: JET_SESID) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetBeginTransaction2(sesid : super::StructuredStorage:: JET_SESID, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetBeginTransaction3(sesid : super::StructuredStorage:: JET_SESID, trxid : i64, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCloseDatabase(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCloseFile(hffile : super::StructuredStorage:: JET_HANDLE) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCloseFileInstance(instance : super::StructuredStorage:: JET_INSTANCE, hffile : super::StructuredStorage:: JET_HANDLE) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCloseTable(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCommitTransaction(sesid : super::StructuredStorage:: JET_SESID, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCommitTransaction2(sesid : super::StructuredStorage:: JET_SESID, grbit : u32, cmsecdurablecommit : u32, pcommitid : *mut JET_COMMIT_ID) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCompactA(sesid : super::StructuredStorage:: JET_SESID, szdatabasesrc : *const i8, szdatabasedest : *const i8, pfnstatus : JET_PFNSTATUS, pconvert : *const JET_CONVERT_A, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCompactW(sesid : super::StructuredStorage:: JET_SESID, szdatabasesrc : *const u16, szdatabasedest : *const u16, pfnstatus : JET_PFNSTATUS, pconvert : *const JET_CONVERT_W, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetComputeStats(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID) -> i32); -::windows_targets::link!("esent.dll" "system" fn JetConfigureProcessForCrashDump(grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateDatabase2A(sesid : super::StructuredStorage:: JET_SESID, szfilename : *const i8, cpgdatabasesizemax : u32, pdbid : *mut u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateDatabase2W(sesid : super::StructuredStorage:: JET_SESID, szfilename : *const u16, cpgdatabasesizemax : u32, pdbid : *mut u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateDatabaseA(sesid : super::StructuredStorage:: JET_SESID, szfilename : *const i8, szconnect : *const i8, pdbid : *mut u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateDatabaseW(sesid : super::StructuredStorage:: JET_SESID, szfilename : *const u16, szconnect : *const u16, pdbid : *mut u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateIndex2A(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, pindexcreate : *const JET_INDEXCREATE_A, cindexcreate : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateIndex2W(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, pindexcreate : *const JET_INDEXCREATE_W, cindexcreate : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateIndex3A(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, pindexcreate : *const JET_INDEXCREATE2_A, cindexcreate : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateIndex3W(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, pindexcreate : *const JET_INDEXCREATE2_W, cindexcreate : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateIndex4A(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, pindexcreate : *const JET_INDEXCREATE3_A, cindexcreate : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateIndex4W(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, pindexcreate : *const JET_INDEXCREATE3_W, cindexcreate : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateIndexA(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szindexname : *const i8, grbit : u32, szkey : ::windows_sys::core::PCSTR, cbkey : u32, ldensity : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateIndexW(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szindexname : *const u16, grbit : u32, szkey : ::windows_sys::core::PCWSTR, cbkey : u32, ldensity : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateInstance2A(pinstance : *mut super::StructuredStorage:: JET_INSTANCE, szinstancename : *const i8, szdisplayname : *const i8, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateInstance2W(pinstance : *mut super::StructuredStorage:: JET_INSTANCE, szinstancename : *const u16, szdisplayname : *const u16, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateInstanceA(pinstance : *mut super::StructuredStorage:: JET_INSTANCE, szinstancename : *const i8) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateInstanceW(pinstance : *mut super::StructuredStorage:: JET_INSTANCE, szinstancename : *const u16) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateTableA(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, sztablename : *const i8, lpages : u32, ldensity : u32, ptableid : *mut super::StructuredStorage:: JET_TABLEID) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateTableColumnIndex2A(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, ptablecreate : *mut JET_TABLECREATE2_A) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateTableColumnIndex2W(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, ptablecreate : *mut JET_TABLECREATE2_W) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateTableColumnIndex3A(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, ptablecreate : *mut JET_TABLECREATE3_A) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateTableColumnIndex3W(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, ptablecreate : *mut JET_TABLECREATE3_W) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateTableColumnIndex4A(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, ptablecreate : *mut JET_TABLECREATE4_A) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateTableColumnIndex4W(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, ptablecreate : *mut JET_TABLECREATE4_W) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateTableColumnIndexA(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, ptablecreate : *mut JET_TABLECREATE_A) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateTableColumnIndexW(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, ptablecreate : *mut JET_TABLECREATE_W) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetCreateTableW(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, sztablename : *const u16, lpages : u32, ldensity : u32, ptableid : *mut super::StructuredStorage:: JET_TABLEID) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetDefragment2A(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, sztablename : *const i8, pcpasses : *mut u32, pcseconds : *mut u32, callback : JET_CALLBACK, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetDefragment2W(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, sztablename : *const u16, pcpasses : *mut u32, pcseconds : *mut u32, callback : JET_CALLBACK, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetDefragment3A(sesid : super::StructuredStorage:: JET_SESID, szdatabasename : *const i8, sztablename : *const i8, pcpasses : *mut u32, pcseconds : *mut u32, callback : JET_CALLBACK, pvcontext : *const ::core::ffi::c_void, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetDefragment3W(sesid : super::StructuredStorage:: JET_SESID, szdatabasename : *const u16, sztablename : *const u16, pcpasses : *mut u32, pcseconds : *mut u32, callback : JET_CALLBACK, pvcontext : *const ::core::ffi::c_void, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetDefragmentA(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, sztablename : *const i8, pcpasses : *mut u32, pcseconds : *mut u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetDefragmentW(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, sztablename : *const u16, pcpasses : *mut u32, pcseconds : *mut u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetDelete(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetDeleteColumn2A(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szcolumnname : *const i8, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetDeleteColumn2W(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szcolumnname : *const u16, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetDeleteColumnA(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szcolumnname : *const i8) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetDeleteColumnW(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szcolumnname : *const u16) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetDeleteIndexA(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szindexname : *const i8) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetDeleteIndexW(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szindexname : *const u16) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetDeleteTableA(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, sztablename : *const i8) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetDeleteTableW(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, sztablename : *const u16) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetDetachDatabase2A(sesid : super::StructuredStorage:: JET_SESID, szfilename : *const i8, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetDetachDatabase2W(sesid : super::StructuredStorage:: JET_SESID, szfilename : *const u16, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetDetachDatabaseA(sesid : super::StructuredStorage:: JET_SESID, szfilename : *const i8) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetDetachDatabaseW(sesid : super::StructuredStorage:: JET_SESID, szfilename : *const u16) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetDupCursor(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, ptableid : *mut super::StructuredStorage:: JET_TABLEID, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetDupSession(sesid : super::StructuredStorage:: JET_SESID, psesid : *mut super::StructuredStorage:: JET_SESID) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetEnableMultiInstanceA(psetsysparam : *const JET_SETSYSPARAM_A, csetsysparam : u32, pcsetsucceed : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetEnableMultiInstanceW(psetsysparam : *const JET_SETSYSPARAM_W, csetsysparam : u32, pcsetsucceed : *mut u32) -> i32); -::windows_targets::link!("esent.dll" "system" fn JetEndExternalBackup() -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetEndExternalBackupInstance(instance : super::StructuredStorage:: JET_INSTANCE) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetEndExternalBackupInstance2(instance : super::StructuredStorage:: JET_INSTANCE, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetEndSession(sesid : super::StructuredStorage:: JET_SESID, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetEnumerateColumns(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, cenumcolumnid : u32, rgenumcolumnid : *const JET_ENUMCOLUMNID, pcenumcolumn : *mut u32, prgenumcolumn : *mut *mut JET_ENUMCOLUMN, pfnrealloc : JET_PFNREALLOC, pvrealloccontext : *const ::core::ffi::c_void, cbdatamost : u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetEscrowUpdate(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, columnid : u32, pv : *const ::core::ffi::c_void, cbmax : u32, pvold : *mut ::core::ffi::c_void, cboldmax : u32, pcboldactual : *mut u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetExternalRestore2A(szcheckpointfilepath : *const i8, szlogpath : *const i8, rgrstmap : *const JET_RSTMAP_A, crstfilemap : i32, szbackuplogpath : *const i8, ploginfo : *mut JET_LOGINFO_A, sztargetinstancename : *const i8, sztargetinstancelogpath : *const i8, sztargetinstancecheckpointpath : *const i8, pfn : JET_PFNSTATUS) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetExternalRestore2W(szcheckpointfilepath : *const u16, szlogpath : *const u16, rgrstmap : *const JET_RSTMAP_W, crstfilemap : i32, szbackuplogpath : *const u16, ploginfo : *mut JET_LOGINFO_W, sztargetinstancename : *const u16, sztargetinstancelogpath : *const u16, sztargetinstancecheckpointpath : *const u16, pfn : JET_PFNSTATUS) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetExternalRestoreA(szcheckpointfilepath : *const i8, szlogpath : *const i8, rgrstmap : *const JET_RSTMAP_A, crstfilemap : i32, szbackuplogpath : *const i8, genlow : i32, genhigh : i32, pfn : JET_PFNSTATUS) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetExternalRestoreW(szcheckpointfilepath : *const u16, szlogpath : *const u16, rgrstmap : *const JET_RSTMAP_W, crstfilemap : i32, szbackuplogpath : *const u16, genlow : i32, genhigh : i32, pfn : JET_PFNSTATUS) -> i32); -::windows_targets::link!("esent.dll" "system" fn JetFreeBuffer(pbbuf : ::windows_sys::core::PCSTR) -> i32); -::windows_targets::link!("esent.dll" "system" fn JetGetAttachInfoA(szzdatabases : *mut i8, cbmax : u32, pcbactual : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetAttachInfoInstanceA(instance : super::StructuredStorage:: JET_INSTANCE, szzdatabases : *mut i8, cbmax : u32, pcbactual : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetAttachInfoInstanceW(instance : super::StructuredStorage:: JET_INSTANCE, szzdatabases : *mut u16, cbmax : u32, pcbactual : *mut u32) -> i32); -::windows_targets::link!("esent.dll" "system" fn JetGetAttachInfoW(wszzdatabases : *mut u16, cbmax : u32, pcbactual : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetBookmark(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, pvbookmark : *mut ::core::ffi::c_void, cbmax : u32, pcbactual : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetColumnInfoA(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, sztablename : *const i8, pcolumnnameorid : *const i8, pvresult : *mut ::core::ffi::c_void, cbmax : u32, infolevel : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetColumnInfoW(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, sztablename : *const u16, pwcolumnnameorid : *const u16, pvresult : *mut ::core::ffi::c_void, cbmax : u32, infolevel : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetCurrentIndexA(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szindexname : *mut i8, cbindexname : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetCurrentIndexW(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szindexname : *mut u16, cbindexname : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetCursorInfo(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, pvresult : *mut ::core::ffi::c_void, cbmax : u32, infolevel : u32) -> i32); -::windows_targets::link!("esent.dll" "system" fn JetGetDatabaseFileInfoA(szdatabasename : *const i8, pvresult : *mut ::core::ffi::c_void, cbmax : u32, infolevel : u32) -> i32); -::windows_targets::link!("esent.dll" "system" fn JetGetDatabaseFileInfoW(szdatabasename : *const u16, pvresult : *mut ::core::ffi::c_void, cbmax : u32, infolevel : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetDatabaseInfoA(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, pvresult : *mut ::core::ffi::c_void, cbmax : u32, infolevel : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetDatabaseInfoW(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, pvresult : *mut ::core::ffi::c_void, cbmax : u32, infolevel : u32) -> i32); -::windows_targets::link!("esent.dll" "system" fn JetGetErrorInfoW(pvcontext : *const ::core::ffi::c_void, pvresult : *mut ::core::ffi::c_void, cbmax : u32, infolevel : u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetIndexInfoA(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, sztablename : *const i8, szindexname : *const i8, pvresult : *mut ::core::ffi::c_void, cbresult : u32, infolevel : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetIndexInfoW(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, sztablename : *const u16, szindexname : *const u16, pvresult : *mut ::core::ffi::c_void, cbresult : u32, infolevel : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetInstanceInfoA(pcinstanceinfo : *mut u32, painstanceinfo : *mut *mut JET_INSTANCE_INFO_A) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetInstanceInfoW(pcinstanceinfo : *mut u32, painstanceinfo : *mut *mut JET_INSTANCE_INFO_W) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetInstanceMiscInfo(instance : super::StructuredStorage:: JET_INSTANCE, pvresult : *mut ::core::ffi::c_void, cbmax : u32, infolevel : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetLS(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, pls : *mut JET_LS, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetLock(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, grbit : u32) -> i32); -::windows_targets::link!("esent.dll" "system" fn JetGetLogInfoA(szzlogs : *mut i8, cbmax : u32, pcbactual : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetLogInfoInstance2A(instance : super::StructuredStorage:: JET_INSTANCE, szzlogs : *mut i8, cbmax : u32, pcbactual : *mut u32, ploginfo : *mut JET_LOGINFO_A) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetLogInfoInstance2W(instance : super::StructuredStorage:: JET_INSTANCE, wszzlogs : *mut u16, cbmax : u32, pcbactual : *mut u32, ploginfo : *mut JET_LOGINFO_W) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetLogInfoInstanceA(instance : super::StructuredStorage:: JET_INSTANCE, szzlogs : *mut i8, cbmax : u32, pcbactual : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetLogInfoInstanceW(instance : super::StructuredStorage:: JET_INSTANCE, wszzlogs : *mut u16, cbmax : u32, pcbactual : *mut u32) -> i32); -::windows_targets::link!("esent.dll" "system" fn JetGetLogInfoW(szzlogs : *mut u16, cbmax : u32, pcbactual : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetObjectInfoA(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, objtyp : u32, szcontainername : *const i8, szobjectname : *const i8, pvresult : *mut ::core::ffi::c_void, cbmax : u32, infolevel : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetObjectInfoW(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, objtyp : u32, szcontainername : *const u16, szobjectname : *const u16, pvresult : *mut ::core::ffi::c_void, cbmax : u32, infolevel : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetRecordPosition(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, precpos : *mut JET_RECPOS, cbrecpos : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetRecordSize(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, precsize : *mut JET_RECSIZE, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetRecordSize2(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, precsize : *mut JET_RECSIZE2, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetSecondaryIndexBookmark(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, pvsecondarykey : *mut ::core::ffi::c_void, cbsecondarykeymax : u32, pcbsecondarykeyactual : *mut u32, pvprimarybookmark : *mut ::core::ffi::c_void, cbprimarybookmarkmax : u32, pcbprimarybookmarkactual : *mut u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetSessionParameter(sesid : super::StructuredStorage:: JET_SESID, sesparamid : u32, pvparam : *mut ::core::ffi::c_void, cbparammax : u32, pcbparamactual : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetSystemParameterA(instance : super::StructuredStorage:: JET_INSTANCE, sesid : super::StructuredStorage:: JET_SESID, paramid : u32, plparam : *mut super::StructuredStorage:: JET_API_PTR, szparam : *mut i8, cbmax : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetSystemParameterW(instance : super::StructuredStorage:: JET_INSTANCE, sesid : super::StructuredStorage:: JET_SESID, paramid : u32, plparam : *mut super::StructuredStorage:: JET_API_PTR, szparam : *mut u16, cbmax : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetTableColumnInfoA(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szcolumnname : *const i8, pvresult : *mut ::core::ffi::c_void, cbmax : u32, infolevel : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetTableColumnInfoW(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szcolumnname : *const u16, pvresult : *mut ::core::ffi::c_void, cbmax : u32, infolevel : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetTableIndexInfoA(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szindexname : *const i8, pvresult : *mut ::core::ffi::c_void, cbresult : u32, infolevel : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetTableIndexInfoW(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szindexname : *const u16, pvresult : *mut ::core::ffi::c_void, cbresult : u32, infolevel : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetTableInfoA(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, pvresult : *mut ::core::ffi::c_void, cbmax : u32, infolevel : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetTableInfoW(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, pvresult : *mut ::core::ffi::c_void, cbmax : u32, infolevel : u32) -> i32); -::windows_targets::link!("esent.dll" "system" fn JetGetThreadStats(pvresult : *mut ::core::ffi::c_void, cbmax : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetTruncateLogInfoInstanceA(instance : super::StructuredStorage:: JET_INSTANCE, szzlogs : *mut i8, cbmax : u32, pcbactual : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetTruncateLogInfoInstanceW(instance : super::StructuredStorage:: JET_INSTANCE, wszzlogs : *mut u16, cbmax : u32, pcbactual : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGetVersion(sesid : super::StructuredStorage:: JET_SESID, pwversion : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGotoBookmark(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, pvbookmark : *const ::core::ffi::c_void, cbbookmark : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGotoPosition(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, precpos : *const JET_RECPOS) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGotoSecondaryIndexBookmark(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, pvsecondarykey : *const ::core::ffi::c_void, cbsecondarykey : u32, pvprimarybookmark : *const ::core::ffi::c_void, cbprimarybookmark : u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetGrowDatabase(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, cpg : u32, pcpgreal : *const u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetIdle(sesid : super::StructuredStorage:: JET_SESID, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetIndexRecordCount(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, pcrec : *mut u32, crecmax : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetInit(pinstance : *mut super::StructuredStorage:: JET_INSTANCE) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetInit2(pinstance : *mut super::StructuredStorage:: JET_INSTANCE, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetInit3A(pinstance : *mut super::StructuredStorage:: JET_INSTANCE, prstinfo : *const JET_RSTINFO_A, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetInit3W(pinstance : *mut super::StructuredStorage:: JET_INSTANCE, prstinfo : *const JET_RSTINFO_W, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetIntersectIndexes(sesid : super::StructuredStorage:: JET_SESID, rgindexrange : *const JET_INDEXRANGE, cindexrange : u32, precordlist : *mut JET_RECORDLIST, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetMakeKey(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, pvdata : *const ::core::ffi::c_void, cbdata : u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetMove(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, crow : i32, grbit : u32) -> i32); -::windows_targets::link!("esent.dll" "system" fn JetOSSnapshotAbort(snapid : JET_OSSNAPID, grbit : u32) -> i32); -::windows_targets::link!("esent.dll" "system" fn JetOSSnapshotEnd(snapid : JET_OSSNAPID, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetOSSnapshotFreezeA(snapid : JET_OSSNAPID, pcinstanceinfo : *mut u32, painstanceinfo : *mut *mut JET_INSTANCE_INFO_A, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetOSSnapshotFreezeW(snapid : JET_OSSNAPID, pcinstanceinfo : *mut u32, painstanceinfo : *mut *mut JET_INSTANCE_INFO_W, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetOSSnapshotGetFreezeInfoA(snapid : JET_OSSNAPID, pcinstanceinfo : *mut u32, painstanceinfo : *mut *mut JET_INSTANCE_INFO_A, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetOSSnapshotGetFreezeInfoW(snapid : JET_OSSNAPID, pcinstanceinfo : *mut u32, painstanceinfo : *mut *mut JET_INSTANCE_INFO_W, grbit : u32) -> i32); -::windows_targets::link!("esent.dll" "system" fn JetOSSnapshotPrepare(psnapid : *mut JET_OSSNAPID, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetOSSnapshotPrepareInstance(snapid : JET_OSSNAPID, instance : super::StructuredStorage:: JET_INSTANCE, grbit : u32) -> i32); -::windows_targets::link!("esent.dll" "system" fn JetOSSnapshotThaw(snapid : JET_OSSNAPID, grbit : u32) -> i32); -::windows_targets::link!("esent.dll" "system" fn JetOSSnapshotTruncateLog(snapid : JET_OSSNAPID, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetOSSnapshotTruncateLogInstance(snapid : JET_OSSNAPID, instance : super::StructuredStorage:: JET_INSTANCE, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetOpenDatabaseA(sesid : super::StructuredStorage:: JET_SESID, szfilename : *const i8, szconnect : *const i8, pdbid : *mut u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetOpenDatabaseW(sesid : super::StructuredStorage:: JET_SESID, szfilename : *const u16, szconnect : *const u16, pdbid : *mut u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetOpenFileA(szfilename : *const i8, phffile : *mut super::StructuredStorage:: JET_HANDLE, pulfilesizelow : *mut u32, pulfilesizehigh : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetOpenFileInstanceA(instance : super::StructuredStorage:: JET_INSTANCE, szfilename : *const i8, phffile : *mut super::StructuredStorage:: JET_HANDLE, pulfilesizelow : *mut u32, pulfilesizehigh : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetOpenFileInstanceW(instance : super::StructuredStorage:: JET_INSTANCE, szfilename : *const u16, phffile : *mut super::StructuredStorage:: JET_HANDLE, pulfilesizelow : *mut u32, pulfilesizehigh : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetOpenFileW(szfilename : *const u16, phffile : *mut super::StructuredStorage:: JET_HANDLE, pulfilesizelow : *mut u32, pulfilesizehigh : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetOpenTableA(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, sztablename : *const i8, pvparameters : *const ::core::ffi::c_void, cbparameters : u32, grbit : u32, ptableid : *mut super::StructuredStorage:: JET_TABLEID) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetOpenTableW(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, sztablename : *const u16, pvparameters : *const ::core::ffi::c_void, cbparameters : u32, grbit : u32, ptableid : *mut super::StructuredStorage:: JET_TABLEID) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetOpenTempTable(sesid : super::StructuredStorage:: JET_SESID, prgcolumndef : *const JET_COLUMNDEF, ccolumn : u32, grbit : u32, ptableid : *mut super::StructuredStorage:: JET_TABLEID, prgcolumnid : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetOpenTempTable2(sesid : super::StructuredStorage:: JET_SESID, prgcolumndef : *const JET_COLUMNDEF, ccolumn : u32, lcid : u32, grbit : u32, ptableid : *mut super::StructuredStorage:: JET_TABLEID, prgcolumnid : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetOpenTempTable3(sesid : super::StructuredStorage:: JET_SESID, prgcolumndef : *const JET_COLUMNDEF, ccolumn : u32, pidxunicode : *const JET_UNICODEINDEX, grbit : u32, ptableid : *mut super::StructuredStorage:: JET_TABLEID, prgcolumnid : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetOpenTemporaryTable(sesid : super::StructuredStorage:: JET_SESID, popentemporarytable : *const JET_OPENTEMPORARYTABLE) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetOpenTemporaryTable2(sesid : super::StructuredStorage:: JET_SESID, popentemporarytable : *const JET_OPENTEMPORARYTABLE2) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetPrepareUpdate(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, prep : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetPrereadIndexRanges(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, rgindexranges : *const JET_INDEX_RANGE, cindexranges : u32, pcrangespreread : *mut u32, rgcolumnidpreread : *const u32, ccolumnidpreread : u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetPrereadKeys(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, rgpvkeys : *const *const ::core::ffi::c_void, rgcbkeys : *const u32, ckeys : i32, pckeyspreread : *mut i32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetReadFile(hffile : super::StructuredStorage:: JET_HANDLE, pv : *mut ::core::ffi::c_void, cb : u32, pcbactual : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetReadFileInstance(instance : super::StructuredStorage:: JET_INSTANCE, hffile : super::StructuredStorage:: JET_HANDLE, pv : *mut ::core::ffi::c_void, cb : u32, pcbactual : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetRegisterCallback(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, cbtyp : u32, pcallback : JET_CALLBACK, pvcontext : *const ::core::ffi::c_void, phcallbackid : *const super::StructuredStorage:: JET_HANDLE) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetRenameColumnA(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szname : *const i8, sznamenew : *const i8, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetRenameColumnW(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szname : *const u16, sznamenew : *const u16, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetRenameTableA(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, szname : *const i8, sznamenew : *const i8) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetRenameTableW(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, szname : *const u16, sznamenew : *const u16) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetResetSessionContext(sesid : super::StructuredStorage:: JET_SESID) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetResetTableSequential(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetResizeDatabase(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, cpgtarget : u32, pcpgactual : *mut u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetRestore2A(sz : *const i8, szdest : *const i8, pfn : JET_PFNSTATUS) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetRestore2W(sz : *const u16, szdest : *const u16, pfn : JET_PFNSTATUS) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetRestoreA(szsource : *const i8, pfn : JET_PFNSTATUS) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetRestoreInstanceA(instance : super::StructuredStorage:: JET_INSTANCE, sz : *const i8, szdest : *const i8, pfn : JET_PFNSTATUS) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetRestoreInstanceW(instance : super::StructuredStorage:: JET_INSTANCE, sz : *const u16, szdest : *const u16, pfn : JET_PFNSTATUS) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetRestoreW(szsource : *const u16, pfn : JET_PFNSTATUS) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetRetrieveColumn(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, columnid : u32, pvdata : *mut ::core::ffi::c_void, cbdata : u32, pcbactual : *mut u32, grbit : u32, pretinfo : *mut JET_RETINFO) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetRetrieveColumns(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, pretrievecolumn : *mut JET_RETRIEVECOLUMN, cretrievecolumn : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetRetrieveKey(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, pvkey : *mut ::core::ffi::c_void, cbmax : u32, pcbactual : *mut u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetRollback(sesid : super::StructuredStorage:: JET_SESID, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSeek(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSetColumn(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, columnid : u32, pvdata : *const ::core::ffi::c_void, cbdata : u32, grbit : u32, psetinfo : *const JET_SETINFO) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSetColumnDefaultValueA(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, sztablename : *const i8, szcolumnname : *const i8, pvdata : *const ::core::ffi::c_void, cbdata : u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSetColumnDefaultValueW(sesid : super::StructuredStorage:: JET_SESID, dbid : u32, sztablename : *const u16, szcolumnname : *const u16, pvdata : *const ::core::ffi::c_void, cbdata : u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSetColumns(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, psetcolumn : *const JET_SETCOLUMN, csetcolumn : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSetCurrentIndex2A(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szindexname : *const i8, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSetCurrentIndex2W(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szindexname : *const u16, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSetCurrentIndex3A(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szindexname : *const i8, grbit : u32, itagsequence : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSetCurrentIndex3W(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szindexname : *const u16, grbit : u32, itagsequence : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSetCurrentIndex4A(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szindexname : *const i8, pindexid : *const JET_INDEXID, grbit : u32, itagsequence : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSetCurrentIndex4W(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szindexname : *const u16, pindexid : *const JET_INDEXID, grbit : u32, itagsequence : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSetCurrentIndexA(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szindexname : *const i8) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSetCurrentIndexW(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, szindexname : *const u16) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSetCursorFilter(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, rgcolumnfilters : *const JET_INDEX_COLUMN, ccolumnfilters : u32, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSetDatabaseSizeA(sesid : super::StructuredStorage:: JET_SESID, szdatabasename : *const i8, cpg : u32, pcpgreal : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSetDatabaseSizeW(sesid : super::StructuredStorage:: JET_SESID, szdatabasename : *const u16, cpg : u32, pcpgreal : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSetIndexRange(sesid : super::StructuredStorage:: JET_SESID, tableidsrc : super::StructuredStorage:: JET_TABLEID, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSetLS(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, ls : JET_LS, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSetSessionContext(sesid : super::StructuredStorage:: JET_SESID, ulcontext : super::StructuredStorage:: JET_API_PTR) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSetSessionParameter(sesid : super::StructuredStorage:: JET_SESID, sesparamid : u32, pvparam : *const ::core::ffi::c_void, cbparam : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSetSystemParameterA(pinstance : *mut super::StructuredStorage:: JET_INSTANCE, sesid : super::StructuredStorage:: JET_SESID, paramid : u32, lparam : super::StructuredStorage:: JET_API_PTR, szparam : *const i8) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSetSystemParameterW(pinstance : *mut super::StructuredStorage:: JET_INSTANCE, sesid : super::StructuredStorage:: JET_SESID, paramid : u32, lparam : super::StructuredStorage:: JET_API_PTR, szparam : *const u16) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetSetTableSequential(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, grbit : u32) -> i32); -::windows_targets::link!("esent.dll" "system" fn JetStopBackup() -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetStopBackupInstance(instance : super::StructuredStorage:: JET_INSTANCE) -> i32); -::windows_targets::link!("esent.dll" "system" fn JetStopService() -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetStopServiceInstance(instance : super::StructuredStorage:: JET_INSTANCE) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetStopServiceInstance2(instance : super::StructuredStorage:: JET_INSTANCE, grbit : u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetTerm(instance : super::StructuredStorage:: JET_INSTANCE) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetTerm2(instance : super::StructuredStorage:: JET_INSTANCE, grbit : u32) -> i32); -::windows_targets::link!("esent.dll" "system" fn JetTruncateLog() -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetTruncateLogInstance(instance : super::StructuredStorage:: JET_INSTANCE) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetUnregisterCallback(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, cbtyp : u32, hcallbackid : super::StructuredStorage:: JET_HANDLE) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetUpdate(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, pvbookmark : *mut ::core::ffi::c_void, cbbookmark : u32, pcbactual : *mut u32) -> i32); -#[cfg(feature = "Win32_Storage_StructuredStorage")] -::windows_targets::link!("esent.dll" "system" #[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] fn JetUpdate2(sesid : super::StructuredStorage:: JET_SESID, tableid : super::StructuredStorage:: JET_TABLEID, pvbookmark : *mut ::core::ffi::c_void, cbbookmark : u32, pcbactual : *mut u32, grbit : u32) -> i32); -pub const JET_BASE_NAME_LENGTH: u32 = 3u32; -pub const JET_ColInfoGrbitMinimalInfo: u32 = 1073741824u32; -pub const JET_ColInfoGrbitNonDerivedColumnsOnly: u32 = 2147483648u32; -pub const JET_ColInfoGrbitSortByColumnid: u32 = 536870912u32; -pub const JET_DbInfoCollate: u32 = 5u32; -pub const JET_DbInfoConnect: u32 = 1u32; -pub const JET_DbInfoCountry: u32 = 2u32; -pub const JET_DbInfoCp: u32 = 4u32; -pub const JET_DbInfoDBInUse: u32 = 15u32; -pub const JET_DbInfoFileType: u32 = 19u32; -pub const JET_DbInfoFilename: u32 = 0u32; -pub const JET_DbInfoFilesize: u32 = 10u32; -pub const JET_DbInfoFilesizeOnDisk: u32 = 21u32; -pub const JET_DbInfoIsam: u32 = 9u32; -pub const JET_DbInfoLCID: u32 = 3u32; -pub const JET_DbInfoLangid: u32 = 3u32; -pub const JET_DbInfoMisc: u32 = 14u32; -pub const JET_DbInfoOptions: u32 = 6u32; -pub const JET_DbInfoPageSize: u32 = 17u32; -pub const JET_DbInfoSpaceAvailable: u32 = 12u32; -pub const JET_DbInfoSpaceOwned: u32 = 11u32; -pub const JET_DbInfoTransactions: u32 = 7u32; -pub const JET_DbInfoUpgrade: u32 = 13u32; -pub const JET_DbInfoVersion: u32 = 8u32; -pub const JET_EventLoggingDisable: u32 = 0u32; -pub const JET_EventLoggingLevelHigh: u32 = 75u32; -pub const JET_EventLoggingLevelLow: u32 = 25u32; -pub const JET_EventLoggingLevelMax: u32 = 100u32; -pub const JET_EventLoggingLevelMedium: u32 = 50u32; -pub const JET_EventLoggingLevelMin: u32 = 1u32; -pub const JET_ExceptionFailFast: u32 = 4u32; -pub const JET_ExceptionMsgBox: u32 = 1u32; -pub const JET_ExceptionNone: u32 = 2u32; -pub const JET_IOPriorityLow: u32 = 1u32; -pub const JET_IOPriorityNormal: u32 = 0u32; -pub const JET_IndexCheckingDeferToOpenTable: JET_INDEXCHECKING = 2i32; -pub const JET_IndexCheckingMax: JET_INDEXCHECKING = 3i32; -pub const JET_IndexCheckingOff: JET_INDEXCHECKING = 0i32; -pub const JET_IndexCheckingOn: JET_INDEXCHECKING = 1i32; -pub const JET_MAX_COMPUTERNAME_LENGTH: u32 = 15u32; -pub const JET_MoveFirst: u32 = 2147483648u32; -pub const JET_MoveLast: u32 = 2147483647u32; -pub const JET_MovePrevious: i32 = -1i32; -pub const JET_OnlineDefragAll: u32 = 65535u32; -pub const JET_OnlineDefragAllOBSOLETE: u32 = 1u32; -pub const JET_OnlineDefragDatabases: u32 = 2u32; -pub const JET_OnlineDefragDisable: u32 = 0u32; -pub const JET_OnlineDefragSpaceTrees: u32 = 4u32; -pub const JET_VERSION: u32 = 1280u32; -pub const JET_bitAbortSnapshot: u32 = 1u32; -pub const JET_bitAllDatabasesSnapshot: u32 = 1u32; -pub const JET_bitBackupAtomic: u32 = 4u32; -pub const JET_bitBackupEndAbort: u32 = 2u32; -pub const JET_bitBackupEndNormal: u32 = 1u32; -pub const JET_bitBackupIncremental: u32 = 1u32; -pub const JET_bitBackupSnapshot: u32 = 16u32; -pub const JET_bitBackupTruncateDone: u32 = 256u32; -pub const JET_bitBookmarkPermitVirtualCurrency: u32 = 1u32; -pub const JET_bitCheckUniqueness: u32 = 64u32; -pub const JET_bitColumnAutoincrement: u32 = 16u32; -pub const JET_bitColumnCompressed: u32 = 524288u32; -pub const JET_bitColumnDeleteOnZero: u32 = 131072u32; -pub const JET_bitColumnEscrowUpdate: u32 = 2048u32; -pub const JET_bitColumnFinalize: u32 = 16384u32; -pub const JET_bitColumnFixed: u32 = 1u32; -pub const JET_bitColumnMaybeNull: u32 = 8192u32; -pub const JET_bitColumnMultiValued: u32 = 1024u32; -pub const JET_bitColumnNotNULL: u32 = 4u32; -pub const JET_bitColumnTTDescending: u32 = 128u32; -pub const JET_bitColumnTTKey: u32 = 64u32; -pub const JET_bitColumnTagged: u32 = 2u32; -pub const JET_bitColumnUnversioned: u32 = 4096u32; -pub const JET_bitColumnUpdatable: u32 = 32u32; -pub const JET_bitColumnUserDefinedDefault: u32 = 32768u32; -pub const JET_bitColumnVersion: u32 = 8u32; -pub const JET_bitCommitLazyFlush: u32 = 1u32; -pub const JET_bitCompactRepair: u32 = 64u32; -pub const JET_bitCompactStats: u32 = 32u32; -pub const JET_bitConfigStoreReadControlDefault: u32 = 0u32; -pub const JET_bitConfigStoreReadControlDisableAll: u32 = 2u32; -pub const JET_bitConfigStoreReadControlInhibitRead: u32 = 1u32; -pub const JET_bitContinueAfterThaw: u32 = 4u32; -pub const JET_bitCopySnapshot: u32 = 2u32; -pub const JET_bitCreateHintAppendSequential: u32 = 2u32; -pub const JET_bitCreateHintHotpointSequential: u32 = 4u32; -pub const JET_bitDbDeleteCorruptIndexes: u32 = 16u32; -pub const JET_bitDbDeleteUnicodeIndexes: u32 = 1024u32; -pub const JET_bitDbEnableBackgroundMaintenance: u32 = 2048u32; -pub const JET_bitDbExclusive: u32 = 2u32; -pub const JET_bitDbOverwriteExisting: u32 = 512u32; -pub const JET_bitDbPurgeCacheOnAttach: u32 = 4096u32; -pub const JET_bitDbReadOnly: u32 = 1u32; -pub const JET_bitDbRecoveryOff: u32 = 8u32; -pub const JET_bitDbShadowingOff: u32 = 128u32; -pub const JET_bitDbUpgrade: u32 = 512u32; -pub const JET_bitDefragmentAvailSpaceTreesOnly: u32 = 64u32; -pub const JET_bitDefragmentBTree: u32 = 256u32; -pub const JET_bitDefragmentBatchStart: u32 = 1u32; -pub const JET_bitDefragmentBatchStop: u32 = 2u32; -pub const JET_bitDefragmentNoPartialMerges: u32 = 128u32; -pub const JET_bitDeleteColumnIgnoreTemplateColumns: u32 = 1u32; -pub const JET_bitDeleteHintTableSequential: u32 = 256u32; -pub const JET_bitDumpCacheIncludeCachedPages: u32 = 32u32; -pub const JET_bitDumpCacheIncludeCorruptedPages: u32 = 64u32; -pub const JET_bitDumpCacheIncludeDirtyPages: u32 = 16u32; -pub const JET_bitDumpCacheMaximum: u32 = 8u32; -pub const JET_bitDumpCacheMinimum: u32 = 4u32; -pub const JET_bitDumpCacheNoDecommit: u32 = 128u32; -pub const JET_bitDumpMaximum: u32 = 2u32; -pub const JET_bitDumpMinimum: u32 = 1u32; -pub const JET_bitDurableCommitCallbackLogUnavailable: u32 = 1u32; -pub const JET_bitESE98FileNames: u32 = 1u32; -pub const JET_bitEightDotThreeSoftCompat: u32 = 2u32; -pub const JET_bitEnumerateCompressOutput: u32 = 524288u32; -pub const JET_bitEnumerateCopy: u32 = 1u32; -pub const JET_bitEnumerateIgnoreDefault: u32 = 32u32; -pub const JET_bitEnumerateIgnoreUserDefinedDefault: u32 = 1048576u32; -pub const JET_bitEnumerateInRecordOnly: u32 = 2097152u32; -pub const JET_bitEnumeratePresenceOnly: u32 = 131072u32; -pub const JET_bitEnumerateTaggedOnly: u32 = 262144u32; -pub const JET_bitEscrowNoRollback: u32 = 1u32; -pub const JET_bitExplicitPrepare: u32 = 8u32; -pub const JET_bitForceDetach: u32 = 1u32; -pub const JET_bitForceNewLog: u32 = 16u32; -pub const JET_bitFullColumnEndLimit: u32 = 512u32; -pub const JET_bitFullColumnStartLimit: u32 = 256u32; -pub const JET_bitHungIOEvent: u32 = 1u32; -pub const JET_bitIdleCompact: u32 = 2u32; -pub const JET_bitIdleFlushBuffers: u32 = 1u32; -pub const JET_bitIdleStatus: u32 = 4u32; -pub const JET_bitIncrementalSnapshot: u32 = 1u32; -pub const JET_bitIndexColumnMustBeNonNull: u32 = 2u32; -pub const JET_bitIndexColumnMustBeNull: u32 = 1u32; -pub const JET_bitIndexCrossProduct: u32 = 16384u32; -pub const JET_bitIndexDisallowNull: u32 = 4u32; -pub const JET_bitIndexDisallowTruncation: u32 = 65536u32; -pub const JET_bitIndexDotNetGuid: u32 = 262144u32; -pub const JET_bitIndexEmpty: u32 = 256u32; -pub const JET_bitIndexIgnoreAnyNull: u32 = 32u32; -pub const JET_bitIndexIgnoreFirstNull: u32 = 64u32; -pub const JET_bitIndexIgnoreNull: u32 = 8u32; -pub const JET_bitIndexImmutableStructure: u32 = 524288u32; -pub const JET_bitIndexKeyMost: u32 = 32768u32; -pub const JET_bitIndexLazyFlush: u32 = 128u32; -pub const JET_bitIndexNestedTable: u32 = 131072u32; -pub const JET_bitIndexPrimary: u32 = 2u32; -pub const JET_bitIndexSortNullsHigh: u32 = 1024u32; -pub const JET_bitIndexTupleLimits: u32 = 8192u32; -pub const JET_bitIndexTuples: u32 = 4096u32; -pub const JET_bitIndexUnicode: u32 = 2048u32; -pub const JET_bitIndexUnique: u32 = 1u32; -pub const JET_bitIndexUnversioned: u32 = 512u32; -pub const JET_bitKeepDbAttachedAtEndOfRecovery: u32 = 4096u32; -pub const JET_bitKeyAscending: u32 = 0u32; -pub const JET_bitKeyDataZeroLength: u32 = 16u32; -pub const JET_bitKeyDescending: u32 = 1u32; -pub const JET_bitLSCursor: u32 = 2u32; -pub const JET_bitLSReset: u32 = 1u32; -pub const JET_bitLSTable: u32 = 4u32; -pub const JET_bitLogStreamMustExist: u32 = 64u32; -pub const JET_bitMoveFirst: u32 = 0u32; -pub const JET_bitMoveKeyNE: u32 = 1u32; -pub const JET_bitNewKey: u32 = 1u32; -pub const JET_bitNoMove: u32 = 2u32; -pub const JET_bitNormalizedKey: u32 = 8u32; -pub const JET_bitObjectSystem: u32 = 2147483648u32; -pub const JET_bitObjectTableDerived: u32 = 268435456u32; -pub const JET_bitObjectTableFixedDDL: u32 = 1073741824u32; -pub const JET_bitObjectTableNoFixedVarColumnsInDerivedTables: u32 = 67108864u32; -pub const JET_bitObjectTableTemplate: u32 = 536870912u32; -pub const JET_bitPartialColumnEndLimit: u32 = 2048u32; -pub const JET_bitPartialColumnStartLimit: u32 = 1024u32; -pub const JET_bitPrereadBackward: u32 = 2u32; -pub const JET_bitPrereadFirstPage: u32 = 4u32; -pub const JET_bitPrereadForward: u32 = 1u32; -pub const JET_bitPrereadNormalizedKey: u32 = 8u32; -pub const JET_bitRangeInclusive: u32 = 1u32; -pub const JET_bitRangeInstantDuration: u32 = 4u32; -pub const JET_bitRangeRemove: u32 = 8u32; -pub const JET_bitRangeUpperLimit: u32 = 2u32; -pub const JET_bitReadLock: u32 = 1u32; -pub const JET_bitRecordInIndex: u32 = 1u32; -pub const JET_bitRecordNotInIndex: u32 = 2u32; -pub const JET_bitRecordSizeInCopyBuffer: u32 = 1u32; -pub const JET_bitRecordSizeLocal: u32 = 4u32; -pub const JET_bitRecordSizeRunningTotal: u32 = 2u32; -pub const JET_bitRecoveryWithoutUndo: u32 = 8u32; -pub const JET_bitReplayIgnoreLostLogs: u32 = 128u32; -pub const JET_bitReplayIgnoreMissingDB: u32 = 4u32; -pub const JET_bitReplayMissingMapEntryDB: u32 = 32u32; -pub const JET_bitResizeDatabaseOnlyGrow: u32 = 1u32; -pub const JET_bitResizeDatabaseOnlyShrink: u32 = 2u32; -pub const JET_bitRetrieveCopy: u32 = 1u32; -pub const JET_bitRetrieveFromIndex: u32 = 2u32; -pub const JET_bitRetrieveFromPrimaryBookmark: u32 = 4u32; -pub const JET_bitRetrieveHintReserve1: u32 = 8u32; -pub const JET_bitRetrieveHintReserve2: u32 = 64u32; -pub const JET_bitRetrieveHintReserve3: u32 = 128u32; -pub const JET_bitRetrieveHintTableScanBackward: u32 = 32u32; -pub const JET_bitRetrieveHintTableScanForward: u32 = 16u32; -pub const JET_bitRetrieveIgnoreDefault: u32 = 32u32; -pub const JET_bitRetrieveNull: u32 = 16u32; -pub const JET_bitRetrieveTag: u32 = 8u32; -pub const JET_bitRetrieveTuple: u32 = 2048u32; -pub const JET_bitRollbackAll: u32 = 1u32; -pub const JET_bitSeekEQ: u32 = 1u32; -pub const JET_bitSeekGE: u32 = 8u32; -pub const JET_bitSeekGT: u32 = 16u32; -pub const JET_bitSeekLE: u32 = 4u32; -pub const JET_bitSeekLT: u32 = 2u32; -pub const JET_bitSetAppendLV: u32 = 1u32; -pub const JET_bitSetCompressed: u32 = 131072u32; -pub const JET_bitSetContiguousLV: u32 = 262144u32; -pub const JET_bitSetIndexRange: u32 = 32u32; -pub const JET_bitSetIntrinsicLV: u32 = 1024u32; -pub const JET_bitSetOverwriteLV: u32 = 4u32; -pub const JET_bitSetRevertToDefaultValue: u32 = 512u32; -pub const JET_bitSetSeparateLV: u32 = 64u32; -pub const JET_bitSetSizeLV: u32 = 8u32; -pub const JET_bitSetUncompressed: u32 = 65536u32; -pub const JET_bitSetUniqueMultiValues: u32 = 128u32; -pub const JET_bitSetUniqueNormalizedMultiValues: u32 = 256u32; -pub const JET_bitSetZeroLength: u32 = 32u32; -pub const JET_bitShrinkDatabaseOff: u32 = 0u32; -pub const JET_bitShrinkDatabaseOn: u32 = 1u32; -pub const JET_bitShrinkDatabaseRealtime: u32 = 2u32; -pub const JET_bitShrinkDatabaseTrim: u32 = 1u32; -pub const JET_bitSpaceHintsUtilizeParentSpace: u32 = 1u32; -pub const JET_bitStopServiceAll: u32 = 0u32; -pub const JET_bitStopServiceBackgroundUserTasks: u32 = 2u32; -pub const JET_bitStopServiceQuiesceCaches: u32 = 4u32; -pub const JET_bitStopServiceResume: u32 = 2147483648u32; -pub const JET_bitStrLimit: u32 = 2u32; -pub const JET_bitSubStrLimit: u32 = 4u32; -pub const JET_bitTTDotNetGuid: u32 = 256u32; -pub const JET_bitTTErrorOnDuplicateInsertion: u32 = 32u32; -pub const JET_bitTTForceMaterialization: u32 = 32u32; -pub const JET_bitTTForwardOnly: u32 = 64u32; -pub const JET_bitTTIndexed: u32 = 1u32; -pub const JET_bitTTIntrinsicLVsOnly: u32 = 128u32; -pub const JET_bitTTScrollable: u32 = 8u32; -pub const JET_bitTTSortNullsHigh: u32 = 16u32; -pub const JET_bitTTUnique: u32 = 2u32; -pub const JET_bitTTUpdatable: u32 = 4u32; -pub const JET_bitTableClass1: u32 = 65536u32; -pub const JET_bitTableClass10: u32 = 655360u32; -pub const JET_bitTableClass11: u32 = 720896u32; -pub const JET_bitTableClass12: u32 = 786432u32; -pub const JET_bitTableClass13: u32 = 851968u32; -pub const JET_bitTableClass14: u32 = 917504u32; -pub const JET_bitTableClass15: u32 = 983040u32; -pub const JET_bitTableClass2: u32 = 131072u32; -pub const JET_bitTableClass3: u32 = 196608u32; -pub const JET_bitTableClass4: u32 = 262144u32; -pub const JET_bitTableClass5: u32 = 327680u32; -pub const JET_bitTableClass6: u32 = 393216u32; -pub const JET_bitTableClass7: u32 = 458752u32; -pub const JET_bitTableClass8: u32 = 524288u32; -pub const JET_bitTableClass9: u32 = 589824u32; -pub const JET_bitTableClassMask: u32 = 2031616u32; -pub const JET_bitTableClassNone: u32 = 0u32; -pub const JET_bitTableCreateFixedDDL: u32 = 1u32; -pub const JET_bitTableCreateImmutableStructure: u32 = 8u32; -pub const JET_bitTableCreateNoFixedVarColumnsInDerivedTables: u32 = 4u32; -pub const JET_bitTableCreateTemplateTable: u32 = 2u32; -pub const JET_bitTableDenyRead: u32 = 2u32; -pub const JET_bitTableDenyWrite: u32 = 1u32; -pub const JET_bitTableInfoBookmark: u32 = 2u32; -pub const JET_bitTableInfoRollback: u32 = 4u32; -pub const JET_bitTableInfoUpdatable: u32 = 1u32; -pub const JET_bitTableNoCache: u32 = 32u32; -pub const JET_bitTableOpportuneRead: u32 = 128u32; -pub const JET_bitTablePermitDDL: u32 = 16u32; -pub const JET_bitTablePreread: u32 = 64u32; -pub const JET_bitTableReadOnly: u32 = 4u32; -pub const JET_bitTableSequential: u32 = 32768u32; -pub const JET_bitTableUpdatable: u32 = 8u32; -pub const JET_bitTermAbrupt: u32 = 2u32; -pub const JET_bitTermComplete: u32 = 1u32; -pub const JET_bitTermDirty: u32 = 8u32; -pub const JET_bitTermStopBackup: u32 = 4u32; -pub const JET_bitTransactionReadOnly: u32 = 1u32; -pub const JET_bitTruncateLogsAfterRecovery: u32 = 16u32; -pub const JET_bitUpdateCheckESE97Compatibility: u32 = 1u32; -pub const JET_bitWaitAllLevel0Commit: u32 = 8u32; -pub const JET_bitWaitLastLevel0Commit: u32 = 2u32; -pub const JET_bitWriteLock: u32 = 2u32; -pub const JET_bitZeroLength: u32 = 1u32; -pub const JET_cbBookmarkMost: u32 = 256u32; -pub const JET_cbColumnLVPageOverhead: u32 = 82u32; -pub const JET_cbColumnMost: u32 = 255u32; -pub const JET_cbFullNameMost: u32 = 255u32; -pub const JET_cbKeyMost: u32 = 255u32; -pub const JET_cbKeyMost2KBytePage: u32 = 500u32; -pub const JET_cbKeyMost4KBytePage: u32 = 1000u32; -pub const JET_cbKeyMost8KBytePage: u32 = 2000u32; -pub const JET_cbKeyMostMin: u32 = 255u32; -pub const JET_cbLVColumnMost: u32 = 2147483647u32; -pub const JET_cbLVDefaultValueMost: u32 = 255u32; -pub const JET_cbLimitKeyMost: u32 = 256u32; -pub const JET_cbNameMost: u32 = 64u32; -pub const JET_cbPrimaryKeyMost: u32 = 255u32; -pub const JET_cbSecondaryKeyMost: u32 = 255u32; -pub const JET_cbtypAfterDelete: u32 = 64u32; -pub const JET_cbtypAfterInsert: u32 = 4u32; -pub const JET_cbtypAfterReplace: u32 = 16u32; -pub const JET_cbtypBeforeDelete: u32 = 32u32; -pub const JET_cbtypBeforeInsert: u32 = 2u32; -pub const JET_cbtypBeforeReplace: u32 = 8u32; -pub const JET_cbtypFinalize: u32 = 1u32; -pub const JET_cbtypFreeCursorLS: u32 = 512u32; -pub const JET_cbtypFreeTableLS: u32 = 1024u32; -pub const JET_cbtypNull: u32 = 0u32; -pub const JET_cbtypOnlineDefragCompleted: u32 = 256u32; -pub const JET_cbtypUserDefinedDefaultValue: u32 = 128u32; -pub const JET_ccolFixedMost: u32 = 127u32; -pub const JET_ccolKeyMost: u32 = 16u32; -pub const JET_ccolMost: u32 = 65248u32; -pub const JET_ccolTaggedMost: u32 = 64993u32; -pub const JET_ccolVarMost: u32 = 128u32; -pub const JET_coltypBinary: u32 = 9u32; -pub const JET_coltypBit: u32 = 1u32; -pub const JET_coltypCurrency: u32 = 5u32; -pub const JET_coltypDateTime: u32 = 8u32; -pub const JET_coltypGUID: u32 = 16u32; -pub const JET_coltypIEEEDouble: u32 = 7u32; -pub const JET_coltypIEEESingle: u32 = 6u32; -pub const JET_coltypLong: u32 = 4u32; -pub const JET_coltypLongBinary: u32 = 11u32; -pub const JET_coltypLongLong: u32 = 15u32; -pub const JET_coltypLongText: u32 = 12u32; -pub const JET_coltypMax: u32 = 13u32; -pub const JET_coltypNil: u32 = 0u32; -pub const JET_coltypSLV: u32 = 13u32; -pub const JET_coltypShort: u32 = 3u32; -pub const JET_coltypText: u32 = 10u32; -pub const JET_coltypUnsignedByte: u32 = 2u32; -pub const JET_coltypUnsignedLong: u32 = 14u32; -pub const JET_coltypUnsignedLongLong: u32 = 18u32; -pub const JET_coltypUnsignedShort: u32 = 17u32; -pub const JET_configDefault: u32 = 1u32; -pub const JET_configDynamicMediumMemory: u32 = 32u32; -pub const JET_configHighConcurrencyScaling: u32 = 1024u32; -pub const JET_configLowDiskFootprint: u32 = 4u32; -pub const JET_configLowMemory: u32 = 16u32; -pub const JET_configLowPower: u32 = 64u32; -pub const JET_configMediumDiskFootprint: u32 = 8u32; -pub const JET_configRemoveQuotas: u32 = 2u32; -pub const JET_configRunSilent: u32 = 256u32; -pub const JET_configSSDProfileIO: u32 = 128u32; -pub const JET_configUnthrottledMemory: u32 = 512u32; -pub const JET_dbstateBeingConverted: u32 = 4u32; -pub const JET_dbstateCleanShutdown: u32 = 3u32; -pub const JET_dbstateDirtyShutdown: u32 = 2u32; -pub const JET_dbstateForceDetach: u32 = 5u32; -pub const JET_dbstateJustCreated: u32 = 1u32; -pub const JET_errAccessDenied: i32 = -1907i32; -pub const JET_errAfterInitialization: i32 = -1850i32; -pub const JET_errAlreadyInitialized: i32 = -1030i32; -pub const JET_errAlreadyPrepared: i32 = -1607i32; -pub const JET_errAttachedDatabaseMismatch: i32 = -1216i32; -pub const JET_errBackupAbortByServer: i32 = -801i32; -pub const JET_errBackupDirectoryNotEmpty: i32 = -504i32; -pub const JET_errBackupInProgress: i32 = -505i32; -pub const JET_errBackupNotAllowedYet: i32 = -523i32; -pub const JET_errBadBackupDatabaseSize: i32 = -561i32; -pub const JET_errBadBookmark: i32 = -328i32; -pub const JET_errBadCheckpointSignature: i32 = -532i32; -pub const JET_errBadColumnId: i32 = -1517i32; -pub const JET_errBadDbSignature: i32 = -531i32; -pub const JET_errBadEmptyPage: i32 = -351i32; -pub const JET_errBadItagSequence: i32 = -1518i32; -pub const JET_errBadLineCount: i32 = -354i32; -pub const JET_errBadLogSignature: i32 = -530i32; -pub const JET_errBadLogVersion: i32 = -514i32; -pub const JET_errBadPageLink: i32 = -327i32; -pub const JET_errBadParentPageLink: i32 = -338i32; -pub const JET_errBadPatchPage: i32 = -535i32; -pub const JET_errBadRestoreTargetInstance: i32 = -577i32; -pub const JET_errBufferTooSmall: i32 = -1038i32; -pub const JET_errCallbackFailed: i32 = -2101i32; -pub const JET_errCallbackNotResolved: i32 = -2102i32; -pub const JET_errCannotAddFixedVarColumnToDerivedTable: i32 = -1330i32; -pub const JET_errCannotBeTagged: i32 = -1521i32; -pub const JET_errCannotDeleteSystemTable: i32 = -1318i32; -pub const JET_errCannotDeleteTempTable: i32 = -1317i32; -pub const JET_errCannotDeleteTemplateTable: i32 = -1319i32; -pub const JET_errCannotDisableVersioning: i32 = -1208i32; -pub const JET_errCannotIndex: i32 = -1071i32; -pub const JET_errCannotIndexOnEncryptedColumn: i32 = -1440i32; -pub const JET_errCannotLogDuringRecoveryRedo: i32 = -512i32; -pub const JET_errCannotMaterializeForwardOnlySort: i32 = -1113i32; -pub const JET_errCannotNestDDL: i32 = -1325i32; -pub const JET_errCannotSeparateIntrinsicLV: i32 = -416i32; -pub const JET_errCatalogCorrupted: i32 = -1220i32; -pub const JET_errCheckpointCorrupt: i32 = -533i32; -pub const JET_errCheckpointDepthTooDeep: i32 = -614i32; -pub const JET_errCheckpointFileNotFound: i32 = -542i32; -pub const JET_errClientRequestToStopJetService: i32 = -1329i32; -pub const JET_errColumnCannotBeCompressed: i32 = -1538i32; -pub const JET_errColumnCannotBeEncrypted: i32 = -1439i32; -pub const JET_errColumnDoesNotFit: i32 = -1503i32; -pub const JET_errColumnDuplicate: i32 = -1508i32; -pub const JET_errColumnInRelationship: i32 = -1519i32; -pub const JET_errColumnInUse: i32 = -1046i32; -pub const JET_errColumnIndexed: i32 = -1505i32; -pub const JET_errColumnLong: i32 = -1501i32; -pub const JET_errColumnNoChunk: i32 = -1502i32; -pub const JET_errColumnNoEncryptionKey: i32 = -1540i32; -pub const JET_errColumnNotFound: i32 = -1507i32; -pub const JET_errColumnNotUpdatable: i32 = -1048i32; -pub const JET_errColumnRedundant: i32 = -1510i32; -pub const JET_errColumnTooBig: i32 = -1506i32; -pub const JET_errCommittedLogFileCorrupt: i32 = -586i32; -pub const JET_errCommittedLogFilesMissing: i32 = -582i32; -pub const JET_errConsistentTimeMismatch: i32 = -551i32; -pub const JET_errContainerNotEmpty: i32 = -1043i32; -pub const JET_errDDLNotInheritable: i32 = -1326i32; -pub const JET_errDataHasChanged: i32 = -1611i32; -pub const JET_errDatabase200Format: i32 = -1210i32; -pub const JET_errDatabase400Format: i32 = -1211i32; -pub const JET_errDatabase500Format: i32 = -1212i32; -pub const JET_errDatabaseAlreadyRunningMaintenance: i32 = -2004i32; -pub const JET_errDatabaseAlreadyUpgraded: i32 = -562i32; -pub const JET_errDatabaseAttachedForRecovery: i32 = -1231i32; -pub const JET_errDatabaseBufferDependenciesCorrupted: i32 = -255i32; -pub const JET_errDatabaseCorrupted: i32 = -1206i32; -pub const JET_errDatabaseCorruptedNoRepair: i32 = -1224i32; -pub const JET_errDatabaseDirtyShutdown: i32 = -550i32; -pub const JET_errDatabaseDuplicate: i32 = -1201i32; -pub const JET_errDatabaseFileReadOnly: i32 = -1008i32; -pub const JET_errDatabaseIdInUse: i32 = -1218i32; -pub const JET_errDatabaseInUse: i32 = -1202i32; -pub const JET_errDatabaseIncompleteUpgrade: i32 = -563i32; -pub const JET_errDatabaseInconsistent: i32 = -550i32; -pub const JET_errDatabaseInvalidName: i32 = -1204i32; -pub const JET_errDatabaseInvalidPages: i32 = -1205i32; -pub const JET_errDatabaseInvalidPath: i32 = -1217i32; -pub const JET_errDatabaseLeakInSpace: i32 = -348i32; -pub const JET_errDatabaseLocked: i32 = -1207i32; -pub const JET_errDatabaseLogSetMismatch: i32 = -539i32; -pub const JET_errDatabaseNotFound: i32 = -1203i32; -pub const JET_errDatabaseNotReady: i32 = -1230i32; -pub const JET_errDatabasePatchFileMismatch: i32 = -552i32; -pub const JET_errDatabaseSharingViolation: i32 = -1215i32; -pub const JET_errDatabaseSignInUse: i32 = -1222i32; -pub const JET_errDatabaseStreamingFileMismatch: i32 = -540i32; -pub const JET_errDatabaseUnavailable: i32 = -1091i32; -pub const JET_errDatabasesNotFromSameSnapshot: i32 = -580i32; -pub const JET_errDbTimeBeyondMaxRequired: i32 = -625i32; -pub const JET_errDbTimeCorrupted: i32 = -344i32; -pub const JET_errDbTimeTooNew: i32 = -567i32; -pub const JET_errDbTimeTooOld: i32 = -566i32; -pub const JET_errDecompressionFailed: i32 = -1620i32; -pub const JET_errDecryptionFailed: i32 = -1622i32; -pub const JET_errDefaultValueTooBig: i32 = -1524i32; -pub const JET_errDeleteBackupFileFail: i32 = -524i32; -pub const JET_errDensityInvalid: i32 = -1307i32; -pub const JET_errDerivedColumnCorruption: i32 = -1529i32; -pub const JET_errDirtyShutdown: i32 = -1116i32; -pub const JET_errDisabledFunctionality: i32 = -112i32; -pub const JET_errDiskFull: i32 = -1808i32; -pub const JET_errDiskIO: i32 = -1022i32; -pub const JET_errDiskReadVerificationFailure: i32 = -1021i32; -pub const JET_errEncryptionBadItag: i32 = -1623i32; -pub const JET_errEndingRestoreLogTooLow: i32 = -553i32; -pub const JET_errEngineFormatVersionNoLongerSupportedTooLow: i32 = -619i32; -pub const JET_errEngineFormatVersionNotYetImplementedTooHigh: i32 = -620i32; -pub const JET_errEngineFormatVersionParamTooLowForRequestedFeature: i32 = -621i32; -pub const JET_errEngineFormatVersionSpecifiedTooLowForDatabaseVersion: i32 = -623i32; -pub const JET_errEngineFormatVersionSpecifiedTooLowForLogVersion: i32 = -622i32; -pub const JET_errEntryPointNotFound: i32 = -1911i32; -pub const JET_errExclusiveTableLockRequired: i32 = -1322i32; -pub const JET_errExistingLogFileHasBadSignature: i32 = -610i32; -pub const JET_errExistingLogFileIsNotContiguous: i32 = -611i32; -pub const JET_errFeatureNotAvailable: i32 = -1001i32; -pub const JET_errFileAccessDenied: i32 = -1032i32; -pub const JET_errFileAlreadyExists: i32 = -1814i32; -pub const JET_errFileClose: i32 = -102i32; -pub const JET_errFileCompressed: i32 = -4005i32; -pub const JET_errFileIOAbort: i32 = -4002i32; -pub const JET_errFileIOBeyondEOF: i32 = -4001i32; -pub const JET_errFileIOFail: i32 = -4004i32; -pub const JET_errFileIORetry: i32 = -4003i32; -pub const JET_errFileIOSparse: i32 = -4000i32; -pub const JET_errFileInvalidType: i32 = -1812i32; -pub const JET_errFileNotFound: i32 = -1811i32; -pub const JET_errFileSystemCorruption: i32 = -1121i32; -pub const JET_errFilteredMoveNotSupported: i32 = -1124i32; -pub const JET_errFixedDDL: i32 = -1323i32; -pub const JET_errFixedInheritedDDL: i32 = -1324i32; -pub const JET_errFlushMapDatabaseMismatch: i32 = -1919i32; -pub const JET_errFlushMapUnrecoverable: i32 = -1920i32; -pub const JET_errFlushMapVersionUnsupported: i32 = -1918i32; -pub const JET_errForceDetachNotAllowed: i32 = -1219i32; -pub const JET_errGivenLogFileHasBadSignature: i32 = -555i32; -pub const JET_errGivenLogFileIsNotContiguous: i32 = -556i32; -pub const JET_errIllegalOperation: i32 = -1312i32; -pub const JET_errInTransaction: i32 = -1108i32; -pub const JET_errIndexBuildCorrupted: i32 = -1412i32; -pub const JET_errIndexCantBuild: i32 = -1401i32; -pub const JET_errIndexDuplicate: i32 = -1403i32; -pub const JET_errIndexHasPrimary: i32 = -1402i32; -pub const JET_errIndexInUse: i32 = -1051i32; -pub const JET_errIndexInvalidDef: i32 = -1406i32; -pub const JET_errIndexMustStay: i32 = -1405i32; -pub const JET_errIndexNotFound: i32 = -1404i32; -pub const JET_errIndexTuplesCannotRetrieveFromIndex: i32 = -1436i32; -pub const JET_errIndexTuplesInvalidLimits: i32 = -1435i32; -pub const JET_errIndexTuplesKeyTooSmall: i32 = -1437i32; -pub const JET_errIndexTuplesNonUniqueOnly: i32 = -1432i32; -pub const JET_errIndexTuplesOneColumnOnly: i32 = -1431i32; -pub const JET_errIndexTuplesSecondaryIndexOnly: i32 = -1430i32; -pub const JET_errIndexTuplesTextBinaryColumnsOnly: i32 = -1433i32; -pub const JET_errIndexTuplesTextColumnsOnly: i32 = -1433i32; -pub const JET_errIndexTuplesTooManyColumns: i32 = -1431i32; -pub const JET_errIndexTuplesVarSegMacNotAllowed: i32 = -1434i32; -pub const JET_errInitInProgress: i32 = -1031i32; -pub const JET_errInstanceNameInUse: i32 = -1086i32; -pub const JET_errInstanceUnavailable: i32 = -1090i32; -pub const JET_errInstanceUnavailableDueToFatalLogDiskFull: i32 = -1092i32; -pub const JET_errInternalError: i32 = -107i32; -pub const JET_errInvalidBackup: i32 = -526i32; -pub const JET_errInvalidBackupSequence: i32 = -521i32; -pub const JET_errInvalidBookmark: i32 = -1045i32; -pub const JET_errInvalidBufferSize: i32 = -1047i32; -pub const JET_errInvalidCodePage: i32 = -1063i32; -pub const JET_errInvalidColumnType: i32 = -1511i32; -pub const JET_errInvalidCountry: i32 = -1061i32; -pub const JET_errInvalidCreateDbVersion: i32 = -1225i32; -pub const JET_errInvalidCreateIndex: i32 = -1409i32; -pub const JET_errInvalidDatabase: i32 = -1028i32; -pub const JET_errInvalidDatabaseId: i32 = -1010i32; -pub const JET_errInvalidDatabaseVersion: i32 = -1209i32; -pub const JET_errInvalidDbparamId: i32 = -1095i32; -pub const JET_errInvalidFilename: i32 = -1044i32; -pub const JET_errInvalidGrbit: i32 = -900i32; -pub const JET_errInvalidIndexId: i32 = -1416i32; -pub const JET_errInvalidInstance: i32 = -1115i32; -pub const JET_errInvalidLCMapStringFlags: i32 = -1064i32; -pub const JET_errInvalidLVChunkSize: i32 = -1438i32; -pub const JET_errInvalidLanguageId: i32 = -1062i32; -pub const JET_errInvalidLogDirectory: i32 = -1025i32; -pub const JET_errInvalidLogSequence: i32 = -515i32; -pub const JET_errInvalidLoggedOperation: i32 = -500i32; -pub const JET_errInvalidName: i32 = -1002i32; -pub const JET_errInvalidObject: i32 = -1316i32; -pub const JET_errInvalidOnSort: i32 = -1702i32; -pub const JET_errInvalidOperation: i32 = -1906i32; -pub const JET_errInvalidParameter: i32 = -1003i32; -pub const JET_errInvalidPath: i32 = -1023i32; -pub const JET_errInvalidPlaceholderColumn: i32 = -1530i32; -pub const JET_errInvalidPreread: i32 = -424i32; -pub const JET_errInvalidSesid: i32 = -1104i32; -pub const JET_errInvalidSesparamId: i32 = -1093i32; -pub const JET_errInvalidSettings: i32 = -1328i32; -pub const JET_errInvalidSystemPath: i32 = -1024i32; -pub const JET_errInvalidTableId: i32 = -1310i32; -pub const JET_errKeyBoundary: i32 = -324i32; -pub const JET_errKeyDuplicate: i32 = -1605i32; -pub const JET_errKeyIsMade: i32 = -1516i32; -pub const JET_errKeyNotMade: i32 = -1608i32; -pub const JET_errKeyTooBig: i32 = -408i32; -pub const JET_errKeyTruncated: i32 = -346i32; -pub const JET_errLSAlreadySet: i32 = -3001i32; -pub const JET_errLSCallbackNotSpecified: i32 = -3000i32; -pub const JET_errLSNotSet: i32 = -3002i32; -pub const JET_errLVCorrupted: i32 = -1526i32; -pub const JET_errLanguageNotSupported: i32 = -1619i32; -pub const JET_errLinkNotSupported: i32 = -1052i32; -pub const JET_errLogBufferTooSmall: i32 = -517i32; -pub const JET_errLogCorruptDuringHardRecovery: i32 = -574i32; -pub const JET_errLogCorruptDuringHardRestore: i32 = -573i32; -pub const JET_errLogCorrupted: i32 = -1852i32; -pub const JET_errLogDisabledDueToRecoveryFailure: i32 = -511i32; -pub const JET_errLogDiskFull: i32 = -529i32; -pub const JET_errLogFileCorrupt: i32 = -501i32; -pub const JET_errLogFileNotCopied: i32 = -616i32; -pub const JET_errLogFilePathInUse: i32 = -1084i32; -pub const JET_errLogFileSizeMismatch: i32 = -541i32; -pub const JET_errLogFileSizeMismatchDatabasesConsistent: i32 = -545i32; -pub const JET_errLogGenerationMismatch: i32 = -513i32; -pub const JET_errLogReadVerifyFailure: i32 = -612i32; -pub const JET_errLogSectorSizeMismatch: i32 = -546i32; -pub const JET_errLogSectorSizeMismatchDatabasesConsistent: i32 = -547i32; -pub const JET_errLogSequenceChecksumMismatch: i32 = -590i32; -pub const JET_errLogSequenceEnd: i32 = -519i32; -pub const JET_errLogSequenceEndDatabasesConsistent: i32 = -548i32; -pub const JET_errLogTornWriteDuringHardRecovery: i32 = -571i32; -pub const JET_errLogTornWriteDuringHardRestore: i32 = -570i32; -pub const JET_errLogWriteFail: i32 = -510i32; -pub const JET_errLoggingDisabled: i32 = -516i32; -pub const JET_errMakeBackupDirectoryFail: i32 = -525i32; -pub const JET_errMissingCurrentLogFiles: i32 = -565i32; -pub const JET_errMissingFileToBackup: i32 = -569i32; -pub const JET_errMissingFullBackup: i32 = -560i32; -pub const JET_errMissingLogFile: i32 = -528i32; -pub const JET_errMissingPatchPage: i32 = -534i32; -pub const JET_errMissingPreviousLogFile: i32 = -509i32; -pub const JET_errMissingRestoreLogFiles: i32 = -557i32; -pub const JET_errMultiValuedColumnMustBeTagged: i32 = -1509i32; -pub const JET_errMultiValuedDuplicate: i32 = -1525i32; -pub const JET_errMultiValuedDuplicateAfterTruncation: i32 = -1528i32; -pub const JET_errMultiValuedIndexViolation: i32 = -1411i32; -pub const JET_errMustBeSeparateLongValue: i32 = -423i32; -pub const JET_errMustDisableLoggingForDbUpgrade: i32 = -575i32; -pub const JET_errMustRollback: i32 = -1057i32; -pub const JET_errNTSystemCallFailed: i32 = -334i32; -pub const JET_errNoBackup: i32 = -520i32; -pub const JET_errNoBackupDirectory: i32 = -503i32; -pub const JET_errNoCurrentIndex: i32 = -1515i32; -pub const JET_errNoCurrentRecord: i32 = -1603i32; -pub const JET_errNodeCorrupted: i32 = -358i32; -pub const JET_errNotInTransaction: i32 = -1054i32; -pub const JET_errNotInitialized: i32 = -1029i32; -pub const JET_errNullInvalid: i32 = -1504i32; -pub const JET_errNullKeyDisallowed: i32 = -1053i32; -pub const JET_errOSSnapshotInvalidSequence: i32 = -2401i32; -pub const JET_errOSSnapshotInvalidSnapId: i32 = -2404i32; -pub const JET_errOSSnapshotNotAllowed: i32 = -2403i32; -pub const JET_errOSSnapshotTimeOut: i32 = -2402i32; -pub const JET_errObjectDuplicate: i32 = -1314i32; -pub const JET_errObjectNotFound: i32 = -1305i32; -pub const JET_errOneDatabasePerSession: i32 = -1916i32; -pub const JET_errOutOfAutoincrementValues: i32 = -1076i32; -pub const JET_errOutOfBuffers: i32 = -1014i32; -pub const JET_errOutOfCursors: i32 = -1013i32; -pub const JET_errOutOfDatabaseSpace: i32 = -1012i32; -pub const JET_errOutOfDbtimeValues: i32 = -1077i32; -pub const JET_errOutOfFileHandles: i32 = -1020i32; -pub const JET_errOutOfLongValueIDs: i32 = -1075i32; -pub const JET_errOutOfMemory: i32 = -1011i32; -pub const JET_errOutOfObjectIDs: i32 = -1074i32; -pub const JET_errOutOfSequentialIndexValues: i32 = -1078i32; -pub const JET_errOutOfSessions: i32 = -1101i32; -pub const JET_errOutOfThreads: i32 = -103i32; -pub const JET_errPageBoundary: i32 = -323i32; -pub const JET_errPageInitializedMismatch: i32 = -596i32; -pub const JET_errPageNotInitialized: i32 = -1019i32; -pub const JET_errPageSizeMismatch: i32 = -1213i32; -pub const JET_errPageTagCorrupted: i32 = -357i32; -pub const JET_errPartiallyAttachedDB: i32 = -1221i32; -pub const JET_errPatchFileMissing: i32 = -538i32; -pub const JET_errPermissionDenied: i32 = -1809i32; -pub const JET_errPreviousVersion: i32 = -322i32; -pub const JET_errPrimaryIndexCorrupted: i32 = -1413i32; -pub const JET_errReadLostFlushVerifyFailure: i32 = -1119i32; -pub const JET_errReadPgnoVerifyFailure: i32 = -1118i32; -pub const JET_errReadVerifyFailure: i32 = -1018i32; -pub const JET_errRecordDeleted: i32 = -1017i32; -pub const JET_errRecordFormatConversionFailed: i32 = -1915i32; -pub const JET_errRecordNoCopy: i32 = -1602i32; -pub const JET_errRecordNotDeleted: i32 = -1072i32; -pub const JET_errRecordNotFound: i32 = -1601i32; -pub const JET_errRecordPrimaryChanged: i32 = -1604i32; -pub const JET_errRecordTooBig: i32 = -1026i32; -pub const JET_errRecordTooBigForBackwardCompatibility: i32 = -1112i32; -pub const JET_errRecoveredWithErrors: i32 = -527i32; -pub const JET_errRecoveredWithoutUndo: i32 = -579i32; -pub const JET_errRecoveredWithoutUndoDatabasesConsistent: i32 = -584i32; -pub const JET_errRecoveryVerifyFailure: i32 = -1123i32; -pub const JET_errRedoAbruptEnded: i32 = -536i32; -pub const JET_errRequiredLogFilesMissing: i32 = -543i32; -pub const JET_errRestoreInProgress: i32 = -506i32; -pub const JET_errRestoreOfNonBackupDatabase: i32 = -615i32; -pub const JET_errRfsFailure: i32 = -100i32; -pub const JET_errRfsNotArmed: i32 = -101i32; -pub const JET_errRollbackError: i32 = -1917i32; -pub const JET_errRollbackRequired: i32 = -1109i32; -pub const JET_errRunningInMultiInstanceMode: i32 = -1081i32; -pub const JET_errRunningInOneInstanceMode: i32 = -1080i32; -pub const JET_errSPAvailExtCacheOutOfMemory: i32 = -342i32; -pub const JET_errSPAvailExtCacheOutOfSync: i32 = -340i32; -pub const JET_errSPAvailExtCorrupted: i32 = -341i32; -pub const JET_errSPOwnExtCorrupted: i32 = -343i32; -pub const JET_errSecondaryIndexCorrupted: i32 = -1414i32; -pub const JET_errSectorSizeNotSupported: i32 = -583i32; -pub const JET_errSeparatedLongValue: i32 = -421i32; -pub const JET_errSesidTableIdMismatch: i32 = -1114i32; -pub const JET_errSessionContextAlreadySet: i32 = -1912i32; -pub const JET_errSessionContextNotSetByThisThread: i32 = -1913i32; -pub const JET_errSessionInUse: i32 = -1914i32; -pub const JET_errSessionSharingViolation: i32 = -1910i32; -pub const JET_errSessionWriteConflict: i32 = -1111i32; -pub const JET_errSoftRecoveryOnBackupDatabase: i32 = -544i32; -pub const JET_errSoftRecoveryOnSnapshot: i32 = -581i32; -pub const JET_errSpaceHintsInvalid: i32 = -2103i32; -pub const JET_errStartingRestoreLogTooHigh: i32 = -554i32; -pub const JET_errStreamingDataNotLogged: i32 = -549i32; -pub const JET_errSuccess: i32 = 0i32; -pub const JET_errSystemParameterConflict: i32 = -1087i32; -pub const JET_errSystemParamsAlreadySet: i32 = -1082i32; -pub const JET_errSystemPathInUse: i32 = -1083i32; -pub const JET_errTableDuplicate: i32 = -1303i32; -pub const JET_errTableInUse: i32 = -1304i32; -pub const JET_errTableLocked: i32 = -1302i32; -pub const JET_errTableNotEmpty: i32 = -1308i32; -pub const JET_errTaggedNotNULL: i32 = -1514i32; -pub const JET_errTaskDropped: i32 = -106i32; -pub const JET_errTempFileOpenError: i32 = -1803i32; -pub const JET_errTempPathInUse: i32 = -1085i32; -pub const JET_errTermInProgress: i32 = -1000i32; -pub const JET_errTooManyActiveUsers: i32 = -1059i32; -pub const JET_errTooManyAttachedDatabases: i32 = -1805i32; -pub const JET_errTooManyColumns: i32 = -1040i32; -pub const JET_errTooManyIO: i32 = -105i32; -pub const JET_errTooManyIndexes: i32 = -1015i32; -pub const JET_errTooManyInstances: i32 = -1214i32; -pub const JET_errTooManyKeys: i32 = -1016i32; -pub const JET_errTooManyMempoolEntries: i32 = -1073i32; -pub const JET_errTooManyOpenDatabases: i32 = -1027i32; -pub const JET_errTooManyOpenIndexes: i32 = -1410i32; -pub const JET_errTooManyOpenTables: i32 = -1311i32; -pub const JET_errTooManyOpenTablesAndCleanupTimedOut: i32 = -1313i32; -pub const JET_errTooManyRecords: i32 = -1094i32; -pub const JET_errTooManySorts: i32 = -1701i32; -pub const JET_errTooManySplits: i32 = -1909i32; -pub const JET_errTransReadOnly: i32 = -1110i32; -pub const JET_errTransTooDeep: i32 = -1103i32; -pub const JET_errTransactionTooLong: i32 = -618i32; -pub const JET_errTransactionsNotReadyDuringRecovery: i32 = -1232i32; -pub const JET_errUnicodeLanguageValidationFailure: i32 = -604i32; -pub const JET_errUnicodeNormalizationNotSupported: i32 = -603i32; -pub const JET_errUnicodeTranslationBufferTooSmall: i32 = -601i32; -pub const JET_errUnicodeTranslationFail: i32 = -602i32; -pub const JET_errUnloadableOSFunctionality: i32 = -113i32; -pub const JET_errUpdateMustVersion: i32 = -1621i32; -pub const JET_errUpdateNotPrepared: i32 = -1609i32; -pub const JET_errVersionStoreEntryTooBig: i32 = -1065i32; -pub const JET_errVersionStoreOutOfMemory: i32 = -1069i32; -pub const JET_errVersionStoreOutOfMemoryAndCleanupTimedOut: i32 = -1066i32; -pub const JET_errWriteConflict: i32 = -1102i32; -pub const JET_errWriteConflictPrimaryIndex: i32 = -1105i32; -pub const JET_errcatApi: JET_ERRCAT = 13i32; -pub const JET_errcatCorruption: JET_ERRCAT = 10i32; -pub const JET_errcatData: JET_ERRCAT = 9i32; -pub const JET_errcatDisk: JET_ERRCAT = 8i32; -pub const JET_errcatError: JET_ERRCAT = 1i32; -pub const JET_errcatFatal: JET_ERRCAT = 3i32; -pub const JET_errcatFragmentation: JET_ERRCAT = 12i32; -pub const JET_errcatIO: JET_ERRCAT = 4i32; -pub const JET_errcatInconsistent: JET_ERRCAT = 11i32; -pub const JET_errcatMax: JET_ERRCAT = 17i32; -pub const JET_errcatMemory: JET_ERRCAT = 6i32; -pub const JET_errcatObsolete: JET_ERRCAT = 16i32; -pub const JET_errcatOperation: JET_ERRCAT = 2i32; -pub const JET_errcatQuota: JET_ERRCAT = 7i32; -pub const JET_errcatResource: JET_ERRCAT = 5i32; -pub const JET_errcatState: JET_ERRCAT = 15i32; -pub const JET_errcatUnknown: JET_ERRCAT = 0i32; -pub const JET_errcatUsage: JET_ERRCAT = 14i32; -pub const JET_filetypeCheckpoint: u32 = 4u32; -pub const JET_filetypeDatabase: u32 = 1u32; -pub const JET_filetypeFlushMap: u32 = 7u32; -pub const JET_filetypeLog: u32 = 3u32; -pub const JET_filetypeTempDatabase: u32 = 5u32; -pub const JET_filetypeUnknown: u32 = 0u32; -pub const JET_objtypNil: u32 = 0u32; -pub const JET_objtypTable: u32 = 1u32; -pub const JET_paramAccessDeniedRetryPeriod: u32 = 53u32; -pub const JET_paramAlternateDatabaseRecoveryPath: u32 = 113u32; -pub const JET_paramBaseName: u32 = 3u32; -pub const JET_paramBatchIOBufferMax: u32 = 22u32; -pub const JET_paramCachePriority: u32 = 177u32; -pub const JET_paramCacheSize: u32 = 41u32; -pub const JET_paramCacheSizeMax: u32 = 23u32; -pub const JET_paramCacheSizeMin: u32 = 60u32; -pub const JET_paramCachedClosedTables: u32 = 125u32; -pub const JET_paramCheckFormatWhenOpenFail: u32 = 44u32; -pub const JET_paramCheckpointDepthMax: u32 = 24u32; -pub const JET_paramCheckpointIOMax: u32 = 135u32; -pub const JET_paramCircularLog: u32 = 17u32; -pub const JET_paramCleanupMismatchedLogFiles: u32 = 77u32; -pub const JET_paramCommitDefault: u32 = 16u32; -pub const JET_paramConfigStoreSpec: u32 = 189u32; -pub const JET_paramConfiguration: u32 = 129u32; -pub const JET_paramCreatePathIfNotExist: u32 = 100u32; -pub const JET_paramDatabasePageSize: u32 = 64u32; -pub const JET_paramDbExtensionSize: u32 = 18u32; -pub const JET_paramDbScanIntervalMaxSec: u32 = 172u32; -pub const JET_paramDbScanIntervalMinSec: u32 = 171u32; -pub const JET_paramDbScanThrottle: u32 = 170u32; -pub const JET_paramDefragmentSequentialBTrees: u32 = 160u32; -pub const JET_paramDefragmentSequentialBTreesDensityCheckFrequency: u32 = 161u32; -pub const JET_paramDeleteOldLogs: u32 = 48u32; -pub const JET_paramDeleteOutOfRangeLogs: u32 = 52u32; -pub const JET_paramDisableCallbacks: u32 = 65u32; -pub const JET_paramDisablePerfmon: u32 = 107u32; -pub const JET_paramDurableCommitCallback: u32 = 187u32; -pub const JET_paramEnableAdvanced: u32 = 130u32; -pub const JET_paramEnableDBScanInRecovery: u32 = 169u32; -pub const JET_paramEnableDBScanSerialization: u32 = 180u32; -pub const JET_paramEnableFileCache: u32 = 126u32; -pub const JET_paramEnableIndexChecking: u32 = 45u32; -pub const JET_paramEnableIndexCleanup: u32 = 54u32; -pub const JET_paramEnableOnlineDefrag: u32 = 35u32; -pub const JET_paramEnablePersistedCallbacks: u32 = 156u32; -pub const JET_paramEnableRBS: u32 = 215u32; -pub const JET_paramEnableShrinkDatabase: u32 = 184u32; -pub const JET_paramEnableSqm: u32 = 188u32; -pub const JET_paramEnableTempTableVersioning: u32 = 46u32; -pub const JET_paramEnableViewCache: u32 = 127u32; -pub const JET_paramErrorToString: u32 = 70u32; -pub const JET_paramEventLogCache: u32 = 99u32; -pub const JET_paramEventLoggingLevel: u32 = 51u32; -pub const JET_paramEventSource: u32 = 4u32; -pub const JET_paramEventSourceKey: u32 = 49u32; -pub const JET_paramExceptionAction: u32 = 98u32; -pub const JET_paramGlobalMinVerPages: u32 = 81u32; -pub const JET_paramHungIOActions: u32 = 182u32; -pub const JET_paramHungIOThreshold: u32 = 181u32; -pub const JET_paramIOPriority: u32 = 152u32; -pub const JET_paramIOThrottlingTimeQuanta: u32 = 162u32; -pub const JET_paramIgnoreLogVersion: u32 = 47u32; -pub const JET_paramIndexTupleIncrement: u32 = 132u32; -pub const JET_paramIndexTupleStart: u32 = 133u32; -pub const JET_paramIndexTuplesLengthMax: u32 = 111u32; -pub const JET_paramIndexTuplesLengthMin: u32 = 110u32; -pub const JET_paramIndexTuplesToIndexMax: u32 = 112u32; -pub const JET_paramKeyMost: u32 = 134u32; -pub const JET_paramLRUKCorrInterval: u32 = 25u32; -pub const JET_paramLRUKHistoryMax: u32 = 26u32; -pub const JET_paramLRUKPolicy: u32 = 27u32; -pub const JET_paramLRUKTimeout: u32 = 28u32; -pub const JET_paramLRUKTrxCorrInterval: u32 = 29u32; -pub const JET_paramLVChunkSizeMost: u32 = 163u32; -pub const JET_paramLegacyFileNames: u32 = 136u32; -pub const JET_paramLogBuffers: u32 = 12u32; -pub const JET_paramLogCheckpointPeriod: u32 = 14u32; -pub const JET_paramLogFileCreateAsynch: u32 = 69u32; -pub const JET_paramLogFilePath: u32 = 2u32; -pub const JET_paramLogFileSize: u32 = 11u32; -pub const JET_paramLogWaitingUserMax: u32 = 15u32; -pub const JET_paramMaxCoalesceReadGapSize: u32 = 166u32; -pub const JET_paramMaxCoalesceReadSize: u32 = 164u32; -pub const JET_paramMaxCoalesceWriteGapSize: u32 = 167u32; -pub const JET_paramMaxCoalesceWriteSize: u32 = 165u32; -pub const JET_paramMaxColtyp: u32 = 131u32; -pub const JET_paramMaxCursors: u32 = 8u32; -pub const JET_paramMaxInstances: u32 = 104u32; -pub const JET_paramMaxOpenTables: u32 = 6u32; -pub const JET_paramMaxSessions: u32 = 5u32; -pub const JET_paramMaxTemporaryTables: u32 = 10u32; -pub const JET_paramMaxTransactionSize: u32 = 178u32; -pub const JET_paramMaxValueInvalid: u32 = 218u32; -pub const JET_paramMaxVerPages: u32 = 9u32; -pub const JET_paramMinDataForXpress: u32 = 183u32; -pub const JET_paramNoInformationEvent: u32 = 50u32; -pub const JET_paramOSSnapshotTimeout: u32 = 82u32; -pub const JET_paramOneDatabasePerSession: u32 = 102u32; -pub const JET_paramOutstandingIOMax: u32 = 30u32; -pub const JET_paramPageFragment: u32 = 20u32; -pub const JET_paramPageHintCacheSize: u32 = 101u32; -pub const JET_paramPageTempDBMin: u32 = 19u32; -pub const JET_paramPerfmonRefreshInterval: u32 = 217u32; -pub const JET_paramPreferredMaxOpenTables: u32 = 7u32; -pub const JET_paramPreferredVerPages: u32 = 63u32; -pub const JET_paramPrereadIOMax: u32 = 179u32; -pub const JET_paramProcessFriendlyName: u32 = 186u32; -pub const JET_paramRBSFilePath: u32 = 216u32; -pub const JET_paramRecordUpgradeDirtyLevel: u32 = 78u32; -pub const JET_paramRecovery: u32 = 34u32; -pub const JET_paramRuntimeCallback: u32 = 73u32; -pub const JET_paramStartFlushThreshold: u32 = 31u32; -pub const JET_paramStopFlushThreshold: u32 = 32u32; -pub const JET_paramSystemPath: u32 = 0u32; -pub const JET_paramTableClass10Name: u32 = 146u32; -pub const JET_paramTableClass11Name: u32 = 147u32; -pub const JET_paramTableClass12Name: u32 = 148u32; -pub const JET_paramTableClass13Name: u32 = 149u32; -pub const JET_paramTableClass14Name: u32 = 150u32; -pub const JET_paramTableClass15Name: u32 = 151u32; -pub const JET_paramTableClass1Name: u32 = 137u32; -pub const JET_paramTableClass2Name: u32 = 138u32; -pub const JET_paramTableClass3Name: u32 = 139u32; -pub const JET_paramTableClass4Name: u32 = 140u32; -pub const JET_paramTableClass5Name: u32 = 141u32; -pub const JET_paramTableClass6Name: u32 = 142u32; -pub const JET_paramTableClass7Name: u32 = 143u32; -pub const JET_paramTableClass8Name: u32 = 144u32; -pub const JET_paramTableClass9Name: u32 = 145u32; -pub const JET_paramTempPath: u32 = 1u32; -pub const JET_paramUnicodeIndexDefault: u32 = 72u32; -pub const JET_paramUseFlushForWriteDurability: u32 = 214u32; -pub const JET_paramVerPageSize: u32 = 128u32; -pub const JET_paramVersionStoreTaskQueueMax: u32 = 105u32; -pub const JET_paramWaitLogFlush: u32 = 13u32; -pub const JET_paramWaypointLatency: u32 = 153u32; -pub const JET_paramZeroDatabaseDuringBackup: u32 = 71u32; -pub const JET_prepCancel: u32 = 3u32; -pub const JET_prepInsert: u32 = 0u32; -pub const JET_prepInsertCopy: u32 = 5u32; -pub const JET_prepInsertCopyDeleteOriginal: u32 = 7u32; -pub const JET_prepInsertCopyReplaceOriginal: u32 = 9u32; -pub const JET_prepReplace: u32 = 2u32; -pub const JET_prepReplaceNoLock: u32 = 4u32; -pub const JET_relopBitmaskEqualsZero: JET_RELOP = 7i32; -pub const JET_relopBitmaskNotEqualsZero: JET_RELOP = 8i32; -pub const JET_relopEquals: JET_RELOP = 0i32; -pub const JET_relopGreaterThan: JET_RELOP = 6i32; -pub const JET_relopGreaterThanOrEqual: JET_RELOP = 5i32; -pub const JET_relopLessThan: JET_RELOP = 4i32; -pub const JET_relopLessThanOrEqual: JET_RELOP = 3i32; -pub const JET_relopNotEquals: JET_RELOP = 2i32; -pub const JET_relopPrefixEquals: JET_RELOP = 1i32; -pub const JET_sesparamCommitDefault: u32 = 4097u32; -pub const JET_sesparamCorrelationID: u32 = 4101u32; -pub const JET_sesparamMaxValueInvalid: u32 = 4111u32; -pub const JET_sesparamOperationContext: u32 = 4100u32; -pub const JET_sesparamTransactionLevel: u32 = 4099u32; -pub const JET_snpBackup: u32 = 9u32; -pub const JET_snpCompact: u32 = 4u32; -pub const JET_snpRepair: u32 = 2u32; -pub const JET_snpRestore: u32 = 8u32; -pub const JET_snpScrub: u32 = 11u32; -pub const JET_snpUpgrade: u32 = 10u32; -pub const JET_snpUpgradeRecordFormat: u32 = 12u32; -pub const JET_sntBegin: u32 = 5u32; -pub const JET_sntComplete: u32 = 6u32; -pub const JET_sntFail: u32 = 3u32; -pub const JET_sntProgress: u32 = 0u32; -pub const JET_sntRequirements: u32 = 7u32; -pub const JET_sqmDisable: u32 = 0u32; -pub const JET_sqmEnable: u32 = 1u32; -pub const JET_sqmFromCEIP: u32 = 2u32; -pub const JET_wrnBufferTruncated: u32 = 1006u32; -pub const JET_wrnCallbackNotRegistered: u32 = 2100u32; -pub const JET_wrnColumnDefault: u32 = 1537u32; -pub const JET_wrnColumnMaxTruncated: u32 = 1512u32; -pub const JET_wrnColumnMoreTags: u32 = 1533u32; -pub const JET_wrnColumnNotInRecord: u32 = 1539u32; -pub const JET_wrnColumnNotLocal: u32 = 1532u32; -pub const JET_wrnColumnNull: u32 = 1004u32; -pub const JET_wrnColumnPresent: u32 = 1535u32; -pub const JET_wrnColumnReference: u32 = 1541u32; -pub const JET_wrnColumnSetNull: u32 = 1068u32; -pub const JET_wrnColumnSingleValue: u32 = 1536u32; -pub const JET_wrnColumnSkipped: u32 = 1531u32; -pub const JET_wrnColumnTruncated: u32 = 1534u32; -pub const JET_wrnCommittedLogFilesLost: u32 = 585u32; -pub const JET_wrnCommittedLogFilesRemoved: u32 = 587u32; -pub const JET_wrnCopyLongValue: u32 = 1520u32; -pub const JET_wrnCorruptIndexDeleted: u32 = 1415u32; -pub const JET_wrnDataHasChanged: u32 = 1610u32; -pub const JET_wrnDatabaseAttached: u32 = 1007u32; -pub const JET_wrnDatabaseRepaired: u32 = 595u32; -pub const JET_wrnDefragAlreadyRunning: u32 = 2000u32; -pub const JET_wrnDefragNotRunning: u32 = 2001u32; -pub const JET_wrnExistingLogFileHasBadSignature: u32 = 558u32; -pub const JET_wrnExistingLogFileIsNotContiguous: u32 = 559u32; -pub const JET_wrnFileOpenReadOnly: u32 = 1813u32; -pub const JET_wrnFinishWithUndo: u32 = 588u32; -pub const JET_wrnIdleFull: u32 = 1908u32; -pub const JET_wrnKeyChanged: u32 = 1618u32; -pub const JET_wrnNoErrorInfo: u32 = 1055u32; -pub const JET_wrnNoIdleActivity: u32 = 1058u32; -pub const JET_wrnNoWriteLock: u32 = 1067u32; -pub const JET_wrnNyi: i32 = -1i32; -pub const JET_wrnPrimaryIndexOutOfDate: u32 = 1417u32; -pub const JET_wrnRemainingVersions: u32 = 321u32; -pub const JET_wrnSecondaryIndexOutOfDate: u32 = 1418u32; -pub const JET_wrnSeekNotEqual: u32 = 1039u32; -pub const JET_wrnSeparateLongValue: u32 = 406u32; -pub const JET_wrnShrinkNotPossible: u32 = 1122u32; -pub const JET_wrnSkipThisRecord: u32 = 564u32; -pub const JET_wrnSortOverflow: u32 = 1009u32; -pub const JET_wrnTableEmpty: u32 = 1301u32; -pub const JET_wrnTableInUseBySystem: u32 = 1327u32; -pub const JET_wrnTargetInstanceRunning: u32 = 578u32; -pub const JET_wrnUniqueKey: u32 = 345u32; -pub const JET_wszConfigStoreReadControl: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CsReadControl"); -pub const JET_wszConfigStoreRelPathSysParamDefault: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SysParamDefault"); -pub const JET_wszConfigStoreRelPathSysParamOverride: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SysParamOverride"); -pub const cColumnInfoCols: u32 = 14u32; -pub const cIndexInfoCols: u32 = 15u32; -pub const cObjectInfoCols: u32 = 9u32; -pub const wrnBTNotVisibleAccumulated: u32 = 353u32; -pub const wrnBTNotVisibleRejected: u32 = 352u32; -pub type JET_ERRCAT = i32; -pub type JET_INDEXCHECKING = i32; -pub type JET_RELOP = i32; -#[repr(C, packed(1))] -pub struct JET_BKINFO { - pub lgposMark: JET_LGPOS, - pub Anonymous: JET_BKINFO_0, - pub genLow: u32, - pub genHigh: u32, -} -impl ::core::marker::Copy for JET_BKINFO {} -impl ::core::clone::Clone for JET_BKINFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union JET_BKINFO_0 { - pub logtimeMark: JET_LOGTIME, - pub bklogtimeMark: JET_BKLOGTIME, -} -impl ::core::marker::Copy for JET_BKINFO_0 {} -impl ::core::clone::Clone for JET_BKINFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_BKLOGTIME { - pub bSeconds: u8, - pub bMinutes: u8, - pub bHours: u8, - pub bDay: u8, - pub bMonth: u8, - pub bYear: u8, - pub Anonymous1: JET_BKLOGTIME_0, - pub Anonymous2: JET_BKLOGTIME_1, -} -impl ::core::marker::Copy for JET_BKLOGTIME {} -impl ::core::clone::Clone for JET_BKLOGTIME { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union JET_BKLOGTIME_0 { - pub bFiller1: u8, - pub Anonymous: JET_BKLOGTIME_0_0, -} -impl ::core::marker::Copy for JET_BKLOGTIME_0 {} -impl ::core::clone::Clone for JET_BKLOGTIME_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_BKLOGTIME_0_0 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for JET_BKLOGTIME_0_0 {} -impl ::core::clone::Clone for JET_BKLOGTIME_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union JET_BKLOGTIME_1 { - pub bFiller2: u8, - pub Anonymous: JET_BKLOGTIME_1_0, -} -impl ::core::marker::Copy for JET_BKLOGTIME_1 {} -impl ::core::clone::Clone for JET_BKLOGTIME_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_BKLOGTIME_1_0 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for JET_BKLOGTIME_1_0 {} -impl ::core::clone::Clone for JET_BKLOGTIME_1_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_COLUMNBASE_A { - pub cbStruct: u32, - pub columnid: u32, - pub coltyp: u32, - pub wCountry: u16, - pub langid: u16, - pub cp: u16, - pub wFiller: u16, - pub cbMax: u32, - pub grbit: u32, - pub szBaseTableName: [u8; 256], - pub szBaseColumnName: [u8; 256], -} -impl ::core::marker::Copy for JET_COLUMNBASE_A {} -impl ::core::clone::Clone for JET_COLUMNBASE_A { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_COLUMNBASE_W { - pub cbStruct: u32, - pub columnid: u32, - pub coltyp: u32, - pub wCountry: u16, - pub langid: u16, - pub cp: u16, - pub wFiller: u16, - pub cbMax: u32, - pub grbit: u32, - pub szBaseTableName: [u16; 256], - pub szBaseColumnName: [u16; 256], -} -impl ::core::marker::Copy for JET_COLUMNBASE_W {} -impl ::core::clone::Clone for JET_COLUMNBASE_W { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_COLUMNCREATE_A { - pub cbStruct: u32, - pub szColumnName: ::windows_sys::core::PSTR, - pub coltyp: u32, - pub cbMax: u32, - pub grbit: u32, - pub pvDefault: *mut ::core::ffi::c_void, - pub cbDefault: u32, - pub cp: u32, - pub columnid: u32, - pub err: i32, -} -impl ::core::marker::Copy for JET_COLUMNCREATE_A {} -impl ::core::clone::Clone for JET_COLUMNCREATE_A { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_COLUMNCREATE_W { - pub cbStruct: u32, - pub szColumnName: ::windows_sys::core::PWSTR, - pub coltyp: u32, - pub cbMax: u32, - pub grbit: u32, - pub pvDefault: *mut ::core::ffi::c_void, - pub cbDefault: u32, - pub cp: u32, - pub columnid: u32, - pub err: i32, -} -impl ::core::marker::Copy for JET_COLUMNCREATE_W {} -impl ::core::clone::Clone for JET_COLUMNCREATE_W { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_COLUMNDEF { - pub cbStruct: u32, - pub columnid: u32, - pub coltyp: u32, - pub wCountry: u16, - pub langid: u16, - pub cp: u16, - pub wCollate: u16, - pub cbMax: u32, - pub grbit: u32, -} -impl ::core::marker::Copy for JET_COLUMNDEF {} -impl ::core::clone::Clone for JET_COLUMNDEF { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub struct JET_COLUMNLIST { - pub cbStruct: u32, - pub tableid: super::StructuredStorage::JET_TABLEID, - pub cRecord: u32, - pub columnidPresentationOrder: u32, - pub columnidcolumnname: u32, - pub columnidcolumnid: u32, - pub columnidcoltyp: u32, - pub columnidCountry: u32, - pub columnidLangid: u32, - pub columnidCp: u32, - pub columnidCollate: u32, - pub columnidcbMax: u32, - pub columnidgrbit: u32, - pub columnidDefault: u32, - pub columnidBaseTableName: u32, - pub columnidBaseColumnName: u32, - pub columnidDefinitionName: u32, -} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::marker::Copy for JET_COLUMNLIST {} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::clone::Clone for JET_COLUMNLIST { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct JET_COMMIT_ID { - pub signLog: JET_SIGNATURE, - pub reserved: i32, - pub commitId: i64, -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for JET_COMMIT_ID {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for JET_COMMIT_ID { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(4))] -#[cfg(target_arch = "x86")] -pub struct JET_COMMIT_ID { - pub signLog: JET_SIGNATURE, - pub reserved: i32, - pub commitId: i64, -} -#[cfg(target_arch = "x86")] -impl ::core::marker::Copy for JET_COMMIT_ID {} -#[cfg(target_arch = "x86")] -impl ::core::clone::Clone for JET_COMMIT_ID { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_CONDITIONALCOLUMN_A { - pub cbStruct: u32, - pub szColumnName: ::windows_sys::core::PSTR, - pub grbit: u32, -} -impl ::core::marker::Copy for JET_CONDITIONALCOLUMN_A {} -impl ::core::clone::Clone for JET_CONDITIONALCOLUMN_A { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_CONDITIONALCOLUMN_W { - pub cbStruct: u32, - pub szColumnName: ::windows_sys::core::PWSTR, - pub grbit: u32, -} -impl ::core::marker::Copy for JET_CONDITIONALCOLUMN_W {} -impl ::core::clone::Clone for JET_CONDITIONALCOLUMN_W { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_CONVERT_A { - pub szOldDll: ::windows_sys::core::PSTR, - pub Anonymous: JET_CONVERT_A_0, -} -impl ::core::marker::Copy for JET_CONVERT_A {} -impl ::core::clone::Clone for JET_CONVERT_A { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union JET_CONVERT_A_0 { - pub fFlags: u32, - pub Anonymous: JET_CONVERT_A_0_0, -} -impl ::core::marker::Copy for JET_CONVERT_A_0 {} -impl ::core::clone::Clone for JET_CONVERT_A_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_CONVERT_A_0_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for JET_CONVERT_A_0_0 {} -impl ::core::clone::Clone for JET_CONVERT_A_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_CONVERT_W { - pub szOldDll: ::windows_sys::core::PWSTR, - pub Anonymous: JET_CONVERT_W_0, -} -impl ::core::marker::Copy for JET_CONVERT_W {} -impl ::core::clone::Clone for JET_CONVERT_W { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union JET_CONVERT_W_0 { - pub fFlags: u32, - pub Anonymous: JET_CONVERT_W_0_0, -} -impl ::core::marker::Copy for JET_CONVERT_W_0 {} -impl ::core::clone::Clone for JET_CONVERT_W_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_CONVERT_W_0_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for JET_CONVERT_W_0_0 {} -impl ::core::clone::Clone for JET_CONVERT_W_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_DBINFOMISC { - pub ulVersion: u32, - pub ulUpdate: u32, - pub signDb: JET_SIGNATURE, - pub dbstate: u32, - pub lgposConsistent: JET_LGPOS, - pub logtimeConsistent: JET_LOGTIME, - pub logtimeAttach: JET_LOGTIME, - pub lgposAttach: JET_LGPOS, - pub logtimeDetach: JET_LOGTIME, - pub lgposDetach: JET_LGPOS, - pub signLog: JET_SIGNATURE, - pub bkinfoFullPrev: JET_BKINFO, - pub bkinfoIncPrev: JET_BKINFO, - pub bkinfoFullCur: JET_BKINFO, - pub fShadowingDisabled: u32, - pub fUpgradeDb: u32, - pub dwMajorVersion: u32, - pub dwMinorVersion: u32, - pub dwBuildNumber: u32, - pub lSPNumber: i32, - pub cbPageSize: u32, -} -impl ::core::marker::Copy for JET_DBINFOMISC {} -impl ::core::clone::Clone for JET_DBINFOMISC { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_DBINFOMISC2 { - pub ulVersion: u32, - pub ulUpdate: u32, - pub signDb: JET_SIGNATURE, - pub dbstate: u32, - pub lgposConsistent: JET_LGPOS, - pub logtimeConsistent: JET_LOGTIME, - pub logtimeAttach: JET_LOGTIME, - pub lgposAttach: JET_LGPOS, - pub logtimeDetach: JET_LOGTIME, - pub lgposDetach: JET_LGPOS, - pub signLog: JET_SIGNATURE, - pub bkinfoFullPrev: JET_BKINFO, - pub bkinfoIncPrev: JET_BKINFO, - pub bkinfoFullCur: JET_BKINFO, - pub fShadowingDisabled: u32, - pub fUpgradeDb: u32, - pub dwMajorVersion: u32, - pub dwMinorVersion: u32, - pub dwBuildNumber: u32, - pub lSPNumber: i32, - pub cbPageSize: u32, - pub genMinRequired: u32, - pub genMaxRequired: u32, - pub logtimeGenMaxCreate: JET_LOGTIME, - pub ulRepairCount: u32, - pub logtimeRepair: JET_LOGTIME, - pub ulRepairCountOld: u32, - pub ulECCFixSuccess: u32, - pub logtimeECCFixSuccess: JET_LOGTIME, - pub ulECCFixSuccessOld: u32, - pub ulECCFixFail: u32, - pub logtimeECCFixFail: JET_LOGTIME, - pub ulECCFixFailOld: u32, - pub ulBadChecksum: u32, - pub logtimeBadChecksum: JET_LOGTIME, - pub ulBadChecksumOld: u32, -} -impl ::core::marker::Copy for JET_DBINFOMISC2 {} -impl ::core::clone::Clone for JET_DBINFOMISC2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_DBINFOMISC3 { - pub ulVersion: u32, - pub ulUpdate: u32, - pub signDb: JET_SIGNATURE, - pub dbstate: u32, - pub lgposConsistent: JET_LGPOS, - pub logtimeConsistent: JET_LOGTIME, - pub logtimeAttach: JET_LOGTIME, - pub lgposAttach: JET_LGPOS, - pub logtimeDetach: JET_LOGTIME, - pub lgposDetach: JET_LGPOS, - pub signLog: JET_SIGNATURE, - pub bkinfoFullPrev: JET_BKINFO, - pub bkinfoIncPrev: JET_BKINFO, - pub bkinfoFullCur: JET_BKINFO, - pub fShadowingDisabled: u32, - pub fUpgradeDb: u32, - pub dwMajorVersion: u32, - pub dwMinorVersion: u32, - pub dwBuildNumber: u32, - pub lSPNumber: i32, - pub cbPageSize: u32, - pub genMinRequired: u32, - pub genMaxRequired: u32, - pub logtimeGenMaxCreate: JET_LOGTIME, - pub ulRepairCount: u32, - pub logtimeRepair: JET_LOGTIME, - pub ulRepairCountOld: u32, - pub ulECCFixSuccess: u32, - pub logtimeECCFixSuccess: JET_LOGTIME, - pub ulECCFixSuccessOld: u32, - pub ulECCFixFail: u32, - pub logtimeECCFixFail: JET_LOGTIME, - pub ulECCFixFailOld: u32, - pub ulBadChecksum: u32, - pub logtimeBadChecksum: JET_LOGTIME, - pub ulBadChecksumOld: u32, - pub genCommitted: u32, -} -impl ::core::marker::Copy for JET_DBINFOMISC3 {} -impl ::core::clone::Clone for JET_DBINFOMISC3 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_DBINFOMISC4 { - pub ulVersion: u32, - pub ulUpdate: u32, - pub signDb: JET_SIGNATURE, - pub dbstate: u32, - pub lgposConsistent: JET_LGPOS, - pub logtimeConsistent: JET_LOGTIME, - pub logtimeAttach: JET_LOGTIME, - pub lgposAttach: JET_LGPOS, - pub logtimeDetach: JET_LOGTIME, - pub lgposDetach: JET_LGPOS, - pub signLog: JET_SIGNATURE, - pub bkinfoFullPrev: JET_BKINFO, - pub bkinfoIncPrev: JET_BKINFO, - pub bkinfoFullCur: JET_BKINFO, - pub fShadowingDisabled: u32, - pub fUpgradeDb: u32, - pub dwMajorVersion: u32, - pub dwMinorVersion: u32, - pub dwBuildNumber: u32, - pub lSPNumber: i32, - pub cbPageSize: u32, - pub genMinRequired: u32, - pub genMaxRequired: u32, - pub logtimeGenMaxCreate: JET_LOGTIME, - pub ulRepairCount: u32, - pub logtimeRepair: JET_LOGTIME, - pub ulRepairCountOld: u32, - pub ulECCFixSuccess: u32, - pub logtimeECCFixSuccess: JET_LOGTIME, - pub ulECCFixSuccessOld: u32, - pub ulECCFixFail: u32, - pub logtimeECCFixFail: JET_LOGTIME, - pub ulECCFixFailOld: u32, - pub ulBadChecksum: u32, - pub logtimeBadChecksum: JET_LOGTIME, - pub ulBadChecksumOld: u32, - pub genCommitted: u32, - pub bkinfoCopyPrev: JET_BKINFO, - pub bkinfoDiffPrev: JET_BKINFO, -} -impl ::core::marker::Copy for JET_DBINFOMISC4 {} -impl ::core::clone::Clone for JET_DBINFOMISC4 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_DBINFOUPGRADE { - pub cbStruct: u32, - pub cbFilesizeLow: u32, - pub cbFilesizeHigh: u32, - pub cbFreeSpaceRequiredLow: u32, - pub cbFreeSpaceRequiredHigh: u32, - pub csecToUpgrade: u32, - pub Anonymous: JET_DBINFOUPGRADE_0, -} -impl ::core::marker::Copy for JET_DBINFOUPGRADE {} -impl ::core::clone::Clone for JET_DBINFOUPGRADE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union JET_DBINFOUPGRADE_0 { - pub ulFlags: u32, - pub Anonymous: JET_DBINFOUPGRADE_0_0, -} -impl ::core::marker::Copy for JET_DBINFOUPGRADE_0 {} -impl ::core::clone::Clone for JET_DBINFOUPGRADE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_DBINFOUPGRADE_0_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for JET_DBINFOUPGRADE_0_0 {} -impl ::core::clone::Clone for JET_DBINFOUPGRADE_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_ENUMCOLUMN { - pub columnid: u32, - pub err: i32, - pub Anonymous: JET_ENUMCOLUMN_0, -} -impl ::core::marker::Copy for JET_ENUMCOLUMN {} -impl ::core::clone::Clone for JET_ENUMCOLUMN { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union JET_ENUMCOLUMN_0 { - pub Anonymous1: JET_ENUMCOLUMN_0_0, - pub Anonymous2: JET_ENUMCOLUMN_0_1, -} -impl ::core::marker::Copy for JET_ENUMCOLUMN_0 {} -impl ::core::clone::Clone for JET_ENUMCOLUMN_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_ENUMCOLUMN_0_0 { - pub cEnumColumnValue: u32, - pub rgEnumColumnValue: *mut JET_ENUMCOLUMNVALUE, -} -impl ::core::marker::Copy for JET_ENUMCOLUMN_0_0 {} -impl ::core::clone::Clone for JET_ENUMCOLUMN_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_ENUMCOLUMN_0_1 { - pub cbData: u32, - pub pvData: *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for JET_ENUMCOLUMN_0_1 {} -impl ::core::clone::Clone for JET_ENUMCOLUMN_0_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_ENUMCOLUMNID { - pub columnid: u32, - pub ctagSequence: u32, - pub rgtagSequence: *mut u32, -} -impl ::core::marker::Copy for JET_ENUMCOLUMNID {} -impl ::core::clone::Clone for JET_ENUMCOLUMNID { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_ENUMCOLUMNVALUE { - pub itagSequence: u32, - pub err: i32, - pub cbData: u32, - pub pvData: *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for JET_ENUMCOLUMNVALUE {} -impl ::core::clone::Clone for JET_ENUMCOLUMNVALUE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_ERRINFOBASIC_W { - pub cbStruct: u32, - pub errValue: i32, - pub errcatMostSpecific: JET_ERRCAT, - pub rgCategoricalHierarchy: [u8; 8], - pub lSourceLine: u32, - pub rgszSourceFile: [u16; 64], -} -impl ::core::marker::Copy for JET_ERRINFOBASIC_W {} -impl ::core::clone::Clone for JET_ERRINFOBASIC_W { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_INDEXCREATE2_A { - pub cbStruct: u32, - pub szIndexName: ::windows_sys::core::PSTR, - pub szKey: ::windows_sys::core::PSTR, - pub cbKey: u32, - pub grbit: u32, - pub ulDensity: u32, - pub Anonymous1: JET_INDEXCREATE2_A_0, - pub Anonymous2: JET_INDEXCREATE2_A_1, - pub rgconditionalcolumn: *mut JET_CONDITIONALCOLUMN_A, - pub cConditionalColumn: u32, - pub err: i32, - pub cbKeyMost: u32, - pub pSpacehints: *mut JET_SPACEHINTS, -} -impl ::core::marker::Copy for JET_INDEXCREATE2_A {} -impl ::core::clone::Clone for JET_INDEXCREATE2_A { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union JET_INDEXCREATE2_A_0 { - pub lcid: u32, - pub pidxunicode: *mut JET_UNICODEINDEX, -} -impl ::core::marker::Copy for JET_INDEXCREATE2_A_0 {} -impl ::core::clone::Clone for JET_INDEXCREATE2_A_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union JET_INDEXCREATE2_A_1 { - pub cbVarSegMac: u32, - pub ptuplelimits: *mut JET_TUPLELIMITS, -} -impl ::core::marker::Copy for JET_INDEXCREATE2_A_1 {} -impl ::core::clone::Clone for JET_INDEXCREATE2_A_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_INDEXCREATE2_W { - pub cbStruct: u32, - pub szIndexName: ::windows_sys::core::PWSTR, - pub szKey: ::windows_sys::core::PWSTR, - pub cbKey: u32, - pub grbit: u32, - pub ulDensity: u32, - pub Anonymous1: JET_INDEXCREATE2_W_0, - pub Anonymous2: JET_INDEXCREATE2_W_1, - pub rgconditionalcolumn: *mut JET_CONDITIONALCOLUMN_W, - pub cConditionalColumn: u32, - pub err: i32, - pub cbKeyMost: u32, - pub pSpacehints: *mut JET_SPACEHINTS, -} -impl ::core::marker::Copy for JET_INDEXCREATE2_W {} -impl ::core::clone::Clone for JET_INDEXCREATE2_W { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union JET_INDEXCREATE2_W_0 { - pub lcid: u32, - pub pidxunicode: *mut JET_UNICODEINDEX, -} -impl ::core::marker::Copy for JET_INDEXCREATE2_W_0 {} -impl ::core::clone::Clone for JET_INDEXCREATE2_W_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union JET_INDEXCREATE2_W_1 { - pub cbVarSegMac: u32, - pub ptuplelimits: *mut JET_TUPLELIMITS, -} -impl ::core::marker::Copy for JET_INDEXCREATE2_W_1 {} -impl ::core::clone::Clone for JET_INDEXCREATE2_W_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_INDEXCREATE3_A { - pub cbStruct: u32, - pub szIndexName: ::windows_sys::core::PSTR, - pub szKey: ::windows_sys::core::PSTR, - pub cbKey: u32, - pub grbit: u32, - pub ulDensity: u32, - pub pidxunicode: *mut JET_UNICODEINDEX2, - pub Anonymous: JET_INDEXCREATE3_A_0, - pub rgconditionalcolumn: *mut JET_CONDITIONALCOLUMN_A, - pub cConditionalColumn: u32, - pub err: i32, - pub cbKeyMost: u32, - pub pSpacehints: *mut JET_SPACEHINTS, -} -impl ::core::marker::Copy for JET_INDEXCREATE3_A {} -impl ::core::clone::Clone for JET_INDEXCREATE3_A { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union JET_INDEXCREATE3_A_0 { - pub cbVarSegMac: u32, - pub ptuplelimits: *mut JET_TUPLELIMITS, -} -impl ::core::marker::Copy for JET_INDEXCREATE3_A_0 {} -impl ::core::clone::Clone for JET_INDEXCREATE3_A_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_INDEXCREATE3_W { - pub cbStruct: u32, - pub szIndexName: ::windows_sys::core::PWSTR, - pub szKey: ::windows_sys::core::PWSTR, - pub cbKey: u32, - pub grbit: u32, - pub ulDensity: u32, - pub pidxunicode: *mut JET_UNICODEINDEX2, - pub Anonymous: JET_INDEXCREATE3_W_0, - pub rgconditionalcolumn: *mut JET_CONDITIONALCOLUMN_W, - pub cConditionalColumn: u32, - pub err: i32, - pub cbKeyMost: u32, - pub pSpacehints: *mut JET_SPACEHINTS, -} -impl ::core::marker::Copy for JET_INDEXCREATE3_W {} -impl ::core::clone::Clone for JET_INDEXCREATE3_W { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union JET_INDEXCREATE3_W_0 { - pub cbVarSegMac: u32, - pub ptuplelimits: *mut JET_TUPLELIMITS, -} -impl ::core::marker::Copy for JET_INDEXCREATE3_W_0 {} -impl ::core::clone::Clone for JET_INDEXCREATE3_W_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_INDEXCREATE_A { - pub cbStruct: u32, - pub szIndexName: ::windows_sys::core::PSTR, - pub szKey: ::windows_sys::core::PSTR, - pub cbKey: u32, - pub grbit: u32, - pub ulDensity: u32, - pub Anonymous1: JET_INDEXCREATE_A_0, - pub Anonymous2: JET_INDEXCREATE_A_1, - pub rgconditionalcolumn: *mut JET_CONDITIONALCOLUMN_A, - pub cConditionalColumn: u32, - pub err: i32, - pub cbKeyMost: u32, -} -impl ::core::marker::Copy for JET_INDEXCREATE_A {} -impl ::core::clone::Clone for JET_INDEXCREATE_A { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union JET_INDEXCREATE_A_0 { - pub lcid: u32, - pub pidxunicode: *mut JET_UNICODEINDEX, -} -impl ::core::marker::Copy for JET_INDEXCREATE_A_0 {} -impl ::core::clone::Clone for JET_INDEXCREATE_A_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union JET_INDEXCREATE_A_1 { - pub cbVarSegMac: u32, - pub ptuplelimits: *mut JET_TUPLELIMITS, -} -impl ::core::marker::Copy for JET_INDEXCREATE_A_1 {} -impl ::core::clone::Clone for JET_INDEXCREATE_A_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_INDEXCREATE_W { - pub cbStruct: u32, - pub szIndexName: ::windows_sys::core::PWSTR, - pub szKey: ::windows_sys::core::PWSTR, - pub cbKey: u32, - pub grbit: u32, - pub ulDensity: u32, - pub Anonymous1: JET_INDEXCREATE_W_0, - pub Anonymous2: JET_INDEXCREATE_W_1, - pub rgconditionalcolumn: *mut JET_CONDITIONALCOLUMN_W, - pub cConditionalColumn: u32, - pub err: i32, - pub cbKeyMost: u32, -} -impl ::core::marker::Copy for JET_INDEXCREATE_W {} -impl ::core::clone::Clone for JET_INDEXCREATE_W { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union JET_INDEXCREATE_W_0 { - pub lcid: u32, - pub pidxunicode: *mut JET_UNICODEINDEX, -} -impl ::core::marker::Copy for JET_INDEXCREATE_W_0 {} -impl ::core::clone::Clone for JET_INDEXCREATE_W_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union JET_INDEXCREATE_W_1 { - pub cbVarSegMac: u32, - pub ptuplelimits: *mut JET_TUPLELIMITS, -} -impl ::core::marker::Copy for JET_INDEXCREATE_W_1 {} -impl ::core::clone::Clone for JET_INDEXCREATE_W_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct JET_INDEXID { - pub cbStruct: u32, - pub rgbIndexId: [u8; 16], -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for JET_INDEXID {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for JET_INDEXID { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(target_arch = "x86")] -pub struct JET_INDEXID { - pub cbStruct: u32, - pub rgbIndexId: [u8; 12], -} -#[cfg(target_arch = "x86")] -impl ::core::marker::Copy for JET_INDEXID {} -#[cfg(target_arch = "x86")] -impl ::core::clone::Clone for JET_INDEXID { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub struct JET_INDEXLIST { - pub cbStruct: u32, - pub tableid: super::StructuredStorage::JET_TABLEID, - pub cRecord: u32, - pub columnidindexname: u32, - pub columnidgrbitIndex: u32, - pub columnidcKey: u32, - pub columnidcEntry: u32, - pub columnidcPage: u32, - pub columnidcColumn: u32, - pub columnidiColumn: u32, - pub columnidcolumnid: u32, - pub columnidcoltyp: u32, - pub columnidCountry: u32, - pub columnidLangid: u32, - pub columnidCp: u32, - pub columnidCollate: u32, - pub columnidgrbitColumn: u32, - pub columnidcolumnname: u32, - pub columnidLCMapFlags: u32, -} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::marker::Copy for JET_INDEXLIST {} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::clone::Clone for JET_INDEXLIST { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub struct JET_INDEXRANGE { - pub cbStruct: u32, - pub tableid: super::StructuredStorage::JET_TABLEID, - pub grbit: u32, -} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::marker::Copy for JET_INDEXRANGE {} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::clone::Clone for JET_INDEXRANGE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_INDEX_COLUMN { - pub columnid: u32, - pub relop: JET_RELOP, - pub pv: *mut ::core::ffi::c_void, - pub cb: u32, - pub grbit: u32, -} -impl ::core::marker::Copy for JET_INDEX_COLUMN {} -impl ::core::clone::Clone for JET_INDEX_COLUMN { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_INDEX_RANGE { - pub rgStartColumns: *mut JET_INDEX_COLUMN, - pub cStartColumns: u32, - pub rgEndColumns: *mut JET_INDEX_COLUMN, - pub cEndColumns: u32, -} -impl ::core::marker::Copy for JET_INDEX_RANGE {} -impl ::core::clone::Clone for JET_INDEX_RANGE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub struct JET_INSTANCE_INFO_A { - pub hInstanceId: super::StructuredStorage::JET_INSTANCE, - pub szInstanceName: ::windows_sys::core::PSTR, - pub cDatabases: super::StructuredStorage::JET_API_PTR, - pub szDatabaseFileName: *mut *mut i8, - pub szDatabaseDisplayName: *mut *mut i8, - pub szDatabaseSLVFileName_Obsolete: *mut *mut i8, -} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::marker::Copy for JET_INSTANCE_INFO_A {} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::clone::Clone for JET_INSTANCE_INFO_A { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub struct JET_INSTANCE_INFO_W { - pub hInstanceId: super::StructuredStorage::JET_INSTANCE, - pub szInstanceName: ::windows_sys::core::PWSTR, - pub cDatabases: super::StructuredStorage::JET_API_PTR, - pub szDatabaseFileName: *mut *mut u16, - pub szDatabaseDisplayName: *mut *mut u16, - pub szDatabaseSLVFileName_Obsolete: *mut *mut u16, -} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::marker::Copy for JET_INSTANCE_INFO_W {} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::clone::Clone for JET_INSTANCE_INFO_W { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct JET_LGPOS { - pub ib: u16, - pub isec: u16, - pub lGeneration: i32, -} -impl ::core::marker::Copy for JET_LGPOS {} -impl ::core::clone::Clone for JET_LGPOS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_LOGINFO_A { - pub cbSize: u32, - pub ulGenLow: u32, - pub ulGenHigh: u32, - pub szBaseName: [u8; 4], -} -impl ::core::marker::Copy for JET_LOGINFO_A {} -impl ::core::clone::Clone for JET_LOGINFO_A { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_LOGINFO_W { - pub cbSize: u32, - pub ulGenLow: u32, - pub ulGenHigh: u32, - pub szBaseName: [u16; 4], -} -impl ::core::marker::Copy for JET_LOGINFO_W {} -impl ::core::clone::Clone for JET_LOGINFO_W { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_LOGTIME { - pub bSeconds: u8, - pub bMinutes: u8, - pub bHours: u8, - pub bDay: u8, - pub bMonth: u8, - pub bYear: u8, - pub Anonymous1: JET_LOGTIME_0, - pub Anonymous2: JET_LOGTIME_1, -} -impl ::core::marker::Copy for JET_LOGTIME {} -impl ::core::clone::Clone for JET_LOGTIME { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union JET_LOGTIME_0 { - pub bFiller1: u8, - pub Anonymous: JET_LOGTIME_0_0, -} -impl ::core::marker::Copy for JET_LOGTIME_0 {} -impl ::core::clone::Clone for JET_LOGTIME_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_LOGTIME_0_0 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for JET_LOGTIME_0_0 {} -impl ::core::clone::Clone for JET_LOGTIME_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union JET_LOGTIME_1 { - pub bFiller2: u8, - pub Anonymous: JET_LOGTIME_1_0, -} -impl ::core::marker::Copy for JET_LOGTIME_1 {} -impl ::core::clone::Clone for JET_LOGTIME_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_LOGTIME_1_0 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for JET_LOGTIME_1_0 {} -impl ::core::clone::Clone for JET_LOGTIME_1_0 { - fn clone(&self) -> Self { - *self - } -} -pub type JET_LS = usize; -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct JET_OBJECTINFO { - pub cbStruct: u32, - pub objtyp: u32, - pub dtCreate: f64, - pub dtUpdate: f64, - pub grbit: u32, - pub flags: u32, - pub cRecord: u32, - pub cPage: u32, -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for JET_OBJECTINFO {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for JET_OBJECTINFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(4))] -#[cfg(target_arch = "x86")] -pub struct JET_OBJECTINFO { - pub cbStruct: u32, - pub objtyp: u32, - pub dtCreate: f64, - pub dtUpdate: f64, - pub grbit: u32, - pub flags: u32, - pub cRecord: u32, - pub cPage: u32, -} -#[cfg(target_arch = "x86")] -impl ::core::marker::Copy for JET_OBJECTINFO {} -#[cfg(target_arch = "x86")] -impl ::core::clone::Clone for JET_OBJECTINFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub struct JET_OBJECTLIST { - pub cbStruct: u32, - pub tableid: super::StructuredStorage::JET_TABLEID, - pub cRecord: u32, - pub columnidcontainername: u32, - pub columnidobjectname: u32, - pub columnidobjtyp: u32, - pub columniddtCreate: u32, - pub columniddtUpdate: u32, - pub columnidgrbit: u32, - pub columnidflags: u32, - pub columnidcRecord: u32, - pub columnidcPage: u32, -} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::marker::Copy for JET_OBJECTLIST {} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::clone::Clone for JET_OBJECTLIST { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub struct JET_OPENTEMPORARYTABLE { - pub cbStruct: u32, - pub prgcolumndef: *const JET_COLUMNDEF, - pub ccolumn: u32, - pub pidxunicode: *mut JET_UNICODEINDEX, - pub grbit: u32, - pub prgcolumnid: *mut u32, - pub cbKeyMost: u32, - pub cbVarSegMac: u32, - pub tableid: super::StructuredStorage::JET_TABLEID, -} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::marker::Copy for JET_OPENTEMPORARYTABLE {} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::clone::Clone for JET_OPENTEMPORARYTABLE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub struct JET_OPENTEMPORARYTABLE2 { - pub cbStruct: u32, - pub prgcolumndef: *const JET_COLUMNDEF, - pub ccolumn: u32, - pub pidxunicode: *mut JET_UNICODEINDEX2, - pub grbit: u32, - pub prgcolumnid: *mut u32, - pub cbKeyMost: u32, - pub cbVarSegMac: u32, - pub tableid: super::StructuredStorage::JET_TABLEID, -} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::marker::Copy for JET_OPENTEMPORARYTABLE2 {} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::clone::Clone for JET_OPENTEMPORARYTABLE2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_OPERATIONCONTEXT { - pub ulUserID: u32, - pub nOperationID: u8, - pub nOperationType: u8, - pub nClientType: u8, - pub fFlags: u8, -} -impl ::core::marker::Copy for JET_OPERATIONCONTEXT {} -impl ::core::clone::Clone for JET_OPERATIONCONTEXT { - fn clone(&self) -> Self { - *self - } -} -pub type JET_OSSNAPID = usize; -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub struct JET_RECORDLIST { - pub cbStruct: u32, - pub tableid: super::StructuredStorage::JET_TABLEID, - pub cRecord: u32, - pub columnidBookmark: u32, -} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::marker::Copy for JET_RECORDLIST {} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::clone::Clone for JET_RECORDLIST { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_RECPOS { - pub cbStruct: u32, - pub centriesLT: u32, - pub centriesInRange: u32, - pub centriesTotal: u32, -} -impl ::core::marker::Copy for JET_RECPOS {} -impl ::core::clone::Clone for JET_RECPOS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct JET_RECPOS2 { - pub cbStruct: u32, - pub centriesLTDeprecated: u32, - pub centriesInRangeDeprecated: u32, - pub centriesTotalDeprecated: u32, - pub centriesLT: u64, - pub centriesTotal: u64, -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for JET_RECPOS2 {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for JET_RECPOS2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(4))] -#[cfg(target_arch = "x86")] -pub struct JET_RECPOS2 { - pub cbStruct: u32, - pub centriesLTDeprecated: u32, - pub centriesInRangeDeprecated: u32, - pub centriesTotalDeprecated: u32, - pub centriesLT: u64, - pub centriesTotal: u64, -} -#[cfg(target_arch = "x86")] -impl ::core::marker::Copy for JET_RECPOS2 {} -#[cfg(target_arch = "x86")] -impl ::core::clone::Clone for JET_RECPOS2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct JET_RECSIZE { - pub cbData: u64, - pub cbLongValueData: u64, - pub cbOverhead: u64, - pub cbLongValueOverhead: u64, - pub cNonTaggedColumns: u64, - pub cTaggedColumns: u64, - pub cLongValues: u64, - pub cMultiValues: u64, -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for JET_RECSIZE {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for JET_RECSIZE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(4))] -#[cfg(target_arch = "x86")] -pub struct JET_RECSIZE { - pub cbData: u64, - pub cbLongValueData: u64, - pub cbOverhead: u64, - pub cbLongValueOverhead: u64, - pub cNonTaggedColumns: u64, - pub cTaggedColumns: u64, - pub cLongValues: u64, - pub cMultiValues: u64, -} -#[cfg(target_arch = "x86")] -impl ::core::marker::Copy for JET_RECSIZE {} -#[cfg(target_arch = "x86")] -impl ::core::clone::Clone for JET_RECSIZE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct JET_RECSIZE2 { - pub cbData: u64, - pub cbLongValueData: u64, - pub cbOverhead: u64, - pub cbLongValueOverhead: u64, - pub cNonTaggedColumns: u64, - pub cTaggedColumns: u64, - pub cLongValues: u64, - pub cMultiValues: u64, - pub cCompressedColumns: u64, - pub cbDataCompressed: u64, - pub cbLongValueDataCompressed: u64, -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for JET_RECSIZE2 {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for JET_RECSIZE2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(4))] -#[cfg(target_arch = "x86")] -pub struct JET_RECSIZE2 { - pub cbData: u64, - pub cbLongValueData: u64, - pub cbOverhead: u64, - pub cbLongValueOverhead: u64, - pub cNonTaggedColumns: u64, - pub cTaggedColumns: u64, - pub cLongValues: u64, - pub cMultiValues: u64, - pub cCompressedColumns: u64, - pub cbDataCompressed: u64, - pub cbLongValueDataCompressed: u64, -} -#[cfg(target_arch = "x86")] -impl ::core::marker::Copy for JET_RECSIZE2 {} -#[cfg(target_arch = "x86")] -impl ::core::clone::Clone for JET_RECSIZE2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_RETINFO { - pub cbStruct: u32, - pub ibLongValue: u32, - pub itagSequence: u32, - pub columnidNextTagged: u32, -} -impl ::core::marker::Copy for JET_RETINFO {} -impl ::core::clone::Clone for JET_RETINFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_RETRIEVECOLUMN { - pub columnid: u32, - pub pvData: *mut ::core::ffi::c_void, - pub cbData: u32, - pub cbActual: u32, - pub grbit: u32, - pub ibLongValue: u32, - pub itagSequence: u32, - pub columnidNextTagged: u32, - pub err: i32, -} -impl ::core::marker::Copy for JET_RETRIEVECOLUMN {} -impl ::core::clone::Clone for JET_RETRIEVECOLUMN { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub struct JET_RSTINFO_A { - pub cbStruct: u32, - pub rgrstmap: *mut JET_RSTMAP_A, - pub crstmap: i32, - pub lgposStop: JET_LGPOS, - pub logtimeStop: JET_LOGTIME, - pub pfnStatus: JET_PFNSTATUS, -} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::marker::Copy for JET_RSTINFO_A {} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::clone::Clone for JET_RSTINFO_A { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub struct JET_RSTINFO_W { - pub cbStruct: u32, - pub rgrstmap: *mut JET_RSTMAP_W, - pub crstmap: i32, - pub lgposStop: JET_LGPOS, - pub logtimeStop: JET_LOGTIME, - pub pfnStatus: JET_PFNSTATUS, -} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::marker::Copy for JET_RSTINFO_W {} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::clone::Clone for JET_RSTINFO_W { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_RSTMAP_A { - pub szDatabaseName: ::windows_sys::core::PSTR, - pub szNewDatabaseName: ::windows_sys::core::PSTR, -} -impl ::core::marker::Copy for JET_RSTMAP_A {} -impl ::core::clone::Clone for JET_RSTMAP_A { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_RSTMAP_W { - pub szDatabaseName: ::windows_sys::core::PWSTR, - pub szNewDatabaseName: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for JET_RSTMAP_W {} -impl ::core::clone::Clone for JET_RSTMAP_W { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_SETCOLUMN { - pub columnid: u32, - pub pvData: *const ::core::ffi::c_void, - pub cbData: u32, - pub grbit: u32, - pub ibLongValue: u32, - pub itagSequence: u32, - pub err: i32, -} -impl ::core::marker::Copy for JET_SETCOLUMN {} -impl ::core::clone::Clone for JET_SETCOLUMN { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_SETINFO { - pub cbStruct: u32, - pub ibLongValue: u32, - pub itagSequence: u32, -} -impl ::core::marker::Copy for JET_SETINFO {} -impl ::core::clone::Clone for JET_SETINFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub struct JET_SETSYSPARAM_A { - pub paramid: u32, - pub lParam: super::StructuredStorage::JET_API_PTR, - pub sz: ::windows_sys::core::PCSTR, - pub err: i32, -} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::marker::Copy for JET_SETSYSPARAM_A {} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::clone::Clone for JET_SETSYSPARAM_A { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub struct JET_SETSYSPARAM_W { - pub paramid: u32, - pub lParam: super::StructuredStorage::JET_API_PTR, - pub sz: ::windows_sys::core::PCWSTR, - pub err: i32, -} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::marker::Copy for JET_SETSYSPARAM_W {} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::clone::Clone for JET_SETSYSPARAM_W { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct JET_SIGNATURE { - pub ulRandom: u32, - pub logtimeCreate: JET_LOGTIME, - pub szComputerName: [u8; 16], -} -impl ::core::marker::Copy for JET_SIGNATURE {} -impl ::core::clone::Clone for JET_SIGNATURE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_SNPROG { - pub cbStruct: u32, - pub cunitDone: u32, - pub cunitTotal: u32, -} -impl ::core::marker::Copy for JET_SNPROG {} -impl ::core::clone::Clone for JET_SNPROG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_SPACEHINTS { - pub cbStruct: u32, - pub ulInitialDensity: u32, - pub cbInitial: u32, - pub grbit: u32, - pub ulMaintDensity: u32, - pub ulGrowth: u32, - pub cbMinExtent: u32, - pub cbMaxExtent: u32, -} -impl ::core::marker::Copy for JET_SPACEHINTS {} -impl ::core::clone::Clone for JET_SPACEHINTS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub struct JET_TABLECREATE2_A { - pub cbStruct: u32, - pub szTableName: ::windows_sys::core::PSTR, - pub szTemplateTableName: ::windows_sys::core::PSTR, - pub ulPages: u32, - pub ulDensity: u32, - pub rgcolumncreate: *mut JET_COLUMNCREATE_A, - pub cColumns: u32, - pub rgindexcreate: *mut JET_INDEXCREATE_A, - pub cIndexes: u32, - pub szCallback: ::windows_sys::core::PSTR, - pub cbtyp: u32, - pub grbit: u32, - pub tableid: super::StructuredStorage::JET_TABLEID, - pub cCreated: u32, -} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::marker::Copy for JET_TABLECREATE2_A {} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::clone::Clone for JET_TABLECREATE2_A { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub struct JET_TABLECREATE2_W { - pub cbStruct: u32, - pub szTableName: ::windows_sys::core::PWSTR, - pub szTemplateTableName: ::windows_sys::core::PWSTR, - pub ulPages: u32, - pub ulDensity: u32, - pub rgcolumncreate: *mut JET_COLUMNCREATE_W, - pub cColumns: u32, - pub rgindexcreate: *mut JET_INDEXCREATE_W, - pub cIndexes: u32, - pub szCallback: ::windows_sys::core::PWSTR, - pub cbtyp: u32, - pub grbit: u32, - pub tableid: super::StructuredStorage::JET_TABLEID, - pub cCreated: u32, -} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::marker::Copy for JET_TABLECREATE2_W {} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::clone::Clone for JET_TABLECREATE2_W { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub struct JET_TABLECREATE3_A { - pub cbStruct: u32, - pub szTableName: ::windows_sys::core::PSTR, - pub szTemplateTableName: ::windows_sys::core::PSTR, - pub ulPages: u32, - pub ulDensity: u32, - pub rgcolumncreate: *mut JET_COLUMNCREATE_A, - pub cColumns: u32, - pub rgindexcreate: *mut JET_INDEXCREATE2_A, - pub cIndexes: u32, - pub szCallback: ::windows_sys::core::PSTR, - pub cbtyp: u32, - pub grbit: u32, - pub pSeqSpacehints: *mut JET_SPACEHINTS, - pub pLVSpacehints: *mut JET_SPACEHINTS, - pub cbSeparateLV: u32, - pub tableid: super::StructuredStorage::JET_TABLEID, - pub cCreated: u32, -} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::marker::Copy for JET_TABLECREATE3_A {} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::clone::Clone for JET_TABLECREATE3_A { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub struct JET_TABLECREATE3_W { - pub cbStruct: u32, - pub szTableName: ::windows_sys::core::PWSTR, - pub szTemplateTableName: ::windows_sys::core::PWSTR, - pub ulPages: u32, - pub ulDensity: u32, - pub rgcolumncreate: *mut JET_COLUMNCREATE_W, - pub cColumns: u32, - pub rgindexcreate: *mut JET_INDEXCREATE2_W, - pub cIndexes: u32, - pub szCallback: ::windows_sys::core::PWSTR, - pub cbtyp: u32, - pub grbit: u32, - pub pSeqSpacehints: *mut JET_SPACEHINTS, - pub pLVSpacehints: *mut JET_SPACEHINTS, - pub cbSeparateLV: u32, - pub tableid: super::StructuredStorage::JET_TABLEID, - pub cCreated: u32, -} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::marker::Copy for JET_TABLECREATE3_W {} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::clone::Clone for JET_TABLECREATE3_W { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub struct JET_TABLECREATE4_A { - pub cbStruct: u32, - pub szTableName: ::windows_sys::core::PSTR, - pub szTemplateTableName: ::windows_sys::core::PSTR, - pub ulPages: u32, - pub ulDensity: u32, - pub rgcolumncreate: *mut JET_COLUMNCREATE_A, - pub cColumns: u32, - pub rgindexcreate: *mut JET_INDEXCREATE3_A, - pub cIndexes: u32, - pub szCallback: ::windows_sys::core::PSTR, - pub cbtyp: u32, - pub grbit: u32, - pub pSeqSpacehints: *mut JET_SPACEHINTS, - pub pLVSpacehints: *mut JET_SPACEHINTS, - pub cbSeparateLV: u32, - pub tableid: super::StructuredStorage::JET_TABLEID, - pub cCreated: u32, -} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::marker::Copy for JET_TABLECREATE4_A {} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::clone::Clone for JET_TABLECREATE4_A { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub struct JET_TABLECREATE4_W { - pub cbStruct: u32, - pub szTableName: ::windows_sys::core::PWSTR, - pub szTemplateTableName: ::windows_sys::core::PWSTR, - pub ulPages: u32, - pub ulDensity: u32, - pub rgcolumncreate: *mut JET_COLUMNCREATE_W, - pub cColumns: u32, - pub rgindexcreate: *mut JET_INDEXCREATE3_W, - pub cIndexes: u32, - pub szCallback: ::windows_sys::core::PWSTR, - pub cbtyp: u32, - pub grbit: u32, - pub pSeqSpacehints: *mut JET_SPACEHINTS, - pub pLVSpacehints: *mut JET_SPACEHINTS, - pub cbSeparateLV: u32, - pub tableid: super::StructuredStorage::JET_TABLEID, - pub cCreated: u32, -} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::marker::Copy for JET_TABLECREATE4_W {} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::clone::Clone for JET_TABLECREATE4_W { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub struct JET_TABLECREATE_A { - pub cbStruct: u32, - pub szTableName: ::windows_sys::core::PSTR, - pub szTemplateTableName: ::windows_sys::core::PSTR, - pub ulPages: u32, - pub ulDensity: u32, - pub rgcolumncreate: *mut JET_COLUMNCREATE_A, - pub cColumns: u32, - pub rgindexcreate: *mut JET_INDEXCREATE_A, - pub cIndexes: u32, - pub grbit: u32, - pub tableid: super::StructuredStorage::JET_TABLEID, - pub cCreated: u32, -} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::marker::Copy for JET_TABLECREATE_A {} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::clone::Clone for JET_TABLECREATE_A { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub struct JET_TABLECREATE_W { - pub cbStruct: u32, - pub szTableName: ::windows_sys::core::PWSTR, - pub szTemplateTableName: ::windows_sys::core::PWSTR, - pub ulPages: u32, - pub ulDensity: u32, - pub rgcolumncreate: *mut JET_COLUMNCREATE_W, - pub cColumns: u32, - pub rgindexcreate: *mut JET_INDEXCREATE_W, - pub cIndexes: u32, - pub grbit: u32, - pub tableid: super::StructuredStorage::JET_TABLEID, - pub cCreated: u32, -} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::marker::Copy for JET_TABLECREATE_W {} -#[cfg(feature = "Win32_Storage_StructuredStorage")] -impl ::core::clone::Clone for JET_TABLECREATE_W { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_THREADSTATS { - pub cbStruct: u32, - pub cPageReferenced: u32, - pub cPageRead: u32, - pub cPagePreread: u32, - pub cPageDirtied: u32, - pub cPageRedirtied: u32, - pub cLogRecord: u32, - pub cbLogRecord: u32, -} -impl ::core::marker::Copy for JET_THREADSTATS {} -impl ::core::clone::Clone for JET_THREADSTATS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct JET_THREADSTATS2 { - pub cbStruct: u32, - pub cPageReferenced: u32, - pub cPageRead: u32, - pub cPagePreread: u32, - pub cPageDirtied: u32, - pub cPageRedirtied: u32, - pub cLogRecord: u32, - pub cbLogRecord: u32, - pub cusecPageCacheMiss: u64, - pub cPageCacheMiss: u32, -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for JET_THREADSTATS2 {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for JET_THREADSTATS2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(4))] -#[cfg(target_arch = "x86")] -pub struct JET_THREADSTATS2 { - pub cbStruct: u32, - pub cPageReferenced: u32, - pub cPageRead: u32, - pub cPagePreread: u32, - pub cPageDirtied: u32, - pub cPageRedirtied: u32, - pub cLogRecord: u32, - pub cbLogRecord: u32, - pub cusecPageCacheMiss: u64, - pub cPageCacheMiss: u32, -} -#[cfg(target_arch = "x86")] -impl ::core::marker::Copy for JET_THREADSTATS2 {} -#[cfg(target_arch = "x86")] -impl ::core::clone::Clone for JET_THREADSTATS2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_TUPLELIMITS { - pub chLengthMin: u32, - pub chLengthMax: u32, - pub chToIndexMax: u32, - pub cchIncrement: u32, - pub ichStart: u32, -} -impl ::core::marker::Copy for JET_TUPLELIMITS {} -impl ::core::clone::Clone for JET_TUPLELIMITS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_UNICODEINDEX { - pub lcid: u32, - pub dwMapFlags: u32, -} -impl ::core::marker::Copy for JET_UNICODEINDEX {} -impl ::core::clone::Clone for JET_UNICODEINDEX { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_UNICODEINDEX2 { - pub szLocaleName: ::windows_sys::core::PWSTR, - pub dwMapFlags: u32, -} -impl ::core::marker::Copy for JET_UNICODEINDEX2 {} -impl ::core::clone::Clone for JET_UNICODEINDEX2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_USERDEFINEDDEFAULT_A { - pub szCallback: ::windows_sys::core::PSTR, - pub pbUserData: *mut u8, - pub cbUserData: u32, - pub szDependantColumns: ::windows_sys::core::PSTR, -} -impl ::core::marker::Copy for JET_USERDEFINEDDEFAULT_A {} -impl ::core::clone::Clone for JET_USERDEFINEDDEFAULT_A { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct JET_USERDEFINEDDEFAULT_W { - pub szCallback: ::windows_sys::core::PWSTR, - pub pbUserData: *mut u8, - pub cbUserData: u32, - pub szDependantColumns: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for JET_USERDEFINEDDEFAULT_W {} -impl ::core::clone::Clone for JET_USERDEFINEDDEFAULT_W { - fn clone(&self) -> Self { - *self - } -} -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub type JET_CALLBACK = ::core::option::Option<unsafe extern "system" fn(sesid: super::StructuredStorage::JET_SESID, dbid: u32, tableid: super::StructuredStorage::JET_TABLEID, cbtyp: u32, pvarg1: *mut ::core::ffi::c_void, pvarg2: *mut ::core::ffi::c_void, pvcontext: *const ::core::ffi::c_void, ulunused: super::StructuredStorage::JET_API_PTR) -> i32>; -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub type JET_PFNDURABLECOMMITCALLBACK = ::core::option::Option<unsafe extern "system" fn(instance: super::StructuredStorage::JET_INSTANCE, pcommitidseen: *const JET_COMMIT_ID, grbit: u32) -> i32>; -pub type JET_PFNREALLOC = ::core::option::Option<unsafe extern "system" fn(pvcontext: *const ::core::ffi::c_void, pv: *const ::core::ffi::c_void, cb: u32) -> *mut ::core::ffi::c_void>; -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -#[cfg(feature = "Win32_Storage_StructuredStorage")] -pub type JET_PFNSTATUS = ::core::option::Option<unsafe extern "system" fn(sesid: super::StructuredStorage::JET_SESID, snp: u32, snt: u32, pv: *const ::core::ffi::c_void) -> i32>; diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/Nvme/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/Nvme/mod.rs deleted file mode 100644 index b22b594..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Storage/Nvme/mod.rs +++ /dev/null @@ -1,5398 +0,0 @@ -pub const FIRMWARE_ACTIVATION_HISTORY_ENTRY_VERSION_1: u32 = 1u32; -pub const GUID_MFND_CHILD_CONTROLLER_EVENT_LOG_PAGE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x98bcce18_a5f0_bf35_a544_d97f259d669c); -pub const GUID_MFND_CHILD_CONTROLLER_EVENT_LOG_PAGEGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x98bcce18_a5f0_bf35_a544_d97f259d669c); -pub const GUID_OCP_DEVICE_DEVICE_CAPABILITIES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0d054297_e1d1_98c9_5d49_584b913c05b7); -pub const GUID_OCP_DEVICE_DEVICE_CAPABILITIESGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0d054297_e1d1_98c9_5d49_584b913c05b7); -pub const GUID_OCP_DEVICE_ERROR_RECOVERY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2131d944_30fe_ae34_ab4d_fd3dba83195a); -pub const GUID_OCP_DEVICE_ERROR_RECOVERYGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2131d944_30fe_ae34_ab4d_fd3dba83195a); -pub const GUID_OCP_DEVICE_FIRMWARE_ACTIVATION_HISTORY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x769a796d_dab4_a3f6_e24d_b28aacf31cd1); -pub const GUID_OCP_DEVICE_FIRMWARE_ACTIVATION_HISTORYGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x769a796d_dab4_a3f6_e24d_b28aacf31cd1); -pub const GUID_OCP_DEVICE_LATENCY_MONITOR: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8cc07a92_84d0_9c6c_7043_e6d4585ed485); -pub const GUID_OCP_DEVICE_LATENCY_MONITORGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8cc07a92_84d0_9c6c_7043_e6d4585ed485); -pub const GUID_OCP_DEVICE_SMART_INFORMATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2810afc5_bfea_a4f2_9c4f_6f7cc914d5af); -pub const GUID_OCP_DEVICE_SMART_INFORMATIONGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2810afc5_bfea_a4f2_9c4f_6f7cc914d5af); -pub const GUID_OCP_DEVICE_TCG_CONFIGURATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbd244006_e07e_83e6_c047_54fa9d2ae054); -pub const GUID_OCP_DEVICE_TCG_CONFIGURATIONGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbd244006_e07e_83e6_c047_54fa9d2ae054); -pub const GUID_OCP_DEVICE_TCG_HISTORY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x704b513e_09c6_9490_274e_d0969690d788); -pub const GUID_OCP_DEVICE_TCG_HISTORYGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x704b513e_09c6_9490_274e_d0969690d788); -pub const GUID_OCP_DEVICE_UNSUPPORTED_REQUIREMENTS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0e9c722f_2399_bb2c_6348_32d0b798bbc7); -pub const GUID_OCP_DEVICE_UNSUPPORTED_REQUIREMENTSGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0e9c722f_2399_bb2c_6348_32d0b798bbc7); -pub const GUID_WCS_DEVICE_ERROR_RECOVERY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2131d944_30fe_ae34_ab4d_fd3dba83195a); -pub const GUID_WCS_DEVICE_ERROR_RECOVERYGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2131d944_30fe_ae34_ab4d_fd3dba83195a); -pub const GUID_WCS_DEVICE_SMART_ATTRIBUTES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2810afc5_bfea_a4f2_9c4f_6f7cc914d5af); -pub const GUID_WCS_DEVICE_SMART_ATTRIBUTESGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2810afc5_bfea_a4f2_9c4f_6f7cc914d5af); -pub const NVME_ACCESS_FREQUENCY_FR_WRITE_FR_READ: NVME_ACCESS_FREQUENCIES = 5i32; -pub const NVME_ACCESS_FREQUENCY_FR_WRITE_INFR_READ: NVME_ACCESS_FREQUENCIES = 4i32; -pub const NVME_ACCESS_FREQUENCY_INFR_WRITE_FR_READ: NVME_ACCESS_FREQUENCIES = 3i32; -pub const NVME_ACCESS_FREQUENCY_INFR_WRITE_INFR_READ: NVME_ACCESS_FREQUENCIES = 2i32; -pub const NVME_ACCESS_FREQUENCY_NONE: NVME_ACCESS_FREQUENCIES = 0i32; -pub const NVME_ACCESS_FREQUENCY_ONE_TIME_READ: NVME_ACCESS_FREQUENCIES = 6i32; -pub const NVME_ACCESS_FREQUENCY_SPECULATIVE_READ: NVME_ACCESS_FREQUENCIES = 7i32; -pub const NVME_ACCESS_FREQUENCY_TYPICAL: NVME_ACCESS_FREQUENCIES = 1i32; -pub const NVME_ACCESS_FREQUENCY_WILL_BE_OVERWRITTEN: NVME_ACCESS_FREQUENCIES = 8i32; -pub const NVME_ACCESS_LATENCY_IDLE: NVME_ACCESS_LATENCIES = 1i32; -pub const NVME_ACCESS_LATENCY_LOW: NVME_ACCESS_LATENCIES = 3i32; -pub const NVME_ACCESS_LATENCY_NONE: NVME_ACCESS_LATENCIES = 0i32; -pub const NVME_ACCESS_LATENCY_NORMAL: NVME_ACCESS_LATENCIES = 2i32; -pub const NVME_ADMIN_COMMAND_ABORT: NVME_ADMIN_COMMANDS = 8i32; -pub const NVME_ADMIN_COMMAND_ASYNC_EVENT_REQUEST: NVME_ADMIN_COMMANDS = 12i32; -pub const NVME_ADMIN_COMMAND_CREATE_IO_CQ: NVME_ADMIN_COMMANDS = 5i32; -pub const NVME_ADMIN_COMMAND_CREATE_IO_SQ: NVME_ADMIN_COMMANDS = 1i32; -pub const NVME_ADMIN_COMMAND_DELETE_IO_CQ: NVME_ADMIN_COMMANDS = 4i32; -pub const NVME_ADMIN_COMMAND_DELETE_IO_SQ: NVME_ADMIN_COMMANDS = 0i32; -pub const NVME_ADMIN_COMMAND_DEVICE_SELF_TEST: NVME_ADMIN_COMMANDS = 20i32; -pub const NVME_ADMIN_COMMAND_DIRECTIVE_RECEIVE: NVME_ADMIN_COMMANDS = 26i32; -pub const NVME_ADMIN_COMMAND_DIRECTIVE_SEND: NVME_ADMIN_COMMANDS = 25i32; -pub const NVME_ADMIN_COMMAND_DOORBELL_BUFFER_CONFIG: NVME_ADMIN_COMMANDS = 124i32; -pub const NVME_ADMIN_COMMAND_FIRMWARE_ACTIVATE: NVME_ADMIN_COMMANDS = 16i32; -pub const NVME_ADMIN_COMMAND_FIRMWARE_COMMIT: NVME_ADMIN_COMMANDS = 16i32; -pub const NVME_ADMIN_COMMAND_FIRMWARE_IMAGE_DOWNLOAD: NVME_ADMIN_COMMANDS = 17i32; -pub const NVME_ADMIN_COMMAND_FORMAT_NVM: NVME_ADMIN_COMMANDS = 128i32; -pub const NVME_ADMIN_COMMAND_GET_FEATURES: NVME_ADMIN_COMMANDS = 10i32; -pub const NVME_ADMIN_COMMAND_GET_LBA_STATUS: NVME_ADMIN_COMMANDS = 134i32; -pub const NVME_ADMIN_COMMAND_GET_LOG_PAGE: NVME_ADMIN_COMMANDS = 2i32; -pub const NVME_ADMIN_COMMAND_IDENTIFY: NVME_ADMIN_COMMANDS = 6i32; -pub const NVME_ADMIN_COMMAND_NAMESPACE_ATTACHMENT: NVME_ADMIN_COMMANDS = 21i32; -pub const NVME_ADMIN_COMMAND_NAMESPACE_MANAGEMENT: NVME_ADMIN_COMMANDS = 13i32; -pub const NVME_ADMIN_COMMAND_NVME_MI_RECEIVE: NVME_ADMIN_COMMANDS = 30i32; -pub const NVME_ADMIN_COMMAND_NVME_MI_SEND: NVME_ADMIN_COMMANDS = 29i32; -pub const NVME_ADMIN_COMMAND_SANITIZE: NVME_ADMIN_COMMANDS = 132i32; -pub const NVME_ADMIN_COMMAND_SECURITY_RECEIVE: NVME_ADMIN_COMMANDS = 130i32; -pub const NVME_ADMIN_COMMAND_SECURITY_SEND: NVME_ADMIN_COMMANDS = 129i32; -pub const NVME_ADMIN_COMMAND_SET_FEATURES: NVME_ADMIN_COMMANDS = 9i32; -pub const NVME_ADMIN_COMMAND_VIRTUALIZATION_MANAGEMENT: NVME_ADMIN_COMMANDS = 28i32; -pub const NVME_AMS_ROUND_ROBIN: NVME_AMS_OPTION = 0i32; -pub const NVME_AMS_WEIGHTED_ROUND_ROBIN_URGENT: NVME_AMS_OPTION = 1i32; -pub const NVME_ASYNC_ERROR_DIAG_FAILURE: NVME_ASYNC_EVENT_ERROR_STATUS_CODES = 2i32; -pub const NVME_ASYNC_ERROR_FIRMWARE_IMAGE_LOAD_ERROR: NVME_ASYNC_EVENT_ERROR_STATUS_CODES = 5i32; -pub const NVME_ASYNC_ERROR_INVALID_DOORBELL_WRITE_VALUE: NVME_ASYNC_EVENT_ERROR_STATUS_CODES = 1i32; -pub const NVME_ASYNC_ERROR_INVALID_SUBMISSION_QUEUE: NVME_ASYNC_EVENT_ERROR_STATUS_CODES = 0i32; -pub const NVME_ASYNC_ERROR_PERSISTENT_INTERNAL_DEVICE_ERROR: NVME_ASYNC_EVENT_ERROR_STATUS_CODES = 3i32; -pub const NVME_ASYNC_ERROR_TRANSIENT_INTERNAL_DEVICE_ERROR: NVME_ASYNC_EVENT_ERROR_STATUS_CODES = 4i32; -pub const NVME_ASYNC_EVENT_TYPE_ERROR_STATUS: NVME_ASYNC_EVENT_TYPES = 0i32; -pub const NVME_ASYNC_EVENT_TYPE_HEALTH_STATUS: NVME_ASYNC_EVENT_TYPES = 1i32; -pub const NVME_ASYNC_EVENT_TYPE_IO_COMMAND_SET_STATUS: NVME_ASYNC_EVENT_TYPES = 6i32; -pub const NVME_ASYNC_EVENT_TYPE_NOTICE: NVME_ASYNC_EVENT_TYPES = 2i32; -pub const NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC: NVME_ASYNC_EVENT_TYPES = 7i32; -pub const NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_DEVICE_PANIC: NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_CODES = 1i32; -pub const NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_RESERVED: NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_CODES = 0i32; -pub const NVME_ASYNC_HEALTH_NVM_SUBSYSTEM_RELIABILITY: NVME_ASYNC_EVENT_HEALTH_STATUS_CODES = 0i32; -pub const NVME_ASYNC_HEALTH_SPARE_BELOW_THRESHOLD: NVME_ASYNC_EVENT_HEALTH_STATUS_CODES = 2i32; -pub const NVME_ASYNC_HEALTH_TEMPERATURE_THRESHOLD: NVME_ASYNC_EVENT_HEALTH_STATUS_CODES = 1i32; -pub const NVME_ASYNC_IO_CMD_SANITIZE_OPERATION_COMPLETED: NVME_ASYNC_EVENT_IO_COMMAND_SET_STATUS_CODES = 1i32; -pub const NVME_ASYNC_IO_CMD_SANITIZE_OPERATION_COMPLETED_WITH_UNEXPECTED_DEALLOCATION: NVME_ASYNC_EVENT_IO_COMMAND_SET_STATUS_CODES = 2i32; -pub const NVME_ASYNC_IO_CMD_SET_RESERVATION_LOG_PAGE_AVAILABLE: NVME_ASYNC_EVENT_IO_COMMAND_SET_STATUS_CODES = 0i32; -pub const NVME_ASYNC_NOTICE_ASYMMETRIC_ACCESS_CHANGE: NVME_ASYNC_EVENT_NOTICE_CODES = 3i32; -pub const NVME_ASYNC_NOTICE_ENDURANCE_GROUP_EVENT_AGGREGATE_LOG_CHANGE: NVME_ASYNC_EVENT_NOTICE_CODES = 6i32; -pub const NVME_ASYNC_NOTICE_FIRMWARE_ACTIVATION_STARTING: NVME_ASYNC_EVENT_NOTICE_CODES = 1i32; -pub const NVME_ASYNC_NOTICE_LBA_STATUS_INFORMATION_ALERT: NVME_ASYNC_EVENT_NOTICE_CODES = 5i32; -pub const NVME_ASYNC_NOTICE_NAMESPACE_ATTRIBUTE_CHANGED: NVME_ASYNC_EVENT_NOTICE_CODES = 0i32; -pub const NVME_ASYNC_NOTICE_PREDICTABLE_LATENCY_EVENT_AGGREGATE_LOG_CHANGE: NVME_ASYNC_EVENT_NOTICE_CODES = 4i32; -pub const NVME_ASYNC_NOTICE_TELEMETRY_LOG_CHANGED: NVME_ASYNC_EVENT_NOTICE_CODES = 2i32; -pub const NVME_ASYNC_NOTICE_ZONE_DESCRIPTOR_CHANGED: NVME_ASYNC_EVENT_NOTICE_CODES = 239i32; -pub const NVME_CC_SHN_ABRUPT_SHUTDOWN: NVME_CC_SHN_SHUTDOWN_NOTIFICATIONS = 2i32; -pub const NVME_CC_SHN_NORMAL_SHUTDOWN: NVME_CC_SHN_SHUTDOWN_NOTIFICATIONS = 1i32; -pub const NVME_CC_SHN_NO_NOTIFICATION: NVME_CC_SHN_SHUTDOWN_NOTIFICATIONS = 0i32; -pub const NVME_CMBSZ_SIZE_UNITS_16MB: NVME_CMBSZ_SIZE_UNITS = 3i32; -pub const NVME_CMBSZ_SIZE_UNITS_1MB: NVME_CMBSZ_SIZE_UNITS = 2i32; -pub const NVME_CMBSZ_SIZE_UNITS_256MB: NVME_CMBSZ_SIZE_UNITS = 4i32; -pub const NVME_CMBSZ_SIZE_UNITS_4GB: NVME_CMBSZ_SIZE_UNITS = 5i32; -pub const NVME_CMBSZ_SIZE_UNITS_4KB: NVME_CMBSZ_SIZE_UNITS = 0i32; -pub const NVME_CMBSZ_SIZE_UNITS_64GB: NVME_CMBSZ_SIZE_UNITS = 6i32; -pub const NVME_CMBSZ_SIZE_UNITS_64KB: NVME_CMBSZ_SIZE_UNITS = 1i32; -pub const NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMIT_NONE: NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMITS = 0i32; -pub const NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMIT_SINGLE_PER_CONTROLLER: NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMITS = 2i32; -pub const NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMIT_SINGLE_PER_NAMESPACE: NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMITS = 1i32; -pub const NVME_COMMAND_SET_KEY_VALUE: NVME_COMMAND_SET_IDENTIFIERS = 1i32; -pub const NVME_COMMAND_SET_NVM: NVME_COMMAND_SET_IDENTIFIERS = 0i32; -pub const NVME_COMMAND_SET_ZONED_NAMESPACE: NVME_COMMAND_SET_IDENTIFIERS = 2i32; -pub const NVME_CONTROLLER_METADATA_CHIPSET_DRIVER_NAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 8i32; -pub const NVME_CONTROLLER_METADATA_CHIPSET_DRIVER_VERSION: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 9i32; -pub const NVME_CONTROLLER_METADATA_DISPLAY_DRIVER_NAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 14i32; -pub const NVME_CONTROLLER_METADATA_DISPLAY_DRIVER_VERSION: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 15i32; -pub const NVME_CONTROLLER_METADATA_FIRMWARE_VERSION: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 12i32; -pub const NVME_CONTROLLER_METADATA_HOST_DETERMINED_FAILURE_RECORD: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 16i32; -pub const NVME_CONTROLLER_METADATA_OPERATING_SYSTEM_CONTROLLER_NAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 1i32; -pub const NVME_CONTROLLER_METADATA_OPERATING_SYSTEM_DRIVER_FILENAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 13i32; -pub const NVME_CONTROLLER_METADATA_OPERATING_SYSTEM_DRIVER_NAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 2i32; -pub const NVME_CONTROLLER_METADATA_OPERATING_SYSTEM_DRIVER_VERSION: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 3i32; -pub const NVME_CONTROLLER_METADATA_OPERATING_SYSTEM_NAME_AND_BUILD: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 10i32; -pub const NVME_CONTROLLER_METADATA_PREBOOT_CONTROLLER_NAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 4i32; -pub const NVME_CONTROLLER_METADATA_PREBOOT_DRIVER_NAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 5i32; -pub const NVME_CONTROLLER_METADATA_PREBOOT_DRIVER_VERSION: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 6i32; -pub const NVME_CONTROLLER_METADATA_SYSTEM_PROCESSOR_MODEL: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 7i32; -pub const NVME_CONTROLLER_METADATA_SYSTEM_PRODUCT_NAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 11i32; -pub const NVME_CSS_ADMIN_COMMAND_SET_ONLY: NVME_CSS_COMMAND_SETS = 7i32; -pub const NVME_CSS_ALL_SUPPORTED_IO_COMMAND_SET: NVME_CSS_COMMAND_SETS = 6i32; -pub const NVME_CSS_NVM_COMMAND_SET: NVME_CSS_COMMAND_SETS = 0i32; -pub const NVME_CSTS_SHST_NO_SHUTDOWN: NVME_CSTS_SHST_SHUTDOWN_STATUS = 0i32; -pub const NVME_CSTS_SHST_SHUTDOWN_COMPLETED: NVME_CSTS_SHST_SHUTDOWN_STATUS = 2i32; -pub const NVME_CSTS_SHST_SHUTDOWN_IN_PROCESS: NVME_CSTS_SHST_SHUTDOWN_STATUS = 1i32; -pub const NVME_DIRECTIVE_RECEIVE_IDENTIFY_OPERATION_RETURN_PARAMETERS: NVME_DIRECTIVE_RECEIVE_IDENTIFY_OPERATIONS = 1i32; -pub const NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATION_ALLOCATE_RESOURCES: NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATIONS = 3i32; -pub const NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATION_GET_STATUS: NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATIONS = 2i32; -pub const NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATION_RETURN_PARAMETERS: NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATIONS = 1i32; -pub const NVME_DIRECTIVE_SEND_IDENTIFY_OPERATION_ENABLE_DIRECTIVE: NVME_DIRECTIVE_SEND_IDENTIFY_OPERATIONS = 1i32; -pub const NVME_DIRECTIVE_SEND_STREAMS_OPERATION_RELEASE_IDENTIFIER: NVME_DIRECTIVE_SEND_STREAMS_OPERATIONS = 1i32; -pub const NVME_DIRECTIVE_SEND_STREAMS_OPERATION_RELEASE_RESOURCES: NVME_DIRECTIVE_SEND_STREAMS_OPERATIONS = 2i32; -pub const NVME_DIRECTIVE_TYPE_IDENTIFY: NVME_DIRECTIVE_TYPES = 0i32; -pub const NVME_DIRECTIVE_TYPE_STREAMS: NVME_DIRECTIVE_TYPES = 1i32; -pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_CPU_CONTROLLER_HANG: NVME_ERROR_INJECTION_TYPES = 1i32; -pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_DRAM_CORRUPTION_CRITICAL: NVME_ERROR_INJECTION_TYPES = 5i32; -pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_DRAM_CORRUPTION_NONCRITICAL: NVME_ERROR_INJECTION_TYPES = 6i32; -pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_HW_MALFUNCTION: NVME_ERROR_INJECTION_TYPES = 9i32; -pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_LOGICAL_FW_ERROR: NVME_ERROR_INJECTION_TYPES = 4i32; -pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_NAND_CORRUPTION: NVME_ERROR_INJECTION_TYPES = 7i32; -pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_NAND_HANG: NVME_ERROR_INJECTION_TYPES = 2i32; -pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_PLP_DEFECT: NVME_ERROR_INJECTION_TYPES = 3i32; -pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_SRAM_CORRUPTION: NVME_ERROR_INJECTION_TYPES = 8i32; -pub const NVME_ERROR_INJECTION_TYPE_MAX: NVME_ERROR_INJECTION_TYPES = 65535i32; -pub const NVME_ERROR_INJECTION_TYPE_RESERVED0: NVME_ERROR_INJECTION_TYPES = 0i32; -pub const NVME_ERROR_INJECTION_TYPE_RESERVED1: NVME_ERROR_INJECTION_TYPES = 10i32; -pub const NVME_EXTENDED_HOST_IDENTIFIER_SIZE: u32 = 16u32; -pub const NVME_FEATURE_ARBITRATION: NVME_FEATURES = 1i32; -pub const NVME_FEATURE_ASYNC_EVENT_CONFIG: NVME_FEATURES = 11i32; -pub const NVME_FEATURE_AUTONOMOUS_POWER_STATE_TRANSITION: NVME_FEATURES = 12i32; -pub const NVME_FEATURE_CLEAR_FW_UPDATE_HISTORY: NVME_FEATURES = 193i32; -pub const NVME_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS: NVME_FEATURES = 195i32; -pub const NVME_FEATURE_CONTROLLER_METADATA: NVME_FEATURES = 126i32; -pub const NVME_FEATURE_ENABLE_IEEE1667_SILO: NVME_FEATURES = 196i32; -pub const NVME_FEATURE_ENDURANCE_GROUP_EVENT_CONFIG: NVME_FEATURES = 24i32; -pub const NVME_FEATURE_ENHANCED_CONTROLLER_METADATA: NVME_FEATURES = 125i32; -pub const NVME_FEATURE_ERROR_INJECTION: NVME_FEATURES = 192i32; -pub const NVME_FEATURE_ERROR_RECOVERY: NVME_FEATURES = 5i32; -pub const NVME_FEATURE_HOST_BEHAVIOR_SUPPORT: NVME_FEATURES = 22i32; -pub const NVME_FEATURE_HOST_CONTROLLED_THERMAL_MANAGEMENT: NVME_FEATURES = 16i32; -pub const NVME_FEATURE_HOST_MEMORY_BUFFER: NVME_FEATURES = 13i32; -pub const NVME_FEATURE_INTERRUPT_COALESCING: NVME_FEATURES = 8i32; -pub const NVME_FEATURE_INTERRUPT_VECTOR_CONFIG: NVME_FEATURES = 9i32; -pub const NVME_FEATURE_IO_COMMAND_SET_PROFILE: NVME_FEATURES = 25i32; -pub const NVME_FEATURE_KEEP_ALIVE: NVME_FEATURES = 15i32; -pub const NVME_FEATURE_LBA_RANGE_TYPE: NVME_FEATURES = 3i32; -pub const NVME_FEATURE_LBA_STATUS_INFORMATION_REPORT_INTERVAL: NVME_FEATURES = 21i32; -pub const NVME_FEATURE_NAMESPACE_METADATA: NVME_FEATURES = 127i32; -pub const NVME_FEATURE_NONOPERATIONAL_POWER_STATE: NVME_FEATURES = 17i32; -pub const NVME_FEATURE_NUMBER_OF_QUEUES: NVME_FEATURES = 7i32; -pub const NVME_FEATURE_NVM_HOST_IDENTIFIER: NVME_FEATURES = 129i32; -pub const NVME_FEATURE_NVM_NAMESPACE_WRITE_PROTECTION_CONFIG: NVME_FEATURES = 132i32; -pub const NVME_FEATURE_NVM_RESERVATION_NOTIFICATION_MASK: NVME_FEATURES = 130i32; -pub const NVME_FEATURE_NVM_RESERVATION_PERSISTANCE: NVME_FEATURES = 131i32; -pub const NVME_FEATURE_NVM_SOFTWARE_PROGRESS_MARKER: NVME_FEATURES = 128i32; -pub const NVME_FEATURE_PLP_HEALTH_MONITOR: NVME_FEATURES = 197i32; -pub const NVME_FEATURE_POWER_MANAGEMENT: NVME_FEATURES = 2i32; -pub const NVME_FEATURE_PREDICTABLE_LATENCY_MODE_CONFIG: NVME_FEATURES = 19i32; -pub const NVME_FEATURE_PREDICTABLE_LATENCY_MODE_WINDOW: NVME_FEATURES = 20i32; -pub const NVME_FEATURE_READONLY_WRITETHROUGH_MODE: NVME_FEATURES = 194i32; -pub const NVME_FEATURE_READ_RECOVERY_LEVEL_CONFIG: NVME_FEATURES = 18i32; -pub const NVME_FEATURE_SANITIZE_CONFIG: NVME_FEATURES = 23i32; -pub const NVME_FEATURE_TEMPERATURE_THRESHOLD: NVME_FEATURES = 4i32; -pub const NVME_FEATURE_TIMESTAMP: NVME_FEATURES = 14i32; -pub const NVME_FEATURE_VALUE_CURRENT: NVME_FEATURE_VALUE_CODES = 0i32; -pub const NVME_FEATURE_VALUE_DEFAULT: NVME_FEATURE_VALUE_CODES = 1i32; -pub const NVME_FEATURE_VALUE_SAVED: NVME_FEATURE_VALUE_CODES = 2i32; -pub const NVME_FEATURE_VALUE_SUPPORTED_CAPABILITIES: NVME_FEATURE_VALUE_CODES = 3i32; -pub const NVME_FEATURE_VOLATILE_WRITE_CACHE: NVME_FEATURES = 6i32; -pub const NVME_FEATURE_WRITE_ATOMICITY: NVME_FEATURES = 10i32; -pub const NVME_FIRMWARE_ACTIVATE_ACTION_ACTIVATE: NVME_FIRMWARE_ACTIVATE_ACTIONS = 2i32; -pub const NVME_FIRMWARE_ACTIVATE_ACTION_DOWNLOAD_TO_SLOT: NVME_FIRMWARE_ACTIVATE_ACTIONS = 0i32; -pub const NVME_FIRMWARE_ACTIVATE_ACTION_DOWNLOAD_TO_SLOT_AND_ACTIVATE: NVME_FIRMWARE_ACTIVATE_ACTIONS = 1i32; -pub const NVME_FIRMWARE_ACTIVATE_ACTION_DOWNLOAD_TO_SLOT_AND_ACTIVATE_IMMEDIATE: NVME_FIRMWARE_ACTIVATE_ACTIONS = 3i32; -pub const NVME_FUSED_OPERATION_FIRST_CMD: NVME_FUSED_OPERATION_CODES = 1i32; -pub const NVME_FUSED_OPERATION_NORMAL: NVME_FUSED_OPERATION_CODES = 0i32; -pub const NVME_FUSED_OPERATION_SECOND_CMD: NVME_FUSED_OPERATION_CODES = 2i32; -pub const NVME_HOST_IDENTIFIER_SIZE: u32 = 8u32; -pub const NVME_HOST_METADATA_ADD_ENTRY_MULTIPLE: NVME_HOST_METADATA_ELEMENT_ACTIONS = 2i32; -pub const NVME_HOST_METADATA_ADD_REPLACE_ENTRY: NVME_HOST_METADATA_ELEMENT_ACTIONS = 0i32; -pub const NVME_HOST_METADATA_DELETE_ENTRY_MULTIPLE: NVME_HOST_METADATA_ELEMENT_ACTIONS = 1i32; -pub const NVME_IDENTIFIER_TYPE_CSI: NVME_IDENTIFIER_TYPE = 4i32; -pub const NVME_IDENTIFIER_TYPE_CSI_LENGTH: NVME_IDENTIFIER_TYPE_LENGTH = 1i32; -pub const NVME_IDENTIFIER_TYPE_EUI64: NVME_IDENTIFIER_TYPE = 1i32; -pub const NVME_IDENTIFIER_TYPE_EUI64_LENGTH: NVME_IDENTIFIER_TYPE_LENGTH = 8i32; -pub const NVME_IDENTIFIER_TYPE_NGUID: NVME_IDENTIFIER_TYPE = 2i32; -pub const NVME_IDENTIFIER_TYPE_NGUID_LENGTH: NVME_IDENTIFIER_TYPE_LENGTH = 16i32; -pub const NVME_IDENTIFIER_TYPE_UUID: NVME_IDENTIFIER_TYPE = 3i32; -pub const NVME_IDENTIFIER_TYPE_UUID_LENGTH: NVME_IDENTIFIER_TYPE_LENGTH = 16i32; -pub const NVME_IDENTIFY_CNS_ACTIVE_NAMESPACES: NVME_IDENTIFY_CNS_CODES = 2i32; -pub const NVME_IDENTIFY_CNS_ACTIVE_NAMESPACE_LIST_IO_COMMAND_SET: NVME_IDENTIFY_CNS_CODES = 7i32; -pub const NVME_IDENTIFY_CNS_ALLOCATED_NAMESPACE: NVME_IDENTIFY_CNS_CODES = 17i32; -pub const NVME_IDENTIFY_CNS_ALLOCATED_NAMESPACE_IO_COMMAND_SET: NVME_IDENTIFY_CNS_CODES = 27i32; -pub const NVME_IDENTIFY_CNS_ALLOCATED_NAMESPACE_LIST: NVME_IDENTIFY_CNS_CODES = 16i32; -pub const NVME_IDENTIFY_CNS_ALLOCATED_NAMSPACE_LIST_IO_COMMAND_SET: NVME_IDENTIFY_CNS_CODES = 26i32; -pub const NVME_IDENTIFY_CNS_CONTROLLER: NVME_IDENTIFY_CNS_CODES = 1i32; -pub const NVME_IDENTIFY_CNS_CONTROLLER_LIST_OF_NSID: NVME_IDENTIFY_CNS_CODES = 18i32; -pub const NVME_IDENTIFY_CNS_CONTROLLER_LIST_OF_NVM_SUBSYSTEM: NVME_IDENTIFY_CNS_CODES = 19i32; -pub const NVME_IDENTIFY_CNS_DESCRIPTOR_NAMESPACE: NVME_IDENTIFY_CNS_CODES = 3i32; -pub const NVME_IDENTIFY_CNS_DESCRIPTOR_NAMESPACE_SIZE: u32 = 4096u32; -pub const NVME_IDENTIFY_CNS_DOMAIN_LIST: NVME_IDENTIFY_CNS_CODES = 24i32; -pub const NVME_IDENTIFY_CNS_ENDURANCE_GROUP_LIST: NVME_IDENTIFY_CNS_CODES = 25i32; -pub const NVME_IDENTIFY_CNS_IO_COMMAND_SET: NVME_IDENTIFY_CNS_CODES = 28i32; -pub const NVME_IDENTIFY_CNS_NAMESPACE_GRANULARITY_LIST: NVME_IDENTIFY_CNS_CODES = 22i32; -pub const NVME_IDENTIFY_CNS_NVM_SET: NVME_IDENTIFY_CNS_CODES = 4i32; -pub const NVME_IDENTIFY_CNS_PRIMARY_CONTROLLER_CAPABILITIES: NVME_IDENTIFY_CNS_CODES = 20i32; -pub const NVME_IDENTIFY_CNS_SECONDARY_CONTROLLER_LIST: NVME_IDENTIFY_CNS_CODES = 21i32; -pub const NVME_IDENTIFY_CNS_SPECIFIC_CONTROLLER_IO_COMMAND_SET: NVME_IDENTIFY_CNS_CODES = 6i32; -pub const NVME_IDENTIFY_CNS_SPECIFIC_NAMESPACE: NVME_IDENTIFY_CNS_CODES = 0i32; -pub const NVME_IDENTIFY_CNS_SPECIFIC_NAMESPACE_IO_COMMAND_SET: NVME_IDENTIFY_CNS_CODES = 5i32; -pub const NVME_IDENTIFY_CNS_UUID_LIST: NVME_IDENTIFY_CNS_CODES = 23i32; -pub const NVME_IO_COMMAND_SET_COMBINATION_REJECTED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 43i32; -pub const NVME_IO_COMMAND_SET_INVALID: NVME_STATUS_COMMAND_SPECIFIC_CODES = 44i32; -pub const NVME_IO_COMMAND_SET_NOT_ENABLED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 42i32; -pub const NVME_IO_COMMAND_SET_NOT_SUPPORTED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 41i32; -pub const NVME_LBA_RANGE_TYPE_CACHE: NVME_LBA_RANGE_TYPES = 3i32; -pub const NVME_LBA_RANGE_TYPE_FILESYSTEM: NVME_LBA_RANGE_TYPES = 1i32; -pub const NVME_LBA_RANGE_TYPE_PAGE_SWAP_FILE: NVME_LBA_RANGE_TYPES = 4i32; -pub const NVME_LBA_RANGE_TYPE_RAID: NVME_LBA_RANGE_TYPES = 2i32; -pub const NVME_LBA_RANGE_TYPE_RESERVED: NVME_LBA_RANGE_TYPES = 0i32; -pub const NVME_LOG_PAGE_ASYMMETRIC_NAMESPACE_ACCESS: NVME_LOG_PAGES = 12i32; -pub const NVME_LOG_PAGE_CHANGED_NAMESPACE_LIST: NVME_LOG_PAGES = 4i32; -pub const NVME_LOG_PAGE_CHANGED_ZONE_LIST: NVME_LOG_PAGES = 191i32; -pub const NVME_LOG_PAGE_COMMAND_EFFECTS: NVME_LOG_PAGES = 5i32; -pub const NVME_LOG_PAGE_DEVICE_SELF_TEST: NVME_LOG_PAGES = 6i32; -pub const NVME_LOG_PAGE_ENDURANCE_GROUP_EVENT_AGGREGATE: NVME_LOG_PAGES = 15i32; -pub const NVME_LOG_PAGE_ENDURANCE_GROUP_INFORMATION: NVME_LOG_PAGES = 9i32; -pub const NVME_LOG_PAGE_ERROR_INFO: NVME_LOG_PAGES = 1i32; -pub const NVME_LOG_PAGE_FIRMWARE_SLOT_INFO: NVME_LOG_PAGES = 3i32; -pub const NVME_LOG_PAGE_HEALTH_INFO: NVME_LOG_PAGES = 2i32; -pub const NVME_LOG_PAGE_LBA_STATUS_INFORMATION: NVME_LOG_PAGES = 14i32; -pub const NVME_LOG_PAGE_OCP_DEVICE_CAPABILITIES: NVME_VENDOR_LOG_PAGES = 196i32; -pub const NVME_LOG_PAGE_OCP_DEVICE_ERROR_RECOVERY: NVME_VENDOR_LOG_PAGES = 193i32; -pub const NVME_LOG_PAGE_OCP_DEVICE_SMART_INFORMATION: NVME_VENDOR_LOG_PAGES = 192i32; -pub const NVME_LOG_PAGE_OCP_FIRMWARE_ACTIVATION_HISTORY: NVME_VENDOR_LOG_PAGES = 194i32; -pub const NVME_LOG_PAGE_OCP_LATENCY_MONITOR: NVME_VENDOR_LOG_PAGES = 195i32; -pub const NVME_LOG_PAGE_OCP_TCG_CONFIGURATION: NVME_VENDOR_LOG_PAGES = 200i32; -pub const NVME_LOG_PAGE_OCP_TCG_HISTORY: NVME_VENDOR_LOG_PAGES = 201i32; -pub const NVME_LOG_PAGE_OCP_UNSUPPORTED_REQUIREMENTS: NVME_VENDOR_LOG_PAGES = 197i32; -pub const NVME_LOG_PAGE_PERSISTENT_EVENT_LOG: NVME_LOG_PAGES = 13i32; -pub const NVME_LOG_PAGE_PREDICTABLE_LATENCY_EVENT_AGGREGATE: NVME_LOG_PAGES = 11i32; -pub const NVME_LOG_PAGE_PREDICTABLE_LATENCY_NVM_SET: NVME_LOG_PAGES = 10i32; -pub const NVME_LOG_PAGE_RESERVATION_NOTIFICATION: NVME_LOG_PAGES = 128i32; -pub const NVME_LOG_PAGE_SANITIZE_STATUS: NVME_LOG_PAGES = 129i32; -pub const NVME_LOG_PAGE_TELEMETRY_CTLR_INITIATED: NVME_LOG_PAGES = 8i32; -pub const NVME_LOG_PAGE_TELEMETRY_HOST_INITIATED: NVME_LOG_PAGES = 7i32; -pub const NVME_MAX_HOST_IDENTIFIER_SIZE: u32 = 16u32; -pub const NVME_MAX_LOG_SIZE: u32 = 4096u32; -pub const NVME_MEDIA_ADDITIONALLY_MODIFIED_AFTER_SANITIZE_NOT_DEFINED: NVME_NO_DEALLOCATE_MODIFIES_MEDIA_AFTER_SANITIZE = 0i32; -pub const NVME_MEDIA_ADDITIONALLY_MOFIDIED_AFTER_SANITIZE: NVME_NO_DEALLOCATE_MODIFIES_MEDIA_AFTER_SANITIZE = 2i32; -pub const NVME_MEDIA_NOT_ADDITIONALLY_MODIFIED_AFTER_SANITIZE: NVME_NO_DEALLOCATE_MODIFIES_MEDIA_AFTER_SANITIZE = 1i32; -pub const NVME_NAMESPACE_ALL: u32 = 4294967295u32; -pub const NVME_NAMESPACE_METADATA_OPERATING_SYSTEM_NAMESPACE_NAME: NVME_NAMESPACE_METADATA_ELEMENT_TYPES = 1i32; -pub const NVME_NAMESPACE_METADATA_OPERATING_SYSTEM_NAMESPACE_NAME_QUALIFIER_1: NVME_NAMESPACE_METADATA_ELEMENT_TYPES = 3i32; -pub const NVME_NAMESPACE_METADATA_OPERATING_SYSTEM_NAMESPACE_NAME_QUALIFIER_2: NVME_NAMESPACE_METADATA_ELEMENT_TYPES = 4i32; -pub const NVME_NAMESPACE_METADATA_PREBOOT_NAMESPACE_NAME: NVME_NAMESPACE_METADATA_ELEMENT_TYPES = 2i32; -pub const NVME_NVM_COMMAND_COMPARE: NVME_NVM_COMMANDS = 5i32; -pub const NVME_NVM_COMMAND_COPY: NVME_NVM_COMMANDS = 25i32; -pub const NVME_NVM_COMMAND_DATASET_MANAGEMENT: NVME_NVM_COMMANDS = 9i32; -pub const NVME_NVM_COMMAND_FLUSH: NVME_NVM_COMMANDS = 0i32; -pub const NVME_NVM_COMMAND_READ: NVME_NVM_COMMANDS = 2i32; -pub const NVME_NVM_COMMAND_RESERVATION_ACQUIRE: NVME_NVM_COMMANDS = 17i32; -pub const NVME_NVM_COMMAND_RESERVATION_REGISTER: NVME_NVM_COMMANDS = 13i32; -pub const NVME_NVM_COMMAND_RESERVATION_RELEASE: NVME_NVM_COMMANDS = 21i32; -pub const NVME_NVM_COMMAND_RESERVATION_REPORT: NVME_NVM_COMMANDS = 14i32; -pub const NVME_NVM_COMMAND_VERIFY: NVME_NVM_COMMANDS = 12i32; -pub const NVME_NVM_COMMAND_WRITE: NVME_NVM_COMMANDS = 1i32; -pub const NVME_NVM_COMMAND_WRITE_UNCORRECTABLE: NVME_NVM_COMMANDS = 4i32; -pub const NVME_NVM_COMMAND_WRITE_ZEROES: NVME_NVM_COMMANDS = 8i32; -pub const NVME_NVM_COMMAND_ZONE_APPEND: NVME_NVM_COMMANDS = 125i32; -pub const NVME_NVM_COMMAND_ZONE_MANAGEMENT_RECEIVE: NVME_NVM_COMMANDS = 122i32; -pub const NVME_NVM_COMMAND_ZONE_MANAGEMENT_SEND: NVME_NVM_COMMANDS = 121i32; -pub const NVME_NVM_QUEUE_PRIORITY_HIGH: NVME_NVM_QUEUE_PRIORITIES = 1i32; -pub const NVME_NVM_QUEUE_PRIORITY_LOW: NVME_NVM_QUEUE_PRIORITIES = 3i32; -pub const NVME_NVM_QUEUE_PRIORITY_MEDIUM: NVME_NVM_QUEUE_PRIORITIES = 2i32; -pub const NVME_NVM_QUEUE_PRIORITY_URGENT: NVME_NVM_QUEUE_PRIORITIES = 0i32; -pub const NVME_OCP_DEVICE_CAPABILITIES_LOG_VERSION_1: u32 = 1u32; -pub const NVME_OCP_DEVICE_ERROR_RECOVERY_LOG_VERSION_2: u32 = 2u32; -pub const NVME_OCP_DEVICE_FIRMWARE_ACTIVATION_HISTORY_LOG_VERSION_1: u32 = 1u32; -pub const NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_VERSION_1: u32 = 1u32; -pub const NVME_OCP_DEVICE_SMART_INFORMATION_LOG_VERSION_3: u32 = 3u32; -pub const NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_VERSION_1: u32 = 1u32; -pub const NVME_OCP_DEVICE_TCG_HISTORY_LOG_VERSION_1: u32 = 1u32; -pub const NVME_OCP_DEVICE_UNSUPPORTED_REQUIREMENTS_LOG_VERSION_1: u32 = 1u32; -pub const NVME_PERSISTENT_EVENT_TYPE_CHANGE_NAMESPACE: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 6i32; -pub const NVME_PERSISTENT_EVENT_TYPE_FIRMWARE_COMMIT: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 2i32; -pub const NVME_PERSISTENT_EVENT_TYPE_FORMAT_NVM_COMPLETION: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 8i32; -pub const NVME_PERSISTENT_EVENT_TYPE_FORMAT_NVM_START: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 7i32; -pub const NVME_PERSISTENT_EVENT_TYPE_MAX: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 255i32; -pub const NVME_PERSISTENT_EVENT_TYPE_NVM_SUBSYSTEM_HARDWARE_ERROR: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 5i32; -pub const NVME_PERSISTENT_EVENT_TYPE_POWER_ON_OR_RESET: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 4i32; -pub const NVME_PERSISTENT_EVENT_TYPE_RESERVED0: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 0i32; -pub const NVME_PERSISTENT_EVENT_TYPE_RESERVED1_BEGIN: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 14i32; -pub const NVME_PERSISTENT_EVENT_TYPE_RESERVED1_END: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 221i32; -pub const NVME_PERSISTENT_EVENT_TYPE_RESERVED2_BEGIN: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 224i32; -pub const NVME_PERSISTENT_EVENT_TYPE_RESERVED2_END: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 255i32; -pub const NVME_PERSISTENT_EVENT_TYPE_SANITIZE_COMPLETION: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 10i32; -pub const NVME_PERSISTENT_EVENT_TYPE_SANITIZE_START: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 9i32; -pub const NVME_PERSISTENT_EVENT_TYPE_SET_FEATURE: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 11i32; -pub const NVME_PERSISTENT_EVENT_TYPE_SMART_HEALTH_LOG_SNAPSHOT: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 1i32; -pub const NVME_PERSISTENT_EVENT_TYPE_TCG_DEFINED: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 223i32; -pub const NVME_PERSISTENT_EVENT_TYPE_TELEMETRY_LOG_CREATED: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 12i32; -pub const NVME_PERSISTENT_EVENT_TYPE_THERMAL_EXCURSION: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 13i32; -pub const NVME_PERSISTENT_EVENT_TYPE_TIMESTAMP_CHANGE: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 3i32; -pub const NVME_PERSISTENT_EVENT_TYPE_VENDOR_SPECIFIC_EVENT: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 222i32; -pub const NVME_PROTECTION_INFORMATION_NOT_ENABLED: NVME_PROTECTION_INFORMATION_TYPES = 0i32; -pub const NVME_PROTECTION_INFORMATION_TYPE1: NVME_PROTECTION_INFORMATION_TYPES = 1i32; -pub const NVME_PROTECTION_INFORMATION_TYPE2: NVME_PROTECTION_INFORMATION_TYPES = 2i32; -pub const NVME_PROTECTION_INFORMATION_TYPE3: NVME_PROTECTION_INFORMATION_TYPES = 3i32; -pub const NVME_RESERVATION_ACQUIRE_ACTION_ACQUIRE: NVME_RESERVATION_ACQUIRE_ACTIONS = 0i32; -pub const NVME_RESERVATION_ACQUIRE_ACTION_PREEMPT: NVME_RESERVATION_ACQUIRE_ACTIONS = 1i32; -pub const NVME_RESERVATION_ACQUIRE_ACTION_PREEMPT_AND_ABORT: NVME_RESERVATION_ACQUIRE_ACTIONS = 2i32; -pub const NVME_RESERVATION_NOTIFICATION_TYPE_EMPTY_LOG_PAGE: NVME_RESERVATION_NOTIFICATION_TYPES = 0i32; -pub const NVME_RESERVATION_NOTIFICATION_TYPE_REGISTRATION_PREEMPTED: NVME_RESERVATION_NOTIFICATION_TYPES = 1i32; -pub const NVME_RESERVATION_NOTIFICATION_TYPE_REGISTRATION_RELEASED: NVME_RESERVATION_NOTIFICATION_TYPES = 2i32; -pub const NVME_RESERVATION_NOTIFICATION_TYPE_RESERVATION_PREEPMPTED: NVME_RESERVATION_NOTIFICATION_TYPES = 3i32; -pub const NVME_RESERVATION_REGISTER_ACTION_REGISTER: NVME_RESERVATION_REGISTER_ACTIONS = 0i32; -pub const NVME_RESERVATION_REGISTER_ACTION_REPLACE: NVME_RESERVATION_REGISTER_ACTIONS = 2i32; -pub const NVME_RESERVATION_REGISTER_ACTION_UNREGISTER: NVME_RESERVATION_REGISTER_ACTIONS = 1i32; -pub const NVME_RESERVATION_REGISTER_PTPL_STATE_NO_CHANGE: NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES = 0i32; -pub const NVME_RESERVATION_REGISTER_PTPL_STATE_RESERVED: NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES = 1i32; -pub const NVME_RESERVATION_REGISTER_PTPL_STATE_SET_TO_0: NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES = 2i32; -pub const NVME_RESERVATION_REGISTER_PTPL_STATE_SET_TO_1: NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES = 3i32; -pub const NVME_RESERVATION_RELEASE_ACTION_CLEAR: NVME_RESERVATION_RELEASE_ACTIONS = 1i32; -pub const NVME_RESERVATION_RELEASE_ACTION_RELEASE: NVME_RESERVATION_RELEASE_ACTIONS = 0i32; -pub const NVME_RESERVATION_TYPE_EXCLUSIVE_ACCESS: NVME_RESERVATION_TYPES = 2i32; -pub const NVME_RESERVATION_TYPE_EXCLUSIVE_ACCESS_ALL_REGISTRANTS: NVME_RESERVATION_TYPES = 6i32; -pub const NVME_RESERVATION_TYPE_EXCLUSIVE_ACCESS_REGISTRANTS_ONLY: NVME_RESERVATION_TYPES = 4i32; -pub const NVME_RESERVATION_TYPE_RESERVED: NVME_RESERVATION_TYPES = 0i32; -pub const NVME_RESERVATION_TYPE_WRITE_EXCLUSIVE: NVME_RESERVATION_TYPES = 1i32; -pub const NVME_RESERVATION_TYPE_WRITE_EXCLUSIVE_ALL_REGISTRANTS: NVME_RESERVATION_TYPES = 5i32; -pub const NVME_RESERVATION_TYPE_WRITE_EXCLUSIVE_REGISTRANTS_ONLY: NVME_RESERVATION_TYPES = 3i32; -pub const NVME_SANITIZE_ACTION_EXIT_FAILURE_MODE: NVME_SANITIZE_ACTION = 1i32; -pub const NVME_SANITIZE_ACTION_RESERVED: NVME_SANITIZE_ACTION = 0i32; -pub const NVME_SANITIZE_ACTION_START_BLOCK_ERASE_SANITIZE: NVME_SANITIZE_ACTION = 2i32; -pub const NVME_SANITIZE_ACTION_START_CRYPTO_ERASE_SANITIZE: NVME_SANITIZE_ACTION = 4i32; -pub const NVME_SANITIZE_ACTION_START_OVERWRITE_SANITIZE: NVME_SANITIZE_ACTION = 3i32; -pub const NVME_SANITIZE_OPERATION_FAILED: NVME_SANITIZE_OPERATION_STATUS = 3i32; -pub const NVME_SANITIZE_OPERATION_IN_PROGRESS: NVME_SANITIZE_OPERATION_STATUS = 2i32; -pub const NVME_SANITIZE_OPERATION_NONE: NVME_SANITIZE_OPERATION_STATUS = 0i32; -pub const NVME_SANITIZE_OPERATION_SUCCEEDED: NVME_SANITIZE_OPERATION_STATUS = 1i32; -pub const NVME_SANITIZE_OPERATION_SUCCEEDED_WITH_FORCED_DEALLOCATION: NVME_SANITIZE_OPERATION_STATUS = 4i32; -pub const NVME_SECURE_ERASE_CRYPTOGRAPHIC: NVME_SECURE_ERASE_SETTINGS = 2i32; -pub const NVME_SECURE_ERASE_NONE: NVME_SECURE_ERASE_SETTINGS = 0i32; -pub const NVME_SECURE_ERASE_USER_DATA: NVME_SECURE_ERASE_SETTINGS = 1i32; -pub const NVME_STATE_ZSC: ZONE_STATE = 4i32; -pub const NVME_STATE_ZSE: ZONE_STATE = 1i32; -pub const NVME_STATE_ZSEO: ZONE_STATE = 3i32; -pub const NVME_STATE_ZSF: ZONE_STATE = 14i32; -pub const NVME_STATE_ZSIO: ZONE_STATE = 2i32; -pub const NVME_STATE_ZSO: ZONE_STATE = 15i32; -pub const NVME_STATE_ZSRO: ZONE_STATE = 13i32; -pub const NVME_STATUS_ABORT_COMMAND_LIMIT_EXCEEDED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 3i32; -pub const NVME_STATUS_ANA_ATTACH_FAILED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 37i32; -pub const NVME_STATUS_ASYNC_EVENT_REQUEST_LIMIT_EXCEEDED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 5i32; -pub const NVME_STATUS_ATOMIC_WRITE_UNIT_EXCEEDED: NVME_STATUS_GENERIC_COMMAND_CODES = 20i32; -pub const NVME_STATUS_BOOT_PARTITION_WRITE_PROHIBITED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 30i32; -pub const NVME_STATUS_COMMAND_ABORTED_DUE_TO_FAILED_FUSED_COMMAND: NVME_STATUS_GENERIC_COMMAND_CODES = 9i32; -pub const NVME_STATUS_COMMAND_ABORTED_DUE_TO_FAILED_MISSING_COMMAND: NVME_STATUS_GENERIC_COMMAND_CODES = 10i32; -pub const NVME_STATUS_COMMAND_ABORTED_DUE_TO_POWER_LOSS_NOTIFICATION: NVME_STATUS_GENERIC_COMMAND_CODES = 5i32; -pub const NVME_STATUS_COMMAND_ABORTED_DUE_TO_PREEMPT_ABORT: NVME_STATUS_GENERIC_COMMAND_CODES = 27i32; -pub const NVME_STATUS_COMMAND_ABORTED_DUE_TO_SQ_DELETION: NVME_STATUS_GENERIC_COMMAND_CODES = 8i32; -pub const NVME_STATUS_COMMAND_ABORT_REQUESTED: NVME_STATUS_GENERIC_COMMAND_CODES = 7i32; -pub const NVME_STATUS_COMMAND_ID_CONFLICT: NVME_STATUS_GENERIC_COMMAND_CODES = 3i32; -pub const NVME_STATUS_COMMAND_SEQUENCE_ERROR: NVME_STATUS_GENERIC_COMMAND_CODES = 12i32; -pub const NVME_STATUS_COMPLETION_QUEUE_INVALID: NVME_STATUS_COMMAND_SPECIFIC_CODES = 0i32; -pub const NVME_STATUS_CONTROLLER_LIST_INVALID: NVME_STATUS_COMMAND_SPECIFIC_CODES = 28i32; -pub const NVME_STATUS_DATA_SGL_LENGTH_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = 15i32; -pub const NVME_STATUS_DATA_TRANSFER_ERROR: NVME_STATUS_GENERIC_COMMAND_CODES = 4i32; -pub const NVME_STATUS_DEVICE_SELF_TEST_IN_PROGRESS: NVME_STATUS_COMMAND_SPECIFIC_CODES = 29i32; -pub const NVME_STATUS_DIRECTIVE_ID_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = 113i32; -pub const NVME_STATUS_DIRECTIVE_TYPE_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = 112i32; -pub const NVME_STATUS_FEATURE_ID_NOT_SAVEABLE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 13i32; -pub const NVME_STATUS_FEATURE_NOT_CHANGEABLE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 14i32; -pub const NVME_STATUS_FEATURE_NOT_NAMESPACE_SPECIFIC: NVME_STATUS_COMMAND_SPECIFIC_CODES = 15i32; -pub const NVME_STATUS_FIRMWARE_ACTIVATION_PROHIBITED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 19i32; -pub const NVME_STATUS_FIRMWARE_ACTIVATION_REQUIRES_CONVENTIONAL_RESET: NVME_STATUS_COMMAND_SPECIFIC_CODES = 11i32; -pub const NVME_STATUS_FIRMWARE_ACTIVATION_REQUIRES_MAX_TIME_VIOLATION: NVME_STATUS_COMMAND_SPECIFIC_CODES = 18i32; -pub const NVME_STATUS_FIRMWARE_ACTIVATION_REQUIRES_NVM_SUBSYSTEM_RESET: NVME_STATUS_COMMAND_SPECIFIC_CODES = 16i32; -pub const NVME_STATUS_FIRMWARE_ACTIVATION_REQUIRES_RESET: NVME_STATUS_COMMAND_SPECIFIC_CODES = 17i32; -pub const NVME_STATUS_FORMAT_IN_PROGRESS: NVME_STATUS_GENERIC_COMMAND_CODES = 132i32; -pub const NVME_STATUS_HOST_IDENTIFIER_INCONSISTENT_FORMAT: NVME_STATUS_GENERIC_COMMAND_CODES = 24i32; -pub const NVME_STATUS_INTERNAL_DEVICE_ERROR: NVME_STATUS_GENERIC_COMMAND_CODES = 6i32; -pub const NVME_STATUS_INVALID_ANA_GROUP_IDENTIFIER: NVME_STATUS_COMMAND_SPECIFIC_CODES = 36i32; -pub const NVME_STATUS_INVALID_COMMAND_OPCODE: NVME_STATUS_GENERIC_COMMAND_CODES = 1i32; -pub const NVME_STATUS_INVALID_CONTROLLER_IDENTIFIER: NVME_STATUS_COMMAND_SPECIFIC_CODES = 31i32; -pub const NVME_STATUS_INVALID_FIELD_IN_COMMAND: NVME_STATUS_GENERIC_COMMAND_CODES = 2i32; -pub const NVME_STATUS_INVALID_FIRMWARE_IMAGE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 7i32; -pub const NVME_STATUS_INVALID_FIRMWARE_SLOT: NVME_STATUS_COMMAND_SPECIFIC_CODES = 6i32; -pub const NVME_STATUS_INVALID_FORMAT: NVME_STATUS_COMMAND_SPECIFIC_CODES = 10i32; -pub const NVME_STATUS_INVALID_INTERRUPT_VECTOR: NVME_STATUS_COMMAND_SPECIFIC_CODES = 8i32; -pub const NVME_STATUS_INVALID_LOG_PAGE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 9i32; -pub const NVME_STATUS_INVALID_NAMESPACE_OR_FORMAT: NVME_STATUS_GENERIC_COMMAND_CODES = 11i32; -pub const NVME_STATUS_INVALID_NUMBER_OF_CONTROLLER_RESOURCES: NVME_STATUS_COMMAND_SPECIFIC_CODES = 33i32; -pub const NVME_STATUS_INVALID_NUMBER_OF_SGL_DESCR: NVME_STATUS_GENERIC_COMMAND_CODES = 14i32; -pub const NVME_STATUS_INVALID_QUEUE_DELETION: NVME_STATUS_COMMAND_SPECIFIC_CODES = 12i32; -pub const NVME_STATUS_INVALID_QUEUE_IDENTIFIER: NVME_STATUS_COMMAND_SPECIFIC_CODES = 1i32; -pub const NVME_STATUS_INVALID_RESOURCE_IDENTIFIER: NVME_STATUS_COMMAND_SPECIFIC_CODES = 34i32; -pub const NVME_STATUS_INVALID_SECONDARY_CONTROLLER_STATE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 32i32; -pub const NVME_STATUS_INVALID_SGL_LAST_SEGMENT_DESCR: NVME_STATUS_GENERIC_COMMAND_CODES = 13i32; -pub const NVME_STATUS_INVALID_USE_OF_CONTROLLER_MEMORY_BUFFER: NVME_STATUS_GENERIC_COMMAND_CODES = 18i32; -pub const NVME_STATUS_KEEP_ALIVE_TIMEOUT_EXPIRED: NVME_STATUS_GENERIC_COMMAND_CODES = 25i32; -pub const NVME_STATUS_KEEP_ALIVE_TIMEOUT_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = 26i32; -pub const NVME_STATUS_MAX_QUEUE_SIZE_EXCEEDED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 2i32; -pub const NVME_STATUS_METADATA_SGL_LENGTH_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = 16i32; -pub const NVME_STATUS_NAMESPACE_ALREADY_ATTACHED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 24i32; -pub const NVME_STATUS_NAMESPACE_IDENTIFIER_UNAVAILABLE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 22i32; -pub const NVME_STATUS_NAMESPACE_INSUFFICIENT_CAPACITY: NVME_STATUS_COMMAND_SPECIFIC_CODES = 21i32; -pub const NVME_STATUS_NAMESPACE_IS_PRIVATE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 25i32; -pub const NVME_STATUS_NAMESPACE_NOT_ATTACHED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 26i32; -pub const NVME_STATUS_NAMESPACE_THIN_PROVISIONING_NOT_SUPPORTED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 27i32; -pub const NVME_STATUS_NVM_ACCESS_DENIED: NVME_STATUS_MEDIA_ERROR_CODES = 134i32; -pub const NVME_STATUS_NVM_ATTEMPTED_WRITE_TO_READ_ONLY_RANGE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 130i32; -pub const NVME_STATUS_NVM_CAPACITY_EXCEEDED: NVME_STATUS_GENERIC_COMMAND_CODES = 129i32; -pub const NVME_STATUS_NVM_COMMAND_SIZE_LIMIT_EXCEEDED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 131i32; -pub const NVME_STATUS_NVM_COMPARE_FAILURE: NVME_STATUS_MEDIA_ERROR_CODES = 133i32; -pub const NVME_STATUS_NVM_CONFLICTING_ATTRIBUTES: NVME_STATUS_COMMAND_SPECIFIC_CODES = 128i32; -pub const NVME_STATUS_NVM_DEALLOCATED_OR_UNWRITTEN_LOGICAL_BLOCK: NVME_STATUS_MEDIA_ERROR_CODES = 135i32; -pub const NVME_STATUS_NVM_END_TO_END_APPLICATION_TAG_CHECK_ERROR: NVME_STATUS_MEDIA_ERROR_CODES = 131i32; -pub const NVME_STATUS_NVM_END_TO_END_GUARD_CHECK_ERROR: NVME_STATUS_MEDIA_ERROR_CODES = 130i32; -pub const NVME_STATUS_NVM_END_TO_END_REFERENCE_TAG_CHECK_ERROR: NVME_STATUS_MEDIA_ERROR_CODES = 132i32; -pub const NVME_STATUS_NVM_INVALID_PROTECTION_INFORMATION: NVME_STATUS_COMMAND_SPECIFIC_CODES = 129i32; -pub const NVME_STATUS_NVM_LBA_OUT_OF_RANGE: NVME_STATUS_GENERIC_COMMAND_CODES = 128i32; -pub const NVME_STATUS_NVM_NAMESPACE_NOT_READY: NVME_STATUS_GENERIC_COMMAND_CODES = 130i32; -pub const NVME_STATUS_NVM_RESERVATION_CONFLICT: NVME_STATUS_GENERIC_COMMAND_CODES = 131i32; -pub const NVME_STATUS_NVM_UNRECOVERED_READ_ERROR: NVME_STATUS_MEDIA_ERROR_CODES = 129i32; -pub const NVME_STATUS_NVM_WRITE_FAULT: NVME_STATUS_MEDIA_ERROR_CODES = 128i32; -pub const NVME_STATUS_OPERATION_DENIED: NVME_STATUS_GENERIC_COMMAND_CODES = 21i32; -pub const NVME_STATUS_OVERLAPPING_RANGE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 20i32; -pub const NVME_STATUS_PRP_OFFSET_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = 19i32; -pub const NVME_STATUS_RESERVED: NVME_STATUS_GENERIC_COMMAND_CODES = 23i32; -pub const NVME_STATUS_SANITIZE_FAILED: NVME_STATUS_GENERIC_COMMAND_CODES = 28i32; -pub const NVME_STATUS_SANITIZE_IN_PROGRESS: NVME_STATUS_GENERIC_COMMAND_CODES = 29i32; -pub const NVME_STATUS_SANITIZE_PROHIBITED_ON_PERSISTENT_MEMORY: NVME_STATUS_COMMAND_SPECIFIC_CODES = 35i32; -pub const NVME_STATUS_SGL_DATA_BLOCK_GRANULARITY_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = 30i32; -pub const NVME_STATUS_SGL_DESCR_TYPE_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = 17i32; -pub const NVME_STATUS_SGL_OFFSET_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = 22i32; -pub const NVME_STATUS_STREAM_RESOURCE_ALLOCATION_FAILED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 127i32; -pub const NVME_STATUS_SUCCESS_COMPLETION: NVME_STATUS_GENERIC_COMMAND_CODES = 0i32; -pub const NVME_STATUS_TYPE_COMMAND_SPECIFIC: NVME_STATUS_TYPES = 1i32; -pub const NVME_STATUS_TYPE_GENERIC_COMMAND: NVME_STATUS_TYPES = 0i32; -pub const NVME_STATUS_TYPE_MEDIA_ERROR: NVME_STATUS_TYPES = 2i32; -pub const NVME_STATUS_TYPE_VENDOR_SPECIFIC: NVME_STATUS_TYPES = 7i32; -pub const NVME_STATUS_ZONE_BOUNDARY_ERROR: NVME_STATUS_COMMAND_SPECIFIC_CODES = 184i32; -pub const NVME_STATUS_ZONE_FULL: NVME_STATUS_COMMAND_SPECIFIC_CODES = 185i32; -pub const NVME_STATUS_ZONE_INVALID_FORMAT: NVME_STATUS_COMMAND_SPECIFIC_CODES = 127i32; -pub const NVME_STATUS_ZONE_INVALID_STATE_TRANSITION: NVME_STATUS_COMMAND_SPECIFIC_CODES = 191i32; -pub const NVME_STATUS_ZONE_INVALID_WRITE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 188i32; -pub const NVME_STATUS_ZONE_OFFLINE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 187i32; -pub const NVME_STATUS_ZONE_READ_ONLY: NVME_STATUS_COMMAND_SPECIFIC_CODES = 186i32; -pub const NVME_STATUS_ZONE_TOO_MANY_ACTIVE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 189i32; -pub const NVME_STATUS_ZONE_TOO_MANY_OPEN: NVME_STATUS_COMMAND_SPECIFIC_CODES = 190i32; -pub const NVME_STREAMS_GET_STATUS_MAX_IDS: u32 = 65535u32; -pub const NVME_STREAMS_ID_MAX: u32 = 65535u32; -pub const NVME_STREAMS_ID_MIN: u32 = 1u32; -pub const NVME_TELEMETRY_DATA_BLOCK_SIZE: u32 = 512u32; -pub const NVME_TEMPERATURE_OVER_THRESHOLD: NVME_TEMPERATURE_THRESHOLD_TYPES = 0i32; -pub const NVME_TEMPERATURE_UNDER_THRESHOLD: NVME_TEMPERATURE_THRESHOLD_TYPES = 1i32; -pub const NVME_WCS_DEVICE_ERROR_RECOVERY_LOG_VERSION_1: u32 = 1u32; -pub const NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_VERSION_2: u32 = 2u32; -pub const NVME_ZONE_RECEIVE_EXTENDED_REPORT_ZONES: NVME_ZONE_RECEIVE_ACTION = 1i32; -pub const NVME_ZONE_RECEIVE_REPORT_ZONES: NVME_ZONE_RECEIVE_ACTION = 0i32; -pub const NVME_ZONE_SEND_CLOSE: NVME_ZONE_SEND_ACTION = 1i32; -pub const NVME_ZONE_SEND_FINISH: NVME_ZONE_SEND_ACTION = 2i32; -pub const NVME_ZONE_SEND_OFFLINE: NVME_ZONE_SEND_ACTION = 5i32; -pub const NVME_ZONE_SEND_OPEN: NVME_ZONE_SEND_ACTION = 3i32; -pub const NVME_ZONE_SEND_RESET: NVME_ZONE_SEND_ACTION = 4i32; -pub const NVME_ZONE_SEND_SET_ZONE_DESCRIPTOR: NVME_ZONE_SEND_ACTION = 16i32; -pub const NVME_ZRA_ALL_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = 0i32; -pub const NVME_ZRA_CLOSED_STATE_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = 4i32; -pub const NVME_ZRA_EMPTY_STATE_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = 1i32; -pub const NVME_ZRA_EO_STATE_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = 3i32; -pub const NVME_ZRA_FULL_STATE_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = 5i32; -pub const NVME_ZRA_IO_STATE_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = 2i32; -pub const NVME_ZRA_OFFLINE_STATE_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = 7i32; -pub const NVME_ZRA_RO_STATE_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = 6i32; -pub const NVMeDeviceRecovery1Max: NVME_WCS_DEVICE_RECOVERY_ACTION1 = 15i32; -pub const NVMeDeviceRecovery2Max: NVME_WCS_DEVICE_RECOVERY_ACTION2 = 15i32; -pub const NVMeDeviceRecoveryControllerReset: NVME_WCS_DEVICE_RECOVERY_ACTION2 = 0i32; -pub const NVMeDeviceRecoveryDeviceReplacement: NVME_WCS_DEVICE_RECOVERY_ACTION1 = 4i32; -pub const NVMeDeviceRecoveryFormatNVM: NVME_WCS_DEVICE_RECOVERY_ACTION1 = 1i32; -pub const NVMeDeviceRecoveryNoAction: NVME_WCS_DEVICE_RECOVERY_ACTION1 = 0i32; -pub const NVMeDeviceRecoveryPERST: NVME_WCS_DEVICE_RECOVERY_ACTION2 = 3i32; -pub const NVMeDeviceRecoveryPcieFunctionReset: NVME_WCS_DEVICE_RECOVERY_ACTION2 = 2i32; -pub const NVMeDeviceRecoveryPcieHotReset: NVME_WCS_DEVICE_RECOVERY_ACTION2 = 5i32; -pub const NVMeDeviceRecoveryPowerCycle: NVME_WCS_DEVICE_RECOVERY_ACTION2 = 4i32; -pub const NVMeDeviceRecoverySanitize: NVME_WCS_DEVICE_RECOVERY_ACTION1 = 5i32; -pub const NVMeDeviceRecoverySubsystemReset: NVME_WCS_DEVICE_RECOVERY_ACTION2 = 1i32; -pub const NVMeDeviceRecoveryVendorAnalysis: NVME_WCS_DEVICE_RECOVERY_ACTION1 = 3i32; -pub const NVMeDeviceRecoveryVendorSpecificCommand: NVME_WCS_DEVICE_RECOVERY_ACTION1 = 2i32; -pub const TCG_HISTORY_ENTRY_VERSION_1: u32 = 1u32; -pub type NVME_ACCESS_FREQUENCIES = i32; -pub type NVME_ACCESS_LATENCIES = i32; -pub type NVME_ADMIN_COMMANDS = i32; -pub type NVME_AMS_OPTION = i32; -pub type NVME_ASYNC_EVENT_ERROR_STATUS_CODES = i32; -pub type NVME_ASYNC_EVENT_HEALTH_STATUS_CODES = i32; -pub type NVME_ASYNC_EVENT_IO_COMMAND_SET_STATUS_CODES = i32; -pub type NVME_ASYNC_EVENT_NOTICE_CODES = i32; -pub type NVME_ASYNC_EVENT_TYPES = i32; -pub type NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_CODES = i32; -pub type NVME_CC_SHN_SHUTDOWN_NOTIFICATIONS = i32; -pub type NVME_CMBSZ_SIZE_UNITS = i32; -pub type NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMITS = i32; -pub type NVME_COMMAND_SET_IDENTIFIERS = i32; -pub type NVME_CONTROLLER_METADATA_ELEMENT_TYPES = i32; -pub type NVME_CSS_COMMAND_SETS = i32; -pub type NVME_CSTS_SHST_SHUTDOWN_STATUS = i32; -pub type NVME_DIRECTIVE_RECEIVE_IDENTIFY_OPERATIONS = i32; -pub type NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATIONS = i32; -pub type NVME_DIRECTIVE_SEND_IDENTIFY_OPERATIONS = i32; -pub type NVME_DIRECTIVE_SEND_STREAMS_OPERATIONS = i32; -pub type NVME_DIRECTIVE_TYPES = i32; -pub type NVME_ERROR_INJECTION_TYPES = i32; -pub type NVME_FEATURES = i32; -pub type NVME_FEATURE_VALUE_CODES = i32; -pub type NVME_FIRMWARE_ACTIVATE_ACTIONS = i32; -pub type NVME_FUSED_OPERATION_CODES = i32; -pub type NVME_HOST_METADATA_ELEMENT_ACTIONS = i32; -pub type NVME_IDENTIFIER_TYPE = i32; -pub type NVME_IDENTIFIER_TYPE_LENGTH = i32; -pub type NVME_IDENTIFY_CNS_CODES = i32; -pub type NVME_LBA_RANGE_TYPES = i32; -pub type NVME_LOG_PAGES = i32; -pub type NVME_NAMESPACE_METADATA_ELEMENT_TYPES = i32; -pub type NVME_NO_DEALLOCATE_MODIFIES_MEDIA_AFTER_SANITIZE = i32; -pub type NVME_NVM_COMMANDS = i32; -pub type NVME_NVM_QUEUE_PRIORITIES = i32; -pub type NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = i32; -pub type NVME_PROTECTION_INFORMATION_TYPES = i32; -pub type NVME_RESERVATION_ACQUIRE_ACTIONS = i32; -pub type NVME_RESERVATION_NOTIFICATION_TYPES = i32; -pub type NVME_RESERVATION_REGISTER_ACTIONS = i32; -pub type NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES = i32; -pub type NVME_RESERVATION_RELEASE_ACTIONS = i32; -pub type NVME_RESERVATION_TYPES = i32; -pub type NVME_SANITIZE_ACTION = i32; -pub type NVME_SANITIZE_OPERATION_STATUS = i32; -pub type NVME_SECURE_ERASE_SETTINGS = i32; -pub type NVME_STATUS_COMMAND_SPECIFIC_CODES = i32; -pub type NVME_STATUS_GENERIC_COMMAND_CODES = i32; -pub type NVME_STATUS_MEDIA_ERROR_CODES = i32; -pub type NVME_STATUS_TYPES = i32; -pub type NVME_TEMPERATURE_THRESHOLD_TYPES = i32; -pub type NVME_VENDOR_LOG_PAGES = i32; -pub type NVME_WCS_DEVICE_RECOVERY_ACTION1 = i32; -pub type NVME_WCS_DEVICE_RECOVERY_ACTION2 = i32; -pub type NVME_ZONE_RECEIVE_ACTION = i32; -pub type NVME_ZONE_RECEIVE_ACTION_SPECIFIC = i32; -pub type NVME_ZONE_SEND_ACTION = i32; -pub type ZONE_STATE = i32; -#[repr(C)] -pub struct ACTIVE_LATENCY_CONFIGURATION { - pub Anonymous: ACTIVE_LATENCY_CONFIGURATION_0, -} -impl ::core::marker::Copy for ACTIVE_LATENCY_CONFIGURATION {} -impl ::core::clone::Clone for ACTIVE_LATENCY_CONFIGURATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub union ACTIVE_LATENCY_CONFIGURATION_0 { - pub Anonymous: ACTIVE_LATENCY_CONFIGURATION_0_0, - pub AsUshort: u16, -} -impl ::core::marker::Copy for ACTIVE_LATENCY_CONFIGURATION_0 {} -impl ::core::clone::Clone for ACTIVE_LATENCY_CONFIGURATION_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct ACTIVE_LATENCY_CONFIGURATION_0_0 { - pub _bitfield: u16, -} -impl ::core::marker::Copy for ACTIVE_LATENCY_CONFIGURATION_0_0 {} -impl ::core::clone::Clone for ACTIVE_LATENCY_CONFIGURATION_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct BUCKET_COUNTER { - pub Reserved: u32, - pub Trim: u32, - pub Write: u32, - pub Read: u32, -} -impl ::core::marker::Copy for BUCKET_COUNTER {} -impl ::core::clone::Clone for BUCKET_COUNTER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct DEBUG_BIT_FIELD { - pub _bitfield: u16, -} -impl ::core::marker::Copy for DEBUG_BIT_FIELD {} -impl ::core::clone::Clone for DEBUG_BIT_FIELD { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DSSD_POWER_STATE_DESCRIPTOR { - pub _bitfield: u8, -} -impl ::core::marker::Copy for DSSD_POWER_STATE_DESCRIPTOR {} -impl ::core::clone::Clone for DSSD_POWER_STATE_DESCRIPTOR { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct FIRMWARE_ACTIVATION_HISTORY_ENTRY { - pub VersionNumber: u8, - pub Length: u8, - pub Reserved0: u16, - pub ActivationCount: u16, - pub Timestamp: u64, - pub Reserved1: u64, - pub PowerCycleCount: u64, - pub PreviousFirmware: u64, - pub NewFirmware: u64, - pub SlotNumber: u8, - pub CommitActionType: u8, - pub Result: u16, - pub Reserved2: [u8; 14], -} -impl ::core::marker::Copy for FIRMWARE_ACTIVATION_HISTORY_ENTRY {} -impl ::core::clone::Clone for FIRMWARE_ACTIVATION_HISTORY_ENTRY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct LATENCY_MONITOR_FEATURE_STATUS { - pub Anonymous: LATENCY_MONITOR_FEATURE_STATUS_0, -} -impl ::core::marker::Copy for LATENCY_MONITOR_FEATURE_STATUS {} -impl ::core::clone::Clone for LATENCY_MONITOR_FEATURE_STATUS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union LATENCY_MONITOR_FEATURE_STATUS_0 { - pub Anonymous: LATENCY_MONITOR_FEATURE_STATUS_0_0, - pub AsUchar: u8, -} -impl ::core::marker::Copy for LATENCY_MONITOR_FEATURE_STATUS_0 {} -impl ::core::clone::Clone for LATENCY_MONITOR_FEATURE_STATUS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct LATENCY_MONITOR_FEATURE_STATUS_0_0 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for LATENCY_MONITOR_FEATURE_STATUS_0_0 {} -impl ::core::clone::Clone for LATENCY_MONITOR_FEATURE_STATUS_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct LATENCY_STAMP { - pub Trim3: u64, - pub Write3: u64, - pub Read3: u64, - pub Trim2: u64, - pub Write2: u64, - pub Read2: u64, - pub Trim1: u64, - pub Write1: u64, - pub Read1: u64, - pub Trim0: u64, - pub Write0: u64, - pub Read0: u64, -} -impl ::core::marker::Copy for LATENCY_STAMP {} -impl ::core::clone::Clone for LATENCY_STAMP { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct LATENCY_STAMP_UNITS { - pub _bitfield: u16, -} -impl ::core::marker::Copy for LATENCY_STAMP_UNITS {} -impl ::core::clone::Clone for LATENCY_STAMP_UNITS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct MEASURED_LATENCY { - pub Trim3: u16, - pub Write3: u16, - pub Read3: u16, - pub Trim2: u16, - pub Write2: u16, - pub Read2: u16, - pub Trim1: u16, - pub Write1: u16, - pub Read1: u16, - pub Trim0: u16, - pub Write0: u16, - pub Read0: u16, -} -impl ::core::marker::Copy for MEASURED_LATENCY {} -impl ::core::clone::Clone for MEASURED_LATENCY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_ACTIVE_NAMESPACE_ID_LIST { - pub NSID: [u32; 1024], -} -impl ::core::marker::Copy for NVME_ACTIVE_NAMESPACE_ID_LIST {} -impl ::core::clone::Clone for NVME_ACTIVE_NAMESPACE_ID_LIST { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS { - pub Anonymous: NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS_0, - pub AsUlonglong: u64, -} -impl ::core::marker::Copy for NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS {} -impl ::core::clone::Clone for NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS_0 { - pub _bitfield: u64, -} -impl ::core::marker::Copy for NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS_0 {} -impl ::core::clone::Clone for NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_ADMIN_QUEUE_ATTRIBUTES { - pub Anonymous: NVME_ADMIN_QUEUE_ATTRIBUTES_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_ADMIN_QUEUE_ATTRIBUTES {} -impl ::core::clone::Clone for NVME_ADMIN_QUEUE_ATTRIBUTES { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_ADMIN_QUEUE_ATTRIBUTES_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_ADMIN_QUEUE_ATTRIBUTES_0 {} -impl ::core::clone::Clone for NVME_ADMIN_QUEUE_ATTRIBUTES_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS { - pub Anonymous: NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS_0, - pub AsUlonglong: u64, -} -impl ::core::marker::Copy for NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS {} -impl ::core::clone::Clone for NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS_0 { - pub _bitfield: u64, -} -impl ::core::marker::Copy for NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS_0 {} -impl ::core::clone::Clone for NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_AUTO_POWER_STATE_TRANSITION_ENTRY { - pub _bitfield: u32, - pub Reserved1: u32, -} -impl ::core::marker::Copy for NVME_AUTO_POWER_STATE_TRANSITION_ENTRY {} -impl ::core::clone::Clone for NVME_AUTO_POWER_STATE_TRANSITION_ENTRY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO { - pub Anonymous: NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO {} -impl ::core::clone::Clone for NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO_0 {} -impl ::core::clone::Clone for NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW0_FEATURE_ERROR_INJECTION { - pub Anonymous: NVME_CDW0_FEATURE_ERROR_INJECTION_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW0_FEATURE_ERROR_INJECTION {} -impl ::core::clone::Clone for NVME_CDW0_FEATURE_ERROR_INJECTION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW0_FEATURE_ERROR_INJECTION_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW0_FEATURE_ERROR_INJECTION_0 {} -impl ::core::clone::Clone for NVME_CDW0_FEATURE_ERROR_INJECTION_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE { - pub Anonymous: NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE {} -impl ::core::clone::Clone for NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE_0 {} -impl ::core::clone::Clone for NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW0_RESERVATION_PERSISTENCE { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW0_RESERVATION_PERSISTENCE {} -impl ::core::clone::Clone for NVME_CDW0_RESERVATION_PERSISTENCE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW10_ABORT { - pub Anonymous: NVME_CDW10_ABORT_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW10_ABORT {} -impl ::core::clone::Clone for NVME_CDW10_ABORT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW10_ABORT_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW10_ABORT_0 {} -impl ::core::clone::Clone for NVME_CDW10_ABORT_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW10_CREATE_IO_QUEUE { - pub Anonymous: NVME_CDW10_CREATE_IO_QUEUE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW10_CREATE_IO_QUEUE {} -impl ::core::clone::Clone for NVME_CDW10_CREATE_IO_QUEUE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW10_CREATE_IO_QUEUE_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW10_CREATE_IO_QUEUE_0 {} -impl ::core::clone::Clone for NVME_CDW10_CREATE_IO_QUEUE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW10_DATASET_MANAGEMENT { - pub Anonymous: NVME_CDW10_DATASET_MANAGEMENT_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW10_DATASET_MANAGEMENT {} -impl ::core::clone::Clone for NVME_CDW10_DATASET_MANAGEMENT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW10_DATASET_MANAGEMENT_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW10_DATASET_MANAGEMENT_0 {} -impl ::core::clone::Clone for NVME_CDW10_DATASET_MANAGEMENT_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW10_DIRECTIVE_RECEIVE { - pub NUMD: u32, -} -impl ::core::marker::Copy for NVME_CDW10_DIRECTIVE_RECEIVE {} -impl ::core::clone::Clone for NVME_CDW10_DIRECTIVE_RECEIVE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW10_DIRECTIVE_SEND { - pub NUMD: u32, -} -impl ::core::marker::Copy for NVME_CDW10_DIRECTIVE_SEND {} -impl ::core::clone::Clone for NVME_CDW10_DIRECTIVE_SEND { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW10_FIRMWARE_ACTIVATE { - pub Anonymous: NVME_CDW10_FIRMWARE_ACTIVATE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW10_FIRMWARE_ACTIVATE {} -impl ::core::clone::Clone for NVME_CDW10_FIRMWARE_ACTIVATE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW10_FIRMWARE_ACTIVATE_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW10_FIRMWARE_ACTIVATE_0 {} -impl ::core::clone::Clone for NVME_CDW10_FIRMWARE_ACTIVATE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW10_FIRMWARE_DOWNLOAD { - pub NUMD: u32, -} -impl ::core::marker::Copy for NVME_CDW10_FIRMWARE_DOWNLOAD {} -impl ::core::clone::Clone for NVME_CDW10_FIRMWARE_DOWNLOAD { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW10_FORMAT_NVM { - pub Anonymous: NVME_CDW10_FORMAT_NVM_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW10_FORMAT_NVM {} -impl ::core::clone::Clone for NVME_CDW10_FORMAT_NVM { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW10_FORMAT_NVM_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW10_FORMAT_NVM_0 {} -impl ::core::clone::Clone for NVME_CDW10_FORMAT_NVM_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW10_GET_FEATURES { - pub Anonymous: NVME_CDW10_GET_FEATURES_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW10_GET_FEATURES {} -impl ::core::clone::Clone for NVME_CDW10_GET_FEATURES { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW10_GET_FEATURES_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW10_GET_FEATURES_0 {} -impl ::core::clone::Clone for NVME_CDW10_GET_FEATURES_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW10_GET_LOG_PAGE { - pub Anonymous: NVME_CDW10_GET_LOG_PAGE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW10_GET_LOG_PAGE {} -impl ::core::clone::Clone for NVME_CDW10_GET_LOG_PAGE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW10_GET_LOG_PAGE_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW10_GET_LOG_PAGE_0 {} -impl ::core::clone::Clone for NVME_CDW10_GET_LOG_PAGE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW10_GET_LOG_PAGE_V13 { - pub Anonymous: NVME_CDW10_GET_LOG_PAGE_V13_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW10_GET_LOG_PAGE_V13 {} -impl ::core::clone::Clone for NVME_CDW10_GET_LOG_PAGE_V13 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW10_GET_LOG_PAGE_V13_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW10_GET_LOG_PAGE_V13_0 {} -impl ::core::clone::Clone for NVME_CDW10_GET_LOG_PAGE_V13_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW10_IDENTIFY { - pub Anonymous: NVME_CDW10_IDENTIFY_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW10_IDENTIFY {} -impl ::core::clone::Clone for NVME_CDW10_IDENTIFY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW10_IDENTIFY_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW10_IDENTIFY_0 {} -impl ::core::clone::Clone for NVME_CDW10_IDENTIFY_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW10_RESERVATION_ACQUIRE { - pub Anonymous: NVME_CDW10_RESERVATION_ACQUIRE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW10_RESERVATION_ACQUIRE {} -impl ::core::clone::Clone for NVME_CDW10_RESERVATION_ACQUIRE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW10_RESERVATION_ACQUIRE_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW10_RESERVATION_ACQUIRE_0 {} -impl ::core::clone::Clone for NVME_CDW10_RESERVATION_ACQUIRE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW10_RESERVATION_REGISTER { - pub Anonymous: NVME_CDW10_RESERVATION_REGISTER_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW10_RESERVATION_REGISTER {} -impl ::core::clone::Clone for NVME_CDW10_RESERVATION_REGISTER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW10_RESERVATION_REGISTER_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW10_RESERVATION_REGISTER_0 {} -impl ::core::clone::Clone for NVME_CDW10_RESERVATION_REGISTER_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW10_RESERVATION_RELEASE { - pub Anonymous: NVME_CDW10_RESERVATION_RELEASE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW10_RESERVATION_RELEASE {} -impl ::core::clone::Clone for NVME_CDW10_RESERVATION_RELEASE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW10_RESERVATION_RELEASE_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW10_RESERVATION_RELEASE_0 {} -impl ::core::clone::Clone for NVME_CDW10_RESERVATION_RELEASE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW10_RESERVATION_REPORT { - pub Anonymous: NVME_CDW10_RESERVATION_REPORT_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW10_RESERVATION_REPORT {} -impl ::core::clone::Clone for NVME_CDW10_RESERVATION_REPORT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW10_RESERVATION_REPORT_0 { - pub NUMD: u32, -} -impl ::core::marker::Copy for NVME_CDW10_RESERVATION_REPORT_0 {} -impl ::core::clone::Clone for NVME_CDW10_RESERVATION_REPORT_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW10_SANITIZE { - pub Anonymous: NVME_CDW10_SANITIZE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW10_SANITIZE {} -impl ::core::clone::Clone for NVME_CDW10_SANITIZE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW10_SANITIZE_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW10_SANITIZE_0 {} -impl ::core::clone::Clone for NVME_CDW10_SANITIZE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW10_SECURITY_SEND_RECEIVE { - pub Anonymous: NVME_CDW10_SECURITY_SEND_RECEIVE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW10_SECURITY_SEND_RECEIVE {} -impl ::core::clone::Clone for NVME_CDW10_SECURITY_SEND_RECEIVE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW10_SECURITY_SEND_RECEIVE_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW10_SECURITY_SEND_RECEIVE_0 {} -impl ::core::clone::Clone for NVME_CDW10_SECURITY_SEND_RECEIVE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW10_SET_FEATURES { - pub Anonymous: NVME_CDW10_SET_FEATURES_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW10_SET_FEATURES {} -impl ::core::clone::Clone for NVME_CDW10_SET_FEATURES { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW10_SET_FEATURES_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW10_SET_FEATURES_0 {} -impl ::core::clone::Clone for NVME_CDW10_SET_FEATURES_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW10_ZONE_APPEND { - pub SLBA: u64, -} -impl ::core::marker::Copy for NVME_CDW10_ZONE_APPEND {} -impl ::core::clone::Clone for NVME_CDW10_ZONE_APPEND { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW10_ZONE_MANAGEMENT_RECEIVE { - pub SLBA: u64, -} -impl ::core::marker::Copy for NVME_CDW10_ZONE_MANAGEMENT_RECEIVE {} -impl ::core::clone::Clone for NVME_CDW10_ZONE_MANAGEMENT_RECEIVE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW10_ZONE_MANAGEMENT_SEND { - pub SLBA: u64, -} -impl ::core::marker::Copy for NVME_CDW10_ZONE_MANAGEMENT_SEND {} -impl ::core::clone::Clone for NVME_CDW10_ZONE_MANAGEMENT_SEND { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_CREATE_IO_CQ { - pub Anonymous: NVME_CDW11_CREATE_IO_CQ_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_CREATE_IO_CQ {} -impl ::core::clone::Clone for NVME_CDW11_CREATE_IO_CQ { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_CREATE_IO_CQ_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_CREATE_IO_CQ_0 {} -impl ::core::clone::Clone for NVME_CDW11_CREATE_IO_CQ_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_CREATE_IO_SQ { - pub Anonymous: NVME_CDW11_CREATE_IO_SQ_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_CREATE_IO_SQ {} -impl ::core::clone::Clone for NVME_CDW11_CREATE_IO_SQ { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_CREATE_IO_SQ_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_CREATE_IO_SQ_0 {} -impl ::core::clone::Clone for NVME_CDW11_CREATE_IO_SQ_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_DATASET_MANAGEMENT { - pub Anonymous: NVME_CDW11_DATASET_MANAGEMENT_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_DATASET_MANAGEMENT {} -impl ::core::clone::Clone for NVME_CDW11_DATASET_MANAGEMENT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_DATASET_MANAGEMENT_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_DATASET_MANAGEMENT_0 {} -impl ::core::clone::Clone for NVME_CDW11_DATASET_MANAGEMENT_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_DIRECTIVE_RECEIVE { - pub Anonymous: NVME_CDW11_DIRECTIVE_RECEIVE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_DIRECTIVE_RECEIVE {} -impl ::core::clone::Clone for NVME_CDW11_DIRECTIVE_RECEIVE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_DIRECTIVE_RECEIVE_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_DIRECTIVE_RECEIVE_0 {} -impl ::core::clone::Clone for NVME_CDW11_DIRECTIVE_RECEIVE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_DIRECTIVE_SEND { - pub Anonymous: NVME_CDW11_DIRECTIVE_SEND_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_DIRECTIVE_SEND {} -impl ::core::clone::Clone for NVME_CDW11_DIRECTIVE_SEND { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_DIRECTIVE_SEND_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_DIRECTIVE_SEND_0 {} -impl ::core::clone::Clone for NVME_CDW11_DIRECTIVE_SEND_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURES { - pub NumberOfQueues: NVME_CDW11_FEATURE_NUMBER_OF_QUEUES, - pub InterruptCoalescing: NVME_CDW11_FEATURE_INTERRUPT_COALESCING, - pub InterruptVectorConfig: NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG, - pub LbaRangeType: NVME_CDW11_FEATURE_LBA_RANGE_TYPE, - pub Arbitration: NVME_CDW11_FEATURE_ARBITRATION, - pub VolatileWriteCache: NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE, - pub AsyncEventConfig: NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG, - pub PowerManagement: NVME_CDW11_FEATURE_POWER_MANAGEMENT, - pub AutoPowerStateTransition: NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION, - pub TemperatureThreshold: NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD, - pub ErrorRecovery: NVME_CDW11_FEATURE_ERROR_RECOVERY, - pub HostMemoryBuffer: NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER, - pub WriteAtomicityNormal: NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL, - pub NonOperationalPowerState: NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE, - pub IoCommandSetProfile: NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE, - pub ErrorInjection: NVME_CDW0_FEATURE_ERROR_INJECTION, - pub HostIdentifier: NVME_CDW11_FEATURE_HOST_IDENTIFIER, - pub ReservationPersistence: NVME_CDW11_FEATURE_RESERVATION_PERSISTENCE, - pub ReservationNotificationMask: NVME_CDW11_FEATURE_RESERVATION_NOTIFICATION_MASK, - pub GetHostMetadata: NVME_CDW11_FEATURE_GET_HOST_METADATA, - pub SetHostMetadata: NVME_CDW11_FEATURE_SET_HOST_METADATA, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURES {} -impl ::core::clone::Clone for NVME_CDW11_FEATURES { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURE_ARBITRATION { - pub Anonymous: NVME_CDW11_FEATURE_ARBITRATION_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_ARBITRATION {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_ARBITRATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_ARBITRATION_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_ARBITRATION_0 {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_ARBITRATION_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG { - pub Anonymous: NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG_0 {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION { - pub Anonymous: NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION_0 {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY { - pub Anonymous: NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY_0 {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS { - pub Anonymous: NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS_0 {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO { - pub Anonymous: NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO_0 {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURE_ERROR_RECOVERY { - pub Anonymous: NVME_CDW11_FEATURE_ERROR_RECOVERY_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_ERROR_RECOVERY {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_ERROR_RECOVERY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_ERROR_RECOVERY_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_ERROR_RECOVERY_0 {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_ERROR_RECOVERY_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURE_GET_HOST_METADATA { - pub Anonymous: NVME_CDW11_FEATURE_GET_HOST_METADATA_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_GET_HOST_METADATA {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_GET_HOST_METADATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_GET_HOST_METADATA_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_GET_HOST_METADATA_0 {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_GET_HOST_METADATA_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_HOST_IDENTIFIER { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_HOST_IDENTIFIER {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_HOST_IDENTIFIER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER { - pub Anonymous: NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER_0 {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURE_INTERRUPT_COALESCING { - pub Anonymous: NVME_CDW11_FEATURE_INTERRUPT_COALESCING_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_INTERRUPT_COALESCING {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_INTERRUPT_COALESCING { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_INTERRUPT_COALESCING_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_INTERRUPT_COALESCING_0 {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_INTERRUPT_COALESCING_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG { - pub Anonymous: NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG_0 {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE { - pub Anonymous: NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE_0 {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURE_LBA_RANGE_TYPE { - pub Anonymous: NVME_CDW11_FEATURE_LBA_RANGE_TYPE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_LBA_RANGE_TYPE {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_LBA_RANGE_TYPE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_LBA_RANGE_TYPE_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_LBA_RANGE_TYPE_0 {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_LBA_RANGE_TYPE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE { - pub Anonymous: NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE_0 {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURE_NUMBER_OF_QUEUES { - pub Anonymous: NVME_CDW11_FEATURE_NUMBER_OF_QUEUES_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_NUMBER_OF_QUEUES {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_NUMBER_OF_QUEUES { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_NUMBER_OF_QUEUES_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_NUMBER_OF_QUEUES_0 {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_NUMBER_OF_QUEUES_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURE_POWER_MANAGEMENT { - pub Anonymous: NVME_CDW11_FEATURE_POWER_MANAGEMENT_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_POWER_MANAGEMENT {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_POWER_MANAGEMENT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_POWER_MANAGEMENT_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_POWER_MANAGEMENT_0 {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_POWER_MANAGEMENT_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE { - pub Anonymous: NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE_0 {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_RESERVATION_NOTIFICATION_MASK { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_RESERVATION_NOTIFICATION_MASK {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_RESERVATION_NOTIFICATION_MASK { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_RESERVATION_PERSISTENCE { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_RESERVATION_PERSISTENCE {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_RESERVATION_PERSISTENCE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURE_SET_HOST_METADATA { - pub Anonymous: NVME_CDW11_FEATURE_SET_HOST_METADATA_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_SET_HOST_METADATA {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_SET_HOST_METADATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_SET_HOST_METADATA_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_SET_HOST_METADATA_0 {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_SET_HOST_METADATA_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY { - pub Anonymous: NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY_0 {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD { - pub Anonymous: NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD_0 {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE { - pub Anonymous: NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE_0 {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL { - pub Anonymous: NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL_0 {} -impl ::core::clone::Clone for NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_FIRMWARE_DOWNLOAD { - pub OFST: u32, -} -impl ::core::marker::Copy for NVME_CDW11_FIRMWARE_DOWNLOAD {} -impl ::core::clone::Clone for NVME_CDW11_FIRMWARE_DOWNLOAD { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_GET_LOG_PAGE { - pub Anonymous: NVME_CDW11_GET_LOG_PAGE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_GET_LOG_PAGE {} -impl ::core::clone::Clone for NVME_CDW11_GET_LOG_PAGE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_GET_LOG_PAGE_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_GET_LOG_PAGE_0 {} -impl ::core::clone::Clone for NVME_CDW11_GET_LOG_PAGE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_IDENTIFY { - pub Anonymous1: NVME_CDW11_IDENTIFY_0, - pub Anonymous2: NVME_CDW11_IDENTIFY_1, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_IDENTIFY {} -impl ::core::clone::Clone for NVME_CDW11_IDENTIFY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_IDENTIFY_0 { - pub NVMSETID: u16, - pub Reserved: u16, -} -impl ::core::marker::Copy for NVME_CDW11_IDENTIFY_0 {} -impl ::core::clone::Clone for NVME_CDW11_IDENTIFY_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_IDENTIFY_1 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_IDENTIFY_1 {} -impl ::core::clone::Clone for NVME_CDW11_IDENTIFY_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_RESERVATION_REPORT { - pub Anonymous: NVME_CDW11_RESERVATION_REPORT_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_RESERVATION_REPORT {} -impl ::core::clone::Clone for NVME_CDW11_RESERVATION_REPORT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_RESERVATION_REPORT_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW11_RESERVATION_REPORT_0 {} -impl ::core::clone::Clone for NVME_CDW11_RESERVATION_REPORT_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW11_SANITIZE { - pub Anonymous: NVME_CDW11_SANITIZE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW11_SANITIZE {} -impl ::core::clone::Clone for NVME_CDW11_SANITIZE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_SANITIZE_0 { - pub OVRPAT: u32, -} -impl ::core::marker::Copy for NVME_CDW11_SANITIZE_0 {} -impl ::core::clone::Clone for NVME_CDW11_SANITIZE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_SECURITY_RECEIVE { - pub AL: u32, -} -impl ::core::marker::Copy for NVME_CDW11_SECURITY_RECEIVE {} -impl ::core::clone::Clone for NVME_CDW11_SECURITY_RECEIVE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW11_SECURITY_SEND { - pub TL: u32, -} -impl ::core::marker::Copy for NVME_CDW11_SECURITY_SEND {} -impl ::core::clone::Clone for NVME_CDW11_SECURITY_SEND { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW12_DIRECTIVE_RECEIVE { - pub AllocateResources: NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW12_DIRECTIVE_RECEIVE {} -impl ::core::clone::Clone for NVME_CDW12_DIRECTIVE_RECEIVE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES { - pub Anonymous: NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES {} -impl ::core::clone::Clone for NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 {} -impl ::core::clone::Clone for NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW12_DIRECTIVE_SEND { - pub EnableDirective: NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW12_DIRECTIVE_SEND {} -impl ::core::clone::Clone for NVME_CDW12_DIRECTIVE_SEND { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE { - pub Anonymous: NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE {} -impl ::core::clone::Clone for NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE_0 {} -impl ::core::clone::Clone for NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW12_FEATURES { - pub HostMemoryBuffer: NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW12_FEATURES {} -impl ::core::clone::Clone for NVME_CDW12_FEATURES { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER { - pub Anonymous: NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER {} -impl ::core::clone::Clone for NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER_0 { - pub HSIZE: u32, -} -impl ::core::marker::Copy for NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER_0 {} -impl ::core::clone::Clone for NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW12_GET_LOG_PAGE { - pub LPOL: u32, -} -impl ::core::marker::Copy for NVME_CDW12_GET_LOG_PAGE {} -impl ::core::clone::Clone for NVME_CDW12_GET_LOG_PAGE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW12_READ_WRITE { - pub Anonymous: NVME_CDW12_READ_WRITE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW12_READ_WRITE {} -impl ::core::clone::Clone for NVME_CDW12_READ_WRITE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW12_READ_WRITE_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW12_READ_WRITE_0 {} -impl ::core::clone::Clone for NVME_CDW12_READ_WRITE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW12_ZONE_APPEND { - pub Anonymous: NVME_CDW12_ZONE_APPEND_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW12_ZONE_APPEND {} -impl ::core::clone::Clone for NVME_CDW12_ZONE_APPEND { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW12_ZONE_APPEND_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW12_ZONE_APPEND_0 {} -impl ::core::clone::Clone for NVME_CDW12_ZONE_APPEND_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW13_FEATURES { - pub HostMemoryBuffer: NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW13_FEATURES {} -impl ::core::clone::Clone for NVME_CDW13_FEATURES { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER { - pub Anonymous: NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER {} -impl ::core::clone::Clone for NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER_0 {} -impl ::core::clone::Clone for NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW13_GET_LOG_PAGE { - pub LPOU: u32, -} -impl ::core::marker::Copy for NVME_CDW13_GET_LOG_PAGE {} -impl ::core::clone::Clone for NVME_CDW13_GET_LOG_PAGE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW13_READ_WRITE { - pub Anonymous: NVME_CDW13_READ_WRITE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW13_READ_WRITE {} -impl ::core::clone::Clone for NVME_CDW13_READ_WRITE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW13_READ_WRITE_0 { - pub DSM: NVME_CDW13_READ_WRITE_0_0, - pub Reserved: u8, - pub DSPEC: u16, -} -impl ::core::marker::Copy for NVME_CDW13_READ_WRITE_0 {} -impl ::core::clone::Clone for NVME_CDW13_READ_WRITE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW13_READ_WRITE_0_0 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_CDW13_READ_WRITE_0_0 {} -impl ::core::clone::Clone for NVME_CDW13_READ_WRITE_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW13_ZONE_MANAGEMENT_RECEIVE { - pub Anonymous: NVME_CDW13_ZONE_MANAGEMENT_RECEIVE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW13_ZONE_MANAGEMENT_RECEIVE {} -impl ::core::clone::Clone for NVME_CDW13_ZONE_MANAGEMENT_RECEIVE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW13_ZONE_MANAGEMENT_RECEIVE_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW13_ZONE_MANAGEMENT_RECEIVE_0 {} -impl ::core::clone::Clone for NVME_CDW13_ZONE_MANAGEMENT_RECEIVE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW13_ZONE_MANAGEMENT_SEND { - pub Anonymous: NVME_CDW13_ZONE_MANAGEMENT_SEND_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW13_ZONE_MANAGEMENT_SEND {} -impl ::core::clone::Clone for NVME_CDW13_ZONE_MANAGEMENT_SEND { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW13_ZONE_MANAGEMENT_SEND_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW13_ZONE_MANAGEMENT_SEND_0 {} -impl ::core::clone::Clone for NVME_CDW13_ZONE_MANAGEMENT_SEND_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW14_FEATURES { - pub HostMemoryBuffer: NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW14_FEATURES {} -impl ::core::clone::Clone for NVME_CDW14_FEATURES { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER { - pub Anonymous: NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER {} -impl ::core::clone::Clone for NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER_0 { - pub HMDLUA: u32, -} -impl ::core::marker::Copy for NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER_0 {} -impl ::core::clone::Clone for NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW14_GET_LOG_PAGE { - pub Anonymous: NVME_CDW14_GET_LOG_PAGE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW14_GET_LOG_PAGE {} -impl ::core::clone::Clone for NVME_CDW14_GET_LOG_PAGE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW14_GET_LOG_PAGE_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW14_GET_LOG_PAGE_0 {} -impl ::core::clone::Clone for NVME_CDW14_GET_LOG_PAGE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW15_FEATURES { - pub HostMemoryBuffer: NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW15_FEATURES {} -impl ::core::clone::Clone for NVME_CDW15_FEATURES { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER { - pub Anonymous: NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER {} -impl ::core::clone::Clone for NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER_0 { - pub HMDLEC: u32, -} -impl ::core::marker::Copy for NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER_0 {} -impl ::core::clone::Clone for NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW15_READ_WRITE { - pub Anonymous: NVME_CDW15_READ_WRITE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW15_READ_WRITE {} -impl ::core::clone::Clone for NVME_CDW15_READ_WRITE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW15_READ_WRITE_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW15_READ_WRITE_0 {} -impl ::core::clone::Clone for NVME_CDW15_READ_WRITE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CDW15_ZONE_APPEND { - pub Anonymous: NVME_CDW15_ZONE_APPEND_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CDW15_ZONE_APPEND {} -impl ::core::clone::Clone for NVME_CDW15_ZONE_APPEND { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CDW15_ZONE_APPEND_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CDW15_ZONE_APPEND_0 {} -impl ::core::clone::Clone for NVME_CDW15_ZONE_APPEND_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CHANGED_NAMESPACE_LIST_LOG { - pub NSID: [u32; 1024], -} -impl ::core::marker::Copy for NVME_CHANGED_NAMESPACE_LIST_LOG {} -impl ::core::clone::Clone for NVME_CHANGED_NAMESPACE_LIST_LOG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CHANGED_ZONE_LIST_LOG { - pub ZoneIdentifiersCount: u16, - pub Reserved: [u8; 6], - pub ZoneIdentifier: [u64; 511], -} -impl ::core::marker::Copy for NVME_CHANGED_ZONE_LIST_LOG {} -impl ::core::clone::Clone for NVME_CHANGED_ZONE_LIST_LOG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND { - pub CDW0: NVME_COMMAND_DWORD0, - pub NSID: u32, - pub Reserved0: [u32; 2], - pub MPTR: u64, - pub PRP1: u64, - pub PRP2: u64, - pub u: NVME_COMMAND_0, -} -impl ::core::marker::Copy for NVME_COMMAND {} -impl ::core::clone::Clone for NVME_COMMAND { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_COMMAND_0 { - pub GENERAL: NVME_COMMAND_0_9, - pub IDENTIFY: NVME_COMMAND_0_12, - pub ABORT: NVME_COMMAND_0_0, - pub GETFEATURES: NVME_COMMAND_0_10, - pub SETFEATURES: NVME_COMMAND_0_21, - pub GETLOGPAGE: NVME_COMMAND_0_11, - pub CREATEIOCQ: NVME_COMMAND_0_1, - pub CREATEIOSQ: NVME_COMMAND_0_2, - pub DATASETMANAGEMENT: NVME_COMMAND_0_3, - pub SECURITYSEND: NVME_COMMAND_0_20, - pub SECURITYRECEIVE: NVME_COMMAND_0_19, - pub FIRMWAREDOWNLOAD: NVME_COMMAND_0_7, - pub FIRMWAREACTIVATE: NVME_COMMAND_0_6, - pub FORMATNVM: NVME_COMMAND_0_8, - pub DIRECTIVERECEIVE: NVME_COMMAND_0_4, - pub DIRECTIVESEND: NVME_COMMAND_0_5, - pub SANITIZE: NVME_COMMAND_0_18, - pub READWRITE: NVME_COMMAND_0_13, - pub RESERVATIONACQUIRE: NVME_COMMAND_0_14, - pub RESERVATIONREGISTER: NVME_COMMAND_0_15, - pub RESERVATIONRELEASE: NVME_COMMAND_0_16, - pub RESERVATIONREPORT: NVME_COMMAND_0_17, - pub ZONEMANAGEMENTSEND: NVME_COMMAND_0_24, - pub ZONEMANAGEMENTRECEIVE: NVME_COMMAND_0_23, - pub ZONEAPPEND: NVME_COMMAND_0_22, -} -impl ::core::marker::Copy for NVME_COMMAND_0 {} -impl ::core::clone::Clone for NVME_COMMAND_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_0 { - pub CDW10: NVME_CDW10_ABORT, - pub CDW11: u32, - pub CDW12: u32, - pub CDW13: u32, - pub CDW14: u32, - pub CDW15: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_0_0 {} -impl ::core::clone::Clone for NVME_COMMAND_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_1 { - pub CDW10: NVME_CDW10_CREATE_IO_QUEUE, - pub CDW11: NVME_CDW11_CREATE_IO_CQ, - pub CDW12: u32, - pub CDW13: u32, - pub CDW14: u32, - pub CDW15: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_0_1 {} -impl ::core::clone::Clone for NVME_COMMAND_0_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_2 { - pub CDW10: NVME_CDW10_CREATE_IO_QUEUE, - pub CDW11: NVME_CDW11_CREATE_IO_SQ, - pub CDW12: u32, - pub CDW13: u32, - pub CDW14: u32, - pub CDW15: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_0_2 {} -impl ::core::clone::Clone for NVME_COMMAND_0_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_3 { - pub CDW10: NVME_CDW10_DATASET_MANAGEMENT, - pub CDW11: NVME_CDW11_DATASET_MANAGEMENT, - pub CDW12: u32, - pub CDW13: u32, - pub CDW14: u32, - pub CDW15: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_0_3 {} -impl ::core::clone::Clone for NVME_COMMAND_0_3 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_4 { - pub CDW10: NVME_CDW10_DIRECTIVE_RECEIVE, - pub CDW11: NVME_CDW11_DIRECTIVE_RECEIVE, - pub CDW12: NVME_CDW12_DIRECTIVE_RECEIVE, - pub CDW13: u32, - pub CDW14: u32, - pub CDW15: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_0_4 {} -impl ::core::clone::Clone for NVME_COMMAND_0_4 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_5 { - pub CDW10: NVME_CDW10_DIRECTIVE_SEND, - pub CDW11: NVME_CDW11_DIRECTIVE_SEND, - pub CDW12: NVME_CDW12_DIRECTIVE_SEND, - pub CDW13: u32, - pub CDW14: u32, - pub CDW15: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_0_5 {} -impl ::core::clone::Clone for NVME_COMMAND_0_5 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_6 { - pub CDW10: NVME_CDW10_FIRMWARE_ACTIVATE, - pub CDW11: u32, - pub CDW12: u32, - pub CDW13: u32, - pub CDW14: u32, - pub CDW15: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_0_6 {} -impl ::core::clone::Clone for NVME_COMMAND_0_6 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_7 { - pub CDW10: NVME_CDW10_FIRMWARE_DOWNLOAD, - pub CDW11: NVME_CDW11_FIRMWARE_DOWNLOAD, - pub CDW12: u32, - pub CDW13: u32, - pub CDW14: u32, - pub CDW15: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_0_7 {} -impl ::core::clone::Clone for NVME_COMMAND_0_7 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_8 { - pub CDW10: NVME_CDW10_FORMAT_NVM, - pub CDW11: u32, - pub CDW12: u32, - pub CDW13: u32, - pub CDW14: u32, - pub CDW15: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_0_8 {} -impl ::core::clone::Clone for NVME_COMMAND_0_8 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_9 { - pub CDW10: u32, - pub CDW11: u32, - pub CDW12: u32, - pub CDW13: u32, - pub CDW14: u32, - pub CDW15: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_0_9 {} -impl ::core::clone::Clone for NVME_COMMAND_0_9 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_10 { - pub CDW10: NVME_CDW10_GET_FEATURES, - pub CDW11: NVME_CDW11_FEATURES, - pub CDW12: u32, - pub CDW13: u32, - pub CDW14: u32, - pub CDW15: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_0_10 {} -impl ::core::clone::Clone for NVME_COMMAND_0_10 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_11 { - pub Anonymous: NVME_COMMAND_0_11_0, - pub CDW11: NVME_CDW11_GET_LOG_PAGE, - pub CDW12: NVME_CDW12_GET_LOG_PAGE, - pub CDW13: NVME_CDW13_GET_LOG_PAGE, - pub CDW14: NVME_CDW14_GET_LOG_PAGE, - pub CDW15: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_0_11 {} -impl ::core::clone::Clone for NVME_COMMAND_0_11 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_COMMAND_0_11_0 { - pub CDW10: NVME_CDW10_GET_LOG_PAGE, - pub CDW10_V13: NVME_CDW10_GET_LOG_PAGE_V13, -} -impl ::core::marker::Copy for NVME_COMMAND_0_11_0 {} -impl ::core::clone::Clone for NVME_COMMAND_0_11_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_12 { - pub CDW10: NVME_CDW10_IDENTIFY, - pub CDW11: NVME_CDW11_IDENTIFY, - pub CDW12: u32, - pub CDW13: u32, - pub CDW14: u32, - pub CDW15: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_0_12 {} -impl ::core::clone::Clone for NVME_COMMAND_0_12 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_13 { - pub LBALOW: u32, - pub LBAHIGH: u32, - pub CDW12: NVME_CDW12_READ_WRITE, - pub CDW13: NVME_CDW13_READ_WRITE, - pub CDW14: u32, - pub CDW15: NVME_CDW15_READ_WRITE, -} -impl ::core::marker::Copy for NVME_COMMAND_0_13 {} -impl ::core::clone::Clone for NVME_COMMAND_0_13 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_14 { - pub CDW10: NVME_CDW10_RESERVATION_ACQUIRE, - pub CDW11: u32, - pub CDW12: u32, - pub CDW13: u32, - pub CDW14: u32, - pub CDW15: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_0_14 {} -impl ::core::clone::Clone for NVME_COMMAND_0_14 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_15 { - pub CDW10: NVME_CDW10_RESERVATION_REGISTER, - pub CDW11: u32, - pub CDW12: u32, - pub CDW13: u32, - pub CDW14: u32, - pub CDW15: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_0_15 {} -impl ::core::clone::Clone for NVME_COMMAND_0_15 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_16 { - pub CDW10: NVME_CDW10_RESERVATION_RELEASE, - pub CDW11: u32, - pub CDW12: u32, - pub CDW13: u32, - pub CDW14: u32, - pub CDW15: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_0_16 {} -impl ::core::clone::Clone for NVME_COMMAND_0_16 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_17 { - pub CDW10: NVME_CDW10_RESERVATION_REPORT, - pub CDW11: NVME_CDW11_RESERVATION_REPORT, - pub CDW12: u32, - pub CDW13: u32, - pub CDW14: u32, - pub CDW15: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_0_17 {} -impl ::core::clone::Clone for NVME_COMMAND_0_17 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_18 { - pub CDW10: NVME_CDW10_SANITIZE, - pub CDW11: NVME_CDW11_SANITIZE, - pub CDW12: u32, - pub CDW13: u32, - pub CDW14: u32, - pub CDW15: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_0_18 {} -impl ::core::clone::Clone for NVME_COMMAND_0_18 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_19 { - pub CDW10: NVME_CDW10_SECURITY_SEND_RECEIVE, - pub CDW11: NVME_CDW11_SECURITY_RECEIVE, - pub CDW12: u32, - pub CDW13: u32, - pub CDW14: u32, - pub CDW15: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_0_19 {} -impl ::core::clone::Clone for NVME_COMMAND_0_19 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_20 { - pub CDW10: NVME_CDW10_SECURITY_SEND_RECEIVE, - pub CDW11: NVME_CDW11_SECURITY_SEND, - pub CDW12: u32, - pub CDW13: u32, - pub CDW14: u32, - pub CDW15: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_0_20 {} -impl ::core::clone::Clone for NVME_COMMAND_0_20 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_21 { - pub CDW10: NVME_CDW10_SET_FEATURES, - pub CDW11: NVME_CDW11_FEATURES, - pub CDW12: NVME_CDW12_FEATURES, - pub CDW13: NVME_CDW13_FEATURES, - pub CDW14: NVME_CDW14_FEATURES, - pub CDW15: NVME_CDW15_FEATURES, -} -impl ::core::marker::Copy for NVME_COMMAND_0_21 {} -impl ::core::clone::Clone for NVME_COMMAND_0_21 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_22 { - pub CDW1011: NVME_CDW10_ZONE_APPEND, - pub CDW12: NVME_CDW12_ZONE_APPEND, - pub CDW13: u32, - pub ILBRT: u32, - pub CDW15: NVME_CDW15_ZONE_APPEND, -} -impl ::core::marker::Copy for NVME_COMMAND_0_22 {} -impl ::core::clone::Clone for NVME_COMMAND_0_22 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_23 { - pub CDW1011: NVME_CDW10_ZONE_MANAGEMENT_RECEIVE, - pub DWORDCOUNT: u32, - pub CDW13: NVME_CDW13_ZONE_MANAGEMENT_RECEIVE, - pub CDW14: u32, - pub CDW15: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_0_23 {} -impl ::core::clone::Clone for NVME_COMMAND_0_23 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_0_24 { - pub CDW1011: NVME_CDW10_ZONE_MANAGEMENT_SEND, - pub CDW12: u32, - pub CDW13: NVME_CDW13_ZONE_MANAGEMENT_SEND, - pub CDW14: u32, - pub CDW15: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_0_24 {} -impl ::core::clone::Clone for NVME_COMMAND_0_24 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_COMMAND_DWORD0 { - pub Anonymous: NVME_COMMAND_DWORD0_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_DWORD0 {} -impl ::core::clone::Clone for NVME_COMMAND_DWORD0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_DWORD0_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_DWORD0_0 {} -impl ::core::clone::Clone for NVME_COMMAND_DWORD0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_COMMAND_EFFECTS_DATA { - pub Anonymous: NVME_COMMAND_EFFECTS_DATA_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_EFFECTS_DATA {} -impl ::core::clone::Clone for NVME_COMMAND_EFFECTS_DATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_EFFECTS_DATA_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_COMMAND_EFFECTS_DATA_0 {} -impl ::core::clone::Clone for NVME_COMMAND_EFFECTS_DATA_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_EFFECTS_LOG { - pub ACS: [NVME_COMMAND_EFFECTS_DATA; 256], - pub IOCS: [NVME_COMMAND_EFFECTS_DATA; 256], - pub Reserved: [u8; 2048], -} -impl ::core::marker::Copy for NVME_COMMAND_EFFECTS_LOG {} -impl ::core::clone::Clone for NVME_COMMAND_EFFECTS_LOG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_COMMAND_STATUS { - pub Anonymous: NVME_COMMAND_STATUS_0, - pub AsUshort: u16, -} -impl ::core::marker::Copy for NVME_COMMAND_STATUS {} -impl ::core::clone::Clone for NVME_COMMAND_STATUS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMMAND_STATUS_0 { - pub _bitfield: u16, -} -impl ::core::marker::Copy for NVME_COMMAND_STATUS_0 {} -impl ::core::clone::Clone for NVME_COMMAND_STATUS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMPLETION_DW0_ASYNC_EVENT_REQUEST { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_COMPLETION_DW0_ASYNC_EVENT_REQUEST {} -impl ::core::clone::Clone for NVME_COMPLETION_DW0_ASYNC_EVENT_REQUEST { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES { - pub Anonymous: NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES {} -impl ::core::clone::Clone for NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 {} -impl ::core::clone::Clone for NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMPLETION_ENTRY { - pub DW0: u32, - pub DW1: u32, - pub DW2: NVME_COMPLETION_ENTRY_0, - pub DW3: NVME_COMPLETION_ENTRY_1, -} -impl ::core::marker::Copy for NVME_COMPLETION_ENTRY {} -impl ::core::clone::Clone for NVME_COMPLETION_ENTRY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_COMPLETION_ENTRY_0 { - pub Anonymous: NVME_COMPLETION_ENTRY_0_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_COMPLETION_ENTRY_0 {} -impl ::core::clone::Clone for NVME_COMPLETION_ENTRY_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMPLETION_ENTRY_0_0 { - pub SQHD: u16, - pub SQID: u16, -} -impl ::core::marker::Copy for NVME_COMPLETION_ENTRY_0_0 {} -impl ::core::clone::Clone for NVME_COMPLETION_ENTRY_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_COMPLETION_ENTRY_1 { - pub Anonymous: NVME_COMPLETION_ENTRY_1_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_COMPLETION_ENTRY_1 {} -impl ::core::clone::Clone for NVME_COMPLETION_ENTRY_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMPLETION_ENTRY_1_0 { - pub CID: u16, - pub Status: NVME_COMMAND_STATUS, -} -impl ::core::marker::Copy for NVME_COMPLETION_ENTRY_1_0 {} -impl ::core::clone::Clone for NVME_COMPLETION_ENTRY_1_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_COMPLETION_QUEUE_HEAD_DOORBELL { - pub Anonymous: NVME_COMPLETION_QUEUE_HEAD_DOORBELL_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_COMPLETION_QUEUE_HEAD_DOORBELL {} -impl ::core::clone::Clone for NVME_COMPLETION_QUEUE_HEAD_DOORBELL { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_COMPLETION_QUEUE_HEAD_DOORBELL_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_COMPLETION_QUEUE_HEAD_DOORBELL_0 {} -impl ::core::clone::Clone for NVME_COMPLETION_QUEUE_HEAD_DOORBELL_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CONTEXT_ATTRIBUTES { - pub Anonymous: NVME_CONTEXT_ATTRIBUTES_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CONTEXT_ATTRIBUTES {} -impl ::core::clone::Clone for NVME_CONTEXT_ATTRIBUTES { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CONTEXT_ATTRIBUTES_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CONTEXT_ATTRIBUTES_0 {} -impl ::core::clone::Clone for NVME_CONTEXT_ATTRIBUTES_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CONTROLLER_CAPABILITIES { - pub Anonymous: NVME_CONTROLLER_CAPABILITIES_0, - pub AsUlonglong: u64, -} -impl ::core::marker::Copy for NVME_CONTROLLER_CAPABILITIES {} -impl ::core::clone::Clone for NVME_CONTROLLER_CAPABILITIES { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CONTROLLER_CAPABILITIES_0 { - pub _bitfield: u64, -} -impl ::core::marker::Copy for NVME_CONTROLLER_CAPABILITIES_0 {} -impl ::core::clone::Clone for NVME_CONTROLLER_CAPABILITIES_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CONTROLLER_CONFIGURATION { - pub Anonymous: NVME_CONTROLLER_CONFIGURATION_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CONTROLLER_CONFIGURATION {} -impl ::core::clone::Clone for NVME_CONTROLLER_CONFIGURATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CONTROLLER_CONFIGURATION_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CONTROLLER_CONFIGURATION_0 {} -impl ::core::clone::Clone for NVME_CONTROLLER_CONFIGURATION_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CONTROLLER_LIST { - pub NumberOfIdentifiers: u16, - pub ControllerID: [u16; 2047], -} -impl ::core::marker::Copy for NVME_CONTROLLER_LIST {} -impl ::core::clone::Clone for NVME_CONTROLLER_LIST { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CONTROLLER_MEMORY_BUFFER_LOCATION { - pub Anonymous: NVME_CONTROLLER_MEMORY_BUFFER_LOCATION_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CONTROLLER_MEMORY_BUFFER_LOCATION {} -impl ::core::clone::Clone for NVME_CONTROLLER_MEMORY_BUFFER_LOCATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CONTROLLER_MEMORY_BUFFER_LOCATION_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CONTROLLER_MEMORY_BUFFER_LOCATION_0 {} -impl ::core::clone::Clone for NVME_CONTROLLER_MEMORY_BUFFER_LOCATION_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CONTROLLER_MEMORY_BUFFER_SIZE { - pub Anonymous: NVME_CONTROLLER_MEMORY_BUFFER_SIZE_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CONTROLLER_MEMORY_BUFFER_SIZE {} -impl ::core::clone::Clone for NVME_CONTROLLER_MEMORY_BUFFER_SIZE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CONTROLLER_MEMORY_BUFFER_SIZE_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CONTROLLER_MEMORY_BUFFER_SIZE_0 {} -impl ::core::clone::Clone for NVME_CONTROLLER_MEMORY_BUFFER_SIZE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CONTROLLER_REGISTERS { - pub CAP: NVME_CONTROLLER_CAPABILITIES, - pub VS: NVME_VERSION, - pub INTMS: u32, - pub INTMC: u32, - pub CC: NVME_CONTROLLER_CONFIGURATION, - pub Reserved0: u32, - pub CSTS: NVME_CONTROLLER_STATUS, - pub NSSR: NVME_NVM_SUBSYSTEM_RESET, - pub AQA: NVME_ADMIN_QUEUE_ATTRIBUTES, - pub ASQ: NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS, - pub ACQ: NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS, - pub CMBLOC: NVME_CONTROLLER_MEMORY_BUFFER_LOCATION, - pub CMBSZ: NVME_CONTROLLER_MEMORY_BUFFER_SIZE, - pub Reserved2: [u32; 944], - pub Reserved3: [u32; 64], - pub Doorbells: [u32; 1], -} -impl ::core::marker::Copy for NVME_CONTROLLER_REGISTERS {} -impl ::core::clone::Clone for NVME_CONTROLLER_REGISTERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_CONTROLLER_STATUS { - pub Anonymous: NVME_CONTROLLER_STATUS_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_CONTROLLER_STATUS {} -impl ::core::clone::Clone for NVME_CONTROLLER_STATUS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_CONTROLLER_STATUS_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_CONTROLLER_STATUS_0 {} -impl ::core::clone::Clone for NVME_CONTROLLER_STATUS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_DEVICE_SELF_TEST_LOG { - pub CurrentOperation: NVME_DEVICE_SELF_TEST_LOG_1, - pub CurrentCompletion: NVME_DEVICE_SELF_TEST_LOG_0, - pub Reserved: [u8; 2], - pub ResultData: [NVME_DEVICE_SELF_TEST_RESULT_DATA; 20], -} -impl ::core::marker::Copy for NVME_DEVICE_SELF_TEST_LOG {} -impl ::core::clone::Clone for NVME_DEVICE_SELF_TEST_LOG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_DEVICE_SELF_TEST_LOG_0 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_DEVICE_SELF_TEST_LOG_0 {} -impl ::core::clone::Clone for NVME_DEVICE_SELF_TEST_LOG_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_DEVICE_SELF_TEST_LOG_1 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_DEVICE_SELF_TEST_LOG_1 {} -impl ::core::clone::Clone for NVME_DEVICE_SELF_TEST_LOG_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_DEVICE_SELF_TEST_RESULT_DATA { - pub Status: NVME_DEVICE_SELF_TEST_RESULT_DATA_1, - pub SegmentNumber: u8, - pub ValidDiagnostics: NVME_DEVICE_SELF_TEST_RESULT_DATA_2, - pub Reserved: u8, - pub POH: u64, - pub NSID: u32, - pub FailingLBA: u64, - pub StatusCodeType: NVME_DEVICE_SELF_TEST_RESULT_DATA_0, - pub StatusCode: u8, - pub VendorSpecific: u16, -} -impl ::core::marker::Copy for NVME_DEVICE_SELF_TEST_RESULT_DATA {} -impl ::core::clone::Clone for NVME_DEVICE_SELF_TEST_RESULT_DATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_DEVICE_SELF_TEST_RESULT_DATA_0 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_DEVICE_SELF_TEST_RESULT_DATA_0 {} -impl ::core::clone::Clone for NVME_DEVICE_SELF_TEST_RESULT_DATA_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_DEVICE_SELF_TEST_RESULT_DATA_1 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_DEVICE_SELF_TEST_RESULT_DATA_1 {} -impl ::core::clone::Clone for NVME_DEVICE_SELF_TEST_RESULT_DATA_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_DEVICE_SELF_TEST_RESULT_DATA_2 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_DEVICE_SELF_TEST_RESULT_DATA_2 {} -impl ::core::clone::Clone for NVME_DEVICE_SELF_TEST_RESULT_DATA_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS { - pub DirectivesSupported: NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS_DESCRIPTOR, - pub DirectivesEnabled: NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS_DESCRIPTOR, -} -impl ::core::marker::Copy for NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS {} -impl ::core::clone::Clone for NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS_DESCRIPTOR { - pub _bitfield: u8, - pub Reserved1: [u8; 31], -} -impl ::core::marker::Copy for NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS_DESCRIPTOR {} -impl ::core::clone::Clone for NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS_DESCRIPTOR { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_DIRECTIVE_STREAMS_GET_STATUS_DATA { - pub OpenStreamCount: u16, - pub StreamIdentifiers: [u16; 65535], -} -impl ::core::marker::Copy for NVME_DIRECTIVE_STREAMS_GET_STATUS_DATA {} -impl ::core::clone::Clone for NVME_DIRECTIVE_STREAMS_GET_STATUS_DATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_DIRECTIVE_STREAMS_RETURN_PARAMETERS { - pub MSL: u16, - pub NSSA: u16, - pub NSSO: u16, - pub Reserved0: [u8; 10], - pub SWS: u32, - pub SGS: u16, - pub NSA: u16, - pub NSO: u16, - pub Reserved1: [u8; 6], -} -impl ::core::marker::Copy for NVME_DIRECTIVE_STREAMS_RETURN_PARAMETERS {} -impl ::core::clone::Clone for NVME_DIRECTIVE_STREAMS_RETURN_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_ENDURANCE_GROUP_LOG { - pub Reserved0: u32, - pub AvailableSpareThreshold: u8, - pub PercentageUsed: u8, - pub Reserved1: [u8; 26], - pub EnduranceEstimate: [u8; 16], - pub DataUnitsRead: [u8; 16], - pub DataUnitsWritten: [u8; 16], - pub MediaUnitsWritten: [u8; 16], - pub Reserved2: [u8; 416], -} -impl ::core::marker::Copy for NVME_ENDURANCE_GROUP_LOG {} -impl ::core::clone::Clone for NVME_ENDURANCE_GROUP_LOG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_ERROR_INFO_LOG { - pub ErrorCount: u64, - pub SQID: u16, - pub CMDID: u16, - pub Status: NVME_COMMAND_STATUS, - pub ParameterErrorLocation: NVME_ERROR_INFO_LOG_0, - pub Lba: u64, - pub NameSpace: u32, - pub VendorInfoAvailable: u8, - pub Reserved0: [u8; 3], - pub CommandSpecificInfo: u64, - pub Reserved1: [u8; 24], -} -impl ::core::marker::Copy for NVME_ERROR_INFO_LOG {} -impl ::core::clone::Clone for NVME_ERROR_INFO_LOG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_ERROR_INFO_LOG_0 { - pub _bitfield: u16, -} -impl ::core::marker::Copy for NVME_ERROR_INFO_LOG_0 {} -impl ::core::clone::Clone for NVME_ERROR_INFO_LOG_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_ERROR_INJECTION_ENTRY { - pub Flags: NVME_ERROR_INJECTION_ENTRY_0, - pub Reserved1: u8, - pub ErrorInjectionType: u16, - pub ErrorInjectionTypeSpecific: [u8; 28], -} -impl ::core::marker::Copy for NVME_ERROR_INJECTION_ENTRY {} -impl ::core::clone::Clone for NVME_ERROR_INJECTION_ENTRY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_ERROR_INJECTION_ENTRY_0 { - pub Anonymous: NVME_ERROR_INJECTION_ENTRY_0_0, - pub AsUchar: u8, -} -impl ::core::marker::Copy for NVME_ERROR_INJECTION_ENTRY_0 {} -impl ::core::clone::Clone for NVME_ERROR_INJECTION_ENTRY_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_ERROR_INJECTION_ENTRY_0_0 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_ERROR_INJECTION_ENTRY_0_0 {} -impl ::core::clone::Clone for NVME_ERROR_INJECTION_ENTRY_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_EXTENDED_REPORT_ZONE_INFO { - pub ZoneCount: u64, - pub Reserved: [u64; 7], - pub Desc: [NVME_ZONE_EXTENDED_REPORT_ZONE_DESC; 1], -} -impl ::core::marker::Copy for NVME_EXTENDED_REPORT_ZONE_INFO {} -impl ::core::clone::Clone for NVME_EXTENDED_REPORT_ZONE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_FEATURE_HOST_IDENTIFIER_DATA { - pub HOSTID: [u8; 16], -} -impl ::core::marker::Copy for NVME_FEATURE_HOST_IDENTIFIER_DATA {} -impl ::core::clone::Clone for NVME_FEATURE_HOST_IDENTIFIER_DATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_FEATURE_HOST_METADATA_DATA { - pub NumberOfMetadataElementDescriptors: u8, - pub Reserved0: u8, - pub MetadataElementDescriptors: [u8; 4094], -} -impl ::core::marker::Copy for NVME_FEATURE_HOST_METADATA_DATA {} -impl ::core::clone::Clone for NVME_FEATURE_HOST_METADATA_DATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_FIRMWARE_SLOT_INFO_LOG { - pub AFI: NVME_FIRMWARE_SLOT_INFO_LOG_0, - pub Reserved0: [u8; 7], - pub FRS: [u64; 7], - pub Reserved1: [u8; 448], -} -impl ::core::marker::Copy for NVME_FIRMWARE_SLOT_INFO_LOG {} -impl ::core::clone::Clone for NVME_FIRMWARE_SLOT_INFO_LOG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_FIRMWARE_SLOT_INFO_LOG_0 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_FIRMWARE_SLOT_INFO_LOG_0 {} -impl ::core::clone::Clone for NVME_FIRMWARE_SLOT_INFO_LOG_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_HEALTH_INFO_LOG { - pub CriticalWarning: NVME_HEALTH_INFO_LOG_0, - pub Temperature: [u8; 2], - pub AvailableSpare: u8, - pub AvailableSpareThreshold: u8, - pub PercentageUsed: u8, - pub Reserved0: [u8; 26], - pub DataUnitRead: [u8; 16], - pub DataUnitWritten: [u8; 16], - pub HostReadCommands: [u8; 16], - pub HostWrittenCommands: [u8; 16], - pub ControllerBusyTime: [u8; 16], - pub PowerCycle: [u8; 16], - pub PowerOnHours: [u8; 16], - pub UnsafeShutdowns: [u8; 16], - pub MediaErrors: [u8; 16], - pub ErrorInfoLogEntryCount: [u8; 16], - pub WarningCompositeTemperatureTime: u32, - pub CriticalCompositeTemperatureTime: u32, - pub TemperatureSensor1: u16, - pub TemperatureSensor2: u16, - pub TemperatureSensor3: u16, - pub TemperatureSensor4: u16, - pub TemperatureSensor5: u16, - pub TemperatureSensor6: u16, - pub TemperatureSensor7: u16, - pub TemperatureSensor8: u16, - pub Reserved1: [u8; 296], -} -impl ::core::marker::Copy for NVME_HEALTH_INFO_LOG {} -impl ::core::clone::Clone for NVME_HEALTH_INFO_LOG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_HEALTH_INFO_LOG_0 { - pub Anonymous: NVME_HEALTH_INFO_LOG_0_0, - pub AsUchar: u8, -} -impl ::core::marker::Copy for NVME_HEALTH_INFO_LOG_0 {} -impl ::core::clone::Clone for NVME_HEALTH_INFO_LOG_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_HEALTH_INFO_LOG_0_0 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_HEALTH_INFO_LOG_0_0 {} -impl ::core::clone::Clone for NVME_HEALTH_INFO_LOG_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_HOST_MEMORY_BUFFER_DESCRIPTOR_ENTRY { - pub BADD: u64, - pub BSIZE: u32, - pub Reserved: u32, -} -impl ::core::marker::Copy for NVME_HOST_MEMORY_BUFFER_DESCRIPTOR_ENTRY {} -impl ::core::clone::Clone for NVME_HOST_MEMORY_BUFFER_DESCRIPTOR_ENTRY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_HOST_METADATA_ELEMENT_DESCRIPTOR { - pub _bitfield: u32, - pub EVAL: [u8; 1], -} -impl ::core::marker::Copy for NVME_HOST_METADATA_ELEMENT_DESCRIPTOR {} -impl ::core::clone::Clone for NVME_HOST_METADATA_ELEMENT_DESCRIPTOR { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA { - pub VID: u16, - pub SSVID: u16, - pub SN: [u8; 20], - pub MN: [u8; 40], - pub FR: [u8; 8], - pub RAB: u8, - pub IEEE: [u8; 3], - pub CMIC: NVME_IDENTIFY_CONTROLLER_DATA_3, - pub MDTS: u8, - pub CNTLID: u16, - pub VER: u32, - pub RTD3R: u32, - pub RTD3E: u32, - pub OAES: NVME_IDENTIFY_CONTROLLER_DATA_14, - pub CTRATT: NVME_IDENTIFY_CONTROLLER_DATA_5, - pub RRLS: NVME_IDENTIFY_CONTROLLER_DATA_17, - pub Reserved0: [u8; 9], - pub CNTRLTYPE: u8, - pub FGUID: [u8; 16], - pub CRDT1: u16, - pub CRDT2: u16, - pub CRDT3: u16, - pub Reserved0_1: [u8; 106], - pub ReservedForManagement: [u8; 16], - pub OACS: NVME_IDENTIFY_CONTROLLER_DATA_13, - pub ACL: u8, - pub AERL: u8, - pub FRMW: NVME_IDENTIFY_CONTROLLER_DATA_7, - pub LPA: NVME_IDENTIFY_CONTROLLER_DATA_10, - pub ELPE: u8, - pub NPSS: u8, - pub AVSCC: NVME_IDENTIFY_CONTROLLER_DATA_2, - pub APSTA: NVME_IDENTIFY_CONTROLLER_DATA_1, - pub WCTEMP: u16, - pub CCTEMP: u16, - pub MTFA: u16, - pub HMPRE: u32, - pub HMMIN: u32, - pub TNVMCAP: [u8; 16], - pub UNVMCAP: [u8; 16], - pub RPMBS: NVME_IDENTIFY_CONTROLLER_DATA_16, - pub EDSTT: u16, - pub DSTO: u8, - pub FWUG: u8, - pub KAS: u16, - pub HCTMA: NVME_IDENTIFY_CONTROLLER_DATA_9, - pub MNTMT: u16, - pub MXTMT: u16, - pub SANICAP: NVME_IDENTIFY_CONTROLLER_DATA_18, - pub HMMINDS: u32, - pub HMMAXD: u16, - pub NSETIDMAX: u16, - pub ENDGIDMAX: u16, - pub ANATT: u8, - pub ANACAP: NVME_IDENTIFY_CONTROLLER_DATA_0, - pub ANAGRPMAX: u32, - pub NANAGRPID: u32, - pub PELS: u32, - pub Reserved1: [u8; 156], - pub SQES: NVME_IDENTIFY_CONTROLLER_DATA_20, - pub CQES: NVME_IDENTIFY_CONTROLLER_DATA_4, - pub MAXCMD: u16, - pub NN: u32, - pub ONCS: NVME_IDENTIFY_CONTROLLER_DATA_15, - pub FUSES: NVME_IDENTIFY_CONTROLLER_DATA_8, - pub FNA: NVME_IDENTIFY_CONTROLLER_DATA_6, - pub VWC: NVME_IDENTIFY_CONTROLLER_DATA_21, - pub AWUN: u16, - pub AWUPF: u16, - pub NVSCC: NVME_IDENTIFY_CONTROLLER_DATA_11, - pub NWPC: NVME_IDENTIFY_CONTROLLER_DATA_12, - pub ACWU: u16, - pub Reserved4: [u8; 2], - pub SGLS: NVME_IDENTIFY_CONTROLLER_DATA_19, - pub MNAN: u32, - pub Reserved6: [u8; 224], - pub SUBNQN: [u8; 256], - pub Reserved7: [u8; 768], - pub Reserved8: [u8; 256], - pub PDS: [NVME_POWER_STATE_DESC; 32], - pub VS: [u8; 1024], -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA_0 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_0 {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA_1 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_1 {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA_2 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_2 {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA_3 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_3 {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_3 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA_4 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_4 {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_4 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA_5 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_5 {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_5 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA_6 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_6 {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_6 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA_7 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_7 {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_7 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA_8 { - pub _bitfield: u16, -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_8 {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_8 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA_9 { - pub _bitfield: u16, -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_9 {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_9 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA_10 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_10 {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_10 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA_11 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_11 {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_11 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA_12 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_12 {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_12 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA_13 { - pub _bitfield: u16, -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_13 {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_13 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA_14 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_14 {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_14 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA_15 { - pub _bitfield: u16, -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_15 {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_15 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA_16 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_16 {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_16 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA_17 { - pub _bitfield: u16, -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_17 {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_17 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA_18 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_18 {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_18 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA_19 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_19 {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_19 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA_20 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_20 {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_20 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_CONTROLLER_DATA_21 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_21 {} -impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_21 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_IO_COMMAND_SET { - pub IOCommandSetVector: [u64; 512], -} -impl ::core::marker::Copy for NVME_IDENTIFY_IO_COMMAND_SET {} -impl ::core::clone::Clone for NVME_IDENTIFY_IO_COMMAND_SET { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_NAMESPACE_DATA { - pub NSZE: u64, - pub NCAP: u64, - pub NUSE: u64, - pub NSFEAT: NVME_IDENTIFY_NAMESPACE_DATA_8, - pub NLBAF: u8, - pub FLBAS: NVME_IDENTIFY_NAMESPACE_DATA_3, - pub MC: NVME_IDENTIFY_NAMESPACE_DATA_5, - pub DPC: NVME_IDENTIFY_NAMESPACE_DATA_1, - pub DPS: NVME_IDENTIFY_NAMESPACE_DATA_2, - pub NMIC: NVME_IDENTIFY_NAMESPACE_DATA_6, - pub RESCAP: NVM_RESERVATION_CAPABILITIES, - pub FPI: NVME_IDENTIFY_NAMESPACE_DATA_4, - pub DLFEAT: NVME_IDENTIFY_NAMESPACE_DATA_0, - pub NAWUN: u16, - pub NAWUPF: u16, - pub NACWU: u16, - pub NABSN: u16, - pub NABO: u16, - pub NABSPF: u16, - pub NOIOB: u16, - pub NVMCAP: [u8; 16], - pub NPWG: u16, - pub NPWA: u16, - pub NPDG: u16, - pub NPDA: u16, - pub NOWS: u16, - pub MSSRL: u16, - pub MCL: u32, - pub MSRC: u8, - pub Reserved2: [u8; 11], - pub ANAGRPID: u32, - pub Reserved3: [u8; 3], - pub NSATTR: NVME_IDENTIFY_NAMESPACE_DATA_7, - pub NVMSETID: u16, - pub ENDGID: u16, - pub NGUID: [u8; 16], - pub EUI64: [u8; 8], - pub LBAF: [NVME_LBA_FORMAT; 16], - pub Reserved4: [u8; 192], - pub VS: [u8; 3712], -} -impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA {} -impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_NAMESPACE_DATA_0 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_0 {} -impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_NAMESPACE_DATA_1 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_1 {} -impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_NAMESPACE_DATA_2 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_2 {} -impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_NAMESPACE_DATA_3 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_3 {} -impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_3 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_NAMESPACE_DATA_4 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_4 {} -impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_4 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_NAMESPACE_DATA_5 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_5 {} -impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_5 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_NAMESPACE_DATA_6 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_6 {} -impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_6 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_NAMESPACE_DATA_7 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_7 {} -impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_7 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_NAMESPACE_DATA_8 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_8 {} -impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_8 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_NAMESPACE_DESCRIPTOR { - pub NIDT: u8, - pub NIDL: u8, - pub Reserved: [u8; 2], - pub NID: [u8; 1], -} -impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DESCRIPTOR {} -impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DESCRIPTOR { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_NVM_SPECIFIC_CONTROLLER_IO_COMMAND_SET { - pub VSL: u8, - pub WZSL: u8, - pub WUSL: u8, - pub DMRL: u8, - pub DMRSL: u32, - pub DMSL: u64, - pub Reserved: [u8; 4080], -} -impl ::core::marker::Copy for NVME_IDENTIFY_NVM_SPECIFIC_CONTROLLER_IO_COMMAND_SET {} -impl ::core::clone::Clone for NVME_IDENTIFY_NVM_SPECIFIC_CONTROLLER_IO_COMMAND_SET { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET { - pub ZOC: NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_1, - pub OZCS: NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_0, - pub MAR: u32, - pub MOR: u32, - pub RRL: u32, - pub FRL: u32, - pub Reserved0: [u8; 2796], - pub LBAEF: [NVME_LBA_ZONE_FORMAT; 16], - pub Reserved1: [u8; 768], - pub VS: [u8; 256], -} -impl ::core::marker::Copy for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET {} -impl ::core::clone::Clone for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_0 { - pub _bitfield: u16, -} -impl ::core::marker::Copy for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_0 {} -impl ::core::clone::Clone for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_1 { - pub _bitfield: u16, -} -impl ::core::marker::Copy for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_1 {} -impl ::core::clone::Clone for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_IDENTIFY_ZNS_SPECIFIC_CONTROLLER_IO_COMMAND_SET { - pub ZASL: u8, - pub Reserved: [u8; 4095], -} -impl ::core::marker::Copy for NVME_IDENTIFY_ZNS_SPECIFIC_CONTROLLER_IO_COMMAND_SET {} -impl ::core::clone::Clone for NVME_IDENTIFY_ZNS_SPECIFIC_CONTROLLER_IO_COMMAND_SET { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_LBA_FORMAT { - pub Anonymous: NVME_LBA_FORMAT_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_LBA_FORMAT {} -impl ::core::clone::Clone for NVME_LBA_FORMAT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_LBA_FORMAT_0 { - pub MS: u16, - pub LBADS: u8, - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_LBA_FORMAT_0 {} -impl ::core::clone::Clone for NVME_LBA_FORMAT_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_LBA_RANGE { - pub Attributes: NVME_CONTEXT_ATTRIBUTES, - pub LogicalBlockCount: u32, - pub StartingLBA: u64, -} -impl ::core::marker::Copy for NVME_LBA_RANGE {} -impl ::core::clone::Clone for NVME_LBA_RANGE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_LBA_RANGET_TYPE_ENTRY { - pub Type: u8, - pub Attributes: NVME_LBA_RANGET_TYPE_ENTRY_0, - pub Reserved0: [u8; 14], - pub SLBA: u64, - pub NLB: u64, - pub GUID: [u8; 16], - pub Reserved1: [u8; 16], -} -impl ::core::marker::Copy for NVME_LBA_RANGET_TYPE_ENTRY {} -impl ::core::clone::Clone for NVME_LBA_RANGET_TYPE_ENTRY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_LBA_RANGET_TYPE_ENTRY_0 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_LBA_RANGET_TYPE_ENTRY_0 {} -impl ::core::clone::Clone for NVME_LBA_RANGET_TYPE_ENTRY_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_LBA_ZONE_FORMAT { - pub ZoneSize: u64, - pub ZDES: u8, - pub Reserved: [u8; 7], -} -impl ::core::marker::Copy for NVME_LBA_ZONE_FORMAT {} -impl ::core::clone::Clone for NVME_LBA_ZONE_FORMAT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_NVM_SUBSYSTEM_RESET { - pub NSSRC: u32, -} -impl ::core::marker::Copy for NVME_NVM_SUBSYSTEM_RESET {} -impl ::core::clone::Clone for NVME_NVM_SUBSYSTEM_RESET { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_OCP_DEVICE_CAPABILITIES_LOG { - pub PciePorts: u16, - pub OobMgmtSupport: NVME_OCP_DEVICE_CAPABILITIES_LOG_2, - pub WriteZeroesCommand: NVME_OCP_DEVICE_CAPABILITIES_LOG_5, - pub SanitizeCommand: NVME_OCP_DEVICE_CAPABILITIES_LOG_3, - pub DatasetMgmtCommand: NVME_OCP_DEVICE_CAPABILITIES_LOG_0, - pub WriteUncorrectableCommand: NVME_OCP_DEVICE_CAPABILITIES_LOG_4, - pub FusedCommand: NVME_OCP_DEVICE_CAPABILITIES_LOG_1, - pub MinimumValidDSSDPowerState: u16, - pub Reserved0: u8, - pub DssdDescriptors: [DSSD_POWER_STATE_DESCRIPTOR; 127], - pub Reserved1: [u8; 3934], - pub LogPageVersionNumber: u16, - pub LogPageGUID: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub union NVME_OCP_DEVICE_CAPABILITIES_LOG_0 { - pub Anonymous: NVME_OCP_DEVICE_CAPABILITIES_LOG_0_0, - pub AsUshort: u16, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_0 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_OCP_DEVICE_CAPABILITIES_LOG_0_0 { - pub _bitfield: u16, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_0_0 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub union NVME_OCP_DEVICE_CAPABILITIES_LOG_1 { - pub Anonymous: NVME_OCP_DEVICE_CAPABILITIES_LOG_1_0, - pub AsUshort: u16, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_1 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_OCP_DEVICE_CAPABILITIES_LOG_1_0 { - pub _bitfield: u16, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_1_0 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_1_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub union NVME_OCP_DEVICE_CAPABILITIES_LOG_2 { - pub Anonymous: NVME_OCP_DEVICE_CAPABILITIES_LOG_2_0, - pub AsUshort: u16, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_2 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_OCP_DEVICE_CAPABILITIES_LOG_2_0 { - pub _bitfield: u16, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_2_0 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_2_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub union NVME_OCP_DEVICE_CAPABILITIES_LOG_3 { - pub Anonymous: NVME_OCP_DEVICE_CAPABILITIES_LOG_3_0, - pub AsUshort: u16, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_3 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_3 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_OCP_DEVICE_CAPABILITIES_LOG_3_0 { - pub _bitfield: u16, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_3_0 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_3_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub union NVME_OCP_DEVICE_CAPABILITIES_LOG_4 { - pub Anonymous: NVME_OCP_DEVICE_CAPABILITIES_LOG_4_0, - pub AsUshort: u16, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_4 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_4 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_OCP_DEVICE_CAPABILITIES_LOG_4_0 { - pub _bitfield: u16, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_4_0 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_4_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub union NVME_OCP_DEVICE_CAPABILITIES_LOG_5 { - pub Anonymous: NVME_OCP_DEVICE_CAPABILITIES_LOG_5_0, - pub AsUshort: u16, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_5 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_5 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_OCP_DEVICE_CAPABILITIES_LOG_5_0 { - pub _bitfield: u16, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_5_0 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_5_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_OCP_DEVICE_ERROR_RECOVERY_LOG_V2 { - pub PanicResetWaitTime: u16, - pub PanicResetAction: NVME_WCS_DEVICE_RESET_ACTION, - pub DeviceRecoveryAction1: u8, - pub PanicId: u64, - pub DeviceCapabilitiesA: NVME_WCS_DEVICE_CAPABILITIES, - pub VendorSpecificRecoveryCode: u8, - pub Reserved0: [u8; 3], - pub VendorSpecificCommandCDW12: u32, - pub VendorSpecificCommandCDW13: u32, - pub VendorSpecificCommandTimeout: u8, - pub DeviceRecoveryAction2: u8, - pub DeviceRecoveryAction2Timeout: u8, - pub Reserved1: [u8; 463], - pub LogPageVersionNumber: u16, - pub LogPageGUID: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_ERROR_RECOVERY_LOG_V2 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_ERROR_RECOVERY_LOG_V2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_OCP_DEVICE_FIRMWARE_ACTIVATION_HISTORY_LOG { - pub LID: u8, - pub Reserved0: [u8; 3], - pub ValidNumberOfEntries: u32, - pub Entries: [FIRMWARE_ACTIVATION_HISTORY_ENTRY; 20], - pub Reserved1: [u8; 2790], - pub LogPageVersionNumber: u16, - pub LogPageGUID: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_FIRMWARE_ACTIVATION_HISTORY_LOG {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_FIRMWARE_ACTIVATION_HISTORY_LOG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_OCP_DEVICE_LATENCY_MONITOR_LOG { - pub FeatureStatus: LATENCY_MONITOR_FEATURE_STATUS, - pub Reserved0: u8, - pub ActiveBucketTimer: u16, - pub ActiveBucketTimerThreshold: u16, - pub ActiveThresholdA: u8, - pub ActiveThresholdB: u8, - pub ActiveThresholdC: u8, - pub ActiveThresholdD: u8, - pub ActiveLatencyConfig: ACTIVE_LATENCY_CONFIGURATION, - pub ActiveLatencyMinimumWindow: u8, - pub Reserved1: [u8; 19], - pub ActiveBucketCounter0: BUCKET_COUNTER, - pub ActiveBucketCounter1: BUCKET_COUNTER, - pub ActiveBucketCounter2: BUCKET_COUNTER, - pub ActiveBucketCounter3: BUCKET_COUNTER, - pub ActiveLatencyStamp: LATENCY_STAMP, - pub ActiveMeasuredLatency: MEASURED_LATENCY, - pub ActiveLatencyStampUnits: LATENCY_STAMP_UNITS, - pub Reserved2: [u8; 22], - pub StaticBucketCounter0: BUCKET_COUNTER, - pub StaticBucketCounter1: BUCKET_COUNTER, - pub StaticBucketCounter2: BUCKET_COUNTER, - pub StaticBucketCounter3: BUCKET_COUNTER, - pub StaticLatencyStamp: LATENCY_STAMP, - pub StaticMeasuredLatency: MEASURED_LATENCY, - pub StaticLatencyStampUnits: LATENCY_STAMP_UNITS, - pub Reserved3: [u8; 22], - pub DebugLogTriggerEnable: DEBUG_BIT_FIELD, - pub DebugLogMeasuredLatency: u16, - pub DebugLogLatencyStamp: u64, - pub DebugLogPointer: u16, - pub DebugCounterTriggerSource: DEBUG_BIT_FIELD, - pub DebugLogStampUnits: NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0, - pub Reserved4: [u8; 29], - pub LogPageVersionNumber: u16, - pub LogPageGUID: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0 { - pub Anonymous: NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0_0, - pub AsUchar: u8, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0_0 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0_0 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3 { - pub MediaUnitsWritten: [u8; 16], - pub MediaUnitsRead: [u8; 16], - pub BadUserNANDBlockCount: NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_1, - pub BadSystemNANDBlockCount: NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_0, - pub XORRecoveryCount: u64, - pub UnrecoverableReadErrorCount: u64, - pub SoftECCErrorCount: u64, - pub EndToEndCorrectionCounts: NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_2, - pub PercentageSystemDataUsed: u8, - pub RefreshCount: [u8; 7], - pub UserDataEraseCounts: NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_4, - pub ThermalThrottling: NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_3, - pub DSSDSpecVersion: [u8; 6], - pub PCIeCorrectableErrorCount: u64, - pub IncompleteShutdownCount: u32, - pub Reserved1: u32, - pub PercentageFreeBlocks: u8, - pub Reserved2: [u8; 7], - pub CapacitorHealth: u16, - pub NvmeErrata: u8, - pub Reserved3: [u8; 5], - pub UnalignedIOCount: u64, - pub SecurityVersionNumber: u64, - pub NUSE: u64, - pub PLPStartCount: [u8; 16], - pub EnduranceEstimate: [u8; 16], - pub PCIeLinkRetrainingCount: u64, - pub PowerStateChangeCount: u64, - pub Reserved4: [u8; 286], - pub LogPageVersionNumber: u16, - pub LogPageGUID: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_0 { - pub RawCount: [u8; 6], - pub Normalized: [u8; 2], -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_0 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_1 { - pub RawCount: [u8; 6], - pub Normalized: [u8; 2], -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_1 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_2 { - pub DetectedCounts: u32, - pub CorrectedCounts: u32, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_2 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_3 { - pub EventCount: u8, - pub Status: u8, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_3 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_3 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_4 { - pub MaximumCount: u32, - pub MinimumCount: u32, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_4 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_4 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG { - pub State: NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0, - pub Reserved0: [u8; 3], - pub LSPActivationCount: u8, - pub TPRevertCount: u8, - pub LSPRevertCount: u8, - pub LOCount: u8, - pub SUMLOCount: u8, - pub RPLOCount: u8, - pub NPLOCount: u8, - pub RLLOCount: u8, - pub WLLOCount: u8, - pub RULOCount: u8, - pub WULOCount: u8, - pub Reserved1: u8, - pub SIDAuthTryCount: u32, - pub SIDAuthTryLimit: u32, - pub ResetCount: u32, - pub ResetLockCount: u32, - pub Reserved2: [u8; 462], - pub LogPageVersionNumber: u16, - pub LogPageGUID: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0 { - pub Anonymous: NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0_0, - pub AsUchar: u8, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0_0 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0_0 {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_OCP_DEVICE_TCG_HISTORY_LOG { - pub LID: u8, - pub Reserved0: [u8; 3], - pub HistoryEntryCount: u32, - pub HistoryEntries: [TCG_HISTORY_ENTRY; 84], - pub Reserved1: [u8; 38], - pub LogPageVersionNumber: u16, - pub LogPageGUID: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_TCG_HISTORY_LOG {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_TCG_HISTORY_LOG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_OCP_DEVICE_UNSUPPORTED_REQUIREMENTS_LOG { - pub UnsupportedCount: u16, - pub Reserved0: [u8; 14], - pub UnsupportedReqList: [UNSUPPORTED_REQUIREMENT; 253], - pub Reserved1: [u8; 14], - pub LogPageVersionNumber: u16, - pub LogPageGUID: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for NVME_OCP_DEVICE_UNSUPPORTED_REQUIREMENTS_LOG {} -impl ::core::clone::Clone for NVME_OCP_DEVICE_UNSUPPORTED_REQUIREMENTS_LOG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_PERSISTENT_EVENT_LOG_EVENT_HEADER { - pub EventType: u8, - pub EventTypeRevision: u8, - pub EventHeaderLength: u8, - pub Reserved0: u8, - pub ControllerIdentifier: u16, - pub EventTimestamp: u64, - pub Reserved1: [u8; 6], - pub VendorSpecificInformationLength: u16, - pub EventLength: u16, -} -impl ::core::marker::Copy for NVME_PERSISTENT_EVENT_LOG_EVENT_HEADER {} -impl ::core::clone::Clone for NVME_PERSISTENT_EVENT_LOG_EVENT_HEADER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_PERSISTENT_EVENT_LOG_HEADER { - pub LogIdentifier: u8, - pub Reserved0: [u8; 3], - pub TotalNumberOfEvents: u32, - pub TotalLogLength: u64, - pub LogRevision: u8, - pub Reserved1: u8, - pub LogHeaderLength: u16, - pub Timestamp: u64, - pub PowerOnHours: [u8; 16], - pub PowerCycleCount: u64, - pub PciVendorId: u16, - pub PciSubsystemVendorId: u16, - pub SerialNumber: [u8; 20], - pub ModelNumber: [u8; 40], - pub NVMSubsystemNVMeQualifiedName: [u8; 256], - pub Reserved: [u8; 108], - pub SupportedEventsBitmap: [u8; 32], -} -impl ::core::marker::Copy for NVME_PERSISTENT_EVENT_LOG_HEADER {} -impl ::core::clone::Clone for NVME_PERSISTENT_EVENT_LOG_HEADER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_POWER_STATE_DESC { - pub MP: u16, - pub Reserved0: u8, - pub _bitfield1: u8, - pub ENLAT: u32, - pub EXLAT: u32, - pub _bitfield2: u8, - pub _bitfield3: u8, - pub _bitfield4: u8, - pub _bitfield5: u8, - pub IDLP: u16, - pub _bitfield6: u8, - pub Reserved7: u8, - pub ACTP: u16, - pub _bitfield7: u8, - pub Reserved9: [u8; 9], -} -impl ::core::marker::Copy for NVME_POWER_STATE_DESC {} -impl ::core::clone::Clone for NVME_POWER_STATE_DESC { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_PRP_ENTRY { - pub Anonymous: NVME_PRP_ENTRY_0, - pub AsUlonglong: u64, -} -impl ::core::marker::Copy for NVME_PRP_ENTRY {} -impl ::core::clone::Clone for NVME_PRP_ENTRY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_PRP_ENTRY_0 { - pub _bitfield: u64, -} -impl ::core::marker::Copy for NVME_PRP_ENTRY_0 {} -impl ::core::clone::Clone for NVME_PRP_ENTRY_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_REGISTERED_CONTROLLER_DATA { - pub CNTLID: u16, - pub RCSTS: NVME_REGISTERED_CONTROLLER_DATA_0, - pub Reserved: [u8; 5], - pub HOSTID: [u8; 8], - pub RKEY: u64, -} -impl ::core::marker::Copy for NVME_REGISTERED_CONTROLLER_DATA {} -impl ::core::clone::Clone for NVME_REGISTERED_CONTROLLER_DATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_REGISTERED_CONTROLLER_DATA_0 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_REGISTERED_CONTROLLER_DATA_0 {} -impl ::core::clone::Clone for NVME_REGISTERED_CONTROLLER_DATA_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_REGISTERED_CONTROLLER_EXTENDED_DATA { - pub CNTLID: u16, - pub RCSTS: NVME_REGISTERED_CONTROLLER_EXTENDED_DATA_0, - pub Reserved: [u8; 5], - pub RKEY: u64, - pub HOSTID: [u8; 16], - pub Reserved1: [u8; 32], -} -impl ::core::marker::Copy for NVME_REGISTERED_CONTROLLER_EXTENDED_DATA {} -impl ::core::clone::Clone for NVME_REGISTERED_CONTROLLER_EXTENDED_DATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_REGISTERED_CONTROLLER_EXTENDED_DATA_0 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_REGISTERED_CONTROLLER_EXTENDED_DATA_0 {} -impl ::core::clone::Clone for NVME_REGISTERED_CONTROLLER_EXTENDED_DATA_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_REPORT_ZONE_INFO { - pub ZoneCount: u64, - pub Reserved: [u64; 7], - pub ZoneDescriptor: [NVME_ZONE_DESCRIPTOR; 1], -} -impl ::core::marker::Copy for NVME_REPORT_ZONE_INFO {} -impl ::core::clone::Clone for NVME_REPORT_ZONE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_RESERVATION_ACQUIRE_DATA_STRUCTURE { - pub CRKEY: u64, - pub PRKEY: u64, -} -impl ::core::marker::Copy for NVME_RESERVATION_ACQUIRE_DATA_STRUCTURE {} -impl ::core::clone::Clone for NVME_RESERVATION_ACQUIRE_DATA_STRUCTURE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_RESERVATION_NOTIFICATION_LOG { - pub LogPageCount: u64, - pub LogPageType: u8, - pub AvailableLogPageCount: u8, - pub Reserved0: [u8; 2], - pub NameSpaceId: u32, - pub Reserved1: [u8; 48], -} -impl ::core::marker::Copy for NVME_RESERVATION_NOTIFICATION_LOG {} -impl ::core::clone::Clone for NVME_RESERVATION_NOTIFICATION_LOG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_RESERVATION_REGISTER_DATA_STRUCTURE { - pub CRKEY: u64, - pub NRKEY: u64, -} -impl ::core::marker::Copy for NVME_RESERVATION_REGISTER_DATA_STRUCTURE {} -impl ::core::clone::Clone for NVME_RESERVATION_REGISTER_DATA_STRUCTURE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_RESERVATION_RELEASE_DATA_STRUCTURE { - pub CRKEY: u64, -} -impl ::core::marker::Copy for NVME_RESERVATION_RELEASE_DATA_STRUCTURE {} -impl ::core::clone::Clone for NVME_RESERVATION_RELEASE_DATA_STRUCTURE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_RESERVATION_REPORT_STATUS_DATA_STRUCTURE { - pub Header: NVME_RESERVATION_REPORT_STATUS_HEADER, - pub RegisteredControllersData: [NVME_REGISTERED_CONTROLLER_DATA; 1], -} -impl ::core::marker::Copy for NVME_RESERVATION_REPORT_STATUS_DATA_STRUCTURE {} -impl ::core::clone::Clone for NVME_RESERVATION_REPORT_STATUS_DATA_STRUCTURE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_RESERVATION_REPORT_STATUS_EXTENDED_DATA_STRUCTURE { - pub Header: NVME_RESERVATION_REPORT_STATUS_HEADER, - pub Reserved1: [u8; 40], - pub RegisteredControllersExtendedData: [NVME_REGISTERED_CONTROLLER_EXTENDED_DATA; 1], -} -impl ::core::marker::Copy for NVME_RESERVATION_REPORT_STATUS_EXTENDED_DATA_STRUCTURE {} -impl ::core::clone::Clone for NVME_RESERVATION_REPORT_STATUS_EXTENDED_DATA_STRUCTURE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_RESERVATION_REPORT_STATUS_HEADER { - pub GEN: u32, - pub RTYPE: u8, - pub REGCTL: u16, - pub Reserved: [u8; 2], - pub PTPLS: u8, - pub Reserved1: [u8; 14], -} -impl ::core::marker::Copy for NVME_RESERVATION_REPORT_STATUS_HEADER {} -impl ::core::clone::Clone for NVME_RESERVATION_REPORT_STATUS_HEADER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_SANITIZE_STATUS { - pub _bitfield: u16, -} -impl ::core::marker::Copy for NVME_SANITIZE_STATUS {} -impl ::core::clone::Clone for NVME_SANITIZE_STATUS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_SANITIZE_STATUS_LOG { - pub SPROG: u16, - pub SSTAT: NVME_SANITIZE_STATUS, - pub SCDW10: u32, - pub EstimatedTimeForOverwrite: u32, - pub EstimatedTimeForBlockErase: u32, - pub EstimatedTimeForCryptoErase: u32, - pub EstimatedTimeForOverwriteWithNoDeallocateMediaModification: u32, - pub EstimatedTimeForBlockEraseWithNoDeallocateMediaModification: u32, - pub EstimatedTimeForCryptoEraseWithNoDeallocateMediaModification: u32, - pub Reserved: [u8; 480], -} -impl ::core::marker::Copy for NVME_SANITIZE_STATUS_LOG {} -impl ::core::clone::Clone for NVME_SANITIZE_STATUS_LOG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_SCSI_NAME_STRING { - pub PCIVendorID: [u8; 4], - pub ModelNumber: [u8; 40], - pub NamespaceID: [u8; 4], - pub SerialNumber: [u8; 20], -} -impl ::core::marker::Copy for NVME_SCSI_NAME_STRING {} -impl ::core::clone::Clone for NVME_SCSI_NAME_STRING { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_SET_ATTRIBUTES_ENTRY { - pub Identifier: u16, - pub ENDGID: u16, - pub Reserved1: u32, - pub Random4KBReadTypical: u32, - pub OptimalWriteSize: u32, - pub TotalCapacity: [u8; 16], - pub UnallocatedCapacity: [u8; 16], - pub Reserved2: [u8; 80], -} -impl ::core::marker::Copy for NVME_SET_ATTRIBUTES_ENTRY {} -impl ::core::clone::Clone for NVME_SET_ATTRIBUTES_ENTRY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_SUBMISSION_QUEUE_TAIL_DOORBELL { - pub Anonymous: NVME_SUBMISSION_QUEUE_TAIL_DOORBELL_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_SUBMISSION_QUEUE_TAIL_DOORBELL {} -impl ::core::clone::Clone for NVME_SUBMISSION_QUEUE_TAIL_DOORBELL { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_SUBMISSION_QUEUE_TAIL_DOORBELL_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_SUBMISSION_QUEUE_TAIL_DOORBELL_0 {} -impl ::core::clone::Clone for NVME_SUBMISSION_QUEUE_TAIL_DOORBELL_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_TELEMETRY_CONTROLLER_INITIATED_LOG { - pub LogIdentifier: u8, - pub Reserved0: [u8; 4], - pub OrganizationID: [u8; 3], - pub Area1LastBlock: u16, - pub Area2LastBlock: u16, - pub Area3LastBlock: u16, - pub Reserved1: [u8; 2], - pub Area4LastBlock: u32, - pub Reserved2: [u8; 362], - pub ControllerInitiatedDataAvailable: u8, - pub ControllerInitiatedDataGenerationNumber: u8, - pub ReasonIdentifier: [u8; 128], -} -impl ::core::marker::Copy for NVME_TELEMETRY_CONTROLLER_INITIATED_LOG {} -impl ::core::clone::Clone for NVME_TELEMETRY_CONTROLLER_INITIATED_LOG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_TELEMETRY_HOST_INITIATED_LOG { - pub LogIdentifier: u8, - pub Reserved0: [u8; 4], - pub OrganizationID: [u8; 3], - pub Area1LastBlock: u16, - pub Area2LastBlock: u16, - pub Area3LastBlock: u16, - pub Reserved1: [u8; 2], - pub Area4LastBlock: u32, - pub Reserved2: [u8; 361], - pub HostInitiatedDataGenerationNumber: u8, - pub ControllerInitiatedDataAvailable: u8, - pub ControllerInitiatedDataGenerationNumber: u8, - pub ReasonIdentifier: [u8; 128], -} -impl ::core::marker::Copy for NVME_TELEMETRY_HOST_INITIATED_LOG {} -impl ::core::clone::Clone for NVME_TELEMETRY_HOST_INITIATED_LOG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_VERSION { - pub Anonymous: NVME_VERSION_0, - pub AsUlong: u32, -} -impl ::core::marker::Copy for NVME_VERSION {} -impl ::core::clone::Clone for NVME_VERSION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_VERSION_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_VERSION_0 {} -impl ::core::clone::Clone for NVME_VERSION_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_WCS_DEVICE_CAPABILITIES { - pub Anonymous: NVME_WCS_DEVICE_CAPABILITIES_0, -} -impl ::core::marker::Copy for NVME_WCS_DEVICE_CAPABILITIES {} -impl ::core::clone::Clone for NVME_WCS_DEVICE_CAPABILITIES { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_WCS_DEVICE_CAPABILITIES_0 { - pub Anonymous: NVME_WCS_DEVICE_CAPABILITIES_0_0, - pub AsULONG: u32, -} -impl ::core::marker::Copy for NVME_WCS_DEVICE_CAPABILITIES_0 {} -impl ::core::clone::Clone for NVME_WCS_DEVICE_CAPABILITIES_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_WCS_DEVICE_CAPABILITIES_0_0 { - pub _bitfield: u32, -} -impl ::core::marker::Copy for NVME_WCS_DEVICE_CAPABILITIES_0_0 {} -impl ::core::clone::Clone for NVME_WCS_DEVICE_CAPABILITIES_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_WCS_DEVICE_ERROR_RECOVERY_LOG { - pub PanicResetWaitTime: u16, - pub PanicResetAction: NVME_WCS_DEVICE_RESET_ACTION, - pub DriveRecoveryAction: u8, - pub PanicId: u64, - pub DeviceCapabilitiesA: NVME_WCS_DEVICE_CAPABILITIES, - pub VendorSpecificRecoveryCode: u8, - pub Reserved0: [u8; 3], - pub VendorSpecificCommandCDW12: u32, - pub VendorSpecificCommandCDW13: u32, - pub Reserved1: [u8; 466], - pub LogPageVersionNumber: u16, - pub LogPageGUID: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for NVME_WCS_DEVICE_ERROR_RECOVERY_LOG {} -impl ::core::clone::Clone for NVME_WCS_DEVICE_ERROR_RECOVERY_LOG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_WCS_DEVICE_RESET_ACTION { - pub Anonymous: NVME_WCS_DEVICE_RESET_ACTION_0, -} -impl ::core::marker::Copy for NVME_WCS_DEVICE_RESET_ACTION {} -impl ::core::clone::Clone for NVME_WCS_DEVICE_RESET_ACTION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVME_WCS_DEVICE_RESET_ACTION_0 { - pub Anonymous: NVME_WCS_DEVICE_RESET_ACTION_0_0, - pub AsUCHAR: u8, -} -impl ::core::marker::Copy for NVME_WCS_DEVICE_RESET_ACTION_0 {} -impl ::core::clone::Clone for NVME_WCS_DEVICE_RESET_ACTION_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_WCS_DEVICE_RESET_ACTION_0_0 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_WCS_DEVICE_RESET_ACTION_0_0 {} -impl ::core::clone::Clone for NVME_WCS_DEVICE_RESET_ACTION_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG { - pub VersionSpecificData: [u8; 494], - pub LogPageVersionNumber: u16, - pub LogPageGUID: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG {} -impl ::core::clone::Clone for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2 { - pub MediaUnitsWritten: [u8; 16], - pub MediaUnitsRead: [u8; 16], - pub BadUserNANDBlockCount: NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_1, - pub BadSystemNANDBlockCount: NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_0, - pub XORRecoveryCount: u64, - pub UnrecoverableReadErrorCount: u64, - pub SoftECCErrorCount: u64, - pub EndToEndCorrectionCounts: NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_2, - pub PercentageSystemDataUsed: u8, - pub RefreshCount: [u8; 7], - pub UserDataEraseCounts: NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_4, - pub ThermalThrottling: NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_3, - pub Reserved0: [u8; 6], - pub PCIeCorrectableErrorCount: u64, - pub IncompleteShutdownCount: u32, - pub Reserved1: u32, - pub PercentageFreeBlocks: u8, - pub Reserved2: [u8; 7], - pub CapacitorHealth: u16, - pub Reserved3: [u8; 6], - pub UnalignedIOCount: u64, - pub SecurityVersionNumber: u64, - pub NUSE: u64, - pub PLPStartCount: [u8; 16], - pub EnduranceEstimate: [u8; 16], - pub Reserved4: [u8; 302], - pub LogPageVersionNumber: u16, - pub LogPageGUID: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2 {} -impl ::core::clone::Clone for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_0 { - pub RawCount: [u8; 6], - pub Normalized: [u8; 2], -} -impl ::core::marker::Copy for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_0 {} -impl ::core::clone::Clone for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_1 { - pub RawCount: [u8; 6], - pub Normalized: [u8; 2], -} -impl ::core::marker::Copy for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_1 {} -impl ::core::clone::Clone for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_2 { - pub DetectedCounts: u32, - pub CorrectedCounts: u32, -} -impl ::core::marker::Copy for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_2 {} -impl ::core::clone::Clone for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_3 { - pub EventCount: u8, - pub Status: u8, -} -impl ::core::marker::Copy for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_3 {} -impl ::core::clone::Clone for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_3 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_4 { - pub MaximumCount: u32, - pub MinimumCount: u32, -} -impl ::core::marker::Copy for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_4 {} -impl ::core::clone::Clone for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_4 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_ZONE_DESCRIPTOR { - pub Anonymous1: NVME_ZONE_DESCRIPTOR_0, - pub Anonymous2: NVME_ZONE_DESCRIPTOR_1, - pub ZA: NVME_ZONE_DESCRIPTOR_2, - pub Reserved3: [u8; 5], - pub ZCAP: u64, - pub ZSLBA: u64, - pub WritePointer: u64, - pub Reserved4: [u8; 32], -} -impl ::core::marker::Copy for NVME_ZONE_DESCRIPTOR {} -impl ::core::clone::Clone for NVME_ZONE_DESCRIPTOR { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_ZONE_DESCRIPTOR_0 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_ZONE_DESCRIPTOR_0 {} -impl ::core::clone::Clone for NVME_ZONE_DESCRIPTOR_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_ZONE_DESCRIPTOR_1 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_ZONE_DESCRIPTOR_1 {} -impl ::core::clone::Clone for NVME_ZONE_DESCRIPTOR_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_ZONE_DESCRIPTOR_2 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVME_ZONE_DESCRIPTOR_2 {} -impl ::core::clone::Clone for NVME_ZONE_DESCRIPTOR_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_ZONE_DESCRIPTOR_EXTENSION { - pub ZoneDescriptorExtensionInfo: [u8; 64], -} -impl ::core::marker::Copy for NVME_ZONE_DESCRIPTOR_EXTENSION {} -impl ::core::clone::Clone for NVME_ZONE_DESCRIPTOR_EXTENSION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVME_ZONE_EXTENDED_REPORT_ZONE_DESC { - pub ZoneDescriptor: NVME_ZONE_DESCRIPTOR, - pub ZoneDescriptorExtension: [NVME_ZONE_DESCRIPTOR_EXTENSION; 1], -} -impl ::core::marker::Copy for NVME_ZONE_EXTENDED_REPORT_ZONE_DESC {} -impl ::core::clone::Clone for NVME_ZONE_EXTENDED_REPORT_ZONE_DESC { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union NVM_RESERVATION_CAPABILITIES { - pub Anonymous: NVM_RESERVATION_CAPABILITIES_0, - pub AsUchar: u8, -} -impl ::core::marker::Copy for NVM_RESERVATION_CAPABILITIES {} -impl ::core::clone::Clone for NVM_RESERVATION_CAPABILITIES { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVM_RESERVATION_CAPABILITIES_0 { - pub _bitfield: u8, -} -impl ::core::marker::Copy for NVM_RESERVATION_CAPABILITIES_0 {} -impl ::core::clone::Clone for NVM_RESERVATION_CAPABILITIES_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NVM_SET_LIST { - pub IdentifierCount: u8, - pub Reserved: [u8; 127], - pub Entry: [NVME_SET_ATTRIBUTES_ENTRY; 1], -} -impl ::core::marker::Copy for NVM_SET_LIST {} -impl ::core::clone::Clone for NVM_SET_LIST { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct TCG_ACTIVATE_METHOD_SPECIFIC { - pub RangeStartLengthPolicy: u8, -} -impl ::core::marker::Copy for TCG_ACTIVATE_METHOD_SPECIFIC {} -impl ::core::clone::Clone for TCG_ACTIVATE_METHOD_SPECIFIC { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct TCG_ASSIGN_METHOD_SPECIFIC { - pub NamespaceId: u32, -} -impl ::core::marker::Copy for TCG_ASSIGN_METHOD_SPECIFIC {} -impl ::core::clone::Clone for TCG_ASSIGN_METHOD_SPECIFIC { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct TCG_AUTH_METHOD_SPECIFIC { - pub AuthorityId: u64, - pub TriesCount: u8, -} -impl ::core::marker::Copy for TCG_AUTH_METHOD_SPECIFIC {} -impl ::core::clone::Clone for TCG_AUTH_METHOD_SPECIFIC { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct TCG_BLOCKSID_METHOD_SPECIFIC { - pub ClearEvents: u8, -} -impl ::core::marker::Copy for TCG_BLOCKSID_METHOD_SPECIFIC {} -impl ::core::clone::Clone for TCG_BLOCKSID_METHOD_SPECIFIC { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(1))] -pub struct TCG_HISTORY_ENTRY { - pub VersionNumber: u8, - pub EntryLength: u8, - pub PowerCycleCount: u16, - pub TcgCommandCount: u32, - pub TcgCommandCompletionTS: u64, - pub InvokingId: u64, - pub MethodId: u64, - pub ComId: u16, - pub ProtocolId: u8, - pub TcgStatus: u8, - pub ProcessTime: u16, - pub CommandSpecific: [u8; 10], -} -impl ::core::marker::Copy for TCG_HISTORY_ENTRY {} -impl ::core::clone::Clone for TCG_HISTORY_ENTRY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct TCG_REACTIVATE_METHOD_SPECIFIC { - pub RangeStartLengthPolicy: u8, -} -impl ::core::marker::Copy for TCG_REACTIVATE_METHOD_SPECIFIC {} -impl ::core::clone::Clone for TCG_REACTIVATE_METHOD_SPECIFIC { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct UNSUPPORTED_REQUIREMENT { - pub ReqId: [u8; 16], -} -impl ::core::marker::Copy for UNSUPPORTED_REQUIREMENT {} -impl ::core::clone::Clone for UNSUPPORTED_REQUIREMENT { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/OfflineFiles/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/OfflineFiles/mod.rs deleted file mode 100644 index d4c7284..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Storage/OfflineFiles/mod.rs +++ /dev/null @@ -1,314 +0,0 @@ -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cscapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OfflineFilesEnable(benable : super::super::Foundation:: BOOL, pbrebootrequired : *mut super::super::Foundation:: BOOL) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cscapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OfflineFilesQueryStatus(pbactive : *mut super::super::Foundation:: BOOL, pbenabled : *mut super::super::Foundation:: BOOL) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("cscapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OfflineFilesQueryStatusEx(pbactive : *mut super::super::Foundation:: BOOL, pbenabled : *mut super::super::Foundation:: BOOL, pbavailable : *mut super::super::Foundation:: BOOL) -> u32); -::windows_targets::link!("cscapi.dll" "system" fn OfflineFilesStart() -> u32); -pub type IEnumOfflineFilesItems = *mut ::core::ffi::c_void; -pub type IEnumOfflineFilesSettings = *mut ::core::ffi::c_void; -pub type IOfflineFilesCache = *mut ::core::ffi::c_void; -pub type IOfflineFilesCache2 = *mut ::core::ffi::c_void; -pub type IOfflineFilesChangeInfo = *mut ::core::ffi::c_void; -pub type IOfflineFilesConnectionInfo = *mut ::core::ffi::c_void; -pub type IOfflineFilesDirectoryItem = *mut ::core::ffi::c_void; -pub type IOfflineFilesDirtyInfo = *mut ::core::ffi::c_void; -pub type IOfflineFilesErrorInfo = *mut ::core::ffi::c_void; -pub type IOfflineFilesEvents = *mut ::core::ffi::c_void; -pub type IOfflineFilesEvents2 = *mut ::core::ffi::c_void; -pub type IOfflineFilesEvents3 = *mut ::core::ffi::c_void; -pub type IOfflineFilesEvents4 = *mut ::core::ffi::c_void; -pub type IOfflineFilesEventsFilter = *mut ::core::ffi::c_void; -pub type IOfflineFilesFileItem = *mut ::core::ffi::c_void; -pub type IOfflineFilesFileSysInfo = *mut ::core::ffi::c_void; -pub type IOfflineFilesGhostInfo = *mut ::core::ffi::c_void; -pub type IOfflineFilesItem = *mut ::core::ffi::c_void; -pub type IOfflineFilesItemContainer = *mut ::core::ffi::c_void; -pub type IOfflineFilesItemFilter = *mut ::core::ffi::c_void; -pub type IOfflineFilesPinInfo = *mut ::core::ffi::c_void; -pub type IOfflineFilesPinInfo2 = *mut ::core::ffi::c_void; -pub type IOfflineFilesProgress = *mut ::core::ffi::c_void; -pub type IOfflineFilesServerItem = *mut ::core::ffi::c_void; -pub type IOfflineFilesSetting = *mut ::core::ffi::c_void; -pub type IOfflineFilesShareInfo = *mut ::core::ffi::c_void; -pub type IOfflineFilesShareItem = *mut ::core::ffi::c_void; -pub type IOfflineFilesSimpleProgress = *mut ::core::ffi::c_void; -pub type IOfflineFilesSuspend = *mut ::core::ffi::c_void; -pub type IOfflineFilesSuspendInfo = *mut ::core::ffi::c_void; -pub type IOfflineFilesSyncConflictHandler = *mut ::core::ffi::c_void; -pub type IOfflineFilesSyncErrorInfo = *mut ::core::ffi::c_void; -pub type IOfflineFilesSyncErrorItemInfo = *mut ::core::ffi::c_void; -pub type IOfflineFilesSyncProgress = *mut ::core::ffi::c_void; -pub type IOfflineFilesTransparentCacheInfo = *mut ::core::ffi::c_void; -pub const OFFLINEFILES_CACHING_MODE_AUTO_DOC: OFFLINEFILES_CACHING_MODE = 3i32; -pub const OFFLINEFILES_CACHING_MODE_AUTO_PROGANDDOC: OFFLINEFILES_CACHING_MODE = 4i32; -pub const OFFLINEFILES_CACHING_MODE_MANUAL: OFFLINEFILES_CACHING_MODE = 2i32; -pub const OFFLINEFILES_CACHING_MODE_NOCACHING: OFFLINEFILES_CACHING_MODE = 1i32; -pub const OFFLINEFILES_CACHING_MODE_NONE: OFFLINEFILES_CACHING_MODE = 0i32; -pub const OFFLINEFILES_CHANGES_LOCAL_ATTRIBUTES: u32 = 2u32; -pub const OFFLINEFILES_CHANGES_LOCAL_SIZE: u32 = 1u32; -pub const OFFLINEFILES_CHANGES_LOCAL_TIME: u32 = 4u32; -pub const OFFLINEFILES_CHANGES_NONE: u32 = 0u32; -pub const OFFLINEFILES_CHANGES_REMOTE_ATTRIBUTES: u32 = 16u32; -pub const OFFLINEFILES_CHANGES_REMOTE_SIZE: u32 = 8u32; -pub const OFFLINEFILES_CHANGES_REMOTE_TIME: u32 = 32u32; -pub const OFFLINEFILES_COMPARE_EQ: OFFLINEFILES_COMPARE = 0i32; -pub const OFFLINEFILES_COMPARE_GT: OFFLINEFILES_COMPARE = 3i32; -pub const OFFLINEFILES_COMPARE_GTE: OFFLINEFILES_COMPARE = 5i32; -pub const OFFLINEFILES_COMPARE_LT: OFFLINEFILES_COMPARE = 2i32; -pub const OFFLINEFILES_COMPARE_LTE: OFFLINEFILES_COMPARE = 4i32; -pub const OFFLINEFILES_COMPARE_NEQ: OFFLINEFILES_COMPARE = 1i32; -pub const OFFLINEFILES_CONNECT_STATE_OFFLINE: OFFLINEFILES_CONNECT_STATE = 1i32; -pub const OFFLINEFILES_CONNECT_STATE_ONLINE: OFFLINEFILES_CONNECT_STATE = 2i32; -pub const OFFLINEFILES_CONNECT_STATE_PARTLY_TRANSPARENTLY_CACHED: OFFLINEFILES_CONNECT_STATE = 4i32; -pub const OFFLINEFILES_CONNECT_STATE_TRANSPARENTLY_CACHED: OFFLINEFILES_CONNECT_STATE = 3i32; -pub const OFFLINEFILES_CONNECT_STATE_UNKNOWN: OFFLINEFILES_CONNECT_STATE = 0i32; -pub const OFFLINEFILES_DELETE_FLAG_ADMIN: u32 = 2147483648u32; -pub const OFFLINEFILES_DELETE_FLAG_DELMODIFIED: u32 = 4u32; -pub const OFFLINEFILES_DELETE_FLAG_NOAUTOCACHED: u32 = 1u32; -pub const OFFLINEFILES_DELETE_FLAG_NOPINNED: u32 = 2u32; -pub const OFFLINEFILES_ENCRYPTION_CONTROL_FLAG_ASYNCPROGRESS: u32 = 1024u32; -pub const OFFLINEFILES_ENCRYPTION_CONTROL_FLAG_BACKGROUND: u32 = 65536u32; -pub const OFFLINEFILES_ENCRYPTION_CONTROL_FLAG_CONSOLE: u32 = 4096u32; -pub const OFFLINEFILES_ENCRYPTION_CONTROL_FLAG_INTERACTIVE: u32 = 2048u32; -pub const OFFLINEFILES_ENCRYPTION_CONTROL_FLAG_LOWPRIORITY: u32 = 512u32; -pub const OFFLINEFILES_ENUM_FLAT: u32 = 1u32; -pub const OFFLINEFILES_ENUM_FLAT_FILESONLY: u32 = 2u32; -pub const OFFLINEFILES_EVENT_BACKGROUNDSYNCBEGIN: OFFLINEFILES_EVENTS = 11i32; -pub const OFFLINEFILES_EVENT_BACKGROUNDSYNCEND: OFFLINEFILES_EVENTS = 12i32; -pub const OFFLINEFILES_EVENT_CACHEEVICTBEGIN: OFFLINEFILES_EVENTS = 29i32; -pub const OFFLINEFILES_EVENT_CACHEEVICTEND: OFFLINEFILES_EVENTS = 30i32; -pub const OFFLINEFILES_EVENT_CACHEISCORRUPTED: OFFLINEFILES_EVENTS = 2i32; -pub const OFFLINEFILES_EVENT_CACHEISFULL: OFFLINEFILES_EVENTS = 1i32; -pub const OFFLINEFILES_EVENT_CACHEMOVED: OFFLINEFILES_EVENTS = 0i32; -pub const OFFLINEFILES_EVENT_DATALOST: OFFLINEFILES_EVENTS = 25i32; -pub const OFFLINEFILES_EVENT_ENABLED: OFFLINEFILES_EVENTS = 3i32; -pub const OFFLINEFILES_EVENT_ENCRYPTIONCHANGED: OFFLINEFILES_EVENTS = 4i32; -pub const OFFLINEFILES_EVENT_ITEMADDEDTOCACHE: OFFLINEFILES_EVENTS = 22i32; -pub const OFFLINEFILES_EVENT_ITEMAVAILABLEOFFLINE: OFFLINEFILES_EVENTS = 17i32; -pub const OFFLINEFILES_EVENT_ITEMDELETEDFROMCACHE: OFFLINEFILES_EVENTS = 23i32; -pub const OFFLINEFILES_EVENT_ITEMDISCONNECTED: OFFLINEFILES_EVENTS = 15i32; -pub const OFFLINEFILES_EVENT_ITEMMODIFIED: OFFLINEFILES_EVENTS = 21i32; -pub const OFFLINEFILES_EVENT_ITEMNOTAVAILABLEOFFLINE: OFFLINEFILES_EVENTS = 18i32; -pub const OFFLINEFILES_EVENT_ITEMNOTPINNED: OFFLINEFILES_EVENTS = 20i32; -pub const OFFLINEFILES_EVENT_ITEMPINNED: OFFLINEFILES_EVENTS = 19i32; -pub const OFFLINEFILES_EVENT_ITEMRECONNECTBEGIN: OFFLINEFILES_EVENTS = 27i32; -pub const OFFLINEFILES_EVENT_ITEMRECONNECTED: OFFLINEFILES_EVENTS = 16i32; -pub const OFFLINEFILES_EVENT_ITEMRECONNECTEND: OFFLINEFILES_EVENTS = 28i32; -pub const OFFLINEFILES_EVENT_ITEMRENAMED: OFFLINEFILES_EVENTS = 24i32; -pub const OFFLINEFILES_EVENT_NETTRANSPORTARRIVED: OFFLINEFILES_EVENTS = 13i32; -pub const OFFLINEFILES_EVENT_NONETTRANSPORTS: OFFLINEFILES_EVENTS = 14i32; -pub const OFFLINEFILES_EVENT_PING: OFFLINEFILES_EVENTS = 26i32; -pub const OFFLINEFILES_EVENT_POLICYCHANGEDETECTED: OFFLINEFILES_EVENTS = 31i32; -pub const OFFLINEFILES_EVENT_PREFERENCECHANGEDETECTED: OFFLINEFILES_EVENTS = 32i32; -pub const OFFLINEFILES_EVENT_PREFETCHCLOSEHANDLEBEGIN: OFFLINEFILES_EVENTS = 37i32; -pub const OFFLINEFILES_EVENT_PREFETCHCLOSEHANDLEEND: OFFLINEFILES_EVENTS = 38i32; -pub const OFFLINEFILES_EVENT_PREFETCHFILEBEGIN: OFFLINEFILES_EVENTS = 35i32; -pub const OFFLINEFILES_EVENT_PREFETCHFILEEND: OFFLINEFILES_EVENTS = 36i32; -pub const OFFLINEFILES_EVENT_SETTINGSCHANGESAPPLIED: OFFLINEFILES_EVENTS = 33i32; -pub const OFFLINEFILES_EVENT_SYNCBEGIN: OFFLINEFILES_EVENTS = 5i32; -pub const OFFLINEFILES_EVENT_SYNCCONFLICTRECADDED: OFFLINEFILES_EVENTS = 7i32; -pub const OFFLINEFILES_EVENT_SYNCCONFLICTRECREMOVED: OFFLINEFILES_EVENTS = 9i32; -pub const OFFLINEFILES_EVENT_SYNCCONFLICTRECUPDATED: OFFLINEFILES_EVENTS = 8i32; -pub const OFFLINEFILES_EVENT_SYNCEND: OFFLINEFILES_EVENTS = 10i32; -pub const OFFLINEFILES_EVENT_SYNCFILERESULT: OFFLINEFILES_EVENTS = 6i32; -pub const OFFLINEFILES_EVENT_TRANSPARENTCACHEITEMNOTIFY: OFFLINEFILES_EVENTS = 34i32; -pub const OFFLINEFILES_ITEM_COPY_LOCAL: OFFLINEFILES_ITEM_COPY = 0i32; -pub const OFFLINEFILES_ITEM_COPY_ORIGINAL: OFFLINEFILES_ITEM_COPY = 2i32; -pub const OFFLINEFILES_ITEM_COPY_REMOTE: OFFLINEFILES_ITEM_COPY = 1i32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_CREATED: u32 = 8u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_DELETED: u32 = 16u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_DIRECTORY: u32 = 256u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_DIRTY: u32 = 32u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_FILE: u32 = 128u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_GHOST: u32 = 8192u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_GUEST_ANYACCESS: u32 = 33554432u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_GUEST_READ: u32 = 16777216u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_GUEST_WRITE: u32 = 8388608u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_MODIFIED: u32 = 4u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_MODIFIED_ATTRIBUTES: u32 = 2u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_MODIFIED_DATA: u32 = 1u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_OFFLINE: u32 = 32768u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_ONLINE: u32 = 65536u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_OTHER_ANYACCESS: u32 = 4194304u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_OTHER_READ: u32 = 2097152u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_OTHER_WRITE: u32 = 1048576u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_PINNED: u32 = 4096u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_PINNED_COMPUTER: u32 = 2048u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_PINNED_OTHERS: u32 = 1024u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_PINNED_USER: u32 = 512u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_SPARSE: u32 = 64u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_SUSPENDED: u32 = 16384u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_USER_ANYACCESS: u32 = 524288u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_USER_READ: u32 = 262144u32; -pub const OFFLINEFILES_ITEM_FILTER_FLAG_USER_WRITE: u32 = 131072u32; -pub const OFFLINEFILES_ITEM_QUERY_ADMIN: u32 = 2147483648u32; -pub const OFFLINEFILES_ITEM_QUERY_ATTEMPT_TRANSITIONONLINE: u32 = 32u32; -pub const OFFLINEFILES_ITEM_QUERY_CONNECTIONSTATE: u32 = 2u32; -pub const OFFLINEFILES_ITEM_QUERY_INCLUDETRANSPARENTCACHE: u32 = 16u32; -pub const OFFLINEFILES_ITEM_QUERY_LOCALDIRTYBYTECOUNT: u32 = 4u32; -pub const OFFLINEFILES_ITEM_QUERY_REMOTEDIRTYBYTECOUNT: u32 = 8u32; -pub const OFFLINEFILES_ITEM_QUERY_REMOTEINFO: u32 = 1u32; -pub const OFFLINEFILES_ITEM_TIME_CREATION: OFFLINEFILES_ITEM_TIME = 0i32; -pub const OFFLINEFILES_ITEM_TIME_LASTACCESS: OFFLINEFILES_ITEM_TIME = 1i32; -pub const OFFLINEFILES_ITEM_TIME_LASTWRITE: OFFLINEFILES_ITEM_TIME = 2i32; -pub const OFFLINEFILES_ITEM_TYPE_DIRECTORY: OFFLINEFILES_ITEM_TYPE = 1i32; -pub const OFFLINEFILES_ITEM_TYPE_FILE: OFFLINEFILES_ITEM_TYPE = 0i32; -pub const OFFLINEFILES_ITEM_TYPE_SERVER: OFFLINEFILES_ITEM_TYPE = 3i32; -pub const OFFLINEFILES_ITEM_TYPE_SHARE: OFFLINEFILES_ITEM_TYPE = 2i32; -pub const OFFLINEFILES_NUM_EVENTS: OFFLINEFILES_EVENTS = 39i32; -pub const OFFLINEFILES_OFFLINE_REASON_CONNECTION_ERROR: OFFLINEFILES_OFFLINE_REASON = 4i32; -pub const OFFLINEFILES_OFFLINE_REASON_CONNECTION_FORCED: OFFLINEFILES_OFFLINE_REASON = 2i32; -pub const OFFLINEFILES_OFFLINE_REASON_CONNECTION_SLOW: OFFLINEFILES_OFFLINE_REASON = 3i32; -pub const OFFLINEFILES_OFFLINE_REASON_ITEM_SUSPENDED: OFFLINEFILES_OFFLINE_REASON = 6i32; -pub const OFFLINEFILES_OFFLINE_REASON_ITEM_VERSION_CONFLICT: OFFLINEFILES_OFFLINE_REASON = 5i32; -pub const OFFLINEFILES_OFFLINE_REASON_NOT_APPLICABLE: OFFLINEFILES_OFFLINE_REASON = 1i32; -pub const OFFLINEFILES_OFFLINE_REASON_UNKNOWN: OFFLINEFILES_OFFLINE_REASON = 0i32; -pub const OFFLINEFILES_OP_ABORT: OFFLINEFILES_OP_RESPONSE = 2i32; -pub const OFFLINEFILES_OP_CONTINUE: OFFLINEFILES_OP_RESPONSE = 0i32; -pub const OFFLINEFILES_OP_RETRY: OFFLINEFILES_OP_RESPONSE = 1i32; -pub const OFFLINEFILES_PATHFILTER_CHILD: OFFLINEFILES_PATHFILTER_MATCH = 1i32; -pub const OFFLINEFILES_PATHFILTER_DESCENDENT: OFFLINEFILES_PATHFILTER_MATCH = 2i32; -pub const OFFLINEFILES_PATHFILTER_SELF: OFFLINEFILES_PATHFILTER_MATCH = 0i32; -pub const OFFLINEFILES_PATHFILTER_SELFORCHILD: OFFLINEFILES_PATHFILTER_MATCH = 3i32; -pub const OFFLINEFILES_PATHFILTER_SELFORDESCENDENT: OFFLINEFILES_PATHFILTER_MATCH = 4i32; -pub const OFFLINEFILES_PINLINKTARGETS_ALWAYS: u32 = 2u32; -pub const OFFLINEFILES_PINLINKTARGETS_EXPLICIT: u32 = 1u32; -pub const OFFLINEFILES_PINLINKTARGETS_NEVER: u32 = 0u32; -pub const OFFLINEFILES_PIN_CONTROL_FLAG_ASYNCPROGRESS: u32 = 1024u32; -pub const OFFLINEFILES_PIN_CONTROL_FLAG_BACKGROUND: u32 = 65536u32; -pub const OFFLINEFILES_PIN_CONTROL_FLAG_CONSOLE: u32 = 4096u32; -pub const OFFLINEFILES_PIN_CONTROL_FLAG_FILL: u32 = 1u32; -pub const OFFLINEFILES_PIN_CONTROL_FLAG_FORALL: u32 = 128u32; -pub const OFFLINEFILES_PIN_CONTROL_FLAG_FORREDIR: u32 = 256u32; -pub const OFFLINEFILES_PIN_CONTROL_FLAG_FORUSER: u32 = 32u32; -pub const OFFLINEFILES_PIN_CONTROL_FLAG_FORUSER_POLICY: u32 = 64u32; -pub const OFFLINEFILES_PIN_CONTROL_FLAG_INTERACTIVE: u32 = 2048u32; -pub const OFFLINEFILES_PIN_CONTROL_FLAG_LOWPRIORITY: u32 = 512u32; -pub const OFFLINEFILES_PIN_CONTROL_FLAG_PINLINKTARGETS: u32 = 16u32; -pub const OFFLINEFILES_SETTING_PinLinkTargets: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LinkTargetCaching"); -pub const OFFLINEFILES_SETTING_SCOPE_COMPUTER: u32 = 2u32; -pub const OFFLINEFILES_SETTING_SCOPE_USER: u32 = 1u32; -pub const OFFLINEFILES_SETTING_VALUE_2DIM_ARRAY_BSTR_BSTR: OFFLINEFILES_SETTING_VALUE_TYPE = 4i32; -pub const OFFLINEFILES_SETTING_VALUE_2DIM_ARRAY_BSTR_UI4: OFFLINEFILES_SETTING_VALUE_TYPE = 3i32; -pub const OFFLINEFILES_SETTING_VALUE_BSTR: OFFLINEFILES_SETTING_VALUE_TYPE = 1i32; -pub const OFFLINEFILES_SETTING_VALUE_BSTR_DBLNULTERM: OFFLINEFILES_SETTING_VALUE_TYPE = 2i32; -pub const OFFLINEFILES_SETTING_VALUE_UI4: OFFLINEFILES_SETTING_VALUE_TYPE = 0i32; -pub const OFFLINEFILES_SYNC_CONFLICT_ABORT: OFFLINEFILES_SYNC_CONFLICT_RESOLVE = 7i32; -pub const OFFLINEFILES_SYNC_CONFLICT_RESOLVE_KEEPALLCHANGES: OFFLINEFILES_SYNC_CONFLICT_RESOLVE = 3i32; -pub const OFFLINEFILES_SYNC_CONFLICT_RESOLVE_KEEPLATEST: OFFLINEFILES_SYNC_CONFLICT_RESOLVE = 4i32; -pub const OFFLINEFILES_SYNC_CONFLICT_RESOLVE_KEEPLOCAL: OFFLINEFILES_SYNC_CONFLICT_RESOLVE = 1i32; -pub const OFFLINEFILES_SYNC_CONFLICT_RESOLVE_KEEPREMOTE: OFFLINEFILES_SYNC_CONFLICT_RESOLVE = 2i32; -pub const OFFLINEFILES_SYNC_CONFLICT_RESOLVE_LOG: OFFLINEFILES_SYNC_CONFLICT_RESOLVE = 5i32; -pub const OFFLINEFILES_SYNC_CONFLICT_RESOLVE_NONE: OFFLINEFILES_SYNC_CONFLICT_RESOLVE = 0i32; -pub const OFFLINEFILES_SYNC_CONFLICT_RESOLVE_NUMCODES: OFFLINEFILES_SYNC_CONFLICT_RESOLVE = 8i32; -pub const OFFLINEFILES_SYNC_CONFLICT_RESOLVE_SKIP: OFFLINEFILES_SYNC_CONFLICT_RESOLVE = 6i32; -pub const OFFLINEFILES_SYNC_CONTROL_CR_DEFAULT: u32 = 0u32; -pub const OFFLINEFILES_SYNC_CONTROL_CR_KEEPLATEST: u32 = 805306368u32; -pub const OFFLINEFILES_SYNC_CONTROL_CR_KEEPLOCAL: u32 = 268435456u32; -pub const OFFLINEFILES_SYNC_CONTROL_CR_KEEPREMOTE: u32 = 536870912u32; -pub const OFFLINEFILES_SYNC_CONTROL_CR_MASK: u32 = 4026531840u32; -pub const OFFLINEFILES_SYNC_CONTROL_FLAG_ASYNCPROGRESS: u32 = 1024u32; -pub const OFFLINEFILES_SYNC_CONTROL_FLAG_BACKGROUND: u32 = 65536u32; -pub const OFFLINEFILES_SYNC_CONTROL_FLAG_CONSOLE: u32 = 4096u32; -pub const OFFLINEFILES_SYNC_CONTROL_FLAG_FILLSPARSE: u32 = 1u32; -pub const OFFLINEFILES_SYNC_CONTROL_FLAG_INTERACTIVE: u32 = 2048u32; -pub const OFFLINEFILES_SYNC_CONTROL_FLAG_LOWPRIORITY: u32 = 512u32; -pub const OFFLINEFILES_SYNC_CONTROL_FLAG_NONEWFILESOUT: u32 = 131072u32; -pub const OFFLINEFILES_SYNC_CONTROL_FLAG_PINFORALL: u32 = 128u32; -pub const OFFLINEFILES_SYNC_CONTROL_FLAG_PINFORREDIR: u32 = 256u32; -pub const OFFLINEFILES_SYNC_CONTROL_FLAG_PINFORUSER: u32 = 32u32; -pub const OFFLINEFILES_SYNC_CONTROL_FLAG_PINFORUSER_POLICY: u32 = 64u32; -pub const OFFLINEFILES_SYNC_CONTROL_FLAG_PINLINKTARGETS: u32 = 16u32; -pub const OFFLINEFILES_SYNC_CONTROL_FLAG_PINNEWFILES: u32 = 8u32; -pub const OFFLINEFILES_SYNC_CONTROL_FLAG_SKIPSUSPENDEDDIRS: u32 = 8192u32; -pub const OFFLINEFILES_SYNC_CONTROL_FLAG_SYNCIN: u32 = 2u32; -pub const OFFLINEFILES_SYNC_CONTROL_FLAG_SYNCOUT: u32 = 4u32; -pub const OFFLINEFILES_SYNC_ITEM_CHANGE_ATTRIBUTES: u32 = 8u32; -pub const OFFLINEFILES_SYNC_ITEM_CHANGE_CHANGETIME: u32 = 1u32; -pub const OFFLINEFILES_SYNC_ITEM_CHANGE_FILESIZE: u32 = 4u32; -pub const OFFLINEFILES_SYNC_ITEM_CHANGE_NONE: u32 = 0u32; -pub const OFFLINEFILES_SYNC_ITEM_CHANGE_WRITETIME: u32 = 2u32; -pub const OFFLINEFILES_SYNC_OPERATION_CREATE_COPY_ON_CLIENT: OFFLINEFILES_SYNC_OPERATION = 1i32; -pub const OFFLINEFILES_SYNC_OPERATION_CREATE_COPY_ON_SERVER: OFFLINEFILES_SYNC_OPERATION = 0i32; -pub const OFFLINEFILES_SYNC_OPERATION_DELETE_CLIENT_COPY: OFFLINEFILES_SYNC_OPERATION = 5i32; -pub const OFFLINEFILES_SYNC_OPERATION_DELETE_SERVER_COPY: OFFLINEFILES_SYNC_OPERATION = 4i32; -pub const OFFLINEFILES_SYNC_OPERATION_PIN: OFFLINEFILES_SYNC_OPERATION = 6i32; -pub const OFFLINEFILES_SYNC_OPERATION_PREPARE: OFFLINEFILES_SYNC_OPERATION = 7i32; -pub const OFFLINEFILES_SYNC_OPERATION_SYNC_TO_CLIENT: OFFLINEFILES_SYNC_OPERATION = 3i32; -pub const OFFLINEFILES_SYNC_OPERATION_SYNC_TO_SERVER: OFFLINEFILES_SYNC_OPERATION = 2i32; -pub const OFFLINEFILES_SYNC_STATE_DeletedOnClient_DirChangedOnServer: OFFLINEFILES_SYNC_STATE = 37i32; -pub const OFFLINEFILES_SYNC_STATE_DeletedOnClient_DirOnServer: OFFLINEFILES_SYNC_STATE = 35i32; -pub const OFFLINEFILES_SYNC_STATE_DeletedOnClient_FileChangedOnServer: OFFLINEFILES_SYNC_STATE = 36i32; -pub const OFFLINEFILES_SYNC_STATE_DeletedOnClient_FileOnServer: OFFLINEFILES_SYNC_STATE = 34i32; -pub const OFFLINEFILES_SYNC_STATE_DirChangedOnClient: OFFLINEFILES_SYNC_STATE = 42i32; -pub const OFFLINEFILES_SYNC_STATE_DirChangedOnClient_ChangedOnServer: OFFLINEFILES_SYNC_STATE = 28i32; -pub const OFFLINEFILES_SYNC_STATE_DirChangedOnClient_DeletedOnServer: OFFLINEFILES_SYNC_STATE = 29i32; -pub const OFFLINEFILES_SYNC_STATE_DirChangedOnClient_FileChangedOnServer: OFFLINEFILES_SYNC_STATE = 27i32; -pub const OFFLINEFILES_SYNC_STATE_DirChangedOnClient_FileOnServer: OFFLINEFILES_SYNC_STATE = 26i32; -pub const OFFLINEFILES_SYNC_STATE_DirChangedOnServer: OFFLINEFILES_SYNC_STATE = 47i32; -pub const OFFLINEFILES_SYNC_STATE_DirCreatedOnClient_DeletedOnServer: OFFLINEFILES_SYNC_STATE = 25i32; -pub const OFFLINEFILES_SYNC_STATE_DirCreatedOnClient_DirChangedOnServer: OFFLINEFILES_SYNC_STATE = 24i32; -pub const OFFLINEFILES_SYNC_STATE_DirCreatedOnClient_DirOnServer: OFFLINEFILES_SYNC_STATE = 21i32; -pub const OFFLINEFILES_SYNC_STATE_DirCreatedOnClient_FileChangedOnServer: OFFLINEFILES_SYNC_STATE = 23i32; -pub const OFFLINEFILES_SYNC_STATE_DirCreatedOnClient_FileOnServer: OFFLINEFILES_SYNC_STATE = 22i32; -pub const OFFLINEFILES_SYNC_STATE_DirCreatedOnClient_NoServerCopy: OFFLINEFILES_SYNC_STATE = 20i32; -pub const OFFLINEFILES_SYNC_STATE_DirDeletedOnServer: OFFLINEFILES_SYNC_STATE = 49i32; -pub const OFFLINEFILES_SYNC_STATE_DirOnClient_FileChangedOnServer: OFFLINEFILES_SYNC_STATE = 4i32; -pub const OFFLINEFILES_SYNC_STATE_DirOnClient_FileOnServer: OFFLINEFILES_SYNC_STATE = 3i32; -pub const OFFLINEFILES_SYNC_STATE_DirOnClient_NoServerCopy: OFFLINEFILES_SYNC_STATE = 5i32; -pub const OFFLINEFILES_SYNC_STATE_DirRenamedOnClient: OFFLINEFILES_SYNC_STATE = 43i32; -pub const OFFLINEFILES_SYNC_STATE_DirRenamedOnServer: OFFLINEFILES_SYNC_STATE = 48i32; -pub const OFFLINEFILES_SYNC_STATE_DirSparseOnClient: OFFLINEFILES_SYNC_STATE = 41i32; -pub const OFFLINEFILES_SYNC_STATE_FileChangedOnClient: OFFLINEFILES_SYNC_STATE = 39i32; -pub const OFFLINEFILES_SYNC_STATE_FileChangedOnClient_ChangedOnServer: OFFLINEFILES_SYNC_STATE = 12i32; -pub const OFFLINEFILES_SYNC_STATE_FileChangedOnClient_DeletedOnServer: OFFLINEFILES_SYNC_STATE = 15i32; -pub const OFFLINEFILES_SYNC_STATE_FileChangedOnClient_DirChangedOnServer: OFFLINEFILES_SYNC_STATE = 14i32; -pub const OFFLINEFILES_SYNC_STATE_FileChangedOnClient_DirOnServer: OFFLINEFILES_SYNC_STATE = 13i32; -pub const OFFLINEFILES_SYNC_STATE_FileChangedOnServer: OFFLINEFILES_SYNC_STATE = 44i32; -pub const OFFLINEFILES_SYNC_STATE_FileCreatedOnClient_DeletedOnServer: OFFLINEFILES_SYNC_STATE = 11i32; -pub const OFFLINEFILES_SYNC_STATE_FileCreatedOnClient_DirChangedOnServer: OFFLINEFILES_SYNC_STATE = 8i32; -pub const OFFLINEFILES_SYNC_STATE_FileCreatedOnClient_DirOnServer: OFFLINEFILES_SYNC_STATE = 10i32; -pub const OFFLINEFILES_SYNC_STATE_FileCreatedOnClient_FileChangedOnServer: OFFLINEFILES_SYNC_STATE = 7i32; -pub const OFFLINEFILES_SYNC_STATE_FileCreatedOnClient_FileOnServer: OFFLINEFILES_SYNC_STATE = 9i32; -pub const OFFLINEFILES_SYNC_STATE_FileCreatedOnClient_NoServerCopy: OFFLINEFILES_SYNC_STATE = 6i32; -pub const OFFLINEFILES_SYNC_STATE_FileDeletedOnServer: OFFLINEFILES_SYNC_STATE = 46i32; -pub const OFFLINEFILES_SYNC_STATE_FileOnClient_DirOnServer: OFFLINEFILES_SYNC_STATE = 1i32; -pub const OFFLINEFILES_SYNC_STATE_FileOnClient_NoServerCopy: OFFLINEFILES_SYNC_STATE = 2i32; -pub const OFFLINEFILES_SYNC_STATE_FileRenamedOnClient: OFFLINEFILES_SYNC_STATE = 40i32; -pub const OFFLINEFILES_SYNC_STATE_FileRenamedOnServer: OFFLINEFILES_SYNC_STATE = 45i32; -pub const OFFLINEFILES_SYNC_STATE_FileReplacedAndDeletedOnClient_DirChangedOnServer: OFFLINEFILES_SYNC_STATE = 53i32; -pub const OFFLINEFILES_SYNC_STATE_FileReplacedAndDeletedOnClient_DirOnServer: OFFLINEFILES_SYNC_STATE = 52i32; -pub const OFFLINEFILES_SYNC_STATE_FileReplacedAndDeletedOnClient_FileChangedOnServer: OFFLINEFILES_SYNC_STATE = 51i32; -pub const OFFLINEFILES_SYNC_STATE_FileReplacedAndDeletedOnClient_FileOnServer: OFFLINEFILES_SYNC_STATE = 50i32; -pub const OFFLINEFILES_SYNC_STATE_FileSparseOnClient: OFFLINEFILES_SYNC_STATE = 38i32; -pub const OFFLINEFILES_SYNC_STATE_FileSparseOnClient_ChangedOnServer: OFFLINEFILES_SYNC_STATE = 16i32; -pub const OFFLINEFILES_SYNC_STATE_FileSparseOnClient_DeletedOnServer: OFFLINEFILES_SYNC_STATE = 17i32; -pub const OFFLINEFILES_SYNC_STATE_FileSparseOnClient_DirChangedOnServer: OFFLINEFILES_SYNC_STATE = 19i32; -pub const OFFLINEFILES_SYNC_STATE_FileSparseOnClient_DirOnServer: OFFLINEFILES_SYNC_STATE = 18i32; -pub const OFFLINEFILES_SYNC_STATE_LOCAL_KNOWN: u32 = 1u32; -pub const OFFLINEFILES_SYNC_STATE_NUMSTATES: OFFLINEFILES_SYNC_STATE = 54i32; -pub const OFFLINEFILES_SYNC_STATE_NoClientCopy_DirChangedOnServer: OFFLINEFILES_SYNC_STATE = 33i32; -pub const OFFLINEFILES_SYNC_STATE_NoClientCopy_DirOnServer: OFFLINEFILES_SYNC_STATE = 31i32; -pub const OFFLINEFILES_SYNC_STATE_NoClientCopy_FileChangedOnServer: OFFLINEFILES_SYNC_STATE = 32i32; -pub const OFFLINEFILES_SYNC_STATE_NoClientCopy_FileOnServer: OFFLINEFILES_SYNC_STATE = 30i32; -pub const OFFLINEFILES_SYNC_STATE_REMOTE_KNOWN: u32 = 2u32; -pub const OFFLINEFILES_SYNC_STATE_Stable: OFFLINEFILES_SYNC_STATE = 0i32; -pub const OFFLINEFILES_TRANSITION_FLAG_CONSOLE: u32 = 2u32; -pub const OFFLINEFILES_TRANSITION_FLAG_INTERACTIVE: u32 = 1u32; -pub const OfflineFilesCache: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x48c6be7c_3871_43cc_b46f_1449a1bb2ff3); -pub const OfflineFilesSetting: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xfd3659e9_a920_4123_ad64_7fc76c7aacdf); -pub type OFFLINEFILES_CACHING_MODE = i32; -pub type OFFLINEFILES_COMPARE = i32; -pub type OFFLINEFILES_CONNECT_STATE = i32; -pub type OFFLINEFILES_EVENTS = i32; -pub type OFFLINEFILES_ITEM_COPY = i32; -pub type OFFLINEFILES_ITEM_TIME = i32; -pub type OFFLINEFILES_ITEM_TYPE = i32; -pub type OFFLINEFILES_OFFLINE_REASON = i32; -pub type OFFLINEFILES_OP_RESPONSE = i32; -pub type OFFLINEFILES_PATHFILTER_MATCH = i32; -pub type OFFLINEFILES_SETTING_VALUE_TYPE = i32; -pub type OFFLINEFILES_SYNC_CONFLICT_RESOLVE = i32; -pub type OFFLINEFILES_SYNC_OPERATION = i32; -pub type OFFLINEFILES_SYNC_STATE = i32; diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/OperationRecorder/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/OperationRecorder/mod.rs deleted file mode 100644 index 41565ed..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Storage/OperationRecorder/mod.rs +++ /dev/null @@ -1,32 +0,0 @@ -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OperationEnd(operationendparams : *const OPERATION_END_PARAMETERS) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OperationStart(operationstartparams : *const OPERATION_START_PARAMETERS) -> super::super::Foundation:: BOOL); -pub const OPERATION_END_DISCARD: OPERATION_END_PARAMETERS_FLAGS = 1u32; -pub const OPERATION_START_TRACE_CURRENT_THREAD: OPERATION_START_FLAGS = 1u32; -pub type OPERATION_END_PARAMETERS_FLAGS = u32; -pub type OPERATION_START_FLAGS = u32; -#[repr(C)] -pub struct OPERATION_END_PARAMETERS { - pub Version: u32, - pub OperationId: u32, - pub Flags: OPERATION_END_PARAMETERS_FLAGS, -} -impl ::core::marker::Copy for OPERATION_END_PARAMETERS {} -impl ::core::clone::Clone for OPERATION_END_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct OPERATION_START_PARAMETERS { - pub Version: u32, - pub OperationId: u32, - pub Flags: OPERATION_START_FLAGS, -} -impl ::core::marker::Copy for OPERATION_START_PARAMETERS {} -impl ::core::clone::Clone for OPERATION_START_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/Packaging/Appx/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/Packaging/Appx/mod.rs deleted file mode 100644 index 6459626..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Storage/Packaging/Appx/mod.rs +++ /dev/null @@ -1,576 +0,0 @@ -::windows_targets::link!("kernel32.dll" "system" fn ActivatePackageVirtualizationContext(context : PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE, cookie : *mut usize) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("kernelbase.dll" "system" fn AddPackageDependency(packagedependencyid : ::windows_sys::core::PCWSTR, rank : i32, options : AddPackageDependencyOptions, packagedependencycontext : *mut PACKAGEDEPENDENCY_CONTEXT, packagefullname : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AppPolicyGetClrCompat(processtoken : super::super::super::Foundation:: HANDLE, policy : *mut AppPolicyClrCompat) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AppPolicyGetCreateFileAccess(processtoken : super::super::super::Foundation:: HANDLE, policy : *mut AppPolicyCreateFileAccess) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AppPolicyGetLifecycleManagement(processtoken : super::super::super::Foundation:: HANDLE, policy : *mut AppPolicyLifecycleManagement) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AppPolicyGetMediaFoundationCodecLoading(processtoken : super::super::super::Foundation:: HANDLE, policy : *mut AppPolicyMediaFoundationCodecLoading) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AppPolicyGetProcessTerminationMethod(processtoken : super::super::super::Foundation:: HANDLE, policy : *mut AppPolicyProcessTerminationMethod) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AppPolicyGetShowDeveloperDiagnostic(processtoken : super::super::super::Foundation:: HANDLE, policy : *mut AppPolicyShowDeveloperDiagnostic) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AppPolicyGetThreadInitializationType(processtoken : super::super::super::Foundation:: HANDLE, policy : *mut AppPolicyThreadInitializationType) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AppPolicyGetWindowingModel(processtoken : super::super::super::Foundation:: HANDLE, policy : *mut AppPolicyWindowingModel) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CheckIsMSIXPackage(packagefullname : ::windows_sys::core::PCWSTR, ismsixpackage : *mut super::super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ClosePackageInfo(packageinforeference : *const _PACKAGE_INFO_REFERENCE) -> super::super::super::Foundation:: WIN32_ERROR); -::windows_targets::link!("kernel32.dll" "system" fn CreatePackageVirtualizationContext(packagefamilyname : ::windows_sys::core::PCWSTR, context : *mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("kernel32.dll" "system" fn DeactivatePackageVirtualizationContext(cookie : usize) -> ()); -::windows_targets::link!("kernelbase.dll" "system" fn DeletePackageDependency(packagedependencyid : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("kernel32.dll" "system" fn DuplicatePackageVirtualizationContext(sourcecontext : PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE, destcontext : *mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindPackagesByPackageFamily(packagefamilyname : ::windows_sys::core::PCWSTR, packagefilters : u32, count : *mut u32, packagefullnames : *mut ::windows_sys::core::PWSTR, bufferlength : *mut u32, buffer : ::windows_sys::core::PWSTR, packageproperties : *mut u32) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FormatApplicationUserModelId(packagefamilyname : ::windows_sys::core::PCWSTR, packagerelativeapplicationid : ::windows_sys::core::PCWSTR, applicationusermodelidlength : *mut u32, applicationusermodelid : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetApplicationUserModelId(hprocess : super::super::super::Foundation:: HANDLE, applicationusermodelidlength : *mut u32, applicationusermodelid : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-appmodel-runtime-l1-1-1.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetApplicationUserModelIdFromToken(token : super::super::super::Foundation:: HANDLE, applicationusermodelidlength : *mut u32, applicationusermodelid : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCurrentApplicationUserModelId(applicationusermodelidlength : *mut u32, applicationusermodelid : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCurrentPackageFamilyName(packagefamilynamelength : *mut u32, packagefamilyname : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCurrentPackageFullName(packagefullnamelength : *mut u32, packagefullname : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCurrentPackageId(bufferlength : *mut u32, buffer : *mut u8) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCurrentPackageInfo(flags : u32, bufferlength : *mut u32, buffer : *mut u8, count : *mut u32) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-appmodel-runtime-l1-1-3.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCurrentPackageInfo2(flags : u32, packagepathtype : PackagePathType, bufferlength : *mut u32, buffer : *mut u8, count : *mut u32) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCurrentPackagePath(pathlength : *mut u32, path : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-appmodel-runtime-l1-1-3.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCurrentPackagePath2(packagepathtype : PackagePathType, pathlength : *mut u32, path : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -::windows_targets::link!("kernel32.dll" "system" fn GetCurrentPackageVirtualizationContext() -> PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE); -::windows_targets::link!("kernelbase.dll" "system" fn GetIdForPackageDependencyContext(packagedependencycontext : PACKAGEDEPENDENCY_CONTEXT, packagedependencyid : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetPackageApplicationIds(packageinforeference : *const _PACKAGE_INFO_REFERENCE, bufferlength : *mut u32, buffer : *mut u8, count : *mut u32) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetPackageFamilyName(hprocess : super::super::super::Foundation:: HANDLE, packagefamilynamelength : *mut u32, packagefamilyname : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-appmodel-runtime-l1-1-1.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetPackageFamilyNameFromToken(token : super::super::super::Foundation:: HANDLE, packagefamilynamelength : *mut u32, packagefamilyname : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetPackageFullName(hprocess : super::super::super::Foundation:: HANDLE, packagefullnamelength : *mut u32, packagefullname : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-appmodel-runtime-l1-1-1.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetPackageFullNameFromToken(token : super::super::super::Foundation:: HANDLE, packagefullnamelength : *mut u32, packagefullname : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -::windows_targets::link!("api-ms-win-appmodel-runtime-l1-1-6.dll" "system" fn GetPackageGraphRevisionId() -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetPackageId(hprocess : super::super::super::Foundation:: HANDLE, bufferlength : *mut u32, buffer : *mut u8) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetPackageInfo(packageinforeference : *const _PACKAGE_INFO_REFERENCE, flags : u32, bufferlength : *mut u32, buffer : *mut u8, count : *mut u32) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-appmodel-runtime-l1-1-3.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetPackageInfo2(packageinforeference : *const _PACKAGE_INFO_REFERENCE, flags : u32, packagepathtype : PackagePathType, bufferlength : *mut u32, buffer : *mut u8, count : *mut u32) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetPackagePath(packageid : *const PACKAGE_ID, reserved : u32, pathlength : *mut u32, path : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetPackagePathByFullName(packagefullname : ::windows_sys::core::PCWSTR, pathlength : *mut u32, path : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-appmodel-runtime-l1-1-3.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetPackagePathByFullName2(packagefullname : ::windows_sys::core::PCWSTR, packagepathtype : PackagePathType, pathlength : *mut u32, path : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetPackagesByPackageFamily(packagefamilyname : ::windows_sys::core::PCWSTR, count : *mut u32, packagefullnames : *mut ::windows_sys::core::PWSTR, bufferlength : *mut u32, buffer : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetProcessesInVirtualizationContext(packagefamilyname : ::windows_sys::core::PCWSTR, count : *mut u32, processes : *mut *mut super::super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("kernelbase.dll" "system" fn GetResolvedPackageFullNameForPackageDependency(packagedependencyid : ::windows_sys::core::PCWSTR, packagefullname : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-appmodel-runtime-l1-1-1.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetStagedPackageOrigin(packagefullname : ::windows_sys::core::PCWSTR, origin : *mut PackageOrigin) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetStagedPackagePathByFullName(packagefullname : ::windows_sys::core::PCWSTR, pathlength : *mut u32, path : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-appmodel-runtime-l1-1-3.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetStagedPackagePathByFullName2(packagefullname : ::windows_sys::core::PCWSTR, packagepathtype : PackagePathType, pathlength : *mut u32, path : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OpenPackageInfoByFullName(packagefullname : ::windows_sys::core::PCWSTR, reserved : u32, packageinforeference : *mut *mut _PACKAGE_INFO_REFERENCE) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-appmodel-runtime-l1-1-1.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OpenPackageInfoByFullNameForUser(usersid : super::super::super::Foundation:: PSID, packagefullname : ::windows_sys::core::PCWSTR, reserved : u32, packageinforeference : *mut *mut _PACKAGE_INFO_REFERENCE) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PackageFamilyNameFromFullName(packagefullname : ::windows_sys::core::PCWSTR, packagefamilynamelength : *mut u32, packagefamilyname : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PackageFamilyNameFromId(packageid : *const PACKAGE_ID, packagefamilynamelength : *mut u32, packagefamilyname : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PackageFullNameFromId(packageid : *const PACKAGE_ID, packagefullnamelength : *mut u32, packagefullname : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PackageIdFromFullName(packagefullname : ::windows_sys::core::PCWSTR, flags : u32, bufferlength : *mut u32, buffer : *mut u8) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PackageNameAndPublisherIdFromFamilyName(packagefamilyname : ::windows_sys::core::PCWSTR, packagenamelength : *mut u32, packagename : ::windows_sys::core::PWSTR, packagepublisheridlength : *mut u32, packagepublisherid : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ParseApplicationUserModelId(applicationusermodelid : ::windows_sys::core::PCWSTR, packagefamilynamelength : *mut u32, packagefamilyname : ::windows_sys::core::PWSTR, packagerelativeapplicationidlength : *mut u32, packagerelativeapplicationid : ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -::windows_targets::link!("kernel32.dll" "system" fn ReleasePackageVirtualizationContext(context : PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE) -> ()); -::windows_targets::link!("kernelbase.dll" "system" fn RemovePackageDependency(packagedependencycontext : PACKAGEDEPENDENCY_CONTEXT) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernelbase.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TryCreatePackageDependency(user : super::super::super::Foundation:: PSID, packagefamilyname : ::windows_sys::core::PCWSTR, minversion : PACKAGE_VERSION, packagedependencyprocessorarchitectures : PackageDependencyProcessorArchitectures, lifetimekind : PackageDependencyLifetimeKind, lifetimeartifact : ::windows_sys::core::PCWSTR, options : CreatePackageDependencyOptions, packagedependencyid : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-appmodel-runtime-l1-1-1.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VerifyApplicationUserModelId(applicationusermodelid : ::windows_sys::core::PCWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-appmodel-runtime-l1-1-1.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VerifyPackageFamilyName(packagefamilyname : ::windows_sys::core::PCWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-appmodel-runtime-l1-1-1.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VerifyPackageFullName(packagefullname : ::windows_sys::core::PCWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-appmodel-runtime-l1-1-1.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VerifyPackageId(packageid : *const PACKAGE_ID) -> super::super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("api-ms-win-appmodel-runtime-l1-1-1.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VerifyPackageRelativeApplicationId(packagerelativeapplicationid : ::windows_sys::core::PCWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -pub type IAppxAppInstallerReader = *mut ::core::ffi::c_void; -pub type IAppxBlockMapBlock = *mut ::core::ffi::c_void; -pub type IAppxBlockMapBlocksEnumerator = *mut ::core::ffi::c_void; -pub type IAppxBlockMapFile = *mut ::core::ffi::c_void; -pub type IAppxBlockMapFilesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxBlockMapReader = *mut ::core::ffi::c_void; -pub type IAppxBundleFactory = *mut ::core::ffi::c_void; -pub type IAppxBundleFactory2 = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestOptionalBundleInfo = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestOptionalBundleInfoEnumerator = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestPackageInfo = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestPackageInfo2 = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestPackageInfo3 = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestPackageInfo4 = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestPackageInfoEnumerator = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestReader = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestReader2 = *mut ::core::ffi::c_void; -pub type IAppxBundleReader = *mut ::core::ffi::c_void; -pub type IAppxBundleWriter = *mut ::core::ffi::c_void; -pub type IAppxBundleWriter2 = *mut ::core::ffi::c_void; -pub type IAppxBundleWriter3 = *mut ::core::ffi::c_void; -pub type IAppxBundleWriter4 = *mut ::core::ffi::c_void; -pub type IAppxContentGroup = *mut ::core::ffi::c_void; -pub type IAppxContentGroupFilesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxContentGroupMapReader = *mut ::core::ffi::c_void; -pub type IAppxContentGroupMapWriter = *mut ::core::ffi::c_void; -pub type IAppxContentGroupsEnumerator = *mut ::core::ffi::c_void; -pub type IAppxDigestProvider = *mut ::core::ffi::c_void; -pub type IAppxEncryptedBundleWriter = *mut ::core::ffi::c_void; -pub type IAppxEncryptedBundleWriter2 = *mut ::core::ffi::c_void; -pub type IAppxEncryptedBundleWriter3 = *mut ::core::ffi::c_void; -pub type IAppxEncryptedPackageWriter = *mut ::core::ffi::c_void; -pub type IAppxEncryptedPackageWriter2 = *mut ::core::ffi::c_void; -pub type IAppxEncryptionFactory = *mut ::core::ffi::c_void; -pub type IAppxEncryptionFactory2 = *mut ::core::ffi::c_void; -pub type IAppxEncryptionFactory3 = *mut ::core::ffi::c_void; -pub type IAppxEncryptionFactory4 = *mut ::core::ffi::c_void; -pub type IAppxEncryptionFactory5 = *mut ::core::ffi::c_void; -pub type IAppxFactory = *mut ::core::ffi::c_void; -pub type IAppxFactory2 = *mut ::core::ffi::c_void; -pub type IAppxFactory3 = *mut ::core::ffi::c_void; -pub type IAppxFile = *mut ::core::ffi::c_void; -pub type IAppxFilesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestApplication = *mut ::core::ffi::c_void; -pub type IAppxManifestApplicationsEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestCapabilitiesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestDeviceCapabilitiesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestDriverConstraint = *mut ::core::ffi::c_void; -pub type IAppxManifestDriverConstraintsEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestDriverDependenciesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestDriverDependency = *mut ::core::ffi::c_void; -pub type IAppxManifestHostRuntimeDependenciesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestHostRuntimeDependency = *mut ::core::ffi::c_void; -pub type IAppxManifestHostRuntimeDependency2 = *mut ::core::ffi::c_void; -pub type IAppxManifestMainPackageDependenciesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestMainPackageDependency = *mut ::core::ffi::c_void; -pub type IAppxManifestOSPackageDependenciesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestOSPackageDependency = *mut ::core::ffi::c_void; -pub type IAppxManifestOptionalPackageInfo = *mut ::core::ffi::c_void; -pub type IAppxManifestPackageDependenciesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestPackageDependency = *mut ::core::ffi::c_void; -pub type IAppxManifestPackageDependency2 = *mut ::core::ffi::c_void; -pub type IAppxManifestPackageDependency3 = *mut ::core::ffi::c_void; -pub type IAppxManifestPackageId = *mut ::core::ffi::c_void; -pub type IAppxManifestPackageId2 = *mut ::core::ffi::c_void; -pub type IAppxManifestProperties = *mut ::core::ffi::c_void; -pub type IAppxManifestQualifiedResource = *mut ::core::ffi::c_void; -pub type IAppxManifestQualifiedResourcesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestReader = *mut ::core::ffi::c_void; -pub type IAppxManifestReader2 = *mut ::core::ffi::c_void; -pub type IAppxManifestReader3 = *mut ::core::ffi::c_void; -pub type IAppxManifestReader4 = *mut ::core::ffi::c_void; -pub type IAppxManifestReader5 = *mut ::core::ffi::c_void; -pub type IAppxManifestReader6 = *mut ::core::ffi::c_void; -pub type IAppxManifestReader7 = *mut ::core::ffi::c_void; -pub type IAppxManifestResourcesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestTargetDeviceFamiliesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestTargetDeviceFamily = *mut ::core::ffi::c_void; -pub type IAppxPackageEditor = *mut ::core::ffi::c_void; -pub type IAppxPackageReader = *mut ::core::ffi::c_void; -pub type IAppxPackageWriter = *mut ::core::ffi::c_void; -pub type IAppxPackageWriter2 = *mut ::core::ffi::c_void; -pub type IAppxPackageWriter3 = *mut ::core::ffi::c_void; -pub type IAppxPackagingDiagnosticEventSink = *mut ::core::ffi::c_void; -pub type IAppxPackagingDiagnosticEventSinkManager = *mut ::core::ffi::c_void; -pub type IAppxSourceContentGroupMapReader = *mut ::core::ffi::c_void; -pub const APPX_BUNDLE_FOOTPRINT_FILE_TYPE_BLOCKMAP: APPX_BUNDLE_FOOTPRINT_FILE_TYPE = 1i32; -pub const APPX_BUNDLE_FOOTPRINT_FILE_TYPE_FIRST: APPX_BUNDLE_FOOTPRINT_FILE_TYPE = 0i32; -pub const APPX_BUNDLE_FOOTPRINT_FILE_TYPE_LAST: APPX_BUNDLE_FOOTPRINT_FILE_TYPE = 2i32; -pub const APPX_BUNDLE_FOOTPRINT_FILE_TYPE_MANIFEST: APPX_BUNDLE_FOOTPRINT_FILE_TYPE = 0i32; -pub const APPX_BUNDLE_FOOTPRINT_FILE_TYPE_SIGNATURE: APPX_BUNDLE_FOOTPRINT_FILE_TYPE = 2i32; -pub const APPX_BUNDLE_PAYLOAD_PACKAGE_TYPE_APPLICATION: APPX_BUNDLE_PAYLOAD_PACKAGE_TYPE = 0i32; -pub const APPX_BUNDLE_PAYLOAD_PACKAGE_TYPE_RESOURCE: APPX_BUNDLE_PAYLOAD_PACKAGE_TYPE = 1i32; -pub const APPX_CAPABILITY_APPOINTMENTS: APPX_CAPABILITIES = 1024i32; -pub const APPX_CAPABILITY_CLASS_ALL: APPX_CAPABILITY_CLASS_TYPE = 7i32; -pub const APPX_CAPABILITY_CLASS_CUSTOM: APPX_CAPABILITY_CLASS_TYPE = 8i32; -pub const APPX_CAPABILITY_CLASS_DEFAULT: APPX_CAPABILITY_CLASS_TYPE = 0i32; -pub const APPX_CAPABILITY_CLASS_GENERAL: APPX_CAPABILITY_CLASS_TYPE = 1i32; -pub const APPX_CAPABILITY_CLASS_RESTRICTED: APPX_CAPABILITY_CLASS_TYPE = 2i32; -pub const APPX_CAPABILITY_CLASS_WINDOWS: APPX_CAPABILITY_CLASS_TYPE = 4i32; -pub const APPX_CAPABILITY_CONTACTS: APPX_CAPABILITIES = 2048i32; -pub const APPX_CAPABILITY_DOCUMENTS_LIBRARY: APPX_CAPABILITIES = 8i32; -pub const APPX_CAPABILITY_ENTERPRISE_AUTHENTICATION: APPX_CAPABILITIES = 128i32; -pub const APPX_CAPABILITY_INTERNET_CLIENT: APPX_CAPABILITIES = 1i32; -pub const APPX_CAPABILITY_INTERNET_CLIENT_SERVER: APPX_CAPABILITIES = 2i32; -pub const APPX_CAPABILITY_MUSIC_LIBRARY: APPX_CAPABILITIES = 64i32; -pub const APPX_CAPABILITY_PICTURES_LIBRARY: APPX_CAPABILITIES = 16i32; -pub const APPX_CAPABILITY_PRIVATE_NETWORK_CLIENT_SERVER: APPX_CAPABILITIES = 4i32; -pub const APPX_CAPABILITY_REMOVABLE_STORAGE: APPX_CAPABILITIES = 512i32; -pub const APPX_CAPABILITY_SHARED_USER_CERTIFICATES: APPX_CAPABILITIES = 256i32; -pub const APPX_CAPABILITY_VIDEOS_LIBRARY: APPX_CAPABILITIES = 32i32; -pub const APPX_COMPRESSION_OPTION_FAST: APPX_COMPRESSION_OPTION = 3i32; -pub const APPX_COMPRESSION_OPTION_MAXIMUM: APPX_COMPRESSION_OPTION = 2i32; -pub const APPX_COMPRESSION_OPTION_NONE: APPX_COMPRESSION_OPTION = 0i32; -pub const APPX_COMPRESSION_OPTION_NORMAL: APPX_COMPRESSION_OPTION = 1i32; -pub const APPX_COMPRESSION_OPTION_SUPERFAST: APPX_COMPRESSION_OPTION = 4i32; -pub const APPX_ENCRYPTED_PACKAGE_OPTION_DIFFUSION: APPX_ENCRYPTED_PACKAGE_OPTIONS = 1i32; -pub const APPX_ENCRYPTED_PACKAGE_OPTION_NONE: APPX_ENCRYPTED_PACKAGE_OPTIONS = 0i32; -pub const APPX_ENCRYPTED_PACKAGE_OPTION_PAGE_HASHING: APPX_ENCRYPTED_PACKAGE_OPTIONS = 2i32; -pub const APPX_FOOTPRINT_FILE_TYPE_BLOCKMAP: APPX_FOOTPRINT_FILE_TYPE = 1i32; -pub const APPX_FOOTPRINT_FILE_TYPE_CODEINTEGRITY: APPX_FOOTPRINT_FILE_TYPE = 3i32; -pub const APPX_FOOTPRINT_FILE_TYPE_CONTENTGROUPMAP: APPX_FOOTPRINT_FILE_TYPE = 4i32; -pub const APPX_FOOTPRINT_FILE_TYPE_MANIFEST: APPX_FOOTPRINT_FILE_TYPE = 0i32; -pub const APPX_FOOTPRINT_FILE_TYPE_SIGNATURE: APPX_FOOTPRINT_FILE_TYPE = 2i32; -pub const APPX_PACKAGE_ARCHITECTURE2_ARM: APPX_PACKAGE_ARCHITECTURE2 = 5i32; -pub const APPX_PACKAGE_ARCHITECTURE2_ARM64: APPX_PACKAGE_ARCHITECTURE2 = 12i32; -pub const APPX_PACKAGE_ARCHITECTURE2_NEUTRAL: APPX_PACKAGE_ARCHITECTURE2 = 11i32; -pub const APPX_PACKAGE_ARCHITECTURE2_UNKNOWN: APPX_PACKAGE_ARCHITECTURE2 = 65535i32; -pub const APPX_PACKAGE_ARCHITECTURE2_X64: APPX_PACKAGE_ARCHITECTURE2 = 9i32; -pub const APPX_PACKAGE_ARCHITECTURE2_X86: APPX_PACKAGE_ARCHITECTURE2 = 0i32; -pub const APPX_PACKAGE_ARCHITECTURE2_X86_ON_ARM64: APPX_PACKAGE_ARCHITECTURE2 = 14i32; -pub const APPX_PACKAGE_ARCHITECTURE_ARM: APPX_PACKAGE_ARCHITECTURE = 5i32; -pub const APPX_PACKAGE_ARCHITECTURE_ARM64: APPX_PACKAGE_ARCHITECTURE = 12i32; -pub const APPX_PACKAGE_ARCHITECTURE_NEUTRAL: APPX_PACKAGE_ARCHITECTURE = 11i32; -pub const APPX_PACKAGE_ARCHITECTURE_X64: APPX_PACKAGE_ARCHITECTURE = 9i32; -pub const APPX_PACKAGE_ARCHITECTURE_X86: APPX_PACKAGE_ARCHITECTURE = 0i32; -pub const APPX_PACKAGE_EDITOR_UPDATE_PACKAGE_MANIFEST_OPTION_LOCALIZED: APPX_PACKAGE_EDITOR_UPDATE_PACKAGE_MANIFEST_OPTIONS = 2i32; -pub const APPX_PACKAGE_EDITOR_UPDATE_PACKAGE_MANIFEST_OPTION_NONE: APPX_PACKAGE_EDITOR_UPDATE_PACKAGE_MANIFEST_OPTIONS = 0i32; -pub const APPX_PACKAGE_EDITOR_UPDATE_PACKAGE_MANIFEST_OPTION_SKIP_VALIDATION: APPX_PACKAGE_EDITOR_UPDATE_PACKAGE_MANIFEST_OPTIONS = 1i32; -pub const APPX_PACKAGE_EDITOR_UPDATE_PACKAGE_OPTION_APPEND_DELTA: APPX_PACKAGE_EDITOR_UPDATE_PACKAGE_OPTION = 0i32; -pub const APPX_PACKAGING_CONTEXT_CHANGE_TYPE_CHANGE: APPX_PACKAGING_CONTEXT_CHANGE_TYPE = 1i32; -pub const APPX_PACKAGING_CONTEXT_CHANGE_TYPE_DETAILS: APPX_PACKAGING_CONTEXT_CHANGE_TYPE = 2i32; -pub const APPX_PACKAGING_CONTEXT_CHANGE_TYPE_END: APPX_PACKAGING_CONTEXT_CHANGE_TYPE = 3i32; -pub const APPX_PACKAGING_CONTEXT_CHANGE_TYPE_START: APPX_PACKAGING_CONTEXT_CHANGE_TYPE = 0i32; -pub const AddPackageDependencyOptions_None: AddPackageDependencyOptions = 0i32; -pub const AddPackageDependencyOptions_PrependIfRankCollision: AddPackageDependencyOptions = 1i32; -pub const AppPolicyClrCompat_ClassicDesktop: AppPolicyClrCompat = 1i32; -pub const AppPolicyClrCompat_Other: AppPolicyClrCompat = 0i32; -pub const AppPolicyClrCompat_PackagedDesktop: AppPolicyClrCompat = 3i32; -pub const AppPolicyClrCompat_Universal: AppPolicyClrCompat = 2i32; -pub const AppPolicyCreateFileAccess_Full: AppPolicyCreateFileAccess = 0i32; -pub const AppPolicyCreateFileAccess_Limited: AppPolicyCreateFileAccess = 1i32; -pub const AppPolicyLifecycleManagement_Managed: AppPolicyLifecycleManagement = 1i32; -pub const AppPolicyLifecycleManagement_Unmanaged: AppPolicyLifecycleManagement = 0i32; -pub const AppPolicyMediaFoundationCodecLoading_All: AppPolicyMediaFoundationCodecLoading = 0i32; -pub const AppPolicyMediaFoundationCodecLoading_InboxOnly: AppPolicyMediaFoundationCodecLoading = 1i32; -pub const AppPolicyProcessTerminationMethod_ExitProcess: AppPolicyProcessTerminationMethod = 0i32; -pub const AppPolicyProcessTerminationMethod_TerminateProcess: AppPolicyProcessTerminationMethod = 1i32; -pub const AppPolicyShowDeveloperDiagnostic_None: AppPolicyShowDeveloperDiagnostic = 0i32; -pub const AppPolicyShowDeveloperDiagnostic_ShowUI: AppPolicyShowDeveloperDiagnostic = 1i32; -pub const AppPolicyThreadInitializationType_InitializeWinRT: AppPolicyThreadInitializationType = 1i32; -pub const AppPolicyThreadInitializationType_None: AppPolicyThreadInitializationType = 0i32; -pub const AppPolicyWindowingModel_ClassicDesktop: AppPolicyWindowingModel = 2i32; -pub const AppPolicyWindowingModel_ClassicPhone: AppPolicyWindowingModel = 3i32; -pub const AppPolicyWindowingModel_None: AppPolicyWindowingModel = 0i32; -pub const AppPolicyWindowingModel_Universal: AppPolicyWindowingModel = 1i32; -pub const AppxBundleFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x378e0446_5384_43b7_8877_e7dbdd883446); -pub const AppxEncryptionFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdc664fdd_d868_46ee_8780_8d196cb739f7); -pub const AppxFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5842a140_ff9f_4166_8f5c_62f5b7b0c781); -pub const AppxPackageEditor: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf004f2ca_aebc_4b0d_bf58_e516d5bcc0ab); -pub const AppxPackagingDiagnosticEventSinkManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x50ca0a46_1588_4161_8ed2_ef9e469ced5d); -pub const CreatePackageDependencyOptions_DoNotVerifyDependencyResolution: CreatePackageDependencyOptions = 1i32; -pub const CreatePackageDependencyOptions_None: CreatePackageDependencyOptions = 0i32; -pub const CreatePackageDependencyOptions_ScopeIsSystem: CreatePackageDependencyOptions = 2i32; -pub const DX_FEATURE_LEVEL_10: DX_FEATURE_LEVEL = 2i32; -pub const DX_FEATURE_LEVEL_11: DX_FEATURE_LEVEL = 3i32; -pub const DX_FEATURE_LEVEL_9: DX_FEATURE_LEVEL = 1i32; -pub const DX_FEATURE_LEVEL_UNSPECIFIED: DX_FEATURE_LEVEL = 0i32; -pub const PACKAGE_DEPENDENCY_RANK_DEFAULT: u32 = 0u32; -pub const PACKAGE_FILTER_ALL_LOADED: u32 = 0u32; -pub const PACKAGE_FILTER_BUNDLE: u32 = 128u32; -pub const PACKAGE_FILTER_DIRECT: u32 = 32u32; -pub const PACKAGE_FILTER_DYNAMIC: u32 = 1048576u32; -pub const PACKAGE_FILTER_HEAD: u32 = 16u32; -pub const PACKAGE_FILTER_HOSTRUNTIME: u32 = 2097152u32; -pub const PACKAGE_FILTER_IS_IN_RELATED_SET: u32 = 262144u32; -pub const PACKAGE_FILTER_OPTIONAL: u32 = 131072u32; -pub const PACKAGE_FILTER_RESOURCE: u32 = 64u32; -pub const PACKAGE_FILTER_STATIC: u32 = 524288u32; -pub const PACKAGE_INFORMATION_BASIC: u32 = 0u32; -pub const PACKAGE_INFORMATION_FULL: u32 = 256u32; -pub const PACKAGE_PROPERTY_BUNDLE: u32 = 4u32; -pub const PACKAGE_PROPERTY_DEVELOPMENT_MODE: u32 = 65536u32; -pub const PACKAGE_PROPERTY_DYNAMIC: u32 = 1048576u32; -pub const PACKAGE_PROPERTY_FRAMEWORK: u32 = 1u32; -pub const PACKAGE_PROPERTY_HOSTRUNTIME: u32 = 2097152u32; -pub const PACKAGE_PROPERTY_IS_IN_RELATED_SET: u32 = 262144u32; -pub const PACKAGE_PROPERTY_OPTIONAL: u32 = 8u32; -pub const PACKAGE_PROPERTY_RESOURCE: u32 = 2u32; -pub const PACKAGE_PROPERTY_STATIC: u32 = 524288u32; -pub const PackageDependencyLifetimeKind_FilePath: PackageDependencyLifetimeKind = 1i32; -pub const PackageDependencyLifetimeKind_Process: PackageDependencyLifetimeKind = 0i32; -pub const PackageDependencyLifetimeKind_RegistryKey: PackageDependencyLifetimeKind = 2i32; -pub const PackageDependencyProcessorArchitectures_Arm: PackageDependencyProcessorArchitectures = 8i32; -pub const PackageDependencyProcessorArchitectures_Arm64: PackageDependencyProcessorArchitectures = 16i32; -pub const PackageDependencyProcessorArchitectures_Neutral: PackageDependencyProcessorArchitectures = 1i32; -pub const PackageDependencyProcessorArchitectures_None: PackageDependencyProcessorArchitectures = 0i32; -pub const PackageDependencyProcessorArchitectures_X64: PackageDependencyProcessorArchitectures = 4i32; -pub const PackageDependencyProcessorArchitectures_X86: PackageDependencyProcessorArchitectures = 2i32; -pub const PackageDependencyProcessorArchitectures_X86A64: PackageDependencyProcessorArchitectures = 32i32; -pub const PackageOrigin_DeveloperSigned: PackageOrigin = 5i32; -pub const PackageOrigin_DeveloperUnsigned: PackageOrigin = 4i32; -pub const PackageOrigin_Inbox: PackageOrigin = 2i32; -pub const PackageOrigin_LineOfBusiness: PackageOrigin = 6i32; -pub const PackageOrigin_Store: PackageOrigin = 3i32; -pub const PackageOrigin_Unknown: PackageOrigin = 0i32; -pub const PackageOrigin_Unsigned: PackageOrigin = 1i32; -pub const PackagePathType_Effective: PackagePathType = 2i32; -pub const PackagePathType_EffectiveExternal: PackagePathType = 5i32; -pub const PackagePathType_Install: PackagePathType = 0i32; -pub const PackagePathType_MachineExternal: PackagePathType = 3i32; -pub const PackagePathType_Mutable: PackagePathType = 1i32; -pub const PackagePathType_UserExternal: PackagePathType = 4i32; -pub type APPX_BUNDLE_FOOTPRINT_FILE_TYPE = i32; -pub type APPX_BUNDLE_PAYLOAD_PACKAGE_TYPE = i32; -pub type APPX_CAPABILITIES = i32; -pub type APPX_CAPABILITY_CLASS_TYPE = i32; -pub type APPX_COMPRESSION_OPTION = i32; -pub type APPX_ENCRYPTED_PACKAGE_OPTIONS = i32; -pub type APPX_FOOTPRINT_FILE_TYPE = i32; -pub type APPX_PACKAGE_ARCHITECTURE = i32; -pub type APPX_PACKAGE_ARCHITECTURE2 = i32; -pub type APPX_PACKAGE_EDITOR_UPDATE_PACKAGE_MANIFEST_OPTIONS = i32; -pub type APPX_PACKAGE_EDITOR_UPDATE_PACKAGE_OPTION = i32; -pub type APPX_PACKAGING_CONTEXT_CHANGE_TYPE = i32; -pub type AddPackageDependencyOptions = i32; -pub type AppPolicyClrCompat = i32; -pub type AppPolicyCreateFileAccess = i32; -pub type AppPolicyLifecycleManagement = i32; -pub type AppPolicyMediaFoundationCodecLoading = i32; -pub type AppPolicyProcessTerminationMethod = i32; -pub type AppPolicyShowDeveloperDiagnostic = i32; -pub type AppPolicyThreadInitializationType = i32; -pub type AppPolicyWindowingModel = i32; -pub type CreatePackageDependencyOptions = i32; -pub type DX_FEATURE_LEVEL = i32; -pub type PackageDependencyLifetimeKind = i32; -pub type PackageDependencyProcessorArchitectures = i32; -pub type PackageOrigin = i32; -pub type PackagePathType = i32; -#[repr(C)] -pub struct APPX_ENCRYPTED_EXEMPTIONS { - pub count: u32, - pub plainTextFiles: *const ::windows_sys::core::PCWSTR, -} -impl ::core::marker::Copy for APPX_ENCRYPTED_EXEMPTIONS {} -impl ::core::clone::Clone for APPX_ENCRYPTED_EXEMPTIONS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -pub struct APPX_ENCRYPTED_PACKAGE_SETTINGS { - pub keyLength: u32, - pub encryptionAlgorithm: ::windows_sys::core::PCWSTR, - pub useDiffusion: super::super::super::Foundation::BOOL, - pub blockMapHashAlgorithm: super::super::super::System::Com::IUri, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::core::marker::Copy for APPX_ENCRYPTED_PACKAGE_SETTINGS {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::core::clone::Clone for APPX_ENCRYPTED_PACKAGE_SETTINGS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] -pub struct APPX_ENCRYPTED_PACKAGE_SETTINGS2 { - pub keyLength: u32, - pub encryptionAlgorithm: ::windows_sys::core::PCWSTR, - pub blockMapHashAlgorithm: super::super::super::System::Com::IUri, - pub options: u32, -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::marker::Copy for APPX_ENCRYPTED_PACKAGE_SETTINGS2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for APPX_ENCRYPTED_PACKAGE_SETTINGS2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct APPX_KEY_INFO { - pub keyLength: u32, - pub keyIdLength: u32, - pub key: *mut u8, - pub keyId: *mut u8, -} -impl ::core::marker::Copy for APPX_KEY_INFO {} -impl ::core::clone::Clone for APPX_KEY_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -pub struct APPX_PACKAGE_SETTINGS { - pub forceZip32: super::super::super::Foundation::BOOL, - pub hashMethod: super::super::super::System::Com::IUri, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::core::marker::Copy for APPX_PACKAGE_SETTINGS {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::core::clone::Clone for APPX_PACKAGE_SETTINGS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] -pub struct APPX_PACKAGE_WRITER_PAYLOAD_STREAM { - pub inputStream: super::super::super::System::Com::IStream, - pub fileName: ::windows_sys::core::PCWSTR, - pub contentType: ::windows_sys::core::PCWSTR, - pub compressionOption: APPX_COMPRESSION_OPTION, -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::marker::Copy for APPX_PACKAGE_WRITER_PAYLOAD_STREAM {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for APPX_PACKAGE_WRITER_PAYLOAD_STREAM { - fn clone(&self) -> Self { - *self - } -} -pub type PACKAGEDEPENDENCY_CONTEXT = isize; -#[repr(C, packed(4))] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct PACKAGE_ID { - pub reserved: u32, - pub processorArchitecture: u32, - pub version: PACKAGE_VERSION, - pub name: ::windows_sys::core::PWSTR, - pub publisher: ::windows_sys::core::PWSTR, - pub resourceId: ::windows_sys::core::PWSTR, - pub publisherId: ::windows_sys::core::PWSTR, -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for PACKAGE_ID {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for PACKAGE_ID { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(target_arch = "x86")] -pub struct PACKAGE_ID { - pub reserved: u32, - pub processorArchitecture: u32, - pub version: PACKAGE_VERSION, - pub name: ::windows_sys::core::PWSTR, - pub publisher: ::windows_sys::core::PWSTR, - pub resourceId: ::windows_sys::core::PWSTR, - pub publisherId: ::windows_sys::core::PWSTR, -} -#[cfg(target_arch = "x86")] -impl ::core::marker::Copy for PACKAGE_ID {} -#[cfg(target_arch = "x86")] -impl ::core::clone::Clone for PACKAGE_ID { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(4))] -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -pub struct PACKAGE_INFO { - pub reserved: u32, - pub flags: u32, - pub path: ::windows_sys::core::PWSTR, - pub packageFullName: ::windows_sys::core::PWSTR, - pub packageFamilyName: ::windows_sys::core::PWSTR, - pub packageId: PACKAGE_ID, -} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::marker::Copy for PACKAGE_INFO {} -#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -impl ::core::clone::Clone for PACKAGE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(target_arch = "x86")] -pub struct PACKAGE_INFO { - pub reserved: u32, - pub flags: u32, - pub path: ::windows_sys::core::PWSTR, - pub packageFullName: ::windows_sys::core::PWSTR, - pub packageFamilyName: ::windows_sys::core::PWSTR, - pub packageId: PACKAGE_ID, -} -#[cfg(target_arch = "x86")] -impl ::core::marker::Copy for PACKAGE_INFO {} -#[cfg(target_arch = "x86")] -impl ::core::clone::Clone for PACKAGE_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct PACKAGE_VERSION { - pub Anonymous: PACKAGE_VERSION_0, -} -impl ::core::marker::Copy for PACKAGE_VERSION {} -impl ::core::clone::Clone for PACKAGE_VERSION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C, packed(4))] -pub union PACKAGE_VERSION_0 { - pub Version: u64, - pub Anonymous: PACKAGE_VERSION_0_0, -} -impl ::core::marker::Copy for PACKAGE_VERSION_0 {} -impl ::core::clone::Clone for PACKAGE_VERSION_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct PACKAGE_VERSION_0_0 { - pub Revision: u16, - pub Build: u16, - pub Minor: u16, - pub Major: u16, -} -impl ::core::marker::Copy for PACKAGE_VERSION_0_0 {} -impl ::core::clone::Clone for PACKAGE_VERSION_0_0 { - fn clone(&self) -> Self { - *self - } -} -pub type PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE = isize; -#[repr(C)] -pub struct _PACKAGE_INFO_REFERENCE { - pub reserved: *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for _PACKAGE_INFO_REFERENCE {} -impl ::core::clone::Clone for _PACKAGE_INFO_REFERENCE { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/Packaging/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/Packaging/mod.rs deleted file mode 100644 index c48359e..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Storage/Packaging/mod.rs +++ /dev/null @@ -1,3 +0,0 @@ -#[cfg(feature = "Win32_Storage_Packaging_Appx")] -#[doc = "Required features: `\"Win32_Storage_Packaging_Appx\"`"] -pub mod Appx; diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs deleted file mode 100644 index 76a5ad3..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs +++ /dev/null @@ -1,406 +0,0 @@ -::windows_targets::link!("projectedfslib.dll" "system" fn PrjAllocateAlignedBuffer(namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, size : usize) -> *mut ::core::ffi::c_void); -::windows_targets::link!("projectedfslib.dll" "system" fn PrjClearNegativePathCache(namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, totalentrynumber : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("projectedfslib.dll" "system" fn PrjCompleteCommand(namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, commandid : i32, completionresult : ::windows_sys::core::HRESULT, extendedparameters : *const PRJ_COMPLETE_COMMAND_EXTENDED_PARAMETERS) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("projectedfslib.dll" "system" fn PrjDeleteFile(namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, destinationfilename : ::windows_sys::core::PCWSTR, updateflags : PRJ_UPDATE_TYPES, failurereason : *mut PRJ_UPDATE_FAILURE_CAUSES) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("projectedfslib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrjDoesNameContainWildCards(filename : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOLEAN); -::windows_targets::link!("projectedfslib.dll" "system" fn PrjFileNameCompare(filename1 : ::windows_sys::core::PCWSTR, filename2 : ::windows_sys::core::PCWSTR) -> i32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("projectedfslib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrjFileNameMatch(filenametocheck : ::windows_sys::core::PCWSTR, pattern : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOLEAN); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("projectedfslib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrjFillDirEntryBuffer(filename : ::windows_sys::core::PCWSTR, filebasicinfo : *const PRJ_FILE_BASIC_INFO, direntrybufferhandle : PRJ_DIR_ENTRY_BUFFER_HANDLE) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("projectedfslib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrjFillDirEntryBuffer2(direntrybufferhandle : PRJ_DIR_ENTRY_BUFFER_HANDLE, filename : ::windows_sys::core::PCWSTR, filebasicinfo : *const PRJ_FILE_BASIC_INFO, extendedinfo : *const PRJ_EXTENDED_INFO) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("projectedfslib.dll" "system" fn PrjFreeAlignedBuffer(buffer : *const ::core::ffi::c_void) -> ()); -::windows_targets::link!("projectedfslib.dll" "system" fn PrjGetOnDiskFileState(destinationfilename : ::windows_sys::core::PCWSTR, filestate : *mut PRJ_FILE_STATE) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("projectedfslib.dll" "system" fn PrjGetVirtualizationInstanceInfo(namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, virtualizationinstanceinfo : *mut PRJ_VIRTUALIZATION_INSTANCE_INFO) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("projectedfslib.dll" "system" fn PrjMarkDirectoryAsPlaceholder(rootpathname : ::windows_sys::core::PCWSTR, targetpathname : ::windows_sys::core::PCWSTR, versioninfo : *const PRJ_PLACEHOLDER_VERSION_INFO, virtualizationinstanceid : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("projectedfslib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrjStartVirtualizing(virtualizationrootpath : ::windows_sys::core::PCWSTR, callbacks : *const PRJ_CALLBACKS, instancecontext : *const ::core::ffi::c_void, options : *const PRJ_STARTVIRTUALIZING_OPTIONS, namespacevirtualizationcontext : *mut PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("projectedfslib.dll" "system" fn PrjStopVirtualizing(namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT) -> ()); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("projectedfslib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrjUpdateFileIfNeeded(namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, destinationfilename : ::windows_sys::core::PCWSTR, placeholderinfo : *const PRJ_PLACEHOLDER_INFO, placeholderinfosize : u32, updateflags : PRJ_UPDATE_TYPES, failurereason : *mut PRJ_UPDATE_FAILURE_CAUSES) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("projectedfslib.dll" "system" fn PrjWriteFileData(namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, datastreamid : *const ::windows_sys::core::GUID, buffer : *const ::core::ffi::c_void, byteoffset : u64, length : u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("projectedfslib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrjWritePlaceholderInfo(namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, destinationfilename : ::windows_sys::core::PCWSTR, placeholderinfo : *const PRJ_PLACEHOLDER_INFO, placeholderinfosize : u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("projectedfslib.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrjWritePlaceholderInfo2(namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, destinationfilename : ::windows_sys::core::PCWSTR, placeholderinfo : *const PRJ_PLACEHOLDER_INFO, placeholderinfosize : u32, extendedinfo : *const PRJ_EXTENDED_INFO) -> ::windows_sys::core::HRESULT); -pub const PRJ_CB_DATA_FLAG_ENUM_RESTART_SCAN: PRJ_CALLBACK_DATA_FLAGS = 1i32; -pub const PRJ_CB_DATA_FLAG_ENUM_RETURN_SINGLE_ENTRY: PRJ_CALLBACK_DATA_FLAGS = 2i32; -pub const PRJ_COMPLETE_COMMAND_TYPE_ENUMERATION: PRJ_COMPLETE_COMMAND_TYPE = 2i32; -pub const PRJ_COMPLETE_COMMAND_TYPE_NOTIFICATION: PRJ_COMPLETE_COMMAND_TYPE = 1i32; -pub const PRJ_EXT_INFO_TYPE_SYMLINK: PRJ_EXT_INFO_TYPE = 1i32; -pub const PRJ_FILE_STATE_DIRTY_PLACEHOLDER: PRJ_FILE_STATE = 4i32; -pub const PRJ_FILE_STATE_FULL: PRJ_FILE_STATE = 8i32; -pub const PRJ_FILE_STATE_HYDRATED_PLACEHOLDER: PRJ_FILE_STATE = 2i32; -pub const PRJ_FILE_STATE_PLACEHOLDER: PRJ_FILE_STATE = 1i32; -pub const PRJ_FILE_STATE_TOMBSTONE: PRJ_FILE_STATE = 16i32; -pub const PRJ_FLAG_NONE: PRJ_STARTVIRTUALIZING_FLAGS = 0i32; -pub const PRJ_FLAG_USE_NEGATIVE_PATH_CACHE: PRJ_STARTVIRTUALIZING_FLAGS = 1i32; -pub const PRJ_NOTIFICATION_FILE_HANDLE_CLOSED_FILE_DELETED: PRJ_NOTIFICATION = 2048i32; -pub const PRJ_NOTIFICATION_FILE_HANDLE_CLOSED_FILE_MODIFIED: PRJ_NOTIFICATION = 1024i32; -pub const PRJ_NOTIFICATION_FILE_HANDLE_CLOSED_NO_MODIFICATION: PRJ_NOTIFICATION = 512i32; -pub const PRJ_NOTIFICATION_FILE_OPENED: PRJ_NOTIFICATION = 2i32; -pub const PRJ_NOTIFICATION_FILE_OVERWRITTEN: PRJ_NOTIFICATION = 8i32; -pub const PRJ_NOTIFICATION_FILE_PRE_CONVERT_TO_FULL: PRJ_NOTIFICATION = 4096i32; -pub const PRJ_NOTIFICATION_FILE_RENAMED: PRJ_NOTIFICATION = 128i32; -pub const PRJ_NOTIFICATION_HARDLINK_CREATED: PRJ_NOTIFICATION = 256i32; -pub const PRJ_NOTIFICATION_NEW_FILE_CREATED: PRJ_NOTIFICATION = 4i32; -pub const PRJ_NOTIFICATION_PRE_DELETE: PRJ_NOTIFICATION = 16i32; -pub const PRJ_NOTIFICATION_PRE_RENAME: PRJ_NOTIFICATION = 32i32; -pub const PRJ_NOTIFICATION_PRE_SET_HARDLINK: PRJ_NOTIFICATION = 64i32; -pub const PRJ_NOTIFY_FILE_HANDLE_CLOSED_FILE_DELETED: PRJ_NOTIFY_TYPES = 2048u32; -pub const PRJ_NOTIFY_FILE_HANDLE_CLOSED_FILE_MODIFIED: PRJ_NOTIFY_TYPES = 1024u32; -pub const PRJ_NOTIFY_FILE_HANDLE_CLOSED_NO_MODIFICATION: PRJ_NOTIFY_TYPES = 512u32; -pub const PRJ_NOTIFY_FILE_OPENED: PRJ_NOTIFY_TYPES = 2u32; -pub const PRJ_NOTIFY_FILE_OVERWRITTEN: PRJ_NOTIFY_TYPES = 8u32; -pub const PRJ_NOTIFY_FILE_PRE_CONVERT_TO_FULL: PRJ_NOTIFY_TYPES = 4096u32; -pub const PRJ_NOTIFY_FILE_RENAMED: PRJ_NOTIFY_TYPES = 128u32; -pub const PRJ_NOTIFY_HARDLINK_CREATED: PRJ_NOTIFY_TYPES = 256u32; -pub const PRJ_NOTIFY_NEW_FILE_CREATED: PRJ_NOTIFY_TYPES = 4u32; -pub const PRJ_NOTIFY_NONE: PRJ_NOTIFY_TYPES = 0u32; -pub const PRJ_NOTIFY_PRE_DELETE: PRJ_NOTIFY_TYPES = 16u32; -pub const PRJ_NOTIFY_PRE_RENAME: PRJ_NOTIFY_TYPES = 32u32; -pub const PRJ_NOTIFY_PRE_SET_HARDLINK: PRJ_NOTIFY_TYPES = 64u32; -pub const PRJ_NOTIFY_SUPPRESS_NOTIFICATIONS: PRJ_NOTIFY_TYPES = 1u32; -pub const PRJ_NOTIFY_USE_EXISTING_MASK: PRJ_NOTIFY_TYPES = 4294967295u32; -pub const PRJ_PLACEHOLDER_ID_LENGTH: PRJ_PLACEHOLDER_ID = 128i32; -pub const PRJ_UPDATE_ALLOW_DIRTY_DATA: PRJ_UPDATE_TYPES = 2i32; -pub const PRJ_UPDATE_ALLOW_DIRTY_METADATA: PRJ_UPDATE_TYPES = 1i32; -pub const PRJ_UPDATE_ALLOW_READ_ONLY: PRJ_UPDATE_TYPES = 32i32; -pub const PRJ_UPDATE_ALLOW_TOMBSTONE: PRJ_UPDATE_TYPES = 4i32; -pub const PRJ_UPDATE_FAILURE_CAUSE_DIRTY_DATA: PRJ_UPDATE_FAILURE_CAUSES = 2i32; -pub const PRJ_UPDATE_FAILURE_CAUSE_DIRTY_METADATA: PRJ_UPDATE_FAILURE_CAUSES = 1i32; -pub const PRJ_UPDATE_FAILURE_CAUSE_NONE: PRJ_UPDATE_FAILURE_CAUSES = 0i32; -pub const PRJ_UPDATE_FAILURE_CAUSE_READ_ONLY: PRJ_UPDATE_FAILURE_CAUSES = 8i32; -pub const PRJ_UPDATE_FAILURE_CAUSE_TOMBSTONE: PRJ_UPDATE_FAILURE_CAUSES = 4i32; -pub const PRJ_UPDATE_MAX_VAL: PRJ_UPDATE_TYPES = 64i32; -pub const PRJ_UPDATE_NONE: PRJ_UPDATE_TYPES = 0i32; -pub const PRJ_UPDATE_RESERVED1: PRJ_UPDATE_TYPES = 8i32; -pub const PRJ_UPDATE_RESERVED2: PRJ_UPDATE_TYPES = 16i32; -pub type PRJ_CALLBACK_DATA_FLAGS = i32; -pub type PRJ_COMPLETE_COMMAND_TYPE = i32; -pub type PRJ_EXT_INFO_TYPE = i32; -pub type PRJ_FILE_STATE = i32; -pub type PRJ_NOTIFICATION = i32; -pub type PRJ_NOTIFY_TYPES = u32; -pub type PRJ_PLACEHOLDER_ID = i32; -pub type PRJ_STARTVIRTUALIZING_FLAGS = i32; -pub type PRJ_UPDATE_FAILURE_CAUSES = i32; -pub type PRJ_UPDATE_TYPES = i32; -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct PRJ_CALLBACKS { - pub StartDirectoryEnumerationCallback: PRJ_START_DIRECTORY_ENUMERATION_CB, - pub EndDirectoryEnumerationCallback: PRJ_END_DIRECTORY_ENUMERATION_CB, - pub GetDirectoryEnumerationCallback: PRJ_GET_DIRECTORY_ENUMERATION_CB, - pub GetPlaceholderInfoCallback: PRJ_GET_PLACEHOLDER_INFO_CB, - pub GetFileDataCallback: PRJ_GET_FILE_DATA_CB, - pub QueryFileNameCallback: PRJ_QUERY_FILE_NAME_CB, - pub NotificationCallback: PRJ_NOTIFICATION_CB, - pub CancelCommandCallback: PRJ_CANCEL_COMMAND_CB, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PRJ_CALLBACKS {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PRJ_CALLBACKS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct PRJ_CALLBACK_DATA { - pub Size: u32, - pub Flags: PRJ_CALLBACK_DATA_FLAGS, - pub NamespaceVirtualizationContext: PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, - pub CommandId: i32, - pub FileId: ::windows_sys::core::GUID, - pub DataStreamId: ::windows_sys::core::GUID, - pub FilePathName: ::windows_sys::core::PCWSTR, - pub VersionInfo: *mut PRJ_PLACEHOLDER_VERSION_INFO, - pub TriggeringProcessId: u32, - pub TriggeringProcessImageFileName: ::windows_sys::core::PCWSTR, - pub InstanceContext: *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for PRJ_CALLBACK_DATA {} -impl ::core::clone::Clone for PRJ_CALLBACK_DATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct PRJ_COMPLETE_COMMAND_EXTENDED_PARAMETERS { - pub CommandType: PRJ_COMPLETE_COMMAND_TYPE, - pub Anonymous: PRJ_COMPLETE_COMMAND_EXTENDED_PARAMETERS_0, -} -impl ::core::marker::Copy for PRJ_COMPLETE_COMMAND_EXTENDED_PARAMETERS {} -impl ::core::clone::Clone for PRJ_COMPLETE_COMMAND_EXTENDED_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union PRJ_COMPLETE_COMMAND_EXTENDED_PARAMETERS_0 { - pub Notification: PRJ_COMPLETE_COMMAND_EXTENDED_PARAMETERS_0_1, - pub Enumeration: PRJ_COMPLETE_COMMAND_EXTENDED_PARAMETERS_0_0, -} -impl ::core::marker::Copy for PRJ_COMPLETE_COMMAND_EXTENDED_PARAMETERS_0 {} -impl ::core::clone::Clone for PRJ_COMPLETE_COMMAND_EXTENDED_PARAMETERS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct PRJ_COMPLETE_COMMAND_EXTENDED_PARAMETERS_0_0 { - pub DirEntryBufferHandle: PRJ_DIR_ENTRY_BUFFER_HANDLE, -} -impl ::core::marker::Copy for PRJ_COMPLETE_COMMAND_EXTENDED_PARAMETERS_0_0 {} -impl ::core::clone::Clone for PRJ_COMPLETE_COMMAND_EXTENDED_PARAMETERS_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct PRJ_COMPLETE_COMMAND_EXTENDED_PARAMETERS_0_1 { - pub NotificationMask: PRJ_NOTIFY_TYPES, -} -impl ::core::marker::Copy for PRJ_COMPLETE_COMMAND_EXTENDED_PARAMETERS_0_1 {} -impl ::core::clone::Clone for PRJ_COMPLETE_COMMAND_EXTENDED_PARAMETERS_0_1 { - fn clone(&self) -> Self { - *self - } -} -pub type PRJ_DIR_ENTRY_BUFFER_HANDLE = isize; -#[repr(C)] -pub struct PRJ_EXTENDED_INFO { - pub InfoType: PRJ_EXT_INFO_TYPE, - pub NextInfoOffset: u32, - pub Anonymous: PRJ_EXTENDED_INFO_0, -} -impl ::core::marker::Copy for PRJ_EXTENDED_INFO {} -impl ::core::clone::Clone for PRJ_EXTENDED_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union PRJ_EXTENDED_INFO_0 { - pub Symlink: PRJ_EXTENDED_INFO_0_0, -} -impl ::core::marker::Copy for PRJ_EXTENDED_INFO_0 {} -impl ::core::clone::Clone for PRJ_EXTENDED_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct PRJ_EXTENDED_INFO_0_0 { - pub TargetName: ::windows_sys::core::PCWSTR, -} -impl ::core::marker::Copy for PRJ_EXTENDED_INFO_0_0 {} -impl ::core::clone::Clone for PRJ_EXTENDED_INFO_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct PRJ_FILE_BASIC_INFO { - pub IsDirectory: super::super::Foundation::BOOLEAN, - pub FileSize: i64, - pub CreationTime: i64, - pub LastAccessTime: i64, - pub LastWriteTime: i64, - pub ChangeTime: i64, - pub FileAttributes: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PRJ_FILE_BASIC_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PRJ_FILE_BASIC_INFO { - fn clone(&self) -> Self { - *self - } -} -pub type PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT = isize; -#[repr(C)] -pub struct PRJ_NOTIFICATION_MAPPING { - pub NotificationBitMask: PRJ_NOTIFY_TYPES, - pub NotificationRoot: ::windows_sys::core::PCWSTR, -} -impl ::core::marker::Copy for PRJ_NOTIFICATION_MAPPING {} -impl ::core::clone::Clone for PRJ_NOTIFICATION_MAPPING { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union PRJ_NOTIFICATION_PARAMETERS { - pub PostCreate: PRJ_NOTIFICATION_PARAMETERS_2, - pub FileRenamed: PRJ_NOTIFICATION_PARAMETERS_1, - pub FileDeletedOnHandleClose: PRJ_NOTIFICATION_PARAMETERS_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PRJ_NOTIFICATION_PARAMETERS {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PRJ_NOTIFICATION_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct PRJ_NOTIFICATION_PARAMETERS_0 { - pub IsFileModified: super::super::Foundation::BOOLEAN, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PRJ_NOTIFICATION_PARAMETERS_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PRJ_NOTIFICATION_PARAMETERS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct PRJ_NOTIFICATION_PARAMETERS_1 { - pub NotificationMask: PRJ_NOTIFY_TYPES, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PRJ_NOTIFICATION_PARAMETERS_1 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PRJ_NOTIFICATION_PARAMETERS_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct PRJ_NOTIFICATION_PARAMETERS_2 { - pub NotificationMask: PRJ_NOTIFY_TYPES, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PRJ_NOTIFICATION_PARAMETERS_2 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PRJ_NOTIFICATION_PARAMETERS_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct PRJ_PLACEHOLDER_INFO { - pub FileBasicInfo: PRJ_FILE_BASIC_INFO, - pub EaInformation: PRJ_PLACEHOLDER_INFO_0, - pub SecurityInformation: PRJ_PLACEHOLDER_INFO_1, - pub StreamsInformation: PRJ_PLACEHOLDER_INFO_2, - pub VersionInfo: PRJ_PLACEHOLDER_VERSION_INFO, - pub VariableData: [u8; 1], -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PRJ_PLACEHOLDER_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PRJ_PLACEHOLDER_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct PRJ_PLACEHOLDER_INFO_0 { - pub EaBufferSize: u32, - pub OffsetToFirstEa: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PRJ_PLACEHOLDER_INFO_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PRJ_PLACEHOLDER_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct PRJ_PLACEHOLDER_INFO_1 { - pub SecurityBufferSize: u32, - pub OffsetToSecurityDescriptor: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PRJ_PLACEHOLDER_INFO_1 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PRJ_PLACEHOLDER_INFO_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct PRJ_PLACEHOLDER_INFO_2 { - pub StreamsInfoBufferSize: u32, - pub OffsetToFirstStreamInfo: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PRJ_PLACEHOLDER_INFO_2 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PRJ_PLACEHOLDER_INFO_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct PRJ_PLACEHOLDER_VERSION_INFO { - pub ProviderID: [u8; 128], - pub ContentID: [u8; 128], -} -impl ::core::marker::Copy for PRJ_PLACEHOLDER_VERSION_INFO {} -impl ::core::clone::Clone for PRJ_PLACEHOLDER_VERSION_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct PRJ_STARTVIRTUALIZING_OPTIONS { - pub Flags: PRJ_STARTVIRTUALIZING_FLAGS, - pub PoolThreadCount: u32, - pub ConcurrentThreadCount: u32, - pub NotificationMappings: *mut PRJ_NOTIFICATION_MAPPING, - pub NotificationMappingsCount: u32, -} -impl ::core::marker::Copy for PRJ_STARTVIRTUALIZING_OPTIONS {} -impl ::core::clone::Clone for PRJ_STARTVIRTUALIZING_OPTIONS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct PRJ_VIRTUALIZATION_INSTANCE_INFO { - pub InstanceID: ::windows_sys::core::GUID, - pub WriteAlignment: u32, -} -impl ::core::marker::Copy for PRJ_VIRTUALIZATION_INSTANCE_INFO {} -impl ::core::clone::Clone for PRJ_VIRTUALIZATION_INSTANCE_INFO { - fn clone(&self) -> Self { - *self - } -} -pub type PRJ_CANCEL_COMMAND_CB = ::core::option::Option<unsafe extern "system" fn(callbackdata: *const PRJ_CALLBACK_DATA) -> ()>; -pub type PRJ_END_DIRECTORY_ENUMERATION_CB = ::core::option::Option<unsafe extern "system" fn(callbackdata: *const PRJ_CALLBACK_DATA, enumerationid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT>; -pub type PRJ_GET_DIRECTORY_ENUMERATION_CB = ::core::option::Option<unsafe extern "system" fn(callbackdata: *const PRJ_CALLBACK_DATA, enumerationid: *const ::windows_sys::core::GUID, searchexpression: ::windows_sys::core::PCWSTR, direntrybufferhandle: PRJ_DIR_ENTRY_BUFFER_HANDLE) -> ::windows_sys::core::HRESULT>; -pub type PRJ_GET_FILE_DATA_CB = ::core::option::Option<unsafe extern "system" fn(callbackdata: *const PRJ_CALLBACK_DATA, byteoffset: u64, length: u32) -> ::windows_sys::core::HRESULT>; -pub type PRJ_GET_PLACEHOLDER_INFO_CB = ::core::option::Option<unsafe extern "system" fn(callbackdata: *const PRJ_CALLBACK_DATA) -> ::windows_sys::core::HRESULT>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PRJ_NOTIFICATION_CB = ::core::option::Option<unsafe extern "system" fn(callbackdata: *const PRJ_CALLBACK_DATA, isdirectory: super::super::Foundation::BOOLEAN, notification: PRJ_NOTIFICATION, destinationfilename: ::windows_sys::core::PCWSTR, operationparameters: *mut PRJ_NOTIFICATION_PARAMETERS) -> ::windows_sys::core::HRESULT>; -pub type PRJ_QUERY_FILE_NAME_CB = ::core::option::Option<unsafe extern "system" fn(callbackdata: *const PRJ_CALLBACK_DATA) -> ::windows_sys::core::HRESULT>; -pub type PRJ_START_DIRECTORY_ENUMERATION_CB = ::core::option::Option<unsafe extern "system" fn(callbackdata: *const PRJ_CALLBACK_DATA, enumerationid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT>; diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/StructuredStorage/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/StructuredStorage/mod.rs deleted file mode 100644 index 44ebfc0..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Storage/StructuredStorage/mod.rs +++ /dev/null @@ -1,5 +0,0 @@ -pub type JET_API_PTR = usize; -pub type JET_HANDLE = usize; -pub type JET_INSTANCE = usize; -pub type JET_SESID = usize; -pub type JET_TABLEID = usize; diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/Vhd/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/Vhd/mod.rs deleted file mode 100644 index 17f88c8..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Storage/Vhd/mod.rs +++ /dev/null @@ -1,1156 +0,0 @@ -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddVirtualDiskParent(virtualdiskhandle : super::super::Foundation:: HANDLE, parentpath : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ApplySnapshotVhdSet(virtualdiskhandle : super::super::Foundation:: HANDLE, parameters : *const APPLY_SNAPSHOT_VHDSET_PARAMETERS, flags : APPLY_SNAPSHOT_VHDSET_FLAG) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO"))] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`"] fn AttachVirtualDisk(virtualdiskhandle : super::super::Foundation:: HANDLE, securitydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, flags : ATTACH_VIRTUAL_DISK_FLAG, providerspecificflags : u32, parameters : *const ATTACH_VIRTUAL_DISK_PARAMETERS, overlapped : *const super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BreakMirrorVirtualDisk(virtualdiskhandle : super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn CompactVirtualDisk(virtualdiskhandle : super::super::Foundation:: HANDLE, flags : COMPACT_VIRTUAL_DISK_FLAG, parameters : *const COMPACT_VIRTUAL_DISK_PARAMETERS, overlapped : *const super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CompleteForkVirtualDisk(virtualdiskhandle : super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO"))] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`"] fn CreateVirtualDisk(virtualstoragetype : *const VIRTUAL_STORAGE_TYPE, path : ::windows_sys::core::PCWSTR, virtualdiskaccessmask : VIRTUAL_DISK_ACCESS_MASK, securitydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, flags : CREATE_VIRTUAL_DISK_FLAG, providerspecificflags : u32, parameters : *const CREATE_VIRTUAL_DISK_PARAMETERS, overlapped : *const super::super::System::IO:: OVERLAPPED, handle : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DeleteSnapshotVhdSet(virtualdiskhandle : super::super::Foundation:: HANDLE, parameters : *const DELETE_SNAPSHOT_VHDSET_PARAMETERS, flags : DELETE_SNAPSHOT_VHDSET_FLAG) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DeleteVirtualDiskMetadata(virtualdiskhandle : super::super::Foundation:: HANDLE, item : *const ::windows_sys::core::GUID) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DetachVirtualDisk(virtualdiskhandle : super::super::Foundation:: HANDLE, flags : DETACH_VIRTUAL_DISK_FLAG, providerspecificflags : u32) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EnumerateVirtualDiskMetadata(virtualdiskhandle : super::super::Foundation:: HANDLE, numberofitems : *mut u32, items : *mut ::windows_sys::core::GUID) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn ExpandVirtualDisk(virtualdiskhandle : super::super::Foundation:: HANDLE, flags : EXPAND_VIRTUAL_DISK_FLAG, parameters : *const EXPAND_VIRTUAL_DISK_PARAMETERS, overlapped : *const super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn ForkVirtualDisk(virtualdiskhandle : super::super::Foundation:: HANDLE, flags : FORK_VIRTUAL_DISK_FLAG, parameters : *const FORK_VIRTUAL_DISK_PARAMETERS, overlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetAllAttachedVirtualDiskPhysicalPaths(pathsbuffersizeinbytes : *mut u32, pathsbuffer : ::windows_sys::core::PWSTR) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetStorageDependencyInformation(objecthandle : super::super::Foundation:: HANDLE, flags : GET_STORAGE_DEPENDENCY_FLAG, storagedependencyinfosize : u32, storagedependencyinfo : *mut STORAGE_DEPENDENCY_INFO, sizeused : *mut u32) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetVirtualDiskInformation(virtualdiskhandle : super::super::Foundation:: HANDLE, virtualdiskinfosize : *mut u32, virtualdiskinfo : *mut GET_VIRTUAL_DISK_INFO, sizeused : *mut u32) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetVirtualDiskMetadata(virtualdiskhandle : super::super::Foundation:: HANDLE, item : *const ::windows_sys::core::GUID, metadatasize : *mut u32, metadata : *mut ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn GetVirtualDiskOperationProgress(virtualdiskhandle : super::super::Foundation:: HANDLE, overlapped : *const super::super::System::IO:: OVERLAPPED, progress : *mut VIRTUAL_DISK_PROGRESS) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetVirtualDiskPhysicalPath(virtualdiskhandle : super::super::Foundation:: HANDLE, diskpathsizeinbytes : *mut u32, diskpath : ::windows_sys::core::PWSTR) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn MergeVirtualDisk(virtualdiskhandle : super::super::Foundation:: HANDLE, flags : MERGE_VIRTUAL_DISK_FLAG, parameters : *const MERGE_VIRTUAL_DISK_PARAMETERS, overlapped : *const super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn MirrorVirtualDisk(virtualdiskhandle : super::super::Foundation:: HANDLE, flags : MIRROR_VIRTUAL_DISK_FLAG, parameters : *const MIRROR_VIRTUAL_DISK_PARAMETERS, overlapped : *const super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ModifyVhdSet(virtualdiskhandle : super::super::Foundation:: HANDLE, parameters : *const MODIFY_VHDSET_PARAMETERS, flags : MODIFY_VHDSET_FLAG) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OpenVirtualDisk(virtualstoragetype : *const VIRTUAL_STORAGE_TYPE, path : ::windows_sys::core::PCWSTR, virtualdiskaccessmask : VIRTUAL_DISK_ACCESS_MASK, flags : OPEN_VIRTUAL_DISK_FLAG, parameters : *const OPEN_VIRTUAL_DISK_PARAMETERS, handle : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn QueryChangesVirtualDisk(virtualdiskhandle : super::super::Foundation:: HANDLE, changetrackingid : ::windows_sys::core::PCWSTR, byteoffset : u64, bytelength : u64, flags : QUERY_CHANGES_VIRTUAL_DISK_FLAG, ranges : *mut QUERY_CHANGES_VIRTUAL_DISK_RANGE, rangecount : *mut u32, processedlength : *mut u64) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RawSCSIVirtualDisk(virtualdiskhandle : super::super::Foundation:: HANDLE, parameters : *const RAW_SCSI_VIRTUAL_DISK_PARAMETERS, flags : RAW_SCSI_VIRTUAL_DISK_FLAG, response : *mut RAW_SCSI_VIRTUAL_DISK_RESPONSE) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn ResizeVirtualDisk(virtualdiskhandle : super::super::Foundation:: HANDLE, flags : RESIZE_VIRTUAL_DISK_FLAG, parameters : *const RESIZE_VIRTUAL_DISK_PARAMETERS, overlapped : *const super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetVirtualDiskInformation(virtualdiskhandle : super::super::Foundation:: HANDLE, virtualdiskinfo : *const SET_VIRTUAL_DISK_INFO) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetVirtualDiskMetadata(virtualdiskhandle : super::super::Foundation:: HANDLE, item : *const ::windows_sys::core::GUID, metadatasize : u32, metadata : *const ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TakeSnapshotVhdSet(virtualdiskhandle : super::super::Foundation:: HANDLE, parameters : *const TAKE_SNAPSHOT_VHDSET_PARAMETERS, flags : TAKE_SNAPSHOT_VHDSET_FLAG) -> super::super::Foundation:: WIN32_ERROR); -pub const APPLY_SNAPSHOT_VHDSET_FLAG_NONE: APPLY_SNAPSHOT_VHDSET_FLAG = 0i32; -pub const APPLY_SNAPSHOT_VHDSET_FLAG_WRITEABLE: APPLY_SNAPSHOT_VHDSET_FLAG = 1i32; -pub const APPLY_SNAPSHOT_VHDSET_VERSION_1: APPLY_SNAPSHOT_VHDSET_VERSION = 1i32; -pub const APPLY_SNAPSHOT_VHDSET_VERSION_UNSPECIFIED: APPLY_SNAPSHOT_VHDSET_VERSION = 0i32; -pub const ATTACH_VIRTUAL_DISK_FLAG_BYPASS_DEFAULT_ENCRYPTION_POLICY: ATTACH_VIRTUAL_DISK_FLAG = 32i32; -pub const ATTACH_VIRTUAL_DISK_FLAG_NONE: ATTACH_VIRTUAL_DISK_FLAG = 0i32; -pub const ATTACH_VIRTUAL_DISK_FLAG_NON_PNP: ATTACH_VIRTUAL_DISK_FLAG = 64i32; -pub const ATTACH_VIRTUAL_DISK_FLAG_NO_DRIVE_LETTER: ATTACH_VIRTUAL_DISK_FLAG = 2i32; -pub const ATTACH_VIRTUAL_DISK_FLAG_NO_LOCAL_HOST: ATTACH_VIRTUAL_DISK_FLAG = 8i32; -pub const ATTACH_VIRTUAL_DISK_FLAG_NO_SECURITY_DESCRIPTOR: ATTACH_VIRTUAL_DISK_FLAG = 16i32; -pub const ATTACH_VIRTUAL_DISK_FLAG_PERMANENT_LIFETIME: ATTACH_VIRTUAL_DISK_FLAG = 4i32; -pub const ATTACH_VIRTUAL_DISK_FLAG_READ_ONLY: ATTACH_VIRTUAL_DISK_FLAG = 1i32; -pub const ATTACH_VIRTUAL_DISK_FLAG_REGISTER_VOLUME: ATTACH_VIRTUAL_DISK_FLAG = 512i32; -pub const ATTACH_VIRTUAL_DISK_FLAG_RESTRICTED_RANGE: ATTACH_VIRTUAL_DISK_FLAG = 128i32; -pub const ATTACH_VIRTUAL_DISK_FLAG_SINGLE_PARTITION: ATTACH_VIRTUAL_DISK_FLAG = 256i32; -pub const ATTACH_VIRTUAL_DISK_VERSION_1: ATTACH_VIRTUAL_DISK_VERSION = 1i32; -pub const ATTACH_VIRTUAL_DISK_VERSION_2: ATTACH_VIRTUAL_DISK_VERSION = 2i32; -pub const ATTACH_VIRTUAL_DISK_VERSION_UNSPECIFIED: ATTACH_VIRTUAL_DISK_VERSION = 0i32; -pub const COMPACT_VIRTUAL_DISK_FLAG_NONE: COMPACT_VIRTUAL_DISK_FLAG = 0i32; -pub const COMPACT_VIRTUAL_DISK_FLAG_NO_BLOCK_MOVES: COMPACT_VIRTUAL_DISK_FLAG = 2i32; -pub const COMPACT_VIRTUAL_DISK_FLAG_NO_ZERO_SCAN: COMPACT_VIRTUAL_DISK_FLAG = 1i32; -pub const COMPACT_VIRTUAL_DISK_VERSION_1: COMPACT_VIRTUAL_DISK_VERSION = 1i32; -pub const COMPACT_VIRTUAL_DISK_VERSION_UNSPECIFIED: COMPACT_VIRTUAL_DISK_VERSION = 0i32; -pub const CREATE_VIRTUAL_DISK_FLAG_CREATE_BACKING_STORAGE: CREATE_VIRTUAL_DISK_FLAG = 8i32; -pub const CREATE_VIRTUAL_DISK_FLAG_DO_NOT_COPY_METADATA_FROM_PARENT: CREATE_VIRTUAL_DISK_FLAG = 4i32; -pub const CREATE_VIRTUAL_DISK_FLAG_FULL_PHYSICAL_ALLOCATION: CREATE_VIRTUAL_DISK_FLAG = 1i32; -pub const CREATE_VIRTUAL_DISK_FLAG_NONE: CREATE_VIRTUAL_DISK_FLAG = 0i32; -pub const CREATE_VIRTUAL_DISK_FLAG_PMEM_COMPATIBLE: CREATE_VIRTUAL_DISK_FLAG = 256i32; -pub const CREATE_VIRTUAL_DISK_FLAG_PRESERVE_PARENT_CHANGE_TRACKING_STATE: CREATE_VIRTUAL_DISK_FLAG = 32i32; -pub const CREATE_VIRTUAL_DISK_FLAG_PREVENT_WRITES_TO_SOURCE_DISK: CREATE_VIRTUAL_DISK_FLAG = 2i32; -pub const CREATE_VIRTUAL_DISK_FLAG_SPARSE_FILE: CREATE_VIRTUAL_DISK_FLAG = 128i32; -pub const CREATE_VIRTUAL_DISK_FLAG_SUPPORT_COMPRESSED_VOLUMES: CREATE_VIRTUAL_DISK_FLAG = 512i32; -pub const CREATE_VIRTUAL_DISK_FLAG_SUPPORT_SPARSE_FILES_ANY_FS: CREATE_VIRTUAL_DISK_FLAG = 1024i32; -pub const CREATE_VIRTUAL_DISK_FLAG_USE_CHANGE_TRACKING_SOURCE_LIMIT: CREATE_VIRTUAL_DISK_FLAG = 16i32; -pub const CREATE_VIRTUAL_DISK_FLAG_VHD_SET_USE_ORIGINAL_BACKING_STORAGE: CREATE_VIRTUAL_DISK_FLAG = 64i32; -pub const CREATE_VIRTUAL_DISK_PARAMETERS_DEFAULT_BLOCK_SIZE: u32 = 0u32; -pub const CREATE_VIRTUAL_DISK_PARAMETERS_DEFAULT_SECTOR_SIZE: u32 = 0u32; -pub const CREATE_VIRTUAL_DISK_VERSION_1: CREATE_VIRTUAL_DISK_VERSION = 1i32; -pub const CREATE_VIRTUAL_DISK_VERSION_2: CREATE_VIRTUAL_DISK_VERSION = 2i32; -pub const CREATE_VIRTUAL_DISK_VERSION_3: CREATE_VIRTUAL_DISK_VERSION = 3i32; -pub const CREATE_VIRTUAL_DISK_VERSION_4: CREATE_VIRTUAL_DISK_VERSION = 4i32; -pub const CREATE_VIRTUAL_DISK_VERSION_UNSPECIFIED: CREATE_VIRTUAL_DISK_VERSION = 0i32; -pub const DELETE_SNAPSHOT_VHDSET_FLAG_NONE: DELETE_SNAPSHOT_VHDSET_FLAG = 0i32; -pub const DELETE_SNAPSHOT_VHDSET_FLAG_PERSIST_RCT: DELETE_SNAPSHOT_VHDSET_FLAG = 1i32; -pub const DELETE_SNAPSHOT_VHDSET_VERSION_1: DELETE_SNAPSHOT_VHDSET_VERSION = 1i32; -pub const DELETE_SNAPSHOT_VHDSET_VERSION_UNSPECIFIED: DELETE_SNAPSHOT_VHDSET_VERSION = 0i32; -pub const DEPENDENT_DISK_FLAG_ALWAYS_ALLOW_SPARSE: DEPENDENT_DISK_FLAG = 4096i32; -pub const DEPENDENT_DISK_FLAG_FULLY_ALLOCATED: DEPENDENT_DISK_FLAG = 2i32; -pub const DEPENDENT_DISK_FLAG_MULT_BACKING_FILES: DEPENDENT_DISK_FLAG = 1i32; -pub const DEPENDENT_DISK_FLAG_NONE: DEPENDENT_DISK_FLAG = 0i32; -pub const DEPENDENT_DISK_FLAG_NO_DRIVE_LETTER: DEPENDENT_DISK_FLAG = 128i32; -pub const DEPENDENT_DISK_FLAG_NO_HOST_DISK: DEPENDENT_DISK_FLAG = 512i32; -pub const DEPENDENT_DISK_FLAG_PARENT: DEPENDENT_DISK_FLAG = 256i32; -pub const DEPENDENT_DISK_FLAG_PERMANENT_LIFETIME: DEPENDENT_DISK_FLAG = 1024i32; -pub const DEPENDENT_DISK_FLAG_READ_ONLY: DEPENDENT_DISK_FLAG = 4i32; -pub const DEPENDENT_DISK_FLAG_REMOTE: DEPENDENT_DISK_FLAG = 8i32; -pub const DEPENDENT_DISK_FLAG_REMOVABLE: DEPENDENT_DISK_FLAG = 64i32; -pub const DEPENDENT_DISK_FLAG_SUPPORT_COMPRESSED_VOLUMES: DEPENDENT_DISK_FLAG = 2048i32; -pub const DEPENDENT_DISK_FLAG_SUPPORT_ENCRYPTED_FILES: DEPENDENT_DISK_FLAG = 8192i32; -pub const DEPENDENT_DISK_FLAG_SYSTEM_VOLUME: DEPENDENT_DISK_FLAG = 16i32; -pub const DEPENDENT_DISK_FLAG_SYSTEM_VOLUME_PARENT: DEPENDENT_DISK_FLAG = 32i32; -pub const DETACH_VIRTUAL_DISK_FLAG_NONE: DETACH_VIRTUAL_DISK_FLAG = 0i32; -pub const EXPAND_VIRTUAL_DISK_FLAG_NONE: EXPAND_VIRTUAL_DISK_FLAG = 0i32; -pub const EXPAND_VIRTUAL_DISK_FLAG_NOTIFY_CHANGE: EXPAND_VIRTUAL_DISK_FLAG = 1i32; -pub const EXPAND_VIRTUAL_DISK_VERSION_1: EXPAND_VIRTUAL_DISK_VERSION = 1i32; -pub const EXPAND_VIRTUAL_DISK_VERSION_UNSPECIFIED: EXPAND_VIRTUAL_DISK_VERSION = 0i32; -pub const FORK_VIRTUAL_DISK_FLAG_EXISTING_FILE: FORK_VIRTUAL_DISK_FLAG = 1i32; -pub const FORK_VIRTUAL_DISK_FLAG_NONE: FORK_VIRTUAL_DISK_FLAG = 0i32; -pub const FORK_VIRTUAL_DISK_VERSION_1: FORK_VIRTUAL_DISK_VERSION = 1i32; -pub const FORK_VIRTUAL_DISK_VERSION_UNSPECIFIED: FORK_VIRTUAL_DISK_VERSION = 0i32; -pub const GET_STORAGE_DEPENDENCY_FLAG_DISK_HANDLE: GET_STORAGE_DEPENDENCY_FLAG = 2i32; -pub const GET_STORAGE_DEPENDENCY_FLAG_HOST_VOLUMES: GET_STORAGE_DEPENDENCY_FLAG = 1i32; -pub const GET_STORAGE_DEPENDENCY_FLAG_NONE: GET_STORAGE_DEPENDENCY_FLAG = 0i32; -pub const GET_VIRTUAL_DISK_INFO_CHANGE_TRACKING_STATE: GET_VIRTUAL_DISK_INFO_VERSION = 15i32; -pub const GET_VIRTUAL_DISK_INFO_FRAGMENTATION: GET_VIRTUAL_DISK_INFO_VERSION = 12i32; -pub const GET_VIRTUAL_DISK_INFO_IDENTIFIER: GET_VIRTUAL_DISK_INFO_VERSION = 2i32; -pub const GET_VIRTUAL_DISK_INFO_IS_4K_ALIGNED: GET_VIRTUAL_DISK_INFO_VERSION = 8i32; -pub const GET_VIRTUAL_DISK_INFO_IS_LOADED: GET_VIRTUAL_DISK_INFO_VERSION = 13i32; -pub const GET_VIRTUAL_DISK_INFO_PARENT_IDENTIFIER: GET_VIRTUAL_DISK_INFO_VERSION = 4i32; -pub const GET_VIRTUAL_DISK_INFO_PARENT_LOCATION: GET_VIRTUAL_DISK_INFO_VERSION = 3i32; -pub const GET_VIRTUAL_DISK_INFO_PARENT_TIMESTAMP: GET_VIRTUAL_DISK_INFO_VERSION = 5i32; -pub const GET_VIRTUAL_DISK_INFO_PHYSICAL_DISK: GET_VIRTUAL_DISK_INFO_VERSION = 9i32; -pub const GET_VIRTUAL_DISK_INFO_PROVIDER_SUBTYPE: GET_VIRTUAL_DISK_INFO_VERSION = 7i32; -pub const GET_VIRTUAL_DISK_INFO_SIZE: GET_VIRTUAL_DISK_INFO_VERSION = 1i32; -pub const GET_VIRTUAL_DISK_INFO_SMALLEST_SAFE_VIRTUAL_SIZE: GET_VIRTUAL_DISK_INFO_VERSION = 11i32; -pub const GET_VIRTUAL_DISK_INFO_UNSPECIFIED: GET_VIRTUAL_DISK_INFO_VERSION = 0i32; -pub const GET_VIRTUAL_DISK_INFO_VHD_PHYSICAL_SECTOR_SIZE: GET_VIRTUAL_DISK_INFO_VERSION = 10i32; -pub const GET_VIRTUAL_DISK_INFO_VIRTUAL_DISK_ID: GET_VIRTUAL_DISK_INFO_VERSION = 14i32; -pub const GET_VIRTUAL_DISK_INFO_VIRTUAL_STORAGE_TYPE: GET_VIRTUAL_DISK_INFO_VERSION = 6i32; -pub const MERGE_VIRTUAL_DISK_DEFAULT_MERGE_DEPTH: u32 = 1u32; -pub const MERGE_VIRTUAL_DISK_FLAG_NONE: MERGE_VIRTUAL_DISK_FLAG = 0i32; -pub const MERGE_VIRTUAL_DISK_VERSION_1: MERGE_VIRTUAL_DISK_VERSION = 1i32; -pub const MERGE_VIRTUAL_DISK_VERSION_2: MERGE_VIRTUAL_DISK_VERSION = 2i32; -pub const MERGE_VIRTUAL_DISK_VERSION_UNSPECIFIED: MERGE_VIRTUAL_DISK_VERSION = 0i32; -pub const MIRROR_VIRTUAL_DISK_FLAG_ENABLE_SMB_COMPRESSION: MIRROR_VIRTUAL_DISK_FLAG = 4i32; -pub const MIRROR_VIRTUAL_DISK_FLAG_EXISTING_FILE: MIRROR_VIRTUAL_DISK_FLAG = 1i32; -pub const MIRROR_VIRTUAL_DISK_FLAG_IS_LIVE_MIGRATION: MIRROR_VIRTUAL_DISK_FLAG = 8i32; -pub const MIRROR_VIRTUAL_DISK_FLAG_NONE: MIRROR_VIRTUAL_DISK_FLAG = 0i32; -pub const MIRROR_VIRTUAL_DISK_FLAG_SKIP_MIRROR_ACTIVATION: MIRROR_VIRTUAL_DISK_FLAG = 2i32; -pub const MIRROR_VIRTUAL_DISK_VERSION_1: MIRROR_VIRTUAL_DISK_VERSION = 1i32; -pub const MIRROR_VIRTUAL_DISK_VERSION_UNSPECIFIED: MIRROR_VIRTUAL_DISK_VERSION = 0i32; -pub const MODIFY_VHDSET_DEFAULT_SNAPSHOT_PATH: MODIFY_VHDSET_VERSION = 3i32; -pub const MODIFY_VHDSET_FLAG_NONE: MODIFY_VHDSET_FLAG = 0i32; -pub const MODIFY_VHDSET_FLAG_WRITEABLE_SNAPSHOT: MODIFY_VHDSET_FLAG = 1i32; -pub const MODIFY_VHDSET_REMOVE_SNAPSHOT: MODIFY_VHDSET_VERSION = 2i32; -pub const MODIFY_VHDSET_SNAPSHOT_PATH: MODIFY_VHDSET_VERSION = 1i32; -pub const MODIFY_VHDSET_UNSPECIFIED: MODIFY_VHDSET_VERSION = 0i32; -pub const OPEN_VIRTUAL_DISK_FLAG_BLANK_FILE: OPEN_VIRTUAL_DISK_FLAG = 2i32; -pub const OPEN_VIRTUAL_DISK_FLAG_BOOT_DRIVE: OPEN_VIRTUAL_DISK_FLAG = 4i32; -pub const OPEN_VIRTUAL_DISK_FLAG_CACHED_IO: OPEN_VIRTUAL_DISK_FLAG = 8i32; -pub const OPEN_VIRTUAL_DISK_FLAG_CUSTOM_DIFF_CHAIN: OPEN_VIRTUAL_DISK_FLAG = 16i32; -pub const OPEN_VIRTUAL_DISK_FLAG_IGNORE_RELATIVE_PARENT_LOCATOR: OPEN_VIRTUAL_DISK_FLAG = 128i32; -pub const OPEN_VIRTUAL_DISK_FLAG_NONE: OPEN_VIRTUAL_DISK_FLAG = 0i32; -pub const OPEN_VIRTUAL_DISK_FLAG_NO_PARENTS: OPEN_VIRTUAL_DISK_FLAG = 1i32; -pub const OPEN_VIRTUAL_DISK_FLAG_NO_WRITE_HARDENING: OPEN_VIRTUAL_DISK_FLAG = 256i32; -pub const OPEN_VIRTUAL_DISK_FLAG_PARENT_CACHED_IO: OPEN_VIRTUAL_DISK_FLAG = 32i32; -pub const OPEN_VIRTUAL_DISK_FLAG_SUPPORT_COMPRESSED_VOLUMES: OPEN_VIRTUAL_DISK_FLAG = 512i32; -pub const OPEN_VIRTUAL_DISK_FLAG_SUPPORT_ENCRYPTED_FILES: OPEN_VIRTUAL_DISK_FLAG = 2048i32; -pub const OPEN_VIRTUAL_DISK_FLAG_SUPPORT_SPARSE_FILES_ANY_FS: OPEN_VIRTUAL_DISK_FLAG = 1024i32; -pub const OPEN_VIRTUAL_DISK_FLAG_VHDSET_FILE_ONLY: OPEN_VIRTUAL_DISK_FLAG = 64i32; -pub const OPEN_VIRTUAL_DISK_RW_DEPTH_DEFAULT: u32 = 1u32; -pub const OPEN_VIRTUAL_DISK_VERSION_1: OPEN_VIRTUAL_DISK_VERSION = 1i32; -pub const OPEN_VIRTUAL_DISK_VERSION_2: OPEN_VIRTUAL_DISK_VERSION = 2i32; -pub const OPEN_VIRTUAL_DISK_VERSION_3: OPEN_VIRTUAL_DISK_VERSION = 3i32; -pub const OPEN_VIRTUAL_DISK_VERSION_UNSPECIFIED: OPEN_VIRTUAL_DISK_VERSION = 0i32; -pub const QUERY_CHANGES_VIRTUAL_DISK_FLAG_NONE: QUERY_CHANGES_VIRTUAL_DISK_FLAG = 0i32; -pub const RAW_SCSI_VIRTUAL_DISK_FLAG_NONE: RAW_SCSI_VIRTUAL_DISK_FLAG = 0i32; -pub const RAW_SCSI_VIRTUAL_DISK_VERSION_1: RAW_SCSI_VIRTUAL_DISK_VERSION = 1i32; -pub const RAW_SCSI_VIRTUAL_DISK_VERSION_UNSPECIFIED: RAW_SCSI_VIRTUAL_DISK_VERSION = 0i32; -pub const RESIZE_VIRTUAL_DISK_FLAG_ALLOW_UNSAFE_VIRTUAL_SIZE: RESIZE_VIRTUAL_DISK_FLAG = 1i32; -pub const RESIZE_VIRTUAL_DISK_FLAG_NONE: RESIZE_VIRTUAL_DISK_FLAG = 0i32; -pub const RESIZE_VIRTUAL_DISK_FLAG_RESIZE_TO_SMALLEST_SAFE_VIRTUAL_SIZE: RESIZE_VIRTUAL_DISK_FLAG = 2i32; -pub const RESIZE_VIRTUAL_DISK_VERSION_1: RESIZE_VIRTUAL_DISK_VERSION = 1i32; -pub const RESIZE_VIRTUAL_DISK_VERSION_UNSPECIFIED: RESIZE_VIRTUAL_DISK_VERSION = 0i32; -pub const SET_VIRTUAL_DISK_INFO_CHANGE_TRACKING_STATE: SET_VIRTUAL_DISK_INFO_VERSION = 6i32; -pub const SET_VIRTUAL_DISK_INFO_IDENTIFIER: SET_VIRTUAL_DISK_INFO_VERSION = 2i32; -pub const SET_VIRTUAL_DISK_INFO_PARENT_LOCATOR: SET_VIRTUAL_DISK_INFO_VERSION = 7i32; -pub const SET_VIRTUAL_DISK_INFO_PARENT_PATH: SET_VIRTUAL_DISK_INFO_VERSION = 1i32; -pub const SET_VIRTUAL_DISK_INFO_PARENT_PATH_WITH_DEPTH: SET_VIRTUAL_DISK_INFO_VERSION = 3i32; -pub const SET_VIRTUAL_DISK_INFO_PHYSICAL_SECTOR_SIZE: SET_VIRTUAL_DISK_INFO_VERSION = 4i32; -pub const SET_VIRTUAL_DISK_INFO_UNSPECIFIED: SET_VIRTUAL_DISK_INFO_VERSION = 0i32; -pub const SET_VIRTUAL_DISK_INFO_VIRTUAL_DISK_ID: SET_VIRTUAL_DISK_INFO_VERSION = 5i32; -pub const STORAGE_DEPENDENCY_INFO_VERSION_1: STORAGE_DEPENDENCY_INFO_VERSION = 1i32; -pub const STORAGE_DEPENDENCY_INFO_VERSION_2: STORAGE_DEPENDENCY_INFO_VERSION = 2i32; -pub const STORAGE_DEPENDENCY_INFO_VERSION_UNSPECIFIED: STORAGE_DEPENDENCY_INFO_VERSION = 0i32; -pub const TAKE_SNAPSHOT_VHDSET_FLAG_NONE: TAKE_SNAPSHOT_VHDSET_FLAG = 0i32; -pub const TAKE_SNAPSHOT_VHDSET_FLAG_WRITEABLE: TAKE_SNAPSHOT_VHDSET_FLAG = 1i32; -pub const TAKE_SNAPSHOT_VHDSET_VERSION_1: TAKE_SNAPSHOT_VHDSET_VERSION = 1i32; -pub const TAKE_SNAPSHOT_VHDSET_VERSION_UNSPECIFIED: TAKE_SNAPSHOT_VHDSET_VERSION = 0i32; -pub const VIRTUAL_DISK_ACCESS_ALL: VIRTUAL_DISK_ACCESS_MASK = 4128768i32; -pub const VIRTUAL_DISK_ACCESS_ATTACH_RO: VIRTUAL_DISK_ACCESS_MASK = 65536i32; -pub const VIRTUAL_DISK_ACCESS_ATTACH_RW: VIRTUAL_DISK_ACCESS_MASK = 131072i32; -pub const VIRTUAL_DISK_ACCESS_CREATE: VIRTUAL_DISK_ACCESS_MASK = 1048576i32; -pub const VIRTUAL_DISK_ACCESS_DETACH: VIRTUAL_DISK_ACCESS_MASK = 262144i32; -pub const VIRTUAL_DISK_ACCESS_GET_INFO: VIRTUAL_DISK_ACCESS_MASK = 524288i32; -pub const VIRTUAL_DISK_ACCESS_METAOPS: VIRTUAL_DISK_ACCESS_MASK = 2097152i32; -pub const VIRTUAL_DISK_ACCESS_NONE: VIRTUAL_DISK_ACCESS_MASK = 0i32; -pub const VIRTUAL_DISK_ACCESS_READ: VIRTUAL_DISK_ACCESS_MASK = 851968i32; -pub const VIRTUAL_DISK_ACCESS_WRITABLE: VIRTUAL_DISK_ACCESS_MASK = 3276800i32; -pub const VIRTUAL_DISK_MAXIMUM_CHANGE_TRACKING_ID_LENGTH: u32 = 256u32; -pub const VIRTUAL_STORAGE_TYPE_DEVICE_ISO: u32 = 1u32; -pub const VIRTUAL_STORAGE_TYPE_DEVICE_UNKNOWN: u32 = 0u32; -pub const VIRTUAL_STORAGE_TYPE_DEVICE_VHD: u32 = 2u32; -pub const VIRTUAL_STORAGE_TYPE_DEVICE_VHDSET: u32 = 4u32; -pub const VIRTUAL_STORAGE_TYPE_DEVICE_VHDX: u32 = 3u32; -pub const VIRTUAL_STORAGE_TYPE_VENDOR_MICROSOFT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xec984aec_a0f9_47e9_901f_71415a66345b); -pub const VIRTUAL_STORAGE_TYPE_VENDOR_UNKNOWN: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x00000000_0000_0000_0000_000000000000); -pub type APPLY_SNAPSHOT_VHDSET_FLAG = i32; -pub type APPLY_SNAPSHOT_VHDSET_VERSION = i32; -pub type ATTACH_VIRTUAL_DISK_FLAG = i32; -pub type ATTACH_VIRTUAL_DISK_VERSION = i32; -pub type COMPACT_VIRTUAL_DISK_FLAG = i32; -pub type COMPACT_VIRTUAL_DISK_VERSION = i32; -pub type CREATE_VIRTUAL_DISK_FLAG = i32; -pub type CREATE_VIRTUAL_DISK_VERSION = i32; -pub type DELETE_SNAPSHOT_VHDSET_FLAG = i32; -pub type DELETE_SNAPSHOT_VHDSET_VERSION = i32; -pub type DEPENDENT_DISK_FLAG = i32; -pub type DETACH_VIRTUAL_DISK_FLAG = i32; -pub type EXPAND_VIRTUAL_DISK_FLAG = i32; -pub type EXPAND_VIRTUAL_DISK_VERSION = i32; -pub type FORK_VIRTUAL_DISK_FLAG = i32; -pub type FORK_VIRTUAL_DISK_VERSION = i32; -pub type GET_STORAGE_DEPENDENCY_FLAG = i32; -pub type GET_VIRTUAL_DISK_INFO_VERSION = i32; -pub type MERGE_VIRTUAL_DISK_FLAG = i32; -pub type MERGE_VIRTUAL_DISK_VERSION = i32; -pub type MIRROR_VIRTUAL_DISK_FLAG = i32; -pub type MIRROR_VIRTUAL_DISK_VERSION = i32; -pub type MODIFY_VHDSET_FLAG = i32; -pub type MODIFY_VHDSET_VERSION = i32; -pub type OPEN_VIRTUAL_DISK_FLAG = i32; -pub type OPEN_VIRTUAL_DISK_VERSION = i32; -pub type QUERY_CHANGES_VIRTUAL_DISK_FLAG = i32; -pub type RAW_SCSI_VIRTUAL_DISK_FLAG = i32; -pub type RAW_SCSI_VIRTUAL_DISK_VERSION = i32; -pub type RESIZE_VIRTUAL_DISK_FLAG = i32; -pub type RESIZE_VIRTUAL_DISK_VERSION = i32; -pub type SET_VIRTUAL_DISK_INFO_VERSION = i32; -pub type STORAGE_DEPENDENCY_INFO_VERSION = i32; -pub type TAKE_SNAPSHOT_VHDSET_FLAG = i32; -pub type TAKE_SNAPSHOT_VHDSET_VERSION = i32; -pub type VIRTUAL_DISK_ACCESS_MASK = i32; -#[repr(C)] -pub struct APPLY_SNAPSHOT_VHDSET_PARAMETERS { - pub Version: APPLY_SNAPSHOT_VHDSET_VERSION, - pub Anonymous: APPLY_SNAPSHOT_VHDSET_PARAMETERS_0, -} -impl ::core::marker::Copy for APPLY_SNAPSHOT_VHDSET_PARAMETERS {} -impl ::core::clone::Clone for APPLY_SNAPSHOT_VHDSET_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union APPLY_SNAPSHOT_VHDSET_PARAMETERS_0 { - pub Version1: APPLY_SNAPSHOT_VHDSET_PARAMETERS_0_0, -} -impl ::core::marker::Copy for APPLY_SNAPSHOT_VHDSET_PARAMETERS_0 {} -impl ::core::clone::Clone for APPLY_SNAPSHOT_VHDSET_PARAMETERS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct APPLY_SNAPSHOT_VHDSET_PARAMETERS_0_0 { - pub SnapshotId: ::windows_sys::core::GUID, - pub LeafSnapshotId: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for APPLY_SNAPSHOT_VHDSET_PARAMETERS_0_0 {} -impl ::core::clone::Clone for APPLY_SNAPSHOT_VHDSET_PARAMETERS_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ATTACH_VIRTUAL_DISK_PARAMETERS { - pub Version: ATTACH_VIRTUAL_DISK_VERSION, - pub Anonymous: ATTACH_VIRTUAL_DISK_PARAMETERS_0, -} -impl ::core::marker::Copy for ATTACH_VIRTUAL_DISK_PARAMETERS {} -impl ::core::clone::Clone for ATTACH_VIRTUAL_DISK_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union ATTACH_VIRTUAL_DISK_PARAMETERS_0 { - pub Version1: ATTACH_VIRTUAL_DISK_PARAMETERS_0_0, - pub Version2: ATTACH_VIRTUAL_DISK_PARAMETERS_0_1, -} -impl ::core::marker::Copy for ATTACH_VIRTUAL_DISK_PARAMETERS_0 {} -impl ::core::clone::Clone for ATTACH_VIRTUAL_DISK_PARAMETERS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ATTACH_VIRTUAL_DISK_PARAMETERS_0_0 { - pub Reserved: u32, -} -impl ::core::marker::Copy for ATTACH_VIRTUAL_DISK_PARAMETERS_0_0 {} -impl ::core::clone::Clone for ATTACH_VIRTUAL_DISK_PARAMETERS_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ATTACH_VIRTUAL_DISK_PARAMETERS_0_1 { - pub RestrictedOffset: u64, - pub RestrictedLength: u64, -} -impl ::core::marker::Copy for ATTACH_VIRTUAL_DISK_PARAMETERS_0_1 {} -impl ::core::clone::Clone for ATTACH_VIRTUAL_DISK_PARAMETERS_0_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct COMPACT_VIRTUAL_DISK_PARAMETERS { - pub Version: COMPACT_VIRTUAL_DISK_VERSION, - pub Anonymous: COMPACT_VIRTUAL_DISK_PARAMETERS_0, -} -impl ::core::marker::Copy for COMPACT_VIRTUAL_DISK_PARAMETERS {} -impl ::core::clone::Clone for COMPACT_VIRTUAL_DISK_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union COMPACT_VIRTUAL_DISK_PARAMETERS_0 { - pub Version1: COMPACT_VIRTUAL_DISK_PARAMETERS_0_0, -} -impl ::core::marker::Copy for COMPACT_VIRTUAL_DISK_PARAMETERS_0 {} -impl ::core::clone::Clone for COMPACT_VIRTUAL_DISK_PARAMETERS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct COMPACT_VIRTUAL_DISK_PARAMETERS_0_0 { - pub Reserved: u32, -} -impl ::core::marker::Copy for COMPACT_VIRTUAL_DISK_PARAMETERS_0_0 {} -impl ::core::clone::Clone for COMPACT_VIRTUAL_DISK_PARAMETERS_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CREATE_VIRTUAL_DISK_PARAMETERS { - pub Version: CREATE_VIRTUAL_DISK_VERSION, - pub Anonymous: CREATE_VIRTUAL_DISK_PARAMETERS_0, -} -impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS {} -impl ::core::clone::Clone for CREATE_VIRTUAL_DISK_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union CREATE_VIRTUAL_DISK_PARAMETERS_0 { - pub Version1: CREATE_VIRTUAL_DISK_PARAMETERS_0_0, - pub Version2: CREATE_VIRTUAL_DISK_PARAMETERS_0_1, - pub Version3: CREATE_VIRTUAL_DISK_PARAMETERS_0_2, - pub Version4: CREATE_VIRTUAL_DISK_PARAMETERS_0_3, -} -impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS_0 {} -impl ::core::clone::Clone for CREATE_VIRTUAL_DISK_PARAMETERS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CREATE_VIRTUAL_DISK_PARAMETERS_0_0 { - pub UniqueId: ::windows_sys::core::GUID, - pub MaximumSize: u64, - pub BlockSizeInBytes: u32, - pub SectorSizeInBytes: u32, - pub ParentPath: ::windows_sys::core::PCWSTR, - pub SourcePath: ::windows_sys::core::PCWSTR, -} -impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS_0_0 {} -impl ::core::clone::Clone for CREATE_VIRTUAL_DISK_PARAMETERS_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CREATE_VIRTUAL_DISK_PARAMETERS_0_1 { - pub UniqueId: ::windows_sys::core::GUID, - pub MaximumSize: u64, - pub BlockSizeInBytes: u32, - pub SectorSizeInBytes: u32, - pub PhysicalSectorSizeInBytes: u32, - pub ParentPath: ::windows_sys::core::PCWSTR, - pub SourcePath: ::windows_sys::core::PCWSTR, - pub OpenFlags: OPEN_VIRTUAL_DISK_FLAG, - pub ParentVirtualStorageType: VIRTUAL_STORAGE_TYPE, - pub SourceVirtualStorageType: VIRTUAL_STORAGE_TYPE, - pub ResiliencyGuid: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS_0_1 {} -impl ::core::clone::Clone for CREATE_VIRTUAL_DISK_PARAMETERS_0_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CREATE_VIRTUAL_DISK_PARAMETERS_0_2 { - pub UniqueId: ::windows_sys::core::GUID, - pub MaximumSize: u64, - pub BlockSizeInBytes: u32, - pub SectorSizeInBytes: u32, - pub PhysicalSectorSizeInBytes: u32, - pub ParentPath: ::windows_sys::core::PCWSTR, - pub SourcePath: ::windows_sys::core::PCWSTR, - pub OpenFlags: OPEN_VIRTUAL_DISK_FLAG, - pub ParentVirtualStorageType: VIRTUAL_STORAGE_TYPE, - pub SourceVirtualStorageType: VIRTUAL_STORAGE_TYPE, - pub ResiliencyGuid: ::windows_sys::core::GUID, - pub SourceLimitPath: ::windows_sys::core::PCWSTR, - pub BackingStorageType: VIRTUAL_STORAGE_TYPE, -} -impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS_0_2 {} -impl ::core::clone::Clone for CREATE_VIRTUAL_DISK_PARAMETERS_0_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct CREATE_VIRTUAL_DISK_PARAMETERS_0_3 { - pub UniqueId: ::windows_sys::core::GUID, - pub MaximumSize: u64, - pub BlockSizeInBytes: u32, - pub SectorSizeInBytes: u32, - pub PhysicalSectorSizeInBytes: u32, - pub ParentPath: ::windows_sys::core::PCWSTR, - pub SourcePath: ::windows_sys::core::PCWSTR, - pub OpenFlags: OPEN_VIRTUAL_DISK_FLAG, - pub ParentVirtualStorageType: VIRTUAL_STORAGE_TYPE, - pub SourceVirtualStorageType: VIRTUAL_STORAGE_TYPE, - pub ResiliencyGuid: ::windows_sys::core::GUID, - pub SourceLimitPath: ::windows_sys::core::PCWSTR, - pub BackingStorageType: VIRTUAL_STORAGE_TYPE, - pub PmemAddressAbstractionType: ::windows_sys::core::GUID, - pub DataAlignment: u64, -} -impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS_0_3 {} -impl ::core::clone::Clone for CREATE_VIRTUAL_DISK_PARAMETERS_0_3 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DELETE_SNAPSHOT_VHDSET_PARAMETERS { - pub Version: DELETE_SNAPSHOT_VHDSET_VERSION, - pub Anonymous: DELETE_SNAPSHOT_VHDSET_PARAMETERS_0, -} -impl ::core::marker::Copy for DELETE_SNAPSHOT_VHDSET_PARAMETERS {} -impl ::core::clone::Clone for DELETE_SNAPSHOT_VHDSET_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union DELETE_SNAPSHOT_VHDSET_PARAMETERS_0 { - pub Version1: DELETE_SNAPSHOT_VHDSET_PARAMETERS_0_0, -} -impl ::core::marker::Copy for DELETE_SNAPSHOT_VHDSET_PARAMETERS_0 {} -impl ::core::clone::Clone for DELETE_SNAPSHOT_VHDSET_PARAMETERS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DELETE_SNAPSHOT_VHDSET_PARAMETERS_0_0 { - pub SnapshotId: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for DELETE_SNAPSHOT_VHDSET_PARAMETERS_0_0 {} -impl ::core::clone::Clone for DELETE_SNAPSHOT_VHDSET_PARAMETERS_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct EXPAND_VIRTUAL_DISK_PARAMETERS { - pub Version: EXPAND_VIRTUAL_DISK_VERSION, - pub Anonymous: EXPAND_VIRTUAL_DISK_PARAMETERS_0, -} -impl ::core::marker::Copy for EXPAND_VIRTUAL_DISK_PARAMETERS {} -impl ::core::clone::Clone for EXPAND_VIRTUAL_DISK_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union EXPAND_VIRTUAL_DISK_PARAMETERS_0 { - pub Version1: EXPAND_VIRTUAL_DISK_PARAMETERS_0_0, -} -impl ::core::marker::Copy for EXPAND_VIRTUAL_DISK_PARAMETERS_0 {} -impl ::core::clone::Clone for EXPAND_VIRTUAL_DISK_PARAMETERS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct EXPAND_VIRTUAL_DISK_PARAMETERS_0_0 { - pub NewSize: u64, -} -impl ::core::marker::Copy for EXPAND_VIRTUAL_DISK_PARAMETERS_0_0 {} -impl ::core::clone::Clone for EXPAND_VIRTUAL_DISK_PARAMETERS_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FORK_VIRTUAL_DISK_PARAMETERS { - pub Version: FORK_VIRTUAL_DISK_VERSION, - pub Anonymous: FORK_VIRTUAL_DISK_PARAMETERS_0, -} -impl ::core::marker::Copy for FORK_VIRTUAL_DISK_PARAMETERS {} -impl ::core::clone::Clone for FORK_VIRTUAL_DISK_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union FORK_VIRTUAL_DISK_PARAMETERS_0 { - pub Version1: FORK_VIRTUAL_DISK_PARAMETERS_0_0, -} -impl ::core::marker::Copy for FORK_VIRTUAL_DISK_PARAMETERS_0 {} -impl ::core::clone::Clone for FORK_VIRTUAL_DISK_PARAMETERS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct FORK_VIRTUAL_DISK_PARAMETERS_0_0 { - pub ForkedVirtualDiskPath: ::windows_sys::core::PCWSTR, -} -impl ::core::marker::Copy for FORK_VIRTUAL_DISK_PARAMETERS_0_0 {} -impl ::core::clone::Clone for FORK_VIRTUAL_DISK_PARAMETERS_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct GET_VIRTUAL_DISK_INFO { - pub Version: GET_VIRTUAL_DISK_INFO_VERSION, - pub Anonymous: GET_VIRTUAL_DISK_INFO_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for GET_VIRTUAL_DISK_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union GET_VIRTUAL_DISK_INFO_0 { - pub Size: GET_VIRTUAL_DISK_INFO_0_3, - pub Identifier: ::windows_sys::core::GUID, - pub ParentLocation: GET_VIRTUAL_DISK_INFO_0_1, - pub ParentIdentifier: ::windows_sys::core::GUID, - pub ParentTimestamp: u32, - pub VirtualStorageType: VIRTUAL_STORAGE_TYPE, - pub ProviderSubtype: u32, - pub Is4kAligned: super::super::Foundation::BOOL, - pub IsLoaded: super::super::Foundation::BOOL, - pub PhysicalDisk: GET_VIRTUAL_DISK_INFO_0_2, - pub VhdPhysicalSectorSize: u32, - pub SmallestSafeVirtualSize: u64, - pub FragmentationPercentage: u32, - pub VirtualDiskId: ::windows_sys::core::GUID, - pub ChangeTrackingState: GET_VIRTUAL_DISK_INFO_0_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for GET_VIRTUAL_DISK_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct GET_VIRTUAL_DISK_INFO_0_0 { - pub Enabled: super::super::Foundation::BOOL, - pub NewerChanges: super::super::Foundation::BOOL, - pub MostRecentId: [u16; 1], -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO_0_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for GET_VIRTUAL_DISK_INFO_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct GET_VIRTUAL_DISK_INFO_0_1 { - pub ParentResolved: super::super::Foundation::BOOL, - pub ParentLocationBuffer: [u16; 1], -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO_0_1 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for GET_VIRTUAL_DISK_INFO_0_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct GET_VIRTUAL_DISK_INFO_0_2 { - pub LogicalSectorSize: u32, - pub PhysicalSectorSize: u32, - pub IsRemote: super::super::Foundation::BOOL, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO_0_2 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for GET_VIRTUAL_DISK_INFO_0_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct GET_VIRTUAL_DISK_INFO_0_3 { - pub VirtualSize: u64, - pub PhysicalSize: u64, - pub BlockSize: u32, - pub SectorSize: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO_0_3 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for GET_VIRTUAL_DISK_INFO_0_3 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct MERGE_VIRTUAL_DISK_PARAMETERS { - pub Version: MERGE_VIRTUAL_DISK_VERSION, - pub Anonymous: MERGE_VIRTUAL_DISK_PARAMETERS_0, -} -impl ::core::marker::Copy for MERGE_VIRTUAL_DISK_PARAMETERS {} -impl ::core::clone::Clone for MERGE_VIRTUAL_DISK_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union MERGE_VIRTUAL_DISK_PARAMETERS_0 { - pub Version1: MERGE_VIRTUAL_DISK_PARAMETERS_0_0, - pub Version2: MERGE_VIRTUAL_DISK_PARAMETERS_0_1, -} -impl ::core::marker::Copy for MERGE_VIRTUAL_DISK_PARAMETERS_0 {} -impl ::core::clone::Clone for MERGE_VIRTUAL_DISK_PARAMETERS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct MERGE_VIRTUAL_DISK_PARAMETERS_0_0 { - pub MergeDepth: u32, -} -impl ::core::marker::Copy for MERGE_VIRTUAL_DISK_PARAMETERS_0_0 {} -impl ::core::clone::Clone for MERGE_VIRTUAL_DISK_PARAMETERS_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct MERGE_VIRTUAL_DISK_PARAMETERS_0_1 { - pub MergeSourceDepth: u32, - pub MergeTargetDepth: u32, -} -impl ::core::marker::Copy for MERGE_VIRTUAL_DISK_PARAMETERS_0_1 {} -impl ::core::clone::Clone for MERGE_VIRTUAL_DISK_PARAMETERS_0_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct MIRROR_VIRTUAL_DISK_PARAMETERS { - pub Version: MIRROR_VIRTUAL_DISK_VERSION, - pub Anonymous: MIRROR_VIRTUAL_DISK_PARAMETERS_0, -} -impl ::core::marker::Copy for MIRROR_VIRTUAL_DISK_PARAMETERS {} -impl ::core::clone::Clone for MIRROR_VIRTUAL_DISK_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union MIRROR_VIRTUAL_DISK_PARAMETERS_0 { - pub Version1: MIRROR_VIRTUAL_DISK_PARAMETERS_0_0, -} -impl ::core::marker::Copy for MIRROR_VIRTUAL_DISK_PARAMETERS_0 {} -impl ::core::clone::Clone for MIRROR_VIRTUAL_DISK_PARAMETERS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct MIRROR_VIRTUAL_DISK_PARAMETERS_0_0 { - pub MirrorVirtualDiskPath: ::windows_sys::core::PCWSTR, -} -impl ::core::marker::Copy for MIRROR_VIRTUAL_DISK_PARAMETERS_0_0 {} -impl ::core::clone::Clone for MIRROR_VIRTUAL_DISK_PARAMETERS_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct MODIFY_VHDSET_PARAMETERS { - pub Version: MODIFY_VHDSET_VERSION, - pub Anonymous: MODIFY_VHDSET_PARAMETERS_0, -} -impl ::core::marker::Copy for MODIFY_VHDSET_PARAMETERS {} -impl ::core::clone::Clone for MODIFY_VHDSET_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union MODIFY_VHDSET_PARAMETERS_0 { - pub SnapshotPath: MODIFY_VHDSET_PARAMETERS_0_0, - pub SnapshotId: ::windows_sys::core::GUID, - pub DefaultFilePath: ::windows_sys::core::PCWSTR, -} -impl ::core::marker::Copy for MODIFY_VHDSET_PARAMETERS_0 {} -impl ::core::clone::Clone for MODIFY_VHDSET_PARAMETERS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct MODIFY_VHDSET_PARAMETERS_0_0 { - pub SnapshotId: ::windows_sys::core::GUID, - pub SnapshotFilePath: ::windows_sys::core::PCWSTR, -} -impl ::core::marker::Copy for MODIFY_VHDSET_PARAMETERS_0_0 {} -impl ::core::clone::Clone for MODIFY_VHDSET_PARAMETERS_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct OPEN_VIRTUAL_DISK_PARAMETERS { - pub Version: OPEN_VIRTUAL_DISK_VERSION, - pub Anonymous: OPEN_VIRTUAL_DISK_PARAMETERS_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for OPEN_VIRTUAL_DISK_PARAMETERS {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for OPEN_VIRTUAL_DISK_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union OPEN_VIRTUAL_DISK_PARAMETERS_0 { - pub Version1: OPEN_VIRTUAL_DISK_PARAMETERS_0_0, - pub Version2: OPEN_VIRTUAL_DISK_PARAMETERS_0_1, - pub Version3: OPEN_VIRTUAL_DISK_PARAMETERS_0_2, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for OPEN_VIRTUAL_DISK_PARAMETERS_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for OPEN_VIRTUAL_DISK_PARAMETERS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct OPEN_VIRTUAL_DISK_PARAMETERS_0_0 { - pub RWDepth: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for OPEN_VIRTUAL_DISK_PARAMETERS_0_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for OPEN_VIRTUAL_DISK_PARAMETERS_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct OPEN_VIRTUAL_DISK_PARAMETERS_0_1 { - pub GetInfoOnly: super::super::Foundation::BOOL, - pub ReadOnly: super::super::Foundation::BOOL, - pub ResiliencyGuid: ::windows_sys::core::GUID, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for OPEN_VIRTUAL_DISK_PARAMETERS_0_1 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for OPEN_VIRTUAL_DISK_PARAMETERS_0_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct OPEN_VIRTUAL_DISK_PARAMETERS_0_2 { - pub GetInfoOnly: super::super::Foundation::BOOL, - pub ReadOnly: super::super::Foundation::BOOL, - pub ResiliencyGuid: ::windows_sys::core::GUID, - pub SnapshotId: ::windows_sys::core::GUID, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for OPEN_VIRTUAL_DISK_PARAMETERS_0_2 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for OPEN_VIRTUAL_DISK_PARAMETERS_0_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct QUERY_CHANGES_VIRTUAL_DISK_RANGE { - pub ByteOffset: u64, - pub ByteLength: u64, - pub Reserved: u64, -} -impl ::core::marker::Copy for QUERY_CHANGES_VIRTUAL_DISK_RANGE {} -impl ::core::clone::Clone for QUERY_CHANGES_VIRTUAL_DISK_RANGE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct RAW_SCSI_VIRTUAL_DISK_PARAMETERS { - pub Version: RAW_SCSI_VIRTUAL_DISK_VERSION, - pub Anonymous: RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_PARAMETERS {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for RAW_SCSI_VIRTUAL_DISK_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0 { - pub Version1: RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0_0 { - pub RSVDHandle: super::super::Foundation::BOOL, - pub DataIn: u8, - pub CdbLength: u8, - pub SenseInfoLength: u8, - pub SrbFlags: u32, - pub DataTransferLength: u32, - pub DataBuffer: *mut ::core::ffi::c_void, - pub SenseInfo: *mut u8, - pub Cdb: *mut u8, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct RAW_SCSI_VIRTUAL_DISK_RESPONSE { - pub Version: RAW_SCSI_VIRTUAL_DISK_VERSION, - pub Anonymous: RAW_SCSI_VIRTUAL_DISK_RESPONSE_0, -} -impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_RESPONSE {} -impl ::core::clone::Clone for RAW_SCSI_VIRTUAL_DISK_RESPONSE { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union RAW_SCSI_VIRTUAL_DISK_RESPONSE_0 { - pub Version1: RAW_SCSI_VIRTUAL_DISK_RESPONSE_0_0, -} -impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_RESPONSE_0 {} -impl ::core::clone::Clone for RAW_SCSI_VIRTUAL_DISK_RESPONSE_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct RAW_SCSI_VIRTUAL_DISK_RESPONSE_0_0 { - pub ScsiStatus: u8, - pub SenseInfoLength: u8, - pub DataTransferLength: u32, -} -impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_RESPONSE_0_0 {} -impl ::core::clone::Clone for RAW_SCSI_VIRTUAL_DISK_RESPONSE_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct RESIZE_VIRTUAL_DISK_PARAMETERS { - pub Version: RESIZE_VIRTUAL_DISK_VERSION, - pub Anonymous: RESIZE_VIRTUAL_DISK_PARAMETERS_0, -} -impl ::core::marker::Copy for RESIZE_VIRTUAL_DISK_PARAMETERS {} -impl ::core::clone::Clone for RESIZE_VIRTUAL_DISK_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union RESIZE_VIRTUAL_DISK_PARAMETERS_0 { - pub Version1: RESIZE_VIRTUAL_DISK_PARAMETERS_0_0, -} -impl ::core::marker::Copy for RESIZE_VIRTUAL_DISK_PARAMETERS_0 {} -impl ::core::clone::Clone for RESIZE_VIRTUAL_DISK_PARAMETERS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct RESIZE_VIRTUAL_DISK_PARAMETERS_0_0 { - pub NewSize: u64, -} -impl ::core::marker::Copy for RESIZE_VIRTUAL_DISK_PARAMETERS_0_0 {} -impl ::core::clone::Clone for RESIZE_VIRTUAL_DISK_PARAMETERS_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct SET_VIRTUAL_DISK_INFO { - pub Version: SET_VIRTUAL_DISK_INFO_VERSION, - pub Anonymous: SET_VIRTUAL_DISK_INFO_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for SET_VIRTUAL_DISK_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for SET_VIRTUAL_DISK_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub union SET_VIRTUAL_DISK_INFO_0 { - pub ParentFilePath: ::windows_sys::core::PCWSTR, - pub UniqueIdentifier: ::windows_sys::core::GUID, - pub ParentPathWithDepthInfo: SET_VIRTUAL_DISK_INFO_0_1, - pub VhdPhysicalSectorSize: u32, - pub VirtualDiskId: ::windows_sys::core::GUID, - pub ChangeTrackingEnabled: super::super::Foundation::BOOL, - pub ParentLocator: SET_VIRTUAL_DISK_INFO_0_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for SET_VIRTUAL_DISK_INFO_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for SET_VIRTUAL_DISK_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct SET_VIRTUAL_DISK_INFO_0_0 { - pub LinkageId: ::windows_sys::core::GUID, - pub ParentFilePath: ::windows_sys::core::PCWSTR, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for SET_VIRTUAL_DISK_INFO_0_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for SET_VIRTUAL_DISK_INFO_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct SET_VIRTUAL_DISK_INFO_0_1 { - pub ChildDepth: u32, - pub ParentFilePath: ::windows_sys::core::PCWSTR, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for SET_VIRTUAL_DISK_INFO_0_1 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for SET_VIRTUAL_DISK_INFO_0_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct STORAGE_DEPENDENCY_INFO { - pub Version: STORAGE_DEPENDENCY_INFO_VERSION, - pub NumberEntries: u32, - pub Anonymous: STORAGE_DEPENDENCY_INFO_0, -} -impl ::core::marker::Copy for STORAGE_DEPENDENCY_INFO {} -impl ::core::clone::Clone for STORAGE_DEPENDENCY_INFO { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union STORAGE_DEPENDENCY_INFO_0 { - pub Version1Entries: [STORAGE_DEPENDENCY_INFO_TYPE_1; 1], - pub Version2Entries: [STORAGE_DEPENDENCY_INFO_TYPE_2; 1], -} -impl ::core::marker::Copy for STORAGE_DEPENDENCY_INFO_0 {} -impl ::core::clone::Clone for STORAGE_DEPENDENCY_INFO_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct STORAGE_DEPENDENCY_INFO_TYPE_1 { - pub DependencyTypeFlags: DEPENDENT_DISK_FLAG, - pub ProviderSpecificFlags: u32, - pub VirtualStorageType: VIRTUAL_STORAGE_TYPE, -} -impl ::core::marker::Copy for STORAGE_DEPENDENCY_INFO_TYPE_1 {} -impl ::core::clone::Clone for STORAGE_DEPENDENCY_INFO_TYPE_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct STORAGE_DEPENDENCY_INFO_TYPE_2 { - pub DependencyTypeFlags: DEPENDENT_DISK_FLAG, - pub ProviderSpecificFlags: u32, - pub VirtualStorageType: VIRTUAL_STORAGE_TYPE, - pub AncestorLevel: u32, - pub DependencyDeviceName: ::windows_sys::core::PWSTR, - pub HostVolumeName: ::windows_sys::core::PWSTR, - pub DependentVolumeName: ::windows_sys::core::PWSTR, - pub DependentVolumeRelativePath: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for STORAGE_DEPENDENCY_INFO_TYPE_2 {} -impl ::core::clone::Clone for STORAGE_DEPENDENCY_INFO_TYPE_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct TAKE_SNAPSHOT_VHDSET_PARAMETERS { - pub Version: TAKE_SNAPSHOT_VHDSET_VERSION, - pub Anonymous: TAKE_SNAPSHOT_VHDSET_PARAMETERS_0, -} -impl ::core::marker::Copy for TAKE_SNAPSHOT_VHDSET_PARAMETERS {} -impl ::core::clone::Clone for TAKE_SNAPSHOT_VHDSET_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union TAKE_SNAPSHOT_VHDSET_PARAMETERS_0 { - pub Version1: TAKE_SNAPSHOT_VHDSET_PARAMETERS_0_0, -} -impl ::core::marker::Copy for TAKE_SNAPSHOT_VHDSET_PARAMETERS_0 {} -impl ::core::clone::Clone for TAKE_SNAPSHOT_VHDSET_PARAMETERS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct TAKE_SNAPSHOT_VHDSET_PARAMETERS_0_0 { - pub SnapshotId: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for TAKE_SNAPSHOT_VHDSET_PARAMETERS_0_0 {} -impl ::core::clone::Clone for TAKE_SNAPSHOT_VHDSET_PARAMETERS_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct VIRTUAL_DISK_PROGRESS { - pub OperationStatus: u32, - pub CurrentValue: u64, - pub CompletionValue: u64, -} -impl ::core::marker::Copy for VIRTUAL_DISK_PROGRESS {} -impl ::core::clone::Clone for VIRTUAL_DISK_PROGRESS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct VIRTUAL_STORAGE_TYPE { - pub DeviceId: u32, - pub VendorId: ::windows_sys::core::GUID, -} -impl ::core::marker::Copy for VIRTUAL_STORAGE_TYPE {} -impl ::core::clone::Clone for VIRTUAL_STORAGE_TYPE { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/Xps/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/Xps/mod.rs deleted file mode 100644 index fdb2761..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Storage/Xps/mod.rs +++ /dev/null @@ -1,583 +0,0 @@ -#[cfg(feature = "Win32_Graphics_Gdi")] -::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn AbortDoc(hdc : super::super::Graphics::Gdi:: HDC) -> i32); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -::windows_targets::link!("winspool.drv" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn DeviceCapabilitiesA(pdevice : ::windows_sys::core::PCSTR, pport : ::windows_sys::core::PCSTR, fwcapability : PRINTER_DEVICE_CAPABILITIES, poutput : ::windows_sys::core::PSTR, pdevmode : *const super::super::Graphics::Gdi:: DEVMODEA) -> i32); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -::windows_targets::link!("winspool.drv" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn DeviceCapabilitiesW(pdevice : ::windows_sys::core::PCWSTR, pport : ::windows_sys::core::PCWSTR, fwcapability : PRINTER_DEVICE_CAPABILITIES, poutput : ::windows_sys::core::PWSTR, pdevmode : *const super::super::Graphics::Gdi:: DEVMODEW) -> i32); -#[cfg(feature = "Win32_Graphics_Gdi")] -::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn EndDoc(hdc : super::super::Graphics::Gdi:: HDC) -> i32); -#[cfg(feature = "Win32_Graphics_Gdi")] -::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn EndPage(hdc : super::super::Graphics::Gdi:: HDC) -> i32); -#[cfg(feature = "Win32_Graphics_Gdi")] -::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn Escape(hdc : super::super::Graphics::Gdi:: HDC, iescape : i32, cjin : i32, pvin : ::windows_sys::core::PCSTR, pvout : *mut ::core::ffi::c_void) -> i32); -#[cfg(feature = "Win32_Graphics_Gdi")] -::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn ExtEscape(hdc : super::super::Graphics::Gdi:: HDC, iescape : i32, cjinput : i32, lpindata : ::windows_sys::core::PCSTR, cjoutput : i32, lpoutdata : ::windows_sys::core::PSTR) -> i32); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn PrintWindow(hwnd : super::super::Foundation:: HWND, hdcblt : super::super::Graphics::Gdi:: HDC, nflags : PRINT_WINDOW_FLAGS) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn SetAbortProc(hdc : super::super::Graphics::Gdi:: HDC, proc : ABORTPROC) -> i32); -#[cfg(feature = "Win32_Graphics_Gdi")] -::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn StartDocA(hdc : super::super::Graphics::Gdi:: HDC, lpdi : *const DOCINFOA) -> i32); -#[cfg(feature = "Win32_Graphics_Gdi")] -::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn StartDocW(hdc : super::super::Graphics::Gdi:: HDC, lpdi : *const DOCINFOW) -> i32); -#[cfg(feature = "Win32_Graphics_Gdi")] -::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn StartPage(hdc : super::super::Graphics::Gdi:: HDC) -> i32); -pub type IXpsDocumentPackageTarget = *mut ::core::ffi::c_void; -pub type IXpsDocumentPackageTarget3D = *mut ::core::ffi::c_void; -pub type IXpsOMBrush = *mut ::core::ffi::c_void; -pub type IXpsOMCanvas = *mut ::core::ffi::c_void; -pub type IXpsOMColorProfileResource = *mut ::core::ffi::c_void; -pub type IXpsOMColorProfileResourceCollection = *mut ::core::ffi::c_void; -pub type IXpsOMCoreProperties = *mut ::core::ffi::c_void; -pub type IXpsOMDashCollection = *mut ::core::ffi::c_void; -pub type IXpsOMDictionary = *mut ::core::ffi::c_void; -pub type IXpsOMDocument = *mut ::core::ffi::c_void; -pub type IXpsOMDocumentCollection = *mut ::core::ffi::c_void; -pub type IXpsOMDocumentSequence = *mut ::core::ffi::c_void; -pub type IXpsOMDocumentStructureResource = *mut ::core::ffi::c_void; -pub type IXpsOMFontResource = *mut ::core::ffi::c_void; -pub type IXpsOMFontResourceCollection = *mut ::core::ffi::c_void; -pub type IXpsOMGeometry = *mut ::core::ffi::c_void; -pub type IXpsOMGeometryFigure = *mut ::core::ffi::c_void; -pub type IXpsOMGeometryFigureCollection = *mut ::core::ffi::c_void; -pub type IXpsOMGlyphs = *mut ::core::ffi::c_void; -pub type IXpsOMGlyphsEditor = *mut ::core::ffi::c_void; -pub type IXpsOMGradientBrush = *mut ::core::ffi::c_void; -pub type IXpsOMGradientStop = *mut ::core::ffi::c_void; -pub type IXpsOMGradientStopCollection = *mut ::core::ffi::c_void; -pub type IXpsOMImageBrush = *mut ::core::ffi::c_void; -pub type IXpsOMImageResource = *mut ::core::ffi::c_void; -pub type IXpsOMImageResourceCollection = *mut ::core::ffi::c_void; -pub type IXpsOMLinearGradientBrush = *mut ::core::ffi::c_void; -pub type IXpsOMMatrixTransform = *mut ::core::ffi::c_void; -pub type IXpsOMNameCollection = *mut ::core::ffi::c_void; -pub type IXpsOMObjectFactory = *mut ::core::ffi::c_void; -pub type IXpsOMObjectFactory1 = *mut ::core::ffi::c_void; -pub type IXpsOMPackage = *mut ::core::ffi::c_void; -pub type IXpsOMPackage1 = *mut ::core::ffi::c_void; -pub type IXpsOMPackageTarget = *mut ::core::ffi::c_void; -pub type IXpsOMPackageWriter = *mut ::core::ffi::c_void; -pub type IXpsOMPackageWriter3D = *mut ::core::ffi::c_void; -pub type IXpsOMPage = *mut ::core::ffi::c_void; -pub type IXpsOMPage1 = *mut ::core::ffi::c_void; -pub type IXpsOMPageReference = *mut ::core::ffi::c_void; -pub type IXpsOMPageReferenceCollection = *mut ::core::ffi::c_void; -pub type IXpsOMPart = *mut ::core::ffi::c_void; -pub type IXpsOMPartResources = *mut ::core::ffi::c_void; -pub type IXpsOMPartUriCollection = *mut ::core::ffi::c_void; -pub type IXpsOMPath = *mut ::core::ffi::c_void; -pub type IXpsOMPrintTicketResource = *mut ::core::ffi::c_void; -pub type IXpsOMRadialGradientBrush = *mut ::core::ffi::c_void; -pub type IXpsOMRemoteDictionaryResource = *mut ::core::ffi::c_void; -pub type IXpsOMRemoteDictionaryResource1 = *mut ::core::ffi::c_void; -pub type IXpsOMRemoteDictionaryResourceCollection = *mut ::core::ffi::c_void; -pub type IXpsOMResource = *mut ::core::ffi::c_void; -pub type IXpsOMShareable = *mut ::core::ffi::c_void; -pub type IXpsOMSignatureBlockResource = *mut ::core::ffi::c_void; -pub type IXpsOMSignatureBlockResourceCollection = *mut ::core::ffi::c_void; -pub type IXpsOMSolidColorBrush = *mut ::core::ffi::c_void; -pub type IXpsOMStoryFragmentsResource = *mut ::core::ffi::c_void; -pub type IXpsOMThumbnailGenerator = *mut ::core::ffi::c_void; -pub type IXpsOMTileBrush = *mut ::core::ffi::c_void; -pub type IXpsOMVisual = *mut ::core::ffi::c_void; -pub type IXpsOMVisualBrush = *mut ::core::ffi::c_void; -pub type IXpsOMVisualCollection = *mut ::core::ffi::c_void; -pub type IXpsSignature = *mut ::core::ffi::c_void; -pub type IXpsSignatureBlock = *mut ::core::ffi::c_void; -pub type IXpsSignatureBlockCollection = *mut ::core::ffi::c_void; -pub type IXpsSignatureCollection = *mut ::core::ffi::c_void; -pub type IXpsSignatureManager = *mut ::core::ffi::c_void; -pub type IXpsSignatureRequest = *mut ::core::ffi::c_void; -pub type IXpsSignatureRequestCollection = *mut ::core::ffi::c_void; -pub type IXpsSigningOptions = *mut ::core::ffi::c_void; -pub const DC_BINNAMES: PRINTER_DEVICE_CAPABILITIES = 12u16; -pub const DC_BINS: PRINTER_DEVICE_CAPABILITIES = 6u16; -pub const DC_COLLATE: PRINTER_DEVICE_CAPABILITIES = 22u16; -pub const DC_COLORDEVICE: PRINTER_DEVICE_CAPABILITIES = 32u16; -pub const DC_COPIES: PRINTER_DEVICE_CAPABILITIES = 18u16; -pub const DC_DRIVER: PRINTER_DEVICE_CAPABILITIES = 11u16; -pub const DC_DUPLEX: PRINTER_DEVICE_CAPABILITIES = 7u16; -pub const DC_ENUMRESOLUTIONS: PRINTER_DEVICE_CAPABILITIES = 13u16; -pub const DC_EXTRA: PRINTER_DEVICE_CAPABILITIES = 9u16; -pub const DC_FIELDS: PRINTER_DEVICE_CAPABILITIES = 1u16; -pub const DC_FILEDEPENDENCIES: PRINTER_DEVICE_CAPABILITIES = 14u16; -pub const DC_MAXEXTENT: PRINTER_DEVICE_CAPABILITIES = 5u16; -pub const DC_MEDIAREADY: PRINTER_DEVICE_CAPABILITIES = 29u16; -pub const DC_MEDIATYPENAMES: PRINTER_DEVICE_CAPABILITIES = 34u16; -pub const DC_MEDIATYPES: PRINTER_DEVICE_CAPABILITIES = 35u16; -pub const DC_MINEXTENT: PRINTER_DEVICE_CAPABILITIES = 4u16; -pub const DC_NUP: PRINTER_DEVICE_CAPABILITIES = 33u16; -pub const DC_ORIENTATION: PRINTER_DEVICE_CAPABILITIES = 17u16; -pub const DC_PAPERNAMES: PRINTER_DEVICE_CAPABILITIES = 16u16; -pub const DC_PAPERS: PRINTER_DEVICE_CAPABILITIES = 2u16; -pub const DC_PAPERSIZE: PRINTER_DEVICE_CAPABILITIES = 3u16; -pub const DC_PERSONALITY: PRINTER_DEVICE_CAPABILITIES = 25u16; -pub const DC_PRINTERMEM: PRINTER_DEVICE_CAPABILITIES = 28u16; -pub const DC_PRINTRATE: PRINTER_DEVICE_CAPABILITIES = 26u16; -pub const DC_PRINTRATEPPM: PRINTER_DEVICE_CAPABILITIES = 31u16; -pub const DC_PRINTRATEUNIT: PRINTER_DEVICE_CAPABILITIES = 27u16; -pub const DC_SIZE: PRINTER_DEVICE_CAPABILITIES = 8u16; -pub const DC_STAPLE: PRINTER_DEVICE_CAPABILITIES = 30u16; -pub const DC_TRUETYPE: PRINTER_DEVICE_CAPABILITIES = 15u16; -pub const DC_VERSION: PRINTER_DEVICE_CAPABILITIES = 10u16; -pub const PSINJECT_BEGINDEFAULTS: PSINJECT_POINT = 12u16; -pub const PSINJECT_BEGINPAGESETUP: PSINJECT_POINT = 101u16; -pub const PSINJECT_BEGINPROLOG: PSINJECT_POINT = 14u16; -pub const PSINJECT_BEGINSETUP: PSINJECT_POINT = 16u16; -pub const PSINJECT_BEGINSTREAM: PSINJECT_POINT = 1u16; -pub const PSINJECT_BOUNDINGBOX: PSINJECT_POINT = 9u16; -pub const PSINJECT_COMMENTS: PSINJECT_POINT = 11u16; -pub const PSINJECT_DOCNEEDEDRES: PSINJECT_POINT = 5u16; -pub const PSINJECT_DOCSUPPLIEDRES: PSINJECT_POINT = 6u16; -pub const PSINJECT_DOCUMENTPROCESSCOLORS: PSINJECT_POINT = 10u16; -pub const PSINJECT_DOCUMENTPROCESSCOLORSATEND: PSINJECT_POINT = 21u16; -pub const PSINJECT_ENDDEFAULTS: PSINJECT_POINT = 13u16; -pub const PSINJECT_ENDPAGECOMMENTS: PSINJECT_POINT = 107u16; -pub const PSINJECT_ENDPAGESETUP: PSINJECT_POINT = 102u16; -pub const PSINJECT_ENDPROLOG: PSINJECT_POINT = 15u16; -pub const PSINJECT_ENDSETUP: PSINJECT_POINT = 17u16; -pub const PSINJECT_ENDSTREAM: PSINJECT_POINT = 20u16; -pub const PSINJECT_EOF: PSINJECT_POINT = 19u16; -pub const PSINJECT_ORIENTATION: PSINJECT_POINT = 8u16; -pub const PSINJECT_PAGEBBOX: PSINJECT_POINT = 106u16; -pub const PSINJECT_PAGENUMBER: PSINJECT_POINT = 100u16; -pub const PSINJECT_PAGEORDER: PSINJECT_POINT = 7u16; -pub const PSINJECT_PAGES: PSINJECT_POINT = 4u16; -pub const PSINJECT_PAGESATEND: PSINJECT_POINT = 3u16; -pub const PSINJECT_PAGETRAILER: PSINJECT_POINT = 103u16; -pub const PSINJECT_PLATECOLOR: PSINJECT_POINT = 104u16; -pub const PSINJECT_PSADOBE: PSINJECT_POINT = 2u16; -pub const PSINJECT_SHOWPAGE: PSINJECT_POINT = 105u16; -pub const PSINJECT_TRAILER: PSINJECT_POINT = 18u16; -pub const PSINJECT_VMRESTORE: PSINJECT_POINT = 201u16; -pub const PSINJECT_VMSAVE: PSINJECT_POINT = 200u16; -pub const PW_CLIENTONLY: PRINT_WINDOW_FLAGS = 1u32; -pub const XPS_COLOR_INTERPOLATION_SCRGBLINEAR: XPS_COLOR_INTERPOLATION = 1i32; -pub const XPS_COLOR_INTERPOLATION_SRGBLINEAR: XPS_COLOR_INTERPOLATION = 2i32; -pub const XPS_COLOR_TYPE_CONTEXT: XPS_COLOR_TYPE = 3i32; -pub const XPS_COLOR_TYPE_SCRGB: XPS_COLOR_TYPE = 2i32; -pub const XPS_COLOR_TYPE_SRGB: XPS_COLOR_TYPE = 1i32; -pub const XPS_DASH_CAP_FLAT: XPS_DASH_CAP = 1i32; -pub const XPS_DASH_CAP_ROUND: XPS_DASH_CAP = 2i32; -pub const XPS_DASH_CAP_SQUARE: XPS_DASH_CAP = 3i32; -pub const XPS_DASH_CAP_TRIANGLE: XPS_DASH_CAP = 4i32; -pub const XPS_DOCUMENT_TYPE_OPENXPS: XPS_DOCUMENT_TYPE = 3i32; -pub const XPS_DOCUMENT_TYPE_UNSPECIFIED: XPS_DOCUMENT_TYPE = 1i32; -pub const XPS_DOCUMENT_TYPE_XPS: XPS_DOCUMENT_TYPE = 2i32; -pub const XPS_E_ABSOLUTE_REFERENCE: ::windows_sys::core::HRESULT = -2142108159i32; -pub const XPS_E_ALREADY_OWNED: ::windows_sys::core::HRESULT = -2142108413i32; -pub const XPS_E_BLEED_BOX_PAGE_DIMENSIONS_NOT_IN_SYNC: ::windows_sys::core::HRESULT = -2142108407i32; -pub const XPS_E_BOTH_PATHFIGURE_AND_ABBR_SYNTAX_PRESENT: ::windows_sys::core::HRESULT = -2142108409i32; -pub const XPS_E_BOTH_RESOURCE_AND_SOURCEATTR_PRESENT: ::windows_sys::core::HRESULT = -2142108408i32; -pub const XPS_E_CARET_OUTSIDE_STRING: ::windows_sys::core::HRESULT = -2142108923i32; -pub const XPS_E_CARET_OUT_OF_ORDER: ::windows_sys::core::HRESULT = -2142108922i32; -pub const XPS_E_COLOR_COMPONENT_OUT_OF_RANGE: ::windows_sys::core::HRESULT = -2142108410i32; -pub const XPS_E_DICTIONARY_ITEM_NAMED: ::windows_sys::core::HRESULT = -2142108671i32; -pub const XPS_E_DUPLICATE_NAMES: ::windows_sys::core::HRESULT = -2142109175i32; -pub const XPS_E_DUPLICATE_RESOURCE_KEYS: ::windows_sys::core::HRESULT = -2142109184i32; -pub const XPS_E_INDEX_OUT_OF_RANGE: ::windows_sys::core::HRESULT = -2142108416i32; -pub const XPS_E_INVALID_BLEED_BOX: ::windows_sys::core::HRESULT = -2142109692i32; -pub const XPS_E_INVALID_CONTENT_BOX: ::windows_sys::core::HRESULT = -2142109685i32; -pub const XPS_E_INVALID_CONTENT_TYPE: ::windows_sys::core::HRESULT = -2142109682i32; -pub const XPS_E_INVALID_FLOAT: ::windows_sys::core::HRESULT = -2142109689i32; -pub const XPS_E_INVALID_FONT_URI: ::windows_sys::core::HRESULT = -2142109686i32; -pub const XPS_E_INVALID_LANGUAGE: ::windows_sys::core::HRESULT = -2142109696i32; -pub const XPS_E_INVALID_LOOKUP_TYPE: ::windows_sys::core::HRESULT = -2142109690i32; -pub const XPS_E_INVALID_MARKUP: ::windows_sys::core::HRESULT = -2142109684i32; -pub const XPS_E_INVALID_NAME: ::windows_sys::core::HRESULT = -2142109695i32; -pub const XPS_E_INVALID_NUMBER_OF_COLOR_CHANNELS: ::windows_sys::core::HRESULT = -2142108158i32; -pub const XPS_E_INVALID_NUMBER_OF_POINTS_IN_CURVE_SEGMENTS: ::windows_sys::core::HRESULT = -2142108160i32; -pub const XPS_E_INVALID_OBFUSCATED_FONT_URI: ::windows_sys::core::HRESULT = -2142109681i32; -pub const XPS_E_INVALID_PAGE_SIZE: ::windows_sys::core::HRESULT = -2142109693i32; -pub const XPS_E_INVALID_RESOURCE_KEY: ::windows_sys::core::HRESULT = -2142109694i32; -pub const XPS_E_INVALID_SIGNATUREBLOCK_MARKUP: ::windows_sys::core::HRESULT = -2142108789i32; -pub const XPS_E_INVALID_THUMBNAIL_IMAGE_TYPE: ::windows_sys::core::HRESULT = -2142109691i32; -pub const XPS_E_INVALID_XML_ENCODING: ::windows_sys::core::HRESULT = -2142109683i32; -pub const XPS_E_MAPPING_OUTSIDE_INDICES: ::windows_sys::core::HRESULT = -2142108924i32; -pub const XPS_E_MAPPING_OUTSIDE_STRING: ::windows_sys::core::HRESULT = -2142108925i32; -pub const XPS_E_MAPPING_OUT_OF_ORDER: ::windows_sys::core::HRESULT = -2142108926i32; -pub const XPS_E_MARKUP_COMPATIBILITY_ELEMENTS: ::windows_sys::core::HRESULT = -2142108791i32; -pub const XPS_E_MISSING_COLORPROFILE: ::windows_sys::core::HRESULT = -2142109436i32; -pub const XPS_E_MISSING_DISCARDCONTROL: ::windows_sys::core::HRESULT = -2142109422i32; -pub const XPS_E_MISSING_DOCUMENT: ::windows_sys::core::HRESULT = -2142109431i32; -pub const XPS_E_MISSING_DOCUMENTSEQUENCE_RELATIONSHIP: ::windows_sys::core::HRESULT = -2142109432i32; -pub const XPS_E_MISSING_FONTURI: ::windows_sys::core::HRESULT = -2142109433i32; -pub const XPS_E_MISSING_GLYPHS: ::windows_sys::core::HRESULT = -2142109438i32; -pub const XPS_E_MISSING_IMAGE_IN_IMAGEBRUSH: ::windows_sys::core::HRESULT = -2142109426i32; -pub const XPS_E_MISSING_LOOKUP: ::windows_sys::core::HRESULT = -2142109439i32; -pub const XPS_E_MISSING_NAME: ::windows_sys::core::HRESULT = -2142109440i32; -pub const XPS_E_MISSING_PAGE_IN_DOCUMENT: ::windows_sys::core::HRESULT = -2142109428i32; -pub const XPS_E_MISSING_PAGE_IN_PAGEREFERENCE: ::windows_sys::core::HRESULT = -2142109427i32; -pub const XPS_E_MISSING_PART_REFERENCE: ::windows_sys::core::HRESULT = -2142109424i32; -pub const XPS_E_MISSING_PART_STREAM: ::windows_sys::core::HRESULT = -2142109421i32; -pub const XPS_E_MISSING_REFERRED_DOCUMENT: ::windows_sys::core::HRESULT = -2142109430i32; -pub const XPS_E_MISSING_REFERRED_PAGE: ::windows_sys::core::HRESULT = -2142109429i32; -pub const XPS_E_MISSING_RELATIONSHIP_TARGET: ::windows_sys::core::HRESULT = -2142109435i32; -pub const XPS_E_MISSING_RESOURCE_KEY: ::windows_sys::core::HRESULT = -2142109425i32; -pub const XPS_E_MISSING_RESOURCE_RELATIONSHIP: ::windows_sys::core::HRESULT = -2142109434i32; -pub const XPS_E_MISSING_RESTRICTED_FONT_RELATIONSHIP: ::windows_sys::core::HRESULT = -2142109423i32; -pub const XPS_E_MISSING_SEGMENT_DATA: ::windows_sys::core::HRESULT = -2142109437i32; -pub const XPS_E_MULTIPLE_DOCUMENTSEQUENCE_RELATIONSHIPS: ::windows_sys::core::HRESULT = -2142109182i32; -pub const XPS_E_MULTIPLE_PRINTTICKETS_ON_DOCUMENT: ::windows_sys::core::HRESULT = -2142109178i32; -pub const XPS_E_MULTIPLE_PRINTTICKETS_ON_DOCUMENTSEQUENCE: ::windows_sys::core::HRESULT = -2142109177i32; -pub const XPS_E_MULTIPLE_PRINTTICKETS_ON_PAGE: ::windows_sys::core::HRESULT = -2142109179i32; -pub const XPS_E_MULTIPLE_REFERENCES_TO_PART: ::windows_sys::core::HRESULT = -2142109176i32; -pub const XPS_E_MULTIPLE_RESOURCES: ::windows_sys::core::HRESULT = -2142109183i32; -pub const XPS_E_MULTIPLE_THUMBNAILS_ON_PACKAGE: ::windows_sys::core::HRESULT = -2142109180i32; -pub const XPS_E_MULTIPLE_THUMBNAILS_ON_PAGE: ::windows_sys::core::HRESULT = -2142109181i32; -pub const XPS_E_NEGATIVE_FLOAT: ::windows_sys::core::HRESULT = -2142108918i32; -pub const XPS_E_NESTED_REMOTE_DICTIONARY: ::windows_sys::core::HRESULT = -2142108670i32; -pub const XPS_E_NOT_ENOUGH_GRADIENT_STOPS: ::windows_sys::core::HRESULT = -2142108405i32; -pub const XPS_E_NO_CUSTOM_OBJECTS: ::windows_sys::core::HRESULT = -2142108414i32; -pub const XPS_E_OBJECT_DETACHED: ::windows_sys::core::HRESULT = -2142108790i32; -pub const XPS_E_ODD_BIDILEVEL: ::windows_sys::core::HRESULT = -2142108921i32; -pub const XPS_E_ONE_TO_ONE_MAPPING_EXPECTED: ::windows_sys::core::HRESULT = -2142108920i32; -pub const XPS_E_PACKAGE_ALREADY_OPENED: ::windows_sys::core::HRESULT = -2142108793i32; -pub const XPS_E_PACKAGE_NOT_OPENED: ::windows_sys::core::HRESULT = -2142108794i32; -pub const XPS_E_PACKAGE_WRITER_NOT_CLOSED: ::windows_sys::core::HRESULT = -2142108404i32; -pub const XPS_E_RELATIONSHIP_EXTERNAL: ::windows_sys::core::HRESULT = -2142108406i32; -pub const XPS_E_RESOURCE_NOT_OWNED: ::windows_sys::core::HRESULT = -2142108412i32; -pub const XPS_E_RESTRICTED_FONT_NOT_OBFUSCATED: ::windows_sys::core::HRESULT = -2142108919i32; -pub const XPS_E_SIGNATUREID_DUP: ::windows_sys::core::HRESULT = -2142108792i32; -pub const XPS_E_SIGREQUESTID_DUP: ::windows_sys::core::HRESULT = -2142108795i32; -pub const XPS_E_STRING_TOO_LONG: ::windows_sys::core::HRESULT = -2142108928i32; -pub const XPS_E_TOO_MANY_INDICES: ::windows_sys::core::HRESULT = -2142108927i32; -pub const XPS_E_UNAVAILABLE_PACKAGE: ::windows_sys::core::HRESULT = -2142109420i32; -pub const XPS_E_UNEXPECTED_COLORPROFILE: ::windows_sys::core::HRESULT = -2142108411i32; -pub const XPS_E_UNEXPECTED_CONTENT_TYPE: ::windows_sys::core::HRESULT = -2142109688i32; -pub const XPS_E_UNEXPECTED_RELATIONSHIP_TYPE: ::windows_sys::core::HRESULT = -2142109680i32; -pub const XPS_E_UNEXPECTED_RESTRICTED_FONT_RELATIONSHIP: ::windows_sys::core::HRESULT = -2142109679i32; -pub const XPS_E_VISUAL_CIRCULAR_REF: ::windows_sys::core::HRESULT = -2142108415i32; -pub const XPS_E_XKEY_ATTR_PRESENT_OUTSIDE_RES_DICT: ::windows_sys::core::HRESULT = -2142108672i32; -pub const XPS_FILL_RULE_EVENODD: XPS_FILL_RULE = 1i32; -pub const XPS_FILL_RULE_NONZERO: XPS_FILL_RULE = 2i32; -pub const XPS_FONT_EMBEDDING_NORMAL: XPS_FONT_EMBEDDING = 1i32; -pub const XPS_FONT_EMBEDDING_OBFUSCATED: XPS_FONT_EMBEDDING = 2i32; -pub const XPS_FONT_EMBEDDING_RESTRICTED: XPS_FONT_EMBEDDING = 3i32; -pub const XPS_FONT_EMBEDDING_RESTRICTED_UNOBFUSCATED: XPS_FONT_EMBEDDING = 4i32; -pub const XPS_IMAGE_TYPE_JPEG: XPS_IMAGE_TYPE = 1i32; -pub const XPS_IMAGE_TYPE_JXR: XPS_IMAGE_TYPE = 5i32; -pub const XPS_IMAGE_TYPE_PNG: XPS_IMAGE_TYPE = 2i32; -pub const XPS_IMAGE_TYPE_TIFF: XPS_IMAGE_TYPE = 3i32; -pub const XPS_IMAGE_TYPE_WDP: XPS_IMAGE_TYPE = 4i32; -pub const XPS_INTERLEAVING_OFF: XPS_INTERLEAVING = 1i32; -pub const XPS_INTERLEAVING_ON: XPS_INTERLEAVING = 2i32; -pub const XPS_LINE_CAP_FLAT: XPS_LINE_CAP = 1i32; -pub const XPS_LINE_CAP_ROUND: XPS_LINE_CAP = 2i32; -pub const XPS_LINE_CAP_SQUARE: XPS_LINE_CAP = 3i32; -pub const XPS_LINE_CAP_TRIANGLE: XPS_LINE_CAP = 4i32; -pub const XPS_LINE_JOIN_BEVEL: XPS_LINE_JOIN = 2i32; -pub const XPS_LINE_JOIN_MITER: XPS_LINE_JOIN = 1i32; -pub const XPS_LINE_JOIN_ROUND: XPS_LINE_JOIN = 3i32; -pub const XPS_OBJECT_TYPE_CANVAS: XPS_OBJECT_TYPE = 1i32; -pub const XPS_OBJECT_TYPE_GEOMETRY: XPS_OBJECT_TYPE = 5i32; -pub const XPS_OBJECT_TYPE_GLYPHS: XPS_OBJECT_TYPE = 2i32; -pub const XPS_OBJECT_TYPE_IMAGE_BRUSH: XPS_OBJECT_TYPE = 7i32; -pub const XPS_OBJECT_TYPE_LINEAR_GRADIENT_BRUSH: XPS_OBJECT_TYPE = 8i32; -pub const XPS_OBJECT_TYPE_MATRIX_TRANSFORM: XPS_OBJECT_TYPE = 4i32; -pub const XPS_OBJECT_TYPE_PATH: XPS_OBJECT_TYPE = 3i32; -pub const XPS_OBJECT_TYPE_RADIAL_GRADIENT_BRUSH: XPS_OBJECT_TYPE = 9i32; -pub const XPS_OBJECT_TYPE_SOLID_COLOR_BRUSH: XPS_OBJECT_TYPE = 6i32; -pub const XPS_OBJECT_TYPE_VISUAL_BRUSH: XPS_OBJECT_TYPE = 10i32; -pub const XPS_SEGMENT_STROKE_PATTERN_ALL: XPS_SEGMENT_STROKE_PATTERN = 1i32; -pub const XPS_SEGMENT_STROKE_PATTERN_MIXED: XPS_SEGMENT_STROKE_PATTERN = 3i32; -pub const XPS_SEGMENT_STROKE_PATTERN_NONE: XPS_SEGMENT_STROKE_PATTERN = 2i32; -pub const XPS_SEGMENT_TYPE_ARC_LARGE_CLOCKWISE: XPS_SEGMENT_TYPE = 1i32; -pub const XPS_SEGMENT_TYPE_ARC_LARGE_COUNTERCLOCKWISE: XPS_SEGMENT_TYPE = 2i32; -pub const XPS_SEGMENT_TYPE_ARC_SMALL_CLOCKWISE: XPS_SEGMENT_TYPE = 3i32; -pub const XPS_SEGMENT_TYPE_ARC_SMALL_COUNTERCLOCKWISE: XPS_SEGMENT_TYPE = 4i32; -pub const XPS_SEGMENT_TYPE_BEZIER: XPS_SEGMENT_TYPE = 5i32; -pub const XPS_SEGMENT_TYPE_LINE: XPS_SEGMENT_TYPE = 6i32; -pub const XPS_SEGMENT_TYPE_QUADRATIC_BEZIER: XPS_SEGMENT_TYPE = 7i32; -pub const XPS_SIGNATURE_STATUS_BROKEN: XPS_SIGNATURE_STATUS = 3i32; -pub const XPS_SIGNATURE_STATUS_INCOMPLETE: XPS_SIGNATURE_STATUS = 2i32; -pub const XPS_SIGNATURE_STATUS_INCOMPLIANT: XPS_SIGNATURE_STATUS = 1i32; -pub const XPS_SIGNATURE_STATUS_QUESTIONABLE: XPS_SIGNATURE_STATUS = 4i32; -pub const XPS_SIGNATURE_STATUS_VALID: XPS_SIGNATURE_STATUS = 5i32; -pub const XPS_SIGN_FLAGS_IGNORE_MARKUP_COMPATIBILITY: XPS_SIGN_FLAGS = 1i32; -pub const XPS_SIGN_FLAGS_NONE: XPS_SIGN_FLAGS = 0i32; -pub const XPS_SIGN_POLICY_ALL: XPS_SIGN_POLICY = 15i32; -pub const XPS_SIGN_POLICY_CORE_PROPERTIES: XPS_SIGN_POLICY = 1i32; -pub const XPS_SIGN_POLICY_DISCARD_CONTROL: XPS_SIGN_POLICY = 8i32; -pub const XPS_SIGN_POLICY_NONE: XPS_SIGN_POLICY = 0i32; -pub const XPS_SIGN_POLICY_PRINT_TICKET: XPS_SIGN_POLICY = 4i32; -pub const XPS_SIGN_POLICY_SIGNATURE_RELATIONSHIPS: XPS_SIGN_POLICY = 2i32; -pub const XPS_SPREAD_METHOD_PAD: XPS_SPREAD_METHOD = 1i32; -pub const XPS_SPREAD_METHOD_REFLECT: XPS_SPREAD_METHOD = 2i32; -pub const XPS_SPREAD_METHOD_REPEAT: XPS_SPREAD_METHOD = 3i32; -pub const XPS_STYLE_SIMULATION_BOLD: XPS_STYLE_SIMULATION = 3i32; -pub const XPS_STYLE_SIMULATION_BOLDITALIC: XPS_STYLE_SIMULATION = 4i32; -pub const XPS_STYLE_SIMULATION_ITALIC: XPS_STYLE_SIMULATION = 2i32; -pub const XPS_STYLE_SIMULATION_NONE: XPS_STYLE_SIMULATION = 1i32; -pub const XPS_THUMBNAIL_SIZE_LARGE: XPS_THUMBNAIL_SIZE = 4i32; -pub const XPS_THUMBNAIL_SIZE_MEDIUM: XPS_THUMBNAIL_SIZE = 3i32; -pub const XPS_THUMBNAIL_SIZE_SMALL: XPS_THUMBNAIL_SIZE = 2i32; -pub const XPS_THUMBNAIL_SIZE_VERYSMALL: XPS_THUMBNAIL_SIZE = 1i32; -pub const XPS_TILE_MODE_FLIPX: XPS_TILE_MODE = 3i32; -pub const XPS_TILE_MODE_FLIPXY: XPS_TILE_MODE = 5i32; -pub const XPS_TILE_MODE_FLIPY: XPS_TILE_MODE = 4i32; -pub const XPS_TILE_MODE_NONE: XPS_TILE_MODE = 1i32; -pub const XPS_TILE_MODE_TILE: XPS_TILE_MODE = 2i32; -pub const XpsOMObjectFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe974d26d_3d9b_4d47_88cc_3872f2dc3585); -pub const XpsOMThumbnailGenerator: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7e4a23e2_b969_4761_be35_1a8ced58e323); -pub const XpsSignatureManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb0c43320_2315_44a2_b70a_0943a140a8ee); -pub type PRINTER_DEVICE_CAPABILITIES = u16; -pub type PRINT_WINDOW_FLAGS = u32; -pub type PSINJECT_POINT = u16; -pub type XPS_COLOR_INTERPOLATION = i32; -pub type XPS_COLOR_TYPE = i32; -pub type XPS_DASH_CAP = i32; -pub type XPS_DOCUMENT_TYPE = i32; -pub type XPS_FILL_RULE = i32; -pub type XPS_FONT_EMBEDDING = i32; -pub type XPS_IMAGE_TYPE = i32; -pub type XPS_INTERLEAVING = i32; -pub type XPS_LINE_CAP = i32; -pub type XPS_LINE_JOIN = i32; -pub type XPS_OBJECT_TYPE = i32; -pub type XPS_SEGMENT_STROKE_PATTERN = i32; -pub type XPS_SEGMENT_TYPE = i32; -pub type XPS_SIGNATURE_STATUS = i32; -pub type XPS_SIGN_FLAGS = i32; -pub type XPS_SIGN_POLICY = i32; -pub type XPS_SPREAD_METHOD = i32; -pub type XPS_STYLE_SIMULATION = i32; -pub type XPS_THUMBNAIL_SIZE = i32; -pub type XPS_TILE_MODE = i32; -#[repr(C)] -pub struct DOCINFOA { - pub cbSize: i32, - pub lpszDocName: ::windows_sys::core::PCSTR, - pub lpszOutput: ::windows_sys::core::PCSTR, - pub lpszDatatype: ::windows_sys::core::PCSTR, - pub fwType: u32, -} -impl ::core::marker::Copy for DOCINFOA {} -impl ::core::clone::Clone for DOCINFOA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DOCINFOW { - pub cbSize: i32, - pub lpszDocName: ::windows_sys::core::PCWSTR, - pub lpszOutput: ::windows_sys::core::PCWSTR, - pub lpszDatatype: ::windows_sys::core::PCWSTR, - pub fwType: u32, -} -impl ::core::marker::Copy for DOCINFOW {} -impl ::core::clone::Clone for DOCINFOW { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct DRAWPATRECT { - pub ptPosition: super::super::Foundation::POINT, - pub ptSize: super::super::Foundation::POINT, - pub wStyle: u16, - pub wPattern: u16, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for DRAWPATRECT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for DRAWPATRECT { - fn clone(&self) -> Self { - *self - } -} -pub type HPTPROVIDER = isize; -#[repr(C)] -pub struct PSFEATURE_CUSTPAPER { - pub lOrientation: i32, - pub lWidth: i32, - pub lHeight: i32, - pub lWidthOffset: i32, - pub lHeightOffset: i32, -} -impl ::core::marker::Copy for PSFEATURE_CUSTPAPER {} -impl ::core::clone::Clone for PSFEATURE_CUSTPAPER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct PSFEATURE_OUTPUT { - pub bPageIndependent: super::super::Foundation::BOOL, - pub bSetPageDevice: super::super::Foundation::BOOL, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PSFEATURE_OUTPUT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PSFEATURE_OUTPUT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct PSINJECTDATA { - pub DataBytes: u32, - pub InjectionPoint: PSINJECT_POINT, - pub PageNumber: u16, -} -impl ::core::marker::Copy for PSINJECTDATA {} -impl ::core::clone::Clone for PSINJECTDATA { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct XPS_COLOR { - pub colorType: XPS_COLOR_TYPE, - pub value: XPS_COLOR_0, -} -impl ::core::marker::Copy for XPS_COLOR {} -impl ::core::clone::Clone for XPS_COLOR { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub union XPS_COLOR_0 { - pub sRGB: XPS_COLOR_0_1, - pub scRGB: XPS_COLOR_0_2, - pub context: XPS_COLOR_0_0, -} -impl ::core::marker::Copy for XPS_COLOR_0 {} -impl ::core::clone::Clone for XPS_COLOR_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct XPS_COLOR_0_0 { - pub channelCount: u8, - pub channels: [f32; 9], -} -impl ::core::marker::Copy for XPS_COLOR_0_0 {} -impl ::core::clone::Clone for XPS_COLOR_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct XPS_COLOR_0_1 { - pub alpha: u8, - pub red: u8, - pub green: u8, - pub blue: u8, -} -impl ::core::marker::Copy for XPS_COLOR_0_1 {} -impl ::core::clone::Clone for XPS_COLOR_0_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct XPS_COLOR_0_2 { - pub alpha: f32, - pub red: f32, - pub green: f32, - pub blue: f32, -} -impl ::core::marker::Copy for XPS_COLOR_0_2 {} -impl ::core::clone::Clone for XPS_COLOR_0_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct XPS_DASH { - pub length: f32, - pub gap: f32, -} -impl ::core::marker::Copy for XPS_DASH {} -impl ::core::clone::Clone for XPS_DASH { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct XPS_GLYPH_INDEX { - pub index: i32, - pub advanceWidth: f32, - pub horizontalOffset: f32, - pub verticalOffset: f32, -} -impl ::core::marker::Copy for XPS_GLYPH_INDEX {} -impl ::core::clone::Clone for XPS_GLYPH_INDEX { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct XPS_GLYPH_MAPPING { - pub unicodeStringStart: u32, - pub unicodeStringLength: u16, - pub glyphIndicesStart: u32, - pub glyphIndicesLength: u16, -} -impl ::core::marker::Copy for XPS_GLYPH_MAPPING {} -impl ::core::clone::Clone for XPS_GLYPH_MAPPING { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct XPS_MATRIX { - pub m11: f32, - pub m12: f32, - pub m21: f32, - pub m22: f32, - pub m31: f32, - pub m32: f32, -} -impl ::core::marker::Copy for XPS_MATRIX {} -impl ::core::clone::Clone for XPS_MATRIX { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct XPS_POINT { - pub x: f32, - pub y: f32, -} -impl ::core::marker::Copy for XPS_POINT {} -impl ::core::clone::Clone for XPS_POINT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct XPS_RECT { - pub x: f32, - pub y: f32, - pub width: f32, - pub height: f32, -} -impl ::core::marker::Copy for XPS_RECT {} -impl ::core::clone::Clone for XPS_RECT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct XPS_SIZE { - pub width: f32, - pub height: f32, -} -impl ::core::marker::Copy for XPS_SIZE {} -impl ::core::clone::Clone for XPS_SIZE { - fn clone(&self) -> Self { - *self - } -} -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -pub type ABORTPROC = ::core::option::Option<unsafe extern "system" fn(param0: super::super::Graphics::Gdi::HDC, param1: i32) -> super::super::Foundation::BOOL>; diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/mod.rs deleted file mode 100644 index 9005e94..0000000 --- a/vendor/windows-sys/src/Windows/Win32/Storage/mod.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[cfg(feature = "Win32_Storage_Cabinets")] -#[doc = "Required features: `\"Win32_Storage_Cabinets\"`"] -pub mod Cabinets; -#[cfg(feature = "Win32_Storage_CloudFilters")] -#[doc = "Required features: `\"Win32_Storage_CloudFilters\"`"] -pub mod CloudFilters; -#[cfg(feature = "Win32_Storage_Compression")] -#[doc = "Required features: `\"Win32_Storage_Compression\"`"] -pub mod Compression; -#[cfg(feature = "Win32_Storage_DistributedFileSystem")] -#[doc = "Required features: `\"Win32_Storage_DistributedFileSystem\"`"] -pub mod DistributedFileSystem; -#[cfg(feature = "Win32_Storage_FileHistory")] -#[doc = "Required features: `\"Win32_Storage_FileHistory\"`"] -pub mod FileHistory; -#[cfg(feature = "Win32_Storage_FileSystem")] -#[doc = "Required features: `\"Win32_Storage_FileSystem\"`"] -pub mod FileSystem; -#[cfg(feature = "Win32_Storage_Imapi")] -#[doc = "Required features: `\"Win32_Storage_Imapi\"`"] -pub mod Imapi; -#[cfg(feature = "Win32_Storage_IndexServer")] -#[doc = "Required features: `\"Win32_Storage_IndexServer\"`"] -pub mod IndexServer; -#[cfg(feature = "Win32_Storage_InstallableFileSystems")] -#[doc = "Required features: `\"Win32_Storage_InstallableFileSystems\"`"] -pub mod InstallableFileSystems; -#[cfg(feature = "Win32_Storage_IscsiDisc")] -#[doc = "Required features: `\"Win32_Storage_IscsiDisc\"`"] -pub mod IscsiDisc; -#[cfg(feature = "Win32_Storage_Jet")] -#[doc = "Required features: `\"Win32_Storage_Jet\"`"] -pub mod Jet; -#[cfg(feature = "Win32_Storage_Nvme")] -#[doc = "Required features: `\"Win32_Storage_Nvme\"`"] -pub mod Nvme; -#[cfg(feature = "Win32_Storage_OfflineFiles")] -#[doc = "Required features: `\"Win32_Storage_OfflineFiles\"`"] -pub mod OfflineFiles; -#[cfg(feature = "Win32_Storage_OperationRecorder")] -#[doc = "Required features: `\"Win32_Storage_OperationRecorder\"`"] -pub mod OperationRecorder; -#[cfg(feature = "Win32_Storage_Packaging")] -#[doc = "Required features: `\"Win32_Storage_Packaging\"`"] -pub mod Packaging; -#[cfg(feature = "Win32_Storage_ProjectedFileSystem")] -#[doc = "Required features: `\"Win32_Storage_ProjectedFileSystem\"`"] -pub mod ProjectedFileSystem; -#[cfg(feature = "Win32_Storage_StructuredStorage")] -#[doc = "Required features: `\"Win32_Storage_StructuredStorage\"`"] -pub mod StructuredStorage; -#[cfg(feature = "Win32_Storage_Vhd")] -#[doc = "Required features: `\"Win32_Storage_Vhd\"`"] -pub mod Vhd; -#[cfg(feature = "Win32_Storage_Xps")] -#[doc = "Required features: `\"Win32_Storage_Xps\"`"] -pub mod Xps; |