1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] 2 #[link(name = "windows")] 3 extern "system" { 4 #[cfg(feature = "Win32_Foundation")] AddLogContainer(hlog: super::super::Foundation::HANDLE, pcbcontainer: *const u64, pwszcontainerpath: super::super::Foundation::PWSTR, preserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL5 pub fn AddLogContainer(hlog: super::super::Foundation::HANDLE, pcbcontainer: *const u64, pwszcontainerpath: super::super::Foundation::PWSTR, preserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 6 #[cfg(feature = "Win32_Foundation")] AddLogContainerSet(hlog: super::super::Foundation::HANDLE, ccontainer: u16, pcbcontainer: *const u64, rgwszcontainerpath: *const super::super::Foundation::PWSTR, preserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL7 pub fn AddLogContainerSet(hlog: super::super::Foundation::HANDLE, ccontainer: u16, pcbcontainer: *const u64, rgwszcontainerpath: *const super::super::Foundation::PWSTR, preserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 8 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] AddUsersToEncryptedFile(lpfilename: super::super::Foundation::PWSTR, pencryptioncertificates: *const ENCRYPTION_CERTIFICATE_LIST) -> u329 pub fn AddUsersToEncryptedFile(lpfilename: super::super::Foundation::PWSTR, pencryptioncertificates: *const ENCRYPTION_CERTIFICATE_LIST) -> u32; 10 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] AdvanceLogBase(pvmarshal: *mut ::core::ffi::c_void, plsnbase: *mut CLS_LSN, fflags: u32, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL11 pub 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; 12 #[cfg(feature = "Win32_Foundation")] AlignReservedLog(pvmarshal: *mut ::core::ffi::c_void, creservedrecords: u32, rgcbreservation: *mut i64, pcbalignreservation: *mut i64) -> super::super::Foundation::BOOL13 pub fn AlignReservedLog(pvmarshal: *mut ::core::ffi::c_void, creservedrecords: u32, rgcbreservation: *mut i64, pcbalignreservation: *mut i64) -> super::super::Foundation::BOOL; 14 #[cfg(feature = "Win32_Foundation")] AllocReservedLog(pvmarshal: *mut ::core::ffi::c_void, creservedrecords: u32, pcbadjustment: *mut i64) -> super::super::Foundation::BOOL15 pub fn AllocReservedLog(pvmarshal: *mut ::core::ffi::c_void, creservedrecords: u32, pcbadjustment: *mut i64) -> super::super::Foundation::BOOL; 16 #[cfg(feature = "Win32_Foundation")] AreFileApisANSI() -> super::super::Foundation::BOOL17 pub fn AreFileApisANSI() -> super::super::Foundation::BOOL; 18 #[cfg(feature = "Win32_Foundation")] AreShortNamesEnabled(handle: super::super::Foundation::HANDLE, enabled: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL19 pub fn AreShortNamesEnabled(handle: super::super::Foundation::HANDLE, enabled: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; 20 #[cfg(feature = "Win32_Foundation")] 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::BOOL21 pub 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; 22 #[cfg(feature = "Win32_Foundation")] 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::BOOL23 pub 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; 24 #[cfg(feature = "Win32_Foundation")] 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::BOOL25 pub 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; 26 #[cfg(feature = "Win32_Foundation")] BuildIoRingCancelRequest(ioring: *const HIORING__, file: IORING_HANDLE_REF, optocancel: usize, userdata: usize) -> ::windows_sys::core::HRESULT27 pub fn BuildIoRingCancelRequest(ioring: *const HIORING__, file: IORING_HANDLE_REF, optocancel: usize, userdata: usize) -> ::windows_sys::core::HRESULT; 28 #[cfg(feature = "Win32_Foundation")] BuildIoRingReadFile(ioring: *const HIORING__, fileref: IORING_HANDLE_REF, dataref: IORING_BUFFER_REF, numberofbytestoread: u32, fileoffset: u64, userdata: usize, flags: IORING_SQE_FLAGS) -> ::windows_sys::core::HRESULT29 pub fn BuildIoRingReadFile(ioring: *const HIORING__, fileref: IORING_HANDLE_REF, dataref: IORING_BUFFER_REF, numberofbytestoread: u32, fileoffset: u64, userdata: usize, flags: IORING_SQE_FLAGS) -> ::windows_sys::core::HRESULT; BuildIoRingRegisterBuffers(ioring: *const HIORING__, count: u32, buffers: *const IORING_BUFFER_INFO, userdata: usize) -> ::windows_sys::core::HRESULT30 pub fn BuildIoRingRegisterBuffers(ioring: *const HIORING__, count: u32, buffers: *const IORING_BUFFER_INFO, userdata: usize) -> ::windows_sys::core::HRESULT; 31 #[cfg(feature = "Win32_Foundation")] BuildIoRingRegisterFileHandles(ioring: *const HIORING__, count: u32, handles: *const super::super::Foundation::HANDLE, userdata: usize) -> ::windows_sys::core::HRESULT32 pub fn BuildIoRingRegisterFileHandles(ioring: *const HIORING__, count: u32, handles: *const super::super::Foundation::HANDLE, userdata: usize) -> ::windows_sys::core::HRESULT; 33 #[cfg(feature = "Win32_Foundation")] CheckNameLegalDOS8Dot3A(lpname: super::super::Foundation::PSTR, lpoemname: super::super::Foundation::PSTR, oemnamesize: u32, pbnamecontainsspaces: *mut super::super::Foundation::BOOL, pbnamelegal: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL34 pub fn CheckNameLegalDOS8Dot3A(lpname: super::super::Foundation::PSTR, lpoemname: super::super::Foundation::PSTR, oemnamesize: u32, pbnamecontainsspaces: *mut super::super::Foundation::BOOL, pbnamelegal: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; 35 #[cfg(feature = "Win32_Foundation")] CheckNameLegalDOS8Dot3W(lpname: super::super::Foundation::PWSTR, lpoemname: super::super::Foundation::PSTR, oemnamesize: u32, pbnamecontainsspaces: *mut super::super::Foundation::BOOL, pbnamelegal: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL36 pub fn CheckNameLegalDOS8Dot3W(lpname: super::super::Foundation::PWSTR, lpoemname: super::super::Foundation::PSTR, oemnamesize: u32, pbnamecontainsspaces: *mut super::super::Foundation::BOOL, pbnamelegal: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; 37 #[cfg(feature = "Win32_Foundation")] CloseAndResetLogFile(hlog: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL38 pub fn CloseAndResetLogFile(hlog: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; CloseEncryptedFileRaw(pvcontext: *const ::core::ffi::c_void)39 pub fn CloseEncryptedFileRaw(pvcontext: *const ::core::ffi::c_void); CloseIoRing(ioring: *const HIORING__) -> ::windows_sys::core::HRESULT40 pub fn CloseIoRing(ioring: *const HIORING__) -> ::windows_sys::core::HRESULT; 41 #[cfg(feature = "Win32_Foundation")] CommitComplete(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL42 pub fn CommitComplete(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; 43 #[cfg(feature = "Win32_Foundation")] CommitEnlistment(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL44 pub fn CommitEnlistment(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; 45 #[cfg(feature = "Win32_Foundation")] CommitTransaction(transactionhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL46 pub fn CommitTransaction(transactionhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 47 #[cfg(feature = "Win32_Foundation")] CommitTransactionAsync(transactionhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL48 pub fn CommitTransactionAsync(transactionhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 49 #[cfg(feature = "Win32_Foundation")] CompareFileTime(lpfiletime1: *const super::super::Foundation::FILETIME, lpfiletime2: *const super::super::Foundation::FILETIME) -> i3250 pub fn CompareFileTime(lpfiletime1: *const super::super::Foundation::FILETIME, lpfiletime2: *const super::super::Foundation::FILETIME) -> i32; 51 #[cfg(feature = "Win32_Foundation")] CopyFile2(pwszexistingfilename: super::super::Foundation::PWSTR, pwsznewfilename: super::super::Foundation::PWSTR, pextendedparameters: *const COPYFILE2_EXTENDED_PARAMETERS) -> ::windows_sys::core::HRESULT52 pub fn CopyFile2(pwszexistingfilename: super::super::Foundation::PWSTR, pwsznewfilename: super::super::Foundation::PWSTR, pextendedparameters: *const COPYFILE2_EXTENDED_PARAMETERS) -> ::windows_sys::core::HRESULT; 53 #[cfg(feature = "Win32_Foundation")] CopyFileA(lpexistingfilename: super::super::Foundation::PSTR, lpnewfilename: super::super::Foundation::PSTR, bfailifexists: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL54 pub fn CopyFileA(lpexistingfilename: super::super::Foundation::PSTR, lpnewfilename: super::super::Foundation::PSTR, bfailifexists: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; 55 #[cfg(feature = "Win32_Foundation")] CopyFileExA(lpexistingfilename: super::super::Foundation::PSTR, lpnewfilename: super::super::Foundation::PSTR, lpprogressroutine: ::core::option::Option<LPPROGRESS_ROUTINE>, lpdata: *const ::core::ffi::c_void, pbcancel: *mut i32, dwcopyflags: u32) -> super::super::Foundation::BOOL56 pub fn CopyFileExA(lpexistingfilename: super::super::Foundation::PSTR, lpnewfilename: super::super::Foundation::PSTR, lpprogressroutine: ::core::option::Option<LPPROGRESS_ROUTINE>, lpdata: *const ::core::ffi::c_void, pbcancel: *mut i32, dwcopyflags: u32) -> super::super::Foundation::BOOL; 57 #[cfg(feature = "Win32_Foundation")] CopyFileExW(lpexistingfilename: super::super::Foundation::PWSTR, lpnewfilename: super::super::Foundation::PWSTR, lpprogressroutine: ::core::option::Option<LPPROGRESS_ROUTINE>, lpdata: *const ::core::ffi::c_void, pbcancel: *mut i32, dwcopyflags: u32) -> super::super::Foundation::BOOL58 pub fn CopyFileExW(lpexistingfilename: super::super::Foundation::PWSTR, lpnewfilename: super::super::Foundation::PWSTR, lpprogressroutine: ::core::option::Option<LPPROGRESS_ROUTINE>, lpdata: *const ::core::ffi::c_void, pbcancel: *mut i32, dwcopyflags: u32) -> super::super::Foundation::BOOL; 59 #[cfg(feature = "Win32_Foundation")] CopyFileFromAppW(lpexistingfilename: super::super::Foundation::PWSTR, lpnewfilename: super::super::Foundation::PWSTR, bfailifexists: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL60 pub fn CopyFileFromAppW(lpexistingfilename: super::super::Foundation::PWSTR, lpnewfilename: super::super::Foundation::PWSTR, bfailifexists: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; 61 #[cfg(feature = "Win32_Foundation")] CopyFileTransactedA(lpexistingfilename: super::super::Foundation::PSTR, lpnewfilename: super::super::Foundation::PSTR, lpprogressroutine: ::core::option::Option<LPPROGRESS_ROUTINE>, lpdata: *const ::core::ffi::c_void, pbcancel: *const i32, dwcopyflags: u32, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL62 pub fn CopyFileTransactedA(lpexistingfilename: super::super::Foundation::PSTR, lpnewfilename: super::super::Foundation::PSTR, lpprogressroutine: ::core::option::Option<LPPROGRESS_ROUTINE>, lpdata: *const ::core::ffi::c_void, pbcancel: *const i32, dwcopyflags: u32, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 63 #[cfg(feature = "Win32_Foundation")] CopyFileTransactedW(lpexistingfilename: super::super::Foundation::PWSTR, lpnewfilename: super::super::Foundation::PWSTR, lpprogressroutine: ::core::option::Option<LPPROGRESS_ROUTINE>, lpdata: *const ::core::ffi::c_void, pbcancel: *const i32, dwcopyflags: u32, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL64 pub fn CopyFileTransactedW(lpexistingfilename: super::super::Foundation::PWSTR, lpnewfilename: super::super::Foundation::PWSTR, lpprogressroutine: ::core::option::Option<LPPROGRESS_ROUTINE>, lpdata: *const ::core::ffi::c_void, pbcancel: *const i32, dwcopyflags: u32, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 65 #[cfg(feature = "Win32_Foundation")] CopyFileW(lpexistingfilename: super::super::Foundation::PWSTR, lpnewfilename: super::super::Foundation::PWSTR, bfailifexists: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL66 pub fn CopyFileW(lpexistingfilename: super::super::Foundation::PWSTR, lpnewfilename: super::super::Foundation::PWSTR, bfailifexists: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; CopyLZFile(hfsource: i32, hfdest: i32) -> i3267 pub fn CopyLZFile(hfsource: i32, hfdest: i32) -> i32; 68 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateDirectoryA(lppathname: super::super::Foundation::PSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::BOOL69 pub fn CreateDirectoryA(lppathname: super::super::Foundation::PSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::BOOL; 70 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateDirectoryExA(lptemplatedirectory: super::super::Foundation::PSTR, lpnewdirectory: super::super::Foundation::PSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::BOOL71 pub fn CreateDirectoryExA(lptemplatedirectory: super::super::Foundation::PSTR, lpnewdirectory: super::super::Foundation::PSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::BOOL; 72 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateDirectoryExW(lptemplatedirectory: super::super::Foundation::PWSTR, lpnewdirectory: super::super::Foundation::PWSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::BOOL73 pub fn CreateDirectoryExW(lptemplatedirectory: super::super::Foundation::PWSTR, lpnewdirectory: super::super::Foundation::PWSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::BOOL; 74 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateDirectoryFromAppW(lppathname: super::super::Foundation::PWSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::BOOL75 pub fn CreateDirectoryFromAppW(lppathname: super::super::Foundation::PWSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::BOOL; 76 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateDirectoryTransactedA(lptemplatedirectory: super::super::Foundation::PSTR, lpnewdirectory: super::super::Foundation::PSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL77 pub fn CreateDirectoryTransactedA(lptemplatedirectory: super::super::Foundation::PSTR, lpnewdirectory: super::super::Foundation::PSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 78 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateDirectoryTransactedW(lptemplatedirectory: super::super::Foundation::PWSTR, lpnewdirectory: super::super::Foundation::PWSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL79 pub fn CreateDirectoryTransactedW(lptemplatedirectory: super::super::Foundation::PWSTR, lpnewdirectory: super::super::Foundation::PWSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 80 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateDirectoryW(lppathname: super::super::Foundation::PWSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::BOOL81 pub fn CreateDirectoryW(lppathname: super::super::Foundation::PWSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::BOOL; 82 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 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::HANDLE83 pub 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; 84 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateFile2(lpfilename: super::super::Foundation::PWSTR, dwdesiredaccess: FILE_ACCESS_FLAGS, dwsharemode: FILE_SHARE_MODE, dwcreationdisposition: FILE_CREATION_DISPOSITION, pcreateexparams: *const CREATEFILE2_EXTENDED_PARAMETERS) -> super::super::Foundation::HANDLE85 pub fn CreateFile2(lpfilename: super::super::Foundation::PWSTR, dwdesiredaccess: FILE_ACCESS_FLAGS, dwsharemode: FILE_SHARE_MODE, dwcreationdisposition: FILE_CREATION_DISPOSITION, pcreateexparams: *const CREATEFILE2_EXTENDED_PARAMETERS) -> super::super::Foundation::HANDLE; 86 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateFile2FromAppW(lpfilename: super::super::Foundation::PWSTR, dwdesiredaccess: u32, dwsharemode: u32, dwcreationdisposition: u32, pcreateexparams: *const CREATEFILE2_EXTENDED_PARAMETERS) -> super::super::Foundation::HANDLE87 pub fn CreateFile2FromAppW(lpfilename: super::super::Foundation::PWSTR, dwdesiredaccess: u32, dwsharemode: u32, dwcreationdisposition: u32, pcreateexparams: *const CREATEFILE2_EXTENDED_PARAMETERS) -> super::super::Foundation::HANDLE; 88 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateFileA(lpfilename: super::super::Foundation::PSTR, dwdesiredaccess: FILE_ACCESS_FLAGS, 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::HANDLE89 pub fn CreateFileA(lpfilename: super::super::Foundation::PSTR, dwdesiredaccess: FILE_ACCESS_FLAGS, 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; 90 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateFileFromAppW(lpfilename: super::super::Foundation::PWSTR, dwdesiredaccess: u32, dwsharemode: u32, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, dwcreationdisposition: u32, dwflagsandattributes: u32, htemplatefile: super::super::Foundation::HANDLE) -> super::super::Foundation::HANDLE91 pub fn CreateFileFromAppW(lpfilename: super::super::Foundation::PWSTR, dwdesiredaccess: u32, dwsharemode: u32, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, dwcreationdisposition: u32, dwflagsandattributes: u32, htemplatefile: super::super::Foundation::HANDLE) -> super::super::Foundation::HANDLE; 92 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateFileTransactedA( lpfilename: super::super::Foundation::PSTR, 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: *mut ::core::ffi::c_void, ) -> super::super::Foundation::HANDLE93 pub fn CreateFileTransactedA( 94 lpfilename: super::super::Foundation::PSTR, 95 dwdesiredaccess: u32, 96 dwsharemode: FILE_SHARE_MODE, 97 lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, 98 dwcreationdisposition: FILE_CREATION_DISPOSITION, 99 dwflagsandattributes: FILE_FLAGS_AND_ATTRIBUTES, 100 htemplatefile: super::super::Foundation::HANDLE, 101 htransaction: super::super::Foundation::HANDLE, 102 pusminiversion: *const TXFS_MINIVERSION, 103 lpextendedparameter: *mut ::core::ffi::c_void, 104 ) -> super::super::Foundation::HANDLE; 105 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateFileTransactedW( lpfilename: super::super::Foundation::PWSTR, 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: *mut ::core::ffi::c_void, ) -> super::super::Foundation::HANDLE106 pub fn CreateFileTransactedW( 107 lpfilename: super::super::Foundation::PWSTR, 108 dwdesiredaccess: u32, 109 dwsharemode: FILE_SHARE_MODE, 110 lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, 111 dwcreationdisposition: FILE_CREATION_DISPOSITION, 112 dwflagsandattributes: FILE_FLAGS_AND_ATTRIBUTES, 113 htemplatefile: super::super::Foundation::HANDLE, 114 htransaction: super::super::Foundation::HANDLE, 115 pusminiversion: *const TXFS_MINIVERSION, 116 lpextendedparameter: *mut ::core::ffi::c_void, 117 ) -> super::super::Foundation::HANDLE; 118 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateFileW(lpfilename: super::super::Foundation::PWSTR, dwdesiredaccess: FILE_ACCESS_FLAGS, 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::HANDLE119 pub fn CreateFileW(lpfilename: super::super::Foundation::PWSTR, dwdesiredaccess: FILE_ACCESS_FLAGS, 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; 120 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateHardLinkA(lpfilename: super::super::Foundation::PSTR, lpexistingfilename: super::super::Foundation::PSTR, lpsecurityattributes: *mut super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::BOOL121 pub fn CreateHardLinkA(lpfilename: super::super::Foundation::PSTR, lpexistingfilename: super::super::Foundation::PSTR, lpsecurityattributes: *mut super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::BOOL; 122 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateHardLinkTransactedA(lpfilename: super::super::Foundation::PSTR, lpexistingfilename: super::super::Foundation::PSTR, lpsecurityattributes: *mut super::super::Security::SECURITY_ATTRIBUTES, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL123 pub fn CreateHardLinkTransactedA(lpfilename: super::super::Foundation::PSTR, lpexistingfilename: super::super::Foundation::PSTR, lpsecurityattributes: *mut super::super::Security::SECURITY_ATTRIBUTES, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 124 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateHardLinkTransactedW(lpfilename: super::super::Foundation::PWSTR, lpexistingfilename: super::super::Foundation::PWSTR, lpsecurityattributes: *mut super::super::Security::SECURITY_ATTRIBUTES, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL125 pub fn CreateHardLinkTransactedW(lpfilename: super::super::Foundation::PWSTR, lpexistingfilename: super::super::Foundation::PWSTR, lpsecurityattributes: *mut super::super::Security::SECURITY_ATTRIBUTES, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 126 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateHardLinkW(lpfilename: super::super::Foundation::PWSTR, lpexistingfilename: super::super::Foundation::PWSTR, lpsecurityattributes: *mut super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::BOOL127 pub fn CreateHardLinkW(lpfilename: super::super::Foundation::PWSTR, lpexistingfilename: super::super::Foundation::PWSTR, lpsecurityattributes: *mut super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::BOOL; CreateIoRing(ioringversion: IORING_VERSION, flags: IORING_CREATE_FLAGS, submissionqueuesize: u32, completionqueuesize: u32, h: *mut *mut HIORING__) -> ::windows_sys::core::HRESULT128 pub fn CreateIoRing(ioringversion: IORING_VERSION, flags: IORING_CREATE_FLAGS, submissionqueuesize: u32, completionqueuesize: u32, h: *mut *mut HIORING__) -> ::windows_sys::core::HRESULT; 129 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] 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::BOOL130 pub 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; 131 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateLogFile(pszlogfilename: super::super::Foundation::PWSTR, fdesiredaccess: FILE_ACCESS_FLAGS, dwsharemode: FILE_SHARE_MODE, psalogfile: *mut super::super::Security::SECURITY_ATTRIBUTES, fcreatedisposition: FILE_CREATION_DISPOSITION, fflagsandattributes: FILE_FLAGS_AND_ATTRIBUTES) -> super::super::Foundation::HANDLE132 pub fn CreateLogFile(pszlogfilename: super::super::Foundation::PWSTR, fdesiredaccess: FILE_ACCESS_FLAGS, dwsharemode: FILE_SHARE_MODE, psalogfile: *mut super::super::Security::SECURITY_ATTRIBUTES, fcreatedisposition: FILE_CREATION_DISPOSITION, fflagsandattributes: FILE_FLAGS_AND_ATTRIBUTES) -> super::super::Foundation::HANDLE; 133 #[cfg(feature = "Win32_Foundation")] CreateLogMarshallingArea(hlog: super::super::Foundation::HANDLE, pfnallocbuffer: ::core::option::Option<CLFS_BLOCK_ALLOCATION>, pfnfreebuffer: ::core::option::Option<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::BOOL134 pub fn CreateLogMarshallingArea(hlog: super::super::Foundation::HANDLE, pfnallocbuffer: ::core::option::Option<CLFS_BLOCK_ALLOCATION>, pfnfreebuffer: ::core::option::Option<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; 135 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateResourceManager(lpresourcemanagerattributes: *mut super::super::Security::SECURITY_ATTRIBUTES, resourcemanagerid: *mut ::windows_sys::core::GUID, createoptions: u32, tmhandle: super::super::Foundation::HANDLE, description: super::super::Foundation::PWSTR) -> super::super::Foundation::HANDLE136 pub fn CreateResourceManager(lpresourcemanagerattributes: *mut super::super::Security::SECURITY_ATTRIBUTES, resourcemanagerid: *mut ::windows_sys::core::GUID, createoptions: u32, tmhandle: super::super::Foundation::HANDLE, description: super::super::Foundation::PWSTR) -> super::super::Foundation::HANDLE; 137 #[cfg(feature = "Win32_Foundation")] CreateSymbolicLinkA(lpsymlinkfilename: super::super::Foundation::PSTR, lptargetfilename: super::super::Foundation::PSTR, dwflags: SYMBOLIC_LINK_FLAGS) -> super::super::Foundation::BOOLEAN138 pub fn CreateSymbolicLinkA(lpsymlinkfilename: super::super::Foundation::PSTR, lptargetfilename: super::super::Foundation::PSTR, dwflags: SYMBOLIC_LINK_FLAGS) -> super::super::Foundation::BOOLEAN; 139 #[cfg(feature = "Win32_Foundation")] CreateSymbolicLinkTransactedA(lpsymlinkfilename: super::super::Foundation::PSTR, lptargetfilename: super::super::Foundation::PSTR, dwflags: SYMBOLIC_LINK_FLAGS, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOLEAN140 pub fn CreateSymbolicLinkTransactedA(lpsymlinkfilename: super::super::Foundation::PSTR, lptargetfilename: super::super::Foundation::PSTR, dwflags: SYMBOLIC_LINK_FLAGS, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOLEAN; 141 #[cfg(feature = "Win32_Foundation")] CreateSymbolicLinkTransactedW(lpsymlinkfilename: super::super::Foundation::PWSTR, lptargetfilename: super::super::Foundation::PWSTR, dwflags: SYMBOLIC_LINK_FLAGS, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOLEAN142 pub fn CreateSymbolicLinkTransactedW(lpsymlinkfilename: super::super::Foundation::PWSTR, lptargetfilename: super::super::Foundation::PWSTR, dwflags: SYMBOLIC_LINK_FLAGS, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOLEAN; 143 #[cfg(feature = "Win32_Foundation")] CreateSymbolicLinkW(lpsymlinkfilename: super::super::Foundation::PWSTR, lptargetfilename: super::super::Foundation::PWSTR, dwflags: SYMBOLIC_LINK_FLAGS) -> super::super::Foundation::BOOLEAN144 pub fn CreateSymbolicLinkW(lpsymlinkfilename: super::super::Foundation::PWSTR, lptargetfilename: super::super::Foundation::PWSTR, dwflags: SYMBOLIC_LINK_FLAGS) -> super::super::Foundation::BOOLEAN; 145 #[cfg(feature = "Win32_Foundation")] CreateTapePartition(hdevice: super::super::Foundation::HANDLE, dwpartitionmethod: CREATE_TAPE_PARTITION_METHOD, dwcount: u32, dwsize: u32) -> u32146 pub fn CreateTapePartition(hdevice: super::super::Foundation::HANDLE, dwpartitionmethod: CREATE_TAPE_PARTITION_METHOD, dwcount: u32, dwsize: u32) -> u32; 147 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateTransaction(lptransactionattributes: *mut super::super::Security::SECURITY_ATTRIBUTES, uow: *mut ::windows_sys::core::GUID, createoptions: u32, isolationlevel: u32, isolationflags: u32, timeout: u32, description: super::super::Foundation::PWSTR) -> super::super::Foundation::HANDLE148 pub fn CreateTransaction(lptransactionattributes: *mut super::super::Security::SECURITY_ATTRIBUTES, uow: *mut ::windows_sys::core::GUID, createoptions: u32, isolationlevel: u32, isolationflags: u32, timeout: u32, description: super::super::Foundation::PWSTR) -> super::super::Foundation::HANDLE; 149 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateTransactionManager(lptransactionattributes: *mut super::super::Security::SECURITY_ATTRIBUTES, logfilename: super::super::Foundation::PWSTR, createoptions: u32, commitstrength: u32) -> super::super::Foundation::HANDLE150 pub fn CreateTransactionManager(lptransactionattributes: *mut super::super::Security::SECURITY_ATTRIBUTES, logfilename: super::super::Foundation::PWSTR, createoptions: u32, commitstrength: u32) -> super::super::Foundation::HANDLE; 151 #[cfg(feature = "Win32_Foundation")] DecryptFileA(lpfilename: super::super::Foundation::PSTR, dwreserved: u32) -> super::super::Foundation::BOOL152 pub fn DecryptFileA(lpfilename: super::super::Foundation::PSTR, dwreserved: u32) -> super::super::Foundation::BOOL; 153 #[cfg(feature = "Win32_Foundation")] DecryptFileW(lpfilename: super::super::Foundation::PWSTR, dwreserved: u32) -> super::super::Foundation::BOOL154 pub fn DecryptFileW(lpfilename: super::super::Foundation::PWSTR, dwreserved: u32) -> super::super::Foundation::BOOL; 155 #[cfg(feature = "Win32_Foundation")] DefineDosDeviceA(dwflags: DEFINE_DOS_DEVICE_FLAGS, lpdevicename: super::super::Foundation::PSTR, lptargetpath: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL156 pub fn DefineDosDeviceA(dwflags: DEFINE_DOS_DEVICE_FLAGS, lpdevicename: super::super::Foundation::PSTR, lptargetpath: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL; 157 #[cfg(feature = "Win32_Foundation")] DefineDosDeviceW(dwflags: DEFINE_DOS_DEVICE_FLAGS, lpdevicename: super::super::Foundation::PWSTR, lptargetpath: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL158 pub fn DefineDosDeviceW(dwflags: DEFINE_DOS_DEVICE_FLAGS, lpdevicename: super::super::Foundation::PWSTR, lptargetpath: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; 159 #[cfg(feature = "Win32_Foundation")] DeleteFileA(lpfilename: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL160 pub fn DeleteFileA(lpfilename: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL; 161 #[cfg(feature = "Win32_Foundation")] DeleteFileFromAppW(lpfilename: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL162 pub fn DeleteFileFromAppW(lpfilename: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; 163 #[cfg(feature = "Win32_Foundation")] DeleteFileTransactedA(lpfilename: super::super::Foundation::PSTR, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL164 pub fn DeleteFileTransactedA(lpfilename: super::super::Foundation::PSTR, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 165 #[cfg(feature = "Win32_Foundation")] DeleteFileTransactedW(lpfilename: super::super::Foundation::PWSTR, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL166 pub fn DeleteFileTransactedW(lpfilename: super::super::Foundation::PWSTR, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 167 #[cfg(feature = "Win32_Foundation")] DeleteFileW(lpfilename: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL168 pub fn DeleteFileW(lpfilename: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; 169 #[cfg(feature = "Win32_Foundation")] DeleteLogByHandle(hlog: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL170 pub fn DeleteLogByHandle(hlog: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 171 #[cfg(feature = "Win32_Foundation")] DeleteLogFile(pszlogfilename: super::super::Foundation::PWSTR, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL172 pub fn DeleteLogFile(pszlogfilename: super::super::Foundation::PWSTR, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 173 #[cfg(feature = "Win32_Foundation")] DeleteLogMarshallingArea(pvmarshal: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL174 pub fn DeleteLogMarshallingArea(pvmarshal: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 175 #[cfg(feature = "Win32_Foundation")] DeleteVolumeMountPointA(lpszvolumemountpoint: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL176 pub fn DeleteVolumeMountPointA(lpszvolumemountpoint: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL; 177 #[cfg(feature = "Win32_Foundation")] DeleteVolumeMountPointW(lpszvolumemountpoint: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL178 pub fn DeleteVolumeMountPointW(lpszvolumemountpoint: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; 179 #[cfg(feature = "Win32_Foundation")] DeregisterManageableLogClient(hlog: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL180 pub fn DeregisterManageableLogClient(hlog: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 181 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] DuplicateEncryptionInfoFile(srcfilename: super::super::Foundation::PWSTR, dstfilename: super::super::Foundation::PWSTR, dwcreationdistribution: u32, dwattributes: u32, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> u32182 pub fn DuplicateEncryptionInfoFile(srcfilename: super::super::Foundation::PWSTR, dstfilename: super::super::Foundation::PWSTR, dwcreationdistribution: u32, dwattributes: u32, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> u32; 183 #[cfg(feature = "Win32_Foundation")] EncryptFileA(lpfilename: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL184 pub fn EncryptFileA(lpfilename: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL; 185 #[cfg(feature = "Win32_Foundation")] EncryptFileW(lpfilename: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL186 pub fn EncryptFileW(lpfilename: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; 187 #[cfg(feature = "Win32_Foundation")] EncryptionDisable(dirpath: super::super::Foundation::PWSTR, disable: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL188 pub fn EncryptionDisable(dirpath: super::super::Foundation::PWSTR, disable: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; 189 #[cfg(feature = "Win32_Foundation")] EraseTape(hdevice: super::super::Foundation::HANDLE, dwerasetype: ERASE_TAPE_TYPE, bimmediate: super::super::Foundation::BOOL) -> u32190 pub fn EraseTape(hdevice: super::super::Foundation::HANDLE, dwerasetype: ERASE_TAPE_TYPE, bimmediate: super::super::Foundation::BOOL) -> u32; 191 #[cfg(feature = "Win32_Foundation")] FileEncryptionStatusA(lpfilename: super::super::Foundation::PSTR, lpstatus: *mut u32) -> super::super::Foundation::BOOL192 pub fn FileEncryptionStatusA(lpfilename: super::super::Foundation::PSTR, lpstatus: *mut u32) -> super::super::Foundation::BOOL; 193 #[cfg(feature = "Win32_Foundation")] FileEncryptionStatusW(lpfilename: super::super::Foundation::PWSTR, lpstatus: *mut u32) -> super::super::Foundation::BOOL194 pub fn FileEncryptionStatusW(lpfilename: super::super::Foundation::PWSTR, lpstatus: *mut u32) -> super::super::Foundation::BOOL; 195 #[cfg(feature = "Win32_Foundation")] FileTimeToLocalFileTime(lpfiletime: *const super::super::Foundation::FILETIME, lplocalfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL196 pub fn FileTimeToLocalFileTime(lpfiletime: *const super::super::Foundation::FILETIME, lplocalfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL; 197 #[cfg(feature = "Win32_Foundation")] FindClose(hfindfile: FindFileHandle) -> super::super::Foundation::BOOL198 pub fn FindClose(hfindfile: FindFileHandle) -> super::super::Foundation::BOOL; 199 #[cfg(feature = "Win32_Foundation")] FindCloseChangeNotification(hchangehandle: FindChangeNotificationHandle) -> super::super::Foundation::BOOL200 pub fn FindCloseChangeNotification(hchangehandle: FindChangeNotificationHandle) -> super::super::Foundation::BOOL; 201 #[cfg(feature = "Win32_Foundation")] FindFirstChangeNotificationA(lppathname: super::super::Foundation::PSTR, bwatchsubtree: super::super::Foundation::BOOL, dwnotifyfilter: FILE_NOTIFY_CHANGE) -> FindChangeNotificationHandle202 pub fn FindFirstChangeNotificationA(lppathname: super::super::Foundation::PSTR, bwatchsubtree: super::super::Foundation::BOOL, dwnotifyfilter: FILE_NOTIFY_CHANGE) -> FindChangeNotificationHandle; 203 #[cfg(feature = "Win32_Foundation")] FindFirstChangeNotificationW(lppathname: super::super::Foundation::PWSTR, bwatchsubtree: super::super::Foundation::BOOL, dwnotifyfilter: FILE_NOTIFY_CHANGE) -> FindChangeNotificationHandle204 pub fn FindFirstChangeNotificationW(lppathname: super::super::Foundation::PWSTR, bwatchsubtree: super::super::Foundation::BOOL, dwnotifyfilter: FILE_NOTIFY_CHANGE) -> FindChangeNotificationHandle; 205 #[cfg(feature = "Win32_Foundation")] FindFirstFileA(lpfilename: super::super::Foundation::PSTR, lpfindfiledata: *mut WIN32_FIND_DATAA) -> FindFileHandle206 pub fn FindFirstFileA(lpfilename: super::super::Foundation::PSTR, lpfindfiledata: *mut WIN32_FIND_DATAA) -> FindFileHandle; 207 #[cfg(feature = "Win32_Foundation")] FindFirstFileExA(lpfilename: super::super::Foundation::PSTR, finfolevelid: FINDEX_INFO_LEVELS, lpfindfiledata: *mut ::core::ffi::c_void, fsearchop: FINDEX_SEARCH_OPS, lpsearchfilter: *mut ::core::ffi::c_void, dwadditionalflags: FIND_FIRST_EX_FLAGS) -> FindFileHandle208 pub fn FindFirstFileExA(lpfilename: super::super::Foundation::PSTR, finfolevelid: FINDEX_INFO_LEVELS, lpfindfiledata: *mut ::core::ffi::c_void, fsearchop: FINDEX_SEARCH_OPS, lpsearchfilter: *mut ::core::ffi::c_void, dwadditionalflags: FIND_FIRST_EX_FLAGS) -> FindFileHandle; 209 #[cfg(feature = "Win32_Foundation")] FindFirstFileExFromAppW(lpfilename: super::super::Foundation::PWSTR, finfolevelid: FINDEX_INFO_LEVELS, lpfindfiledata: *mut ::core::ffi::c_void, fsearchop: FINDEX_SEARCH_OPS, lpsearchfilter: *mut ::core::ffi::c_void, dwadditionalflags: u32) -> super::super::Foundation::HANDLE210 pub fn FindFirstFileExFromAppW(lpfilename: super::super::Foundation::PWSTR, finfolevelid: FINDEX_INFO_LEVELS, lpfindfiledata: *mut ::core::ffi::c_void, fsearchop: FINDEX_SEARCH_OPS, lpsearchfilter: *mut ::core::ffi::c_void, dwadditionalflags: u32) -> super::super::Foundation::HANDLE; 211 #[cfg(feature = "Win32_Foundation")] FindFirstFileExW(lpfilename: super::super::Foundation::PWSTR, finfolevelid: FINDEX_INFO_LEVELS, lpfindfiledata: *mut ::core::ffi::c_void, fsearchop: FINDEX_SEARCH_OPS, lpsearchfilter: *mut ::core::ffi::c_void, dwadditionalflags: FIND_FIRST_EX_FLAGS) -> FindFileHandle212 pub fn FindFirstFileExW(lpfilename: super::super::Foundation::PWSTR, finfolevelid: FINDEX_INFO_LEVELS, lpfindfiledata: *mut ::core::ffi::c_void, fsearchop: FINDEX_SEARCH_OPS, lpsearchfilter: *mut ::core::ffi::c_void, dwadditionalflags: FIND_FIRST_EX_FLAGS) -> FindFileHandle; 213 #[cfg(feature = "Win32_Foundation")] FindFirstFileNameTransactedW(lpfilename: super::super::Foundation::PWSTR, dwflags: u32, stringlength: *mut u32, linkname: super::super::Foundation::PWSTR, htransaction: super::super::Foundation::HANDLE) -> FindFileNameHandle214 pub fn FindFirstFileNameTransactedW(lpfilename: super::super::Foundation::PWSTR, dwflags: u32, stringlength: *mut u32, linkname: super::super::Foundation::PWSTR, htransaction: super::super::Foundation::HANDLE) -> FindFileNameHandle; 215 #[cfg(feature = "Win32_Foundation")] FindFirstFileNameW(lpfilename: super::super::Foundation::PWSTR, dwflags: u32, stringlength: *mut u32, linkname: super::super::Foundation::PWSTR) -> FindFileNameHandle216 pub fn FindFirstFileNameW(lpfilename: super::super::Foundation::PWSTR, dwflags: u32, stringlength: *mut u32, linkname: super::super::Foundation::PWSTR) -> FindFileNameHandle; 217 #[cfg(feature = "Win32_Foundation")] FindFirstFileTransactedA(lpfilename: super::super::Foundation::PSTR, finfolevelid: FINDEX_INFO_LEVELS, lpfindfiledata: *mut ::core::ffi::c_void, fsearchop: FINDEX_SEARCH_OPS, lpsearchfilter: *mut ::core::ffi::c_void, dwadditionalflags: u32, htransaction: super::super::Foundation::HANDLE) -> FindFileHandle218 pub fn FindFirstFileTransactedA(lpfilename: super::super::Foundation::PSTR, finfolevelid: FINDEX_INFO_LEVELS, lpfindfiledata: *mut ::core::ffi::c_void, fsearchop: FINDEX_SEARCH_OPS, lpsearchfilter: *mut ::core::ffi::c_void, dwadditionalflags: u32, htransaction: super::super::Foundation::HANDLE) -> FindFileHandle; 219 #[cfg(feature = "Win32_Foundation")] FindFirstFileTransactedW(lpfilename: super::super::Foundation::PWSTR, finfolevelid: FINDEX_INFO_LEVELS, lpfindfiledata: *mut ::core::ffi::c_void, fsearchop: FINDEX_SEARCH_OPS, lpsearchfilter: *mut ::core::ffi::c_void, dwadditionalflags: u32, htransaction: super::super::Foundation::HANDLE) -> FindFileHandle220 pub fn FindFirstFileTransactedW(lpfilename: super::super::Foundation::PWSTR, finfolevelid: FINDEX_INFO_LEVELS, lpfindfiledata: *mut ::core::ffi::c_void, fsearchop: FINDEX_SEARCH_OPS, lpsearchfilter: *mut ::core::ffi::c_void, dwadditionalflags: u32, htransaction: super::super::Foundation::HANDLE) -> FindFileHandle; 221 #[cfg(feature = "Win32_Foundation")] FindFirstFileW(lpfilename: super::super::Foundation::PWSTR, lpfindfiledata: *mut WIN32_FIND_DATAW) -> FindFileHandle222 pub fn FindFirstFileW(lpfilename: super::super::Foundation::PWSTR, lpfindfiledata: *mut WIN32_FIND_DATAW) -> FindFileHandle; 223 #[cfg(feature = "Win32_Foundation")] FindFirstStreamTransactedW(lpfilename: super::super::Foundation::PWSTR, infolevel: STREAM_INFO_LEVELS, lpfindstreamdata: *mut ::core::ffi::c_void, dwflags: u32, htransaction: super::super::Foundation::HANDLE) -> FindStreamHandle224 pub fn FindFirstStreamTransactedW(lpfilename: super::super::Foundation::PWSTR, infolevel: STREAM_INFO_LEVELS, lpfindstreamdata: *mut ::core::ffi::c_void, dwflags: u32, htransaction: super::super::Foundation::HANDLE) -> FindStreamHandle; 225 #[cfg(feature = "Win32_Foundation")] FindFirstStreamW(lpfilename: super::super::Foundation::PWSTR, infolevel: STREAM_INFO_LEVELS, lpfindstreamdata: *mut ::core::ffi::c_void, dwflags: u32) -> FindStreamHandle226 pub fn FindFirstStreamW(lpfilename: super::super::Foundation::PWSTR, infolevel: STREAM_INFO_LEVELS, lpfindstreamdata: *mut ::core::ffi::c_void, dwflags: u32) -> FindStreamHandle; 227 #[cfg(feature = "Win32_Foundation")] FindFirstVolumeA(lpszvolumename: super::super::Foundation::PSTR, cchbufferlength: u32) -> FindVolumeHandle228 pub fn FindFirstVolumeA(lpszvolumename: super::super::Foundation::PSTR, cchbufferlength: u32) -> FindVolumeHandle; 229 #[cfg(feature = "Win32_Foundation")] FindFirstVolumeMountPointA(lpszrootpathname: super::super::Foundation::PSTR, lpszvolumemountpoint: super::super::Foundation::PSTR, cchbufferlength: u32) -> FindVolumeMointPointHandle230 pub fn FindFirstVolumeMountPointA(lpszrootpathname: super::super::Foundation::PSTR, lpszvolumemountpoint: super::super::Foundation::PSTR, cchbufferlength: u32) -> FindVolumeMointPointHandle; 231 #[cfg(feature = "Win32_Foundation")] FindFirstVolumeMountPointW(lpszrootpathname: super::super::Foundation::PWSTR, lpszvolumemountpoint: super::super::Foundation::PWSTR, cchbufferlength: u32) -> FindVolumeMointPointHandle232 pub fn FindFirstVolumeMountPointW(lpszrootpathname: super::super::Foundation::PWSTR, lpszvolumemountpoint: super::super::Foundation::PWSTR, cchbufferlength: u32) -> FindVolumeMointPointHandle; 233 #[cfg(feature = "Win32_Foundation")] FindFirstVolumeW(lpszvolumename: super::super::Foundation::PWSTR, cchbufferlength: u32) -> FindVolumeHandle234 pub fn FindFirstVolumeW(lpszvolumename: super::super::Foundation::PWSTR, cchbufferlength: u32) -> FindVolumeHandle; 235 #[cfg(feature = "Win32_Foundation")] FindNextChangeNotification(hchangehandle: FindChangeNotificationHandle) -> super::super::Foundation::BOOL236 pub fn FindNextChangeNotification(hchangehandle: FindChangeNotificationHandle) -> super::super::Foundation::BOOL; 237 #[cfg(feature = "Win32_Foundation")] FindNextFileA(hfindfile: FindFileHandle, lpfindfiledata: *mut WIN32_FIND_DATAA) -> super::super::Foundation::BOOL238 pub fn FindNextFileA(hfindfile: FindFileHandle, lpfindfiledata: *mut WIN32_FIND_DATAA) -> super::super::Foundation::BOOL; 239 #[cfg(feature = "Win32_Foundation")] FindNextFileNameW(hfindstream: FindFileNameHandle, stringlength: *mut u32, linkname: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL240 pub fn FindNextFileNameW(hfindstream: FindFileNameHandle, stringlength: *mut u32, linkname: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; 241 #[cfg(feature = "Win32_Foundation")] FindNextFileW(hfindfile: super::super::Foundation::HANDLE, lpfindfiledata: *mut WIN32_FIND_DATAW) -> super::super::Foundation::BOOL242 pub fn FindNextFileW(hfindfile: super::super::Foundation::HANDLE, lpfindfiledata: *mut WIN32_FIND_DATAW) -> super::super::Foundation::BOOL; 243 #[cfg(feature = "Win32_Foundation")] FindNextStreamW(hfindstream: FindStreamHandle, lpfindstreamdata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL244 pub fn FindNextStreamW(hfindstream: FindStreamHandle, lpfindstreamdata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 245 #[cfg(feature = "Win32_Foundation")] FindNextVolumeA(hfindvolume: FindVolumeHandle, lpszvolumename: super::super::Foundation::PSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL246 pub fn FindNextVolumeA(hfindvolume: FindVolumeHandle, lpszvolumename: super::super::Foundation::PSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL; 247 #[cfg(feature = "Win32_Foundation")] FindNextVolumeMountPointA(hfindvolumemountpoint: FindVolumeMointPointHandle, lpszvolumemountpoint: super::super::Foundation::PSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL248 pub fn FindNextVolumeMountPointA(hfindvolumemountpoint: FindVolumeMointPointHandle, lpszvolumemountpoint: super::super::Foundation::PSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL; 249 #[cfg(feature = "Win32_Foundation")] FindNextVolumeMountPointW(hfindvolumemountpoint: FindVolumeMointPointHandle, lpszvolumemountpoint: super::super::Foundation::PWSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL250 pub fn FindNextVolumeMountPointW(hfindvolumemountpoint: FindVolumeMointPointHandle, lpszvolumemountpoint: super::super::Foundation::PWSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL; 251 #[cfg(feature = "Win32_Foundation")] FindNextVolumeW(hfindvolume: FindVolumeHandle, lpszvolumename: super::super::Foundation::PWSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL252 pub fn FindNextVolumeW(hfindvolume: FindVolumeHandle, lpszvolumename: super::super::Foundation::PWSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL; 253 #[cfg(feature = "Win32_Foundation")] FindVolumeClose(hfindvolume: FindVolumeHandle) -> super::super::Foundation::BOOL254 pub fn FindVolumeClose(hfindvolume: FindVolumeHandle) -> super::super::Foundation::BOOL; 255 #[cfg(feature = "Win32_Foundation")] FindVolumeMountPointClose(hfindvolumemountpoint: FindVolumeMointPointHandle) -> super::super::Foundation::BOOL256 pub fn FindVolumeMountPointClose(hfindvolumemountpoint: FindVolumeMointPointHandle) -> super::super::Foundation::BOOL; 257 #[cfg(feature = "Win32_Foundation")] FlushFileBuffers(hfile: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL258 pub fn FlushFileBuffers(hfile: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 259 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] FlushLogBuffers(pvmarshal: *mut ::core::ffi::c_void, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL260 pub fn FlushLogBuffers(pvmarshal: *mut ::core::ffi::c_void, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; 261 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] 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::BOOL262 pub 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; FreeEncryptedFileMetadata(pbmetadata: *const u8)263 pub fn FreeEncryptedFileMetadata(pbmetadata: *const u8); 264 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] FreeEncryptionCertificateHashList(pusers: *const ENCRYPTION_CERTIFICATE_HASH_LIST)265 pub fn FreeEncryptionCertificateHashList(pusers: *const ENCRYPTION_CERTIFICATE_HASH_LIST); 266 #[cfg(feature = "Win32_Foundation")] FreeReservedLog(pvmarshal: *mut ::core::ffi::c_void, creservedrecords: u32, pcbadjustment: *mut i64) -> super::super::Foundation::BOOL267 pub fn FreeReservedLog(pvmarshal: *mut ::core::ffi::c_void, creservedrecords: u32, pcbadjustment: *mut i64) -> super::super::Foundation::BOOL; 268 #[cfg(feature = "Win32_Foundation")] GetBinaryTypeA(lpapplicationname: super::super::Foundation::PSTR, lpbinarytype: *mut u32) -> super::super::Foundation::BOOL269 pub fn GetBinaryTypeA(lpapplicationname: super::super::Foundation::PSTR, lpbinarytype: *mut u32) -> super::super::Foundation::BOOL; 270 #[cfg(feature = "Win32_Foundation")] GetBinaryTypeW(lpapplicationname: super::super::Foundation::PWSTR, lpbinarytype: *mut u32) -> super::super::Foundation::BOOL271 pub fn GetBinaryTypeW(lpapplicationname: super::super::Foundation::PWSTR, lpbinarytype: *mut u32) -> super::super::Foundation::BOOL; 272 #[cfg(feature = "Win32_Foundation")] GetCompressedFileSizeA(lpfilename: super::super::Foundation::PSTR, lpfilesizehigh: *mut u32) -> u32273 pub fn GetCompressedFileSizeA(lpfilename: super::super::Foundation::PSTR, lpfilesizehigh: *mut u32) -> u32; 274 #[cfg(feature = "Win32_Foundation")] GetCompressedFileSizeTransactedA(lpfilename: super::super::Foundation::PSTR, lpfilesizehigh: *mut u32, htransaction: super::super::Foundation::HANDLE) -> u32275 pub fn GetCompressedFileSizeTransactedA(lpfilename: super::super::Foundation::PSTR, lpfilesizehigh: *mut u32, htransaction: super::super::Foundation::HANDLE) -> u32; 276 #[cfg(feature = "Win32_Foundation")] GetCompressedFileSizeTransactedW(lpfilename: super::super::Foundation::PWSTR, lpfilesizehigh: *mut u32, htransaction: super::super::Foundation::HANDLE) -> u32277 pub fn GetCompressedFileSizeTransactedW(lpfilename: super::super::Foundation::PWSTR, lpfilesizehigh: *mut u32, htransaction: super::super::Foundation::HANDLE) -> u32; 278 #[cfg(feature = "Win32_Foundation")] GetCompressedFileSizeW(lpfilename: super::super::Foundation::PWSTR, lpfilesizehigh: *mut u32) -> u32279 pub fn GetCompressedFileSizeW(lpfilename: super::super::Foundation::PWSTR, lpfilesizehigh: *mut u32) -> u32; 280 #[cfg(feature = "Win32_Foundation")] GetCurrentClockTransactionManager(transactionmanagerhandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL281 pub fn GetCurrentClockTransactionManager(transactionmanagerhandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; 282 #[cfg(feature = "Win32_Foundation")] GetDiskFreeSpaceA(lprootpathname: super::super::Foundation::PSTR, lpsectorspercluster: *mut u32, lpbytespersector: *mut u32, lpnumberoffreeclusters: *mut u32, lptotalnumberofclusters: *mut u32) -> super::super::Foundation::BOOL283 pub fn GetDiskFreeSpaceA(lprootpathname: super::super::Foundation::PSTR, lpsectorspercluster: *mut u32, lpbytespersector: *mut u32, lpnumberoffreeclusters: *mut u32, lptotalnumberofclusters: *mut u32) -> super::super::Foundation::BOOL; 284 #[cfg(feature = "Win32_Foundation")] GetDiskFreeSpaceExA(lpdirectoryname: super::super::Foundation::PSTR, lpfreebytesavailabletocaller: *mut u64, lptotalnumberofbytes: *mut u64, lptotalnumberoffreebytes: *mut u64) -> super::super::Foundation::BOOL285 pub fn GetDiskFreeSpaceExA(lpdirectoryname: super::super::Foundation::PSTR, lpfreebytesavailabletocaller: *mut u64, lptotalnumberofbytes: *mut u64, lptotalnumberoffreebytes: *mut u64) -> super::super::Foundation::BOOL; 286 #[cfg(feature = "Win32_Foundation")] GetDiskFreeSpaceExW(lpdirectoryname: super::super::Foundation::PWSTR, lpfreebytesavailabletocaller: *mut u64, lptotalnumberofbytes: *mut u64, lptotalnumberoffreebytes: *mut u64) -> super::super::Foundation::BOOL287 pub fn GetDiskFreeSpaceExW(lpdirectoryname: super::super::Foundation::PWSTR, lpfreebytesavailabletocaller: *mut u64, lptotalnumberofbytes: *mut u64, lptotalnumberoffreebytes: *mut u64) -> super::super::Foundation::BOOL; 288 #[cfg(feature = "Win32_Foundation")] GetDiskFreeSpaceW(lprootpathname: super::super::Foundation::PWSTR, lpsectorspercluster: *mut u32, lpbytespersector: *mut u32, lpnumberoffreeclusters: *mut u32, lptotalnumberofclusters: *mut u32) -> super::super::Foundation::BOOL289 pub fn GetDiskFreeSpaceW(lprootpathname: super::super::Foundation::PWSTR, lpsectorspercluster: *mut u32, lpbytespersector: *mut u32, lpnumberoffreeclusters: *mut u32, lptotalnumberofclusters: *mut u32) -> super::super::Foundation::BOOL; 290 #[cfg(feature = "Win32_Foundation")] GetDiskSpaceInformationA(rootpath: super::super::Foundation::PSTR, diskspaceinfo: *mut DISK_SPACE_INFORMATION) -> ::windows_sys::core::HRESULT291 pub fn GetDiskSpaceInformationA(rootpath: super::super::Foundation::PSTR, diskspaceinfo: *mut DISK_SPACE_INFORMATION) -> ::windows_sys::core::HRESULT; 292 #[cfg(feature = "Win32_Foundation")] GetDiskSpaceInformationW(rootpath: super::super::Foundation::PWSTR, diskspaceinfo: *mut DISK_SPACE_INFORMATION) -> ::windows_sys::core::HRESULT293 pub fn GetDiskSpaceInformationW(rootpath: super::super::Foundation::PWSTR, diskspaceinfo: *mut DISK_SPACE_INFORMATION) -> ::windows_sys::core::HRESULT; 294 #[cfg(feature = "Win32_Foundation")] GetDriveTypeA(lprootpathname: super::super::Foundation::PSTR) -> u32295 pub fn GetDriveTypeA(lprootpathname: super::super::Foundation::PSTR) -> u32; 296 #[cfg(feature = "Win32_Foundation")] GetDriveTypeW(lprootpathname: super::super::Foundation::PWSTR) -> u32297 pub fn GetDriveTypeW(lprootpathname: super::super::Foundation::PWSTR) -> u32; 298 #[cfg(feature = "Win32_Foundation")] GetEncryptedFileMetadata(lpfilename: super::super::Foundation::PWSTR, pcbmetadata: *mut u32, ppbmetadata: *mut *mut u8) -> u32299 pub fn GetEncryptedFileMetadata(lpfilename: super::super::Foundation::PWSTR, pcbmetadata: *mut u32, ppbmetadata: *mut *mut u8) -> u32; 300 #[cfg(feature = "Win32_Foundation")] GetEnlistmentId(enlistmenthandle: super::super::Foundation::HANDLE, enlistmentid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::BOOL301 pub fn GetEnlistmentId(enlistmenthandle: super::super::Foundation::HANDLE, enlistmentid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::BOOL; 302 #[cfg(feature = "Win32_Foundation")] GetEnlistmentRecoveryInformation(enlistmenthandle: super::super::Foundation::HANDLE, buffersize: u32, buffer: *mut ::core::ffi::c_void, bufferused: *mut u32) -> super::super::Foundation::BOOL303 pub fn GetEnlistmentRecoveryInformation(enlistmenthandle: super::super::Foundation::HANDLE, buffersize: u32, buffer: *mut ::core::ffi::c_void, bufferused: *mut u32) -> super::super::Foundation::BOOL; 304 #[cfg(feature = "Win32_Foundation")] GetExpandedNameA(lpszsource: super::super::Foundation::PSTR, lpszbuffer: super::super::Foundation::PSTR) -> i32305 pub fn GetExpandedNameA(lpszsource: super::super::Foundation::PSTR, lpszbuffer: super::super::Foundation::PSTR) -> i32; 306 #[cfg(feature = "Win32_Foundation")] GetExpandedNameW(lpszsource: super::super::Foundation::PWSTR, lpszbuffer: super::super::Foundation::PWSTR) -> i32307 pub fn GetExpandedNameW(lpszsource: super::super::Foundation::PWSTR, lpszbuffer: super::super::Foundation::PWSTR) -> i32; 308 #[cfg(feature = "Win32_Foundation")] GetFileAttributesA(lpfilename: super::super::Foundation::PSTR) -> u32309 pub fn GetFileAttributesA(lpfilename: super::super::Foundation::PSTR) -> u32; 310 #[cfg(feature = "Win32_Foundation")] GetFileAttributesExA(lpfilename: super::super::Foundation::PSTR, finfolevelid: GET_FILEEX_INFO_LEVELS, lpfileinformation: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL311 pub fn GetFileAttributesExA(lpfilename: super::super::Foundation::PSTR, finfolevelid: GET_FILEEX_INFO_LEVELS, lpfileinformation: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 312 #[cfg(feature = "Win32_Foundation")] GetFileAttributesExFromAppW(lpfilename: super::super::Foundation::PWSTR, finfolevelid: GET_FILEEX_INFO_LEVELS, lpfileinformation: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL313 pub fn GetFileAttributesExFromAppW(lpfilename: super::super::Foundation::PWSTR, finfolevelid: GET_FILEEX_INFO_LEVELS, lpfileinformation: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 314 #[cfg(feature = "Win32_Foundation")] GetFileAttributesExW(lpfilename: super::super::Foundation::PWSTR, finfolevelid: GET_FILEEX_INFO_LEVELS, lpfileinformation: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL315 pub fn GetFileAttributesExW(lpfilename: super::super::Foundation::PWSTR, finfolevelid: GET_FILEEX_INFO_LEVELS, lpfileinformation: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 316 #[cfg(feature = "Win32_Foundation")] GetFileAttributesTransactedA(lpfilename: super::super::Foundation::PSTR, finfolevelid: GET_FILEEX_INFO_LEVELS, lpfileinformation: *mut ::core::ffi::c_void, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL317 pub fn GetFileAttributesTransactedA(lpfilename: super::super::Foundation::PSTR, finfolevelid: GET_FILEEX_INFO_LEVELS, lpfileinformation: *mut ::core::ffi::c_void, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 318 #[cfg(feature = "Win32_Foundation")] GetFileAttributesTransactedW(lpfilename: super::super::Foundation::PWSTR, finfolevelid: GET_FILEEX_INFO_LEVELS, lpfileinformation: *mut ::core::ffi::c_void, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL319 pub fn GetFileAttributesTransactedW(lpfilename: super::super::Foundation::PWSTR, finfolevelid: GET_FILEEX_INFO_LEVELS, lpfileinformation: *mut ::core::ffi::c_void, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 320 #[cfg(feature = "Win32_Foundation")] GetFileAttributesW(lpfilename: super::super::Foundation::PWSTR) -> u32321 pub fn GetFileAttributesW(lpfilename: super::super::Foundation::PWSTR) -> u32; 322 #[cfg(feature = "Win32_Foundation")] GetFileBandwidthReservation(hfile: super::super::Foundation::HANDLE, lpperiodmilliseconds: *mut u32, lpbytesperperiod: *mut u32, pdiscardable: *mut i32, lptransfersize: *mut u32, lpnumoutstandingrequests: *mut u32) -> super::super::Foundation::BOOL323 pub fn GetFileBandwidthReservation(hfile: super::super::Foundation::HANDLE, lpperiodmilliseconds: *mut u32, lpbytesperperiod: *mut u32, pdiscardable: *mut i32, lptransfersize: *mut u32, lpnumoutstandingrequests: *mut u32) -> super::super::Foundation::BOOL; 324 #[cfg(feature = "Win32_Foundation")] GetFileInformationByHandle(hfile: super::super::Foundation::HANDLE, lpfileinformation: *mut BY_HANDLE_FILE_INFORMATION) -> super::super::Foundation::BOOL325 pub fn GetFileInformationByHandle(hfile: super::super::Foundation::HANDLE, lpfileinformation: *mut BY_HANDLE_FILE_INFORMATION) -> super::super::Foundation::BOOL; 326 #[cfg(feature = "Win32_Foundation")] GetFileInformationByHandleEx(hfile: super::super::Foundation::HANDLE, fileinformationclass: FILE_INFO_BY_HANDLE_CLASS, lpfileinformation: *mut ::core::ffi::c_void, dwbuffersize: u32) -> super::super::Foundation::BOOL327 pub 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; 328 #[cfg(feature = "Win32_Foundation")] GetFileSize(hfile: super::super::Foundation::HANDLE, lpfilesizehigh: *mut u32) -> u32329 pub fn GetFileSize(hfile: super::super::Foundation::HANDLE, lpfilesizehigh: *mut u32) -> u32; 330 #[cfg(feature = "Win32_Foundation")] GetFileSizeEx(hfile: super::super::Foundation::HANDLE, lpfilesize: *mut i64) -> super::super::Foundation::BOOL331 pub fn GetFileSizeEx(hfile: super::super::Foundation::HANDLE, lpfilesize: *mut i64) -> super::super::Foundation::BOOL; 332 #[cfg(feature = "Win32_Foundation")] 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::BOOL333 pub 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; 334 #[cfg(feature = "Win32_Foundation")] GetFileType(hfile: super::super::Foundation::HANDLE) -> u32335 pub fn GetFileType(hfile: super::super::Foundation::HANDLE) -> u32; 336 #[cfg(feature = "Win32_Foundation")] GetFileVersionInfoA(lptstrfilename: super::super::Foundation::PSTR, dwhandle: u32, dwlen: u32, lpdata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL337 pub fn GetFileVersionInfoA(lptstrfilename: super::super::Foundation::PSTR, dwhandle: u32, dwlen: u32, lpdata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 338 #[cfg(feature = "Win32_Foundation")] GetFileVersionInfoExA(dwflags: GET_FILE_VERSION_INFO_FLAGS, lpwstrfilename: super::super::Foundation::PSTR, dwhandle: u32, dwlen: u32, lpdata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL339 pub fn GetFileVersionInfoExA(dwflags: GET_FILE_VERSION_INFO_FLAGS, lpwstrfilename: super::super::Foundation::PSTR, dwhandle: u32, dwlen: u32, lpdata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 340 #[cfg(feature = "Win32_Foundation")] GetFileVersionInfoExW(dwflags: GET_FILE_VERSION_INFO_FLAGS, lpwstrfilename: super::super::Foundation::PWSTR, dwhandle: u32, dwlen: u32, lpdata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL341 pub fn GetFileVersionInfoExW(dwflags: GET_FILE_VERSION_INFO_FLAGS, lpwstrfilename: super::super::Foundation::PWSTR, dwhandle: u32, dwlen: u32, lpdata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 342 #[cfg(feature = "Win32_Foundation")] GetFileVersionInfoSizeA(lptstrfilename: super::super::Foundation::PSTR, lpdwhandle: *mut u32) -> u32343 pub fn GetFileVersionInfoSizeA(lptstrfilename: super::super::Foundation::PSTR, lpdwhandle: *mut u32) -> u32; 344 #[cfg(feature = "Win32_Foundation")] GetFileVersionInfoSizeExA(dwflags: GET_FILE_VERSION_INFO_FLAGS, lpwstrfilename: super::super::Foundation::PSTR, lpdwhandle: *mut u32) -> u32345 pub fn GetFileVersionInfoSizeExA(dwflags: GET_FILE_VERSION_INFO_FLAGS, lpwstrfilename: super::super::Foundation::PSTR, lpdwhandle: *mut u32) -> u32; 346 #[cfg(feature = "Win32_Foundation")] GetFileVersionInfoSizeExW(dwflags: GET_FILE_VERSION_INFO_FLAGS, lpwstrfilename: super::super::Foundation::PWSTR, lpdwhandle: *mut u32) -> u32347 pub fn GetFileVersionInfoSizeExW(dwflags: GET_FILE_VERSION_INFO_FLAGS, lpwstrfilename: super::super::Foundation::PWSTR, lpdwhandle: *mut u32) -> u32; 348 #[cfg(feature = "Win32_Foundation")] GetFileVersionInfoSizeW(lptstrfilename: super::super::Foundation::PWSTR, lpdwhandle: *mut u32) -> u32349 pub fn GetFileVersionInfoSizeW(lptstrfilename: super::super::Foundation::PWSTR, lpdwhandle: *mut u32) -> u32; 350 #[cfg(feature = "Win32_Foundation")] GetFileVersionInfoW(lptstrfilename: super::super::Foundation::PWSTR, dwhandle: u32, dwlen: u32, lpdata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL351 pub fn GetFileVersionInfoW(lptstrfilename: super::super::Foundation::PWSTR, dwhandle: u32, dwlen: u32, lpdata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 352 #[cfg(feature = "Win32_Foundation")] GetFinalPathNameByHandleA(hfile: super::super::Foundation::HANDLE, lpszfilepath: super::super::Foundation::PSTR, cchfilepath: u32, dwflags: FILE_NAME) -> u32353 pub fn GetFinalPathNameByHandleA(hfile: super::super::Foundation::HANDLE, lpszfilepath: super::super::Foundation::PSTR, cchfilepath: u32, dwflags: FILE_NAME) -> u32; 354 #[cfg(feature = "Win32_Foundation")] GetFinalPathNameByHandleW(hfile: super::super::Foundation::HANDLE, lpszfilepath: super::super::Foundation::PWSTR, cchfilepath: u32, dwflags: FILE_NAME) -> u32355 pub fn GetFinalPathNameByHandleW(hfile: super::super::Foundation::HANDLE, lpszfilepath: super::super::Foundation::PWSTR, cchfilepath: u32, dwflags: FILE_NAME) -> u32; 356 #[cfg(feature = "Win32_Foundation")] GetFullPathNameA(lpfilename: super::super::Foundation::PSTR, nbufferlength: u32, lpbuffer: super::super::Foundation::PSTR, lpfilepart: *mut super::super::Foundation::PSTR) -> u32357 pub fn GetFullPathNameA(lpfilename: super::super::Foundation::PSTR, nbufferlength: u32, lpbuffer: super::super::Foundation::PSTR, lpfilepart: *mut super::super::Foundation::PSTR) -> u32; 358 #[cfg(feature = "Win32_Foundation")] GetFullPathNameTransactedA(lpfilename: super::super::Foundation::PSTR, nbufferlength: u32, lpbuffer: super::super::Foundation::PSTR, lpfilepart: *mut super::super::Foundation::PSTR, htransaction: super::super::Foundation::HANDLE) -> u32359 pub fn GetFullPathNameTransactedA(lpfilename: super::super::Foundation::PSTR, nbufferlength: u32, lpbuffer: super::super::Foundation::PSTR, lpfilepart: *mut super::super::Foundation::PSTR, htransaction: super::super::Foundation::HANDLE) -> u32; 360 #[cfg(feature = "Win32_Foundation")] GetFullPathNameTransactedW(lpfilename: super::super::Foundation::PWSTR, nbufferlength: u32, lpbuffer: super::super::Foundation::PWSTR, lpfilepart: *mut super::super::Foundation::PWSTR, htransaction: super::super::Foundation::HANDLE) -> u32361 pub fn GetFullPathNameTransactedW(lpfilename: super::super::Foundation::PWSTR, nbufferlength: u32, lpbuffer: super::super::Foundation::PWSTR, lpfilepart: *mut super::super::Foundation::PWSTR, htransaction: super::super::Foundation::HANDLE) -> u32; 362 #[cfg(feature = "Win32_Foundation")] GetFullPathNameW(lpfilename: super::super::Foundation::PWSTR, nbufferlength: u32, lpbuffer: super::super::Foundation::PWSTR, lpfilepart: *mut super::super::Foundation::PWSTR) -> u32363 pub fn GetFullPathNameW(lpfilename: super::super::Foundation::PWSTR, nbufferlength: u32, lpbuffer: super::super::Foundation::PWSTR, lpfilepart: *mut super::super::Foundation::PWSTR) -> u32; GetIoRingInfo(ioring: *const HIORING__, info: *mut IORING_INFO) -> ::windows_sys::core::HRESULT364 pub fn GetIoRingInfo(ioring: *const HIORING__, info: *mut IORING_INFO) -> ::windows_sys::core::HRESULT; 365 #[cfg(feature = "Win32_Foundation")] GetLogContainerName(hlog: super::super::Foundation::HANDLE, cidlogicalcontainer: u32, pwstrcontainername: super::super::Foundation::PWSTR, clencontainername: u32, pcactuallencontainername: *mut u32) -> super::super::Foundation::BOOL366 pub fn GetLogContainerName(hlog: super::super::Foundation::HANDLE, cidlogicalcontainer: u32, pwstrcontainername: super::super::Foundation::PWSTR, clencontainername: u32, pcactuallencontainername: *mut u32) -> super::super::Foundation::BOOL; 367 #[cfg(feature = "Win32_Foundation")] GetLogFileInformation(hlog: super::super::Foundation::HANDLE, pinfobuffer: *mut CLS_INFORMATION, cbbuffer: *mut u32) -> super::super::Foundation::BOOL368 pub fn GetLogFileInformation(hlog: super::super::Foundation::HANDLE, pinfobuffer: *mut CLS_INFORMATION, cbbuffer: *mut u32) -> super::super::Foundation::BOOL; 369 #[cfg(feature = "Win32_Foundation")] GetLogIoStatistics(hlog: super::super::Foundation::HANDLE, pvstatsbuffer: *mut ::core::ffi::c_void, cbstatsbuffer: u32, estatsclass: CLFS_IOSTATS_CLASS, pcbstatswritten: *mut u32) -> super::super::Foundation::BOOL370 pub 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; 371 #[cfg(feature = "Win32_Foundation")] GetLogReservationInfo(pvmarshal: *const ::core::ffi::c_void, pcbrecordnumber: *mut u32, pcbuserreservation: *mut i64, pcbcommitreservation: *mut i64) -> super::super::Foundation::BOOL372 pub fn GetLogReservationInfo(pvmarshal: *const ::core::ffi::c_void, pcbrecordnumber: *mut u32, pcbuserreservation: *mut i64, pcbcommitreservation: *mut i64) -> super::super::Foundation::BOOL; 373 #[cfg(feature = "Win32_Foundation")] GetLogicalDriveStringsA(nbufferlength: u32, lpbuffer: super::super::Foundation::PSTR) -> u32374 pub fn GetLogicalDriveStringsA(nbufferlength: u32, lpbuffer: super::super::Foundation::PSTR) -> u32; 375 #[cfg(feature = "Win32_Foundation")] GetLogicalDriveStringsW(nbufferlength: u32, lpbuffer: super::super::Foundation::PWSTR) -> u32376 pub fn GetLogicalDriveStringsW(nbufferlength: u32, lpbuffer: super::super::Foundation::PWSTR) -> u32; GetLogicalDrives() -> u32377 pub fn GetLogicalDrives() -> u32; 378 #[cfg(feature = "Win32_Foundation")] GetLongPathNameA(lpszshortpath: super::super::Foundation::PSTR, lpszlongpath: super::super::Foundation::PSTR, cchbuffer: u32) -> u32379 pub fn GetLongPathNameA(lpszshortpath: super::super::Foundation::PSTR, lpszlongpath: super::super::Foundation::PSTR, cchbuffer: u32) -> u32; 380 #[cfg(feature = "Win32_Foundation")] GetLongPathNameTransactedA(lpszshortpath: super::super::Foundation::PSTR, lpszlongpath: super::super::Foundation::PSTR, cchbuffer: u32, htransaction: super::super::Foundation::HANDLE) -> u32381 pub fn GetLongPathNameTransactedA(lpszshortpath: super::super::Foundation::PSTR, lpszlongpath: super::super::Foundation::PSTR, cchbuffer: u32, htransaction: super::super::Foundation::HANDLE) -> u32; 382 #[cfg(feature = "Win32_Foundation")] GetLongPathNameTransactedW(lpszshortpath: super::super::Foundation::PWSTR, lpszlongpath: super::super::Foundation::PWSTR, cchbuffer: u32, htransaction: super::super::Foundation::HANDLE) -> u32383 pub fn GetLongPathNameTransactedW(lpszshortpath: super::super::Foundation::PWSTR, lpszlongpath: super::super::Foundation::PWSTR, cchbuffer: u32, htransaction: super::super::Foundation::HANDLE) -> u32; 384 #[cfg(feature = "Win32_Foundation")] GetLongPathNameW(lpszshortpath: super::super::Foundation::PWSTR, lpszlongpath: super::super::Foundation::PWSTR, cchbuffer: u32) -> u32385 pub fn GetLongPathNameW(lpszshortpath: super::super::Foundation::PWSTR, lpszlongpath: super::super::Foundation::PWSTR, cchbuffer: u32) -> u32; 386 #[cfg(feature = "Win32_Foundation")] GetNextLogArchiveExtent(pvarchivecontext: *mut ::core::ffi::c_void, rgadextent: *mut CLS_ARCHIVE_DESCRIPTOR, cdescriptors: u32, pcdescriptorsreturned: *mut u32) -> super::super::Foundation::BOOL387 pub fn GetNextLogArchiveExtent(pvarchivecontext: *mut ::core::ffi::c_void, rgadextent: *mut CLS_ARCHIVE_DESCRIPTOR, cdescriptors: u32, pcdescriptorsreturned: *mut u32) -> super::super::Foundation::BOOL; 388 #[cfg(feature = "Win32_Foundation")] GetNotificationResourceManager(resourcemanagerhandle: super::super::Foundation::HANDLE, transactionnotification: *mut TRANSACTION_NOTIFICATION, notificationlength: u32, dwmilliseconds: u32, returnlength: *mut u32) -> super::super::Foundation::BOOL389 pub fn GetNotificationResourceManager(resourcemanagerhandle: super::super::Foundation::HANDLE, transactionnotification: *mut TRANSACTION_NOTIFICATION, notificationlength: u32, dwmilliseconds: u32, returnlength: *mut u32) -> super::super::Foundation::BOOL; 390 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] 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::BOOL391 pub 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; 392 #[cfg(feature = "Win32_Foundation")] GetShortPathNameA(lpszlongpath: super::super::Foundation::PSTR, lpszshortpath: super::super::Foundation::PSTR, cchbuffer: u32) -> u32393 pub fn GetShortPathNameA(lpszlongpath: super::super::Foundation::PSTR, lpszshortpath: super::super::Foundation::PSTR, cchbuffer: u32) -> u32; 394 #[cfg(feature = "Win32_Foundation")] GetShortPathNameW(lpszlongpath: super::super::Foundation::PWSTR, lpszshortpath: super::super::Foundation::PWSTR, cchbuffer: u32) -> u32395 pub fn GetShortPathNameW(lpszlongpath: super::super::Foundation::PWSTR, lpszshortpath: super::super::Foundation::PWSTR, cchbuffer: u32) -> u32; 396 #[cfg(feature = "Win32_Foundation")] GetTapeParameters(hdevice: super::super::Foundation::HANDLE, dwoperation: GET_TAPE_DRIVE_PARAMETERS_OPERATION, lpdwsize: *mut u32, lptapeinformation: *mut ::core::ffi::c_void) -> u32397 pub fn GetTapeParameters(hdevice: super::super::Foundation::HANDLE, dwoperation: GET_TAPE_DRIVE_PARAMETERS_OPERATION, lpdwsize: *mut u32, lptapeinformation: *mut ::core::ffi::c_void) -> u32; 398 #[cfg(feature = "Win32_Foundation")] GetTapePosition(hdevice: super::super::Foundation::HANDLE, dwpositiontype: TAPE_POSITION_TYPE, lpdwpartition: *mut u32, lpdwoffsetlow: *mut u32, lpdwoffsethigh: *mut u32) -> u32399 pub fn GetTapePosition(hdevice: super::super::Foundation::HANDLE, dwpositiontype: TAPE_POSITION_TYPE, lpdwpartition: *mut u32, lpdwoffsetlow: *mut u32, lpdwoffsethigh: *mut u32) -> u32; 400 #[cfg(feature = "Win32_Foundation")] GetTapeStatus(hdevice: super::super::Foundation::HANDLE) -> u32401 pub fn GetTapeStatus(hdevice: super::super::Foundation::HANDLE) -> u32; 402 #[cfg(feature = "Win32_Foundation")] GetTempFileNameA(lppathname: super::super::Foundation::PSTR, lpprefixstring: super::super::Foundation::PSTR, uunique: u32, lptempfilename: super::super::Foundation::PSTR) -> u32403 pub fn GetTempFileNameA(lppathname: super::super::Foundation::PSTR, lpprefixstring: super::super::Foundation::PSTR, uunique: u32, lptempfilename: super::super::Foundation::PSTR) -> u32; 404 #[cfg(feature = "Win32_Foundation")] GetTempFileNameW(lppathname: super::super::Foundation::PWSTR, lpprefixstring: super::super::Foundation::PWSTR, uunique: u32, lptempfilename: super::super::Foundation::PWSTR) -> u32405 pub fn GetTempFileNameW(lppathname: super::super::Foundation::PWSTR, lpprefixstring: super::super::Foundation::PWSTR, uunique: u32, lptempfilename: super::super::Foundation::PWSTR) -> u32; 406 #[cfg(feature = "Win32_Foundation")] GetTempPath2A(bufferlength: u32, buffer: super::super::Foundation::PSTR) -> u32407 pub fn GetTempPath2A(bufferlength: u32, buffer: super::super::Foundation::PSTR) -> u32; 408 #[cfg(feature = "Win32_Foundation")] GetTempPath2W(bufferlength: u32, buffer: super::super::Foundation::PWSTR) -> u32409 pub fn GetTempPath2W(bufferlength: u32, buffer: super::super::Foundation::PWSTR) -> u32; 410 #[cfg(feature = "Win32_Foundation")] GetTempPathA(nbufferlength: u32, lpbuffer: super::super::Foundation::PSTR) -> u32411 pub fn GetTempPathA(nbufferlength: u32, lpbuffer: super::super::Foundation::PSTR) -> u32; 412 #[cfg(feature = "Win32_Foundation")] GetTempPathW(nbufferlength: u32, lpbuffer: super::super::Foundation::PWSTR) -> u32413 pub fn GetTempPathW(nbufferlength: u32, lpbuffer: super::super::Foundation::PWSTR) -> u32; 414 #[cfg(feature = "Win32_Foundation")] GetTransactionId(transactionhandle: super::super::Foundation::HANDLE, transactionid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::BOOL415 pub fn GetTransactionId(transactionhandle: super::super::Foundation::HANDLE, transactionid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::BOOL; 416 #[cfg(feature = "Win32_Foundation")] GetTransactionInformation(transactionhandle: super::super::Foundation::HANDLE, outcome: *mut u32, isolationlevel: *mut u32, isolationflags: *mut u32, timeout: *mut u32, bufferlength: u32, description: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL417 pub fn GetTransactionInformation(transactionhandle: super::super::Foundation::HANDLE, outcome: *mut u32, isolationlevel: *mut u32, isolationflags: *mut u32, timeout: *mut u32, bufferlength: u32, description: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; 418 #[cfg(feature = "Win32_Foundation")] GetTransactionManagerId(transactionmanagerhandle: super::super::Foundation::HANDLE, transactionmanagerid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::BOOL419 pub fn GetTransactionManagerId(transactionmanagerhandle: super::super::Foundation::HANDLE, transactionmanagerid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::BOOL; 420 #[cfg(feature = "Win32_Foundation")] GetVolumeInformationA(lprootpathname: super::super::Foundation::PSTR, lpvolumenamebuffer: super::super::Foundation::PSTR, nvolumenamesize: u32, lpvolumeserialnumber: *mut u32, lpmaximumcomponentlength: *mut u32, lpfilesystemflags: *mut u32, lpfilesystemnamebuffer: super::super::Foundation::PSTR, nfilesystemnamesize: u32) -> super::super::Foundation::BOOL421 pub fn GetVolumeInformationA(lprootpathname: super::super::Foundation::PSTR, lpvolumenamebuffer: super::super::Foundation::PSTR, nvolumenamesize: u32, lpvolumeserialnumber: *mut u32, lpmaximumcomponentlength: *mut u32, lpfilesystemflags: *mut u32, lpfilesystemnamebuffer: super::super::Foundation::PSTR, nfilesystemnamesize: u32) -> super::super::Foundation::BOOL; 422 #[cfg(feature = "Win32_Foundation")] GetVolumeInformationByHandleW(hfile: super::super::Foundation::HANDLE, lpvolumenamebuffer: super::super::Foundation::PWSTR, nvolumenamesize: u32, lpvolumeserialnumber: *mut u32, lpmaximumcomponentlength: *mut u32, lpfilesystemflags: *mut u32, lpfilesystemnamebuffer: super::super::Foundation::PWSTR, nfilesystemnamesize: u32) -> super::super::Foundation::BOOL423 pub fn GetVolumeInformationByHandleW(hfile: super::super::Foundation::HANDLE, lpvolumenamebuffer: super::super::Foundation::PWSTR, nvolumenamesize: u32, lpvolumeserialnumber: *mut u32, lpmaximumcomponentlength: *mut u32, lpfilesystemflags: *mut u32, lpfilesystemnamebuffer: super::super::Foundation::PWSTR, nfilesystemnamesize: u32) -> super::super::Foundation::BOOL; 424 #[cfg(feature = "Win32_Foundation")] GetVolumeInformationW(lprootpathname: super::super::Foundation::PWSTR, lpvolumenamebuffer: super::super::Foundation::PWSTR, nvolumenamesize: u32, lpvolumeserialnumber: *mut u32, lpmaximumcomponentlength: *mut u32, lpfilesystemflags: *mut u32, lpfilesystemnamebuffer: super::super::Foundation::PWSTR, nfilesystemnamesize: u32) -> super::super::Foundation::BOOL425 pub fn GetVolumeInformationW(lprootpathname: super::super::Foundation::PWSTR, lpvolumenamebuffer: super::super::Foundation::PWSTR, nvolumenamesize: u32, lpvolumeserialnumber: *mut u32, lpmaximumcomponentlength: *mut u32, lpfilesystemflags: *mut u32, lpfilesystemnamebuffer: super::super::Foundation::PWSTR, nfilesystemnamesize: u32) -> super::super::Foundation::BOOL; 426 #[cfg(feature = "Win32_Foundation")] GetVolumeNameForVolumeMountPointA(lpszvolumemountpoint: super::super::Foundation::PSTR, lpszvolumename: super::super::Foundation::PSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL427 pub fn GetVolumeNameForVolumeMountPointA(lpszvolumemountpoint: super::super::Foundation::PSTR, lpszvolumename: super::super::Foundation::PSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL; 428 #[cfg(feature = "Win32_Foundation")] GetVolumeNameForVolumeMountPointW(lpszvolumemountpoint: super::super::Foundation::PWSTR, lpszvolumename: super::super::Foundation::PWSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL429 pub fn GetVolumeNameForVolumeMountPointW(lpszvolumemountpoint: super::super::Foundation::PWSTR, lpszvolumename: super::super::Foundation::PWSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL; 430 #[cfg(feature = "Win32_Foundation")] GetVolumePathNameA(lpszfilename: super::super::Foundation::PSTR, lpszvolumepathname: super::super::Foundation::PSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL431 pub fn GetVolumePathNameA(lpszfilename: super::super::Foundation::PSTR, lpszvolumepathname: super::super::Foundation::PSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL; 432 #[cfg(feature = "Win32_Foundation")] GetVolumePathNameW(lpszfilename: super::super::Foundation::PWSTR, lpszvolumepathname: super::super::Foundation::PWSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL433 pub fn GetVolumePathNameW(lpszfilename: super::super::Foundation::PWSTR, lpszvolumepathname: super::super::Foundation::PWSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL; 434 #[cfg(feature = "Win32_Foundation")] GetVolumePathNamesForVolumeNameA(lpszvolumename: super::super::Foundation::PSTR, lpszvolumepathnames: super::super::Foundation::PSTR, cchbufferlength: u32, lpcchreturnlength: *mut u32) -> super::super::Foundation::BOOL435 pub fn GetVolumePathNamesForVolumeNameA(lpszvolumename: super::super::Foundation::PSTR, lpszvolumepathnames: super::super::Foundation::PSTR, cchbufferlength: u32, lpcchreturnlength: *mut u32) -> super::super::Foundation::BOOL; 436 #[cfg(feature = "Win32_Foundation")] GetVolumePathNamesForVolumeNameW(lpszvolumename: super::super::Foundation::PWSTR, lpszvolumepathnames: super::super::Foundation::PWSTR, cchbufferlength: u32, lpcchreturnlength: *mut u32) -> super::super::Foundation::BOOL437 pub fn GetVolumePathNamesForVolumeNameW(lpszvolumename: super::super::Foundation::PWSTR, lpszvolumepathnames: super::super::Foundation::PWSTR, cchbufferlength: u32, lpcchreturnlength: *mut u32) -> super::super::Foundation::BOOL; 438 #[cfg(feature = "Win32_Foundation")] HandleLogFull(hlog: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL439 pub fn HandleLogFull(hlog: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 440 #[cfg(feature = "Win32_Foundation")] InstallLogPolicy(hlog: super::super::Foundation::HANDLE, ppolicy: *mut CLFS_MGMT_POLICY) -> super::super::Foundation::BOOL441 pub fn InstallLogPolicy(hlog: super::super::Foundation::HANDLE, ppolicy: *mut CLFS_MGMT_POLICY) -> super::super::Foundation::BOOL; 442 #[cfg(feature = "Win32_Foundation")] IsIoRingOpSupported(ioring: *const HIORING__, op: IORING_OP_CODE) -> super::super::Foundation::BOOL443 pub fn IsIoRingOpSupported(ioring: *const HIORING__, op: IORING_OP_CODE) -> super::super::Foundation::BOOL; LZClose(hfile: i32)444 pub fn LZClose(hfile: i32); LZCopy(hfsource: i32, hfdest: i32) -> i32445 pub fn LZCopy(hfsource: i32, hfdest: i32) -> i32; LZDone()446 pub fn LZDone(); LZInit(hfsource: i32) -> i32447 pub fn LZInit(hfsource: i32) -> i32; 448 #[cfg(feature = "Win32_Foundation")] LZOpenFileA(lpfilename: super::super::Foundation::PSTR, lpreopenbuf: *mut OFSTRUCT, wstyle: LZOPENFILE_STYLE) -> i32449 pub fn LZOpenFileA(lpfilename: super::super::Foundation::PSTR, lpreopenbuf: *mut OFSTRUCT, wstyle: LZOPENFILE_STYLE) -> i32; 450 #[cfg(feature = "Win32_Foundation")] LZOpenFileW(lpfilename: super::super::Foundation::PWSTR, lpreopenbuf: *mut OFSTRUCT, wstyle: LZOPENFILE_STYLE) -> i32451 pub fn LZOpenFileW(lpfilename: super::super::Foundation::PWSTR, lpreopenbuf: *mut OFSTRUCT, wstyle: LZOPENFILE_STYLE) -> i32; 452 #[cfg(feature = "Win32_Foundation")] LZRead(hfile: i32, lpbuffer: super::super::Foundation::PSTR, cbread: i32) -> i32453 pub fn LZRead(hfile: i32, lpbuffer: super::super::Foundation::PSTR, cbread: i32) -> i32; LZSeek(hfile: i32, loffset: i32, iorigin: i32) -> i32454 pub fn LZSeek(hfile: i32, loffset: i32, iorigin: i32) -> i32; LZStart() -> i32455 pub fn LZStart() -> i32; 456 #[cfg(feature = "Win32_Foundation")] LocalFileTimeToFileTime(lplocalfiletime: *const super::super::Foundation::FILETIME, lpfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL457 pub fn LocalFileTimeToFileTime(lplocalfiletime: *const super::super::Foundation::FILETIME, lpfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL; 458 #[cfg(feature = "Win32_Foundation")] LockFile(hfile: super::super::Foundation::HANDLE, dwfileoffsetlow: u32, dwfileoffsethigh: u32, nnumberofbytestolocklow: u32, nnumberofbytestolockhigh: u32) -> super::super::Foundation::BOOL459 pub fn LockFile(hfile: super::super::Foundation::HANDLE, dwfileoffsetlow: u32, dwfileoffsethigh: u32, nnumberofbytestolocklow: u32, nnumberofbytestolockhigh: u32) -> super::super::Foundation::BOOL; 460 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] 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::BOOL461 pub 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; 462 #[cfg(feature = "Win32_Foundation")] LogTailAdvanceFailure(hlog: super::super::Foundation::HANDLE, dwreason: u32) -> super::super::Foundation::BOOL463 pub fn LogTailAdvanceFailure(hlog: super::super::Foundation::HANDLE, dwreason: u32) -> super::super::Foundation::BOOL; LsnBlockOffset(plsn: *const CLS_LSN) -> u32464 pub fn LsnBlockOffset(plsn: *const CLS_LSN) -> u32; LsnContainer(plsn: *const CLS_LSN) -> u32465 pub fn LsnContainer(plsn: *const CLS_LSN) -> u32; LsnCreate(cidcontainer: u32, offblock: u32, crecord: u32) -> CLS_LSN466 pub fn LsnCreate(cidcontainer: u32, offblock: u32, crecord: u32) -> CLS_LSN; 467 #[cfg(feature = "Win32_Foundation")] LsnEqual(plsn1: *const CLS_LSN, plsn2: *const CLS_LSN) -> super::super::Foundation::BOOLEAN468 pub fn LsnEqual(plsn1: *const CLS_LSN, plsn2: *const CLS_LSN) -> super::super::Foundation::BOOLEAN; 469 #[cfg(feature = "Win32_Foundation")] LsnGreater(plsn1: *const CLS_LSN, plsn2: *const CLS_LSN) -> super::super::Foundation::BOOLEAN470 pub fn LsnGreater(plsn1: *const CLS_LSN, plsn2: *const CLS_LSN) -> super::super::Foundation::BOOLEAN; LsnIncrement(plsn: *const CLS_LSN) -> CLS_LSN471 pub fn LsnIncrement(plsn: *const CLS_LSN) -> CLS_LSN; 472 #[cfg(feature = "Win32_Foundation")] LsnInvalid(plsn: *const CLS_LSN) -> super::super::Foundation::BOOLEAN473 pub fn LsnInvalid(plsn: *const CLS_LSN) -> super::super::Foundation::BOOLEAN; 474 #[cfg(feature = "Win32_Foundation")] LsnLess(plsn1: *const CLS_LSN, plsn2: *const CLS_LSN) -> super::super::Foundation::BOOLEAN475 pub fn LsnLess(plsn1: *const CLS_LSN, plsn2: *const CLS_LSN) -> super::super::Foundation::BOOLEAN; 476 #[cfg(feature = "Win32_Foundation")] LsnNull(plsn: *const CLS_LSN) -> super::super::Foundation::BOOLEAN477 pub fn LsnNull(plsn: *const CLS_LSN) -> super::super::Foundation::BOOLEAN; LsnRecordSequence(plsn: *const CLS_LSN) -> u32478 pub fn LsnRecordSequence(plsn: *const CLS_LSN) -> u32; 479 #[cfg(feature = "Win32_Foundation")] MoveFileA(lpexistingfilename: super::super::Foundation::PSTR, lpnewfilename: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL480 pub fn MoveFileA(lpexistingfilename: super::super::Foundation::PSTR, lpnewfilename: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL; 481 #[cfg(feature = "Win32_Foundation")] MoveFileExA(lpexistingfilename: super::super::Foundation::PSTR, lpnewfilename: super::super::Foundation::PSTR, dwflags: MOVE_FILE_FLAGS) -> super::super::Foundation::BOOL482 pub fn MoveFileExA(lpexistingfilename: super::super::Foundation::PSTR, lpnewfilename: super::super::Foundation::PSTR, dwflags: MOVE_FILE_FLAGS) -> super::super::Foundation::BOOL; 483 #[cfg(feature = "Win32_Foundation")] MoveFileExW(lpexistingfilename: super::super::Foundation::PWSTR, lpnewfilename: super::super::Foundation::PWSTR, dwflags: MOVE_FILE_FLAGS) -> super::super::Foundation::BOOL484 pub fn MoveFileExW(lpexistingfilename: super::super::Foundation::PWSTR, lpnewfilename: super::super::Foundation::PWSTR, dwflags: MOVE_FILE_FLAGS) -> super::super::Foundation::BOOL; 485 #[cfg(feature = "Win32_Foundation")] MoveFileFromAppW(lpexistingfilename: super::super::Foundation::PWSTR, lpnewfilename: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL486 pub fn MoveFileFromAppW(lpexistingfilename: super::super::Foundation::PWSTR, lpnewfilename: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; 487 #[cfg(feature = "Win32_Foundation")] MoveFileTransactedA(lpexistingfilename: super::super::Foundation::PSTR, lpnewfilename: super::super::Foundation::PSTR, lpprogressroutine: ::core::option::Option<LPPROGRESS_ROUTINE>, lpdata: *const ::core::ffi::c_void, dwflags: MOVE_FILE_FLAGS, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL488 pub fn MoveFileTransactedA(lpexistingfilename: super::super::Foundation::PSTR, lpnewfilename: super::super::Foundation::PSTR, lpprogressroutine: ::core::option::Option<LPPROGRESS_ROUTINE>, lpdata: *const ::core::ffi::c_void, dwflags: MOVE_FILE_FLAGS, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 489 #[cfg(feature = "Win32_Foundation")] MoveFileTransactedW(lpexistingfilename: super::super::Foundation::PWSTR, lpnewfilename: super::super::Foundation::PWSTR, lpprogressroutine: ::core::option::Option<LPPROGRESS_ROUTINE>, lpdata: *const ::core::ffi::c_void, dwflags: MOVE_FILE_FLAGS, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL490 pub fn MoveFileTransactedW(lpexistingfilename: super::super::Foundation::PWSTR, lpnewfilename: super::super::Foundation::PWSTR, lpprogressroutine: ::core::option::Option<LPPROGRESS_ROUTINE>, lpdata: *const ::core::ffi::c_void, dwflags: MOVE_FILE_FLAGS, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 491 #[cfg(feature = "Win32_Foundation")] MoveFileW(lpexistingfilename: super::super::Foundation::PWSTR, lpnewfilename: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL492 pub fn MoveFileW(lpexistingfilename: super::super::Foundation::PWSTR, lpnewfilename: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; 493 #[cfg(feature = "Win32_Foundation")] MoveFileWithProgressA(lpexistingfilename: super::super::Foundation::PSTR, lpnewfilename: super::super::Foundation::PSTR, lpprogressroutine: ::core::option::Option<LPPROGRESS_ROUTINE>, lpdata: *const ::core::ffi::c_void, dwflags: MOVE_FILE_FLAGS) -> super::super::Foundation::BOOL494 pub fn MoveFileWithProgressA(lpexistingfilename: super::super::Foundation::PSTR, lpnewfilename: super::super::Foundation::PSTR, lpprogressroutine: ::core::option::Option<LPPROGRESS_ROUTINE>, lpdata: *const ::core::ffi::c_void, dwflags: MOVE_FILE_FLAGS) -> super::super::Foundation::BOOL; 495 #[cfg(feature = "Win32_Foundation")] MoveFileWithProgressW(lpexistingfilename: super::super::Foundation::PWSTR, lpnewfilename: super::super::Foundation::PWSTR, lpprogressroutine: ::core::option::Option<LPPROGRESS_ROUTINE>, lpdata: *const ::core::ffi::c_void, dwflags: MOVE_FILE_FLAGS) -> super::super::Foundation::BOOL496 pub fn MoveFileWithProgressW(lpexistingfilename: super::super::Foundation::PWSTR, lpnewfilename: super::super::Foundation::PWSTR, lpprogressroutine: ::core::option::Option<LPPROGRESS_ROUTINE>, lpdata: *const ::core::ffi::c_void, dwflags: MOVE_FILE_FLAGS) -> super::super::Foundation::BOOL; 497 #[cfg(feature = "Win32_Foundation")] NetConnectionEnum(servername: super::super::Foundation::PWSTR, qualifier: super::super::Foundation::PWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut u32) -> u32498 pub fn NetConnectionEnum(servername: super::super::Foundation::PWSTR, qualifier: super::super::Foundation::PWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut u32) -> u32; 499 #[cfg(feature = "Win32_Foundation")] NetFileClose(servername: super::super::Foundation::PWSTR, fileid: u32) -> u32500 pub fn NetFileClose(servername: super::super::Foundation::PWSTR, fileid: u32) -> u32; 501 #[cfg(feature = "Win32_Foundation")] NetFileEnum(servername: super::super::Foundation::PWSTR, basepath: super::super::Foundation::PWSTR, username: super::super::Foundation::PWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut usize) -> u32502 pub fn NetFileEnum(servername: super::super::Foundation::PWSTR, basepath: super::super::Foundation::PWSTR, username: super::super::Foundation::PWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut usize) -> u32; 503 #[cfg(feature = "Win32_Foundation")] NetFileGetInfo(servername: super::super::Foundation::PWSTR, fileid: u32, level: u32, bufptr: *mut *mut u8) -> u32504 pub fn NetFileGetInfo(servername: super::super::Foundation::PWSTR, fileid: u32, level: u32, bufptr: *mut *mut u8) -> u32; 505 #[cfg(feature = "Win32_Foundation")] NetServerAliasAdd(servername: super::super::Foundation::PWSTR, level: u32, buf: *const u8) -> u32506 pub fn NetServerAliasAdd(servername: super::super::Foundation::PWSTR, level: u32, buf: *const u8) -> u32; 507 #[cfg(feature = "Win32_Foundation")] NetServerAliasDel(servername: super::super::Foundation::PWSTR, level: u32, buf: *const u8) -> u32508 pub fn NetServerAliasDel(servername: super::super::Foundation::PWSTR, level: u32, buf: *const u8) -> u32; 509 #[cfg(feature = "Win32_Foundation")] NetServerAliasEnum(servername: super::super::Foundation::PWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resumehandle: *mut u32) -> u32510 pub fn NetServerAliasEnum(servername: super::super::Foundation::PWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resumehandle: *mut u32) -> u32; 511 #[cfg(feature = "Win32_Foundation")] NetSessionDel(servername: super::super::Foundation::PWSTR, uncclientname: super::super::Foundation::PWSTR, username: super::super::Foundation::PWSTR) -> u32512 pub fn NetSessionDel(servername: super::super::Foundation::PWSTR, uncclientname: super::super::Foundation::PWSTR, username: super::super::Foundation::PWSTR) -> u32; 513 #[cfg(feature = "Win32_Foundation")] NetSessionEnum(servername: super::super::Foundation::PWSTR, uncclientname: super::super::Foundation::PWSTR, username: super::super::Foundation::PWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut u32) -> u32514 pub fn NetSessionEnum(servername: super::super::Foundation::PWSTR, uncclientname: super::super::Foundation::PWSTR, username: super::super::Foundation::PWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut u32) -> u32; 515 #[cfg(feature = "Win32_Foundation")] NetSessionGetInfo(servername: super::super::Foundation::PWSTR, uncclientname: super::super::Foundation::PWSTR, username: super::super::Foundation::PWSTR, level: u32, bufptr: *mut *mut u8) -> u32516 pub fn NetSessionGetInfo(servername: super::super::Foundation::PWSTR, uncclientname: super::super::Foundation::PWSTR, username: super::super::Foundation::PWSTR, level: u32, bufptr: *mut *mut u8) -> u32; 517 #[cfg(feature = "Win32_Foundation")] NetShareAdd(servername: super::super::Foundation::PWSTR, level: u32, buf: *const u8, parm_err: *mut u32) -> u32518 pub fn NetShareAdd(servername: super::super::Foundation::PWSTR, level: u32, buf: *const u8, parm_err: *mut u32) -> u32; 519 #[cfg(feature = "Win32_Foundation")] NetShareCheck(servername: super::super::Foundation::PWSTR, device: super::super::Foundation::PWSTR, r#type: *mut u32) -> u32520 pub fn NetShareCheck(servername: super::super::Foundation::PWSTR, device: super::super::Foundation::PWSTR, r#type: *mut u32) -> u32; 521 #[cfg(feature = "Win32_Foundation")] NetShareDel(servername: super::super::Foundation::PWSTR, netname: super::super::Foundation::PWSTR, reserved: u32) -> u32522 pub fn NetShareDel(servername: super::super::Foundation::PWSTR, netname: super::super::Foundation::PWSTR, reserved: u32) -> u32; 523 #[cfg(feature = "Win32_Foundation")] NetShareDelEx(servername: super::super::Foundation::PWSTR, level: u32, buf: *const u8) -> u32524 pub fn NetShareDelEx(servername: super::super::Foundation::PWSTR, level: u32, buf: *const u8) -> u32; 525 #[cfg(feature = "Win32_Foundation")] NetShareDelSticky(servername: super::super::Foundation::PWSTR, netname: super::super::Foundation::PWSTR, reserved: u32) -> u32526 pub fn NetShareDelSticky(servername: super::super::Foundation::PWSTR, netname: super::super::Foundation::PWSTR, reserved: u32) -> u32; 527 #[cfg(feature = "Win32_Foundation")] NetShareEnum(servername: super::super::Foundation::PWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut u32) -> u32528 pub fn NetShareEnum(servername: super::super::Foundation::PWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut u32) -> u32; 529 #[cfg(feature = "Win32_Foundation")] NetShareEnumSticky(servername: super::super::Foundation::PWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut u32) -> u32530 pub fn NetShareEnumSticky(servername: super::super::Foundation::PWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut u32) -> u32; 531 #[cfg(feature = "Win32_Foundation")] NetShareGetInfo(servername: super::super::Foundation::PWSTR, netname: super::super::Foundation::PWSTR, level: u32, bufptr: *mut *mut u8) -> u32532 pub fn NetShareGetInfo(servername: super::super::Foundation::PWSTR, netname: super::super::Foundation::PWSTR, level: u32, bufptr: *mut *mut u8) -> u32; 533 #[cfg(feature = "Win32_Foundation")] NetShareSetInfo(servername: super::super::Foundation::PWSTR, netname: super::super::Foundation::PWSTR, level: u32, buf: *const u8, parm_err: *mut u32) -> u32534 pub fn NetShareSetInfo(servername: super::super::Foundation::PWSTR, netname: super::super::Foundation::PWSTR, level: u32, buf: *const u8, parm_err: *mut u32) -> u32; NetStatisticsGet(servername: *const i8, service: *const i8, level: u32, options: u32, buffer: *mut *mut u8) -> u32535 pub fn NetStatisticsGet(servername: *const i8, service: *const i8, level: u32, options: u32, buffer: *mut *mut u8) -> u32; 536 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] NtCreateFile(filehandle: *mut super::super::Foundation::HANDLE, desiredaccess: u32, objectattributes: *mut super::super::System::WindowsProgramming::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::System::WindowsProgramming::IO_STATUS_BLOCK, allocationsize: *mut i64, fileattributes: u32, shareaccess: FILE_SHARE_MODE, createdisposition: NT_CREATE_FILE_DISPOSITION, createoptions: u32, eabuffer: *mut ::core::ffi::c_void, ealength: u32) -> super::super::Foundation::NTSTATUS537 pub fn NtCreateFile(filehandle: *mut super::super::Foundation::HANDLE, desiredaccess: u32, objectattributes: *mut super::super::System::WindowsProgramming::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::System::WindowsProgramming::IO_STATUS_BLOCK, allocationsize: *mut i64, fileattributes: u32, shareaccess: FILE_SHARE_MODE, createdisposition: NT_CREATE_FILE_DISPOSITION, createoptions: u32, eabuffer: *mut ::core::ffi::c_void, ealength: u32) -> super::super::Foundation::NTSTATUS; 538 #[cfg(feature = "Win32_Foundation")] OpenEncryptedFileRawA(lpfilename: super::super::Foundation::PSTR, ulflags: u32, pvcontext: *mut *mut ::core::ffi::c_void) -> u32539 pub fn OpenEncryptedFileRawA(lpfilename: super::super::Foundation::PSTR, ulflags: u32, pvcontext: *mut *mut ::core::ffi::c_void) -> u32; 540 #[cfg(feature = "Win32_Foundation")] OpenEncryptedFileRawW(lpfilename: super::super::Foundation::PWSTR, ulflags: u32, pvcontext: *mut *mut ::core::ffi::c_void) -> u32541 pub fn OpenEncryptedFileRawW(lpfilename: super::super::Foundation::PWSTR, ulflags: u32, pvcontext: *mut *mut ::core::ffi::c_void) -> u32; 542 #[cfg(feature = "Win32_Foundation")] OpenEnlistment(dwdesiredaccess: u32, resourcemanagerhandle: super::super::Foundation::HANDLE, enlistmentid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::HANDLE543 pub fn OpenEnlistment(dwdesiredaccess: u32, resourcemanagerhandle: super::super::Foundation::HANDLE, enlistmentid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::HANDLE; 544 #[cfg(feature = "Win32_Foundation")] OpenFile(lpfilename: super::super::Foundation::PSTR, lpreopenbuff: *mut OFSTRUCT, ustyle: LZOPENFILE_STYLE) -> i32545 pub fn OpenFile(lpfilename: super::super::Foundation::PSTR, lpreopenbuff: *mut OFSTRUCT, ustyle: LZOPENFILE_STYLE) -> i32; 546 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] OpenFileById(hvolumehint: super::super::Foundation::HANDLE, lpfileid: *const FILE_ID_DESCRIPTOR, dwdesiredaccess: FILE_ACCESS_FLAGS, dwsharemode: FILE_SHARE_MODE, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, dwflagsandattributes: FILE_FLAGS_AND_ATTRIBUTES) -> super::super::Foundation::HANDLE547 pub fn OpenFileById(hvolumehint: super::super::Foundation::HANDLE, lpfileid: *const FILE_ID_DESCRIPTOR, dwdesiredaccess: FILE_ACCESS_FLAGS, dwsharemode: FILE_SHARE_MODE, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, dwflagsandattributes: FILE_FLAGS_AND_ATTRIBUTES) -> super::super::Foundation::HANDLE; 548 #[cfg(feature = "Win32_Foundation")] OpenResourceManager(dwdesiredaccess: u32, tmhandle: super::super::Foundation::HANDLE, resourcemanagerid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::HANDLE549 pub fn OpenResourceManager(dwdesiredaccess: u32, tmhandle: super::super::Foundation::HANDLE, resourcemanagerid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::HANDLE; 550 #[cfg(feature = "Win32_Foundation")] OpenTransaction(dwdesiredaccess: u32, transactionid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::HANDLE551 pub fn OpenTransaction(dwdesiredaccess: u32, transactionid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::HANDLE; 552 #[cfg(feature = "Win32_Foundation")] OpenTransactionManager(logfilename: super::super::Foundation::PWSTR, desiredaccess: u32, openoptions: u32) -> super::super::Foundation::HANDLE553 pub fn OpenTransactionManager(logfilename: super::super::Foundation::PWSTR, desiredaccess: u32, openoptions: u32) -> super::super::Foundation::HANDLE; 554 #[cfg(feature = "Win32_Foundation")] OpenTransactionManagerById(transactionmanagerid: *const ::windows_sys::core::GUID, desiredaccess: u32, openoptions: u32) -> super::super::Foundation::HANDLE555 pub fn OpenTransactionManagerById(transactionmanagerid: *const ::windows_sys::core::GUID, desiredaccess: u32, openoptions: u32) -> super::super::Foundation::HANDLE; PopIoRingCompletion(ioring: *const HIORING__, cqe: *mut IORING_CQE) -> ::windows_sys::core::HRESULT556 pub fn PopIoRingCompletion(ioring: *const HIORING__, cqe: *mut IORING_CQE) -> ::windows_sys::core::HRESULT; 557 #[cfg(feature = "Win32_Foundation")] PrePrepareComplete(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL558 pub fn PrePrepareComplete(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; 559 #[cfg(feature = "Win32_Foundation")] PrePrepareEnlistment(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL560 pub fn PrePrepareEnlistment(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; 561 #[cfg(feature = "Win32_Foundation")] PrepareComplete(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL562 pub fn PrepareComplete(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; 563 #[cfg(feature = "Win32_Foundation")] PrepareEnlistment(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL564 pub fn PrepareEnlistment(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; 565 #[cfg(feature = "Win32_Foundation")] PrepareLogArchive(hlog: super::super::Foundation::HANDLE, pszbaselogfilename: super::super::Foundation::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::BOOL566 pub fn PrepareLogArchive(hlog: super::super::Foundation::HANDLE, pszbaselogfilename: super::super::Foundation::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; 567 #[cfg(feature = "Win32_Foundation")] PrepareTape(hdevice: super::super::Foundation::HANDLE, dwoperation: PREPARE_TAPE_OPERATION, bimmediate: super::super::Foundation::BOOL) -> u32568 pub fn PrepareTape(hdevice: super::super::Foundation::HANDLE, dwoperation: PREPARE_TAPE_OPERATION, bimmediate: super::super::Foundation::BOOL) -> u32; 569 #[cfg(feature = "Win32_Foundation")] QueryDosDeviceA(lpdevicename: super::super::Foundation::PSTR, lptargetpath: super::super::Foundation::PSTR, ucchmax: u32) -> u32570 pub fn QueryDosDeviceA(lpdevicename: super::super::Foundation::PSTR, lptargetpath: super::super::Foundation::PSTR, ucchmax: u32) -> u32; 571 #[cfg(feature = "Win32_Foundation")] QueryDosDeviceW(lpdevicename: super::super::Foundation::PWSTR, lptargetpath: super::super::Foundation::PWSTR, ucchmax: u32) -> u32572 pub fn QueryDosDeviceW(lpdevicename: super::super::Foundation::PWSTR, lptargetpath: super::super::Foundation::PWSTR, ucchmax: u32) -> u32; QueryIoRingCapabilities(capabilities: *mut IORING_CAPABILITIES) -> ::windows_sys::core::HRESULT573 pub fn QueryIoRingCapabilities(capabilities: *mut IORING_CAPABILITIES) -> ::windows_sys::core::HRESULT; 574 #[cfg(feature = "Win32_Foundation")] QueryLogPolicy(hlog: super::super::Foundation::HANDLE, epolicytype: CLFS_MGMT_POLICY_TYPE, ppolicybuffer: *mut CLFS_MGMT_POLICY, pcbpolicybuffer: *mut u32) -> super::super::Foundation::BOOL575 pub fn QueryLogPolicy(hlog: super::super::Foundation::HANDLE, epolicytype: CLFS_MGMT_POLICY_TYPE, ppolicybuffer: *mut CLFS_MGMT_POLICY, pcbpolicybuffer: *mut u32) -> super::super::Foundation::BOOL; 576 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] QueryRecoveryAgentsOnEncryptedFile(lpfilename: super::super::Foundation::PWSTR, precoveryagents: *mut *mut ENCRYPTION_CERTIFICATE_HASH_LIST) -> u32577 pub fn QueryRecoveryAgentsOnEncryptedFile(lpfilename: super::super::Foundation::PWSTR, precoveryagents: *mut *mut ENCRYPTION_CERTIFICATE_HASH_LIST) -> u32; 578 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] QueryUsersOnEncryptedFile(lpfilename: super::super::Foundation::PWSTR, pusers: *mut *mut ENCRYPTION_CERTIFICATE_HASH_LIST) -> u32579 pub fn QueryUsersOnEncryptedFile(lpfilename: super::super::Foundation::PWSTR, pusers: *mut *mut ENCRYPTION_CERTIFICATE_HASH_LIST) -> u32; 580 #[cfg(feature = "Win32_Foundation")] ReOpenFile(horiginalfile: super::super::Foundation::HANDLE, dwdesiredaccess: FILE_ACCESS_FLAGS, dwsharemode: FILE_SHARE_MODE, dwflagsandattributes: FILE_FLAGS_AND_ATTRIBUTES) -> super::super::Foundation::HANDLE581 pub fn ReOpenFile(horiginalfile: super::super::Foundation::HANDLE, dwdesiredaccess: FILE_ACCESS_FLAGS, dwsharemode: FILE_SHARE_MODE, dwflagsandattributes: FILE_FLAGS_AND_ATTRIBUTES) -> super::super::Foundation::HANDLE; 582 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] 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: ::core::option::Option<super::super::System::IO::LPOVERLAPPED_COMPLETION_ROUTINE>, readdirectorynotifyinformationclass: READ_DIRECTORY_NOTIFY_INFORMATION_CLASS, ) -> super::super::Foundation::BOOL583 pub fn ReadDirectoryChangesExW( 584 hdirectory: super::super::Foundation::HANDLE, 585 lpbuffer: *mut ::core::ffi::c_void, 586 nbufferlength: u32, 587 bwatchsubtree: super::super::Foundation::BOOL, 588 dwnotifyfilter: FILE_NOTIFY_CHANGE, 589 lpbytesreturned: *mut u32, 590 lpoverlapped: *mut super::super::System::IO::OVERLAPPED, 591 lpcompletionroutine: ::core::option::Option<super::super::System::IO::LPOVERLAPPED_COMPLETION_ROUTINE>, 592 readdirectorynotifyinformationclass: READ_DIRECTORY_NOTIFY_INFORMATION_CLASS, 593 ) -> super::super::Foundation::BOOL; 594 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] 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: ::core::option::Option<super::super::System::IO::LPOVERLAPPED_COMPLETION_ROUTINE>) -> super::super::Foundation::BOOL595 pub 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: ::core::option::Option<super::super::System::IO::LPOVERLAPPED_COMPLETION_ROUTINE>) -> super::super::Foundation::BOOL; ReadEncryptedFileRaw(pfexportcallback: ::core::option::Option<PFE_EXPORT_FUNC>, pvcallbackcontext: *const ::core::ffi::c_void, pvcontext: *const ::core::ffi::c_void) -> u32596 pub fn ReadEncryptedFileRaw(pfexportcallback: ::core::option::Option<PFE_EXPORT_FUNC>, pvcallbackcontext: *const ::core::ffi::c_void, pvcontext: *const ::core::ffi::c_void) -> u32; 597 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] ReadFile(hfile: super::super::Foundation::HANDLE, lpbuffer: *mut ::core::ffi::c_void, nnumberofbytestoread: u32, lpnumberofbytesread: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL598 pub fn ReadFile(hfile: super::super::Foundation::HANDLE, lpbuffer: *mut ::core::ffi::c_void, nnumberofbytestoread: u32, lpnumberofbytesread: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; 599 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] ReadFileEx(hfile: super::super::Foundation::HANDLE, lpbuffer: *mut ::core::ffi::c_void, nnumberofbytestoread: u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: ::core::option::Option<super::super::System::IO::LPOVERLAPPED_COMPLETION_ROUTINE>) -> super::super::Foundation::BOOL600 pub fn ReadFileEx(hfile: super::super::Foundation::HANDLE, lpbuffer: *mut ::core::ffi::c_void, nnumberofbytestoread: u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: ::core::option::Option<super::super::System::IO::LPOVERLAPPED_COMPLETION_ROUTINE>) -> super::super::Foundation::BOOL; 601 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] ReadFileScatter(hfile: super::super::Foundation::HANDLE, asegmentarray: *const FILE_SEGMENT_ELEMENT, nnumberofbytestoread: u32, lpreserved: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL602 pub fn ReadFileScatter(hfile: super::super::Foundation::HANDLE, asegmentarray: *const FILE_SEGMENT_ELEMENT, nnumberofbytestoread: u32, lpreserved: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; 603 #[cfg(feature = "Win32_Foundation")] ReadLogArchiveMetadata(pvarchivecontext: *mut ::core::ffi::c_void, cboffset: u32, cbbytestoread: u32, pbreadbuffer: *mut u8, pcbbytesread: *mut u32) -> super::super::Foundation::BOOL604 pub fn ReadLogArchiveMetadata(pvarchivecontext: *mut ::core::ffi::c_void, cboffset: u32, cbbytestoread: u32, pbreadbuffer: *mut u8, pcbbytesread: *mut u32) -> super::super::Foundation::BOOL; 605 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] ReadLogNotification(hlog: super::super::Foundation::HANDLE, pnotification: *mut CLFS_MGMT_NOTIFICATION, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL606 pub fn ReadLogNotification(hlog: super::super::Foundation::HANDLE, pnotification: *mut CLFS_MGMT_NOTIFICATION, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; 607 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] 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::BOOL608 pub 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; 609 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] 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::BOOL610 pub 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; 611 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] 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::BOOL612 pub 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; 613 #[cfg(feature = "Win32_Foundation")] ReadOnlyEnlistment(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL614 pub fn ReadOnlyEnlistment(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; 615 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] 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::BOOL616 pub 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; 617 #[cfg(feature = "Win32_Foundation")] RecoverEnlistment(enlistmenthandle: super::super::Foundation::HANDLE, enlistmentkey: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL618 pub fn RecoverEnlistment(enlistmenthandle: super::super::Foundation::HANDLE, enlistmentkey: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 619 #[cfg(feature = "Win32_Foundation")] RecoverResourceManager(resourcemanagerhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL620 pub fn RecoverResourceManager(resourcemanagerhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 621 #[cfg(feature = "Win32_Foundation")] RecoverTransactionManager(transactionmanagerhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL622 pub fn RecoverTransactionManager(transactionmanagerhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 623 #[cfg(feature = "Win32_Foundation")] RegisterForLogWriteNotification(hlog: super::super::Foundation::HANDLE, cbthreshold: u32, fenable: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL624 pub fn RegisterForLogWriteNotification(hlog: super::super::Foundation::HANDLE, cbthreshold: u32, fenable: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; 625 #[cfg(feature = "Win32_Foundation")] RegisterManageableLogClient(hlog: super::super::Foundation::HANDLE, pcallbacks: *mut LOG_MANAGEMENT_CALLBACKS) -> super::super::Foundation::BOOL626 pub fn RegisterManageableLogClient(hlog: super::super::Foundation::HANDLE, pcallbacks: *mut LOG_MANAGEMENT_CALLBACKS) -> super::super::Foundation::BOOL; 627 #[cfg(feature = "Win32_Foundation")] RemoveDirectoryA(lppathname: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL628 pub fn RemoveDirectoryA(lppathname: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL; 629 #[cfg(feature = "Win32_Foundation")] RemoveDirectoryFromAppW(lppathname: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL630 pub fn RemoveDirectoryFromAppW(lppathname: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; 631 #[cfg(feature = "Win32_Foundation")] RemoveDirectoryTransactedA(lppathname: super::super::Foundation::PSTR, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL632 pub fn RemoveDirectoryTransactedA(lppathname: super::super::Foundation::PSTR, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 633 #[cfg(feature = "Win32_Foundation")] RemoveDirectoryTransactedW(lppathname: super::super::Foundation::PWSTR, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL634 pub fn RemoveDirectoryTransactedW(lppathname: super::super::Foundation::PWSTR, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 635 #[cfg(feature = "Win32_Foundation")] RemoveDirectoryW(lppathname: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL636 pub fn RemoveDirectoryW(lppathname: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; 637 #[cfg(feature = "Win32_Foundation")] RemoveLogContainer(hlog: super::super::Foundation::HANDLE, pwszcontainerpath: super::super::Foundation::PWSTR, fforce: super::super::Foundation::BOOL, preserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL638 pub fn RemoveLogContainer(hlog: super::super::Foundation::HANDLE, pwszcontainerpath: super::super::Foundation::PWSTR, fforce: super::super::Foundation::BOOL, preserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 639 #[cfg(feature = "Win32_Foundation")] RemoveLogContainerSet(hlog: super::super::Foundation::HANDLE, ccontainer: u16, rgwszcontainerpath: *const super::super::Foundation::PWSTR, fforce: super::super::Foundation::BOOL, preserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL640 pub fn RemoveLogContainerSet(hlog: super::super::Foundation::HANDLE, ccontainer: u16, rgwszcontainerpath: *const super::super::Foundation::PWSTR, fforce: super::super::Foundation::BOOL, preserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 641 #[cfg(feature = "Win32_Foundation")] RemoveLogPolicy(hlog: super::super::Foundation::HANDLE, epolicytype: CLFS_MGMT_POLICY_TYPE) -> super::super::Foundation::BOOL642 pub fn RemoveLogPolicy(hlog: super::super::Foundation::HANDLE, epolicytype: CLFS_MGMT_POLICY_TYPE) -> super::super::Foundation::BOOL; 643 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] RemoveUsersFromEncryptedFile(lpfilename: super::super::Foundation::PWSTR, phashes: *const ENCRYPTION_CERTIFICATE_HASH_LIST) -> u32644 pub fn RemoveUsersFromEncryptedFile(lpfilename: super::super::Foundation::PWSTR, phashes: *const ENCRYPTION_CERTIFICATE_HASH_LIST) -> u32; 645 #[cfg(feature = "Win32_Foundation")] RenameTransactionManager(logfilename: super::super::Foundation::PWSTR, existingtransactionmanagerguid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::BOOL646 pub fn RenameTransactionManager(logfilename: super::super::Foundation::PWSTR, existingtransactionmanagerguid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::BOOL; 647 #[cfg(feature = "Win32_Foundation")] ReplaceFileA(lpreplacedfilename: super::super::Foundation::PSTR, lpreplacementfilename: super::super::Foundation::PSTR, lpbackupfilename: super::super::Foundation::PSTR, dwreplaceflags: REPLACE_FILE_FLAGS, lpexclude: *mut ::core::ffi::c_void, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL648 pub fn ReplaceFileA(lpreplacedfilename: super::super::Foundation::PSTR, lpreplacementfilename: super::super::Foundation::PSTR, lpbackupfilename: super::super::Foundation::PSTR, dwreplaceflags: REPLACE_FILE_FLAGS, lpexclude: *mut ::core::ffi::c_void, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 649 #[cfg(feature = "Win32_Foundation")] ReplaceFileFromAppW(lpreplacedfilename: super::super::Foundation::PWSTR, lpreplacementfilename: super::super::Foundation::PWSTR, lpbackupfilename: super::super::Foundation::PWSTR, dwreplaceflags: u32, lpexclude: *mut ::core::ffi::c_void, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL650 pub fn ReplaceFileFromAppW(lpreplacedfilename: super::super::Foundation::PWSTR, lpreplacementfilename: super::super::Foundation::PWSTR, lpbackupfilename: super::super::Foundation::PWSTR, dwreplaceflags: u32, lpexclude: *mut ::core::ffi::c_void, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 651 #[cfg(feature = "Win32_Foundation")] ReplaceFileW(lpreplacedfilename: super::super::Foundation::PWSTR, lpreplacementfilename: super::super::Foundation::PWSTR, lpbackupfilename: super::super::Foundation::PWSTR, dwreplaceflags: REPLACE_FILE_FLAGS, lpexclude: *mut ::core::ffi::c_void, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL652 pub fn ReplaceFileW(lpreplacedfilename: super::super::Foundation::PWSTR, lpreplacementfilename: super::super::Foundation::PWSTR, lpbackupfilename: super::super::Foundation::PWSTR, dwreplaceflags: REPLACE_FILE_FLAGS, lpexclude: *mut ::core::ffi::c_void, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 653 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] 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::BOOL654 pub 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; 655 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] 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::BOOL656 pub 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; 657 #[cfg(feature = "Win32_Foundation")] RollbackComplete(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL658 pub fn RollbackComplete(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; 659 #[cfg(feature = "Win32_Foundation")] RollbackEnlistment(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL660 pub fn RollbackEnlistment(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; 661 #[cfg(feature = "Win32_Foundation")] RollbackTransaction(transactionhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL662 pub fn RollbackTransaction(transactionhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 663 #[cfg(feature = "Win32_Foundation")] RollbackTransactionAsync(transactionhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL664 pub fn RollbackTransactionAsync(transactionhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 665 #[cfg(feature = "Win32_Foundation")] RollforwardTransactionManager(transactionmanagerhandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL666 pub fn RollforwardTransactionManager(transactionmanagerhandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; 667 #[cfg(feature = "Win32_Foundation")] ScanLogContainers(pcxscan: *mut CLS_SCAN_CONTEXT, escanmode: u8, preserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL668 pub fn ScanLogContainers(pcxscan: *mut CLS_SCAN_CONTEXT, escanmode: u8, preserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 669 #[cfg(feature = "Win32_Foundation")] SearchPathA(lppath: super::super::Foundation::PSTR, lpfilename: super::super::Foundation::PSTR, lpextension: super::super::Foundation::PSTR, nbufferlength: u32, lpbuffer: super::super::Foundation::PSTR, lpfilepart: *mut super::super::Foundation::PSTR) -> u32670 pub fn SearchPathA(lppath: super::super::Foundation::PSTR, lpfilename: super::super::Foundation::PSTR, lpextension: super::super::Foundation::PSTR, nbufferlength: u32, lpbuffer: super::super::Foundation::PSTR, lpfilepart: *mut super::super::Foundation::PSTR) -> u32; 671 #[cfg(feature = "Win32_Foundation")] SearchPathW(lppath: super::super::Foundation::PWSTR, lpfilename: super::super::Foundation::PWSTR, lpextension: super::super::Foundation::PWSTR, nbufferlength: u32, lpbuffer: super::super::Foundation::PWSTR, lpfilepart: *mut super::super::Foundation::PWSTR) -> u32672 pub fn SearchPathW(lppath: super::super::Foundation::PWSTR, lpfilename: super::super::Foundation::PWSTR, lpextension: super::super::Foundation::PWSTR, nbufferlength: u32, lpbuffer: super::super::Foundation::PWSTR, lpfilepart: *mut super::super::Foundation::PWSTR) -> u32; 673 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] SetEncryptedFileMetadata(lpfilename: super::super::Foundation::PWSTR, pboldmetadata: *const u8, pbnewmetadata: *const u8, pownerhash: *const ENCRYPTION_CERTIFICATE_HASH, dwoperation: u32, pcertificatesadded: *const ENCRYPTION_CERTIFICATE_HASH_LIST) -> u32674 pub fn SetEncryptedFileMetadata(lpfilename: super::super::Foundation::PWSTR, pboldmetadata: *const u8, pbnewmetadata: *const u8, pownerhash: *const ENCRYPTION_CERTIFICATE_HASH, dwoperation: u32, pcertificatesadded: *const ENCRYPTION_CERTIFICATE_HASH_LIST) -> u32; 675 #[cfg(feature = "Win32_Foundation")] SetEndOfFile(hfile: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL676 pub fn SetEndOfFile(hfile: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 677 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] SetEndOfLog(hlog: super::super::Foundation::HANDLE, plsnend: *mut CLS_LSN, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL678 pub fn SetEndOfLog(hlog: super::super::Foundation::HANDLE, plsnend: *mut CLS_LSN, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; 679 #[cfg(feature = "Win32_Foundation")] SetEnlistmentRecoveryInformation(enlistmenthandle: super::super::Foundation::HANDLE, buffersize: u32, buffer: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL680 pub fn SetEnlistmentRecoveryInformation(enlistmenthandle: super::super::Foundation::HANDLE, buffersize: u32, buffer: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; SetFileApisToANSI()681 pub fn SetFileApisToANSI(); SetFileApisToOEM()682 pub fn SetFileApisToOEM(); 683 #[cfg(feature = "Win32_Foundation")] SetFileAttributesA(lpfilename: super::super::Foundation::PSTR, dwfileattributes: FILE_FLAGS_AND_ATTRIBUTES) -> super::super::Foundation::BOOL684 pub fn SetFileAttributesA(lpfilename: super::super::Foundation::PSTR, dwfileattributes: FILE_FLAGS_AND_ATTRIBUTES) -> super::super::Foundation::BOOL; 685 #[cfg(feature = "Win32_Foundation")] SetFileAttributesFromAppW(lpfilename: super::super::Foundation::PWSTR, dwfileattributes: u32) -> super::super::Foundation::BOOL686 pub fn SetFileAttributesFromAppW(lpfilename: super::super::Foundation::PWSTR, dwfileattributes: u32) -> super::super::Foundation::BOOL; 687 #[cfg(feature = "Win32_Foundation")] SetFileAttributesTransactedA(lpfilename: super::super::Foundation::PSTR, dwfileattributes: u32, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL688 pub fn SetFileAttributesTransactedA(lpfilename: super::super::Foundation::PSTR, dwfileattributes: u32, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 689 #[cfg(feature = "Win32_Foundation")] SetFileAttributesTransactedW(lpfilename: super::super::Foundation::PWSTR, dwfileattributes: u32, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL690 pub fn SetFileAttributesTransactedW(lpfilename: super::super::Foundation::PWSTR, dwfileattributes: u32, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 691 #[cfg(feature = "Win32_Foundation")] SetFileAttributesW(lpfilename: super::super::Foundation::PWSTR, dwfileattributes: FILE_FLAGS_AND_ATTRIBUTES) -> super::super::Foundation::BOOL692 pub fn SetFileAttributesW(lpfilename: super::super::Foundation::PWSTR, dwfileattributes: FILE_FLAGS_AND_ATTRIBUTES) -> super::super::Foundation::BOOL; 693 #[cfg(feature = "Win32_Foundation")] SetFileBandwidthReservation(hfile: super::super::Foundation::HANDLE, nperiodmilliseconds: u32, nbytesperperiod: u32, bdiscardable: super::super::Foundation::BOOL, lptransfersize: *mut u32, lpnumoutstandingrequests: *mut u32) -> super::super::Foundation::BOOL694 pub 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; 695 #[cfg(feature = "Win32_Foundation")] SetFileCompletionNotificationModes(filehandle: super::super::Foundation::HANDLE, flags: u8) -> super::super::Foundation::BOOL696 pub fn SetFileCompletionNotificationModes(filehandle: super::super::Foundation::HANDLE, flags: u8) -> super::super::Foundation::BOOL; 697 #[cfg(feature = "Win32_Foundation")] SetFileInformationByHandle(hfile: super::super::Foundation::HANDLE, fileinformationclass: FILE_INFO_BY_HANDLE_CLASS, lpfileinformation: *const ::core::ffi::c_void, dwbuffersize: u32) -> super::super::Foundation::BOOL698 pub 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; 699 #[cfg(feature = "Win32_Foundation")] SetFileIoOverlappedRange(filehandle: super::super::Foundation::HANDLE, overlappedrangestart: *const u8, length: u32) -> super::super::Foundation::BOOL700 pub fn SetFileIoOverlappedRange(filehandle: super::super::Foundation::HANDLE, overlappedrangestart: *const u8, length: u32) -> super::super::Foundation::BOOL; 701 #[cfg(feature = "Win32_Foundation")] SetFilePointer(hfile: super::super::Foundation::HANDLE, ldistancetomove: i32, lpdistancetomovehigh: *mut i32, dwmovemethod: SET_FILE_POINTER_MOVE_METHOD) -> u32702 pub fn SetFilePointer(hfile: super::super::Foundation::HANDLE, ldistancetomove: i32, lpdistancetomovehigh: *mut i32, dwmovemethod: SET_FILE_POINTER_MOVE_METHOD) -> u32; 703 #[cfg(feature = "Win32_Foundation")] SetFilePointerEx(hfile: super::super::Foundation::HANDLE, lidistancetomove: i64, lpnewfilepointer: *mut i64, dwmovemethod: SET_FILE_POINTER_MOVE_METHOD) -> super::super::Foundation::BOOL704 pub fn SetFilePointerEx(hfile: super::super::Foundation::HANDLE, lidistancetomove: i64, lpnewfilepointer: *mut i64, dwmovemethod: SET_FILE_POINTER_MOVE_METHOD) -> super::super::Foundation::BOOL; 705 #[cfg(feature = "Win32_Foundation")] SetFileShortNameA(hfile: super::super::Foundation::HANDLE, lpshortname: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL706 pub fn SetFileShortNameA(hfile: super::super::Foundation::HANDLE, lpshortname: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL; 707 #[cfg(feature = "Win32_Foundation")] SetFileShortNameW(hfile: super::super::Foundation::HANDLE, lpshortname: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL708 pub fn SetFileShortNameW(hfile: super::super::Foundation::HANDLE, lpshortname: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; 709 #[cfg(feature = "Win32_Foundation")] 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::BOOL710 pub 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; 711 #[cfg(feature = "Win32_Foundation")] SetFileValidData(hfile: super::super::Foundation::HANDLE, validdatalength: i64) -> super::super::Foundation::BOOL712 pub fn SetFileValidData(hfile: super::super::Foundation::HANDLE, validdatalength: i64) -> super::super::Foundation::BOOL; 713 #[cfg(feature = "Win32_Foundation")] SetIoRingCompletionEvent(ioring: *const HIORING__, hevent: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT714 pub fn SetIoRingCompletionEvent(ioring: *const HIORING__, hevent: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; 715 #[cfg(feature = "Win32_Foundation")] SetLogArchiveMode(hlog: super::super::Foundation::HANDLE, emode: CLFS_LOG_ARCHIVE_MODE) -> super::super::Foundation::BOOL716 pub fn SetLogArchiveMode(hlog: super::super::Foundation::HANDLE, emode: CLFS_LOG_ARCHIVE_MODE) -> super::super::Foundation::BOOL; 717 #[cfg(feature = "Win32_Foundation")] SetLogArchiveTail(hlog: super::super::Foundation::HANDLE, plsnarchivetail: *mut CLS_LSN, preserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL718 pub fn SetLogArchiveTail(hlog: super::super::Foundation::HANDLE, plsnarchivetail: *mut CLS_LSN, preserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 719 #[cfg(feature = "Win32_Foundation")] SetLogFileSizeWithPolicy(hlog: super::super::Foundation::HANDLE, pdesiredsize: *mut u64, presultingsize: *mut u64) -> super::super::Foundation::BOOL720 pub fn SetLogFileSizeWithPolicy(hlog: super::super::Foundation::HANDLE, pdesiredsize: *mut u64, presultingsize: *mut u64) -> super::super::Foundation::BOOL; 721 #[cfg(feature = "Win32_Foundation")] SetResourceManagerCompletionPort(resourcemanagerhandle: super::super::Foundation::HANDLE, iocompletionporthandle: super::super::Foundation::HANDLE, completionkey: usize) -> super::super::Foundation::BOOL722 pub fn SetResourceManagerCompletionPort(resourcemanagerhandle: super::super::Foundation::HANDLE, iocompletionporthandle: super::super::Foundation::HANDLE, completionkey: usize) -> super::super::Foundation::BOOL; 723 #[cfg(feature = "Win32_Foundation")] SetSearchPathMode(flags: u32) -> super::super::Foundation::BOOL724 pub fn SetSearchPathMode(flags: u32) -> super::super::Foundation::BOOL; 725 #[cfg(feature = "Win32_Foundation")] SetTapeParameters(hdevice: super::super::Foundation::HANDLE, dwoperation: TAPE_INFORMATION_TYPE, lptapeinformation: *const ::core::ffi::c_void) -> u32726 pub fn SetTapeParameters(hdevice: super::super::Foundation::HANDLE, dwoperation: TAPE_INFORMATION_TYPE, lptapeinformation: *const ::core::ffi::c_void) -> u32; 727 #[cfg(feature = "Win32_Foundation")] SetTapePosition(hdevice: super::super::Foundation::HANDLE, dwpositionmethod: TAPE_POSITION_METHOD, dwpartition: u32, dwoffsetlow: u32, dwoffsethigh: u32, bimmediate: super::super::Foundation::BOOL) -> u32728 pub fn SetTapePosition(hdevice: super::super::Foundation::HANDLE, dwpositionmethod: TAPE_POSITION_METHOD, dwpartition: u32, dwoffsetlow: u32, dwoffsethigh: u32, bimmediate: super::super::Foundation::BOOL) -> u32; 729 #[cfg(feature = "Win32_Foundation")] SetTransactionInformation(transactionhandle: super::super::Foundation::HANDLE, isolationlevel: u32, isolationflags: u32, timeout: u32, description: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL730 pub fn SetTransactionInformation(transactionhandle: super::super::Foundation::HANDLE, isolationlevel: u32, isolationflags: u32, timeout: u32, description: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; 731 #[cfg(feature = "Win32_Security")] SetUserFileEncryptionKey(pencryptioncertificate: *const ENCRYPTION_CERTIFICATE) -> u32732 pub fn SetUserFileEncryptionKey(pencryptioncertificate: *const ENCRYPTION_CERTIFICATE) -> u32; 733 #[cfg(feature = "Win32_Security")] SetUserFileEncryptionKeyEx(pencryptioncertificate: *const ENCRYPTION_CERTIFICATE, dwcapabilities: u32, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> u32734 pub fn SetUserFileEncryptionKeyEx(pencryptioncertificate: *const ENCRYPTION_CERTIFICATE, dwcapabilities: u32, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> u32; 735 #[cfg(feature = "Win32_Foundation")] SetVolumeLabelA(lprootpathname: super::super::Foundation::PSTR, lpvolumename: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL736 pub fn SetVolumeLabelA(lprootpathname: super::super::Foundation::PSTR, lpvolumename: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL; 737 #[cfg(feature = "Win32_Foundation")] SetVolumeLabelW(lprootpathname: super::super::Foundation::PWSTR, lpvolumename: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL738 pub fn SetVolumeLabelW(lprootpathname: super::super::Foundation::PWSTR, lpvolumename: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; 739 #[cfg(feature = "Win32_Foundation")] SetVolumeMountPointA(lpszvolumemountpoint: super::super::Foundation::PSTR, lpszvolumename: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL740 pub fn SetVolumeMountPointA(lpszvolumemountpoint: super::super::Foundation::PSTR, lpszvolumename: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL; 741 #[cfg(feature = "Win32_Foundation")] SetVolumeMountPointW(lpszvolumemountpoint: super::super::Foundation::PWSTR, lpszvolumename: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL742 pub fn SetVolumeMountPointW(lpszvolumemountpoint: super::super::Foundation::PWSTR, lpszvolumename: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; 743 #[cfg(feature = "Win32_Foundation")] SinglePhaseReject(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL744 pub fn SinglePhaseReject(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; SubmitIoRing(ioring: *const HIORING__, waitoperations: u32, milliseconds: u32, submittedentries: *mut u32) -> ::windows_sys::core::HRESULT745 pub fn SubmitIoRing(ioring: *const HIORING__, waitoperations: u32, milliseconds: u32, submittedentries: *mut u32) -> ::windows_sys::core::HRESULT; 746 #[cfg(feature = "Win32_Foundation")] TerminateLogArchive(pvarchivecontext: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL747 pub fn TerminateLogArchive(pvarchivecontext: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 748 #[cfg(feature = "Win32_Foundation")] TerminateReadLog(pvcursorcontext: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL749 pub fn TerminateReadLog(pvcursorcontext: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 750 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] TruncateLog(pvmarshal: *const ::core::ffi::c_void, plsnend: *const CLS_LSN, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL751 pub fn TruncateLog(pvmarshal: *const ::core::ffi::c_void, plsnend: *const CLS_LSN, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; TxfGetThreadMiniVersionForCreate(miniversion: *mut u16)752 pub fn TxfGetThreadMiniVersionForCreate(miniversion: *mut u16); 753 #[cfg(feature = "Win32_Foundation")] TxfLogCreateFileReadContext(logpath: super::super::Foundation::PWSTR, beginninglsn: CLS_LSN, endinglsn: CLS_LSN, txffileid: *const TXF_ID, txflogcontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL754 pub fn TxfLogCreateFileReadContext(logpath: super::super::Foundation::PWSTR, beginninglsn: CLS_LSN, endinglsn: CLS_LSN, txffileid: *const TXF_ID, txflogcontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 755 #[cfg(feature = "Win32_Foundation")] TxfLogCreateRangeReadContext(logpath: super::super::Foundation::PWSTR, beginninglsn: CLS_LSN, endinglsn: CLS_LSN, beginningvirtualclock: *const i64, endingvirtualclock: *const i64, recordtypemask: u32, txflogcontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL756 pub fn TxfLogCreateRangeReadContext(logpath: super::super::Foundation::PWSTR, 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; 757 #[cfg(feature = "Win32_Foundation")] TxfLogDestroyReadContext(txflogcontext: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL758 pub fn TxfLogDestroyReadContext(txflogcontext: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; 759 #[cfg(feature = "Win32_Foundation")] TxfLogReadRecords(txflogcontext: *const ::core::ffi::c_void, bufferlength: u32, buffer: *mut ::core::ffi::c_void, bytesused: *mut u32, recordcount: *mut u32) -> super::super::Foundation::BOOL760 pub 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; 761 #[cfg(feature = "Win32_Foundation")] TxfLogRecordGetFileName(recordbuffer: *const ::core::ffi::c_void, recordbufferlengthinbytes: u32, namebuffer: super::super::Foundation::PWSTR, namebufferlengthinbytes: *mut u32, txfid: *mut TXF_ID) -> super::super::Foundation::BOOL762 pub fn TxfLogRecordGetFileName(recordbuffer: *const ::core::ffi::c_void, recordbufferlengthinbytes: u32, namebuffer: super::super::Foundation::PWSTR, namebufferlengthinbytes: *mut u32, txfid: *mut TXF_ID) -> super::super::Foundation::BOOL; 763 #[cfg(feature = "Win32_Foundation")] TxfLogRecordGetGenericType(recordbuffer: *const ::core::ffi::c_void, recordbufferlengthinbytes: u32, generictype: *mut u32, virtualclock: *mut i64) -> super::super::Foundation::BOOL764 pub fn TxfLogRecordGetGenericType(recordbuffer: *const ::core::ffi::c_void, recordbufferlengthinbytes: u32, generictype: *mut u32, virtualclock: *mut i64) -> super::super::Foundation::BOOL; 765 #[cfg(feature = "Win32_Foundation")] 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::BOOL766 pub 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; TxfSetThreadMiniVersionForCreate(miniversion: u16)767 pub fn TxfSetThreadMiniVersionForCreate(miniversion: u16); 768 #[cfg(feature = "Win32_Foundation")] UnlockFile(hfile: super::super::Foundation::HANDLE, dwfileoffsetlow: u32, dwfileoffsethigh: u32, nnumberofbytestounlocklow: u32, nnumberofbytestounlockhigh: u32) -> super::super::Foundation::BOOL769 pub fn UnlockFile(hfile: super::super::Foundation::HANDLE, dwfileoffsetlow: u32, dwfileoffsethigh: u32, nnumberofbytestounlocklow: u32, nnumberofbytestounlockhigh: u32) -> super::super::Foundation::BOOL; 770 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] UnlockFileEx(hfile: super::super::Foundation::HANDLE, dwreserved: u32, nnumberofbytestounlocklow: u32, nnumberofbytestounlockhigh: u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL771 pub fn UnlockFileEx(hfile: super::super::Foundation::HANDLE, dwreserved: u32, nnumberofbytestounlocklow: u32, nnumberofbytestounlockhigh: u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; 772 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] ValidateLog(pszlogfilename: super::super::Foundation::PWSTR, psalogfile: *mut super::super::Security::SECURITY_ATTRIBUTES, pinfobuffer: *mut CLS_INFORMATION, pcbbuffer: *mut u32) -> super::super::Foundation::BOOL773 pub fn ValidateLog(pszlogfilename: super::super::Foundation::PWSTR, psalogfile: *mut super::super::Security::SECURITY_ATTRIBUTES, pinfobuffer: *mut CLS_INFORMATION, pcbbuffer: *mut u32) -> super::super::Foundation::BOOL; 774 #[cfg(feature = "Win32_Foundation")] VerFindFileA(uflags: VER_FIND_FILE_FLAGS, szfilename: super::super::Foundation::PSTR, szwindir: super::super::Foundation::PSTR, szappdir: super::super::Foundation::PSTR, szcurdir: super::super::Foundation::PSTR, pucurdirlen: *mut u32, szdestdir: super::super::Foundation::PSTR, pudestdirlen: *mut u32) -> VER_FIND_FILE_STATUS775 pub fn VerFindFileA(uflags: VER_FIND_FILE_FLAGS, szfilename: super::super::Foundation::PSTR, szwindir: super::super::Foundation::PSTR, szappdir: super::super::Foundation::PSTR, szcurdir: super::super::Foundation::PSTR, pucurdirlen: *mut u32, szdestdir: super::super::Foundation::PSTR, pudestdirlen: *mut u32) -> VER_FIND_FILE_STATUS; 776 #[cfg(feature = "Win32_Foundation")] VerFindFileW(uflags: VER_FIND_FILE_FLAGS, szfilename: super::super::Foundation::PWSTR, szwindir: super::super::Foundation::PWSTR, szappdir: super::super::Foundation::PWSTR, szcurdir: super::super::Foundation::PWSTR, pucurdirlen: *mut u32, szdestdir: super::super::Foundation::PWSTR, pudestdirlen: *mut u32) -> VER_FIND_FILE_STATUS777 pub fn VerFindFileW(uflags: VER_FIND_FILE_FLAGS, szfilename: super::super::Foundation::PWSTR, szwindir: super::super::Foundation::PWSTR, szappdir: super::super::Foundation::PWSTR, szcurdir: super::super::Foundation::PWSTR, pucurdirlen: *mut u32, szdestdir: super::super::Foundation::PWSTR, pudestdirlen: *mut u32) -> VER_FIND_FILE_STATUS; 778 #[cfg(feature = "Win32_Foundation")] VerInstallFileA(uflags: VER_INSTALL_FILE_FLAGS, szsrcfilename: super::super::Foundation::PSTR, szdestfilename: super::super::Foundation::PSTR, szsrcdir: super::super::Foundation::PSTR, szdestdir: super::super::Foundation::PSTR, szcurdir: super::super::Foundation::PSTR, sztmpfile: super::super::Foundation::PSTR, putmpfilelen: *mut u32) -> VER_INSTALL_FILE_STATUS779 pub fn VerInstallFileA(uflags: VER_INSTALL_FILE_FLAGS, szsrcfilename: super::super::Foundation::PSTR, szdestfilename: super::super::Foundation::PSTR, szsrcdir: super::super::Foundation::PSTR, szdestdir: super::super::Foundation::PSTR, szcurdir: super::super::Foundation::PSTR, sztmpfile: super::super::Foundation::PSTR, putmpfilelen: *mut u32) -> VER_INSTALL_FILE_STATUS; 780 #[cfg(feature = "Win32_Foundation")] VerInstallFileW(uflags: VER_INSTALL_FILE_FLAGS, szsrcfilename: super::super::Foundation::PWSTR, szdestfilename: super::super::Foundation::PWSTR, szsrcdir: super::super::Foundation::PWSTR, szdestdir: super::super::Foundation::PWSTR, szcurdir: super::super::Foundation::PWSTR, sztmpfile: super::super::Foundation::PWSTR, putmpfilelen: *mut u32) -> VER_INSTALL_FILE_STATUS781 pub fn VerInstallFileW(uflags: VER_INSTALL_FILE_FLAGS, szsrcfilename: super::super::Foundation::PWSTR, szdestfilename: super::super::Foundation::PWSTR, szsrcdir: super::super::Foundation::PWSTR, szdestdir: super::super::Foundation::PWSTR, szcurdir: super::super::Foundation::PWSTR, sztmpfile: super::super::Foundation::PWSTR, putmpfilelen: *mut u32) -> VER_INSTALL_FILE_STATUS; 782 #[cfg(feature = "Win32_Foundation")] VerLanguageNameA(wlang: u32, szlang: super::super::Foundation::PSTR, cchlang: u32) -> u32783 pub fn VerLanguageNameA(wlang: u32, szlang: super::super::Foundation::PSTR, cchlang: u32) -> u32; 784 #[cfg(feature = "Win32_Foundation")] VerLanguageNameW(wlang: u32, szlang: super::super::Foundation::PWSTR, cchlang: u32) -> u32785 pub fn VerLanguageNameW(wlang: u32, szlang: super::super::Foundation::PWSTR, cchlang: u32) -> u32; 786 #[cfg(feature = "Win32_Foundation")] VerQueryValueA(pblock: *const ::core::ffi::c_void, lpsubblock: super::super::Foundation::PSTR, lplpbuffer: *mut *mut ::core::ffi::c_void, pulen: *mut u32) -> super::super::Foundation::BOOL787 pub fn VerQueryValueA(pblock: *const ::core::ffi::c_void, lpsubblock: super::super::Foundation::PSTR, lplpbuffer: *mut *mut ::core::ffi::c_void, pulen: *mut u32) -> super::super::Foundation::BOOL; 788 #[cfg(feature = "Win32_Foundation")] VerQueryValueW(pblock: *const ::core::ffi::c_void, lpsubblock: super::super::Foundation::PWSTR, lplpbuffer: *mut *mut ::core::ffi::c_void, pulen: *mut u32) -> super::super::Foundation::BOOL789 pub fn VerQueryValueW(pblock: *const ::core::ffi::c_void, lpsubblock: super::super::Foundation::PWSTR, lplpbuffer: *mut *mut ::core::ffi::c_void, pulen: *mut u32) -> super::super::Foundation::BOOL; 790 #[cfg(feature = "Win32_Foundation")] WofEnumEntries(volumename: super::super::Foundation::PWSTR, provider: u32, enumproc: ::core::option::Option<WofEnumEntryProc>, userdata: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT791 pub fn WofEnumEntries(volumename: super::super::Foundation::PWSTR, provider: u32, enumproc: ::core::option::Option<WofEnumEntryProc>, userdata: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; 792 #[cfg(feature = "Win32_Foundation")] WofFileEnumFiles(volumename: super::super::Foundation::PWSTR, algorithm: u32, enumproc: ::core::option::Option<WofEnumFilesProc>, userdata: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT793 pub fn WofFileEnumFiles(volumename: super::super::Foundation::PWSTR, algorithm: u32, enumproc: ::core::option::Option<WofEnumFilesProc>, userdata: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; 794 #[cfg(feature = "Win32_Foundation")] WofGetDriverVersion(fileorvolumehandle: super::super::Foundation::HANDLE, provider: u32, wofversion: *mut u32) -> ::windows_sys::core::HRESULT795 pub fn WofGetDriverVersion(fileorvolumehandle: super::super::Foundation::HANDLE, provider: u32, wofversion: *mut u32) -> ::windows_sys::core::HRESULT; 796 #[cfg(feature = "Win32_Foundation")] WofIsExternalFile(filepath: super::super::Foundation::PWSTR, isexternalfile: *mut super::super::Foundation::BOOL, provider: *mut u32, externalfileinfo: *mut ::core::ffi::c_void, bufferlength: *mut u32) -> ::windows_sys::core::HRESULT797 pub fn WofIsExternalFile(filepath: super::super::Foundation::PWSTR, isexternalfile: *mut super::super::Foundation::BOOL, provider: *mut u32, externalfileinfo: *mut ::core::ffi::c_void, bufferlength: *mut u32) -> ::windows_sys::core::HRESULT; 798 #[cfg(feature = "Win32_Foundation")] WofSetFileDataLocation(filehandle: super::super::Foundation::HANDLE, provider: u32, externalfileinfo: *const ::core::ffi::c_void, length: u32) -> ::windows_sys::core::HRESULT799 pub fn WofSetFileDataLocation(filehandle: super::super::Foundation::HANDLE, provider: u32, externalfileinfo: *const ::core::ffi::c_void, length: u32) -> ::windows_sys::core::HRESULT; 800 #[cfg(feature = "Win32_Foundation")] WofShouldCompressBinaries(volume: super::super::Foundation::PWSTR, algorithm: *mut u32) -> super::super::Foundation::BOOL801 pub fn WofShouldCompressBinaries(volume: super::super::Foundation::PWSTR, algorithm: *mut u32) -> super::super::Foundation::BOOL; 802 #[cfg(feature = "Win32_Foundation")] WofWimAddEntry(volumename: super::super::Foundation::PWSTR, wimpath: super::super::Foundation::PWSTR, wimtype: u32, wimindex: u32, datasourceid: *mut i64) -> ::windows_sys::core::HRESULT803 pub fn WofWimAddEntry(volumename: super::super::Foundation::PWSTR, wimpath: super::super::Foundation::PWSTR, wimtype: u32, wimindex: u32, datasourceid: *mut i64) -> ::windows_sys::core::HRESULT; 804 #[cfg(feature = "Win32_Foundation")] WofWimEnumFiles(volumename: super::super::Foundation::PWSTR, datasourceid: i64, enumproc: ::core::option::Option<WofEnumFilesProc>, userdata: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT805 pub fn WofWimEnumFiles(volumename: super::super::Foundation::PWSTR, datasourceid: i64, enumproc: ::core::option::Option<WofEnumFilesProc>, userdata: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; 806 #[cfg(feature = "Win32_Foundation")] WofWimRemoveEntry(volumename: super::super::Foundation::PWSTR, datasourceid: i64) -> ::windows_sys::core::HRESULT807 pub fn WofWimRemoveEntry(volumename: super::super::Foundation::PWSTR, datasourceid: i64) -> ::windows_sys::core::HRESULT; 808 #[cfg(feature = "Win32_Foundation")] WofWimSuspendEntry(volumename: super::super::Foundation::PWSTR, datasourceid: i64) -> ::windows_sys::core::HRESULT809 pub fn WofWimSuspendEntry(volumename: super::super::Foundation::PWSTR, datasourceid: i64) -> ::windows_sys::core::HRESULT; 810 #[cfg(feature = "Win32_Foundation")] WofWimUpdateEntry(volumename: super::super::Foundation::PWSTR, datasourceid: i64, newwimpath: super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT811 pub fn WofWimUpdateEntry(volumename: super::super::Foundation::PWSTR, datasourceid: i64, newwimpath: super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT; 812 #[cfg(feature = "Win32_Foundation")] Wow64DisableWow64FsRedirection(oldvalue: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL813 pub fn Wow64DisableWow64FsRedirection(oldvalue: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 814 #[cfg(feature = "Win32_Foundation")] Wow64EnableWow64FsRedirection(wow64fsenableredirection: super::super::Foundation::BOOLEAN) -> super::super::Foundation::BOOLEAN815 pub fn Wow64EnableWow64FsRedirection(wow64fsenableredirection: super::super::Foundation::BOOLEAN) -> super::super::Foundation::BOOLEAN; 816 #[cfg(feature = "Win32_Foundation")] Wow64RevertWow64FsRedirection(olvalue: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL817 pub fn Wow64RevertWow64FsRedirection(olvalue: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; WriteEncryptedFileRaw(pfimportcallback: ::core::option::Option<PFE_IMPORT_FUNC>, pvcallbackcontext: *const ::core::ffi::c_void, pvcontext: *const ::core::ffi::c_void) -> u32818 pub fn WriteEncryptedFileRaw(pfimportcallback: ::core::option::Option<PFE_IMPORT_FUNC>, pvcallbackcontext: *const ::core::ffi::c_void, pvcontext: *const ::core::ffi::c_void) -> u32; 819 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] WriteFile(hfile: super::super::Foundation::HANDLE, lpbuffer: *const ::core::ffi::c_void, nnumberofbytestowrite: u32, lpnumberofbyteswritten: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL820 pub fn WriteFile(hfile: super::super::Foundation::HANDLE, lpbuffer: *const ::core::ffi::c_void, nnumberofbytestowrite: u32, lpnumberofbyteswritten: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; 821 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] WriteFileEx(hfile: super::super::Foundation::HANDLE, lpbuffer: *const ::core::ffi::c_void, nnumberofbytestowrite: u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: ::core::option::Option<super::super::System::IO::LPOVERLAPPED_COMPLETION_ROUTINE>) -> super::super::Foundation::BOOL822 pub fn WriteFileEx(hfile: super::super::Foundation::HANDLE, lpbuffer: *const ::core::ffi::c_void, nnumberofbytestowrite: u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: ::core::option::Option<super::super::System::IO::LPOVERLAPPED_COMPLETION_ROUTINE>) -> super::super::Foundation::BOOL; 823 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] WriteFileGather(hfile: super::super::Foundation::HANDLE, asegmentarray: *const FILE_SEGMENT_ELEMENT, nnumberofbytestowrite: u32, lpreserved: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL824 pub fn WriteFileGather(hfile: super::super::Foundation::HANDLE, asegmentarray: *const FILE_SEGMENT_ELEMENT, nnumberofbytestowrite: u32, lpreserved: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; 825 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] 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::BOOL826 pub 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; 827 #[cfg(feature = "Win32_Foundation")] WriteTapemark(hdevice: super::super::Foundation::HANDLE, dwtapemarktype: TAPEMARK_TYPE, dwtapemarkcount: u32, bimmediate: super::super::Foundation::BOOL) -> u32828 pub fn WriteTapemark(hdevice: super::super::Foundation::HANDLE, dwtapemarktype: TAPEMARK_TYPE, dwtapemarkcount: u32, bimmediate: super::super::Foundation::BOOL) -> u32; 829 } 830 #[repr(C)] 831 #[cfg(feature = "Win32_Foundation")] 832 pub struct BY_HANDLE_FILE_INFORMATION { 833 pub dwFileAttributes: u32, 834 pub ftCreationTime: super::super::Foundation::FILETIME, 835 pub ftLastAccessTime: super::super::Foundation::FILETIME, 836 pub ftLastWriteTime: super::super::Foundation::FILETIME, 837 pub dwVolumeSerialNumber: u32, 838 pub nFileSizeHigh: u32, 839 pub nFileSizeLow: u32, 840 pub nNumberOfLinks: u32, 841 pub nFileIndexHigh: u32, 842 pub nFileIndexLow: u32, 843 } 844 #[cfg(feature = "Win32_Foundation")] 845 impl ::core::marker::Copy for BY_HANDLE_FILE_INFORMATION {} 846 #[cfg(feature = "Win32_Foundation")] 847 impl ::core::clone::Clone for BY_HANDLE_FILE_INFORMATION { clone(&self) -> Self848 fn clone(&self) -> Self { 849 *self 850 } 851 } 852 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 853 pub type CACHE_ACCESS_CHECK = unsafe extern "system" fn(psecuritydescriptor: *mut super::super::Security::SECURITY_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 i32) -> super::super::Foundation::BOOL; 854 pub type CACHE_DESTROY_CALLBACK = unsafe extern "system" fn(cb: u32, lpb: *mut u8); 855 pub type CACHE_KEY_COMPARE = unsafe extern "system" fn(cbkey1: u32, lpbkey1: *mut u8, cbkey2: u32, lpbkey2: *mut u8) -> i32; 856 pub type CACHE_KEY_HASH = unsafe extern "system" fn(lpbkey: *mut u8, cbkey: u32) -> u32; 857 #[cfg(feature = "Win32_Foundation")] 858 pub type CACHE_READ_CALLBACK = unsafe extern "system" fn(cb: u32, lpb: *mut u8, lpvcontext: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 859 pub type CLAIMMEDIALABEL = unsafe extern "system" fn(pbuffer: *const u8, nbuffersize: u32, plabelinfo: *mut MediaLabelInfo) -> u32; 860 pub type CLAIMMEDIALABELEX = unsafe extern "system" fn(pbuffer: *const u8, nbuffersize: u32, plabelinfo: *mut MediaLabelInfo, labelguid: *mut ::windows_sys::core::GUID) -> u32; 861 pub type CLFS_BLOCK_ALLOCATION = unsafe extern "system" fn(cbbufferlength: u32, pvusercontext: *mut ::core::ffi::c_void) -> *mut ::core::ffi::c_void; 862 pub type CLFS_BLOCK_DEALLOCATION = unsafe extern "system" fn(pvbuffer: *mut ::core::ffi::c_void, pvusercontext: *mut ::core::ffi::c_void); 863 pub type CLFS_CONTEXT_MODE = i32; 864 pub const ClfsContextNone: CLFS_CONTEXT_MODE = 0i32; 865 pub const ClfsContextUndoNext: CLFS_CONTEXT_MODE = 1i32; 866 pub const ClfsContextPrevious: CLFS_CONTEXT_MODE = 2i32; 867 pub const ClfsContextForward: CLFS_CONTEXT_MODE = 3i32; 868 pub type CLFS_FLAG = u32; 869 pub const CLFS_FLAG_FORCE_APPEND: CLFS_FLAG = 1u32; 870 pub const CLFS_FLAG_FORCE_FLUSH: CLFS_FLAG = 2u32; 871 pub const CLFS_FLAG_NO_FLAGS: CLFS_FLAG = 0u32; 872 pub const CLFS_FLAG_USE_RESERVATION: CLFS_FLAG = 4u32; 873 pub const CLFS_FLAG_FILTER_INTERMEDIATE_LEVEL: u32 = 16u32; 874 pub const CLFS_FLAG_FILTER_TOP_LEVEL: u32 = 32u32; 875 pub const CLFS_FLAG_HIDDEN_SYSTEM_LOG: u32 = 512u32; 876 pub const CLFS_FLAG_IGNORE_SHARE_ACCESS: u32 = 64u32; 877 pub const CLFS_FLAG_MINIFILTER_LEVEL: u32 = 256u32; 878 pub const CLFS_FLAG_NON_REENTRANT_FILTER: u32 = 16u32; 879 pub const CLFS_FLAG_READ_IN_PROGRESS: u32 = 128u32; 880 pub const CLFS_FLAG_REENTRANT_FILE_SYSTEM: u32 = 8u32; 881 pub const CLFS_FLAG_REENTRANT_FILTER: u32 = 32u32; 882 pub type CLFS_IOSTATS_CLASS = i32; 883 pub const ClfsIoStatsDefault: CLFS_IOSTATS_CLASS = 0i32; 884 pub const ClfsIoStatsMax: CLFS_IOSTATS_CLASS = 65535i32; 885 pub type CLFS_LOG_ARCHIVE_MODE = i32; 886 pub const ClfsLogArchiveEnabled: CLFS_LOG_ARCHIVE_MODE = 1i32; 887 pub const ClfsLogArchiveDisabled: CLFS_LOG_ARCHIVE_MODE = 2i32; 888 #[repr(C)] 889 pub struct CLFS_LOG_NAME_INFORMATION { 890 pub NameLengthInBytes: u16, 891 pub Name: [u16; 1], 892 } 893 impl ::core::marker::Copy for CLFS_LOG_NAME_INFORMATION {} 894 impl ::core::clone::Clone for CLFS_LOG_NAME_INFORMATION { clone(&self) -> Self895 fn clone(&self) -> Self { 896 *self 897 } 898 } 899 pub const CLFS_MARSHALLING_FLAG_DISABLE_BUFF_INIT: u32 = 1u32; 900 pub const CLFS_MARSHALLING_FLAG_NONE: u32 = 0u32; 901 pub const CLFS_MAX_CONTAINER_INFO: u32 = 256u32; 902 pub const CLFS_MGMT_CLIENT_REGISTRATION_VERSION: u32 = 1u32; 903 #[repr(C)] 904 pub struct CLFS_MGMT_NOTIFICATION { 905 pub Notification: CLFS_MGMT_NOTIFICATION_TYPE, 906 pub Lsn: CLS_LSN, 907 pub LogIsPinned: u16, 908 } 909 impl ::core::marker::Copy for CLFS_MGMT_NOTIFICATION {} 910 impl ::core::clone::Clone for CLFS_MGMT_NOTIFICATION { clone(&self) -> Self911 fn clone(&self) -> Self { 912 *self 913 } 914 } 915 pub type CLFS_MGMT_NOTIFICATION_TYPE = i32; 916 pub const ClfsMgmtAdvanceTailNotification: CLFS_MGMT_NOTIFICATION_TYPE = 0i32; 917 pub const ClfsMgmtLogFullHandlerNotification: CLFS_MGMT_NOTIFICATION_TYPE = 1i32; 918 pub const ClfsMgmtLogUnpinnedNotification: CLFS_MGMT_NOTIFICATION_TYPE = 2i32; 919 pub const ClfsMgmtLogWriteNotification: CLFS_MGMT_NOTIFICATION_TYPE = 3i32; 920 #[repr(C)] 921 pub struct CLFS_MGMT_POLICY { 922 pub Version: u32, 923 pub LengthInBytes: u32, 924 pub PolicyFlags: u32, 925 pub PolicyType: CLFS_MGMT_POLICY_TYPE, 926 pub PolicyParameters: CLFS_MGMT_POLICY_0, 927 } 928 impl ::core::marker::Copy for CLFS_MGMT_POLICY {} 929 impl ::core::clone::Clone for CLFS_MGMT_POLICY { clone(&self) -> Self930 fn clone(&self) -> Self { 931 *self 932 } 933 } 934 #[repr(C)] 935 pub union CLFS_MGMT_POLICY_0 { 936 pub MaximumSize: CLFS_MGMT_POLICY_0_4, 937 pub MinimumSize: CLFS_MGMT_POLICY_0_5, 938 pub NewContainerSize: CLFS_MGMT_POLICY_0_8, 939 pub GrowthRate: CLFS_MGMT_POLICY_0_2, 940 pub LogTail: CLFS_MGMT_POLICY_0_3, 941 pub AutoShrink: CLFS_MGMT_POLICY_0_1, 942 pub AutoGrow: CLFS_MGMT_POLICY_0_0, 943 pub NewContainerPrefix: CLFS_MGMT_POLICY_0_7, 944 pub NewContainerSuffix: CLFS_MGMT_POLICY_0_9, 945 pub NewContainerExtension: CLFS_MGMT_POLICY_0_6, 946 } 947 impl ::core::marker::Copy for CLFS_MGMT_POLICY_0 {} 948 impl ::core::clone::Clone for CLFS_MGMT_POLICY_0 { clone(&self) -> Self949 fn clone(&self) -> Self { 950 *self 951 } 952 } 953 #[repr(C)] 954 pub struct CLFS_MGMT_POLICY_0_0 { 955 pub Enabled: u32, 956 } 957 impl ::core::marker::Copy for CLFS_MGMT_POLICY_0_0 {} 958 impl ::core::clone::Clone for CLFS_MGMT_POLICY_0_0 { clone(&self) -> Self959 fn clone(&self) -> Self { 960 *self 961 } 962 } 963 #[repr(C)] 964 pub struct CLFS_MGMT_POLICY_0_1 { 965 pub Percentage: u32, 966 } 967 impl ::core::marker::Copy for CLFS_MGMT_POLICY_0_1 {} 968 impl ::core::clone::Clone for CLFS_MGMT_POLICY_0_1 { clone(&self) -> Self969 fn clone(&self) -> Self { 970 *self 971 } 972 } 973 #[repr(C)] 974 pub struct CLFS_MGMT_POLICY_0_2 { 975 pub AbsoluteGrowthInContainers: u32, 976 pub RelativeGrowthPercentage: u32, 977 } 978 impl ::core::marker::Copy for CLFS_MGMT_POLICY_0_2 {} 979 impl ::core::clone::Clone for CLFS_MGMT_POLICY_0_2 { clone(&self) -> Self980 fn clone(&self) -> Self { 981 *self 982 } 983 } 984 #[repr(C)] 985 pub struct CLFS_MGMT_POLICY_0_3 { 986 pub MinimumAvailablePercentage: u32, 987 pub MinimumAvailableContainers: u32, 988 } 989 impl ::core::marker::Copy for CLFS_MGMT_POLICY_0_3 {} 990 impl ::core::clone::Clone for CLFS_MGMT_POLICY_0_3 { clone(&self) -> Self991 fn clone(&self) -> Self { 992 *self 993 } 994 } 995 #[repr(C)] 996 pub struct CLFS_MGMT_POLICY_0_4 { 997 pub Containers: u32, 998 } 999 impl ::core::marker::Copy for CLFS_MGMT_POLICY_0_4 {} 1000 impl ::core::clone::Clone for CLFS_MGMT_POLICY_0_4 { clone(&self) -> Self1001 fn clone(&self) -> Self { 1002 *self 1003 } 1004 } 1005 #[repr(C)] 1006 pub struct CLFS_MGMT_POLICY_0_5 { 1007 pub Containers: u32, 1008 } 1009 impl ::core::marker::Copy for CLFS_MGMT_POLICY_0_5 {} 1010 impl ::core::clone::Clone for CLFS_MGMT_POLICY_0_5 { clone(&self) -> Self1011 fn clone(&self) -> Self { 1012 *self 1013 } 1014 } 1015 #[repr(C)] 1016 pub struct CLFS_MGMT_POLICY_0_6 { 1017 pub ExtensionLengthInBytes: u16, 1018 pub ExtensionString: [u16; 1], 1019 } 1020 impl ::core::marker::Copy for CLFS_MGMT_POLICY_0_6 {} 1021 impl ::core::clone::Clone for CLFS_MGMT_POLICY_0_6 { clone(&self) -> Self1022 fn clone(&self) -> Self { 1023 *self 1024 } 1025 } 1026 #[repr(C)] 1027 pub struct CLFS_MGMT_POLICY_0_7 { 1028 pub PrefixLengthInBytes: u16, 1029 pub PrefixString: [u16; 1], 1030 } 1031 impl ::core::marker::Copy for CLFS_MGMT_POLICY_0_7 {} 1032 impl ::core::clone::Clone for CLFS_MGMT_POLICY_0_7 { clone(&self) -> Self1033 fn clone(&self) -> Self { 1034 *self 1035 } 1036 } 1037 #[repr(C)] 1038 pub struct CLFS_MGMT_POLICY_0_8 { 1039 pub SizeInBytes: u32, 1040 } 1041 impl ::core::marker::Copy for CLFS_MGMT_POLICY_0_8 {} 1042 impl ::core::clone::Clone for CLFS_MGMT_POLICY_0_8 { clone(&self) -> Self1043 fn clone(&self) -> Self { 1044 *self 1045 } 1046 } 1047 #[repr(C)] 1048 pub struct CLFS_MGMT_POLICY_0_9 { 1049 pub NextContainerSuffix: u64, 1050 } 1051 impl ::core::marker::Copy for CLFS_MGMT_POLICY_0_9 {} 1052 impl ::core::clone::Clone for CLFS_MGMT_POLICY_0_9 { clone(&self) -> Self1053 fn clone(&self) -> Self { 1054 *self 1055 } 1056 } 1057 pub type CLFS_MGMT_POLICY_TYPE = i32; 1058 pub const ClfsMgmtPolicyMaximumSize: CLFS_MGMT_POLICY_TYPE = 0i32; 1059 pub const ClfsMgmtPolicyMinimumSize: CLFS_MGMT_POLICY_TYPE = 1i32; 1060 pub const ClfsMgmtPolicyNewContainerSize: CLFS_MGMT_POLICY_TYPE = 2i32; 1061 pub const ClfsMgmtPolicyGrowthRate: CLFS_MGMT_POLICY_TYPE = 3i32; 1062 pub const ClfsMgmtPolicyLogTail: CLFS_MGMT_POLICY_TYPE = 4i32; 1063 pub const ClfsMgmtPolicyAutoShrink: CLFS_MGMT_POLICY_TYPE = 5i32; 1064 pub const ClfsMgmtPolicyAutoGrow: CLFS_MGMT_POLICY_TYPE = 6i32; 1065 pub const ClfsMgmtPolicyNewContainerPrefix: CLFS_MGMT_POLICY_TYPE = 7i32; 1066 pub const ClfsMgmtPolicyNewContainerSuffix: CLFS_MGMT_POLICY_TYPE = 8i32; 1067 pub const ClfsMgmtPolicyNewContainerExtension: CLFS_MGMT_POLICY_TYPE = 9i32; 1068 pub const ClfsMgmtPolicyInvalid: CLFS_MGMT_POLICY_TYPE = 10i32; 1069 pub const CLFS_MGMT_POLICY_VERSION: u32 = 1u32; 1070 #[repr(C)] 1071 pub struct CLFS_NODE_ID { 1072 pub cType: u32, 1073 pub cbNode: u32, 1074 } 1075 impl ::core::marker::Copy for CLFS_NODE_ID {} 1076 impl ::core::clone::Clone for CLFS_NODE_ID { clone(&self) -> Self1077 fn clone(&self) -> Self { 1078 *self 1079 } 1080 } 1081 #[repr(C)] 1082 pub struct CLFS_PHYSICAL_LSN_INFORMATION { 1083 pub StreamIdentifier: u8, 1084 pub VirtualLsn: CLS_LSN, 1085 pub PhysicalLsn: CLS_LSN, 1086 } 1087 impl ::core::marker::Copy for CLFS_PHYSICAL_LSN_INFORMATION {} 1088 impl ::core::clone::Clone for CLFS_PHYSICAL_LSN_INFORMATION { clone(&self) -> Self1089 fn clone(&self) -> Self { 1090 *self 1091 } 1092 } 1093 pub const CLFS_SCAN_BACKWARD: u8 = 4u8; 1094 pub const CLFS_SCAN_BUFFERED: u8 = 32u8; 1095 pub const CLFS_SCAN_CLOSE: u8 = 8u8; 1096 pub const CLFS_SCAN_FORWARD: u8 = 2u8; 1097 pub const CLFS_SCAN_INIT: u8 = 1u8; 1098 pub const CLFS_SCAN_INITIALIZED: u8 = 16u8; 1099 #[repr(C)] 1100 pub struct CLFS_STREAM_ID_INFORMATION { 1101 pub StreamIdentifier: u8, 1102 } 1103 impl ::core::marker::Copy for CLFS_STREAM_ID_INFORMATION {} 1104 impl ::core::clone::Clone for CLFS_STREAM_ID_INFORMATION { clone(&self) -> Self1105 fn clone(&self) -> Self { 1106 *self 1107 } 1108 } 1109 pub const CLSID_DiskQuotaControl: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2039002481, data2: 60553, data3: 4559, data4: [156, 0, 0, 170, 0, 161, 79, 86] }; 1110 #[repr(C)] 1111 pub struct CLS_ARCHIVE_DESCRIPTOR { 1112 pub coffLow: u64, 1113 pub coffHigh: u64, 1114 pub infoContainer: CLS_CONTAINER_INFORMATION, 1115 } 1116 impl ::core::marker::Copy for CLS_ARCHIVE_DESCRIPTOR {} 1117 impl ::core::clone::Clone for CLS_ARCHIVE_DESCRIPTOR { clone(&self) -> Self1118 fn clone(&self) -> Self { 1119 *self 1120 } 1121 } 1122 #[repr(C)] 1123 pub struct CLS_CONTAINER_INFORMATION { 1124 pub FileAttributes: u32, 1125 pub CreationTime: u64, 1126 pub LastAccessTime: u64, 1127 pub LastWriteTime: u64, 1128 pub ContainerSize: i64, 1129 pub FileNameActualLength: u32, 1130 pub FileNameLength: u32, 1131 pub FileName: [u16; 256], 1132 pub State: u32, 1133 pub PhysicalContainerId: u32, 1134 pub LogicalContainerId: u32, 1135 } 1136 impl ::core::marker::Copy for CLS_CONTAINER_INFORMATION {} 1137 impl ::core::clone::Clone for CLS_CONTAINER_INFORMATION { clone(&self) -> Self1138 fn clone(&self) -> Self { 1139 *self 1140 } 1141 } 1142 pub type CLS_CONTEXT_MODE = i32; 1143 pub const ClsContextNone: CLS_CONTEXT_MODE = 0i32; 1144 pub const ClsContextUndoNext: CLS_CONTEXT_MODE = 1i32; 1145 pub const ClsContextPrevious: CLS_CONTEXT_MODE = 2i32; 1146 pub const ClsContextForward: CLS_CONTEXT_MODE = 3i32; 1147 #[repr(C)] 1148 pub struct CLS_INFORMATION { 1149 pub TotalAvailable: i64, 1150 pub CurrentAvailable: i64, 1151 pub TotalReservation: i64, 1152 pub BaseFileSize: u64, 1153 pub ContainerSize: u64, 1154 pub TotalContainers: u32, 1155 pub FreeContainers: u32, 1156 pub TotalClients: u32, 1157 pub Attributes: u32, 1158 pub FlushThreshold: u32, 1159 pub SectorSize: u32, 1160 pub MinArchiveTailLsn: CLS_LSN, 1161 pub BaseLsn: CLS_LSN, 1162 pub LastFlushedLsn: CLS_LSN, 1163 pub LastLsn: CLS_LSN, 1164 pub RestartLsn: CLS_LSN, 1165 pub Identity: ::windows_sys::core::GUID, 1166 } 1167 impl ::core::marker::Copy for CLS_INFORMATION {} 1168 impl ::core::clone::Clone for CLS_INFORMATION { clone(&self) -> Self1169 fn clone(&self) -> Self { 1170 *self 1171 } 1172 } 1173 pub type CLS_IOSTATS_CLASS = i32; 1174 pub const ClsIoStatsDefault: CLS_IOSTATS_CLASS = 0i32; 1175 pub const ClsIoStatsMax: CLS_IOSTATS_CLASS = 65535i32; 1176 #[repr(C)] 1177 pub struct CLS_IO_STATISTICS { 1178 pub hdrIoStats: CLS_IO_STATISTICS_HEADER, 1179 pub cFlush: u64, 1180 pub cbFlush: u64, 1181 pub cMetaFlush: u64, 1182 pub cbMetaFlush: u64, 1183 } 1184 impl ::core::marker::Copy for CLS_IO_STATISTICS {} 1185 impl ::core::clone::Clone for CLS_IO_STATISTICS { clone(&self) -> Self1186 fn clone(&self) -> Self { 1187 *self 1188 } 1189 } 1190 #[repr(C)] 1191 pub struct CLS_IO_STATISTICS_HEADER { 1192 pub ubMajorVersion: u8, 1193 pub ubMinorVersion: u8, 1194 pub eStatsClass: CLFS_IOSTATS_CLASS, 1195 pub cbLength: u16, 1196 pub coffData: u32, 1197 } 1198 impl ::core::marker::Copy for CLS_IO_STATISTICS_HEADER {} 1199 impl ::core::clone::Clone for CLS_IO_STATISTICS_HEADER { clone(&self) -> Self1200 fn clone(&self) -> Self { 1201 *self 1202 } 1203 } 1204 pub type CLS_LOG_INFORMATION_CLASS = i32; 1205 pub const ClfsLogBasicInformation: CLS_LOG_INFORMATION_CLASS = 0i32; 1206 pub const ClfsLogBasicInformationPhysical: CLS_LOG_INFORMATION_CLASS = 1i32; 1207 pub const ClfsLogPhysicalNameInformation: CLS_LOG_INFORMATION_CLASS = 2i32; 1208 pub const ClfsLogStreamIdentifierInformation: CLS_LOG_INFORMATION_CLASS = 3i32; 1209 pub const ClfsLogSystemMarkingInformation: CLS_LOG_INFORMATION_CLASS = 4i32; 1210 pub const ClfsLogPhysicalLsnInformation: CLS_LOG_INFORMATION_CLASS = 5i32; 1211 #[repr(C)] 1212 pub struct CLS_LSN { 1213 pub Internal: u64, 1214 } 1215 impl ::core::marker::Copy for CLS_LSN {} 1216 impl ::core::clone::Clone for CLS_LSN { clone(&self) -> Self1217 fn clone(&self) -> Self { 1218 *self 1219 } 1220 } 1221 #[repr(C)] 1222 #[cfg(feature = "Win32_Foundation")] 1223 pub struct CLS_SCAN_CONTEXT { 1224 pub cidNode: CLFS_NODE_ID, 1225 pub hLog: super::super::Foundation::HANDLE, 1226 pub cIndex: u32, 1227 pub cContainers: u32, 1228 pub cContainersReturned: u32, 1229 pub eScanMode: u8, 1230 pub pinfoContainer: *mut CLS_CONTAINER_INFORMATION, 1231 } 1232 #[cfg(feature = "Win32_Foundation")] 1233 impl ::core::marker::Copy for CLS_SCAN_CONTEXT {} 1234 #[cfg(feature = "Win32_Foundation")] 1235 impl ::core::clone::Clone for CLS_SCAN_CONTEXT { clone(&self) -> Self1236 fn clone(&self) -> Self { 1237 *self 1238 } 1239 } 1240 #[repr(C)] 1241 pub struct CLS_WRITE_ENTRY { 1242 pub Buffer: *mut ::core::ffi::c_void, 1243 pub ByteLength: u32, 1244 } 1245 impl ::core::marker::Copy for CLS_WRITE_ENTRY {} 1246 impl ::core::clone::Clone for CLS_WRITE_ENTRY { clone(&self) -> Self1247 fn clone(&self) -> Self { 1248 *self 1249 } 1250 } 1251 #[repr(C)] 1252 pub struct CONNECTION_INFO_0 { 1253 pub coni0_id: u32, 1254 } 1255 impl ::core::marker::Copy for CONNECTION_INFO_0 {} 1256 impl ::core::clone::Clone for CONNECTION_INFO_0 { clone(&self) -> Self1257 fn clone(&self) -> Self { 1258 *self 1259 } 1260 } 1261 #[repr(C)] 1262 #[cfg(feature = "Win32_Foundation")] 1263 pub struct CONNECTION_INFO_1 { 1264 pub coni1_id: u32, 1265 pub coni1_type: SHARE_TYPE, 1266 pub coni1_num_opens: u32, 1267 pub coni1_num_users: u32, 1268 pub coni1_time: u32, 1269 pub coni1_username: super::super::Foundation::PWSTR, 1270 pub coni1_netname: super::super::Foundation::PWSTR, 1271 } 1272 #[cfg(feature = "Win32_Foundation")] 1273 impl ::core::marker::Copy for CONNECTION_INFO_1 {} 1274 #[cfg(feature = "Win32_Foundation")] 1275 impl ::core::clone::Clone for CONNECTION_INFO_1 { clone(&self) -> Self1276 fn clone(&self) -> Self { 1277 *self 1278 } 1279 } 1280 pub type COPYFILE2_COPY_PHASE = i32; 1281 pub const COPYFILE2_PHASE_NONE: COPYFILE2_COPY_PHASE = 0i32; 1282 pub const COPYFILE2_PHASE_PREPARE_SOURCE: COPYFILE2_COPY_PHASE = 1i32; 1283 pub const COPYFILE2_PHASE_PREPARE_DEST: COPYFILE2_COPY_PHASE = 2i32; 1284 pub const COPYFILE2_PHASE_READ_SOURCE: COPYFILE2_COPY_PHASE = 3i32; 1285 pub const COPYFILE2_PHASE_WRITE_DESTINATION: COPYFILE2_COPY_PHASE = 4i32; 1286 pub const COPYFILE2_PHASE_SERVER_COPY: COPYFILE2_COPY_PHASE = 5i32; 1287 pub const COPYFILE2_PHASE_NAMEGRAFT_COPY: COPYFILE2_COPY_PHASE = 6i32; 1288 pub const COPYFILE2_PHASE_MAX: COPYFILE2_COPY_PHASE = 7i32; 1289 #[repr(C)] 1290 #[cfg(feature = "Win32_Foundation")] 1291 pub struct COPYFILE2_EXTENDED_PARAMETERS { 1292 pub dwSize: u32, 1293 pub dwCopyFlags: u32, 1294 pub pfCancel: *mut super::super::Foundation::BOOL, 1295 pub pProgressRoutine: PCOPYFILE2_PROGRESS_ROUTINE, 1296 pub pvCallbackContext: *mut ::core::ffi::c_void, 1297 } 1298 #[cfg(feature = "Win32_Foundation")] 1299 impl ::core::marker::Copy for COPYFILE2_EXTENDED_PARAMETERS {} 1300 #[cfg(feature = "Win32_Foundation")] 1301 impl ::core::clone::Clone for COPYFILE2_EXTENDED_PARAMETERS { clone(&self) -> Self1302 fn clone(&self) -> Self { 1303 *self 1304 } 1305 } 1306 #[repr(C)] 1307 #[cfg(feature = "Win32_Foundation")] 1308 pub struct COPYFILE2_EXTENDED_PARAMETERS_V2 { 1309 pub dwSize: u32, 1310 pub dwCopyFlags: u32, 1311 pub pfCancel: *mut super::super::Foundation::BOOL, 1312 pub pProgressRoutine: PCOPYFILE2_PROGRESS_ROUTINE, 1313 pub pvCallbackContext: *mut ::core::ffi::c_void, 1314 pub dwCopyFlagsV2: u32, 1315 pub ioDesiredSize: u32, 1316 pub ioDesiredRate: u32, 1317 pub reserved: [*mut ::core::ffi::c_void; 8], 1318 } 1319 #[cfg(feature = "Win32_Foundation")] 1320 impl ::core::marker::Copy for COPYFILE2_EXTENDED_PARAMETERS_V2 {} 1321 #[cfg(feature = "Win32_Foundation")] 1322 impl ::core::clone::Clone for COPYFILE2_EXTENDED_PARAMETERS_V2 { clone(&self) -> Self1323 fn clone(&self) -> Self { 1324 *self 1325 } 1326 } 1327 #[repr(C)] 1328 #[cfg(feature = "Win32_Foundation")] 1329 pub struct COPYFILE2_MESSAGE { 1330 pub Type: COPYFILE2_MESSAGE_TYPE, 1331 pub dwPadding: u32, 1332 pub Info: COPYFILE2_MESSAGE_0, 1333 } 1334 #[cfg(feature = "Win32_Foundation")] 1335 impl ::core::marker::Copy for COPYFILE2_MESSAGE {} 1336 #[cfg(feature = "Win32_Foundation")] 1337 impl ::core::clone::Clone for COPYFILE2_MESSAGE { clone(&self) -> Self1338 fn clone(&self) -> Self { 1339 *self 1340 } 1341 } 1342 #[repr(C)] 1343 #[cfg(feature = "Win32_Foundation")] 1344 pub union COPYFILE2_MESSAGE_0 { 1345 pub ChunkStarted: COPYFILE2_MESSAGE_0_1, 1346 pub ChunkFinished: COPYFILE2_MESSAGE_0_0, 1347 pub StreamStarted: COPYFILE2_MESSAGE_0_5, 1348 pub StreamFinished: COPYFILE2_MESSAGE_0_4, 1349 pub PollContinue: COPYFILE2_MESSAGE_0_3, 1350 pub Error: COPYFILE2_MESSAGE_0_2, 1351 } 1352 #[cfg(feature = "Win32_Foundation")] 1353 impl ::core::marker::Copy for COPYFILE2_MESSAGE_0 {} 1354 #[cfg(feature = "Win32_Foundation")] 1355 impl ::core::clone::Clone for COPYFILE2_MESSAGE_0 { clone(&self) -> Self1356 fn clone(&self) -> Self { 1357 *self 1358 } 1359 } 1360 #[repr(C)] 1361 #[cfg(feature = "Win32_Foundation")] 1362 pub struct COPYFILE2_MESSAGE_0_0 { 1363 pub dwStreamNumber: u32, 1364 pub dwFlags: u32, 1365 pub hSourceFile: super::super::Foundation::HANDLE, 1366 pub hDestinationFile: super::super::Foundation::HANDLE, 1367 pub uliChunkNumber: u64, 1368 pub uliChunkSize: u64, 1369 pub uliStreamSize: u64, 1370 pub uliStreamBytesTransferred: u64, 1371 pub uliTotalFileSize: u64, 1372 pub uliTotalBytesTransferred: u64, 1373 } 1374 #[cfg(feature = "Win32_Foundation")] 1375 impl ::core::marker::Copy for COPYFILE2_MESSAGE_0_0 {} 1376 #[cfg(feature = "Win32_Foundation")] 1377 impl ::core::clone::Clone for COPYFILE2_MESSAGE_0_0 { clone(&self) -> Self1378 fn clone(&self) -> Self { 1379 *self 1380 } 1381 } 1382 #[repr(C)] 1383 #[cfg(feature = "Win32_Foundation")] 1384 pub struct COPYFILE2_MESSAGE_0_1 { 1385 pub dwStreamNumber: u32, 1386 pub dwReserved: u32, 1387 pub hSourceFile: super::super::Foundation::HANDLE, 1388 pub hDestinationFile: super::super::Foundation::HANDLE, 1389 pub uliChunkNumber: u64, 1390 pub uliChunkSize: u64, 1391 pub uliStreamSize: u64, 1392 pub uliTotalFileSize: u64, 1393 } 1394 #[cfg(feature = "Win32_Foundation")] 1395 impl ::core::marker::Copy for COPYFILE2_MESSAGE_0_1 {} 1396 #[cfg(feature = "Win32_Foundation")] 1397 impl ::core::clone::Clone for COPYFILE2_MESSAGE_0_1 { clone(&self) -> Self1398 fn clone(&self) -> Self { 1399 *self 1400 } 1401 } 1402 #[repr(C)] 1403 #[cfg(feature = "Win32_Foundation")] 1404 pub struct COPYFILE2_MESSAGE_0_2 { 1405 pub CopyPhase: COPYFILE2_COPY_PHASE, 1406 pub dwStreamNumber: u32, 1407 pub hrFailure: ::windows_sys::core::HRESULT, 1408 pub dwReserved: u32, 1409 pub uliChunkNumber: u64, 1410 pub uliStreamSize: u64, 1411 pub uliStreamBytesTransferred: u64, 1412 pub uliTotalFileSize: u64, 1413 pub uliTotalBytesTransferred: u64, 1414 } 1415 #[cfg(feature = "Win32_Foundation")] 1416 impl ::core::marker::Copy for COPYFILE2_MESSAGE_0_2 {} 1417 #[cfg(feature = "Win32_Foundation")] 1418 impl ::core::clone::Clone for COPYFILE2_MESSAGE_0_2 { clone(&self) -> Self1419 fn clone(&self) -> Self { 1420 *self 1421 } 1422 } 1423 #[repr(C)] 1424 #[cfg(feature = "Win32_Foundation")] 1425 pub struct COPYFILE2_MESSAGE_0_3 { 1426 pub dwReserved: u32, 1427 } 1428 #[cfg(feature = "Win32_Foundation")] 1429 impl ::core::marker::Copy for COPYFILE2_MESSAGE_0_3 {} 1430 #[cfg(feature = "Win32_Foundation")] 1431 impl ::core::clone::Clone for COPYFILE2_MESSAGE_0_3 { clone(&self) -> Self1432 fn clone(&self) -> Self { 1433 *self 1434 } 1435 } 1436 #[repr(C)] 1437 #[cfg(feature = "Win32_Foundation")] 1438 pub struct COPYFILE2_MESSAGE_0_4 { 1439 pub dwStreamNumber: u32, 1440 pub dwReserved: u32, 1441 pub hSourceFile: super::super::Foundation::HANDLE, 1442 pub hDestinationFile: super::super::Foundation::HANDLE, 1443 pub uliStreamSize: u64, 1444 pub uliStreamBytesTransferred: u64, 1445 pub uliTotalFileSize: u64, 1446 pub uliTotalBytesTransferred: u64, 1447 } 1448 #[cfg(feature = "Win32_Foundation")] 1449 impl ::core::marker::Copy for COPYFILE2_MESSAGE_0_4 {} 1450 #[cfg(feature = "Win32_Foundation")] 1451 impl ::core::clone::Clone for COPYFILE2_MESSAGE_0_4 { clone(&self) -> Self1452 fn clone(&self) -> Self { 1453 *self 1454 } 1455 } 1456 #[repr(C)] 1457 #[cfg(feature = "Win32_Foundation")] 1458 pub struct COPYFILE2_MESSAGE_0_5 { 1459 pub dwStreamNumber: u32, 1460 pub dwReserved: u32, 1461 pub hSourceFile: super::super::Foundation::HANDLE, 1462 pub hDestinationFile: super::super::Foundation::HANDLE, 1463 pub uliStreamSize: u64, 1464 pub uliTotalFileSize: u64, 1465 } 1466 #[cfg(feature = "Win32_Foundation")] 1467 impl ::core::marker::Copy for COPYFILE2_MESSAGE_0_5 {} 1468 #[cfg(feature = "Win32_Foundation")] 1469 impl ::core::clone::Clone for COPYFILE2_MESSAGE_0_5 { clone(&self) -> Self1470 fn clone(&self) -> Self { 1471 *self 1472 } 1473 } 1474 pub type COPYFILE2_MESSAGE_ACTION = i32; 1475 pub const COPYFILE2_PROGRESS_CONTINUE: COPYFILE2_MESSAGE_ACTION = 0i32; 1476 pub const COPYFILE2_PROGRESS_CANCEL: COPYFILE2_MESSAGE_ACTION = 1i32; 1477 pub const COPYFILE2_PROGRESS_STOP: COPYFILE2_MESSAGE_ACTION = 2i32; 1478 pub const COPYFILE2_PROGRESS_QUIET: COPYFILE2_MESSAGE_ACTION = 3i32; 1479 pub const COPYFILE2_PROGRESS_PAUSE: COPYFILE2_MESSAGE_ACTION = 4i32; 1480 pub type COPYFILE2_MESSAGE_TYPE = i32; 1481 pub const COPYFILE2_CALLBACK_NONE: COPYFILE2_MESSAGE_TYPE = 0i32; 1482 pub const COPYFILE2_CALLBACK_CHUNK_STARTED: COPYFILE2_MESSAGE_TYPE = 1i32; 1483 pub const COPYFILE2_CALLBACK_CHUNK_FINISHED: COPYFILE2_MESSAGE_TYPE = 2i32; 1484 pub const COPYFILE2_CALLBACK_STREAM_STARTED: COPYFILE2_MESSAGE_TYPE = 3i32; 1485 pub const COPYFILE2_CALLBACK_STREAM_FINISHED: COPYFILE2_MESSAGE_TYPE = 4i32; 1486 pub const COPYFILE2_CALLBACK_POLL_CONTINUE: COPYFILE2_MESSAGE_TYPE = 5i32; 1487 pub const COPYFILE2_CALLBACK_ERROR: COPYFILE2_MESSAGE_TYPE = 6i32; 1488 pub const COPYFILE2_CALLBACK_MAX: COPYFILE2_MESSAGE_TYPE = 7i32; 1489 #[repr(C)] 1490 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 1491 pub struct CREATEFILE2_EXTENDED_PARAMETERS { 1492 pub dwSize: u32, 1493 pub dwFileAttributes: u32, 1494 pub dwFileFlags: u32, 1495 pub dwSecurityQosFlags: u32, 1496 pub lpSecurityAttributes: *mut super::super::Security::SECURITY_ATTRIBUTES, 1497 pub hTemplateFile: super::super::Foundation::HANDLE, 1498 } 1499 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 1500 impl ::core::marker::Copy for CREATEFILE2_EXTENDED_PARAMETERS {} 1501 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 1502 impl ::core::clone::Clone for CREATEFILE2_EXTENDED_PARAMETERS { clone(&self) -> Self1503 fn clone(&self) -> Self { 1504 *self 1505 } 1506 } 1507 pub type CREATE_TAPE_PARTITION_METHOD = i32; 1508 pub const TAPE_FIXED_PARTITIONS: CREATE_TAPE_PARTITION_METHOD = 0i32; 1509 pub const TAPE_INITIATOR_PARTITIONS: CREATE_TAPE_PARTITION_METHOD = 2i32; 1510 pub const TAPE_SELECT_PARTITIONS: CREATE_TAPE_PARTITION_METHOD = 1i32; 1511 pub const CRM_PROTOCOL_DYNAMIC_MARSHAL_INFO: u32 = 2u32; 1512 pub const CRM_PROTOCOL_EXPLICIT_MARSHAL_ONLY: u32 = 1u32; 1513 pub const CRM_PROTOCOL_MAXIMUM_OPTION: u32 = 3u32; 1514 pub const CSC_CACHE_AUTO_REINT: u32 = 16u32; 1515 pub const CSC_CACHE_MANUAL_REINT: u32 = 0u32; 1516 pub const CSC_CACHE_NONE: u32 = 48u32; 1517 pub const CSC_CACHE_VDO: u32 = 32u32; 1518 pub const CSC_MASK: u32 = 48u32; 1519 pub const CSC_MASK_EXT: u32 = 8240u32; 1520 pub const CSV_BLOCK_AND_FILE_CACHE_CALLBACK_VERSION: u32 = 2u32; 1521 pub const CSV_BLOCK_CACHE_CALLBACK_VERSION: u32 = 1u32; 1522 pub const ClfsClientRecord: u8 = 3u8; 1523 pub const ClfsContainerActive: u32 = 4u32; 1524 pub const ClfsContainerActivePendingDelete: u32 = 8u32; 1525 pub const ClfsContainerInactive: u32 = 2u32; 1526 pub const ClfsContainerInitializing: u32 = 1u32; 1527 pub const ClfsContainerPendingArchive: u32 = 16u32; 1528 pub const ClfsContainerPendingArchiveAndDelete: u32 = 32u32; 1529 pub const ClfsDataRecord: u8 = 1u8; 1530 pub const ClfsNullRecord: u8 = 0u8; 1531 pub const ClfsRestartRecord: u8 = 2u8; 1532 pub const ClsContainerActive: u32 = 4u32; 1533 pub const ClsContainerActivePendingDelete: u32 = 8u32; 1534 pub const ClsContainerInactive: u32 = 2u32; 1535 pub const ClsContainerInitializing: u32 = 1u32; 1536 pub const ClsContainerPendingArchive: u32 = 16u32; 1537 pub const ClsContainerPendingArchiveAndDelete: u32 = 32u32; 1538 pub type DEFINE_DOS_DEVICE_FLAGS = u32; 1539 pub const DDD_RAW_TARGET_PATH: DEFINE_DOS_DEVICE_FLAGS = 1u32; 1540 pub const DDD_REMOVE_DEFINITION: DEFINE_DOS_DEVICE_FLAGS = 2u32; 1541 pub const DDD_EXACT_MATCH_ON_REMOVE: DEFINE_DOS_DEVICE_FLAGS = 4u32; 1542 pub const DDD_NO_BROADCAST_SYSTEM: DEFINE_DOS_DEVICE_FLAGS = 8u32; 1543 pub const DDD_LUID_BROADCAST_DRIVE: DEFINE_DOS_DEVICE_FLAGS = 16u32; 1544 pub const DISKQUOTA_FILESTATE_INCOMPLETE: u32 = 256u32; 1545 pub const DISKQUOTA_FILESTATE_MASK: u32 = 768u32; 1546 pub const DISKQUOTA_FILESTATE_REBUILDING: u32 = 512u32; 1547 pub const DISKQUOTA_LOGFLAG_USER_LIMIT: u32 = 2u32; 1548 pub const DISKQUOTA_LOGFLAG_USER_THRESHOLD: u32 = 1u32; 1549 pub const DISKQUOTA_STATE_DISABLED: u32 = 0u32; 1550 pub const DISKQUOTA_STATE_ENFORCE: u32 = 2u32; 1551 pub const DISKQUOTA_STATE_MASK: u32 = 3u32; 1552 pub const DISKQUOTA_STATE_TRACK: u32 = 1u32; 1553 pub type DISKQUOTA_USERNAME_RESOLVE = u32; 1554 pub const DISKQUOTA_USERNAME_RESOLVE_ASYNC: DISKQUOTA_USERNAME_RESOLVE = 2u32; 1555 pub const DISKQUOTA_USERNAME_RESOLVE_NONE: DISKQUOTA_USERNAME_RESOLVE = 0u32; 1556 pub const DISKQUOTA_USERNAME_RESOLVE_SYNC: DISKQUOTA_USERNAME_RESOLVE = 1u32; 1557 pub const DISKQUOTA_USER_ACCOUNT_DELETED: u32 = 2u32; 1558 pub const DISKQUOTA_USER_ACCOUNT_INVALID: u32 = 3u32; 1559 pub const DISKQUOTA_USER_ACCOUNT_RESOLVED: u32 = 0u32; 1560 pub const DISKQUOTA_USER_ACCOUNT_UNAVAILABLE: u32 = 1u32; 1561 pub const DISKQUOTA_USER_ACCOUNT_UNKNOWN: u32 = 4u32; 1562 pub const DISKQUOTA_USER_ACCOUNT_UNRESOLVED: u32 = 5u32; 1563 #[repr(C)] 1564 pub struct DISKQUOTA_USER_INFORMATION { 1565 pub QuotaUsed: i64, 1566 pub QuotaThreshold: i64, 1567 pub QuotaLimit: i64, 1568 } 1569 impl ::core::marker::Copy for DISKQUOTA_USER_INFORMATION {} 1570 impl ::core::clone::Clone for DISKQUOTA_USER_INFORMATION { clone(&self) -> Self1571 fn clone(&self) -> Self { 1572 *self 1573 } 1574 } 1575 #[repr(C)] 1576 pub struct DISK_SPACE_INFORMATION { 1577 pub ActualTotalAllocationUnits: u64, 1578 pub ActualAvailableAllocationUnits: u64, 1579 pub ActualPoolUnavailableAllocationUnits: u64, 1580 pub CallerTotalAllocationUnits: u64, 1581 pub CallerAvailableAllocationUnits: u64, 1582 pub CallerPoolUnavailableAllocationUnits: u64, 1583 pub UsedAllocationUnits: u64, 1584 pub TotalReservedAllocationUnits: u64, 1585 pub VolumeStorageReserveAllocationUnits: u64, 1586 pub AvailableCommittedAllocationUnits: u64, 1587 pub PoolAvailableAllocationUnits: u64, 1588 pub SectorsPerAllocationUnit: u32, 1589 pub BytesPerSector: u32, 1590 } 1591 impl ::core::marker::Copy for DISK_SPACE_INFORMATION {} 1592 impl ::core::clone::Clone for DISK_SPACE_INFORMATION { clone(&self) -> Self1593 fn clone(&self) -> Self { 1594 *self 1595 } 1596 } 1597 #[repr(C)] 1598 pub struct EFS_CERTIFICATE_BLOB { 1599 pub dwCertEncodingType: u32, 1600 pub cbData: u32, 1601 pub pbData: *mut u8, 1602 } 1603 impl ::core::marker::Copy for EFS_CERTIFICATE_BLOB {} 1604 impl ::core::clone::Clone for EFS_CERTIFICATE_BLOB { clone(&self) -> Self1605 fn clone(&self) -> Self { 1606 *self 1607 } 1608 } 1609 #[repr(C)] 1610 pub struct EFS_COMPATIBILITY_INFO { 1611 pub EfsVersion: u32, 1612 } 1613 impl ::core::marker::Copy for EFS_COMPATIBILITY_INFO {} 1614 impl ::core::clone::Clone for EFS_COMPATIBILITY_INFO { clone(&self) -> Self1615 fn clone(&self) -> Self { 1616 *self 1617 } 1618 } 1619 pub const EFS_COMPATIBILITY_VERSION_NCRYPT_PROTECTOR: u32 = 5u32; 1620 pub const EFS_COMPATIBILITY_VERSION_PFILE_PROTECTOR: u32 = 6u32; 1621 #[repr(C)] 1622 pub struct EFS_DECRYPTION_STATUS_INFO { 1623 pub dwDecryptionError: u32, 1624 pub dwHashOffset: u32, 1625 pub cbHash: u32, 1626 } 1627 impl ::core::marker::Copy for EFS_DECRYPTION_STATUS_INFO {} 1628 impl ::core::clone::Clone for EFS_DECRYPTION_STATUS_INFO { clone(&self) -> Self1629 fn clone(&self) -> Self { 1630 *self 1631 } 1632 } 1633 pub const EFS_EFS_SUBVER_EFS_CERT: u32 = 1u32; 1634 #[repr(C)] 1635 #[cfg(feature = "Win32_Foundation")] 1636 pub struct EFS_ENCRYPTION_STATUS_INFO { 1637 pub bHasCurrentKey: super::super::Foundation::BOOL, 1638 pub dwEncryptionError: u32, 1639 } 1640 #[cfg(feature = "Win32_Foundation")] 1641 impl ::core::marker::Copy for EFS_ENCRYPTION_STATUS_INFO {} 1642 #[cfg(feature = "Win32_Foundation")] 1643 impl ::core::clone::Clone for EFS_ENCRYPTION_STATUS_INFO { clone(&self) -> Self1644 fn clone(&self) -> Self { 1645 *self 1646 } 1647 } 1648 #[repr(C)] 1649 pub struct EFS_HASH_BLOB { 1650 pub cbData: u32, 1651 pub pbData: *mut u8, 1652 } 1653 impl ::core::marker::Copy for EFS_HASH_BLOB {} 1654 impl ::core::clone::Clone for EFS_HASH_BLOB { clone(&self) -> Self1655 fn clone(&self) -> Self { 1656 *self 1657 } 1658 } 1659 #[repr(C)] 1660 pub struct EFS_KEY_INFO { 1661 pub dwVersion: u32, 1662 pub Entropy: u32, 1663 pub Algorithm: u32, 1664 pub KeyLength: u32, 1665 } 1666 impl ::core::marker::Copy for EFS_KEY_INFO {} 1667 impl ::core::clone::Clone for EFS_KEY_INFO { clone(&self) -> Self1668 fn clone(&self) -> Self { 1669 *self 1670 } 1671 } 1672 pub const EFS_METADATA_ADD_USER: u32 = 1u32; 1673 pub const EFS_METADATA_GENERAL_OP: u32 = 8u32; 1674 pub const EFS_METADATA_REMOVE_USER: u32 = 2u32; 1675 pub const EFS_METADATA_REPLACE_USER: u32 = 4u32; 1676 pub const EFS_PFILE_SUBVER_APPX: u32 = 3u32; 1677 pub const EFS_PFILE_SUBVER_RMS: u32 = 2u32; 1678 #[repr(C)] 1679 pub struct EFS_PIN_BLOB { 1680 pub cbPadding: u32, 1681 pub cbData: u32, 1682 pub pbData: *mut u8, 1683 } 1684 impl ::core::marker::Copy for EFS_PIN_BLOB {} 1685 impl ::core::clone::Clone for EFS_PIN_BLOB { clone(&self) -> Self1686 fn clone(&self) -> Self { 1687 *self 1688 } 1689 } 1690 #[repr(C)] 1691 pub struct EFS_RPC_BLOB { 1692 pub cbData: u32, 1693 pub pbData: *mut u8, 1694 } 1695 impl ::core::marker::Copy for EFS_RPC_BLOB {} 1696 impl ::core::clone::Clone for EFS_RPC_BLOB { clone(&self) -> Self1697 fn clone(&self) -> Self { 1698 *self 1699 } 1700 } 1701 pub const EFS_SUBVER_UNKNOWN: u32 = 0u32; 1702 #[repr(C)] 1703 pub struct EFS_VERSION_INFO { 1704 pub EfsVersion: u32, 1705 pub SubVersion: u32, 1706 } 1707 impl ::core::marker::Copy for EFS_VERSION_INFO {} 1708 impl ::core::clone::Clone for EFS_VERSION_INFO { clone(&self) -> Self1709 fn clone(&self) -> Self { 1710 *self 1711 } 1712 } 1713 #[repr(C)] 1714 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 1715 pub struct ENCRYPTED_FILE_METADATA_SIGNATURE { 1716 pub dwEfsAccessType: u32, 1717 pub pCertificatesAdded: *mut ENCRYPTION_CERTIFICATE_HASH_LIST, 1718 pub pEncryptionCertificate: *mut ENCRYPTION_CERTIFICATE, 1719 pub pEfsStreamSignature: *mut EFS_RPC_BLOB, 1720 } 1721 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 1722 impl ::core::marker::Copy for ENCRYPTED_FILE_METADATA_SIGNATURE {} 1723 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 1724 impl ::core::clone::Clone for ENCRYPTED_FILE_METADATA_SIGNATURE { clone(&self) -> Self1725 fn clone(&self) -> Self { 1726 *self 1727 } 1728 } 1729 #[repr(C)] 1730 #[cfg(feature = "Win32_Security")] 1731 pub struct ENCRYPTION_CERTIFICATE { 1732 pub cbTotalLength: u32, 1733 pub pUserSid: *mut super::super::Security::SID, 1734 pub pCertBlob: *mut EFS_CERTIFICATE_BLOB, 1735 } 1736 #[cfg(feature = "Win32_Security")] 1737 impl ::core::marker::Copy for ENCRYPTION_CERTIFICATE {} 1738 #[cfg(feature = "Win32_Security")] 1739 impl ::core::clone::Clone for ENCRYPTION_CERTIFICATE { clone(&self) -> Self1740 fn clone(&self) -> Self { 1741 *self 1742 } 1743 } 1744 #[repr(C)] 1745 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 1746 pub struct ENCRYPTION_CERTIFICATE_HASH { 1747 pub cbTotalLength: u32, 1748 pub pUserSid: *mut super::super::Security::SID, 1749 pub pHash: *mut EFS_HASH_BLOB, 1750 pub lpDisplayInformation: super::super::Foundation::PWSTR, 1751 } 1752 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 1753 impl ::core::marker::Copy for ENCRYPTION_CERTIFICATE_HASH {} 1754 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 1755 impl ::core::clone::Clone for ENCRYPTION_CERTIFICATE_HASH { clone(&self) -> Self1756 fn clone(&self) -> Self { 1757 *self 1758 } 1759 } 1760 #[repr(C)] 1761 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 1762 pub struct ENCRYPTION_CERTIFICATE_HASH_LIST { 1763 pub nCert_Hash: u32, 1764 pub pUsers: *mut *mut ENCRYPTION_CERTIFICATE_HASH, 1765 } 1766 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 1767 impl ::core::marker::Copy for ENCRYPTION_CERTIFICATE_HASH_LIST {} 1768 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 1769 impl ::core::clone::Clone for ENCRYPTION_CERTIFICATE_HASH_LIST { clone(&self) -> Self1770 fn clone(&self) -> Self { 1771 *self 1772 } 1773 } 1774 #[repr(C)] 1775 #[cfg(feature = "Win32_Security")] 1776 pub struct ENCRYPTION_CERTIFICATE_LIST { 1777 pub nUsers: u32, 1778 pub pUsers: *mut *mut ENCRYPTION_CERTIFICATE, 1779 } 1780 #[cfg(feature = "Win32_Security")] 1781 impl ::core::marker::Copy for ENCRYPTION_CERTIFICATE_LIST {} 1782 #[cfg(feature = "Win32_Security")] 1783 impl ::core::clone::Clone for ENCRYPTION_CERTIFICATE_LIST { clone(&self) -> Self1784 fn clone(&self) -> Self { 1785 *self 1786 } 1787 } 1788 #[repr(C)] 1789 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 1790 pub struct ENCRYPTION_PROTECTOR { 1791 pub cbTotalLength: u32, 1792 pub pUserSid: *mut super::super::Security::SID, 1793 pub lpProtectorDescriptor: super::super::Foundation::PWSTR, 1794 } 1795 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 1796 impl ::core::marker::Copy for ENCRYPTION_PROTECTOR {} 1797 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 1798 impl ::core::clone::Clone for ENCRYPTION_PROTECTOR { clone(&self) -> Self1799 fn clone(&self) -> Self { 1800 *self 1801 } 1802 } 1803 #[repr(C)] 1804 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 1805 pub struct ENCRYPTION_PROTECTOR_LIST { 1806 pub nProtectors: u32, 1807 pub pProtectors: *mut *mut ENCRYPTION_PROTECTOR, 1808 } 1809 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 1810 impl ::core::marker::Copy for ENCRYPTION_PROTECTOR_LIST {} 1811 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 1812 impl ::core::clone::Clone for ENCRYPTION_PROTECTOR_LIST { clone(&self) -> Self1813 fn clone(&self) -> Self { 1814 *self 1815 } 1816 } 1817 pub const ENLISTMENT_MAXIMUM_OPTION: u32 = 1u32; 1818 pub const ENLISTMENT_SUPERIOR: u32 = 1u32; 1819 pub type ERASE_TAPE_TYPE = i32; 1820 pub const TAPE_ERASE_LONG: ERASE_TAPE_TYPE = 1i32; 1821 pub const TAPE_ERASE_SHORT: ERASE_TAPE_TYPE = 0i32; 1822 #[cfg(feature = "Win32_Foundation")] 1823 pub type FCACHE_CREATE_CALLBACK = unsafe extern "system" fn(lpstrname: super::super::Foundation::PSTR, lpvdata: *mut ::core::ffi::c_void, cbfilesize: *mut u32, cbfilesizehigh: *mut u32) -> super::super::Foundation::HANDLE; 1824 #[cfg(feature = "Win32_Foundation")] 1825 pub type FCACHE_RICHCREATE_CALLBACK = unsafe extern "system" fn(lpstrname: super::super::Foundation::PSTR, 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; 1826 #[repr(C)] 1827 #[cfg(feature = "Win32_Foundation")] 1828 pub struct FH_OVERLAPPED { 1829 pub Internal: usize, 1830 pub InternalHigh: usize, 1831 pub Offset: u32, 1832 pub OffsetHigh: u32, 1833 pub hEvent: super::super::Foundation::HANDLE, 1834 pub pfnCompletion: PFN_IO_COMPLETION, 1835 pub Reserved1: usize, 1836 pub Reserved2: usize, 1837 pub Reserved3: usize, 1838 pub Reserved4: usize, 1839 } 1840 #[cfg(feature = "Win32_Foundation")] 1841 impl ::core::marker::Copy for FH_OVERLAPPED {} 1842 #[cfg(feature = "Win32_Foundation")] 1843 impl ::core::clone::Clone for FH_OVERLAPPED { clone(&self) -> Self1844 fn clone(&self) -> Self { 1845 *self 1846 } 1847 } 1848 pub type FILE_ACCESS_FLAGS = u32; 1849 pub const FILE_READ_DATA: FILE_ACCESS_FLAGS = 1u32; 1850 pub const FILE_LIST_DIRECTORY: FILE_ACCESS_FLAGS = 1u32; 1851 pub const FILE_WRITE_DATA: FILE_ACCESS_FLAGS = 2u32; 1852 pub const FILE_ADD_FILE: FILE_ACCESS_FLAGS = 2u32; 1853 pub const FILE_APPEND_DATA: FILE_ACCESS_FLAGS = 4u32; 1854 pub const FILE_ADD_SUBDIRECTORY: FILE_ACCESS_FLAGS = 4u32; 1855 pub const FILE_CREATE_PIPE_INSTANCE: FILE_ACCESS_FLAGS = 4u32; 1856 pub const FILE_READ_EA: FILE_ACCESS_FLAGS = 8u32; 1857 pub const FILE_WRITE_EA: FILE_ACCESS_FLAGS = 16u32; 1858 pub const FILE_EXECUTE: FILE_ACCESS_FLAGS = 32u32; 1859 pub const FILE_TRAVERSE: FILE_ACCESS_FLAGS = 32u32; 1860 pub const FILE_DELETE_CHILD: FILE_ACCESS_FLAGS = 64u32; 1861 pub const FILE_READ_ATTRIBUTES: FILE_ACCESS_FLAGS = 128u32; 1862 pub const FILE_WRITE_ATTRIBUTES: FILE_ACCESS_FLAGS = 256u32; 1863 pub const READ_CONTROL: FILE_ACCESS_FLAGS = 131072u32; 1864 pub const SYNCHRONIZE: FILE_ACCESS_FLAGS = 1048576u32; 1865 pub const STANDARD_RIGHTS_REQUIRED: FILE_ACCESS_FLAGS = 983040u32; 1866 pub const STANDARD_RIGHTS_READ: FILE_ACCESS_FLAGS = 131072u32; 1867 pub const STANDARD_RIGHTS_WRITE: FILE_ACCESS_FLAGS = 131072u32; 1868 pub const STANDARD_RIGHTS_EXECUTE: FILE_ACCESS_FLAGS = 131072u32; 1869 pub const STANDARD_RIGHTS_ALL: FILE_ACCESS_FLAGS = 2031616u32; 1870 pub const SPECIFIC_RIGHTS_ALL: FILE_ACCESS_FLAGS = 65535u32; 1871 pub const FILE_ALL_ACCESS: FILE_ACCESS_FLAGS = 2032127u32; 1872 pub const FILE_GENERIC_READ: FILE_ACCESS_FLAGS = 1179785u32; 1873 pub const FILE_GENERIC_WRITE: FILE_ACCESS_FLAGS = 1179926u32; 1874 pub const FILE_GENERIC_EXECUTE: FILE_ACCESS_FLAGS = 1179808u32; 1875 pub type FILE_ACTION = u32; 1876 pub const FILE_ACTION_ADDED: FILE_ACTION = 1u32; 1877 pub const FILE_ACTION_REMOVED: FILE_ACTION = 2u32; 1878 pub const FILE_ACTION_MODIFIED: FILE_ACTION = 3u32; 1879 pub const FILE_ACTION_RENAMED_OLD_NAME: FILE_ACTION = 4u32; 1880 pub const FILE_ACTION_RENAMED_NEW_NAME: FILE_ACTION = 5u32; 1881 #[repr(C)] 1882 pub struct FILE_ALIGNMENT_INFO { 1883 pub AlignmentRequirement: u32, 1884 } 1885 impl ::core::marker::Copy for FILE_ALIGNMENT_INFO {} 1886 impl ::core::clone::Clone for FILE_ALIGNMENT_INFO { clone(&self) -> Self1887 fn clone(&self) -> Self { 1888 *self 1889 } 1890 } 1891 #[repr(C)] 1892 pub struct FILE_ALLOCATION_INFO { 1893 pub AllocationSize: i64, 1894 } 1895 impl ::core::marker::Copy for FILE_ALLOCATION_INFO {} 1896 impl ::core::clone::Clone for FILE_ALLOCATION_INFO { clone(&self) -> Self1897 fn clone(&self) -> Self { 1898 *self 1899 } 1900 } 1901 #[repr(C)] 1902 pub struct FILE_ATTRIBUTE_TAG_INFO { 1903 pub FileAttributes: u32, 1904 pub ReparseTag: u32, 1905 } 1906 impl ::core::marker::Copy for FILE_ATTRIBUTE_TAG_INFO {} 1907 impl ::core::clone::Clone for FILE_ATTRIBUTE_TAG_INFO { clone(&self) -> Self1908 fn clone(&self) -> Self { 1909 *self 1910 } 1911 } 1912 #[repr(C)] 1913 pub struct FILE_BASIC_INFO { 1914 pub CreationTime: i64, 1915 pub LastAccessTime: i64, 1916 pub LastWriteTime: i64, 1917 pub ChangeTime: i64, 1918 pub FileAttributes: u32, 1919 } 1920 impl ::core::marker::Copy for FILE_BASIC_INFO {} 1921 impl ::core::clone::Clone for FILE_BASIC_INFO { clone(&self) -> Self1922 fn clone(&self) -> Self { 1923 *self 1924 } 1925 } 1926 #[repr(C)] 1927 pub struct FILE_COMPRESSION_INFO { 1928 pub CompressedFileSize: i64, 1929 pub CompressionFormat: u16, 1930 pub CompressionUnitShift: u8, 1931 pub ChunkShift: u8, 1932 pub ClusterShift: u8, 1933 pub Reserved: [u8; 3], 1934 } 1935 impl ::core::marker::Copy for FILE_COMPRESSION_INFO {} 1936 impl ::core::clone::Clone for FILE_COMPRESSION_INFO { clone(&self) -> Self1937 fn clone(&self) -> Self { 1938 *self 1939 } 1940 } 1941 pub type FILE_CREATION_DISPOSITION = u32; 1942 pub const CREATE_NEW: FILE_CREATION_DISPOSITION = 1u32; 1943 pub const CREATE_ALWAYS: FILE_CREATION_DISPOSITION = 2u32; 1944 pub const OPEN_EXISTING: FILE_CREATION_DISPOSITION = 3u32; 1945 pub const OPEN_ALWAYS: FILE_CREATION_DISPOSITION = 4u32; 1946 pub const TRUNCATE_EXISTING: FILE_CREATION_DISPOSITION = 5u32; 1947 pub type FILE_DEVICE_TYPE = u32; 1948 pub const FILE_DEVICE_CD_ROM: FILE_DEVICE_TYPE = 2u32; 1949 pub const FILE_DEVICE_DISK: FILE_DEVICE_TYPE = 7u32; 1950 pub const FILE_DEVICE_TAPE: FILE_DEVICE_TYPE = 31u32; 1951 pub const FILE_DEVICE_DVD: FILE_DEVICE_TYPE = 51u32; 1952 #[repr(C)] 1953 #[cfg(feature = "Win32_Foundation")] 1954 pub struct FILE_DISPOSITION_INFO { 1955 pub DeleteFileA: super::super::Foundation::BOOLEAN, 1956 } 1957 #[cfg(feature = "Win32_Foundation")] 1958 impl ::core::marker::Copy for FILE_DISPOSITION_INFO {} 1959 #[cfg(feature = "Win32_Foundation")] 1960 impl ::core::clone::Clone for FILE_DISPOSITION_INFO { clone(&self) -> Self1961 fn clone(&self) -> Self { 1962 *self 1963 } 1964 } 1965 #[repr(C)] 1966 pub struct FILE_END_OF_FILE_INFO { 1967 pub EndOfFile: i64, 1968 } 1969 impl ::core::marker::Copy for FILE_END_OF_FILE_INFO {} 1970 impl ::core::clone::Clone for FILE_END_OF_FILE_INFO { clone(&self) -> Self1971 fn clone(&self) -> Self { 1972 *self 1973 } 1974 } 1975 #[repr(C)] 1976 pub struct FILE_EXTENT { 1977 pub VolumeOffset: u64, 1978 pub ExtentLength: u64, 1979 } 1980 impl ::core::marker::Copy for FILE_EXTENT {} 1981 impl ::core::clone::Clone for FILE_EXTENT { clone(&self) -> Self1982 fn clone(&self) -> Self { 1983 *self 1984 } 1985 } 1986 pub type FILE_FLAGS_AND_ATTRIBUTES = u32; 1987 pub const FILE_ATTRIBUTE_READONLY: FILE_FLAGS_AND_ATTRIBUTES = 1u32; 1988 pub const FILE_ATTRIBUTE_HIDDEN: FILE_FLAGS_AND_ATTRIBUTES = 2u32; 1989 pub const FILE_ATTRIBUTE_SYSTEM: FILE_FLAGS_AND_ATTRIBUTES = 4u32; 1990 pub const FILE_ATTRIBUTE_DIRECTORY: FILE_FLAGS_AND_ATTRIBUTES = 16u32; 1991 pub const FILE_ATTRIBUTE_ARCHIVE: FILE_FLAGS_AND_ATTRIBUTES = 32u32; 1992 pub const FILE_ATTRIBUTE_DEVICE: FILE_FLAGS_AND_ATTRIBUTES = 64u32; 1993 pub const FILE_ATTRIBUTE_NORMAL: FILE_FLAGS_AND_ATTRIBUTES = 128u32; 1994 pub const FILE_ATTRIBUTE_TEMPORARY: FILE_FLAGS_AND_ATTRIBUTES = 256u32; 1995 pub const FILE_ATTRIBUTE_SPARSE_FILE: FILE_FLAGS_AND_ATTRIBUTES = 512u32; 1996 pub const FILE_ATTRIBUTE_REPARSE_POINT: FILE_FLAGS_AND_ATTRIBUTES = 1024u32; 1997 pub const FILE_ATTRIBUTE_COMPRESSED: FILE_FLAGS_AND_ATTRIBUTES = 2048u32; 1998 pub const FILE_ATTRIBUTE_OFFLINE: FILE_FLAGS_AND_ATTRIBUTES = 4096u32; 1999 pub const FILE_ATTRIBUTE_NOT_CONTENT_INDEXED: FILE_FLAGS_AND_ATTRIBUTES = 8192u32; 2000 pub const FILE_ATTRIBUTE_ENCRYPTED: FILE_FLAGS_AND_ATTRIBUTES = 16384u32; 2001 pub const FILE_ATTRIBUTE_INTEGRITY_STREAM: FILE_FLAGS_AND_ATTRIBUTES = 32768u32; 2002 pub const FILE_ATTRIBUTE_VIRTUAL: FILE_FLAGS_AND_ATTRIBUTES = 65536u32; 2003 pub const FILE_ATTRIBUTE_NO_SCRUB_DATA: FILE_FLAGS_AND_ATTRIBUTES = 131072u32; 2004 pub const FILE_ATTRIBUTE_EA: FILE_FLAGS_AND_ATTRIBUTES = 262144u32; 2005 pub const FILE_ATTRIBUTE_PINNED: FILE_FLAGS_AND_ATTRIBUTES = 524288u32; 2006 pub const FILE_ATTRIBUTE_UNPINNED: FILE_FLAGS_AND_ATTRIBUTES = 1048576u32; 2007 pub const FILE_ATTRIBUTE_RECALL_ON_OPEN: FILE_FLAGS_AND_ATTRIBUTES = 262144u32; 2008 pub const FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS: FILE_FLAGS_AND_ATTRIBUTES = 4194304u32; 2009 pub const FILE_FLAG_WRITE_THROUGH: FILE_FLAGS_AND_ATTRIBUTES = 2147483648u32; 2010 pub const FILE_FLAG_OVERLAPPED: FILE_FLAGS_AND_ATTRIBUTES = 1073741824u32; 2011 pub const FILE_FLAG_NO_BUFFERING: FILE_FLAGS_AND_ATTRIBUTES = 536870912u32; 2012 pub const FILE_FLAG_RANDOM_ACCESS: FILE_FLAGS_AND_ATTRIBUTES = 268435456u32; 2013 pub const FILE_FLAG_SEQUENTIAL_SCAN: FILE_FLAGS_AND_ATTRIBUTES = 134217728u32; 2014 pub const FILE_FLAG_DELETE_ON_CLOSE: FILE_FLAGS_AND_ATTRIBUTES = 67108864u32; 2015 pub const FILE_FLAG_BACKUP_SEMANTICS: FILE_FLAGS_AND_ATTRIBUTES = 33554432u32; 2016 pub const FILE_FLAG_POSIX_SEMANTICS: FILE_FLAGS_AND_ATTRIBUTES = 16777216u32; 2017 pub const FILE_FLAG_SESSION_AWARE: FILE_FLAGS_AND_ATTRIBUTES = 8388608u32; 2018 pub const FILE_FLAG_OPEN_REPARSE_POINT: FILE_FLAGS_AND_ATTRIBUTES = 2097152u32; 2019 pub const FILE_FLAG_OPEN_NO_RECALL: FILE_FLAGS_AND_ATTRIBUTES = 1048576u32; 2020 pub const FILE_FLAG_FIRST_PIPE_INSTANCE: FILE_FLAGS_AND_ATTRIBUTES = 524288u32; 2021 pub const PIPE_ACCESS_DUPLEX: FILE_FLAGS_AND_ATTRIBUTES = 3u32; 2022 pub const PIPE_ACCESS_INBOUND: FILE_FLAGS_AND_ATTRIBUTES = 1u32; 2023 pub const PIPE_ACCESS_OUTBOUND: FILE_FLAGS_AND_ATTRIBUTES = 2u32; 2024 pub const SECURITY_ANONYMOUS: FILE_FLAGS_AND_ATTRIBUTES = 0u32; 2025 pub const SECURITY_IDENTIFICATION: FILE_FLAGS_AND_ATTRIBUTES = 65536u32; 2026 pub const SECURITY_IMPERSONATION: FILE_FLAGS_AND_ATTRIBUTES = 131072u32; 2027 pub const SECURITY_DELEGATION: FILE_FLAGS_AND_ATTRIBUTES = 196608u32; 2028 pub const SECURITY_CONTEXT_TRACKING: FILE_FLAGS_AND_ATTRIBUTES = 262144u32; 2029 pub const SECURITY_EFFECTIVE_ONLY: FILE_FLAGS_AND_ATTRIBUTES = 524288u32; 2030 pub const SECURITY_SQOS_PRESENT: FILE_FLAGS_AND_ATTRIBUTES = 1048576u32; 2031 pub const SECURITY_VALID_SQOS_FLAGS: FILE_FLAGS_AND_ATTRIBUTES = 2031616u32; 2032 #[repr(C)] 2033 pub struct FILE_FULL_DIR_INFO { 2034 pub NextEntryOffset: u32, 2035 pub FileIndex: u32, 2036 pub CreationTime: i64, 2037 pub LastAccessTime: i64, 2038 pub LastWriteTime: i64, 2039 pub ChangeTime: i64, 2040 pub EndOfFile: i64, 2041 pub AllocationSize: i64, 2042 pub FileAttributes: u32, 2043 pub FileNameLength: u32, 2044 pub EaSize: u32, 2045 pub FileName: [u16; 1], 2046 } 2047 impl ::core::marker::Copy for FILE_FULL_DIR_INFO {} 2048 impl ::core::clone::Clone for FILE_FULL_DIR_INFO { clone(&self) -> Self2049 fn clone(&self) -> Self { 2050 *self 2051 } 2052 } 2053 #[repr(C)] 2054 pub struct FILE_ID_128 { 2055 pub Identifier: [u8; 16], 2056 } 2057 impl ::core::marker::Copy for FILE_ID_128 {} 2058 impl ::core::clone::Clone for FILE_ID_128 { clone(&self) -> Self2059 fn clone(&self) -> Self { 2060 *self 2061 } 2062 } 2063 #[repr(C)] 2064 pub struct FILE_ID_BOTH_DIR_INFO { 2065 pub NextEntryOffset: u32, 2066 pub FileIndex: u32, 2067 pub CreationTime: i64, 2068 pub LastAccessTime: i64, 2069 pub LastWriteTime: i64, 2070 pub ChangeTime: i64, 2071 pub EndOfFile: i64, 2072 pub AllocationSize: i64, 2073 pub FileAttributes: u32, 2074 pub FileNameLength: u32, 2075 pub EaSize: u32, 2076 pub ShortNameLength: i8, 2077 pub ShortName: [u16; 12], 2078 pub FileId: i64, 2079 pub FileName: [u16; 1], 2080 } 2081 impl ::core::marker::Copy for FILE_ID_BOTH_DIR_INFO {} 2082 impl ::core::clone::Clone for FILE_ID_BOTH_DIR_INFO { clone(&self) -> Self2083 fn clone(&self) -> Self { 2084 *self 2085 } 2086 } 2087 #[repr(C)] 2088 pub struct FILE_ID_DESCRIPTOR { 2089 pub dwSize: u32, 2090 pub Type: FILE_ID_TYPE, 2091 pub Anonymous: FILE_ID_DESCRIPTOR_0, 2092 } 2093 impl ::core::marker::Copy for FILE_ID_DESCRIPTOR {} 2094 impl ::core::clone::Clone for FILE_ID_DESCRIPTOR { clone(&self) -> Self2095 fn clone(&self) -> Self { 2096 *self 2097 } 2098 } 2099 #[repr(C)] 2100 pub union FILE_ID_DESCRIPTOR_0 { 2101 pub FileId: i64, 2102 pub ObjectId: ::windows_sys::core::GUID, 2103 pub ExtendedFileId: FILE_ID_128, 2104 } 2105 impl ::core::marker::Copy for FILE_ID_DESCRIPTOR_0 {} 2106 impl ::core::clone::Clone for FILE_ID_DESCRIPTOR_0 { clone(&self) -> Self2107 fn clone(&self) -> Self { 2108 *self 2109 } 2110 } 2111 #[repr(C)] 2112 pub struct FILE_ID_EXTD_DIR_INFO { 2113 pub NextEntryOffset: u32, 2114 pub FileIndex: u32, 2115 pub CreationTime: i64, 2116 pub LastAccessTime: i64, 2117 pub LastWriteTime: i64, 2118 pub ChangeTime: i64, 2119 pub EndOfFile: i64, 2120 pub AllocationSize: i64, 2121 pub FileAttributes: u32, 2122 pub FileNameLength: u32, 2123 pub EaSize: u32, 2124 pub ReparsePointTag: u32, 2125 pub FileId: FILE_ID_128, 2126 pub FileName: [u16; 1], 2127 } 2128 impl ::core::marker::Copy for FILE_ID_EXTD_DIR_INFO {} 2129 impl ::core::clone::Clone for FILE_ID_EXTD_DIR_INFO { clone(&self) -> Self2130 fn clone(&self) -> Self { 2131 *self 2132 } 2133 } 2134 #[repr(C)] 2135 pub struct FILE_ID_INFO { 2136 pub VolumeSerialNumber: u64, 2137 pub FileId: FILE_ID_128, 2138 } 2139 impl ::core::marker::Copy for FILE_ID_INFO {} 2140 impl ::core::clone::Clone for FILE_ID_INFO { clone(&self) -> Self2141 fn clone(&self) -> Self { 2142 *self 2143 } 2144 } 2145 pub type FILE_ID_TYPE = i32; 2146 pub const FileIdType: FILE_ID_TYPE = 0i32; 2147 pub const ObjectIdType: FILE_ID_TYPE = 1i32; 2148 pub const ExtendedFileIdType: FILE_ID_TYPE = 2i32; 2149 pub const MaximumFileIdType: FILE_ID_TYPE = 3i32; 2150 #[repr(C)] 2151 pub struct FILE_INFO_2 { 2152 pub fi2_id: u32, 2153 } 2154 impl ::core::marker::Copy for FILE_INFO_2 {} 2155 impl ::core::clone::Clone for FILE_INFO_2 { clone(&self) -> Self2156 fn clone(&self) -> Self { 2157 *self 2158 } 2159 } 2160 #[repr(C)] 2161 #[cfg(feature = "Win32_Foundation")] 2162 pub struct FILE_INFO_3 { 2163 pub fi3_id: u32, 2164 pub fi3_permissions: FILE_INFO_FLAGS_PERMISSIONS, 2165 pub fi3_num_locks: u32, 2166 pub fi3_pathname: super::super::Foundation::PWSTR, 2167 pub fi3_username: super::super::Foundation::PWSTR, 2168 } 2169 #[cfg(feature = "Win32_Foundation")] 2170 impl ::core::marker::Copy for FILE_INFO_3 {} 2171 #[cfg(feature = "Win32_Foundation")] 2172 impl ::core::clone::Clone for FILE_INFO_3 { clone(&self) -> Self2173 fn clone(&self) -> Self { 2174 *self 2175 } 2176 } 2177 pub type FILE_INFO_BY_HANDLE_CLASS = i32; 2178 pub const FileBasicInfo: FILE_INFO_BY_HANDLE_CLASS = 0i32; 2179 pub const FileStandardInfo: FILE_INFO_BY_HANDLE_CLASS = 1i32; 2180 pub const FileNameInfo: FILE_INFO_BY_HANDLE_CLASS = 2i32; 2181 pub const FileRenameInfo: FILE_INFO_BY_HANDLE_CLASS = 3i32; 2182 pub const FileDispositionInfo: FILE_INFO_BY_HANDLE_CLASS = 4i32; 2183 pub const FileAllocationInfo: FILE_INFO_BY_HANDLE_CLASS = 5i32; 2184 pub const FileEndOfFileInfo: FILE_INFO_BY_HANDLE_CLASS = 6i32; 2185 pub const FileStreamInfo: FILE_INFO_BY_HANDLE_CLASS = 7i32; 2186 pub const FileCompressionInfo: FILE_INFO_BY_HANDLE_CLASS = 8i32; 2187 pub const FileAttributeTagInfo: FILE_INFO_BY_HANDLE_CLASS = 9i32; 2188 pub const FileIdBothDirectoryInfo: FILE_INFO_BY_HANDLE_CLASS = 10i32; 2189 pub const FileIdBothDirectoryRestartInfo: FILE_INFO_BY_HANDLE_CLASS = 11i32; 2190 pub const FileIoPriorityHintInfo: FILE_INFO_BY_HANDLE_CLASS = 12i32; 2191 pub const FileRemoteProtocolInfo: FILE_INFO_BY_HANDLE_CLASS = 13i32; 2192 pub const FileFullDirectoryInfo: FILE_INFO_BY_HANDLE_CLASS = 14i32; 2193 pub const FileFullDirectoryRestartInfo: FILE_INFO_BY_HANDLE_CLASS = 15i32; 2194 pub const FileStorageInfo: FILE_INFO_BY_HANDLE_CLASS = 16i32; 2195 pub const FileAlignmentInfo: FILE_INFO_BY_HANDLE_CLASS = 17i32; 2196 pub const FileIdInfo: FILE_INFO_BY_HANDLE_CLASS = 18i32; 2197 pub const FileIdExtdDirectoryInfo: FILE_INFO_BY_HANDLE_CLASS = 19i32; 2198 pub const FileIdExtdDirectoryRestartInfo: FILE_INFO_BY_HANDLE_CLASS = 20i32; 2199 pub const FileDispositionInfoEx: FILE_INFO_BY_HANDLE_CLASS = 21i32; 2200 pub const FileRenameInfoEx: FILE_INFO_BY_HANDLE_CLASS = 22i32; 2201 pub const FileCaseSensitiveInfo: FILE_INFO_BY_HANDLE_CLASS = 23i32; 2202 pub const FileNormalizedNameInfo: FILE_INFO_BY_HANDLE_CLASS = 24i32; 2203 pub const MaximumFileInfoByHandleClass: FILE_INFO_BY_HANDLE_CLASS = 25i32; 2204 pub type FILE_INFO_FLAGS_PERMISSIONS = u32; 2205 pub const PERM_FILE_READ: FILE_INFO_FLAGS_PERMISSIONS = 1u32; 2206 pub const PERM_FILE_WRITE: FILE_INFO_FLAGS_PERMISSIONS = 2u32; 2207 pub const PERM_FILE_CREATE: FILE_INFO_FLAGS_PERMISSIONS = 4u32; 2208 #[repr(C)] 2209 pub struct FILE_IO_PRIORITY_HINT_INFO { 2210 pub PriorityHint: PRIORITY_HINT, 2211 } 2212 impl ::core::marker::Copy for FILE_IO_PRIORITY_HINT_INFO {} 2213 impl ::core::clone::Clone for FILE_IO_PRIORITY_HINT_INFO { clone(&self) -> Self2214 fn clone(&self) -> Self { 2215 *self 2216 } 2217 } 2218 pub type FILE_NAME = u32; 2219 pub const FILE_NAME_NORMALIZED: FILE_NAME = 0u32; 2220 pub const FILE_NAME_OPENED: FILE_NAME = 8u32; 2221 #[repr(C)] 2222 pub struct FILE_NAME_INFO { 2223 pub FileNameLength: u32, 2224 pub FileName: [u16; 1], 2225 } 2226 impl ::core::marker::Copy for FILE_NAME_INFO {} 2227 impl ::core::clone::Clone for FILE_NAME_INFO { clone(&self) -> Self2228 fn clone(&self) -> Self { 2229 *self 2230 } 2231 } 2232 pub type FILE_NOTIFY_CHANGE = u32; 2233 pub const FILE_NOTIFY_CHANGE_FILE_NAME: FILE_NOTIFY_CHANGE = 1u32; 2234 pub const FILE_NOTIFY_CHANGE_DIR_NAME: FILE_NOTIFY_CHANGE = 2u32; 2235 pub const FILE_NOTIFY_CHANGE_ATTRIBUTES: FILE_NOTIFY_CHANGE = 4u32; 2236 pub const FILE_NOTIFY_CHANGE_SIZE: FILE_NOTIFY_CHANGE = 8u32; 2237 pub const FILE_NOTIFY_CHANGE_LAST_WRITE: FILE_NOTIFY_CHANGE = 16u32; 2238 pub const FILE_NOTIFY_CHANGE_LAST_ACCESS: FILE_NOTIFY_CHANGE = 32u32; 2239 pub const FILE_NOTIFY_CHANGE_CREATION: FILE_NOTIFY_CHANGE = 64u32; 2240 pub const FILE_NOTIFY_CHANGE_SECURITY: FILE_NOTIFY_CHANGE = 256u32; 2241 #[repr(C)] 2242 pub struct FILE_NOTIFY_EXTENDED_INFORMATION { 2243 pub NextEntryOffset: u32, 2244 pub Action: FILE_ACTION, 2245 pub CreationTime: i64, 2246 pub LastModificationTime: i64, 2247 pub LastChangeTime: i64, 2248 pub LastAccessTime: i64, 2249 pub AllocatedLength: i64, 2250 pub FileSize: i64, 2251 pub FileAttributes: u32, 2252 pub ReparsePointTag: u32, 2253 pub FileId: i64, 2254 pub ParentFileId: i64, 2255 pub FileNameLength: u32, 2256 pub FileName: [u16; 1], 2257 } 2258 impl ::core::marker::Copy for FILE_NOTIFY_EXTENDED_INFORMATION {} 2259 impl ::core::clone::Clone for FILE_NOTIFY_EXTENDED_INFORMATION { clone(&self) -> Self2260 fn clone(&self) -> Self { 2261 *self 2262 } 2263 } 2264 #[repr(C)] 2265 pub struct FILE_NOTIFY_INFORMATION { 2266 pub NextEntryOffset: u32, 2267 pub Action: FILE_ACTION, 2268 pub FileNameLength: u32, 2269 pub FileName: [u16; 1], 2270 } 2271 impl ::core::marker::Copy for FILE_NOTIFY_INFORMATION {} 2272 impl ::core::clone::Clone for FILE_NOTIFY_INFORMATION { clone(&self) -> Self2273 fn clone(&self) -> Self { 2274 *self 2275 } 2276 } 2277 pub const FILE_PROVIDER_COMPRESSION_LZX: u32 = 1u32; 2278 pub const FILE_PROVIDER_COMPRESSION_XPRESS16K: u32 = 3u32; 2279 pub const FILE_PROVIDER_COMPRESSION_XPRESS4K: u32 = 0u32; 2280 pub const FILE_PROVIDER_COMPRESSION_XPRESS8K: u32 = 2u32; 2281 #[repr(C)] 2282 pub struct FILE_REMOTE_PROTOCOL_INFO { 2283 pub StructureVersion: u16, 2284 pub StructureSize: u16, 2285 pub Protocol: u32, 2286 pub ProtocolMajorVersion: u16, 2287 pub ProtocolMinorVersion: u16, 2288 pub ProtocolRevision: u16, 2289 pub Reserved: u16, 2290 pub Flags: u32, 2291 pub GenericReserved: FILE_REMOTE_PROTOCOL_INFO_0, 2292 pub ProtocolSpecific: FILE_REMOTE_PROTOCOL_INFO_1, 2293 } 2294 impl ::core::marker::Copy for FILE_REMOTE_PROTOCOL_INFO {} 2295 impl ::core::clone::Clone for FILE_REMOTE_PROTOCOL_INFO { clone(&self) -> Self2296 fn clone(&self) -> Self { 2297 *self 2298 } 2299 } 2300 #[repr(C)] 2301 pub struct FILE_REMOTE_PROTOCOL_INFO_0 { 2302 pub Reserved: [u32; 8], 2303 } 2304 impl ::core::marker::Copy for FILE_REMOTE_PROTOCOL_INFO_0 {} 2305 impl ::core::clone::Clone for FILE_REMOTE_PROTOCOL_INFO_0 { clone(&self) -> Self2306 fn clone(&self) -> Self { 2307 *self 2308 } 2309 } 2310 #[repr(C)] 2311 pub union FILE_REMOTE_PROTOCOL_INFO_1 { 2312 pub Smb2: FILE_REMOTE_PROTOCOL_INFO_1_0, 2313 pub Reserved: [u32; 16], 2314 } 2315 impl ::core::marker::Copy for FILE_REMOTE_PROTOCOL_INFO_1 {} 2316 impl ::core::clone::Clone for FILE_REMOTE_PROTOCOL_INFO_1 { clone(&self) -> Self2317 fn clone(&self) -> Self { 2318 *self 2319 } 2320 } 2321 #[repr(C)] 2322 pub struct FILE_REMOTE_PROTOCOL_INFO_1_0 { 2323 pub Server: FILE_REMOTE_PROTOCOL_INFO_1_0_0, 2324 pub Share: FILE_REMOTE_PROTOCOL_INFO_1_0_1, 2325 } 2326 impl ::core::marker::Copy for FILE_REMOTE_PROTOCOL_INFO_1_0 {} 2327 impl ::core::clone::Clone for FILE_REMOTE_PROTOCOL_INFO_1_0 { clone(&self) -> Self2328 fn clone(&self) -> Self { 2329 *self 2330 } 2331 } 2332 #[repr(C)] 2333 pub struct FILE_REMOTE_PROTOCOL_INFO_1_0_0 { 2334 pub Capabilities: u32, 2335 } 2336 impl ::core::marker::Copy for FILE_REMOTE_PROTOCOL_INFO_1_0_0 {} 2337 impl ::core::clone::Clone for FILE_REMOTE_PROTOCOL_INFO_1_0_0 { clone(&self) -> Self2338 fn clone(&self) -> Self { 2339 *self 2340 } 2341 } 2342 #[repr(C)] 2343 pub struct FILE_REMOTE_PROTOCOL_INFO_1_0_1 { 2344 pub Capabilities: u32, 2345 pub CachingFlags: u32, 2346 } 2347 impl ::core::marker::Copy for FILE_REMOTE_PROTOCOL_INFO_1_0_1 {} 2348 impl ::core::clone::Clone for FILE_REMOTE_PROTOCOL_INFO_1_0_1 { clone(&self) -> Self2349 fn clone(&self) -> Self { 2350 *self 2351 } 2352 } 2353 #[repr(C)] 2354 #[cfg(feature = "Win32_Foundation")] 2355 pub struct FILE_RENAME_INFO { 2356 pub Anonymous: FILE_RENAME_INFO_0, 2357 pub RootDirectory: super::super::Foundation::HANDLE, 2358 pub FileNameLength: u32, 2359 pub FileName: [u16; 1], 2360 } 2361 #[cfg(feature = "Win32_Foundation")] 2362 impl ::core::marker::Copy for FILE_RENAME_INFO {} 2363 #[cfg(feature = "Win32_Foundation")] 2364 impl ::core::clone::Clone for FILE_RENAME_INFO { clone(&self) -> Self2365 fn clone(&self) -> Self { 2366 *self 2367 } 2368 } 2369 #[repr(C)] 2370 #[cfg(feature = "Win32_Foundation")] 2371 pub union FILE_RENAME_INFO_0 { 2372 pub ReplaceIfExists: super::super::Foundation::BOOLEAN, 2373 pub Flags: u32, 2374 } 2375 #[cfg(feature = "Win32_Foundation")] 2376 impl ::core::marker::Copy for FILE_RENAME_INFO_0 {} 2377 #[cfg(feature = "Win32_Foundation")] 2378 impl ::core::clone::Clone for FILE_RENAME_INFO_0 { clone(&self) -> Self2379 fn clone(&self) -> Self { 2380 *self 2381 } 2382 } 2383 #[repr(C)] 2384 pub union FILE_SEGMENT_ELEMENT { 2385 pub Buffer: *mut ::core::ffi::c_void, 2386 pub Alignment: u64, 2387 } 2388 impl ::core::marker::Copy for FILE_SEGMENT_ELEMENT {} 2389 impl ::core::clone::Clone for FILE_SEGMENT_ELEMENT { clone(&self) -> Self2390 fn clone(&self) -> Self { 2391 *self 2392 } 2393 } 2394 pub type FILE_SHARE_MODE = u32; 2395 pub const FILE_SHARE_NONE: FILE_SHARE_MODE = 0u32; 2396 pub const FILE_SHARE_DELETE: FILE_SHARE_MODE = 4u32; 2397 pub const FILE_SHARE_READ: FILE_SHARE_MODE = 1u32; 2398 pub const FILE_SHARE_WRITE: FILE_SHARE_MODE = 2u32; 2399 #[repr(C)] 2400 #[cfg(feature = "Win32_Foundation")] 2401 pub struct FILE_STANDARD_INFO { 2402 pub AllocationSize: i64, 2403 pub EndOfFile: i64, 2404 pub NumberOfLinks: u32, 2405 pub DeletePending: super::super::Foundation::BOOLEAN, 2406 pub Directory: super::super::Foundation::BOOLEAN, 2407 } 2408 #[cfg(feature = "Win32_Foundation")] 2409 impl ::core::marker::Copy for FILE_STANDARD_INFO {} 2410 #[cfg(feature = "Win32_Foundation")] 2411 impl ::core::clone::Clone for FILE_STANDARD_INFO { clone(&self) -> Self2412 fn clone(&self) -> Self { 2413 *self 2414 } 2415 } 2416 #[repr(C)] 2417 pub struct FILE_STORAGE_INFO { 2418 pub LogicalBytesPerSector: u32, 2419 pub PhysicalBytesPerSectorForAtomicity: u32, 2420 pub PhysicalBytesPerSectorForPerformance: u32, 2421 pub FileSystemEffectivePhysicalBytesPerSectorForAtomicity: u32, 2422 pub Flags: u32, 2423 pub ByteOffsetForSectorAlignment: u32, 2424 pub ByteOffsetForPartitionAlignment: u32, 2425 } 2426 impl ::core::marker::Copy for FILE_STORAGE_INFO {} 2427 impl ::core::clone::Clone for FILE_STORAGE_INFO { clone(&self) -> Self2428 fn clone(&self) -> Self { 2429 *self 2430 } 2431 } 2432 #[repr(C)] 2433 pub struct FILE_STREAM_INFO { 2434 pub NextEntryOffset: u32, 2435 pub StreamNameLength: u32, 2436 pub StreamSize: i64, 2437 pub StreamAllocationSize: i64, 2438 pub StreamName: [u16; 1], 2439 } 2440 impl ::core::marker::Copy for FILE_STREAM_INFO {} 2441 impl ::core::clone::Clone for FILE_STREAM_INFO { clone(&self) -> Self2442 fn clone(&self) -> Self { 2443 *self 2444 } 2445 } 2446 pub type FINDEX_INFO_LEVELS = i32; 2447 pub const FindExInfoStandard: FINDEX_INFO_LEVELS = 0i32; 2448 pub const FindExInfoBasic: FINDEX_INFO_LEVELS = 1i32; 2449 pub const FindExInfoMaxInfoLevel: FINDEX_INFO_LEVELS = 2i32; 2450 pub type FINDEX_SEARCH_OPS = i32; 2451 pub const FindExSearchNameMatch: FINDEX_SEARCH_OPS = 0i32; 2452 pub const FindExSearchLimitToDirectories: FINDEX_SEARCH_OPS = 1i32; 2453 pub const FindExSearchLimitToDevices: FINDEX_SEARCH_OPS = 2i32; 2454 pub const FindExSearchMaxSearchOp: FINDEX_SEARCH_OPS = 3i32; 2455 pub type FIND_FIRST_EX_FLAGS = u32; 2456 pub const FIND_FIRST_EX_CASE_SENSITIVE: FIND_FIRST_EX_FLAGS = 1u32; 2457 pub const FIND_FIRST_EX_LARGE_FETCH: FIND_FIRST_EX_FLAGS = 2u32; 2458 pub const FIND_FIRST_EX_ON_DISK_ENTRIES_ONLY: FIND_FIRST_EX_FLAGS = 4u32; 2459 #[repr(C)] 2460 #[cfg(feature = "Win32_Foundation")] 2461 pub struct FIO_CONTEXT { 2462 pub m_dwTempHack: u32, 2463 pub m_dwSignature: u32, 2464 pub m_hFile: super::super::Foundation::HANDLE, 2465 pub m_dwLinesOffset: u32, 2466 pub m_dwHeaderLength: u32, 2467 } 2468 #[cfg(feature = "Win32_Foundation")] 2469 impl ::core::marker::Copy for FIO_CONTEXT {} 2470 #[cfg(feature = "Win32_Foundation")] 2471 impl ::core::clone::Clone for FIO_CONTEXT { clone(&self) -> Self2472 fn clone(&self) -> Self { 2473 *self 2474 } 2475 } 2476 pub type FindChangeNotificationHandle = isize; 2477 pub type FindFileHandle = isize; 2478 pub type FindFileNameHandle = isize; 2479 pub type FindStreamHandle = isize; 2480 pub type FindVolumeHandle = isize; 2481 pub type FindVolumeMointPointHandle = isize; 2482 pub type GET_FILEEX_INFO_LEVELS = i32; 2483 pub const GetFileExInfoStandard: GET_FILEEX_INFO_LEVELS = 0i32; 2484 pub const GetFileExMaxInfoLevel: GET_FILEEX_INFO_LEVELS = 1i32; 2485 pub type GET_FILE_VERSION_INFO_FLAGS = u32; 2486 pub const FILE_VER_GET_LOCALISED: GET_FILE_VERSION_INFO_FLAGS = 1u32; 2487 pub const FILE_VER_GET_NEUTRAL: GET_FILE_VERSION_INFO_FLAGS = 2u32; 2488 pub const FILE_VER_GET_PREFETCHED: GET_FILE_VERSION_INFO_FLAGS = 4u32; 2489 pub type GET_TAPE_DRIVE_PARAMETERS_OPERATION = u32; 2490 pub const GET_TAPE_DRIVE_INFORMATION: GET_TAPE_DRIVE_PARAMETERS_OPERATION = 1u32; 2491 pub const GET_TAPE_MEDIA_INFORMATION: GET_TAPE_DRIVE_PARAMETERS_OPERATION = 0u32; 2492 #[repr(C)] 2493 pub struct HIORING__ { 2494 pub unused: i32, 2495 } 2496 impl ::core::marker::Copy for HIORING__ {} 2497 impl ::core::clone::Clone for HIORING__ { clone(&self) -> Self2498 fn clone(&self) -> Self { 2499 *self 2500 } 2501 } 2502 pub type IDiskQuotaControl = *mut ::core::ffi::c_void; 2503 pub type IDiskQuotaEvents = *mut ::core::ffi::c_void; 2504 pub type IDiskQuotaUser = *mut ::core::ffi::c_void; 2505 pub type IDiskQuotaUserBatch = *mut ::core::ffi::c_void; 2506 pub type IEnumDiskQuotaUsers = *mut ::core::ffi::c_void; 2507 pub const INVALID_FILE_ATTRIBUTES: u32 = 4294967295u32; 2508 pub const INVALID_SET_FILE_POINTER: u32 = 4294967295u32; 2509 pub const IOCTL_VOLUME_ALLOCATE_BC_STREAM: u32 = 5685312u32; 2510 pub const IOCTL_VOLUME_BASE: u32 = 86u32; 2511 pub const IOCTL_VOLUME_BC_VERSION: u32 = 1u32; 2512 pub const IOCTL_VOLUME_FREE_BC_STREAM: u32 = 5685316u32; 2513 pub const IOCTL_VOLUME_GET_BC_PROPERTIES: u32 = 5652540u32; 2514 pub const IOCTL_VOLUME_GET_CSVBLOCKCACHE_CALLBACK: u32 = 5685352u32; 2515 pub const IOCTL_VOLUME_GET_GPT_ATTRIBUTES: u32 = 5636152u32; 2516 pub const IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS: u32 = 5636096u32; 2517 pub const IOCTL_VOLUME_IS_CLUSTERED: u32 = 5636144u32; 2518 pub const IOCTL_VOLUME_IS_CSV: u32 = 5636192u32; 2519 pub const IOCTL_VOLUME_IS_DYNAMIC: u32 = 5636168u32; 2520 pub const IOCTL_VOLUME_IS_IO_CAPABLE: u32 = 5636116u32; 2521 pub const IOCTL_VOLUME_IS_OFFLINE: u32 = 5636112u32; 2522 pub const IOCTL_VOLUME_IS_PARTITION: u32 = 5636136u32; 2523 pub const IOCTL_VOLUME_LOGICAL_TO_PHYSICAL: u32 = 5636128u32; 2524 pub const IOCTL_VOLUME_OFFLINE: u32 = 5685260u32; 2525 pub const IOCTL_VOLUME_ONLINE: u32 = 5685256u32; 2526 pub const IOCTL_VOLUME_PHYSICAL_TO_LOGICAL: u32 = 5636132u32; 2527 pub const IOCTL_VOLUME_POST_ONLINE: u32 = 5685348u32; 2528 pub const IOCTL_VOLUME_PREPARE_FOR_CRITICAL_IO: u32 = 5685324u32; 2529 pub const IOCTL_VOLUME_PREPARE_FOR_SHRINK: u32 = 5685340u32; 2530 pub const IOCTL_VOLUME_QUERY_ALLOCATION_HINT: u32 = 5652562u32; 2531 pub const IOCTL_VOLUME_QUERY_FAILOVER_SET: u32 = 5636120u32; 2532 pub const IOCTL_VOLUME_QUERY_MINIMUM_SHRINK_SIZE: u32 = 5652568u32; 2533 pub const IOCTL_VOLUME_QUERY_VOLUME_NUMBER: u32 = 5636124u32; 2534 pub const IOCTL_VOLUME_READ_PLEX: u32 = 5652526u32; 2535 pub const IOCTL_VOLUME_SET_GPT_ATTRIBUTES: u32 = 5636148u32; 2536 pub const IOCTL_VOLUME_SUPPORTS_ONLINE_OFFLINE: u32 = 5636100u32; 2537 pub const IOCTL_VOLUME_UPDATE_PROPERTIES: u32 = 5636180u32; 2538 #[repr(C)] 2539 pub struct IORING_BUFFER_INFO { 2540 pub Address: *mut ::core::ffi::c_void, 2541 pub Length: u32, 2542 } 2543 impl ::core::marker::Copy for IORING_BUFFER_INFO {} 2544 impl ::core::clone::Clone for IORING_BUFFER_INFO { clone(&self) -> Self2545 fn clone(&self) -> Self { 2546 *self 2547 } 2548 } 2549 #[repr(C)] 2550 pub struct IORING_BUFFER_REF { 2551 pub Kind: IORING_REF_KIND, 2552 pub Buffer: IORING_BUFFER_REF_0, 2553 } 2554 impl ::core::marker::Copy for IORING_BUFFER_REF {} 2555 impl ::core::clone::Clone for IORING_BUFFER_REF { clone(&self) -> Self2556 fn clone(&self) -> Self { 2557 *self 2558 } 2559 } 2560 #[repr(C)] 2561 pub union IORING_BUFFER_REF_0 { 2562 pub Address: *mut ::core::ffi::c_void, 2563 pub IndexAndOffset: IORING_REGISTERED_BUFFER, 2564 } 2565 impl ::core::marker::Copy for IORING_BUFFER_REF_0 {} 2566 impl ::core::clone::Clone for IORING_BUFFER_REF_0 { clone(&self) -> Self2567 fn clone(&self) -> Self { 2568 *self 2569 } 2570 } 2571 #[repr(C)] 2572 pub struct IORING_CAPABILITIES { 2573 pub MaxVersion: IORING_VERSION, 2574 pub MaxSubmissionQueueSize: u32, 2575 pub MaxCompletionQueueSize: u32, 2576 pub FeatureFlags: IORING_FEATURE_FLAGS, 2577 } 2578 impl ::core::marker::Copy for IORING_CAPABILITIES {} 2579 impl ::core::clone::Clone for IORING_CAPABILITIES { clone(&self) -> Self2580 fn clone(&self) -> Self { 2581 *self 2582 } 2583 } 2584 #[repr(C)] 2585 pub struct IORING_CQE { 2586 pub UserData: usize, 2587 pub ResultCode: ::windows_sys::core::HRESULT, 2588 pub Information: usize, 2589 } 2590 impl ::core::marker::Copy for IORING_CQE {} 2591 impl ::core::clone::Clone for IORING_CQE { clone(&self) -> Self2592 fn clone(&self) -> Self { 2593 *self 2594 } 2595 } 2596 pub type IORING_CREATE_ADVISORY_FLAGS = i32; 2597 pub const IORING_CREATE_ADVISORY_FLAGS_NONE: IORING_CREATE_ADVISORY_FLAGS = 0i32; 2598 #[repr(C)] 2599 pub struct IORING_CREATE_FLAGS { 2600 pub Required: IORING_CREATE_REQUIRED_FLAGS, 2601 pub Advisory: IORING_CREATE_ADVISORY_FLAGS, 2602 } 2603 impl ::core::marker::Copy for IORING_CREATE_FLAGS {} 2604 impl ::core::clone::Clone for IORING_CREATE_FLAGS { clone(&self) -> Self2605 fn clone(&self) -> Self { 2606 *self 2607 } 2608 } 2609 pub type IORING_CREATE_REQUIRED_FLAGS = i32; 2610 pub const IORING_CREATE_REQUIRED_FLAGS_NONE: IORING_CREATE_REQUIRED_FLAGS = 0i32; 2611 pub type IORING_FEATURE_FLAGS = i32; 2612 pub const IORING_FEATURE_FLAGS_NONE: IORING_FEATURE_FLAGS = 0i32; 2613 pub const IORING_FEATURE_UM_EMULATION: IORING_FEATURE_FLAGS = 1i32; 2614 pub const IORING_FEATURE_SET_COMPLETION_EVENT: IORING_FEATURE_FLAGS = 2i32; 2615 #[repr(C)] 2616 #[cfg(feature = "Win32_Foundation")] 2617 pub struct IORING_HANDLE_REF { 2618 pub Kind: IORING_REF_KIND, 2619 pub Handle: IORING_HANDLE_REF_0, 2620 } 2621 #[cfg(feature = "Win32_Foundation")] 2622 impl ::core::marker::Copy for IORING_HANDLE_REF {} 2623 #[cfg(feature = "Win32_Foundation")] 2624 impl ::core::clone::Clone for IORING_HANDLE_REF { clone(&self) -> Self2625 fn clone(&self) -> Self { 2626 *self 2627 } 2628 } 2629 #[repr(C)] 2630 #[cfg(feature = "Win32_Foundation")] 2631 pub union IORING_HANDLE_REF_0 { 2632 pub Handle: super::super::Foundation::HANDLE, 2633 pub Index: u32, 2634 } 2635 #[cfg(feature = "Win32_Foundation")] 2636 impl ::core::marker::Copy for IORING_HANDLE_REF_0 {} 2637 #[cfg(feature = "Win32_Foundation")] 2638 impl ::core::clone::Clone for IORING_HANDLE_REF_0 { clone(&self) -> Self2639 fn clone(&self) -> Self { 2640 *self 2641 } 2642 } 2643 #[repr(C)] 2644 pub struct IORING_INFO { 2645 pub IoRingVersion: IORING_VERSION, 2646 pub Flags: IORING_CREATE_FLAGS, 2647 pub SubmissionQueueSize: u32, 2648 pub CompletionQueueSize: u32, 2649 } 2650 impl ::core::marker::Copy for IORING_INFO {} 2651 impl ::core::clone::Clone for IORING_INFO { clone(&self) -> Self2652 fn clone(&self) -> Self { 2653 *self 2654 } 2655 } 2656 pub type IORING_OP_CODE = i32; 2657 pub const IORING_OP_NOP: IORING_OP_CODE = 0i32; 2658 pub const IORING_OP_READ: IORING_OP_CODE = 1i32; 2659 pub const IORING_OP_REGISTER_FILES: IORING_OP_CODE = 2i32; 2660 pub const IORING_OP_REGISTER_BUFFERS: IORING_OP_CODE = 3i32; 2661 pub const IORING_OP_CANCEL: IORING_OP_CODE = 4i32; 2662 pub type IORING_REF_KIND = i32; 2663 pub const IORING_REF_RAW: IORING_REF_KIND = 0i32; 2664 pub const IORING_REF_REGISTERED: IORING_REF_KIND = 1i32; 2665 #[repr(C)] 2666 pub struct IORING_REGISTERED_BUFFER { 2667 pub BufferIndex: u32, 2668 pub Offset: u32, 2669 } 2670 impl ::core::marker::Copy for IORING_REGISTERED_BUFFER {} 2671 impl ::core::clone::Clone for IORING_REGISTERED_BUFFER { clone(&self) -> Self2672 fn clone(&self) -> Self { 2673 *self 2674 } 2675 } 2676 pub type IORING_SQE_FLAGS = i32; 2677 pub const IOSQE_FLAGS_NONE: IORING_SQE_FLAGS = 0i32; 2678 pub type IORING_VERSION = i32; 2679 pub const IORING_VERSION_INVALID: IORING_VERSION = 0i32; 2680 pub const IORING_VERSION_1: IORING_VERSION = 1i32; 2681 #[repr(C)] 2682 pub struct KCRM_MARSHAL_HEADER { 2683 pub VersionMajor: u32, 2684 pub VersionMinor: u32, 2685 pub NumProtocols: u32, 2686 pub Unused: u32, 2687 } 2688 impl ::core::marker::Copy for KCRM_MARSHAL_HEADER {} 2689 impl ::core::clone::Clone for KCRM_MARSHAL_HEADER { clone(&self) -> Self2690 fn clone(&self) -> Self { 2691 *self 2692 } 2693 } 2694 #[repr(C)] 2695 pub struct KCRM_PROTOCOL_BLOB { 2696 pub ProtocolId: ::windows_sys::core::GUID, 2697 pub StaticInfoLength: u32, 2698 pub TransactionIdInfoLength: u32, 2699 pub Unused1: u32, 2700 pub Unused2: u32, 2701 } 2702 impl ::core::marker::Copy for KCRM_PROTOCOL_BLOB {} 2703 impl ::core::clone::Clone for KCRM_PROTOCOL_BLOB { clone(&self) -> Self2704 fn clone(&self) -> Self { 2705 *self 2706 } 2707 } 2708 #[repr(C)] 2709 pub struct KCRM_TRANSACTION_BLOB { 2710 pub UOW: ::windows_sys::core::GUID, 2711 pub TmIdentity: ::windows_sys::core::GUID, 2712 pub IsolationLevel: u32, 2713 pub IsolationFlags: u32, 2714 pub Timeout: u32, 2715 pub Description: [u16; 64], 2716 } 2717 impl ::core::marker::Copy for KCRM_TRANSACTION_BLOB {} 2718 impl ::core::clone::Clone for KCRM_TRANSACTION_BLOB { clone(&self) -> Self2719 fn clone(&self) -> Self { 2720 *self 2721 } 2722 } 2723 pub const KTM_MARSHAL_BLOB_VERSION_MAJOR: u32 = 1u32; 2724 pub const KTM_MARSHAL_BLOB_VERSION_MINOR: u32 = 1u32; 2725 pub type LOCK_FILE_FLAGS = u32; 2726 pub const LOCKFILE_EXCLUSIVE_LOCK: LOCK_FILE_FLAGS = 2u32; 2727 pub const LOCKFILE_FAIL_IMMEDIATELY: LOCK_FILE_FLAGS = 1u32; 2728 #[repr(C)] 2729 #[cfg(feature = "Win32_Foundation")] 2730 pub struct LOG_MANAGEMENT_CALLBACKS { 2731 pub CallbackContext: *mut ::core::ffi::c_void, 2732 pub AdvanceTailCallback: PLOG_TAIL_ADVANCE_CALLBACK, 2733 pub LogFullHandlerCallback: PLOG_FULL_HANDLER_CALLBACK, 2734 pub LogUnpinnedCallback: PLOG_UNPINNED_CALLBACK, 2735 } 2736 #[cfg(feature = "Win32_Foundation")] 2737 impl ::core::marker::Copy for LOG_MANAGEMENT_CALLBACKS {} 2738 #[cfg(feature = "Win32_Foundation")] 2739 impl ::core::clone::Clone for LOG_MANAGEMENT_CALLBACKS { clone(&self) -> Self2740 fn clone(&self) -> Self { 2741 *self 2742 } 2743 } 2744 pub const LOG_POLICY_OVERWRITE: u32 = 1u32; 2745 pub const LOG_POLICY_PERSIST: u32 = 2u32; 2746 #[cfg(feature = "Win32_Foundation")] 2747 pub type LPPROGRESS_ROUTINE = 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; 2748 pub type LPPROGRESS_ROUTINE_CALLBACK_REASON = u32; 2749 pub const CALLBACK_CHUNK_FINISHED: LPPROGRESS_ROUTINE_CALLBACK_REASON = 0u32; 2750 pub const CALLBACK_STREAM_SWITCH: LPPROGRESS_ROUTINE_CALLBACK_REASON = 1u32; 2751 pub const LZERROR_BADINHANDLE: i32 = -1i32; 2752 pub const LZERROR_BADOUTHANDLE: i32 = -2i32; 2753 pub const LZERROR_BADVALUE: i32 = -7i32; 2754 pub const LZERROR_GLOBALLOC: i32 = -5i32; 2755 pub const LZERROR_GLOBLOCK: i32 = -6i32; 2756 pub const LZERROR_READ: i32 = -3i32; 2757 pub const LZERROR_UNKNOWNALG: i32 = -8i32; 2758 pub const LZERROR_WRITE: i32 = -4i32; 2759 pub type LZOPENFILE_STYLE = u32; 2760 pub const OF_CANCEL: LZOPENFILE_STYLE = 2048u32; 2761 pub const OF_CREATE: LZOPENFILE_STYLE = 4096u32; 2762 pub const OF_DELETE: LZOPENFILE_STYLE = 512u32; 2763 pub const OF_EXIST: LZOPENFILE_STYLE = 16384u32; 2764 pub const OF_PARSE: LZOPENFILE_STYLE = 256u32; 2765 pub const OF_PROMPT: LZOPENFILE_STYLE = 8192u32; 2766 pub const OF_READ: LZOPENFILE_STYLE = 0u32; 2767 pub const OF_READWRITE: LZOPENFILE_STYLE = 2u32; 2768 pub const OF_REOPEN: LZOPENFILE_STYLE = 32768u32; 2769 pub const OF_SHARE_DENY_NONE: LZOPENFILE_STYLE = 64u32; 2770 pub const OF_SHARE_DENY_READ: LZOPENFILE_STYLE = 48u32; 2771 pub const OF_SHARE_DENY_WRITE: LZOPENFILE_STYLE = 32u32; 2772 pub const OF_SHARE_EXCLUSIVE: LZOPENFILE_STYLE = 16u32; 2773 pub const OF_WRITE: LZOPENFILE_STYLE = 1u32; 2774 pub const OF_SHARE_COMPAT: LZOPENFILE_STYLE = 0u32; 2775 pub const OF_VERIFY: LZOPENFILE_STYLE = 1024u32; 2776 pub type MAXMEDIALABEL = unsafe extern "system" fn(pmaxsize: *mut u32) -> u32; 2777 pub const MAX_RESOURCEMANAGER_DESCRIPTION_LENGTH: u32 = 64u32; 2778 pub const MAX_SID_SIZE: u32 = 256u32; 2779 pub const MAX_TRANSACTION_DESCRIPTION_LENGTH: u32 = 64u32; 2780 pub type MOVE_FILE_FLAGS = u32; 2781 pub const MOVEFILE_COPY_ALLOWED: MOVE_FILE_FLAGS = 2u32; 2782 pub const MOVEFILE_CREATE_HARDLINK: MOVE_FILE_FLAGS = 16u32; 2783 pub const MOVEFILE_DELAY_UNTIL_REBOOT: MOVE_FILE_FLAGS = 4u32; 2784 pub const MOVEFILE_REPLACE_EXISTING: MOVE_FILE_FLAGS = 1u32; 2785 pub const MOVEFILE_WRITE_THROUGH: MOVE_FILE_FLAGS = 8u32; 2786 pub const MOVEFILE_FAIL_IF_NOT_TRACKABLE: MOVE_FILE_FLAGS = 32u32; 2787 #[repr(C)] 2788 pub struct MediaLabelInfo { 2789 pub LabelType: [u16; 64], 2790 pub LabelIDSize: u32, 2791 pub LabelID: [u8; 256], 2792 pub LabelAppDescr: [u16; 256], 2793 } 2794 impl ::core::marker::Copy for MediaLabelInfo {} 2795 impl ::core::clone::Clone for MediaLabelInfo { clone(&self) -> Self2796 fn clone(&self) -> Self { 2797 *self 2798 } 2799 } 2800 #[repr(C)] 2801 pub struct NAME_CACHE_CONTEXT { 2802 pub m_dwSignature: u32, 2803 } 2804 impl ::core::marker::Copy for NAME_CACHE_CONTEXT {} 2805 impl ::core::clone::Clone for NAME_CACHE_CONTEXT { clone(&self) -> Self2806 fn clone(&self) -> Self { 2807 *self 2808 } 2809 } 2810 pub const NTMSMLI_MAXAPPDESCR: u32 = 256u32; 2811 pub const NTMSMLI_MAXIDSIZE: u32 = 256u32; 2812 pub const NTMSMLI_MAXTYPE: u32 = 64u32; 2813 #[repr(C)] 2814 pub struct NTMS_ALLOCATION_INFORMATION { 2815 pub dwSize: u32, 2816 pub lpReserved: *mut ::core::ffi::c_void, 2817 pub AllocatedFrom: ::windows_sys::core::GUID, 2818 } 2819 impl ::core::marker::Copy for NTMS_ALLOCATION_INFORMATION {} 2820 impl ::core::clone::Clone for NTMS_ALLOCATION_INFORMATION { clone(&self) -> Self2821 fn clone(&self) -> Self { 2822 *self 2823 } 2824 } 2825 pub const NTMS_APPLICATIONNAME_LENGTH: u32 = 64u32; 2826 #[repr(C)] 2827 #[cfg(feature = "Win32_Foundation")] 2828 pub struct NTMS_ASYNC_IO { 2829 pub OperationId: ::windows_sys::core::GUID, 2830 pub EventId: ::windows_sys::core::GUID, 2831 pub dwOperationType: u32, 2832 pub dwResult: u32, 2833 pub dwAsyncState: u32, 2834 pub hEvent: super::super::Foundation::HANDLE, 2835 pub bOnStateChange: super::super::Foundation::BOOL, 2836 } 2837 #[cfg(feature = "Win32_Foundation")] 2838 impl ::core::marker::Copy for NTMS_ASYNC_IO {} 2839 #[cfg(feature = "Win32_Foundation")] 2840 impl ::core::clone::Clone for NTMS_ASYNC_IO { clone(&self) -> Self2841 fn clone(&self) -> Self { 2842 *self 2843 } 2844 } 2845 pub const NTMS_BARCODE_LENGTH: u32 = 64u32; 2846 #[repr(C)] 2847 #[cfg(feature = "Win32_Foundation")] 2848 pub struct NTMS_CHANGERINFORMATIONA { 2849 pub Number: u32, 2850 pub ChangerType: ::windows_sys::core::GUID, 2851 pub szSerialNumber: [super::super::Foundation::CHAR; 32], 2852 pub szRevision: [super::super::Foundation::CHAR; 32], 2853 pub szDeviceName: [super::super::Foundation::CHAR; 64], 2854 pub ScsiPort: u16, 2855 pub ScsiBus: u16, 2856 pub ScsiTarget: u16, 2857 pub ScsiLun: u16, 2858 pub Library: ::windows_sys::core::GUID, 2859 } 2860 #[cfg(feature = "Win32_Foundation")] 2861 impl ::core::marker::Copy for NTMS_CHANGERINFORMATIONA {} 2862 #[cfg(feature = "Win32_Foundation")] 2863 impl ::core::clone::Clone for NTMS_CHANGERINFORMATIONA { clone(&self) -> Self2864 fn clone(&self) -> Self { 2865 *self 2866 } 2867 } 2868 #[repr(C)] 2869 pub struct NTMS_CHANGERINFORMATIONW { 2870 pub Number: u32, 2871 pub ChangerType: ::windows_sys::core::GUID, 2872 pub szSerialNumber: [u16; 32], 2873 pub szRevision: [u16; 32], 2874 pub szDeviceName: [u16; 64], 2875 pub ScsiPort: u16, 2876 pub ScsiBus: u16, 2877 pub ScsiTarget: u16, 2878 pub ScsiLun: u16, 2879 pub Library: ::windows_sys::core::GUID, 2880 } 2881 impl ::core::marker::Copy for NTMS_CHANGERINFORMATIONW {} 2882 impl ::core::clone::Clone for NTMS_CHANGERINFORMATIONW { clone(&self) -> Self2883 fn clone(&self) -> Self { 2884 *self 2885 } 2886 } 2887 #[repr(C)] 2888 #[cfg(feature = "Win32_Foundation")] 2889 pub struct NTMS_CHANGERTYPEINFORMATIONA { 2890 pub szVendor: [super::super::Foundation::CHAR; 128], 2891 pub szProduct: [super::super::Foundation::CHAR; 128], 2892 pub DeviceType: u32, 2893 } 2894 #[cfg(feature = "Win32_Foundation")] 2895 impl ::core::marker::Copy for NTMS_CHANGERTYPEINFORMATIONA {} 2896 #[cfg(feature = "Win32_Foundation")] 2897 impl ::core::clone::Clone for NTMS_CHANGERTYPEINFORMATIONA { clone(&self) -> Self2898 fn clone(&self) -> Self { 2899 *self 2900 } 2901 } 2902 #[repr(C)] 2903 pub struct NTMS_CHANGERTYPEINFORMATIONW { 2904 pub szVendor: [u16; 128], 2905 pub szProduct: [u16; 128], 2906 pub DeviceType: u32, 2907 } 2908 impl ::core::marker::Copy for NTMS_CHANGERTYPEINFORMATIONW {} 2909 impl ::core::clone::Clone for NTMS_CHANGERTYPEINFORMATIONW { clone(&self) -> Self2910 fn clone(&self) -> Self { 2911 *self 2912 } 2913 } 2914 #[repr(C)] 2915 pub struct NTMS_COMPUTERINFORMATION { 2916 pub dwLibRequestPurgeTime: u32, 2917 pub dwOpRequestPurgeTime: u32, 2918 pub dwLibRequestFlags: u32, 2919 pub dwOpRequestFlags: u32, 2920 pub dwMediaPoolPolicy: u32, 2921 } 2922 impl ::core::marker::Copy for NTMS_COMPUTERINFORMATION {} 2923 impl ::core::clone::Clone for NTMS_COMPUTERINFORMATION { clone(&self) -> Self2924 fn clone(&self) -> Self { 2925 *self 2926 } 2927 } 2928 pub const NTMS_COMPUTERNAME_LENGTH: u32 = 64u32; 2929 pub const NTMS_DESCRIPTION_LENGTH: u32 = 127u32; 2930 pub const NTMS_DEVICENAME_LENGTH: u32 = 64u32; 2931 #[repr(C)] 2932 #[cfg(feature = "Win32_Foundation")] 2933 pub struct NTMS_DRIVEINFORMATIONA { 2934 pub Number: u32, 2935 pub State: NtmsDriveState, 2936 pub DriveType: ::windows_sys::core::GUID, 2937 pub szDeviceName: [super::super::Foundation::CHAR; 64], 2938 pub szSerialNumber: [super::super::Foundation::CHAR; 32], 2939 pub szRevision: [super::super::Foundation::CHAR; 32], 2940 pub ScsiPort: u16, 2941 pub ScsiBus: u16, 2942 pub ScsiTarget: u16, 2943 pub ScsiLun: u16, 2944 pub dwMountCount: u32, 2945 pub LastCleanedTs: super::super::Foundation::SYSTEMTIME, 2946 pub SavedPartitionId: ::windows_sys::core::GUID, 2947 pub Library: ::windows_sys::core::GUID, 2948 pub Reserved: ::windows_sys::core::GUID, 2949 pub dwDeferDismountDelay: u32, 2950 } 2951 #[cfg(feature = "Win32_Foundation")] 2952 impl ::core::marker::Copy for NTMS_DRIVEINFORMATIONA {} 2953 #[cfg(feature = "Win32_Foundation")] 2954 impl ::core::clone::Clone for NTMS_DRIVEINFORMATIONA { clone(&self) -> Self2955 fn clone(&self) -> Self { 2956 *self 2957 } 2958 } 2959 #[repr(C)] 2960 #[cfg(feature = "Win32_Foundation")] 2961 pub struct NTMS_DRIVEINFORMATIONW { 2962 pub Number: u32, 2963 pub State: NtmsDriveState, 2964 pub DriveType: ::windows_sys::core::GUID, 2965 pub szDeviceName: [u16; 64], 2966 pub szSerialNumber: [u16; 32], 2967 pub szRevision: [u16; 32], 2968 pub ScsiPort: u16, 2969 pub ScsiBus: u16, 2970 pub ScsiTarget: u16, 2971 pub ScsiLun: u16, 2972 pub dwMountCount: u32, 2973 pub LastCleanedTs: super::super::Foundation::SYSTEMTIME, 2974 pub SavedPartitionId: ::windows_sys::core::GUID, 2975 pub Library: ::windows_sys::core::GUID, 2976 pub Reserved: ::windows_sys::core::GUID, 2977 pub dwDeferDismountDelay: u32, 2978 } 2979 #[cfg(feature = "Win32_Foundation")] 2980 impl ::core::marker::Copy for NTMS_DRIVEINFORMATIONW {} 2981 #[cfg(feature = "Win32_Foundation")] 2982 impl ::core::clone::Clone for NTMS_DRIVEINFORMATIONW { clone(&self) -> Self2983 fn clone(&self) -> Self { 2984 *self 2985 } 2986 } 2987 #[repr(C)] 2988 #[cfg(feature = "Win32_Foundation")] 2989 pub struct NTMS_DRIVETYPEINFORMATIONA { 2990 pub szVendor: [super::super::Foundation::CHAR; 128], 2991 pub szProduct: [super::super::Foundation::CHAR; 128], 2992 pub NumberOfHeads: u32, 2993 pub DeviceType: FILE_DEVICE_TYPE, 2994 } 2995 #[cfg(feature = "Win32_Foundation")] 2996 impl ::core::marker::Copy for NTMS_DRIVETYPEINFORMATIONA {} 2997 #[cfg(feature = "Win32_Foundation")] 2998 impl ::core::clone::Clone for NTMS_DRIVETYPEINFORMATIONA { clone(&self) -> Self2999 fn clone(&self) -> Self { 3000 *self 3001 } 3002 } 3003 #[repr(C)] 3004 pub struct NTMS_DRIVETYPEINFORMATIONW { 3005 pub szVendor: [u16; 128], 3006 pub szProduct: [u16; 128], 3007 pub NumberOfHeads: u32, 3008 pub DeviceType: FILE_DEVICE_TYPE, 3009 } 3010 impl ::core::marker::Copy for NTMS_DRIVETYPEINFORMATIONW {} 3011 impl ::core::clone::Clone for NTMS_DRIVETYPEINFORMATIONW { clone(&self) -> Self3012 fn clone(&self) -> Self { 3013 *self 3014 } 3015 } 3016 #[repr(C)] 3017 pub struct NTMS_FILESYSTEM_INFO { 3018 pub FileSystemType: [u16; 64], 3019 pub VolumeName: [u16; 256], 3020 pub SerialNumber: u32, 3021 } 3022 impl ::core::marker::Copy for NTMS_FILESYSTEM_INFO {} 3023 impl ::core::clone::Clone for NTMS_FILESYSTEM_INFO { clone(&self) -> Self3024 fn clone(&self) -> Self { 3025 *self 3026 } 3027 } 3028 #[repr(C)] 3029 #[cfg(feature = "Win32_Foundation")] 3030 pub struct NTMS_I1_LIBRARYINFORMATION { 3031 pub LibraryType: u32, 3032 pub CleanerSlot: ::windows_sys::core::GUID, 3033 pub CleanerSlotDefault: ::windows_sys::core::GUID, 3034 pub LibrarySupportsDriveCleaning: super::super::Foundation::BOOL, 3035 pub BarCodeReaderInstalled: super::super::Foundation::BOOL, 3036 pub InventoryMethod: u32, 3037 pub dwCleanerUsesRemaining: u32, 3038 pub FirstDriveNumber: u32, 3039 pub dwNumberOfDrives: u32, 3040 pub FirstSlotNumber: u32, 3041 pub dwNumberOfSlots: u32, 3042 pub FirstDoorNumber: u32, 3043 pub dwNumberOfDoors: u32, 3044 pub FirstPortNumber: u32, 3045 pub dwNumberOfPorts: u32, 3046 pub FirstChangerNumber: u32, 3047 pub dwNumberOfChangers: u32, 3048 pub dwNumberOfMedia: u32, 3049 pub dwNumberOfMediaTypes: u32, 3050 pub dwNumberOfLibRequests: u32, 3051 pub Reserved: ::windows_sys::core::GUID, 3052 } 3053 #[cfg(feature = "Win32_Foundation")] 3054 impl ::core::marker::Copy for NTMS_I1_LIBRARYINFORMATION {} 3055 #[cfg(feature = "Win32_Foundation")] 3056 impl ::core::clone::Clone for NTMS_I1_LIBRARYINFORMATION { clone(&self) -> Self3057 fn clone(&self) -> Self { 3058 *self 3059 } 3060 } 3061 #[repr(C)] 3062 #[cfg(feature = "Win32_Foundation")] 3063 pub struct NTMS_I1_LIBREQUESTINFORMATIONA { 3064 pub OperationCode: u32, 3065 pub OperationOption: u32, 3066 pub State: u32, 3067 pub PartitionId: ::windows_sys::core::GUID, 3068 pub DriveId: ::windows_sys::core::GUID, 3069 pub PhysMediaId: ::windows_sys::core::GUID, 3070 pub Library: ::windows_sys::core::GUID, 3071 pub SlotId: ::windows_sys::core::GUID, 3072 pub TimeQueued: super::super::Foundation::SYSTEMTIME, 3073 pub TimeCompleted: super::super::Foundation::SYSTEMTIME, 3074 pub szApplication: [super::super::Foundation::CHAR; 64], 3075 pub szUser: [super::super::Foundation::CHAR; 64], 3076 pub szComputer: [super::super::Foundation::CHAR; 64], 3077 } 3078 #[cfg(feature = "Win32_Foundation")] 3079 impl ::core::marker::Copy for NTMS_I1_LIBREQUESTINFORMATIONA {} 3080 #[cfg(feature = "Win32_Foundation")] 3081 impl ::core::clone::Clone for NTMS_I1_LIBREQUESTINFORMATIONA { clone(&self) -> Self3082 fn clone(&self) -> Self { 3083 *self 3084 } 3085 } 3086 #[repr(C)] 3087 #[cfg(feature = "Win32_Foundation")] 3088 pub struct NTMS_I1_LIBREQUESTINFORMATIONW { 3089 pub OperationCode: u32, 3090 pub OperationOption: u32, 3091 pub State: u32, 3092 pub PartitionId: ::windows_sys::core::GUID, 3093 pub DriveId: ::windows_sys::core::GUID, 3094 pub PhysMediaId: ::windows_sys::core::GUID, 3095 pub Library: ::windows_sys::core::GUID, 3096 pub SlotId: ::windows_sys::core::GUID, 3097 pub TimeQueued: super::super::Foundation::SYSTEMTIME, 3098 pub TimeCompleted: super::super::Foundation::SYSTEMTIME, 3099 pub szApplication: [u16; 64], 3100 pub szUser: [u16; 64], 3101 pub szComputer: [u16; 64], 3102 } 3103 #[cfg(feature = "Win32_Foundation")] 3104 impl ::core::marker::Copy for NTMS_I1_LIBREQUESTINFORMATIONW {} 3105 #[cfg(feature = "Win32_Foundation")] 3106 impl ::core::clone::Clone for NTMS_I1_LIBREQUESTINFORMATIONW { clone(&self) -> Self3107 fn clone(&self) -> Self { 3108 *self 3109 } 3110 } 3111 pub const NTMS_I1_MESSAGE_LENGTH: u32 = 127u32; 3112 #[repr(C)] 3113 #[cfg(feature = "Win32_Foundation")] 3114 pub struct NTMS_I1_OBJECTINFORMATIONA { 3115 pub dwSize: u32, 3116 pub dwType: u32, 3117 pub Created: super::super::Foundation::SYSTEMTIME, 3118 pub Modified: super::super::Foundation::SYSTEMTIME, 3119 pub ObjectGuid: ::windows_sys::core::GUID, 3120 pub Enabled: super::super::Foundation::BOOL, 3121 pub dwOperationalState: u32, 3122 pub szName: [super::super::Foundation::CHAR; 64], 3123 pub szDescription: [super::super::Foundation::CHAR; 127], 3124 pub Info: NTMS_I1_OBJECTINFORMATIONA_0, 3125 } 3126 #[cfg(feature = "Win32_Foundation")] 3127 impl ::core::marker::Copy for NTMS_I1_OBJECTINFORMATIONA {} 3128 #[cfg(feature = "Win32_Foundation")] 3129 impl ::core::clone::Clone for NTMS_I1_OBJECTINFORMATIONA { clone(&self) -> Self3130 fn clone(&self) -> Self { 3131 *self 3132 } 3133 } 3134 #[repr(C)] 3135 #[cfg(feature = "Win32_Foundation")] 3136 pub union NTMS_I1_OBJECTINFORMATIONA_0 { 3137 pub Drive: NTMS_DRIVEINFORMATIONA, 3138 pub DriveType: NTMS_DRIVETYPEINFORMATIONA, 3139 pub Library: NTMS_I1_LIBRARYINFORMATION, 3140 pub Changer: NTMS_CHANGERINFORMATIONA, 3141 pub ChangerType: NTMS_CHANGERTYPEINFORMATIONA, 3142 pub StorageSlot: NTMS_STORAGESLOTINFORMATION, 3143 pub IEDoor: NTMS_IEDOORINFORMATION, 3144 pub IEPort: NTMS_IEPORTINFORMATION, 3145 pub PhysicalMedia: NTMS_I1_PMIDINFORMATIONA, 3146 pub LogicalMedia: NTMS_LMIDINFORMATION, 3147 pub Partition: NTMS_I1_PARTITIONINFORMATIONA, 3148 pub MediaPool: NTMS_MEDIAPOOLINFORMATION, 3149 pub MediaType: NTMS_MEDIATYPEINFORMATION, 3150 pub LibRequest: NTMS_I1_LIBREQUESTINFORMATIONA, 3151 pub OpRequest: NTMS_I1_OPREQUESTINFORMATIONA, 3152 } 3153 #[cfg(feature = "Win32_Foundation")] 3154 impl ::core::marker::Copy for NTMS_I1_OBJECTINFORMATIONA_0 {} 3155 #[cfg(feature = "Win32_Foundation")] 3156 impl ::core::clone::Clone for NTMS_I1_OBJECTINFORMATIONA_0 { clone(&self) -> Self3157 fn clone(&self) -> Self { 3158 *self 3159 } 3160 } 3161 #[repr(C)] 3162 #[cfg(feature = "Win32_Foundation")] 3163 pub struct NTMS_I1_OBJECTINFORMATIONW { 3164 pub dwSize: u32, 3165 pub dwType: u32, 3166 pub Created: super::super::Foundation::SYSTEMTIME, 3167 pub Modified: super::super::Foundation::SYSTEMTIME, 3168 pub ObjectGuid: ::windows_sys::core::GUID, 3169 pub Enabled: super::super::Foundation::BOOL, 3170 pub dwOperationalState: u32, 3171 pub szName: [u16; 64], 3172 pub szDescription: [u16; 127], 3173 pub Info: NTMS_I1_OBJECTINFORMATIONW_0, 3174 } 3175 #[cfg(feature = "Win32_Foundation")] 3176 impl ::core::marker::Copy for NTMS_I1_OBJECTINFORMATIONW {} 3177 #[cfg(feature = "Win32_Foundation")] 3178 impl ::core::clone::Clone for NTMS_I1_OBJECTINFORMATIONW { clone(&self) -> Self3179 fn clone(&self) -> Self { 3180 *self 3181 } 3182 } 3183 #[repr(C)] 3184 #[cfg(feature = "Win32_Foundation")] 3185 pub union NTMS_I1_OBJECTINFORMATIONW_0 { 3186 pub Drive: NTMS_DRIVEINFORMATIONW, 3187 pub DriveType: NTMS_DRIVETYPEINFORMATIONW, 3188 pub Library: NTMS_I1_LIBRARYINFORMATION, 3189 pub Changer: NTMS_CHANGERINFORMATIONW, 3190 pub ChangerType: NTMS_CHANGERTYPEINFORMATIONW, 3191 pub StorageSlot: NTMS_STORAGESLOTINFORMATION, 3192 pub IEDoor: NTMS_IEDOORINFORMATION, 3193 pub IEPort: NTMS_IEPORTINFORMATION, 3194 pub PhysicalMedia: NTMS_I1_PMIDINFORMATIONW, 3195 pub LogicalMedia: NTMS_LMIDINFORMATION, 3196 pub Partition: NTMS_I1_PARTITIONINFORMATIONW, 3197 pub MediaPool: NTMS_MEDIAPOOLINFORMATION, 3198 pub MediaType: NTMS_MEDIATYPEINFORMATION, 3199 pub LibRequest: NTMS_I1_LIBREQUESTINFORMATIONW, 3200 pub OpRequest: NTMS_I1_OPREQUESTINFORMATIONW, 3201 } 3202 #[cfg(feature = "Win32_Foundation")] 3203 impl ::core::marker::Copy for NTMS_I1_OBJECTINFORMATIONW_0 {} 3204 #[cfg(feature = "Win32_Foundation")] 3205 impl ::core::clone::Clone for NTMS_I1_OBJECTINFORMATIONW_0 { clone(&self) -> Self3206 fn clone(&self) -> Self { 3207 *self 3208 } 3209 } 3210 #[repr(C)] 3211 #[cfg(feature = "Win32_Foundation")] 3212 pub struct NTMS_I1_OPREQUESTINFORMATIONA { 3213 pub Request: u32, 3214 pub Submitted: super::super::Foundation::SYSTEMTIME, 3215 pub State: u32, 3216 pub szMessage: [super::super::Foundation::CHAR; 127], 3217 pub Arg1Type: u32, 3218 pub Arg1: ::windows_sys::core::GUID, 3219 pub Arg2Type: u32, 3220 pub Arg2: ::windows_sys::core::GUID, 3221 pub szApplication: [super::super::Foundation::CHAR; 64], 3222 pub szUser: [super::super::Foundation::CHAR; 64], 3223 pub szComputer: [super::super::Foundation::CHAR; 64], 3224 } 3225 #[cfg(feature = "Win32_Foundation")] 3226 impl ::core::marker::Copy for NTMS_I1_OPREQUESTINFORMATIONA {} 3227 #[cfg(feature = "Win32_Foundation")] 3228 impl ::core::clone::Clone for NTMS_I1_OPREQUESTINFORMATIONA { clone(&self) -> Self3229 fn clone(&self) -> Self { 3230 *self 3231 } 3232 } 3233 #[repr(C)] 3234 #[cfg(feature = "Win32_Foundation")] 3235 pub struct NTMS_I1_OPREQUESTINFORMATIONW { 3236 pub Request: u32, 3237 pub Submitted: super::super::Foundation::SYSTEMTIME, 3238 pub State: u32, 3239 pub szMessage: [u16; 127], 3240 pub Arg1Type: u32, 3241 pub Arg1: ::windows_sys::core::GUID, 3242 pub Arg2Type: u32, 3243 pub Arg2: ::windows_sys::core::GUID, 3244 pub szApplication: [u16; 64], 3245 pub szUser: [u16; 64], 3246 pub szComputer: [u16; 64], 3247 } 3248 #[cfg(feature = "Win32_Foundation")] 3249 impl ::core::marker::Copy for NTMS_I1_OPREQUESTINFORMATIONW {} 3250 #[cfg(feature = "Win32_Foundation")] 3251 impl ::core::clone::Clone for NTMS_I1_OPREQUESTINFORMATIONW { clone(&self) -> Self3252 fn clone(&self) -> Self { 3253 *self 3254 } 3255 } 3256 #[repr(C)] 3257 #[cfg(feature = "Win32_Foundation")] 3258 pub struct NTMS_I1_PARTITIONINFORMATIONA { 3259 pub PhysicalMedia: ::windows_sys::core::GUID, 3260 pub LogicalMedia: ::windows_sys::core::GUID, 3261 pub State: u32, 3262 pub Side: u16, 3263 pub dwOmidLabelIdLength: u32, 3264 pub OmidLabelId: [u8; 255], 3265 pub szOmidLabelType: [super::super::Foundation::CHAR; 64], 3266 pub szOmidLabelInfo: [super::super::Foundation::CHAR; 256], 3267 pub dwMountCount: u32, 3268 pub dwAllocateCount: u32, 3269 } 3270 #[cfg(feature = "Win32_Foundation")] 3271 impl ::core::marker::Copy for NTMS_I1_PARTITIONINFORMATIONA {} 3272 #[cfg(feature = "Win32_Foundation")] 3273 impl ::core::clone::Clone for NTMS_I1_PARTITIONINFORMATIONA { clone(&self) -> Self3274 fn clone(&self) -> Self { 3275 *self 3276 } 3277 } 3278 #[repr(C)] 3279 pub struct NTMS_I1_PARTITIONINFORMATIONW { 3280 pub PhysicalMedia: ::windows_sys::core::GUID, 3281 pub LogicalMedia: ::windows_sys::core::GUID, 3282 pub State: u32, 3283 pub Side: u16, 3284 pub dwOmidLabelIdLength: u32, 3285 pub OmidLabelId: [u8; 255], 3286 pub szOmidLabelType: [u16; 64], 3287 pub szOmidLabelInfo: [u16; 256], 3288 pub dwMountCount: u32, 3289 pub dwAllocateCount: u32, 3290 } 3291 impl ::core::marker::Copy for NTMS_I1_PARTITIONINFORMATIONW {} 3292 impl ::core::clone::Clone for NTMS_I1_PARTITIONINFORMATIONW { clone(&self) -> Self3293 fn clone(&self) -> Self { 3294 *self 3295 } 3296 } 3297 #[repr(C)] 3298 #[cfg(feature = "Win32_Foundation")] 3299 pub struct NTMS_I1_PMIDINFORMATIONA { 3300 pub CurrentLibrary: ::windows_sys::core::GUID, 3301 pub MediaPool: ::windows_sys::core::GUID, 3302 pub Location: ::windows_sys::core::GUID, 3303 pub LocationType: u32, 3304 pub MediaType: ::windows_sys::core::GUID, 3305 pub HomeSlot: ::windows_sys::core::GUID, 3306 pub szBarCode: [super::super::Foundation::CHAR; 64], 3307 pub BarCodeState: u32, 3308 pub szSequenceNumber: [super::super::Foundation::CHAR; 32], 3309 pub MediaState: u32, 3310 pub dwNumberOfPartitions: u32, 3311 } 3312 #[cfg(feature = "Win32_Foundation")] 3313 impl ::core::marker::Copy for NTMS_I1_PMIDINFORMATIONA {} 3314 #[cfg(feature = "Win32_Foundation")] 3315 impl ::core::clone::Clone for NTMS_I1_PMIDINFORMATIONA { clone(&self) -> Self3316 fn clone(&self) -> Self { 3317 *self 3318 } 3319 } 3320 #[repr(C)] 3321 pub struct NTMS_I1_PMIDINFORMATIONW { 3322 pub CurrentLibrary: ::windows_sys::core::GUID, 3323 pub MediaPool: ::windows_sys::core::GUID, 3324 pub Location: ::windows_sys::core::GUID, 3325 pub LocationType: u32, 3326 pub MediaType: ::windows_sys::core::GUID, 3327 pub HomeSlot: ::windows_sys::core::GUID, 3328 pub szBarCode: [u16; 64], 3329 pub BarCodeState: u32, 3330 pub szSequenceNumber: [u16; 32], 3331 pub MediaState: u32, 3332 pub dwNumberOfPartitions: u32, 3333 } 3334 impl ::core::marker::Copy for NTMS_I1_PMIDINFORMATIONW {} 3335 impl ::core::clone::Clone for NTMS_I1_PMIDINFORMATIONW { clone(&self) -> Self3336 fn clone(&self) -> Self { 3337 *self 3338 } 3339 } 3340 #[repr(C)] 3341 pub struct NTMS_IEDOORINFORMATION { 3342 pub Number: u32, 3343 pub State: NtmsDoorState, 3344 pub MaxOpenSecs: u16, 3345 pub Library: ::windows_sys::core::GUID, 3346 } 3347 impl ::core::marker::Copy for NTMS_IEDOORINFORMATION {} 3348 impl ::core::clone::Clone for NTMS_IEDOORINFORMATION { clone(&self) -> Self3349 fn clone(&self) -> Self { 3350 *self 3351 } 3352 } 3353 #[repr(C)] 3354 pub struct NTMS_IEPORTINFORMATION { 3355 pub Number: u32, 3356 pub Content: NtmsPortContent, 3357 pub Position: NtmsPortPosition, 3358 pub MaxExtendSecs: u16, 3359 pub Library: ::windows_sys::core::GUID, 3360 } 3361 impl ::core::marker::Copy for NTMS_IEPORTINFORMATION {} 3362 impl ::core::clone::Clone for NTMS_IEPORTINFORMATION { clone(&self) -> Self3363 fn clone(&self) -> Self { 3364 *self 3365 } 3366 } 3367 #[repr(C)] 3368 #[cfg(feature = "Win32_Foundation")] 3369 pub struct NTMS_LIBRARYINFORMATION { 3370 pub LibraryType: NtmsLibraryType, 3371 pub CleanerSlot: ::windows_sys::core::GUID, 3372 pub CleanerSlotDefault: ::windows_sys::core::GUID, 3373 pub LibrarySupportsDriveCleaning: super::super::Foundation::BOOL, 3374 pub BarCodeReaderInstalled: super::super::Foundation::BOOL, 3375 pub InventoryMethod: NtmsInventoryMethod, 3376 pub dwCleanerUsesRemaining: u32, 3377 pub FirstDriveNumber: u32, 3378 pub dwNumberOfDrives: u32, 3379 pub FirstSlotNumber: u32, 3380 pub dwNumberOfSlots: u32, 3381 pub FirstDoorNumber: u32, 3382 pub dwNumberOfDoors: u32, 3383 pub FirstPortNumber: u32, 3384 pub dwNumberOfPorts: u32, 3385 pub FirstChangerNumber: u32, 3386 pub dwNumberOfChangers: u32, 3387 pub dwNumberOfMedia: u32, 3388 pub dwNumberOfMediaTypes: u32, 3389 pub dwNumberOfLibRequests: u32, 3390 pub Reserved: ::windows_sys::core::GUID, 3391 pub AutoRecovery: super::super::Foundation::BOOL, 3392 pub dwFlags: NtmsLibraryFlags, 3393 } 3394 #[cfg(feature = "Win32_Foundation")] 3395 impl ::core::marker::Copy for NTMS_LIBRARYINFORMATION {} 3396 #[cfg(feature = "Win32_Foundation")] 3397 impl ::core::clone::Clone for NTMS_LIBRARYINFORMATION { clone(&self) -> Self3398 fn clone(&self) -> Self { 3399 *self 3400 } 3401 } 3402 #[repr(C)] 3403 #[cfg(feature = "Win32_Foundation")] 3404 pub struct NTMS_LIBREQUESTINFORMATIONA { 3405 pub OperationCode: NtmsLmOperation, 3406 pub OperationOption: u32, 3407 pub State: NtmsLmState, 3408 pub PartitionId: ::windows_sys::core::GUID, 3409 pub DriveId: ::windows_sys::core::GUID, 3410 pub PhysMediaId: ::windows_sys::core::GUID, 3411 pub Library: ::windows_sys::core::GUID, 3412 pub SlotId: ::windows_sys::core::GUID, 3413 pub TimeQueued: super::super::Foundation::SYSTEMTIME, 3414 pub TimeCompleted: super::super::Foundation::SYSTEMTIME, 3415 pub szApplication: [super::super::Foundation::CHAR; 64], 3416 pub szUser: [super::super::Foundation::CHAR; 64], 3417 pub szComputer: [super::super::Foundation::CHAR; 64], 3418 pub dwErrorCode: u32, 3419 pub WorkItemId: ::windows_sys::core::GUID, 3420 pub dwPriority: u32, 3421 } 3422 #[cfg(feature = "Win32_Foundation")] 3423 impl ::core::marker::Copy for NTMS_LIBREQUESTINFORMATIONA {} 3424 #[cfg(feature = "Win32_Foundation")] 3425 impl ::core::clone::Clone for NTMS_LIBREQUESTINFORMATIONA { clone(&self) -> Self3426 fn clone(&self) -> Self { 3427 *self 3428 } 3429 } 3430 #[repr(C)] 3431 #[cfg(feature = "Win32_Foundation")] 3432 pub struct NTMS_LIBREQUESTINFORMATIONW { 3433 pub OperationCode: NtmsLmOperation, 3434 pub OperationOption: u32, 3435 pub State: NtmsLmState, 3436 pub PartitionId: ::windows_sys::core::GUID, 3437 pub DriveId: ::windows_sys::core::GUID, 3438 pub PhysMediaId: ::windows_sys::core::GUID, 3439 pub Library: ::windows_sys::core::GUID, 3440 pub SlotId: ::windows_sys::core::GUID, 3441 pub TimeQueued: super::super::Foundation::SYSTEMTIME, 3442 pub TimeCompleted: super::super::Foundation::SYSTEMTIME, 3443 pub szApplication: [u16; 64], 3444 pub szUser: [u16; 64], 3445 pub szComputer: [u16; 64], 3446 pub dwErrorCode: u32, 3447 pub WorkItemId: ::windows_sys::core::GUID, 3448 pub dwPriority: u32, 3449 } 3450 #[cfg(feature = "Win32_Foundation")] 3451 impl ::core::marker::Copy for NTMS_LIBREQUESTINFORMATIONW {} 3452 #[cfg(feature = "Win32_Foundation")] 3453 impl ::core::clone::Clone for NTMS_LIBREQUESTINFORMATIONW { clone(&self) -> Self3454 fn clone(&self) -> Self { 3455 *self 3456 } 3457 } 3458 #[repr(C)] 3459 pub struct NTMS_LMIDINFORMATION { 3460 pub MediaPool: ::windows_sys::core::GUID, 3461 pub dwNumberOfPartitions: u32, 3462 } 3463 impl ::core::marker::Copy for NTMS_LMIDINFORMATION {} 3464 impl ::core::clone::Clone for NTMS_LMIDINFORMATION { clone(&self) -> Self3465 fn clone(&self) -> Self { 3466 *self 3467 } 3468 } 3469 pub const NTMS_MAXATTR_LENGTH: u32 = 65536u32; 3470 pub const NTMS_MAXATTR_NAMELEN: u32 = 32u32; 3471 #[repr(C)] 3472 pub struct NTMS_MEDIAPOOLINFORMATION { 3473 pub PoolType: u32, 3474 pub MediaType: ::windows_sys::core::GUID, 3475 pub Parent: ::windows_sys::core::GUID, 3476 pub AllocationPolicy: u32, 3477 pub DeallocationPolicy: u32, 3478 pub dwMaxAllocates: u32, 3479 pub dwNumberOfPhysicalMedia: u32, 3480 pub dwNumberOfLogicalMedia: u32, 3481 pub dwNumberOfMediaPools: u32, 3482 } 3483 impl ::core::marker::Copy for NTMS_MEDIAPOOLINFORMATION {} 3484 impl ::core::clone::Clone for NTMS_MEDIAPOOLINFORMATION { clone(&self) -> Self3485 fn clone(&self) -> Self { 3486 *self 3487 } 3488 } 3489 #[repr(C)] 3490 pub struct NTMS_MEDIATYPEINFORMATION { 3491 pub MediaType: u32, 3492 pub NumberOfSides: u32, 3493 pub ReadWriteCharacteristics: NtmsReadWriteCharacteristics, 3494 pub DeviceType: FILE_DEVICE_TYPE, 3495 } 3496 impl ::core::marker::Copy for NTMS_MEDIATYPEINFORMATION {} 3497 impl ::core::clone::Clone for NTMS_MEDIATYPEINFORMATION { clone(&self) -> Self3498 fn clone(&self) -> Self { 3499 *self 3500 } 3501 } 3502 pub const NTMS_MESSAGE_LENGTH: u32 = 256u32; 3503 #[repr(C)] 3504 pub struct NTMS_MOUNT_INFORMATION { 3505 pub dwSize: u32, 3506 pub lpReserved: *mut ::core::ffi::c_void, 3507 } 3508 impl ::core::marker::Copy for NTMS_MOUNT_INFORMATION {} 3509 impl ::core::clone::Clone for NTMS_MOUNT_INFORMATION { clone(&self) -> Self3510 fn clone(&self) -> Self { 3511 *self 3512 } 3513 } 3514 #[repr(C)] 3515 pub struct NTMS_NOTIFICATIONINFORMATION { 3516 pub dwOperation: NtmsNotificationOperations, 3517 pub ObjectId: ::windows_sys::core::GUID, 3518 } 3519 impl ::core::marker::Copy for NTMS_NOTIFICATIONINFORMATION {} 3520 impl ::core::clone::Clone for NTMS_NOTIFICATIONINFORMATION { clone(&self) -> Self3521 fn clone(&self) -> Self { 3522 *self 3523 } 3524 } 3525 #[repr(C)] 3526 #[cfg(feature = "Win32_Foundation")] 3527 pub struct NTMS_OBJECTINFORMATIONA { 3528 pub dwSize: u32, 3529 pub dwType: NtmsObjectsTypes, 3530 pub Created: super::super::Foundation::SYSTEMTIME, 3531 pub Modified: super::super::Foundation::SYSTEMTIME, 3532 pub ObjectGuid: ::windows_sys::core::GUID, 3533 pub Enabled: super::super::Foundation::BOOL, 3534 pub dwOperationalState: NtmsOperationalState, 3535 pub szName: [super::super::Foundation::CHAR; 64], 3536 pub szDescription: [super::super::Foundation::CHAR; 127], 3537 pub Info: NTMS_OBJECTINFORMATIONA_0, 3538 } 3539 #[cfg(feature = "Win32_Foundation")] 3540 impl ::core::marker::Copy for NTMS_OBJECTINFORMATIONA {} 3541 #[cfg(feature = "Win32_Foundation")] 3542 impl ::core::clone::Clone for NTMS_OBJECTINFORMATIONA { clone(&self) -> Self3543 fn clone(&self) -> Self { 3544 *self 3545 } 3546 } 3547 #[repr(C)] 3548 #[cfg(feature = "Win32_Foundation")] 3549 pub union NTMS_OBJECTINFORMATIONA_0 { 3550 pub Drive: NTMS_DRIVEINFORMATIONA, 3551 pub DriveType: NTMS_DRIVETYPEINFORMATIONA, 3552 pub Library: NTMS_LIBRARYINFORMATION, 3553 pub Changer: NTMS_CHANGERINFORMATIONA, 3554 pub ChangerType: NTMS_CHANGERTYPEINFORMATIONA, 3555 pub StorageSlot: NTMS_STORAGESLOTINFORMATION, 3556 pub IEDoor: NTMS_IEDOORINFORMATION, 3557 pub IEPort: NTMS_IEPORTINFORMATION, 3558 pub PhysicalMedia: NTMS_PMIDINFORMATIONA, 3559 pub LogicalMedia: NTMS_LMIDINFORMATION, 3560 pub Partition: NTMS_PARTITIONINFORMATIONA, 3561 pub MediaPool: NTMS_MEDIAPOOLINFORMATION, 3562 pub MediaType: NTMS_MEDIATYPEINFORMATION, 3563 pub LibRequest: NTMS_LIBREQUESTINFORMATIONA, 3564 pub OpRequest: NTMS_OPREQUESTINFORMATIONA, 3565 pub Computer: NTMS_COMPUTERINFORMATION, 3566 } 3567 #[cfg(feature = "Win32_Foundation")] 3568 impl ::core::marker::Copy for NTMS_OBJECTINFORMATIONA_0 {} 3569 #[cfg(feature = "Win32_Foundation")] 3570 impl ::core::clone::Clone for NTMS_OBJECTINFORMATIONA_0 { clone(&self) -> Self3571 fn clone(&self) -> Self { 3572 *self 3573 } 3574 } 3575 #[repr(C)] 3576 #[cfg(feature = "Win32_Foundation")] 3577 pub struct NTMS_OBJECTINFORMATIONW { 3578 pub dwSize: u32, 3579 pub dwType: NtmsObjectsTypes, 3580 pub Created: super::super::Foundation::SYSTEMTIME, 3581 pub Modified: super::super::Foundation::SYSTEMTIME, 3582 pub ObjectGuid: ::windows_sys::core::GUID, 3583 pub Enabled: super::super::Foundation::BOOL, 3584 pub dwOperationalState: NtmsOperationalState, 3585 pub szName: [u16; 64], 3586 pub szDescription: [u16; 127], 3587 pub Info: NTMS_OBJECTINFORMATIONW_0, 3588 } 3589 #[cfg(feature = "Win32_Foundation")] 3590 impl ::core::marker::Copy for NTMS_OBJECTINFORMATIONW {} 3591 #[cfg(feature = "Win32_Foundation")] 3592 impl ::core::clone::Clone for NTMS_OBJECTINFORMATIONW { clone(&self) -> Self3593 fn clone(&self) -> Self { 3594 *self 3595 } 3596 } 3597 #[repr(C)] 3598 #[cfg(feature = "Win32_Foundation")] 3599 pub union NTMS_OBJECTINFORMATIONW_0 { 3600 pub Drive: NTMS_DRIVEINFORMATIONW, 3601 pub DriveType: NTMS_DRIVETYPEINFORMATIONW, 3602 pub Library: NTMS_LIBRARYINFORMATION, 3603 pub Changer: NTMS_CHANGERINFORMATIONW, 3604 pub ChangerType: NTMS_CHANGERTYPEINFORMATIONW, 3605 pub StorageSlot: NTMS_STORAGESLOTINFORMATION, 3606 pub IEDoor: NTMS_IEDOORINFORMATION, 3607 pub IEPort: NTMS_IEPORTINFORMATION, 3608 pub PhysicalMedia: NTMS_PMIDINFORMATIONW, 3609 pub LogicalMedia: NTMS_LMIDINFORMATION, 3610 pub Partition: NTMS_PARTITIONINFORMATIONW, 3611 pub MediaPool: NTMS_MEDIAPOOLINFORMATION, 3612 pub MediaType: NTMS_MEDIATYPEINFORMATION, 3613 pub LibRequest: NTMS_LIBREQUESTINFORMATIONW, 3614 pub OpRequest: NTMS_OPREQUESTINFORMATIONW, 3615 pub Computer: NTMS_COMPUTERINFORMATION, 3616 } 3617 #[cfg(feature = "Win32_Foundation")] 3618 impl ::core::marker::Copy for NTMS_OBJECTINFORMATIONW_0 {} 3619 #[cfg(feature = "Win32_Foundation")] 3620 impl ::core::clone::Clone for NTMS_OBJECTINFORMATIONW_0 { clone(&self) -> Self3621 fn clone(&self) -> Self { 3622 *self 3623 } 3624 } 3625 pub const NTMS_OBJECTNAME_LENGTH: u32 = 64u32; 3626 pub const NTMS_OMIDLABELID_LENGTH: u32 = 255u32; 3627 pub const NTMS_OMIDLABELINFO_LENGTH: u32 = 256u32; 3628 pub const NTMS_OMIDLABELTYPE_LENGTH: u32 = 64u32; 3629 pub type NTMS_OMID_TYPE = u32; 3630 pub const NTMS_OMID_TYPE_FILESYSTEM_INFO: NTMS_OMID_TYPE = 2u32; 3631 pub const NTMS_OMID_TYPE_RAW_LABEL: NTMS_OMID_TYPE = 1u32; 3632 #[repr(C)] 3633 #[cfg(feature = "Win32_Foundation")] 3634 pub struct NTMS_OPREQUESTINFORMATIONA { 3635 pub Request: NtmsOpreqCommand, 3636 pub Submitted: super::super::Foundation::SYSTEMTIME, 3637 pub State: NtmsOpreqState, 3638 pub szMessage: [super::super::Foundation::CHAR; 256], 3639 pub Arg1Type: NtmsObjectsTypes, 3640 pub Arg1: ::windows_sys::core::GUID, 3641 pub Arg2Type: NtmsObjectsTypes, 3642 pub Arg2: ::windows_sys::core::GUID, 3643 pub szApplication: [super::super::Foundation::CHAR; 64], 3644 pub szUser: [super::super::Foundation::CHAR; 64], 3645 pub szComputer: [super::super::Foundation::CHAR; 64], 3646 } 3647 #[cfg(feature = "Win32_Foundation")] 3648 impl ::core::marker::Copy for NTMS_OPREQUESTINFORMATIONA {} 3649 #[cfg(feature = "Win32_Foundation")] 3650 impl ::core::clone::Clone for NTMS_OPREQUESTINFORMATIONA { clone(&self) -> Self3651 fn clone(&self) -> Self { 3652 *self 3653 } 3654 } 3655 #[repr(C)] 3656 #[cfg(feature = "Win32_Foundation")] 3657 pub struct NTMS_OPREQUESTINFORMATIONW { 3658 pub Request: NtmsOpreqCommand, 3659 pub Submitted: super::super::Foundation::SYSTEMTIME, 3660 pub State: NtmsOpreqState, 3661 pub szMessage: [u16; 256], 3662 pub Arg1Type: NtmsObjectsTypes, 3663 pub Arg1: ::windows_sys::core::GUID, 3664 pub Arg2Type: NtmsObjectsTypes, 3665 pub Arg2: ::windows_sys::core::GUID, 3666 pub szApplication: [u16; 64], 3667 pub szUser: [u16; 64], 3668 pub szComputer: [u16; 64], 3669 } 3670 #[cfg(feature = "Win32_Foundation")] 3671 impl ::core::marker::Copy for NTMS_OPREQUESTINFORMATIONW {} 3672 #[cfg(feature = "Win32_Foundation")] 3673 impl ::core::clone::Clone for NTMS_OPREQUESTINFORMATIONW { clone(&self) -> Self3674 fn clone(&self) -> Self { 3675 *self 3676 } 3677 } 3678 #[repr(C)] 3679 #[cfg(feature = "Win32_Foundation")] 3680 pub struct NTMS_PARTITIONINFORMATIONA { 3681 pub PhysicalMedia: ::windows_sys::core::GUID, 3682 pub LogicalMedia: ::windows_sys::core::GUID, 3683 pub State: NtmsPartitionState, 3684 pub Side: u16, 3685 pub dwOmidLabelIdLength: u32, 3686 pub OmidLabelId: [u8; 255], 3687 pub szOmidLabelType: [super::super::Foundation::CHAR; 64], 3688 pub szOmidLabelInfo: [super::super::Foundation::CHAR; 256], 3689 pub dwMountCount: u32, 3690 pub dwAllocateCount: u32, 3691 pub Capacity: i64, 3692 } 3693 #[cfg(feature = "Win32_Foundation")] 3694 impl ::core::marker::Copy for NTMS_PARTITIONINFORMATIONA {} 3695 #[cfg(feature = "Win32_Foundation")] 3696 impl ::core::clone::Clone for NTMS_PARTITIONINFORMATIONA { clone(&self) -> Self3697 fn clone(&self) -> Self { 3698 *self 3699 } 3700 } 3701 #[repr(C)] 3702 pub struct NTMS_PARTITIONINFORMATIONW { 3703 pub PhysicalMedia: ::windows_sys::core::GUID, 3704 pub LogicalMedia: ::windows_sys::core::GUID, 3705 pub State: NtmsPartitionState, 3706 pub Side: u16, 3707 pub dwOmidLabelIdLength: u32, 3708 pub OmidLabelId: [u8; 255], 3709 pub szOmidLabelType: [u16; 64], 3710 pub szOmidLabelInfo: [u16; 256], 3711 pub dwMountCount: u32, 3712 pub dwAllocateCount: u32, 3713 pub Capacity: i64, 3714 } 3715 impl ::core::marker::Copy for NTMS_PARTITIONINFORMATIONW {} 3716 impl ::core::clone::Clone for NTMS_PARTITIONINFORMATIONW { clone(&self) -> Self3717 fn clone(&self) -> Self { 3718 *self 3719 } 3720 } 3721 #[repr(C)] 3722 #[cfg(feature = "Win32_Foundation")] 3723 pub struct NTMS_PMIDINFORMATIONA { 3724 pub CurrentLibrary: ::windows_sys::core::GUID, 3725 pub MediaPool: ::windows_sys::core::GUID, 3726 pub Location: ::windows_sys::core::GUID, 3727 pub LocationType: u32, 3728 pub MediaType: ::windows_sys::core::GUID, 3729 pub HomeSlot: ::windows_sys::core::GUID, 3730 pub szBarCode: [super::super::Foundation::CHAR; 64], 3731 pub BarCodeState: NtmsBarCodeState, 3732 pub szSequenceNumber: [super::super::Foundation::CHAR; 32], 3733 pub MediaState: NtmsMediaState, 3734 pub dwNumberOfPartitions: u32, 3735 pub dwMediaTypeCode: u32, 3736 pub dwDensityCode: u32, 3737 pub MountedPartition: ::windows_sys::core::GUID, 3738 } 3739 #[cfg(feature = "Win32_Foundation")] 3740 impl ::core::marker::Copy for NTMS_PMIDINFORMATIONA {} 3741 #[cfg(feature = "Win32_Foundation")] 3742 impl ::core::clone::Clone for NTMS_PMIDINFORMATIONA { clone(&self) -> Self3743 fn clone(&self) -> Self { 3744 *self 3745 } 3746 } 3747 #[repr(C)] 3748 pub struct NTMS_PMIDINFORMATIONW { 3749 pub CurrentLibrary: ::windows_sys::core::GUID, 3750 pub MediaPool: ::windows_sys::core::GUID, 3751 pub Location: ::windows_sys::core::GUID, 3752 pub LocationType: u32, 3753 pub MediaType: ::windows_sys::core::GUID, 3754 pub HomeSlot: ::windows_sys::core::GUID, 3755 pub szBarCode: [u16; 64], 3756 pub BarCodeState: NtmsBarCodeState, 3757 pub szSequenceNumber: [u16; 32], 3758 pub MediaState: NtmsMediaState, 3759 pub dwNumberOfPartitions: u32, 3760 pub dwMediaTypeCode: u32, 3761 pub dwDensityCode: u32, 3762 pub MountedPartition: ::windows_sys::core::GUID, 3763 } 3764 impl ::core::marker::Copy for NTMS_PMIDINFORMATIONW {} 3765 impl ::core::clone::Clone for NTMS_PMIDINFORMATIONW { clone(&self) -> Self3766 fn clone(&self) -> Self { 3767 *self 3768 } 3769 } 3770 pub const NTMS_POOLHIERARCHY_LENGTH: u32 = 512u32; 3771 pub const NTMS_PRODUCTNAME_LENGTH: u32 = 128u32; 3772 pub const NTMS_REVISION_LENGTH: u32 = 32u32; 3773 pub const NTMS_SEQUENCE_LENGTH: u32 = 32u32; 3774 pub const NTMS_SERIALNUMBER_LENGTH: u32 = 32u32; 3775 #[repr(C)] 3776 pub struct NTMS_STORAGESLOTINFORMATION { 3777 pub Number: u32, 3778 pub State: u32, 3779 pub Library: ::windows_sys::core::GUID, 3780 } 3781 impl ::core::marker::Copy for NTMS_STORAGESLOTINFORMATION {} 3782 impl ::core::clone::Clone for NTMS_STORAGESLOTINFORMATION { clone(&self) -> Self3783 fn clone(&self) -> Self { 3784 *self 3785 } 3786 } 3787 pub const NTMS_USERNAME_LENGTH: u32 = 64u32; 3788 pub const NTMS_VENDORNAME_LENGTH: u32 = 128u32; 3789 pub type NT_CREATE_FILE_DISPOSITION = u32; 3790 pub const FILE_SUPERSEDE: NT_CREATE_FILE_DISPOSITION = 0u32; 3791 pub const FILE_CREATE: NT_CREATE_FILE_DISPOSITION = 2u32; 3792 pub const FILE_OPEN: NT_CREATE_FILE_DISPOSITION = 1u32; 3793 pub const FILE_OPEN_IF: NT_CREATE_FILE_DISPOSITION = 3u32; 3794 pub const FILE_OVERWRITE: NT_CREATE_FILE_DISPOSITION = 4u32; 3795 pub const FILE_OVERWRITE_IF: NT_CREATE_FILE_DISPOSITION = 5u32; 3796 pub type NtmsAccessMask = i32; 3797 pub const NTMS_USE_ACCESS: NtmsAccessMask = 1i32; 3798 pub const NTMS_MODIFY_ACCESS: NtmsAccessMask = 2i32; 3799 pub const NTMS_CONTROL_ACCESS: NtmsAccessMask = 4i32; 3800 pub type NtmsAllocateOptions = i32; 3801 pub const NTMS_ALLOCATE_NEW: NtmsAllocateOptions = 1i32; 3802 pub const NTMS_ALLOCATE_NEXT: NtmsAllocateOptions = 2i32; 3803 pub const NTMS_ALLOCATE_ERROR_IF_UNAVAILABLE: NtmsAllocateOptions = 4i32; 3804 pub type NtmsAllocationPolicy = i32; 3805 pub const NTMS_ALLOCATE_FROMSCRATCH: NtmsAllocationPolicy = 1i32; 3806 pub type NtmsAsyncOperations = i32; 3807 pub const NTMS_ASYNCOP_MOUNT: NtmsAsyncOperations = 1i32; 3808 pub type NtmsAsyncStatus = i32; 3809 pub const NTMS_ASYNCSTATE_QUEUED: NtmsAsyncStatus = 0i32; 3810 pub const NTMS_ASYNCSTATE_WAIT_RESOURCE: NtmsAsyncStatus = 1i32; 3811 pub const NTMS_ASYNCSTATE_WAIT_OPERATOR: NtmsAsyncStatus = 2i32; 3812 pub const NTMS_ASYNCSTATE_INPROCESS: NtmsAsyncStatus = 3i32; 3813 pub const NTMS_ASYNCSTATE_COMPLETE: NtmsAsyncStatus = 4i32; 3814 pub type NtmsBarCodeState = i32; 3815 pub const NTMS_BARCODESTATE_OK: NtmsBarCodeState = 1i32; 3816 pub const NTMS_BARCODESTATE_UNREADABLE: NtmsBarCodeState = 2i32; 3817 pub type NtmsCreateNtmsMediaOptions = i32; 3818 pub const NTMS_ERROR_ON_DUPLICATE: NtmsCreateNtmsMediaOptions = 1i32; 3819 pub type NtmsCreateOptions = i32; 3820 pub const NTMS_OPEN_EXISTING: NtmsCreateOptions = 1i32; 3821 pub const NTMS_CREATE_NEW: NtmsCreateOptions = 2i32; 3822 pub const NTMS_OPEN_ALWAYS: NtmsCreateOptions = 3i32; 3823 pub type NtmsDeallocationPolicy = i32; 3824 pub const NTMS_DEALLOCATE_TOSCRATCH: NtmsDeallocationPolicy = 1i32; 3825 pub type NtmsDismountOptions = i32; 3826 pub const NTMS_DISMOUNT_DEFERRED: NtmsDismountOptions = 1i32; 3827 pub const NTMS_DISMOUNT_IMMEDIATE: NtmsDismountOptions = 2i32; 3828 pub type NtmsDoorState = i32; 3829 pub const NTMS_DOORSTATE_UNKNOWN: NtmsDoorState = 0i32; 3830 pub const NTMS_DOORSTATE_CLOSED: NtmsDoorState = 1i32; 3831 pub const NTMS_DOORSTATE_OPEN: NtmsDoorState = 2i32; 3832 pub type NtmsDriveState = i32; 3833 pub const NTMS_DRIVESTATE_DISMOUNTED: NtmsDriveState = 0i32; 3834 pub const NTMS_DRIVESTATE_MOUNTED: NtmsDriveState = 1i32; 3835 pub const NTMS_DRIVESTATE_LOADED: NtmsDriveState = 2i32; 3836 pub const NTMS_DRIVESTATE_UNLOADED: NtmsDriveState = 5i32; 3837 pub const NTMS_DRIVESTATE_BEING_CLEANED: NtmsDriveState = 6i32; 3838 pub const NTMS_DRIVESTATE_DISMOUNTABLE: NtmsDriveState = 7i32; 3839 pub type NtmsDriveType = i32; 3840 pub const NTMS_UNKNOWN_DRIVE: NtmsDriveType = 0i32; 3841 pub type NtmsEjectOperation = i32; 3842 pub const NTMS_EJECT_START: NtmsEjectOperation = 0i32; 3843 pub const NTMS_EJECT_STOP: NtmsEjectOperation = 1i32; 3844 pub const NTMS_EJECT_QUEUE: NtmsEjectOperation = 2i32; 3845 pub const NTMS_EJECT_FORCE: NtmsEjectOperation = 3i32; 3846 pub const NTMS_EJECT_IMMEDIATE: NtmsEjectOperation = 4i32; 3847 pub const NTMS_EJECT_ASK_USER: NtmsEjectOperation = 5i32; 3848 pub type NtmsEnumerateOption = i32; 3849 pub const NTMS_ENUM_DEFAULT: NtmsEnumerateOption = 0i32; 3850 pub const NTMS_ENUM_ROOTPOOL: NtmsEnumerateOption = 1i32; 3851 pub type NtmsInjectOperation = i32; 3852 pub const NTMS_INJECT_START: NtmsInjectOperation = 0i32; 3853 pub const NTMS_INJECT_STOP: NtmsInjectOperation = 1i32; 3854 pub const NTMS_INJECT_RETRACT: NtmsInjectOperation = 2i32; 3855 pub const NTMS_INJECT_STARTMANY: NtmsInjectOperation = 3i32; 3856 pub type NtmsInventoryMethod = i32; 3857 pub const NTMS_INVENTORY_NONE: NtmsInventoryMethod = 0i32; 3858 pub const NTMS_INVENTORY_FAST: NtmsInventoryMethod = 1i32; 3859 pub const NTMS_INVENTORY_OMID: NtmsInventoryMethod = 2i32; 3860 pub const NTMS_INVENTORY_DEFAULT: NtmsInventoryMethod = 3i32; 3861 pub const NTMS_INVENTORY_SLOT: NtmsInventoryMethod = 4i32; 3862 pub const NTMS_INVENTORY_STOP: NtmsInventoryMethod = 5i32; 3863 pub const NTMS_INVENTORY_MAX: NtmsInventoryMethod = 6i32; 3864 pub type NtmsLibRequestFlags = i32; 3865 pub const NTMS_LIBREQFLAGS_NOAUTOPURGE: NtmsLibRequestFlags = 1i32; 3866 pub const NTMS_LIBREQFLAGS_NOFAILEDPURGE: NtmsLibRequestFlags = 2i32; 3867 pub type NtmsLibraryFlags = i32; 3868 pub const NTMS_LIBRARYFLAG_FIXEDOFFLINE: NtmsLibraryFlags = 1i32; 3869 pub const NTMS_LIBRARYFLAG_CLEANERPRESENT: NtmsLibraryFlags = 2i32; 3870 pub const NTMS_LIBRARYFLAG_AUTODETECTCHANGE: NtmsLibraryFlags = 4i32; 3871 pub const NTMS_LIBRARYFLAG_IGNORECLEANERUSESREMAINING: NtmsLibraryFlags = 8i32; 3872 pub const NTMS_LIBRARYFLAG_RECOGNIZECLEANERBARCODE: NtmsLibraryFlags = 16i32; 3873 pub type NtmsLibraryType = i32; 3874 pub const NTMS_LIBRARYTYPE_UNKNOWN: NtmsLibraryType = 0i32; 3875 pub const NTMS_LIBRARYTYPE_OFFLINE: NtmsLibraryType = 1i32; 3876 pub const NTMS_LIBRARYTYPE_ONLINE: NtmsLibraryType = 2i32; 3877 pub const NTMS_LIBRARYTYPE_STANDALONE: NtmsLibraryType = 3i32; 3878 pub type NtmsLmOperation = i32; 3879 pub const NTMS_LM_REMOVE: NtmsLmOperation = 0i32; 3880 pub const NTMS_LM_DISABLECHANGER: NtmsLmOperation = 1i32; 3881 pub const NTMS_LM_DISABLELIBRARY: NtmsLmOperation = 1i32; 3882 pub const NTMS_LM_ENABLECHANGER: NtmsLmOperation = 2i32; 3883 pub const NTMS_LM_ENABLELIBRARY: NtmsLmOperation = 2i32; 3884 pub const NTMS_LM_DISABLEDRIVE: NtmsLmOperation = 3i32; 3885 pub const NTMS_LM_ENABLEDRIVE: NtmsLmOperation = 4i32; 3886 pub const NTMS_LM_DISABLEMEDIA: NtmsLmOperation = 5i32; 3887 pub const NTMS_LM_ENABLEMEDIA: NtmsLmOperation = 6i32; 3888 pub const NTMS_LM_UPDATEOMID: NtmsLmOperation = 7i32; 3889 pub const NTMS_LM_INVENTORY: NtmsLmOperation = 8i32; 3890 pub const NTMS_LM_DOORACCESS: NtmsLmOperation = 9i32; 3891 pub const NTMS_LM_EJECT: NtmsLmOperation = 10i32; 3892 pub const NTMS_LM_EJECTCLEANER: NtmsLmOperation = 11i32; 3893 pub const NTMS_LM_INJECT: NtmsLmOperation = 12i32; 3894 pub const NTMS_LM_INJECTCLEANER: NtmsLmOperation = 13i32; 3895 pub const NTMS_LM_PROCESSOMID: NtmsLmOperation = 14i32; 3896 pub const NTMS_LM_CLEANDRIVE: NtmsLmOperation = 15i32; 3897 pub const NTMS_LM_DISMOUNT: NtmsLmOperation = 16i32; 3898 pub const NTMS_LM_MOUNT: NtmsLmOperation = 17i32; 3899 pub const NTMS_LM_WRITESCRATCH: NtmsLmOperation = 18i32; 3900 pub const NTMS_LM_CLASSIFY: NtmsLmOperation = 19i32; 3901 pub const NTMS_LM_RESERVECLEANER: NtmsLmOperation = 20i32; 3902 pub const NTMS_LM_RELEASECLEANER: NtmsLmOperation = 21i32; 3903 pub const NTMS_LM_MAXWORKITEM: NtmsLmOperation = 22i32; 3904 pub type NtmsLmState = i32; 3905 pub const NTMS_LM_QUEUED: NtmsLmState = 0i32; 3906 pub const NTMS_LM_INPROCESS: NtmsLmState = 1i32; 3907 pub const NTMS_LM_PASSED: NtmsLmState = 2i32; 3908 pub const NTMS_LM_FAILED: NtmsLmState = 3i32; 3909 pub const NTMS_LM_INVALID: NtmsLmState = 4i32; 3910 pub const NTMS_LM_WAITING: NtmsLmState = 5i32; 3911 pub const NTMS_LM_DEFERRED: NtmsLmState = 6i32; 3912 pub const NTMS_LM_DEFFERED: NtmsLmState = 6i32; 3913 pub const NTMS_LM_CANCELLED: NtmsLmState = 7i32; 3914 pub const NTMS_LM_STOPPED: NtmsLmState = 8i32; 3915 pub type NtmsMediaPoolPolicy = i32; 3916 pub const NTMS_POOLPOLICY_PURGEOFFLINESCRATCH: NtmsMediaPoolPolicy = 1i32; 3917 pub const NTMS_POOLPOLICY_KEEPOFFLINEIMPORT: NtmsMediaPoolPolicy = 2i32; 3918 pub type NtmsMediaState = i32; 3919 pub const NTMS_MEDIASTATE_IDLE: NtmsMediaState = 0i32; 3920 pub const NTMS_MEDIASTATE_INUSE: NtmsMediaState = 1i32; 3921 pub const NTMS_MEDIASTATE_MOUNTED: NtmsMediaState = 2i32; 3922 pub const NTMS_MEDIASTATE_LOADED: NtmsMediaState = 3i32; 3923 pub const NTMS_MEDIASTATE_UNLOADED: NtmsMediaState = 4i32; 3924 pub const NTMS_MEDIASTATE_OPERROR: NtmsMediaState = 5i32; 3925 pub const NTMS_MEDIASTATE_OPREQ: NtmsMediaState = 6i32; 3926 pub type NtmsMountOptions = i32; 3927 pub const NTMS_MOUNT_READ: NtmsMountOptions = 1i32; 3928 pub const NTMS_MOUNT_WRITE: NtmsMountOptions = 2i32; 3929 pub const NTMS_MOUNT_ERROR_NOT_AVAILABLE: NtmsMountOptions = 4i32; 3930 pub const NTMS_MOUNT_ERROR_IF_UNAVAILABLE: NtmsMountOptions = 4i32; 3931 pub const NTMS_MOUNT_ERROR_OFFLINE: NtmsMountOptions = 8i32; 3932 pub const NTMS_MOUNT_ERROR_IF_OFFLINE: NtmsMountOptions = 8i32; 3933 pub const NTMS_MOUNT_SPECIFIC_DRIVE: NtmsMountOptions = 16i32; 3934 pub const NTMS_MOUNT_NOWAIT: NtmsMountOptions = 32i32; 3935 pub type NtmsMountPriority = i32; 3936 pub const NTMS_PRIORITY_DEFAULT: NtmsMountPriority = 0i32; 3937 pub const NTMS_PRIORITY_HIGHEST: NtmsMountPriority = 15i32; 3938 pub const NTMS_PRIORITY_HIGH: NtmsMountPriority = 7i32; 3939 pub const NTMS_PRIORITY_NORMAL: NtmsMountPriority = 0i32; 3940 pub const NTMS_PRIORITY_LOW: NtmsMountPriority = -7i32; 3941 pub const NTMS_PRIORITY_LOWEST: NtmsMountPriority = -15i32; 3942 pub type NtmsNotificationOperations = i32; 3943 pub const NTMS_OBJ_UPDATE: NtmsNotificationOperations = 1i32; 3944 pub const NTMS_OBJ_INSERT: NtmsNotificationOperations = 2i32; 3945 pub const NTMS_OBJ_DELETE: NtmsNotificationOperations = 3i32; 3946 pub const NTMS_EVENT_SIGNAL: NtmsNotificationOperations = 4i32; 3947 pub const NTMS_EVENT_COMPLETE: NtmsNotificationOperations = 5i32; 3948 pub type NtmsObjectsTypes = i32; 3949 pub const NTMS_UNKNOWN: NtmsObjectsTypes = 0i32; 3950 pub const NTMS_OBJECT: NtmsObjectsTypes = 1i32; 3951 pub const NTMS_CHANGER: NtmsObjectsTypes = 2i32; 3952 pub const NTMS_CHANGER_TYPE: NtmsObjectsTypes = 3i32; 3953 pub const NTMS_COMPUTER: NtmsObjectsTypes = 4i32; 3954 pub const NTMS_DRIVE: NtmsObjectsTypes = 5i32; 3955 pub const NTMS_DRIVE_TYPE: NtmsObjectsTypes = 6i32; 3956 pub const NTMS_IEDOOR: NtmsObjectsTypes = 7i32; 3957 pub const NTMS_IEPORT: NtmsObjectsTypes = 8i32; 3958 pub const NTMS_LIBRARY: NtmsObjectsTypes = 9i32; 3959 pub const NTMS_LIBREQUEST: NtmsObjectsTypes = 10i32; 3960 pub const NTMS_LOGICAL_MEDIA: NtmsObjectsTypes = 11i32; 3961 pub const NTMS_MEDIA_POOL: NtmsObjectsTypes = 12i32; 3962 pub const NTMS_MEDIA_TYPE: NtmsObjectsTypes = 13i32; 3963 pub const NTMS_PARTITION: NtmsObjectsTypes = 14i32; 3964 pub const NTMS_PHYSICAL_MEDIA: NtmsObjectsTypes = 15i32; 3965 pub const NTMS_STORAGESLOT: NtmsObjectsTypes = 16i32; 3966 pub const NTMS_OPREQUEST: NtmsObjectsTypes = 17i32; 3967 pub const NTMS_UI_DESTINATION: NtmsObjectsTypes = 18i32; 3968 pub const NTMS_NUMBER_OF_OBJECT_TYPES: NtmsObjectsTypes = 19i32; 3969 pub type NtmsOpRequestFlags = i32; 3970 pub const NTMS_OPREQFLAGS_NOAUTOPURGE: NtmsOpRequestFlags = 1i32; 3971 pub const NTMS_OPREQFLAGS_NOFAILEDPURGE: NtmsOpRequestFlags = 2i32; 3972 pub const NTMS_OPREQFLAGS_NOALERTS: NtmsOpRequestFlags = 16i32; 3973 pub const NTMS_OPREQFLAGS_NOTRAYICON: NtmsOpRequestFlags = 32i32; 3974 pub type NtmsOperationalState = i32; 3975 pub const NTMS_READY: NtmsOperationalState = 0i32; 3976 pub const NTMS_INITIALIZING: NtmsOperationalState = 10i32; 3977 pub const NTMS_NEEDS_SERVICE: NtmsOperationalState = 20i32; 3978 pub const NTMS_NOT_PRESENT: NtmsOperationalState = 21i32; 3979 pub type NtmsOpreqCommand = i32; 3980 pub const NTMS_OPREQ_UNKNOWN: NtmsOpreqCommand = 0i32; 3981 pub const NTMS_OPREQ_NEWMEDIA: NtmsOpreqCommand = 1i32; 3982 pub const NTMS_OPREQ_CLEANER: NtmsOpreqCommand = 2i32; 3983 pub const NTMS_OPREQ_DEVICESERVICE: NtmsOpreqCommand = 3i32; 3984 pub const NTMS_OPREQ_MOVEMEDIA: NtmsOpreqCommand = 4i32; 3985 pub const NTMS_OPREQ_MESSAGE: NtmsOpreqCommand = 5i32; 3986 pub type NtmsOpreqState = i32; 3987 pub const NTMS_OPSTATE_UNKNOWN: NtmsOpreqState = 0i32; 3988 pub const NTMS_OPSTATE_SUBMITTED: NtmsOpreqState = 1i32; 3989 pub const NTMS_OPSTATE_ACTIVE: NtmsOpreqState = 2i32; 3990 pub const NTMS_OPSTATE_INPROGRESS: NtmsOpreqState = 3i32; 3991 pub const NTMS_OPSTATE_REFUSED: NtmsOpreqState = 4i32; 3992 pub const NTMS_OPSTATE_COMPLETE: NtmsOpreqState = 5i32; 3993 pub type NtmsPartitionState = i32; 3994 pub const NTMS_PARTSTATE_UNKNOWN: NtmsPartitionState = 0i32; 3995 pub const NTMS_PARTSTATE_UNPREPARED: NtmsPartitionState = 1i32; 3996 pub const NTMS_PARTSTATE_INCOMPATIBLE: NtmsPartitionState = 2i32; 3997 pub const NTMS_PARTSTATE_DECOMMISSIONED: NtmsPartitionState = 3i32; 3998 pub const NTMS_PARTSTATE_AVAILABLE: NtmsPartitionState = 4i32; 3999 pub const NTMS_PARTSTATE_ALLOCATED: NtmsPartitionState = 5i32; 4000 pub const NTMS_PARTSTATE_COMPLETE: NtmsPartitionState = 6i32; 4001 pub const NTMS_PARTSTATE_FOREIGN: NtmsPartitionState = 7i32; 4002 pub const NTMS_PARTSTATE_IMPORT: NtmsPartitionState = 8i32; 4003 pub const NTMS_PARTSTATE_RESERVED: NtmsPartitionState = 9i32; 4004 pub type NtmsPoolType = i32; 4005 pub const NTMS_POOLTYPE_UNKNOWN: NtmsPoolType = 0i32; 4006 pub const NTMS_POOLTYPE_SCRATCH: NtmsPoolType = 1i32; 4007 pub const NTMS_POOLTYPE_FOREIGN: NtmsPoolType = 2i32; 4008 pub const NTMS_POOLTYPE_IMPORT: NtmsPoolType = 3i32; 4009 pub const NTMS_POOLTYPE_APPLICATION: NtmsPoolType = 1000i32; 4010 pub type NtmsPortContent = i32; 4011 pub const NTMS_PORTCONTENT_UNKNOWN: NtmsPortContent = 0i32; 4012 pub const NTMS_PORTCONTENT_FULL: NtmsPortContent = 1i32; 4013 pub const NTMS_PORTCONTENT_EMPTY: NtmsPortContent = 2i32; 4014 pub type NtmsPortPosition = i32; 4015 pub const NTMS_PORTPOSITION_UNKNOWN: NtmsPortPosition = 0i32; 4016 pub const NTMS_PORTPOSITION_EXTENDED: NtmsPortPosition = 1i32; 4017 pub const NTMS_PORTPOSITION_RETRACTED: NtmsPortPosition = 2i32; 4018 pub type NtmsReadWriteCharacteristics = i32; 4019 pub const NTMS_MEDIARW_UNKNOWN: NtmsReadWriteCharacteristics = 0i32; 4020 pub const NTMS_MEDIARW_REWRITABLE: NtmsReadWriteCharacteristics = 1i32; 4021 pub const NTMS_MEDIARW_WRITEONCE: NtmsReadWriteCharacteristics = 2i32; 4022 pub const NTMS_MEDIARW_READONLY: NtmsReadWriteCharacteristics = 3i32; 4023 pub type NtmsSessionOptions = i32; 4024 pub const NTMS_SESSION_QUERYEXPEDITE: NtmsSessionOptions = 1i32; 4025 pub type NtmsSlotState = i32; 4026 pub const NTMS_SLOTSTATE_UNKNOWN: NtmsSlotState = 0i32; 4027 pub const NTMS_SLOTSTATE_FULL: NtmsSlotState = 1i32; 4028 pub const NTMS_SLOTSTATE_EMPTY: NtmsSlotState = 2i32; 4029 pub const NTMS_SLOTSTATE_NOTPRESENT: NtmsSlotState = 3i32; 4030 pub const NTMS_SLOTSTATE_NEEDSINVENTORY: NtmsSlotState = 4i32; 4031 pub type NtmsUIOperations = i32; 4032 pub const NTMS_UIDEST_ADD: NtmsUIOperations = 1i32; 4033 pub const NTMS_UIDEST_DELETE: NtmsUIOperations = 2i32; 4034 pub const NTMS_UIDEST_DELETEALL: NtmsUIOperations = 3i32; 4035 pub const NTMS_UIOPERATION_MAX: NtmsUIOperations = 4i32; 4036 pub type NtmsUITypes = i32; 4037 pub const NTMS_UITYPE_INVALID: NtmsUITypes = 0i32; 4038 pub const NTMS_UITYPE_INFO: NtmsUITypes = 1i32; 4039 pub const NTMS_UITYPE_REQ: NtmsUITypes = 2i32; 4040 pub const NTMS_UITYPE_ERR: NtmsUITypes = 3i32; 4041 pub const NTMS_UITYPE_MAX: NtmsUITypes = 4i32; 4042 #[repr(C)] 4043 #[cfg(feature = "Win32_Foundation")] 4044 pub struct OFSTRUCT { 4045 pub cBytes: u8, 4046 pub fFixedDisk: u8, 4047 pub nErrCode: u16, 4048 pub Reserved1: u16, 4049 pub Reserved2: u16, 4050 pub szPathName: [super::super::Foundation::CHAR; 128], 4051 } 4052 #[cfg(feature = "Win32_Foundation")] 4053 impl ::core::marker::Copy for OFSTRUCT {} 4054 #[cfg(feature = "Win32_Foundation")] 4055 impl ::core::clone::Clone for OFSTRUCT { clone(&self) -> Self4056 fn clone(&self) -> Self { 4057 *self 4058 } 4059 } 4060 pub const PARTITION_BASIC_DATA_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { 4061 data1: 3956318370, 4062 data2: 47589, 4063 data3: 17459, 4064 data4: [135, 192, 104, 182, 183, 38, 153, 199], 4065 }; 4066 pub const PARTITION_BSP_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1464029011, data2: 19961, data3: 17849, data4: [142, 158, 35, 112, 240, 6, 69, 124] }; 4067 pub const PARTITION_CLUSTER_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { 4068 data1: 3684162473, 4069 data2: 2112, 4070 data3: 19374, 4071 data4: [151, 240, 255, 185, 163, 39, 199, 225], 4072 }; 4073 pub const PARTITION_DPP_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { 4074 data1: 1464029011, 4075 data2: 38091, 4076 data3: 17392, 4077 data4: [165, 51, 215, 60, 16, 207, 165, 125], 4078 }; 4079 pub const PARTITION_ENTRY_UNUSED_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 0, data2: 0, data3: 0, data4: [0, 0, 0, 0, 0, 0, 0, 0] }; 4080 pub const PARTITION_LDM_DATA_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2946195616, data2: 5169, data3: 20322, data4: [188, 104, 51, 17, 113, 74, 105, 173] }; 4081 pub const PARTITION_LDM_METADATA_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { 4082 data1: 1476970666, 4083 data2: 32399, 4084 data3: 17120, 4085 data4: [133, 210, 225, 233, 4, 52, 207, 179], 4086 }; 4087 pub const PARTITION_LEGACY_BL_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { 4088 data1: 1112318178, 4089 data2: 31922, 4090 data3: 20409, 4091 data4: [129, 67, 197, 42, 153, 57, 139, 198], 4092 }; 4093 pub const PARTITION_LEGACY_BL_GUID_BACKUP: ::windows_sys::core::GUID = ::windows_sys::core::GUID { 4094 data1: 1112292972, 4095 data2: 55199, 4096 data3: 18891, 4097 data4: [147, 93, 54, 215, 20, 103, 162, 136], 4098 }; 4099 pub const PARTITION_MAIN_OS_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1464029011, data2: 36677, data3: 16478, data4: [138, 35, 24, 109, 138, 67, 48, 211] }; 4100 pub const PARTITION_MSFT_RECOVERY_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { 4101 data1: 3734289316, 4102 data2: 1745, 4103 data3: 19776, 4104 data4: [161, 106, 191, 213, 1, 121, 214, 172], 4105 }; 4106 pub const PARTITION_MSFT_RESERVED_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3821658902, data2: 2908, data3: 19896, data4: [129, 125, 249, 45, 240, 2, 21, 174] }; 4107 pub const PARTITION_MSFT_SNAPSHOT_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3403541489, data2: 17408, data3: 19944, data4: [177, 3, 18, 17, 125, 207, 60, 207] }; 4108 pub const PARTITION_OS_DATA_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1464029011, data2: 9202, data3: 17621, data4: [168, 48, 103, 187, 218, 166, 9, 249] }; 4109 pub const PARTITION_PATCH_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2305271430, data2: 38570, data3: 27304, data4: [149, 137, 168, 66, 86, 84, 16, 144] }; 4110 pub const PARTITION_PRE_INSTALLED_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1464029011, data2: 32736, data3: 16790, data4: [155, 66, 66, 123, 81, 100, 52, 132] }; 4111 pub const PARTITION_SERVICING_FILES_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { 4112 data1: 1464029011, 4113 data2: 17198, 4114 data3: 16404, 4115 data4: [174, 76, 141, 234, 169, 192, 0, 106], 4116 }; 4117 pub const PARTITION_SERVICING_METADATA_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { 4118 data1: 1464029011, 4119 data2: 50833, 4120 data3: 18949, 4121 data4: [187, 78, 112, 61, 175, 210, 41, 206], 4122 }; 4123 pub const PARTITION_SERVICING_RESERVE_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { 4124 data1: 1464029011, 4125 data2: 19329, 4126 data3: 17931, 4127 data4: [163, 25, 255, 182, 254, 19, 109, 20], 4128 }; 4129 pub const PARTITION_SERVICING_STAGING_ROOT_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { 4130 data1: 1464029011, 4131 data2: 59469, 4132 data3: 20100, 4133 data4: [170, 243, 236, 187, 189, 4, 185, 223], 4134 }; 4135 pub const PARTITION_SPACES_DATA_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { 4136 data1: 3886931124, 4137 data2: 56372, 4138 data3: 17721, 4139 data4: [154, 118, 235, 189, 7, 190, 111, 126], 4140 }; 4141 pub const PARTITION_SPACES_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { 4142 data1: 3881611151, 4143 data2: 63104, 4144 data3: 19694, 4145 data4: [175, 163, 176, 1, 229, 110, 252, 45], 4146 }; 4147 pub const PARTITION_SYSTEM_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3240784680, data2: 63519, data3: 4562, data4: [186, 75, 0, 160, 201, 62, 201, 59] }; 4148 pub const PARTITION_WINDOWS_SYSTEM_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { 4149 data1: 1464029011, 4150 data2: 58339, 4151 data3: 17969, 4152 data4: [165, 197, 38, 210, 36, 56, 115, 170], 4153 }; 4154 pub type PCLFS_COMPLETION_ROUTINE = unsafe extern "system" fn(pvoverlapped: *mut ::core::ffi::c_void, ulreserved: u32); 4155 #[cfg(feature = "Win32_Foundation")] 4156 pub type PCOPYFILE2_PROGRESS_ROUTINE = unsafe extern "system" fn(pmessage: *const COPYFILE2_MESSAGE, pvcallbackcontext: *const ::core::ffi::c_void) -> COPYFILE2_MESSAGE_ACTION; 4157 pub type PFE_EXPORT_FUNC = unsafe extern "system" fn(pbdata: *const u8, pvcallbackcontext: *const ::core::ffi::c_void, ullength: u32) -> u32; 4158 pub type PFE_IMPORT_FUNC = unsafe extern "system" fn(pbdata: *mut u8, pvcallbackcontext: *const ::core::ffi::c_void, ullength: *mut u32) -> u32; 4159 #[cfg(feature = "Win32_Foundation")] 4160 pub type PFN_IO_COMPLETION = unsafe extern "system" fn(pcontext: *mut FIO_CONTEXT, lpo: *mut FH_OVERLAPPED, cb: u32, dwcompletionstatus: u32); 4161 #[cfg(feature = "Win32_Foundation")] 4162 pub type PLOG_FULL_HANDLER_CALLBACK = unsafe extern "system" fn(hlogfile: super::super::Foundation::HANDLE, dwerror: u32, flogispinned: super::super::Foundation::BOOL, pvclientcontext: *mut ::core::ffi::c_void); 4163 #[cfg(feature = "Win32_Foundation")] 4164 pub type PLOG_TAIL_ADVANCE_CALLBACK = unsafe extern "system" fn(hlogfile: super::super::Foundation::HANDLE, lsntarget: CLS_LSN, pvclientcontext: *mut ::core::ffi::c_void); 4165 #[cfg(feature = "Win32_Foundation")] 4166 pub type PLOG_UNPINNED_CALLBACK = unsafe extern "system" fn(hlogfile: super::super::Foundation::HANDLE, pvclientcontext: *mut ::core::ffi::c_void); 4167 pub type PREPARE_TAPE_OPERATION = i32; 4168 pub const TAPE_FORMAT: PREPARE_TAPE_OPERATION = 5i32; 4169 pub const TAPE_LOAD: PREPARE_TAPE_OPERATION = 0i32; 4170 pub const TAPE_LOCK: PREPARE_TAPE_OPERATION = 3i32; 4171 pub const TAPE_TENSION: PREPARE_TAPE_OPERATION = 2i32; 4172 pub const TAPE_UNLOAD: PREPARE_TAPE_OPERATION = 1i32; 4173 pub const TAPE_UNLOCK: PREPARE_TAPE_OPERATION = 4i32; 4174 pub type PRIORITY_HINT = i32; 4175 pub const IoPriorityHintVeryLow: PRIORITY_HINT = 0i32; 4176 pub const IoPriorityHintLow: PRIORITY_HINT = 1i32; 4177 pub const IoPriorityHintNormal: PRIORITY_HINT = 2i32; 4178 pub const MaximumIoPriorityHintType: PRIORITY_HINT = 3i32; 4179 pub type READ_DIRECTORY_NOTIFY_INFORMATION_CLASS = i32; 4180 pub const ReadDirectoryNotifyInformation: READ_DIRECTORY_NOTIFY_INFORMATION_CLASS = 1i32; 4181 pub const ReadDirectoryNotifyExtendedInformation: READ_DIRECTORY_NOTIFY_INFORMATION_CLASS = 2i32; 4182 #[repr(C)] 4183 pub struct REPARSE_GUID_DATA_BUFFER { 4184 pub ReparseTag: u32, 4185 pub ReparseDataLength: u16, 4186 pub Reserved: u16, 4187 pub ReparseGuid: ::windows_sys::core::GUID, 4188 pub GenericReparseBuffer: REPARSE_GUID_DATA_BUFFER_0, 4189 } 4190 impl ::core::marker::Copy for REPARSE_GUID_DATA_BUFFER {} 4191 impl ::core::clone::Clone for REPARSE_GUID_DATA_BUFFER { clone(&self) -> Self4192 fn clone(&self) -> Self { 4193 *self 4194 } 4195 } 4196 #[repr(C)] 4197 pub struct REPARSE_GUID_DATA_BUFFER_0 { 4198 pub DataBuffer: [u8; 1], 4199 } 4200 impl ::core::marker::Copy for REPARSE_GUID_DATA_BUFFER_0 {} 4201 impl ::core::clone::Clone for REPARSE_GUID_DATA_BUFFER_0 { clone(&self) -> Self4202 fn clone(&self) -> Self { 4203 *self 4204 } 4205 } 4206 pub type REPLACE_FILE_FLAGS = u32; 4207 pub const REPLACEFILE_WRITE_THROUGH: REPLACE_FILE_FLAGS = 1u32; 4208 pub const REPLACEFILE_IGNORE_MERGE_ERRORS: REPLACE_FILE_FLAGS = 2u32; 4209 pub const REPLACEFILE_IGNORE_ACL_ERRORS: REPLACE_FILE_FLAGS = 4u32; 4210 pub const RESOURCE_MANAGER_COMMUNICATION: u32 = 2u32; 4211 pub const RESOURCE_MANAGER_MAXIMUM_OPTION: u32 = 3u32; 4212 pub const RESOURCE_MANAGER_VOLATILE: u32 = 1u32; 4213 #[repr(C)] 4214 #[cfg(feature = "Win32_Foundation")] 4215 pub struct SERVER_ALIAS_INFO_0 { 4216 pub srvai0_alias: super::super::Foundation::PWSTR, 4217 pub srvai0_target: super::super::Foundation::PWSTR, 4218 pub srvai0_default: super::super::Foundation::BOOLEAN, 4219 pub srvai0_reserved: u32, 4220 } 4221 #[cfg(feature = "Win32_Foundation")] 4222 impl ::core::marker::Copy for SERVER_ALIAS_INFO_0 {} 4223 #[cfg(feature = "Win32_Foundation")] 4224 impl ::core::clone::Clone for SERVER_ALIAS_INFO_0 { clone(&self) -> Self4225 fn clone(&self) -> Self { 4226 *self 4227 } 4228 } 4229 #[repr(C)] 4230 #[cfg(feature = "Win32_Foundation")] 4231 pub struct SERVER_CERTIFICATE_INFO_0 { 4232 pub srvci0_name: super::super::Foundation::PWSTR, 4233 pub srvci0_subject: super::super::Foundation::PWSTR, 4234 pub srvci0_issuer: super::super::Foundation::PWSTR, 4235 pub srvci0_thumbprint: super::super::Foundation::PWSTR, 4236 pub srvci0_friendlyname: super::super::Foundation::PWSTR, 4237 pub srvci0_notbefore: super::super::Foundation::PWSTR, 4238 pub srvci0_notafter: super::super::Foundation::PWSTR, 4239 pub srvci0_storelocation: super::super::Foundation::PWSTR, 4240 pub srvci0_storename: super::super::Foundation::PWSTR, 4241 pub srvci0_renewalchain: super::super::Foundation::PWSTR, 4242 pub srvci0_type: u32, 4243 pub srvci0_flags: u32, 4244 } 4245 #[cfg(feature = "Win32_Foundation")] 4246 impl ::core::marker::Copy for SERVER_CERTIFICATE_INFO_0 {} 4247 #[cfg(feature = "Win32_Foundation")] 4248 impl ::core::clone::Clone for SERVER_CERTIFICATE_INFO_0 { clone(&self) -> Self4249 fn clone(&self) -> Self { 4250 *self 4251 } 4252 } 4253 pub type SERVER_CERTIFICATE_TYPE = i32; 4254 pub const QUIC: SERVER_CERTIFICATE_TYPE = 0i32; 4255 pub const SESI1_NUM_ELEMENTS: u32 = 8u32; 4256 pub const SESI2_NUM_ELEMENTS: u32 = 9u32; 4257 #[repr(C)] 4258 #[cfg(feature = "Win32_Foundation")] 4259 pub struct SESSION_INFO_0 { 4260 pub sesi0_cname: super::super::Foundation::PWSTR, 4261 } 4262 #[cfg(feature = "Win32_Foundation")] 4263 impl ::core::marker::Copy for SESSION_INFO_0 {} 4264 #[cfg(feature = "Win32_Foundation")] 4265 impl ::core::clone::Clone for SESSION_INFO_0 { clone(&self) -> Self4266 fn clone(&self) -> Self { 4267 *self 4268 } 4269 } 4270 #[repr(C)] 4271 #[cfg(feature = "Win32_Foundation")] 4272 pub struct SESSION_INFO_1 { 4273 pub sesi1_cname: super::super::Foundation::PWSTR, 4274 pub sesi1_username: super::super::Foundation::PWSTR, 4275 pub sesi1_num_opens: u32, 4276 pub sesi1_time: u32, 4277 pub sesi1_idle_time: u32, 4278 pub sesi1_user_flags: SESSION_INFO_USER_FLAGS, 4279 } 4280 #[cfg(feature = "Win32_Foundation")] 4281 impl ::core::marker::Copy for SESSION_INFO_1 {} 4282 #[cfg(feature = "Win32_Foundation")] 4283 impl ::core::clone::Clone for SESSION_INFO_1 { clone(&self) -> Self4284 fn clone(&self) -> Self { 4285 *self 4286 } 4287 } 4288 #[repr(C)] 4289 #[cfg(feature = "Win32_Foundation")] 4290 pub struct SESSION_INFO_10 { 4291 pub sesi10_cname: super::super::Foundation::PWSTR, 4292 pub sesi10_username: super::super::Foundation::PWSTR, 4293 pub sesi10_time: u32, 4294 pub sesi10_idle_time: u32, 4295 } 4296 #[cfg(feature = "Win32_Foundation")] 4297 impl ::core::marker::Copy for SESSION_INFO_10 {} 4298 #[cfg(feature = "Win32_Foundation")] 4299 impl ::core::clone::Clone for SESSION_INFO_10 { clone(&self) -> Self4300 fn clone(&self) -> Self { 4301 *self 4302 } 4303 } 4304 #[repr(C)] 4305 #[cfg(feature = "Win32_Foundation")] 4306 pub struct SESSION_INFO_2 { 4307 pub sesi2_cname: super::super::Foundation::PWSTR, 4308 pub sesi2_username: super::super::Foundation::PWSTR, 4309 pub sesi2_num_opens: u32, 4310 pub sesi2_time: u32, 4311 pub sesi2_idle_time: u32, 4312 pub sesi2_user_flags: SESSION_INFO_USER_FLAGS, 4313 pub sesi2_cltype_name: super::super::Foundation::PWSTR, 4314 } 4315 #[cfg(feature = "Win32_Foundation")] 4316 impl ::core::marker::Copy for SESSION_INFO_2 {} 4317 #[cfg(feature = "Win32_Foundation")] 4318 impl ::core::clone::Clone for SESSION_INFO_2 { clone(&self) -> Self4319 fn clone(&self) -> Self { 4320 *self 4321 } 4322 } 4323 #[repr(C)] 4324 #[cfg(feature = "Win32_Foundation")] 4325 pub struct SESSION_INFO_502 { 4326 pub sesi502_cname: super::super::Foundation::PWSTR, 4327 pub sesi502_username: super::super::Foundation::PWSTR, 4328 pub sesi502_num_opens: u32, 4329 pub sesi502_time: u32, 4330 pub sesi502_idle_time: u32, 4331 pub sesi502_user_flags: SESSION_INFO_USER_FLAGS, 4332 pub sesi502_cltype_name: super::super::Foundation::PWSTR, 4333 pub sesi502_transport: super::super::Foundation::PWSTR, 4334 } 4335 #[cfg(feature = "Win32_Foundation")] 4336 impl ::core::marker::Copy for SESSION_INFO_502 {} 4337 #[cfg(feature = "Win32_Foundation")] 4338 impl ::core::clone::Clone for SESSION_INFO_502 { clone(&self) -> Self4339 fn clone(&self) -> Self { 4340 *self 4341 } 4342 } 4343 pub type SESSION_INFO_USER_FLAGS = u32; 4344 pub const SESS_GUEST: SESSION_INFO_USER_FLAGS = 1u32; 4345 pub const SESS_NOENCRYPTION: SESSION_INFO_USER_FLAGS = 2u32; 4346 pub type SET_FILE_POINTER_MOVE_METHOD = u32; 4347 pub const FILE_BEGIN: SET_FILE_POINTER_MOVE_METHOD = 0u32; 4348 pub const FILE_CURRENT: SET_FILE_POINTER_MOVE_METHOD = 1u32; 4349 pub const FILE_END: SET_FILE_POINTER_MOVE_METHOD = 2u32; 4350 pub const SHARE_CURRENT_USES_PARMNUM: u32 = 7u32; 4351 pub const SHARE_FILE_SD_PARMNUM: u32 = 501u32; 4352 #[repr(C)] 4353 #[cfg(feature = "Win32_Foundation")] 4354 pub struct SHARE_INFO_0 { 4355 pub shi0_netname: super::super::Foundation::PWSTR, 4356 } 4357 #[cfg(feature = "Win32_Foundation")] 4358 impl ::core::marker::Copy for SHARE_INFO_0 {} 4359 #[cfg(feature = "Win32_Foundation")] 4360 impl ::core::clone::Clone for SHARE_INFO_0 { clone(&self) -> Self4361 fn clone(&self) -> Self { 4362 *self 4363 } 4364 } 4365 #[repr(C)] 4366 #[cfg(feature = "Win32_Foundation")] 4367 pub struct SHARE_INFO_1 { 4368 pub shi1_netname: super::super::Foundation::PWSTR, 4369 pub shi1_type: SHARE_TYPE, 4370 pub shi1_remark: super::super::Foundation::PWSTR, 4371 } 4372 #[cfg(feature = "Win32_Foundation")] 4373 impl ::core::marker::Copy for SHARE_INFO_1 {} 4374 #[cfg(feature = "Win32_Foundation")] 4375 impl ::core::clone::Clone for SHARE_INFO_1 { clone(&self) -> Self4376 fn clone(&self) -> Self { 4377 *self 4378 } 4379 } 4380 #[repr(C)] 4381 #[cfg(feature = "Win32_Foundation")] 4382 pub struct SHARE_INFO_1004 { 4383 pub shi1004_remark: super::super::Foundation::PWSTR, 4384 } 4385 #[cfg(feature = "Win32_Foundation")] 4386 impl ::core::marker::Copy for SHARE_INFO_1004 {} 4387 #[cfg(feature = "Win32_Foundation")] 4388 impl ::core::clone::Clone for SHARE_INFO_1004 { clone(&self) -> Self4389 fn clone(&self) -> Self { 4390 *self 4391 } 4392 } 4393 #[repr(C)] 4394 pub struct SHARE_INFO_1005 { 4395 pub shi1005_flags: u32, 4396 } 4397 impl ::core::marker::Copy for SHARE_INFO_1005 {} 4398 impl ::core::clone::Clone for SHARE_INFO_1005 { clone(&self) -> Self4399 fn clone(&self) -> Self { 4400 *self 4401 } 4402 } 4403 #[repr(C)] 4404 pub struct SHARE_INFO_1006 { 4405 pub shi1006_max_uses: u32, 4406 } 4407 impl ::core::marker::Copy for SHARE_INFO_1006 {} 4408 impl ::core::clone::Clone for SHARE_INFO_1006 { clone(&self) -> Self4409 fn clone(&self) -> Self { 4410 *self 4411 } 4412 } 4413 #[repr(C)] 4414 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 4415 pub struct SHARE_INFO_1501 { 4416 pub shi1501_reserved: u32, 4417 pub shi1501_security_descriptor: *mut super::super::Security::SECURITY_DESCRIPTOR, 4418 } 4419 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 4420 impl ::core::marker::Copy for SHARE_INFO_1501 {} 4421 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 4422 impl ::core::clone::Clone for SHARE_INFO_1501 { clone(&self) -> Self4423 fn clone(&self) -> Self { 4424 *self 4425 } 4426 } 4427 #[repr(C)] 4428 pub struct SHARE_INFO_1503 { 4429 pub shi1503_sharefilter: ::windows_sys::core::GUID, 4430 } 4431 impl ::core::marker::Copy for SHARE_INFO_1503 {} 4432 impl ::core::clone::Clone for SHARE_INFO_1503 { clone(&self) -> Self4433 fn clone(&self) -> Self { 4434 *self 4435 } 4436 } 4437 #[repr(C)] 4438 #[cfg(feature = "Win32_Foundation")] 4439 pub struct SHARE_INFO_2 { 4440 pub shi2_netname: super::super::Foundation::PWSTR, 4441 pub shi2_type: SHARE_TYPE, 4442 pub shi2_remark: super::super::Foundation::PWSTR, 4443 pub shi2_permissions: SHARE_INFO_PERMISSIONS, 4444 pub shi2_max_uses: u32, 4445 pub shi2_current_uses: u32, 4446 pub shi2_path: super::super::Foundation::PWSTR, 4447 pub shi2_passwd: super::super::Foundation::PWSTR, 4448 } 4449 #[cfg(feature = "Win32_Foundation")] 4450 impl ::core::marker::Copy for SHARE_INFO_2 {} 4451 #[cfg(feature = "Win32_Foundation")] 4452 impl ::core::clone::Clone for SHARE_INFO_2 { clone(&self) -> Self4453 fn clone(&self) -> Self { 4454 *self 4455 } 4456 } 4457 #[repr(C)] 4458 #[cfg(feature = "Win32_Foundation")] 4459 pub struct SHARE_INFO_501 { 4460 pub shi501_netname: super::super::Foundation::PWSTR, 4461 pub shi501_type: SHARE_TYPE, 4462 pub shi501_remark: super::super::Foundation::PWSTR, 4463 pub shi501_flags: u32, 4464 } 4465 #[cfg(feature = "Win32_Foundation")] 4466 impl ::core::marker::Copy for SHARE_INFO_501 {} 4467 #[cfg(feature = "Win32_Foundation")] 4468 impl ::core::clone::Clone for SHARE_INFO_501 { clone(&self) -> Self4469 fn clone(&self) -> Self { 4470 *self 4471 } 4472 } 4473 #[repr(C)] 4474 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 4475 pub struct SHARE_INFO_502 { 4476 pub shi502_netname: super::super::Foundation::PWSTR, 4477 pub shi502_type: SHARE_TYPE, 4478 pub shi502_remark: super::super::Foundation::PWSTR, 4479 pub shi502_permissions: SHARE_INFO_PERMISSIONS, 4480 pub shi502_max_uses: u32, 4481 pub shi502_current_uses: u32, 4482 pub shi502_path: super::super::Foundation::PWSTR, 4483 pub shi502_passwd: super::super::Foundation::PWSTR, 4484 pub shi502_reserved: u32, 4485 pub shi502_security_descriptor: *mut super::super::Security::SECURITY_DESCRIPTOR, 4486 } 4487 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 4488 impl ::core::marker::Copy for SHARE_INFO_502 {} 4489 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 4490 impl ::core::clone::Clone for SHARE_INFO_502 { clone(&self) -> Self4491 fn clone(&self) -> Self { 4492 *self 4493 } 4494 } 4495 #[repr(C)] 4496 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 4497 pub struct SHARE_INFO_503 { 4498 pub shi503_netname: super::super::Foundation::PWSTR, 4499 pub shi503_type: SHARE_TYPE, 4500 pub shi503_remark: super::super::Foundation::PWSTR, 4501 pub shi503_permissions: SHARE_INFO_PERMISSIONS, 4502 pub shi503_max_uses: u32, 4503 pub shi503_current_uses: u32, 4504 pub shi503_path: super::super::Foundation::PWSTR, 4505 pub shi503_passwd: super::super::Foundation::PWSTR, 4506 pub shi503_servername: super::super::Foundation::PWSTR, 4507 pub shi503_reserved: u32, 4508 pub shi503_security_descriptor: *mut super::super::Security::SECURITY_DESCRIPTOR, 4509 } 4510 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 4511 impl ::core::marker::Copy for SHARE_INFO_503 {} 4512 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] 4513 impl ::core::clone::Clone for SHARE_INFO_503 { clone(&self) -> Self4514 fn clone(&self) -> Self { 4515 *self 4516 } 4517 } 4518 pub type SHARE_INFO_PERMISSIONS = u32; 4519 pub const ACCESS_READ: SHARE_INFO_PERMISSIONS = 1u32; 4520 pub const ACCESS_WRITE: SHARE_INFO_PERMISSIONS = 2u32; 4521 pub const ACCESS_CREATE: SHARE_INFO_PERMISSIONS = 4u32; 4522 pub const ACCESS_EXEC: SHARE_INFO_PERMISSIONS = 8u32; 4523 pub const ACCESS_DELETE: SHARE_INFO_PERMISSIONS = 16u32; 4524 pub const ACCESS_ATRIB: SHARE_INFO_PERMISSIONS = 32u32; 4525 pub const ACCESS_PERM: SHARE_INFO_PERMISSIONS = 64u32; 4526 pub const ACCESS_ALL: SHARE_INFO_PERMISSIONS = 32768u32; 4527 pub const SHARE_MAX_USES_PARMNUM: u32 = 6u32; 4528 pub const SHARE_NETNAME_PARMNUM: u32 = 1u32; 4529 pub const SHARE_PASSWD_PARMNUM: u32 = 9u32; 4530 pub const SHARE_PATH_PARMNUM: u32 = 8u32; 4531 pub const SHARE_PERMISSIONS_PARMNUM: u32 = 5u32; 4532 pub const SHARE_REMARK_PARMNUM: u32 = 4u32; 4533 pub const SHARE_SERVER_PARMNUM: u32 = 503u32; 4534 pub type SHARE_TYPE = u32; 4535 pub const STYPE_DISKTREE: SHARE_TYPE = 0u32; 4536 pub const STYPE_PRINTQ: SHARE_TYPE = 1u32; 4537 pub const STYPE_DEVICE: SHARE_TYPE = 2u32; 4538 pub const STYPE_IPC: SHARE_TYPE = 3u32; 4539 pub const STYPE_SPECIAL: SHARE_TYPE = 2147483648u32; 4540 pub const STYPE_TEMPORARY: SHARE_TYPE = 1073741824u32; 4541 pub const STYPE_MASK: SHARE_TYPE = 255u32; 4542 pub const SHARE_TYPE_PARMNUM: u32 = 3u32; 4543 pub const SHI1005_FLAGS_ACCESS_BASED_DIRECTORY_ENUM: u32 = 2048u32; 4544 pub const SHI1005_FLAGS_ALLOW_NAMESPACE_CACHING: u32 = 1024u32; 4545 pub const SHI1005_FLAGS_CLUSTER_MANAGED: u32 = 524288u32; 4546 pub const SHI1005_FLAGS_COMPRESS_DATA: u32 = 1048576u32; 4547 pub const SHI1005_FLAGS_DFS: u32 = 1u32; 4548 pub const SHI1005_FLAGS_DFS_ROOT: u32 = 2u32; 4549 pub const SHI1005_FLAGS_DISABLE_CLIENT_BUFFERING: u32 = 131072u32; 4550 pub const SHI1005_FLAGS_ENABLE_CA: u32 = 16384u32; 4551 pub const SHI1005_FLAGS_ENABLE_HASH: u32 = 8192u32; 4552 pub const SHI1005_FLAGS_ENCRYPT_DATA: u32 = 32768u32; 4553 pub const SHI1005_FLAGS_FORCE_LEVELII_OPLOCK: u32 = 4096u32; 4554 pub const SHI1005_FLAGS_FORCE_SHARED_DELETE: u32 = 512u32; 4555 pub const SHI1005_FLAGS_IDENTITY_REMOTING: u32 = 262144u32; 4556 pub const SHI1005_FLAGS_RESERVED: u32 = 65536u32; 4557 pub const SHI1005_FLAGS_RESTRICT_EXCLUSIVE_OPENS: u32 = 256u32; 4558 pub const SHI1_NUM_ELEMENTS: u32 = 4u32; 4559 pub const SHI2_NUM_ELEMENTS: u32 = 10u32; 4560 pub const SHI_USES_UNLIMITED: u32 = 4294967295u32; 4561 pub const STATSOPT_CLR: u32 = 1u32; 4562 #[repr(C)] 4563 pub struct STAT_SERVER_0 { 4564 pub sts0_start: u32, 4565 pub sts0_fopens: u32, 4566 pub sts0_devopens: u32, 4567 pub sts0_jobsqueued: u32, 4568 pub sts0_sopens: u32, 4569 pub sts0_stimedout: u32, 4570 pub sts0_serrorout: u32, 4571 pub sts0_pwerrors: u32, 4572 pub sts0_permerrors: u32, 4573 pub sts0_syserrors: u32, 4574 pub sts0_bytessent_low: u32, 4575 pub sts0_bytessent_high: u32, 4576 pub sts0_bytesrcvd_low: u32, 4577 pub sts0_bytesrcvd_high: u32, 4578 pub sts0_avresponse: u32, 4579 pub sts0_reqbufneed: u32, 4580 pub sts0_bigbufneed: u32, 4581 } 4582 impl ::core::marker::Copy for STAT_SERVER_0 {} 4583 impl ::core::clone::Clone for STAT_SERVER_0 { clone(&self) -> Self4584 fn clone(&self) -> Self { 4585 *self 4586 } 4587 } 4588 #[repr(C)] 4589 pub struct STAT_WORKSTATION_0 { 4590 pub StatisticsStartTime: i64, 4591 pub BytesReceived: i64, 4592 pub SmbsReceived: i64, 4593 pub PagingReadBytesRequested: i64, 4594 pub NonPagingReadBytesRequested: i64, 4595 pub CacheReadBytesRequested: i64, 4596 pub NetworkReadBytesRequested: i64, 4597 pub BytesTransmitted: i64, 4598 pub SmbsTransmitted: i64, 4599 pub PagingWriteBytesRequested: i64, 4600 pub NonPagingWriteBytesRequested: i64, 4601 pub CacheWriteBytesRequested: i64, 4602 pub NetworkWriteBytesRequested: i64, 4603 pub InitiallyFailedOperations: u32, 4604 pub FailedCompletionOperations: u32, 4605 pub ReadOperations: u32, 4606 pub RandomReadOperations: u32, 4607 pub ReadSmbs: u32, 4608 pub LargeReadSmbs: u32, 4609 pub SmallReadSmbs: u32, 4610 pub WriteOperations: u32, 4611 pub RandomWriteOperations: u32, 4612 pub WriteSmbs: u32, 4613 pub LargeWriteSmbs: u32, 4614 pub SmallWriteSmbs: u32, 4615 pub RawReadsDenied: u32, 4616 pub RawWritesDenied: u32, 4617 pub NetworkErrors: u32, 4618 pub Sessions: u32, 4619 pub FailedSessions: u32, 4620 pub Reconnects: u32, 4621 pub CoreConnects: u32, 4622 pub Lanman20Connects: u32, 4623 pub Lanman21Connects: u32, 4624 pub LanmanNtConnects: u32, 4625 pub ServerDisconnects: u32, 4626 pub HungSessions: u32, 4627 pub UseCount: u32, 4628 pub FailedUseCount: u32, 4629 pub CurrentCommands: u32, 4630 } 4631 impl ::core::marker::Copy for STAT_WORKSTATION_0 {} 4632 impl ::core::clone::Clone for STAT_WORKSTATION_0 { clone(&self) -> Self4633 fn clone(&self) -> Self { 4634 *self 4635 } 4636 } 4637 pub type STORAGE_BUS_TYPE = i32; 4638 pub const BusTypeUnknown: STORAGE_BUS_TYPE = 0i32; 4639 pub const BusTypeScsi: STORAGE_BUS_TYPE = 1i32; 4640 pub const BusTypeAtapi: STORAGE_BUS_TYPE = 2i32; 4641 pub const BusTypeAta: STORAGE_BUS_TYPE = 3i32; 4642 pub const BusType1394: STORAGE_BUS_TYPE = 4i32; 4643 pub const BusTypeSsa: STORAGE_BUS_TYPE = 5i32; 4644 pub const BusTypeFibre: STORAGE_BUS_TYPE = 6i32; 4645 pub const BusTypeUsb: STORAGE_BUS_TYPE = 7i32; 4646 pub const BusTypeRAID: STORAGE_BUS_TYPE = 8i32; 4647 pub const BusTypeiScsi: STORAGE_BUS_TYPE = 9i32; 4648 pub const BusTypeSas: STORAGE_BUS_TYPE = 10i32; 4649 pub const BusTypeSata: STORAGE_BUS_TYPE = 11i32; 4650 pub const BusTypeSd: STORAGE_BUS_TYPE = 12i32; 4651 pub const BusTypeMmc: STORAGE_BUS_TYPE = 13i32; 4652 pub const BusTypeVirtual: STORAGE_BUS_TYPE = 14i32; 4653 pub const BusTypeFileBackedVirtual: STORAGE_BUS_TYPE = 15i32; 4654 pub const BusTypeSpaces: STORAGE_BUS_TYPE = 16i32; 4655 pub const BusTypeNvme: STORAGE_BUS_TYPE = 17i32; 4656 pub const BusTypeSCM: STORAGE_BUS_TYPE = 18i32; 4657 pub const BusTypeUfs: STORAGE_BUS_TYPE = 19i32; 4658 pub const BusTypeMax: STORAGE_BUS_TYPE = 20i32; 4659 pub const BusTypeMaxReserved: STORAGE_BUS_TYPE = 127i32; 4660 pub type STREAM_INFO_LEVELS = i32; 4661 pub const FindStreamInfoStandard: STREAM_INFO_LEVELS = 0i32; 4662 pub const FindStreamInfoMaxInfoLevel: STREAM_INFO_LEVELS = 1i32; 4663 pub const STYPE_RESERVED1: u32 = 16777216u32; 4664 pub const STYPE_RESERVED2: u32 = 33554432u32; 4665 pub const STYPE_RESERVED3: u32 = 67108864u32; 4666 pub const STYPE_RESERVED4: u32 = 134217728u32; 4667 pub const STYPE_RESERVED5: u32 = 1048576u32; 4668 pub const STYPE_RESERVED_ALL: u32 = 1073741568u32; 4669 pub type SYMBOLIC_LINK_FLAGS = u32; 4670 pub const SYMBOLIC_LINK_FLAG_DIRECTORY: SYMBOLIC_LINK_FLAGS = 1u32; 4671 pub const SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE: SYMBOLIC_LINK_FLAGS = 2u32; 4672 pub type TAPEMARK_TYPE = i32; 4673 pub const TAPE_FILEMARKS: TAPEMARK_TYPE = 1i32; 4674 pub const TAPE_LONG_FILEMARKS: TAPEMARK_TYPE = 3i32; 4675 pub const TAPE_SETMARKS: TAPEMARK_TYPE = 0i32; 4676 pub const TAPE_SHORT_FILEMARKS: TAPEMARK_TYPE = 2i32; 4677 #[repr(C)] 4678 #[cfg(feature = "Win32_Foundation")] 4679 pub struct TAPE_ERASE { 4680 pub Type: ERASE_TAPE_TYPE, 4681 pub Immediate: super::super::Foundation::BOOLEAN, 4682 } 4683 #[cfg(feature = "Win32_Foundation")] 4684 impl ::core::marker::Copy for TAPE_ERASE {} 4685 #[cfg(feature = "Win32_Foundation")] 4686 impl ::core::clone::Clone for TAPE_ERASE { clone(&self) -> Self4687 fn clone(&self) -> Self { 4688 *self 4689 } 4690 } 4691 #[repr(C)] 4692 pub struct TAPE_GET_POSITION { 4693 pub Type: TAPE_POSITION_TYPE, 4694 pub Partition: u32, 4695 pub Offset: i64, 4696 } 4697 impl ::core::marker::Copy for TAPE_GET_POSITION {} 4698 impl ::core::clone::Clone for TAPE_GET_POSITION { clone(&self) -> Self4699 fn clone(&self) -> Self { 4700 *self 4701 } 4702 } 4703 pub type TAPE_INFORMATION_TYPE = u32; 4704 pub const SET_TAPE_DRIVE_INFORMATION: TAPE_INFORMATION_TYPE = 1u32; 4705 pub const SET_TAPE_MEDIA_INFORMATION: TAPE_INFORMATION_TYPE = 0u32; 4706 pub type TAPE_POSITION_METHOD = i32; 4707 pub const TAPE_ABSOLUTE_BLOCK: TAPE_POSITION_METHOD = 1i32; 4708 pub const TAPE_LOGICAL_BLOCK: TAPE_POSITION_METHOD = 2i32; 4709 pub const TAPE_REWIND: TAPE_POSITION_METHOD = 0i32; 4710 pub const TAPE_SPACE_END_OF_DATA: TAPE_POSITION_METHOD = 4i32; 4711 pub const TAPE_SPACE_FILEMARKS: TAPE_POSITION_METHOD = 6i32; 4712 pub const TAPE_SPACE_RELATIVE_BLOCKS: TAPE_POSITION_METHOD = 5i32; 4713 pub const TAPE_SPACE_SEQUENTIAL_FMKS: TAPE_POSITION_METHOD = 7i32; 4714 pub const TAPE_SPACE_SEQUENTIAL_SMKS: TAPE_POSITION_METHOD = 9i32; 4715 pub const TAPE_SPACE_SETMARKS: TAPE_POSITION_METHOD = 8i32; 4716 pub type TAPE_POSITION_TYPE = i32; 4717 pub const TAPE_ABSOLUTE_POSITION: TAPE_POSITION_TYPE = 0i32; 4718 pub const TAPE_LOGICAL_POSITION: TAPE_POSITION_TYPE = 1i32; 4719 #[repr(C)] 4720 #[cfg(feature = "Win32_Foundation")] 4721 pub struct TAPE_PREPARE { 4722 pub Operation: PREPARE_TAPE_OPERATION, 4723 pub Immediate: super::super::Foundation::BOOLEAN, 4724 } 4725 #[cfg(feature = "Win32_Foundation")] 4726 impl ::core::marker::Copy for TAPE_PREPARE {} 4727 #[cfg(feature = "Win32_Foundation")] 4728 impl ::core::clone::Clone for TAPE_PREPARE { clone(&self) -> Self4729 fn clone(&self) -> Self { 4730 *self 4731 } 4732 } 4733 #[repr(C)] 4734 #[cfg(feature = "Win32_Foundation")] 4735 pub struct TAPE_SET_POSITION { 4736 pub Method: TAPE_POSITION_METHOD, 4737 pub Partition: u32, 4738 pub Offset: i64, 4739 pub Immediate: super::super::Foundation::BOOLEAN, 4740 } 4741 #[cfg(feature = "Win32_Foundation")] 4742 impl ::core::marker::Copy for TAPE_SET_POSITION {} 4743 #[cfg(feature = "Win32_Foundation")] 4744 impl ::core::clone::Clone for TAPE_SET_POSITION { clone(&self) -> Self4745 fn clone(&self) -> Self { 4746 *self 4747 } 4748 } 4749 #[repr(C)] 4750 #[cfg(feature = "Win32_Foundation")] 4751 pub struct TAPE_WRITE_MARKS { 4752 pub Type: TAPEMARK_TYPE, 4753 pub Count: u32, 4754 pub Immediate: super::super::Foundation::BOOLEAN, 4755 } 4756 #[cfg(feature = "Win32_Foundation")] 4757 impl ::core::marker::Copy for TAPE_WRITE_MARKS {} 4758 #[cfg(feature = "Win32_Foundation")] 4759 impl ::core::clone::Clone for TAPE_WRITE_MARKS { clone(&self) -> Self4760 fn clone(&self) -> Self { 4761 *self 4762 } 4763 } 4764 pub const TRANSACTION_DO_NOT_PROMOTE: u32 = 1u32; 4765 pub const TRANSACTION_MANAGER_COMMIT_DEFAULT: u32 = 0u32; 4766 pub const TRANSACTION_MANAGER_COMMIT_LOWEST: u32 = 8u32; 4767 pub const TRANSACTION_MANAGER_COMMIT_SYSTEM_HIVES: u32 = 4u32; 4768 pub const TRANSACTION_MANAGER_COMMIT_SYSTEM_VOLUME: u32 = 2u32; 4769 pub const TRANSACTION_MANAGER_CORRUPT_FOR_PROGRESS: u32 = 32u32; 4770 pub const TRANSACTION_MANAGER_CORRUPT_FOR_RECOVERY: u32 = 16u32; 4771 pub const TRANSACTION_MANAGER_MAXIMUM_OPTION: u32 = 63u32; 4772 pub const TRANSACTION_MANAGER_VOLATILE: u32 = 1u32; 4773 pub const TRANSACTION_MAXIMUM_OPTION: u32 = 1u32; 4774 #[repr(C)] 4775 pub struct TRANSACTION_NOTIFICATION { 4776 pub TransactionKey: *mut ::core::ffi::c_void, 4777 pub TransactionNotification: u32, 4778 pub TmVirtualClock: i64, 4779 pub ArgumentLength: u32, 4780 } 4781 impl ::core::marker::Copy for TRANSACTION_NOTIFICATION {} 4782 impl ::core::clone::Clone for TRANSACTION_NOTIFICATION { clone(&self) -> Self4783 fn clone(&self) -> Self { 4784 *self 4785 } 4786 } 4787 #[repr(C)] 4788 pub struct TRANSACTION_NOTIFICATION_MARSHAL_ARGUMENT { 4789 pub MarshalCookie: u32, 4790 pub UOW: ::windows_sys::core::GUID, 4791 } 4792 impl ::core::marker::Copy for TRANSACTION_NOTIFICATION_MARSHAL_ARGUMENT {} 4793 impl ::core::clone::Clone for TRANSACTION_NOTIFICATION_MARSHAL_ARGUMENT { clone(&self) -> Self4794 fn clone(&self) -> Self { 4795 *self 4796 } 4797 } 4798 #[repr(C)] 4799 pub struct TRANSACTION_NOTIFICATION_PROPAGATE_ARGUMENT { 4800 pub PropagationCookie: u32, 4801 pub UOW: ::windows_sys::core::GUID, 4802 pub TmIdentity: ::windows_sys::core::GUID, 4803 pub BufferLength: u32, 4804 } 4805 impl ::core::marker::Copy for TRANSACTION_NOTIFICATION_PROPAGATE_ARGUMENT {} 4806 impl ::core::clone::Clone for TRANSACTION_NOTIFICATION_PROPAGATE_ARGUMENT { clone(&self) -> Self4807 fn clone(&self) -> Self { 4808 *self 4809 } 4810 } 4811 #[repr(C)] 4812 pub struct TRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT { 4813 pub EnlistmentId: ::windows_sys::core::GUID, 4814 pub UOW: ::windows_sys::core::GUID, 4815 } 4816 impl ::core::marker::Copy for TRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT {} 4817 impl ::core::clone::Clone for TRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT { clone(&self) -> Self4818 fn clone(&self) -> Self { 4819 *self 4820 } 4821 } 4822 #[repr(C)] 4823 pub struct TRANSACTION_NOTIFICATION_SAVEPOINT_ARGUMENT { 4824 pub SavepointId: u32, 4825 } 4826 impl ::core::marker::Copy for TRANSACTION_NOTIFICATION_SAVEPOINT_ARGUMENT {} 4827 impl ::core::clone::Clone for TRANSACTION_NOTIFICATION_SAVEPOINT_ARGUMENT { clone(&self) -> Self4828 fn clone(&self) -> Self { 4829 *self 4830 } 4831 } 4832 #[repr(C)] 4833 pub struct TRANSACTION_NOTIFICATION_TM_ONLINE_ARGUMENT { 4834 pub TmIdentity: ::windows_sys::core::GUID, 4835 pub Flags: u32, 4836 } 4837 impl ::core::marker::Copy for TRANSACTION_NOTIFICATION_TM_ONLINE_ARGUMENT {} 4838 impl ::core::clone::Clone for TRANSACTION_NOTIFICATION_TM_ONLINE_ARGUMENT { clone(&self) -> Self4839 fn clone(&self) -> Self { 4840 *self 4841 } 4842 } 4843 pub const TRANSACTION_NOTIFICATION_TM_ONLINE_FLAG_IS_CLUSTERED: u32 = 1u32; 4844 pub const TRANSACTION_NOTIFY_COMMIT: u32 = 4u32; 4845 pub const TRANSACTION_NOTIFY_COMMIT_COMPLETE: u32 = 64u32; 4846 pub const TRANSACTION_NOTIFY_COMMIT_FINALIZE: u32 = 1073741824u32; 4847 pub const TRANSACTION_NOTIFY_COMMIT_REQUEST: u32 = 67108864u32; 4848 pub const TRANSACTION_NOTIFY_DELEGATE_COMMIT: u32 = 1024u32; 4849 pub const TRANSACTION_NOTIFY_ENLIST_MASK: u32 = 262144u32; 4850 pub const TRANSACTION_NOTIFY_ENLIST_PREPREPARE: u32 = 4096u32; 4851 pub const TRANSACTION_NOTIFY_INDOUBT: u32 = 16384u32; 4852 pub const TRANSACTION_NOTIFY_LAST_RECOVER: u32 = 8192u32; 4853 pub const TRANSACTION_NOTIFY_MARSHAL: u32 = 131072u32; 4854 pub const TRANSACTION_NOTIFY_MASK: u32 = 1073741823u32; 4855 pub const TRANSACTION_NOTIFY_PREPARE: u32 = 2u32; 4856 pub const TRANSACTION_NOTIFY_PREPARE_COMPLETE: u32 = 32u32; 4857 pub const TRANSACTION_NOTIFY_PREPREPARE: u32 = 1u32; 4858 pub const TRANSACTION_NOTIFY_PREPREPARE_COMPLETE: u32 = 16u32; 4859 pub const TRANSACTION_NOTIFY_PROMOTE: u32 = 134217728u32; 4860 pub const TRANSACTION_NOTIFY_PROMOTE_NEW: u32 = 268435456u32; 4861 pub const TRANSACTION_NOTIFY_PROPAGATE_PULL: u32 = 32768u32; 4862 pub const TRANSACTION_NOTIFY_PROPAGATE_PUSH: u32 = 65536u32; 4863 pub const TRANSACTION_NOTIFY_RECOVER: u32 = 256u32; 4864 pub const TRANSACTION_NOTIFY_RECOVER_QUERY: u32 = 2048u32; 4865 pub const TRANSACTION_NOTIFY_REQUEST_OUTCOME: u32 = 536870912u32; 4866 pub const TRANSACTION_NOTIFY_RM_DISCONNECTED: u32 = 16777216u32; 4867 pub const TRANSACTION_NOTIFY_ROLLBACK: u32 = 8u32; 4868 pub const TRANSACTION_NOTIFY_ROLLBACK_COMPLETE: u32 = 128u32; 4869 pub const TRANSACTION_NOTIFY_SINGLE_PHASE_COMMIT: u32 = 512u32; 4870 pub const TRANSACTION_NOTIFY_TM_ONLINE: u32 = 33554432u32; 4871 pub type TRANSACTION_OUTCOME = i32; 4872 pub const TransactionOutcomeUndetermined: TRANSACTION_OUTCOME = 1i32; 4873 pub const TransactionOutcomeCommitted: TRANSACTION_OUTCOME = 2i32; 4874 pub const TransactionOutcomeAborted: TRANSACTION_OUTCOME = 3i32; 4875 pub type TXFS_MINIVERSION = u32; 4876 pub const TXFS_MINIVERSION_COMMITTED_VIEW: TXFS_MINIVERSION = 0u32; 4877 pub const TXFS_MINIVERSION_DIRTY_VIEW: TXFS_MINIVERSION = 65535u32; 4878 pub const TXFS_MINIVERSION_DEFAULT_VIEW: TXFS_MINIVERSION = 65534u32; 4879 #[repr(C)] 4880 pub struct TXF_ID { 4881 pub Anonymous: TXF_ID_0, 4882 } 4883 impl ::core::marker::Copy for TXF_ID {} 4884 impl ::core::clone::Clone for TXF_ID { clone(&self) -> Self4885 fn clone(&self) -> Self { 4886 *self 4887 } 4888 } 4889 #[repr(C, packed(4))] 4890 pub struct TXF_ID_0 { 4891 pub LowPart: i64, 4892 pub HighPart: i64, 4893 } 4894 impl ::core::marker::Copy for TXF_ID_0 {} 4895 impl ::core::clone::Clone for TXF_ID_0 { clone(&self) -> Self4896 fn clone(&self) -> Self { 4897 *self 4898 } 4899 } 4900 #[repr(C)] 4901 pub struct TXF_LOG_RECORD_AFFECTED_FILE { 4902 pub Version: u16, 4903 pub RecordLength: u32, 4904 pub Flags: u32, 4905 pub TxfFileId: TXF_ID, 4906 pub KtmGuid: ::windows_sys::core::GUID, 4907 pub FileNameLength: u32, 4908 pub FileNameByteOffsetInStructure: u32, 4909 } 4910 impl ::core::marker::Copy for TXF_LOG_RECORD_AFFECTED_FILE {} 4911 impl ::core::clone::Clone for TXF_LOG_RECORD_AFFECTED_FILE { clone(&self) -> Self4912 fn clone(&self) -> Self { 4913 *self 4914 } 4915 } 4916 #[repr(C)] 4917 pub struct TXF_LOG_RECORD_BASE { 4918 pub Version: u16, 4919 pub RecordType: TXF_LOG_RECORD_TYPE, 4920 pub RecordLength: u32, 4921 } 4922 impl ::core::marker::Copy for TXF_LOG_RECORD_BASE {} 4923 impl ::core::clone::Clone for TXF_LOG_RECORD_BASE { clone(&self) -> Self4924 fn clone(&self) -> Self { 4925 *self 4926 } 4927 } 4928 pub const TXF_LOG_RECORD_GENERIC_TYPE_ABORT: u32 = 2u32; 4929 pub const TXF_LOG_RECORD_GENERIC_TYPE_COMMIT: u32 = 1u32; 4930 pub const TXF_LOG_RECORD_GENERIC_TYPE_DATA: u32 = 8u32; 4931 pub const TXF_LOG_RECORD_GENERIC_TYPE_PREPARE: u32 = 4u32; 4932 #[repr(C, packed(4))] 4933 pub struct TXF_LOG_RECORD_TRUNCATE { 4934 pub Version: u16, 4935 pub RecordType: u16, 4936 pub RecordLength: u32, 4937 pub Flags: u32, 4938 pub TxfFileId: TXF_ID, 4939 pub KtmGuid: ::windows_sys::core::GUID, 4940 pub NewFileSize: i64, 4941 pub FileNameLength: u32, 4942 pub FileNameByteOffsetInStructure: u32, 4943 } 4944 impl ::core::marker::Copy for TXF_LOG_RECORD_TRUNCATE {} 4945 impl ::core::clone::Clone for TXF_LOG_RECORD_TRUNCATE { clone(&self) -> Self4946 fn clone(&self) -> Self { 4947 *self 4948 } 4949 } 4950 pub type TXF_LOG_RECORD_TYPE = u16; 4951 pub const TXF_LOG_RECORD_TYPE_AFFECTED_FILE: TXF_LOG_RECORD_TYPE = 4u16; 4952 pub const TXF_LOG_RECORD_TYPE_TRUNCATE: TXF_LOG_RECORD_TYPE = 2u16; 4953 pub const TXF_LOG_RECORD_TYPE_WRITE: TXF_LOG_RECORD_TYPE = 1u16; 4954 #[repr(C, packed(4))] 4955 pub struct TXF_LOG_RECORD_WRITE { 4956 pub Version: u16, 4957 pub RecordType: u16, 4958 pub RecordLength: u32, 4959 pub Flags: u32, 4960 pub TxfFileId: TXF_ID, 4961 pub KtmGuid: ::windows_sys::core::GUID, 4962 pub ByteOffsetInFile: i64, 4963 pub NumBytesWritten: u32, 4964 pub ByteOffsetInStructure: u32, 4965 pub FileNameLength: u32, 4966 pub FileNameByteOffsetInStructure: u32, 4967 } 4968 impl ::core::marker::Copy for TXF_LOG_RECORD_WRITE {} 4969 impl ::core::clone::Clone for TXF_LOG_RECORD_WRITE { clone(&self) -> Self4970 fn clone(&self) -> Self { 4971 *self 4972 } 4973 } 4974 pub type VER_FIND_FILE_FLAGS = u32; 4975 pub const VFFF_ISSHAREDFILE: VER_FIND_FILE_FLAGS = 1u32; 4976 pub type VER_FIND_FILE_STATUS = u32; 4977 pub const VFF_CURNEDEST: VER_FIND_FILE_STATUS = 1u32; 4978 pub const VFF_FILEINUSE: VER_FIND_FILE_STATUS = 2u32; 4979 pub const VFF_BUFFTOOSMALL: VER_FIND_FILE_STATUS = 4u32; 4980 pub type VER_INSTALL_FILE_FLAGS = u32; 4981 pub const VIFF_FORCEINSTALL: VER_INSTALL_FILE_FLAGS = 1u32; 4982 pub const VIFF_DONTDELETEOLD: VER_INSTALL_FILE_FLAGS = 2u32; 4983 pub type VER_INSTALL_FILE_STATUS = u32; 4984 pub const VIF_TEMPFILE: VER_INSTALL_FILE_STATUS = 1u32; 4985 pub const VIF_MISMATCH: VER_INSTALL_FILE_STATUS = 2u32; 4986 pub const VIF_SRCOLD: VER_INSTALL_FILE_STATUS = 4u32; 4987 pub const VIF_DIFFLANG: VER_INSTALL_FILE_STATUS = 8u32; 4988 pub const VIF_DIFFCODEPG: VER_INSTALL_FILE_STATUS = 16u32; 4989 pub const VIF_DIFFTYPE: VER_INSTALL_FILE_STATUS = 32u32; 4990 pub const VIF_WRITEPROT: VER_INSTALL_FILE_STATUS = 64u32; 4991 pub const VIF_FILEINUSE: VER_INSTALL_FILE_STATUS = 128u32; 4992 pub const VIF_OUTOFSPACE: VER_INSTALL_FILE_STATUS = 256u32; 4993 pub const VIF_ACCESSVIOLATION: VER_INSTALL_FILE_STATUS = 512u32; 4994 pub const VIF_SHARINGVIOLATION: VER_INSTALL_FILE_STATUS = 1024u32; 4995 pub const VIF_CANNOTCREATE: VER_INSTALL_FILE_STATUS = 2048u32; 4996 pub const VIF_CANNOTDELETE: VER_INSTALL_FILE_STATUS = 4096u32; 4997 pub const VIF_CANNOTRENAME: VER_INSTALL_FILE_STATUS = 8192u32; 4998 pub const VIF_CANNOTDELETECUR: VER_INSTALL_FILE_STATUS = 16384u32; 4999 pub const VIF_OUTOFMEMORY: VER_INSTALL_FILE_STATUS = 32768u32; 5000 pub const VIF_CANNOTREADSRC: VER_INSTALL_FILE_STATUS = 65536u32; 5001 pub const VIF_CANNOTREADDST: VER_INSTALL_FILE_STATUS = 131072u32; 5002 pub const VIF_BUFFTOOSMALL: VER_INSTALL_FILE_STATUS = 262144u32; 5003 pub const VIF_CANNOTLOADLZ32: VER_INSTALL_FILE_STATUS = 524288u32; 5004 pub const VIF_CANNOTLOADCABINET: VER_INSTALL_FILE_STATUS = 1048576u32; 5005 #[repr(C)] 5006 #[cfg(feature = "Win32_Foundation")] 5007 pub struct VOLUME_ALLOCATE_BC_STREAM_INPUT { 5008 pub Version: u32, 5009 pub RequestsPerPeriod: u32, 5010 pub Period: u32, 5011 pub RetryFailures: super::super::Foundation::BOOLEAN, 5012 pub Discardable: super::super::Foundation::BOOLEAN, 5013 pub Reserved1: [super::super::Foundation::BOOLEAN; 2], 5014 pub LowestByteOffset: u64, 5015 pub HighestByteOffset: u64, 5016 pub AccessType: u32, 5017 pub AccessMode: u32, 5018 } 5019 #[cfg(feature = "Win32_Foundation")] 5020 impl ::core::marker::Copy for VOLUME_ALLOCATE_BC_STREAM_INPUT {} 5021 #[cfg(feature = "Win32_Foundation")] 5022 impl ::core::clone::Clone for VOLUME_ALLOCATE_BC_STREAM_INPUT { clone(&self) -> Self5023 fn clone(&self) -> Self { 5024 *self 5025 } 5026 } 5027 #[repr(C)] 5028 pub struct VOLUME_ALLOCATE_BC_STREAM_OUTPUT { 5029 pub RequestSize: u64, 5030 pub NumOutStandingRequests: u32, 5031 } 5032 impl ::core::marker::Copy for VOLUME_ALLOCATE_BC_STREAM_OUTPUT {} 5033 impl ::core::clone::Clone for VOLUME_ALLOCATE_BC_STREAM_OUTPUT { clone(&self) -> Self5034 fn clone(&self) -> Self { 5035 *self 5036 } 5037 } 5038 #[repr(C)] 5039 pub struct VOLUME_ALLOCATION_HINT_INPUT { 5040 pub ClusterSize: u32, 5041 pub NumberOfClusters: u32, 5042 pub StartingClusterNumber: i64, 5043 } 5044 impl ::core::marker::Copy for VOLUME_ALLOCATION_HINT_INPUT {} 5045 impl ::core::clone::Clone for VOLUME_ALLOCATION_HINT_INPUT { clone(&self) -> Self5046 fn clone(&self) -> Self { 5047 *self 5048 } 5049 } 5050 #[repr(C)] 5051 pub struct VOLUME_ALLOCATION_HINT_OUTPUT { 5052 pub Bitmap: [u32; 1], 5053 } 5054 impl ::core::marker::Copy for VOLUME_ALLOCATION_HINT_OUTPUT {} 5055 impl ::core::clone::Clone for VOLUME_ALLOCATION_HINT_OUTPUT { clone(&self) -> Self5056 fn clone(&self) -> Self { 5057 *self 5058 } 5059 } 5060 #[repr(C)] 5061 pub struct VOLUME_CRITICAL_IO { 5062 pub AccessType: u32, 5063 pub ExtentsCount: u32, 5064 pub Extents: [FILE_EXTENT; 1], 5065 } 5066 impl ::core::marker::Copy for VOLUME_CRITICAL_IO {} 5067 impl ::core::clone::Clone for VOLUME_CRITICAL_IO { clone(&self) -> Self5068 fn clone(&self) -> Self { 5069 *self 5070 } 5071 } 5072 #[repr(C)] 5073 pub struct VOLUME_FAILOVER_SET { 5074 pub NumberOfDisks: u32, 5075 pub DiskNumbers: [u32; 1], 5076 } 5077 impl ::core::marker::Copy for VOLUME_FAILOVER_SET {} 5078 impl ::core::clone::Clone for VOLUME_FAILOVER_SET { clone(&self) -> Self5079 fn clone(&self) -> Self { 5080 *self 5081 } 5082 } 5083 #[repr(C)] 5084 pub struct VOLUME_GET_BC_PROPERTIES_INPUT { 5085 pub Version: u32, 5086 pub Reserved1: u32, 5087 pub LowestByteOffset: u64, 5088 pub HighestByteOffset: u64, 5089 pub AccessType: u32, 5090 pub AccessMode: u32, 5091 } 5092 impl ::core::marker::Copy for VOLUME_GET_BC_PROPERTIES_INPUT {} 5093 impl ::core::clone::Clone for VOLUME_GET_BC_PROPERTIES_INPUT { clone(&self) -> Self5094 fn clone(&self) -> Self { 5095 *self 5096 } 5097 } 5098 #[repr(C)] 5099 pub struct VOLUME_GET_BC_PROPERTIES_OUTPUT { 5100 pub MaximumRequestsPerPeriod: u32, 5101 pub MinimumPeriod: u32, 5102 pub MaximumRequestSize: u64, 5103 pub EstimatedTimePerRequest: u32, 5104 pub NumOutStandingRequests: u32, 5105 pub RequestSize: u64, 5106 } 5107 impl ::core::marker::Copy for VOLUME_GET_BC_PROPERTIES_OUTPUT {} 5108 impl ::core::clone::Clone for VOLUME_GET_BC_PROPERTIES_OUTPUT { clone(&self) -> Self5109 fn clone(&self) -> Self { 5110 *self 5111 } 5112 } 5113 #[repr(C)] 5114 pub struct VOLUME_LOGICAL_OFFSET { 5115 pub LogicalOffset: i64, 5116 } 5117 impl ::core::marker::Copy for VOLUME_LOGICAL_OFFSET {} 5118 impl ::core::clone::Clone for VOLUME_LOGICAL_OFFSET { clone(&self) -> Self5119 fn clone(&self) -> Self { 5120 *self 5121 } 5122 } 5123 #[repr(C)] 5124 pub struct VOLUME_NUMBER { 5125 pub VolumeNumber: u32, 5126 pub VolumeManagerName: [u16; 8], 5127 } 5128 impl ::core::marker::Copy for VOLUME_NUMBER {} 5129 impl ::core::clone::Clone for VOLUME_NUMBER { clone(&self) -> Self5130 fn clone(&self) -> Self { 5131 *self 5132 } 5133 } 5134 #[repr(C)] 5135 pub struct VOLUME_PHYSICAL_OFFSET { 5136 pub DiskNumber: u32, 5137 pub Offset: i64, 5138 } 5139 impl ::core::marker::Copy for VOLUME_PHYSICAL_OFFSET {} 5140 impl ::core::clone::Clone for VOLUME_PHYSICAL_OFFSET { clone(&self) -> Self5141 fn clone(&self) -> Self { 5142 *self 5143 } 5144 } 5145 #[repr(C)] 5146 pub struct VOLUME_PHYSICAL_OFFSETS { 5147 pub NumberOfPhysicalOffsets: u32, 5148 pub PhysicalOffset: [VOLUME_PHYSICAL_OFFSET; 1], 5149 } 5150 impl ::core::marker::Copy for VOLUME_PHYSICAL_OFFSETS {} 5151 impl ::core::clone::Clone for VOLUME_PHYSICAL_OFFSETS { clone(&self) -> Self5152 fn clone(&self) -> Self { 5153 *self 5154 } 5155 } 5156 #[repr(C)] 5157 pub struct VOLUME_READ_PLEX_INPUT { 5158 pub ByteOffset: i64, 5159 pub Length: u32, 5160 pub PlexNumber: u32, 5161 } 5162 impl ::core::marker::Copy for VOLUME_READ_PLEX_INPUT {} 5163 impl ::core::clone::Clone for VOLUME_READ_PLEX_INPUT { clone(&self) -> Self5164 fn clone(&self) -> Self { 5165 *self 5166 } 5167 } 5168 #[repr(C)] 5169 #[cfg(feature = "Win32_Foundation")] 5170 pub struct VOLUME_SET_GPT_ATTRIBUTES_INFORMATION { 5171 pub GptAttributes: u64, 5172 pub RevertOnClose: super::super::Foundation::BOOLEAN, 5173 pub ApplyToAllConnectedVolumes: super::super::Foundation::BOOLEAN, 5174 pub Reserved1: u16, 5175 pub Reserved2: u32, 5176 } 5177 #[cfg(feature = "Win32_Foundation")] 5178 impl ::core::marker::Copy for VOLUME_SET_GPT_ATTRIBUTES_INFORMATION {} 5179 #[cfg(feature = "Win32_Foundation")] 5180 impl ::core::clone::Clone for VOLUME_SET_GPT_ATTRIBUTES_INFORMATION { clone(&self) -> Self5181 fn clone(&self) -> Self { 5182 *self 5183 } 5184 } 5185 #[repr(C)] 5186 pub struct VOLUME_SHRINK_INFO { 5187 pub VolumeSize: u64, 5188 } 5189 impl ::core::marker::Copy for VOLUME_SHRINK_INFO {} 5190 impl ::core::clone::Clone for VOLUME_SHRINK_INFO { clone(&self) -> Self5191 fn clone(&self) -> Self { 5192 *self 5193 } 5194 } 5195 pub const VS_FFI_FILEFLAGSMASK: i32 = 63i32; 5196 pub const VS_FFI_SIGNATURE: i32 = -17890115i32; 5197 pub const VS_FFI_STRUCVERSION: i32 = 65536i32; 5198 #[repr(C)] 5199 pub struct VS_FIXEDFILEINFO { 5200 pub dwSignature: u32, 5201 pub dwStrucVersion: u32, 5202 pub dwFileVersionMS: u32, 5203 pub dwFileVersionLS: u32, 5204 pub dwProductVersionMS: u32, 5205 pub dwProductVersionLS: u32, 5206 pub dwFileFlagsMask: u32, 5207 pub dwFileFlags: VS_FIXEDFILEINFO_FILE_FLAGS, 5208 pub dwFileOS: VS_FIXEDFILEINFO_FILE_OS, 5209 pub dwFileType: VS_FIXEDFILEINFO_FILE_TYPE, 5210 pub dwFileSubtype: VS_FIXEDFILEINFO_FILE_SUBTYPE, 5211 pub dwFileDateMS: u32, 5212 pub dwFileDateLS: u32, 5213 } 5214 impl ::core::marker::Copy for VS_FIXEDFILEINFO {} 5215 impl ::core::clone::Clone for VS_FIXEDFILEINFO { clone(&self) -> Self5216 fn clone(&self) -> Self { 5217 *self 5218 } 5219 } 5220 pub type VS_FIXEDFILEINFO_FILE_FLAGS = u32; 5221 pub const VS_FF_DEBUG: VS_FIXEDFILEINFO_FILE_FLAGS = 1u32; 5222 pub const VS_FF_PRERELEASE: VS_FIXEDFILEINFO_FILE_FLAGS = 2u32; 5223 pub const VS_FF_PATCHED: VS_FIXEDFILEINFO_FILE_FLAGS = 4u32; 5224 pub const VS_FF_PRIVATEBUILD: VS_FIXEDFILEINFO_FILE_FLAGS = 8u32; 5225 pub const VS_FF_INFOINFERRED: VS_FIXEDFILEINFO_FILE_FLAGS = 16u32; 5226 pub const VS_FF_SPECIALBUILD: VS_FIXEDFILEINFO_FILE_FLAGS = 32u32; 5227 pub type VS_FIXEDFILEINFO_FILE_OS = i32; 5228 pub const VOS_UNKNOWN: VS_FIXEDFILEINFO_FILE_OS = 0i32; 5229 pub const VOS_DOS: VS_FIXEDFILEINFO_FILE_OS = 65536i32; 5230 pub const VOS_OS216: VS_FIXEDFILEINFO_FILE_OS = 131072i32; 5231 pub const VOS_OS232: VS_FIXEDFILEINFO_FILE_OS = 196608i32; 5232 pub const VOS_NT: VS_FIXEDFILEINFO_FILE_OS = 262144i32; 5233 pub const VOS_WINCE: VS_FIXEDFILEINFO_FILE_OS = 327680i32; 5234 pub const VOS__BASE: VS_FIXEDFILEINFO_FILE_OS = 0i32; 5235 pub const VOS__WINDOWS16: VS_FIXEDFILEINFO_FILE_OS = 1i32; 5236 pub const VOS__PM16: VS_FIXEDFILEINFO_FILE_OS = 2i32; 5237 pub const VOS__PM32: VS_FIXEDFILEINFO_FILE_OS = 3i32; 5238 pub const VOS__WINDOWS32: VS_FIXEDFILEINFO_FILE_OS = 4i32; 5239 pub const VOS_DOS_WINDOWS16: VS_FIXEDFILEINFO_FILE_OS = 65537i32; 5240 pub const VOS_DOS_WINDOWS32: VS_FIXEDFILEINFO_FILE_OS = 65540i32; 5241 pub const VOS_OS216_PM16: VS_FIXEDFILEINFO_FILE_OS = 131074i32; 5242 pub const VOS_OS232_PM32: VS_FIXEDFILEINFO_FILE_OS = 196611i32; 5243 pub const VOS_NT_WINDOWS32: VS_FIXEDFILEINFO_FILE_OS = 262148i32; 5244 pub type VS_FIXEDFILEINFO_FILE_SUBTYPE = i32; 5245 pub const VFT2_UNKNOWN: VS_FIXEDFILEINFO_FILE_SUBTYPE = 0i32; 5246 pub const VFT2_DRV_PRINTER: VS_FIXEDFILEINFO_FILE_SUBTYPE = 1i32; 5247 pub const VFT2_DRV_KEYBOARD: VS_FIXEDFILEINFO_FILE_SUBTYPE = 2i32; 5248 pub const VFT2_DRV_LANGUAGE: VS_FIXEDFILEINFO_FILE_SUBTYPE = 3i32; 5249 pub const VFT2_DRV_DISPLAY: VS_FIXEDFILEINFO_FILE_SUBTYPE = 4i32; 5250 pub const VFT2_DRV_MOUSE: VS_FIXEDFILEINFO_FILE_SUBTYPE = 5i32; 5251 pub const VFT2_DRV_NETWORK: VS_FIXEDFILEINFO_FILE_SUBTYPE = 6i32; 5252 pub const VFT2_DRV_SYSTEM: VS_FIXEDFILEINFO_FILE_SUBTYPE = 7i32; 5253 pub const VFT2_DRV_INSTALLABLE: VS_FIXEDFILEINFO_FILE_SUBTYPE = 8i32; 5254 pub const VFT2_DRV_SOUND: VS_FIXEDFILEINFO_FILE_SUBTYPE = 9i32; 5255 pub const VFT2_DRV_COMM: VS_FIXEDFILEINFO_FILE_SUBTYPE = 10i32; 5256 pub const VFT2_DRV_INPUTMETHOD: VS_FIXEDFILEINFO_FILE_SUBTYPE = 11i32; 5257 pub const VFT2_DRV_VERSIONED_PRINTER: VS_FIXEDFILEINFO_FILE_SUBTYPE = 12i32; 5258 pub const VFT2_FONT_RASTER: VS_FIXEDFILEINFO_FILE_SUBTYPE = 1i32; 5259 pub const VFT2_FONT_VECTOR: VS_FIXEDFILEINFO_FILE_SUBTYPE = 2i32; 5260 pub const VFT2_FONT_TRUETYPE: VS_FIXEDFILEINFO_FILE_SUBTYPE = 3i32; 5261 pub type VS_FIXEDFILEINFO_FILE_TYPE = i32; 5262 pub const VFT_UNKNOWN: VS_FIXEDFILEINFO_FILE_TYPE = 0i32; 5263 pub const VFT_APP: VS_FIXEDFILEINFO_FILE_TYPE = 1i32; 5264 pub const VFT_DLL: VS_FIXEDFILEINFO_FILE_TYPE = 2i32; 5265 pub const VFT_DRV: VS_FIXEDFILEINFO_FILE_TYPE = 3i32; 5266 pub const VFT_FONT: VS_FIXEDFILEINFO_FILE_TYPE = 4i32; 5267 pub const VFT_VXD: VS_FIXEDFILEINFO_FILE_TYPE = 5i32; 5268 pub const VFT_STATIC_LIB: VS_FIXEDFILEINFO_FILE_TYPE = 7i32; 5269 pub const VS_USER_DEFINED: u32 = 100u32; 5270 pub const VS_VERSION_INFO: u32 = 1u32; 5271 pub const WIM_BOOT_NOT_OS_WIM: u32 = 0u32; 5272 pub const WIM_BOOT_OS_WIM: u32 = 1u32; 5273 pub const WIM_ENTRY_FLAG_NOT_ACTIVE: u32 = 1u32; 5274 pub const WIM_ENTRY_FLAG_SUSPENDED: u32 = 2u32; 5275 #[repr(C)] 5276 #[cfg(feature = "Win32_Foundation")] 5277 pub struct WIM_ENTRY_INFO { 5278 pub WimEntryInfoSize: u32, 5279 pub WimType: u32, 5280 pub DataSourceId: i64, 5281 pub WimGuid: ::windows_sys::core::GUID, 5282 pub WimPath: super::super::Foundation::PWSTR, 5283 pub WimIndex: u32, 5284 pub Flags: u32, 5285 } 5286 #[cfg(feature = "Win32_Foundation")] 5287 impl ::core::marker::Copy for WIM_ENTRY_INFO {} 5288 #[cfg(feature = "Win32_Foundation")] 5289 impl ::core::clone::Clone for WIM_ENTRY_INFO { clone(&self) -> Self5290 fn clone(&self) -> Self { 5291 *self 5292 } 5293 } 5294 #[repr(C)] 5295 pub struct WIM_EXTERNAL_FILE_INFO { 5296 pub DataSourceId: i64, 5297 pub ResourceHash: [u8; 20], 5298 pub Flags: u32, 5299 } 5300 impl ::core::marker::Copy for WIM_EXTERNAL_FILE_INFO {} 5301 impl ::core::clone::Clone for WIM_EXTERNAL_FILE_INFO { clone(&self) -> Self5302 fn clone(&self) -> Self { 5303 *self 5304 } 5305 } 5306 pub const WIM_EXTERNAL_FILE_INFO_FLAG_NOT_ACTIVE: u32 = 1u32; 5307 pub const WIM_EXTERNAL_FILE_INFO_FLAG_SUSPENDED: u32 = 2u32; 5308 pub const WIM_PROVIDER_HASH_SIZE: u32 = 20u32; 5309 #[repr(C)] 5310 #[cfg(feature = "Win32_Foundation")] 5311 pub struct WIN32_FILE_ATTRIBUTE_DATA { 5312 pub dwFileAttributes: u32, 5313 pub ftCreationTime: super::super::Foundation::FILETIME, 5314 pub ftLastAccessTime: super::super::Foundation::FILETIME, 5315 pub ftLastWriteTime: super::super::Foundation::FILETIME, 5316 pub nFileSizeHigh: u32, 5317 pub nFileSizeLow: u32, 5318 } 5319 #[cfg(feature = "Win32_Foundation")] 5320 impl ::core::marker::Copy for WIN32_FILE_ATTRIBUTE_DATA {} 5321 #[cfg(feature = "Win32_Foundation")] 5322 impl ::core::clone::Clone for WIN32_FILE_ATTRIBUTE_DATA { clone(&self) -> Self5323 fn clone(&self) -> Self { 5324 *self 5325 } 5326 } 5327 #[repr(C)] 5328 #[cfg(feature = "Win32_Foundation")] 5329 pub struct WIN32_FIND_DATAA { 5330 pub dwFileAttributes: u32, 5331 pub ftCreationTime: super::super::Foundation::FILETIME, 5332 pub ftLastAccessTime: super::super::Foundation::FILETIME, 5333 pub ftLastWriteTime: super::super::Foundation::FILETIME, 5334 pub nFileSizeHigh: u32, 5335 pub nFileSizeLow: u32, 5336 pub dwReserved0: u32, 5337 pub dwReserved1: u32, 5338 pub cFileName: [super::super::Foundation::CHAR; 260], 5339 pub cAlternateFileName: [super::super::Foundation::CHAR; 14], 5340 } 5341 #[cfg(feature = "Win32_Foundation")] 5342 impl ::core::marker::Copy for WIN32_FIND_DATAA {} 5343 #[cfg(feature = "Win32_Foundation")] 5344 impl ::core::clone::Clone for WIN32_FIND_DATAA { clone(&self) -> Self5345 fn clone(&self) -> Self { 5346 *self 5347 } 5348 } 5349 #[repr(C)] 5350 #[cfg(feature = "Win32_Foundation")] 5351 pub struct WIN32_FIND_DATAW { 5352 pub dwFileAttributes: u32, 5353 pub ftCreationTime: super::super::Foundation::FILETIME, 5354 pub ftLastAccessTime: super::super::Foundation::FILETIME, 5355 pub ftLastWriteTime: super::super::Foundation::FILETIME, 5356 pub nFileSizeHigh: u32, 5357 pub nFileSizeLow: u32, 5358 pub dwReserved0: u32, 5359 pub dwReserved1: u32, 5360 pub cFileName: [u16; 260], 5361 pub cAlternateFileName: [u16; 14], 5362 } 5363 #[cfg(feature = "Win32_Foundation")] 5364 impl ::core::marker::Copy for WIN32_FIND_DATAW {} 5365 #[cfg(feature = "Win32_Foundation")] 5366 impl ::core::clone::Clone for WIN32_FIND_DATAW { clone(&self) -> Self5367 fn clone(&self) -> Self { 5368 *self 5369 } 5370 } 5371 #[repr(C)] 5372 pub struct WIN32_FIND_STREAM_DATA { 5373 pub StreamSize: i64, 5374 pub cStreamName: [u16; 296], 5375 } 5376 impl ::core::marker::Copy for WIN32_FIND_STREAM_DATA {} 5377 impl ::core::clone::Clone for WIN32_FIND_STREAM_DATA { clone(&self) -> Self5378 fn clone(&self) -> Self { 5379 *self 5380 } 5381 } 5382 #[repr(C)] 5383 pub struct WIN32_STREAM_ID { 5384 pub dwStreamId: WIN_STREAM_ID, 5385 pub dwStreamAttributes: u32, 5386 pub Size: i64, 5387 pub dwStreamNameSize: u32, 5388 pub cStreamName: [u16; 1], 5389 } 5390 impl ::core::marker::Copy for WIN32_STREAM_ID {} 5391 impl ::core::clone::Clone for WIN32_STREAM_ID { clone(&self) -> Self5392 fn clone(&self) -> Self { 5393 *self 5394 } 5395 } 5396 pub const WINEFS_SETUSERKEY_SET_CAPABILITIES: u32 = 1u32; 5397 pub type WIN_STREAM_ID = u32; 5398 pub const BACKUP_ALTERNATE_DATA: WIN_STREAM_ID = 4u32; 5399 pub const BACKUP_DATA: WIN_STREAM_ID = 1u32; 5400 pub const BACKUP_EA_DATA: WIN_STREAM_ID = 2u32; 5401 pub const BACKUP_LINK: WIN_STREAM_ID = 5u32; 5402 pub const BACKUP_OBJECT_ID: WIN_STREAM_ID = 7u32; 5403 pub const BACKUP_PROPERTY_DATA: WIN_STREAM_ID = 6u32; 5404 pub const BACKUP_REPARSE_DATA: WIN_STREAM_ID = 8u32; 5405 pub const BACKUP_SECURITY_DATA: WIN_STREAM_ID = 3u32; 5406 pub const BACKUP_SPARSE_BLOCK: WIN_STREAM_ID = 9u32; 5407 pub const BACKUP_TXFS_DATA: WIN_STREAM_ID = 10u32; 5408 #[repr(C)] 5409 pub struct WOF_FILE_COMPRESSION_INFO_V0 { 5410 pub Algorithm: u32, 5411 } 5412 impl ::core::marker::Copy for WOF_FILE_COMPRESSION_INFO_V0 {} 5413 impl ::core::clone::Clone for WOF_FILE_COMPRESSION_INFO_V0 { clone(&self) -> Self5414 fn clone(&self) -> Self { 5415 *self 5416 } 5417 } 5418 #[repr(C)] 5419 pub struct WOF_FILE_COMPRESSION_INFO_V1 { 5420 pub Algorithm: u32, 5421 pub Flags: u32, 5422 } 5423 impl ::core::marker::Copy for WOF_FILE_COMPRESSION_INFO_V1 {} 5424 impl ::core::clone::Clone for WOF_FILE_COMPRESSION_INFO_V1 { clone(&self) -> Self5425 fn clone(&self) -> Self { 5426 *self 5427 } 5428 } 5429 pub const WOF_PROVIDER_FILE: u32 = 2u32; 5430 pub const WOF_PROVIDER_WIM: u32 = 1u32; 5431 #[cfg(feature = "Win32_Foundation")] 5432 pub type WofEnumEntryProc = unsafe extern "system" fn(entryinfo: *const ::core::ffi::c_void, userdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; 5433 #[cfg(feature = "Win32_Foundation")] 5434 pub type WofEnumFilesProc = unsafe extern "system" fn(filepath: super::super::Foundation::PWSTR, externalfileinfo: *const ::core::ffi::c_void, userdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; 5435 pub const _FT_TYPES_DEFINITION_: u32 = 1u32; 5436