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")] AddDelBackupEntryA(lpcszfilelist: super::super::Foundation::PSTR, lpcszbackupdir: super::super::Foundation::PSTR, lpcszbasename: super::super::Foundation::PSTR, dwflags: u32) -> ::windows_sys::core::HRESULT5 pub fn AddDelBackupEntryA(lpcszfilelist: super::super::Foundation::PSTR, lpcszbackupdir: super::super::Foundation::PSTR, lpcszbasename: super::super::Foundation::PSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; 6 #[cfg(feature = "Win32_Foundation")] AddDelBackupEntryW(lpcszfilelist: super::super::Foundation::PWSTR, lpcszbackupdir: super::super::Foundation::PWSTR, lpcszbasename: super::super::Foundation::PWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT7 pub fn AddDelBackupEntryW(lpcszfilelist: super::super::Foundation::PWSTR, lpcszbackupdir: super::super::Foundation::PWSTR, lpcszbasename: super::super::Foundation::PWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; 8 #[cfg(feature = "Win32_Foundation")] AdvInstallFileA(hwnd: super::super::Foundation::HWND, lpszsourcedir: super::super::Foundation::PSTR, lpszsourcefile: super::super::Foundation::PSTR, lpszdestdir: super::super::Foundation::PSTR, lpszdestfile: super::super::Foundation::PSTR, dwflags: u32, dwreserved: u32) -> ::windows_sys::core::HRESULT9 pub fn AdvInstallFileA(hwnd: super::super::Foundation::HWND, lpszsourcedir: super::super::Foundation::PSTR, lpszsourcefile: super::super::Foundation::PSTR, lpszdestdir: super::super::Foundation::PSTR, lpszdestfile: super::super::Foundation::PSTR, dwflags: u32, dwreserved: u32) -> ::windows_sys::core::HRESULT; 10 #[cfg(feature = "Win32_Foundation")] AdvInstallFileW(hwnd: super::super::Foundation::HWND, lpszsourcedir: super::super::Foundation::PWSTR, lpszsourcefile: super::super::Foundation::PWSTR, lpszdestdir: super::super::Foundation::PWSTR, lpszdestfile: super::super::Foundation::PWSTR, dwflags: u32, dwreserved: u32) -> ::windows_sys::core::HRESULT11 pub fn AdvInstallFileW(hwnd: super::super::Foundation::HWND, lpszsourcedir: super::super::Foundation::PWSTR, lpszsourcefile: super::super::Foundation::PWSTR, lpszdestdir: super::super::Foundation::PWSTR, lpszdestfile: super::super::Foundation::PWSTR, dwflags: u32, dwreserved: u32) -> ::windows_sys::core::HRESULT; 12 #[cfg(feature = "Win32_Foundation")] ApphelpCheckShellObject(objectclsid: *const ::windows_sys::core::GUID, bshimifnecessary: super::super::Foundation::BOOL, pullflags: *mut u64) -> super::super::Foundation::BOOL13 pub fn ApphelpCheckShellObject(objectclsid: *const ::windows_sys::core::GUID, bshimifnecessary: super::super::Foundation::BOOL, pullflags: *mut u64) -> super::super::Foundation::BOOL; 14 #[cfg(feature = "Win32_Foundation")] CancelDeviceWakeupRequest(hdevice: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL15 pub fn CancelDeviceWakeupRequest(hdevice: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 16 #[cfg(feature = "Win32_Foundation")] CancelTimerQueueTimer(timerqueue: super::super::Foundation::HANDLE, timer: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL17 pub fn CancelTimerQueueTimer(timerqueue: super::super::Foundation::HANDLE, timer: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; CloseINFEngine(hinf: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT18 pub fn CloseINFEngine(hinf: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; ConvertAuxiliaryCounterToPerformanceCounter(ullauxiliarycountervalue: u64, lpperformancecountervalue: *mut u64, lpconversionerror: *mut u64) -> ::windows_sys::core::HRESULT19 pub fn ConvertAuxiliaryCounterToPerformanceCounter(ullauxiliarycountervalue: u64, lpperformancecountervalue: *mut u64, lpconversionerror: *mut u64) -> ::windows_sys::core::HRESULT; ConvertPerformanceCounterToAuxiliaryCounter(ullperformancecountervalue: u64, lpauxiliarycountervalue: *mut u64, lpconversionerror: *mut u64) -> ::windows_sys::core::HRESULT20 pub fn ConvertPerformanceCounterToAuxiliaryCounter(ullperformancecountervalue: u64, lpauxiliarycountervalue: *mut u64, lpconversionerror: *mut u64) -> ::windows_sys::core::HRESULT; 21 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateWaitableTimerA(lptimerattributes: *const super::super::Security::SECURITY_ATTRIBUTES, bmanualreset: super::super::Foundation::BOOL, lptimername: super::super::Foundation::PSTR) -> super::super::Foundation::HANDLE22 pub fn CreateWaitableTimerA(lptimerattributes: *const super::super::Security::SECURITY_ATTRIBUTES, bmanualreset: super::super::Foundation::BOOL, lptimername: super::super::Foundation::PSTR) -> super::super::Foundation::HANDLE; 23 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] CreateWaitableTimerExA(lptimerattributes: *const super::super::Security::SECURITY_ATTRIBUTES, lptimername: super::super::Foundation::PSTR, dwflags: u32, dwdesiredaccess: u32) -> super::super::Foundation::HANDLE24 pub fn CreateWaitableTimerExA(lptimerattributes: *const super::super::Security::SECURITY_ATTRIBUTES, lptimername: super::super::Foundation::PSTR, dwflags: u32, dwdesiredaccess: u32) -> super::super::Foundation::HANDLE; DCIBeginAccess(pdci: *mut DCISURFACEINFO, x: i32, y: i32, dx: i32, dy: i32) -> i3225 pub fn DCIBeginAccess(pdci: *mut DCISURFACEINFO, x: i32, y: i32, dx: i32, dy: i32) -> i32; 26 #[cfg(feature = "Win32_Graphics_Gdi")] DCICloseProvider(hdc: super::super::Graphics::Gdi::HDC)27 pub fn DCICloseProvider(hdc: super::super::Graphics::Gdi::HDC); 28 #[cfg(feature = "Win32_Graphics_Gdi")] DCICreateOffscreen(hdc: super::super::Graphics::Gdi::HDC, dwcompression: u32, dwredmask: u32, dwgreenmask: u32, dwbluemask: u32, dwwidth: u32, dwheight: u32, dwdcicaps: u32, dwbitcount: u32, lplpsurface: *mut *mut DCIOFFSCREEN) -> i3229 pub fn DCICreateOffscreen(hdc: super::super::Graphics::Gdi::HDC, dwcompression: u32, dwredmask: u32, dwgreenmask: u32, dwbluemask: u32, dwwidth: u32, dwheight: u32, dwdcicaps: u32, dwbitcount: u32, lplpsurface: *mut *mut DCIOFFSCREEN) -> i32; 30 #[cfg(feature = "Win32_Graphics_Gdi")] DCICreateOverlay(hdc: super::super::Graphics::Gdi::HDC, lpoffscreensurf: *mut ::core::ffi::c_void, lplpsurface: *mut *mut DCIOVERLAY) -> i3231 pub fn DCICreateOverlay(hdc: super::super::Graphics::Gdi::HDC, lpoffscreensurf: *mut ::core::ffi::c_void, lplpsurface: *mut *mut DCIOVERLAY) -> i32; 32 #[cfg(feature = "Win32_Graphics_Gdi")] DCICreatePrimary(hdc: super::super::Graphics::Gdi::HDC, lplpsurface: *mut *mut DCISURFACEINFO) -> i3233 pub fn DCICreatePrimary(hdc: super::super::Graphics::Gdi::HDC, lplpsurface: *mut *mut DCISURFACEINFO) -> i32; DCIDestroy(pdci: *mut DCISURFACEINFO)34 pub fn DCIDestroy(pdci: *mut DCISURFACEINFO); DCIDraw(pdci: *mut DCIOFFSCREEN) -> i3235 pub fn DCIDraw(pdci: *mut DCIOFFSCREEN) -> i32; DCIEndAccess(pdci: *mut DCISURFACEINFO)36 pub fn DCIEndAccess(pdci: *mut DCISURFACEINFO); 37 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] DCIEnum(hdc: super::super::Graphics::Gdi::HDC, lprdst: *mut super::super::Foundation::RECT, lprsrc: *mut super::super::Foundation::RECT, lpfncallback: *mut ::core::ffi::c_void, lpcontext: *mut ::core::ffi::c_void) -> i3238 pub fn DCIEnum(hdc: super::super::Graphics::Gdi::HDC, lprdst: *mut super::super::Foundation::RECT, lprsrc: *mut super::super::Foundation::RECT, lpfncallback: *mut ::core::ffi::c_void, lpcontext: *mut ::core::ffi::c_void) -> i32; 39 #[cfg(feature = "Win32_Graphics_Gdi")] DCIOpenProvider() -> super::super::Graphics::Gdi::HDC40 pub fn DCIOpenProvider() -> super::super::Graphics::Gdi::HDC; 41 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] DCISetClipList(pdci: *mut DCIOFFSCREEN, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> i3242 pub fn DCISetClipList(pdci: *mut DCIOFFSCREEN, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> i32; 43 #[cfg(feature = "Win32_Foundation")] DCISetDestination(pdci: *mut DCIOFFSCREEN, dst: *mut super::super::Foundation::RECT, src: *mut super::super::Foundation::RECT) -> i3244 pub fn DCISetDestination(pdci: *mut DCIOFFSCREEN, dst: *mut super::super::Foundation::RECT, src: *mut super::super::Foundation::RECT) -> i32; 45 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] DCISetSrcDestClip(pdci: *mut DCIOFFSCREEN, srcrc: *mut super::super::Foundation::RECT, destrc: *mut super::super::Foundation::RECT, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> i3246 pub fn DCISetSrcDestClip(pdci: *mut DCIOFFSCREEN, srcrc: *mut super::super::Foundation::RECT, destrc: *mut super::super::Foundation::RECT, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> i32; 47 #[cfg(feature = "Win32_Foundation")] DelNodeA(pszfileordirname: super::super::Foundation::PSTR, dwflags: u32) -> ::windows_sys::core::HRESULT48 pub fn DelNodeA(pszfileordirname: super::super::Foundation::PSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; 49 #[cfg(feature = "Win32_Foundation")] DelNodeRunDLL32W(hwnd: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszparms: super::super::Foundation::PWSTR, nshow: i32) -> ::windows_sys::core::HRESULT50 pub fn DelNodeRunDLL32W(hwnd: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszparms: super::super::Foundation::PWSTR, nshow: i32) -> ::windows_sys::core::HRESULT; 51 #[cfg(feature = "Win32_Foundation")] DelNodeW(pszfileordirname: super::super::Foundation::PWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT52 pub fn DelNodeW(pszfileordirname: super::super::Foundation::PWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; 53 #[cfg(feature = "Win32_Foundation")] DnsHostnameToComputerNameA(hostname: super::super::Foundation::PSTR, computername: super::super::Foundation::PSTR, nsize: *mut u32) -> super::super::Foundation::BOOL54 pub fn DnsHostnameToComputerNameA(hostname: super::super::Foundation::PSTR, computername: super::super::Foundation::PSTR, nsize: *mut u32) -> super::super::Foundation::BOOL; 55 #[cfg(feature = "Win32_Foundation")] DnsHostnameToComputerNameW(hostname: super::super::Foundation::PWSTR, computername: super::super::Foundation::PWSTR, nsize: *mut u32) -> super::super::Foundation::BOOL56 pub fn DnsHostnameToComputerNameW(hostname: super::super::Foundation::PWSTR, computername: super::super::Foundation::PWSTR, nsize: *mut u32) -> super::super::Foundation::BOOL; 57 #[cfg(feature = "Win32_Foundation")] DosDateTimeToFileTime(wfatdate: u16, wfattime: u16, lpfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL58 pub fn DosDateTimeToFileTime(wfatdate: u16, wfattime: u16, lpfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL; 59 #[cfg(any(target_arch = "x86", target_arch = "x86_64",))] 60 #[cfg(feature = "Win32_Foundation")] EnableProcessOptionalXStateFeatures(features: u64) -> super::super::Foundation::BOOL61 pub fn EnableProcessOptionalXStateFeatures(features: u64) -> super::super::Foundation::BOOL; 62 #[cfg(feature = "Win32_Foundation")] ExecuteCabA(hwnd: super::super::Foundation::HWND, pcab: *mut CABINFOA, preserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT63 pub fn ExecuteCabA(hwnd: super::super::Foundation::HWND, pcab: *mut CABINFOA, preserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; 64 #[cfg(feature = "Win32_Foundation")] ExecuteCabW(hwnd: super::super::Foundation::HWND, pcab: *mut CABINFOW, preserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT65 pub fn ExecuteCabW(hwnd: super::super::Foundation::HWND, pcab: *mut CABINFOW, preserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; 66 #[cfg(feature = "Win32_Foundation")] ExtractFilesA(pszcabname: super::super::Foundation::PSTR, pszexpanddir: super::super::Foundation::PSTR, dwflags: u32, pszfilelist: super::super::Foundation::PSTR, lpreserved: *mut ::core::ffi::c_void, dwreserved: u32) -> ::windows_sys::core::HRESULT67 pub fn ExtractFilesA(pszcabname: super::super::Foundation::PSTR, pszexpanddir: super::super::Foundation::PSTR, dwflags: u32, pszfilelist: super::super::Foundation::PSTR, lpreserved: *mut ::core::ffi::c_void, dwreserved: u32) -> ::windows_sys::core::HRESULT; 68 #[cfg(feature = "Win32_Foundation")] ExtractFilesW(pszcabname: super::super::Foundation::PWSTR, pszexpanddir: super::super::Foundation::PWSTR, dwflags: u32, pszfilelist: super::super::Foundation::PWSTR, lpreserved: *mut ::core::ffi::c_void, dwreserved: u32) -> ::windows_sys::core::HRESULT69 pub fn ExtractFilesW(pszcabname: super::super::Foundation::PWSTR, pszexpanddir: super::super::Foundation::PWSTR, dwflags: u32, pszfilelist: super::super::Foundation::PWSTR, lpreserved: *mut ::core::ffi::c_void, dwreserved: u32) -> ::windows_sys::core::HRESULT; 70 #[cfg(feature = "Win32_Foundation")] FileSaveMarkNotExistA(lpfilelist: super::super::Foundation::PSTR, lpdir: super::super::Foundation::PSTR, lpbasename: super::super::Foundation::PSTR) -> ::windows_sys::core::HRESULT71 pub fn FileSaveMarkNotExistA(lpfilelist: super::super::Foundation::PSTR, lpdir: super::super::Foundation::PSTR, lpbasename: super::super::Foundation::PSTR) -> ::windows_sys::core::HRESULT; 72 #[cfg(feature = "Win32_Foundation")] FileSaveMarkNotExistW(lpfilelist: super::super::Foundation::PWSTR, lpdir: super::super::Foundation::PWSTR, lpbasename: super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT73 pub fn FileSaveMarkNotExistW(lpfilelist: super::super::Foundation::PWSTR, lpdir: super::super::Foundation::PWSTR, lpbasename: super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT; 74 #[cfg(feature = "Win32_Foundation")] FileSaveRestoreOnINFA(hwnd: super::super::Foundation::HWND, psztitle: super::super::Foundation::PSTR, pszinf: super::super::Foundation::PSTR, pszsection: super::super::Foundation::PSTR, pszbackupdir: super::super::Foundation::PSTR, pszbasebackupfile: super::super::Foundation::PSTR, dwflags: u32) -> ::windows_sys::core::HRESULT75 pub fn FileSaveRestoreOnINFA(hwnd: super::super::Foundation::HWND, psztitle: super::super::Foundation::PSTR, pszinf: super::super::Foundation::PSTR, pszsection: super::super::Foundation::PSTR, pszbackupdir: super::super::Foundation::PSTR, pszbasebackupfile: super::super::Foundation::PSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; 76 #[cfg(feature = "Win32_Foundation")] FileSaveRestoreOnINFW(hwnd: super::super::Foundation::HWND, psztitle: super::super::Foundation::PWSTR, pszinf: super::super::Foundation::PWSTR, pszsection: super::super::Foundation::PWSTR, pszbackupdir: super::super::Foundation::PWSTR, pszbasebackupfile: super::super::Foundation::PWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT77 pub fn FileSaveRestoreOnINFW(hwnd: super::super::Foundation::HWND, psztitle: super::super::Foundation::PWSTR, pszinf: super::super::Foundation::PWSTR, pszsection: super::super::Foundation::PWSTR, pszbackupdir: super::super::Foundation::PWSTR, pszbasebackupfile: super::super::Foundation::PWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; 78 #[cfg(feature = "Win32_Foundation")] FileSaveRestoreW(hdlg: super::super::Foundation::HWND, lpfilelist: super::super::Foundation::PWSTR, lpdir: super::super::Foundation::PWSTR, lpbasename: super::super::Foundation::PWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT79 pub fn FileSaveRestoreW(hdlg: super::super::Foundation::HWND, lpfilelist: super::super::Foundation::PWSTR, lpdir: super::super::Foundation::PWSTR, lpbasename: super::super::Foundation::PWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; 80 #[cfg(feature = "Win32_Foundation")] FileTimeToDosDateTime(lpfiletime: *const super::super::Foundation::FILETIME, lpfatdate: *mut u16, lpfattime: *mut u16) -> super::super::Foundation::BOOL81 pub fn FileTimeToDosDateTime(lpfiletime: *const super::super::Foundation::FILETIME, lpfatdate: *mut u16, lpfattime: *mut u16) -> super::super::Foundation::BOOL; GdiEntry13() -> u3282 pub fn GdiEntry13() -> u32; 83 #[cfg(feature = "Win32_Foundation")] GetComputerNameA(lpbuffer: super::super::Foundation::PSTR, nsize: *mut u32) -> super::super::Foundation::BOOL84 pub fn GetComputerNameA(lpbuffer: super::super::Foundation::PSTR, nsize: *mut u32) -> super::super::Foundation::BOOL; 85 #[cfg(feature = "Win32_Foundation")] GetComputerNameW(lpbuffer: super::super::Foundation::PWSTR, nsize: *mut u32) -> super::super::Foundation::BOOL86 pub fn GetComputerNameW(lpbuffer: super::super::Foundation::PWSTR, nsize: *mut u32) -> super::super::Foundation::BOOL; 87 #[cfg(feature = "Win32_Foundation")] GetCurrentHwProfileA(lphwprofileinfo: *mut HW_PROFILE_INFOA) -> super::super::Foundation::BOOL88 pub fn GetCurrentHwProfileA(lphwprofileinfo: *mut HW_PROFILE_INFOA) -> super::super::Foundation::BOOL; 89 #[cfg(feature = "Win32_Foundation")] GetCurrentHwProfileW(lphwprofileinfo: *mut HW_PROFILE_INFOW) -> super::super::Foundation::BOOL90 pub fn GetCurrentHwProfileW(lphwprofileinfo: *mut HW_PROFILE_INFOW) -> super::super::Foundation::BOOL; 91 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] GetDCRegionData(hdc: super::super::Graphics::Gdi::HDC, size: u32, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> u3292 pub fn GetDCRegionData(hdc: super::super::Graphics::Gdi::HDC, size: u32, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> u32; GetFeatureEnabledState(featureid: u32, changetime: FEATURE_CHANGE_TIME) -> FEATURE_ENABLED_STATE93 pub fn GetFeatureEnabledState(featureid: u32, changetime: FEATURE_CHANGE_TIME) -> FEATURE_ENABLED_STATE; 94 #[cfg(feature = "Win32_Foundation")] GetFeatureVariant(featureid: u32, changetime: FEATURE_CHANGE_TIME, payloadid: *mut u32, hasnotification: *mut super::super::Foundation::BOOL) -> u3295 pub fn GetFeatureVariant(featureid: u32, changetime: FEATURE_CHANGE_TIME, payloadid: *mut u32, hasnotification: *mut super::super::Foundation::BOOL) -> u32; 96 #[cfg(feature = "Win32_Foundation")] GetFirmwareEnvironmentVariableA(lpname: super::super::Foundation::PSTR, lpguid: super::super::Foundation::PSTR, pbuffer: *mut ::core::ffi::c_void, nsize: u32) -> u3297 pub fn GetFirmwareEnvironmentVariableA(lpname: super::super::Foundation::PSTR, lpguid: super::super::Foundation::PSTR, pbuffer: *mut ::core::ffi::c_void, nsize: u32) -> u32; 98 #[cfg(feature = "Win32_Foundation")] GetFirmwareEnvironmentVariableExA(lpname: super::super::Foundation::PSTR, lpguid: super::super::Foundation::PSTR, pbuffer: *mut ::core::ffi::c_void, nsize: u32, pdwattribubutes: *mut u32) -> u3299 pub fn GetFirmwareEnvironmentVariableExA(lpname: super::super::Foundation::PSTR, lpguid: super::super::Foundation::PSTR, pbuffer: *mut ::core::ffi::c_void, nsize: u32, pdwattribubutes: *mut u32) -> u32; 100 #[cfg(feature = "Win32_Foundation")] GetFirmwareEnvironmentVariableExW(lpname: super::super::Foundation::PWSTR, lpguid: super::super::Foundation::PWSTR, pbuffer: *mut ::core::ffi::c_void, nsize: u32, pdwattribubutes: *mut u32) -> u32101 pub fn GetFirmwareEnvironmentVariableExW(lpname: super::super::Foundation::PWSTR, lpguid: super::super::Foundation::PWSTR, pbuffer: *mut ::core::ffi::c_void, nsize: u32, pdwattribubutes: *mut u32) -> u32; 102 #[cfg(feature = "Win32_Foundation")] GetFirmwareEnvironmentVariableW(lpname: super::super::Foundation::PWSTR, lpguid: super::super::Foundation::PWSTR, pbuffer: *mut ::core::ffi::c_void, nsize: u32) -> u32103 pub fn GetFirmwareEnvironmentVariableW(lpname: super::super::Foundation::PWSTR, lpguid: super::super::Foundation::PWSTR, pbuffer: *mut ::core::ffi::c_void, nsize: u32) -> u32; 104 #[cfg(feature = "Win32_Foundation")] GetPrivateProfileIntA(lpappname: super::super::Foundation::PSTR, lpkeyname: super::super::Foundation::PSTR, ndefault: i32, lpfilename: super::super::Foundation::PSTR) -> u32105 pub fn GetPrivateProfileIntA(lpappname: super::super::Foundation::PSTR, lpkeyname: super::super::Foundation::PSTR, ndefault: i32, lpfilename: super::super::Foundation::PSTR) -> u32; 106 #[cfg(feature = "Win32_Foundation")] GetPrivateProfileIntW(lpappname: super::super::Foundation::PWSTR, lpkeyname: super::super::Foundation::PWSTR, ndefault: i32, lpfilename: super::super::Foundation::PWSTR) -> u32107 pub fn GetPrivateProfileIntW(lpappname: super::super::Foundation::PWSTR, lpkeyname: super::super::Foundation::PWSTR, ndefault: i32, lpfilename: super::super::Foundation::PWSTR) -> u32; 108 #[cfg(feature = "Win32_Foundation")] GetPrivateProfileSectionA(lpappname: super::super::Foundation::PSTR, lpreturnedstring: super::super::Foundation::PSTR, nsize: u32, lpfilename: super::super::Foundation::PSTR) -> u32109 pub fn GetPrivateProfileSectionA(lpappname: super::super::Foundation::PSTR, lpreturnedstring: super::super::Foundation::PSTR, nsize: u32, lpfilename: super::super::Foundation::PSTR) -> u32; 110 #[cfg(feature = "Win32_Foundation")] GetPrivateProfileSectionNamesA(lpszreturnbuffer: super::super::Foundation::PSTR, nsize: u32, lpfilename: super::super::Foundation::PSTR) -> u32111 pub fn GetPrivateProfileSectionNamesA(lpszreturnbuffer: super::super::Foundation::PSTR, nsize: u32, lpfilename: super::super::Foundation::PSTR) -> u32; 112 #[cfg(feature = "Win32_Foundation")] GetPrivateProfileSectionNamesW(lpszreturnbuffer: super::super::Foundation::PWSTR, nsize: u32, lpfilename: super::super::Foundation::PWSTR) -> u32113 pub fn GetPrivateProfileSectionNamesW(lpszreturnbuffer: super::super::Foundation::PWSTR, nsize: u32, lpfilename: super::super::Foundation::PWSTR) -> u32; 114 #[cfg(feature = "Win32_Foundation")] GetPrivateProfileSectionW(lpappname: super::super::Foundation::PWSTR, lpreturnedstring: super::super::Foundation::PWSTR, nsize: u32, lpfilename: super::super::Foundation::PWSTR) -> u32115 pub fn GetPrivateProfileSectionW(lpappname: super::super::Foundation::PWSTR, lpreturnedstring: super::super::Foundation::PWSTR, nsize: u32, lpfilename: super::super::Foundation::PWSTR) -> u32; 116 #[cfg(feature = "Win32_Foundation")] GetPrivateProfileStringA(lpappname: super::super::Foundation::PSTR, lpkeyname: super::super::Foundation::PSTR, lpdefault: super::super::Foundation::PSTR, lpreturnedstring: super::super::Foundation::PSTR, nsize: u32, lpfilename: super::super::Foundation::PSTR) -> u32117 pub fn GetPrivateProfileStringA(lpappname: super::super::Foundation::PSTR, lpkeyname: super::super::Foundation::PSTR, lpdefault: super::super::Foundation::PSTR, lpreturnedstring: super::super::Foundation::PSTR, nsize: u32, lpfilename: super::super::Foundation::PSTR) -> u32; 118 #[cfg(feature = "Win32_Foundation")] GetPrivateProfileStringW(lpappname: super::super::Foundation::PWSTR, lpkeyname: super::super::Foundation::PWSTR, lpdefault: super::super::Foundation::PWSTR, lpreturnedstring: super::super::Foundation::PWSTR, nsize: u32, lpfilename: super::super::Foundation::PWSTR) -> u32119 pub fn GetPrivateProfileStringW(lpappname: super::super::Foundation::PWSTR, lpkeyname: super::super::Foundation::PWSTR, lpdefault: super::super::Foundation::PWSTR, lpreturnedstring: super::super::Foundation::PWSTR, nsize: u32, lpfilename: super::super::Foundation::PWSTR) -> u32; 120 #[cfg(feature = "Win32_Foundation")] GetPrivateProfileStructA(lpszsection: super::super::Foundation::PSTR, lpszkey: super::super::Foundation::PSTR, lpstruct: *mut ::core::ffi::c_void, usizestruct: u32, szfile: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL121 pub fn GetPrivateProfileStructA(lpszsection: super::super::Foundation::PSTR, lpszkey: super::super::Foundation::PSTR, lpstruct: *mut ::core::ffi::c_void, usizestruct: u32, szfile: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL; 122 #[cfg(feature = "Win32_Foundation")] GetPrivateProfileStructW(lpszsection: super::super::Foundation::PWSTR, lpszkey: super::super::Foundation::PWSTR, lpstruct: *mut ::core::ffi::c_void, usizestruct: u32, szfile: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL123 pub fn GetPrivateProfileStructW(lpszsection: super::super::Foundation::PWSTR, lpszkey: super::super::Foundation::PWSTR, lpstruct: *mut ::core::ffi::c_void, usizestruct: u32, szfile: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; 124 #[cfg(feature = "Win32_Foundation")] GetProfileIntA(lpappname: super::super::Foundation::PSTR, lpkeyname: super::super::Foundation::PSTR, ndefault: i32) -> u32125 pub fn GetProfileIntA(lpappname: super::super::Foundation::PSTR, lpkeyname: super::super::Foundation::PSTR, ndefault: i32) -> u32; 126 #[cfg(feature = "Win32_Foundation")] GetProfileIntW(lpappname: super::super::Foundation::PWSTR, lpkeyname: super::super::Foundation::PWSTR, ndefault: i32) -> u32127 pub fn GetProfileIntW(lpappname: super::super::Foundation::PWSTR, lpkeyname: super::super::Foundation::PWSTR, ndefault: i32) -> u32; 128 #[cfg(feature = "Win32_Foundation")] GetProfileSectionA(lpappname: super::super::Foundation::PSTR, lpreturnedstring: super::super::Foundation::PSTR, nsize: u32) -> u32129 pub fn GetProfileSectionA(lpappname: super::super::Foundation::PSTR, lpreturnedstring: super::super::Foundation::PSTR, nsize: u32) -> u32; 130 #[cfg(feature = "Win32_Foundation")] GetProfileSectionW(lpappname: super::super::Foundation::PWSTR, lpreturnedstring: super::super::Foundation::PWSTR, nsize: u32) -> u32131 pub fn GetProfileSectionW(lpappname: super::super::Foundation::PWSTR, lpreturnedstring: super::super::Foundation::PWSTR, nsize: u32) -> u32; 132 #[cfg(feature = "Win32_Foundation")] GetProfileStringA(lpappname: super::super::Foundation::PSTR, lpkeyname: super::super::Foundation::PSTR, lpdefault: super::super::Foundation::PSTR, lpreturnedstring: super::super::Foundation::PSTR, nsize: u32) -> u32133 pub fn GetProfileStringA(lpappname: super::super::Foundation::PSTR, lpkeyname: super::super::Foundation::PSTR, lpdefault: super::super::Foundation::PSTR, lpreturnedstring: super::super::Foundation::PSTR, nsize: u32) -> u32; 134 #[cfg(feature = "Win32_Foundation")] GetProfileStringW(lpappname: super::super::Foundation::PWSTR, lpkeyname: super::super::Foundation::PWSTR, lpdefault: super::super::Foundation::PWSTR, lpreturnedstring: super::super::Foundation::PWSTR, nsize: u32) -> u32135 pub fn GetProfileStringW(lpappname: super::super::Foundation::PWSTR, lpkeyname: super::super::Foundation::PWSTR, lpdefault: super::super::Foundation::PWSTR, lpreturnedstring: super::super::Foundation::PWSTR, nsize: u32) -> u32; 136 #[cfg(feature = "Win32_Foundation")] GetSystemRegistryQuota(pdwquotaallowed: *mut u32, pdwquotaused: *mut u32) -> super::super::Foundation::BOOL137 pub fn GetSystemRegistryQuota(pdwquotaallowed: *mut u32, pdwquotaused: *mut u32) -> super::super::Foundation::BOOL; 138 #[cfg(any(target_arch = "x86", target_arch = "x86_64",))] GetThreadEnabledXStateFeatures() -> u64139 pub fn GetThreadEnabledXStateFeatures() -> u64; 140 #[cfg(feature = "Win32_Foundation")] GetUserNameA(lpbuffer: super::super::Foundation::PSTR, pcbbuffer: *mut u32) -> super::super::Foundation::BOOL141 pub fn GetUserNameA(lpbuffer: super::super::Foundation::PSTR, pcbbuffer: *mut u32) -> super::super::Foundation::BOOL; 142 #[cfg(feature = "Win32_Foundation")] GetUserNameW(lpbuffer: super::super::Foundation::PWSTR, pcbbuffer: *mut u32) -> super::super::Foundation::BOOL143 pub fn GetUserNameW(lpbuffer: super::super::Foundation::PWSTR, pcbbuffer: *mut u32) -> super::super::Foundation::BOOL; 144 #[cfg(feature = "Win32_Foundation")] GetVersionFromFileA(lpszfilename: super::super::Foundation::PSTR, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT145 pub fn GetVersionFromFileA(lpszfilename: super::super::Foundation::PSTR, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; 146 #[cfg(feature = "Win32_Foundation")] GetVersionFromFileExA(lpszfilename: super::super::Foundation::PSTR, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT147 pub fn GetVersionFromFileExA(lpszfilename: super::super::Foundation::PSTR, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; 148 #[cfg(feature = "Win32_Foundation")] GetVersionFromFileExW(lpszfilename: super::super::Foundation::PWSTR, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT149 pub fn GetVersionFromFileExW(lpszfilename: super::super::Foundation::PWSTR, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; 150 #[cfg(feature = "Win32_Foundation")] GetVersionFromFileW(lpszfilename: super::super::Foundation::PWSTR, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT151 pub fn GetVersionFromFileW(lpszfilename: super::super::Foundation::PWSTR, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; 152 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] GetWindowRegionData(hwnd: super::super::Foundation::HWND, size: u32, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> u32153 pub fn GetWindowRegionData(hwnd: super::super::Foundation::HWND, size: u32, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> u32; GlobalCompact(dwminfree: u32) -> usize154 pub fn GlobalCompact(dwminfree: u32) -> usize; GlobalFix(hmem: isize)155 pub fn GlobalFix(hmem: isize); 156 #[cfg(feature = "Win32_Foundation")] GlobalUnWire(hmem: isize) -> super::super::Foundation::BOOL157 pub fn GlobalUnWire(hmem: isize) -> super::super::Foundation::BOOL; GlobalUnfix(hmem: isize)158 pub fn GlobalUnfix(hmem: isize); GlobalWire(hmem: isize) -> *mut ::core::ffi::c_void159 pub fn GlobalWire(hmem: isize) -> *mut ::core::ffi::c_void; 160 #[cfg(feature = "Win32_Foundation")] IMPGetIMEA(param0: super::super::Foundation::HWND, param1: *mut IMEPROA) -> super::super::Foundation::BOOL161 pub fn IMPGetIMEA(param0: super::super::Foundation::HWND, param1: *mut IMEPROA) -> super::super::Foundation::BOOL; 162 #[cfg(feature = "Win32_Foundation")] IMPGetIMEW(param0: super::super::Foundation::HWND, param1: *mut IMEPROW) -> super::super::Foundation::BOOL163 pub fn IMPGetIMEW(param0: super::super::Foundation::HWND, param1: *mut IMEPROW) -> super::super::Foundation::BOOL; 164 #[cfg(feature = "Win32_Foundation")] IMPQueryIMEA(param0: *mut IMEPROA) -> super::super::Foundation::BOOL165 pub fn IMPQueryIMEA(param0: *mut IMEPROA) -> super::super::Foundation::BOOL; 166 #[cfg(feature = "Win32_Foundation")] IMPQueryIMEW(param0: *mut IMEPROW) -> super::super::Foundation::BOOL167 pub fn IMPQueryIMEW(param0: *mut IMEPROW) -> super::super::Foundation::BOOL; 168 #[cfg(feature = "Win32_Foundation")] IMPSetIMEA(param0: super::super::Foundation::HWND, param1: *mut IMEPROA) -> super::super::Foundation::BOOL169 pub fn IMPSetIMEA(param0: super::super::Foundation::HWND, param1: *mut IMEPROA) -> super::super::Foundation::BOOL; 170 #[cfg(feature = "Win32_Foundation")] IMPSetIMEW(param0: super::super::Foundation::HWND, param1: *mut IMEPROW) -> super::super::Foundation::BOOL171 pub fn IMPSetIMEW(param0: super::super::Foundation::HWND, param1: *mut IMEPROW) -> super::super::Foundation::BOOL; 172 #[cfg(feature = "Win32_Foundation")] IsApiSetImplemented(contract: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL173 pub fn IsApiSetImplemented(contract: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL; 174 #[cfg(feature = "Win32_Foundation")] IsBadHugeReadPtr(lp: *const ::core::ffi::c_void, ucb: usize) -> super::super::Foundation::BOOL175 pub fn IsBadHugeReadPtr(lp: *const ::core::ffi::c_void, ucb: usize) -> super::super::Foundation::BOOL; 176 #[cfg(feature = "Win32_Foundation")] IsBadHugeWritePtr(lp: *const ::core::ffi::c_void, ucb: usize) -> super::super::Foundation::BOOL177 pub fn IsBadHugeWritePtr(lp: *const ::core::ffi::c_void, ucb: usize) -> super::super::Foundation::BOOL; 178 #[cfg(feature = "Win32_Foundation")] IsNTAdmin(dwreserved: u32, lpdwreserved: *mut u32) -> super::super::Foundation::BOOL179 pub fn IsNTAdmin(dwreserved: u32, lpdwreserved: *mut u32) -> super::super::Foundation::BOOL; 180 #[cfg(feature = "Win32_Foundation")] IsNativeVhdBoot(nativevhdboot: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL181 pub fn IsNativeVhdBoot(nativevhdboot: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; 182 #[cfg(feature = "Win32_Foundation")] IsTokenUntrusted(tokenhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL183 pub fn IsTokenUntrusted(tokenhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 184 #[cfg(feature = "Win32_Foundation")] LaunchINFSectionExW(hwnd: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszparms: super::super::Foundation::PWSTR, nshow: i32) -> ::windows_sys::core::HRESULT185 pub fn LaunchINFSectionExW(hwnd: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszparms: super::super::Foundation::PWSTR, nshow: i32) -> ::windows_sys::core::HRESULT; 186 #[cfg(feature = "Win32_Foundation")] LaunchINFSectionW(hwndowner: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszparams: super::super::Foundation::PWSTR, nshow: i32) -> i32187 pub fn LaunchINFSectionW(hwndowner: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszparams: super::super::Foundation::PWSTR, nshow: i32) -> i32; LocalCompact(uminfree: u32) -> usize188 pub fn LocalCompact(uminfree: u32) -> usize; LocalShrink(hmem: isize, cbnewsize: u32) -> usize189 pub fn LocalShrink(hmem: isize, cbnewsize: u32) -> usize; MulDiv(nnumber: i32, nnumerator: i32, ndenominator: i32) -> i32190 pub fn MulDiv(nnumber: i32, nnumerator: i32, ndenominator: i32) -> i32; 191 #[cfg(feature = "Win32_Foundation")] NeedReboot(dwrebootcheck: u32) -> super::super::Foundation::BOOL192 pub fn NeedReboot(dwrebootcheck: u32) -> super::super::Foundation::BOOL; NeedRebootInit() -> u32193 pub fn NeedRebootInit() -> u32; 194 #[cfg(feature = "Win32_Foundation")] NtClose(handle: super::super::Foundation::HANDLE) -> super::super::Foundation::NTSTATUS195 pub fn NtClose(handle: super::super::Foundation::HANDLE) -> super::super::Foundation::NTSTATUS; 196 #[cfg(feature = "Win32_Foundation")] NtDeviceIoControlFile(filehandle: super::super::Foundation::HANDLE, event: super::super::Foundation::HANDLE, apcroutine: ::core::option::Option<PIO_APC_ROUTINE>, apccontext: *mut ::core::ffi::c_void, iostatusblock: *mut IO_STATUS_BLOCK, iocontrolcode: u32, inputbuffer: *mut ::core::ffi::c_void, inputbufferlength: u32, outputbuffer: *mut ::core::ffi::c_void, outputbufferlength: u32) -> super::super::Foundation::NTSTATUS197 pub fn NtDeviceIoControlFile(filehandle: super::super::Foundation::HANDLE, event: super::super::Foundation::HANDLE, apcroutine: ::core::option::Option<PIO_APC_ROUTINE>, apccontext: *mut ::core::ffi::c_void, iostatusblock: *mut IO_STATUS_BLOCK, iocontrolcode: u32, inputbuffer: *mut ::core::ffi::c_void, inputbufferlength: u32, outputbuffer: *mut ::core::ffi::c_void, outputbufferlength: u32) -> super::super::Foundation::NTSTATUS; 198 #[cfg(feature = "Win32_Foundation")] NtNotifyChangeMultipleKeys( masterkeyhandle: super::super::Foundation::HANDLE, count: u32, subordinateobjects: *const OBJECT_ATTRIBUTES, event: super::super::Foundation::HANDLE, apcroutine: ::core::option::Option<PIO_APC_ROUTINE>, apccontext: *const ::core::ffi::c_void, iostatusblock: *mut IO_STATUS_BLOCK, completionfilter: u32, watchtree: super::super::Foundation::BOOLEAN, buffer: *mut ::core::ffi::c_void, buffersize: u32, asynchronous: super::super::Foundation::BOOLEAN, ) -> super::super::Foundation::NTSTATUS199 pub fn NtNotifyChangeMultipleKeys( 200 masterkeyhandle: super::super::Foundation::HANDLE, 201 count: u32, 202 subordinateobjects: *const OBJECT_ATTRIBUTES, 203 event: super::super::Foundation::HANDLE, 204 apcroutine: ::core::option::Option<PIO_APC_ROUTINE>, 205 apccontext: *const ::core::ffi::c_void, 206 iostatusblock: *mut IO_STATUS_BLOCK, 207 completionfilter: u32, 208 watchtree: super::super::Foundation::BOOLEAN, 209 buffer: *mut ::core::ffi::c_void, 210 buffersize: u32, 211 asynchronous: super::super::Foundation::BOOLEAN, 212 ) -> super::super::Foundation::NTSTATUS; 213 #[cfg(feature = "Win32_Foundation")] NtOpenFile(filehandle: *mut super::super::Foundation::HANDLE, desiredaccess: u32, objectattributes: *mut OBJECT_ATTRIBUTES, iostatusblock: *mut IO_STATUS_BLOCK, shareaccess: u32, openoptions: u32) -> super::super::Foundation::NTSTATUS214 pub fn NtOpenFile(filehandle: *mut super::super::Foundation::HANDLE, desiredaccess: u32, objectattributes: *mut OBJECT_ATTRIBUTES, iostatusblock: *mut IO_STATUS_BLOCK, shareaccess: u32, openoptions: u32) -> super::super::Foundation::NTSTATUS; 215 #[cfg(feature = "Win32_Foundation")] NtQueryMultipleValueKey(keyhandle: super::super::Foundation::HANDLE, valueentries: *mut KEY_VALUE_ENTRY, entrycount: u32, valuebuffer: *mut ::core::ffi::c_void, bufferlength: *mut u32, requiredbufferlength: *mut u32) -> super::super::Foundation::NTSTATUS216 pub fn NtQueryMultipleValueKey(keyhandle: super::super::Foundation::HANDLE, valueentries: *mut KEY_VALUE_ENTRY, entrycount: u32, valuebuffer: *mut ::core::ffi::c_void, bufferlength: *mut u32, requiredbufferlength: *mut u32) -> super::super::Foundation::NTSTATUS; 217 #[cfg(feature = "Win32_Foundation")] NtQueryObject(handle: super::super::Foundation::HANDLE, objectinformationclass: OBJECT_INFORMATION_CLASS, objectinformation: *mut ::core::ffi::c_void, objectinformationlength: u32, returnlength: *mut u32) -> super::super::Foundation::NTSTATUS218 pub fn NtQueryObject(handle: super::super::Foundation::HANDLE, objectinformationclass: OBJECT_INFORMATION_CLASS, objectinformation: *mut ::core::ffi::c_void, objectinformationlength: u32, returnlength: *mut u32) -> super::super::Foundation::NTSTATUS; 219 #[cfg(feature = "Win32_Foundation")] NtQuerySystemInformation(systeminformationclass: SYSTEM_INFORMATION_CLASS, systeminformation: *mut ::core::ffi::c_void, systeminformationlength: u32, returnlength: *mut u32) -> super::super::Foundation::NTSTATUS220 pub fn NtQuerySystemInformation(systeminformationclass: SYSTEM_INFORMATION_CLASS, systeminformation: *mut ::core::ffi::c_void, systeminformationlength: u32, returnlength: *mut u32) -> super::super::Foundation::NTSTATUS; 221 #[cfg(feature = "Win32_Foundation")] NtQuerySystemTime(systemtime: *mut i64) -> super::super::Foundation::NTSTATUS222 pub fn NtQuerySystemTime(systemtime: *mut i64) -> super::super::Foundation::NTSTATUS; 223 #[cfg(feature = "Win32_Foundation")] NtQueryTimerResolution(maximumtime: *mut u32, minimumtime: *mut u32, currenttime: *mut u32) -> super::super::Foundation::NTSTATUS224 pub fn NtQueryTimerResolution(maximumtime: *mut u32, minimumtime: *mut u32, currenttime: *mut u32) -> super::super::Foundation::NTSTATUS; 225 #[cfg(feature = "Win32_Foundation")] NtRenameKey(keyhandle: super::super::Foundation::HANDLE, newname: *const super::super::Foundation::UNICODE_STRING) -> super::super::Foundation::NTSTATUS226 pub fn NtRenameKey(keyhandle: super::super::Foundation::HANDLE, newname: *const super::super::Foundation::UNICODE_STRING) -> super::super::Foundation::NTSTATUS; 227 #[cfg(feature = "Win32_Foundation")] NtSetInformationKey(keyhandle: super::super::Foundation::HANDLE, keysetinformationclass: KEY_SET_INFORMATION_CLASS, keysetinformation: *const ::core::ffi::c_void, keysetinformationlength: u32) -> super::super::Foundation::NTSTATUS228 pub fn NtSetInformationKey(keyhandle: super::super::Foundation::HANDLE, keysetinformationclass: KEY_SET_INFORMATION_CLASS, keysetinformation: *const ::core::ffi::c_void, keysetinformationlength: u32) -> super::super::Foundation::NTSTATUS; 229 #[cfg(feature = "Win32_Foundation")] NtWaitForSingleObject(handle: super::super::Foundation::HANDLE, alertable: super::super::Foundation::BOOLEAN, timeout: *mut i64) -> super::super::Foundation::NTSTATUS230 pub fn NtWaitForSingleObject(handle: super::super::Foundation::HANDLE, alertable: super::super::Foundation::BOOLEAN, timeout: *mut i64) -> super::super::Foundation::NTSTATUS; 231 #[cfg(feature = "Win32_Foundation")] OpenINFEngineA(pszinffilename: super::super::Foundation::PSTR, pszinstallsection: super::super::Foundation::PSTR, dwflags: u32, phinf: *mut *mut ::core::ffi::c_void, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT232 pub fn OpenINFEngineA(pszinffilename: super::super::Foundation::PSTR, pszinstallsection: super::super::Foundation::PSTR, dwflags: u32, phinf: *mut *mut ::core::ffi::c_void, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; 233 #[cfg(feature = "Win32_Foundation")] OpenINFEngineW(pszinffilename: super::super::Foundation::PWSTR, pszinstallsection: super::super::Foundation::PWSTR, dwflags: u32, phinf: *mut *mut ::core::ffi::c_void, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT234 pub fn OpenINFEngineW(pszinffilename: super::super::Foundation::PWSTR, pszinstallsection: super::super::Foundation::PWSTR, dwflags: u32, phinf: *mut *mut ::core::ffi::c_void, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; 235 #[cfg(feature = "Win32_Foundation")] OpenMutexA(dwdesiredaccess: u32, binherithandle: super::super::Foundation::BOOL, lpname: super::super::Foundation::PSTR) -> super::super::Foundation::HANDLE236 pub fn OpenMutexA(dwdesiredaccess: u32, binherithandle: super::super::Foundation::BOOL, lpname: super::super::Foundation::PSTR) -> super::super::Foundation::HANDLE; 237 #[cfg(feature = "Win32_Foundation")] OpenSemaphoreA(dwdesiredaccess: u32, binherithandle: super::super::Foundation::BOOL, lpname: super::super::Foundation::PSTR) -> super::super::Foundation::HANDLE238 pub fn OpenSemaphoreA(dwdesiredaccess: u32, binherithandle: super::super::Foundation::BOOL, lpname: super::super::Foundation::PSTR) -> super::super::Foundation::HANDLE; 239 #[cfg(feature = "Win32_Foundation")] OpenWaitableTimerA(dwdesiredaccess: u32, binherithandle: super::super::Foundation::BOOL, lptimername: super::super::Foundation::PSTR) -> super::super::Foundation::HANDLE240 pub fn OpenWaitableTimerA(dwdesiredaccess: u32, binherithandle: super::super::Foundation::BOOL, lptimername: super::super::Foundation::PSTR) -> super::super::Foundation::HANDLE; QueryAuxiliaryCounterFrequency(lpauxiliarycounterfrequency: *mut u64) -> ::windows_sys::core::HRESULT241 pub fn QueryAuxiliaryCounterFrequency(lpauxiliarycounterfrequency: *mut u64) -> ::windows_sys::core::HRESULT; 242 #[cfg(feature = "Win32_Foundation")] QueryIdleProcessorCycleTime(bufferlength: *mut u32, processoridlecycletime: *mut u64) -> super::super::Foundation::BOOL243 pub fn QueryIdleProcessorCycleTime(bufferlength: *mut u32, processoridlecycletime: *mut u64) -> super::super::Foundation::BOOL; 244 #[cfg(feature = "Win32_Foundation")] QueryIdleProcessorCycleTimeEx(group: u16, bufferlength: *mut u32, processoridlecycletime: *mut u64) -> super::super::Foundation::BOOL245 pub fn QueryIdleProcessorCycleTimeEx(group: u16, bufferlength: *mut u32, processoridlecycletime: *mut u64) -> super::super::Foundation::BOOL; QueryInterruptTime(lpinterrupttime: *mut u64)246 pub fn QueryInterruptTime(lpinterrupttime: *mut u64); QueryInterruptTimePrecise(lpinterrupttimeprecise: *mut u64)247 pub fn QueryInterruptTimePrecise(lpinterrupttimeprecise: *mut u64); 248 #[cfg(feature = "Win32_Foundation")] QueryProcessCycleTime(processhandle: super::super::Foundation::HANDLE, cycletime: *mut u64) -> super::super::Foundation::BOOL249 pub fn QueryProcessCycleTime(processhandle: super::super::Foundation::HANDLE, cycletime: *mut u64) -> super::super::Foundation::BOOL; 250 #[cfg(feature = "Win32_Foundation")] QueryThreadCycleTime(threadhandle: super::super::Foundation::HANDLE, cycletime: *mut u64) -> super::super::Foundation::BOOL251 pub fn QueryThreadCycleTime(threadhandle: super::super::Foundation::HANDLE, cycletime: *mut u64) -> super::super::Foundation::BOOL; 252 #[cfg(feature = "Win32_Foundation")] QueryUnbiasedInterruptTime(unbiasedtime: *mut u64) -> super::super::Foundation::BOOL253 pub fn QueryUnbiasedInterruptTime(unbiasedtime: *mut u64) -> super::super::Foundation::BOOL; QueryUnbiasedInterruptTimePrecise(lpunbiasedinterrupttimeprecise: *mut u64)254 pub fn QueryUnbiasedInterruptTimePrecise(lpunbiasedinterrupttimeprecise: *mut u64); 255 #[cfg(feature = "Win32_Foundation")] RaiseCustomSystemEventTrigger(customsystemeventtriggerconfig: *const CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG) -> u32256 pub fn RaiseCustomSystemEventTrigger(customsystemeventtriggerconfig: *const CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG) -> u32; 257 #[cfg(feature = "Win32_Foundation")] RebootCheckOnInstallA(hwnd: super::super::Foundation::HWND, pszinf: super::super::Foundation::PSTR, pszsec: super::super::Foundation::PSTR, dwreserved: u32) -> ::windows_sys::core::HRESULT258 pub fn RebootCheckOnInstallA(hwnd: super::super::Foundation::HWND, pszinf: super::super::Foundation::PSTR, pszsec: super::super::Foundation::PSTR, dwreserved: u32) -> ::windows_sys::core::HRESULT; 259 #[cfg(feature = "Win32_Foundation")] RebootCheckOnInstallW(hwnd: super::super::Foundation::HWND, pszinf: super::super::Foundation::PWSTR, pszsec: super::super::Foundation::PWSTR, dwreserved: u32) -> ::windows_sys::core::HRESULT260 pub fn RebootCheckOnInstallW(hwnd: super::super::Foundation::HWND, pszinf: super::super::Foundation::PWSTR, pszsec: super::super::Foundation::PWSTR, dwreserved: u32) -> ::windows_sys::core::HRESULT; 261 #[cfg(feature = "Win32_Foundation")] RecordFeatureError(featureid: u32, error: *const FEATURE_ERROR)262 pub fn RecordFeatureError(featureid: u32, error: *const FEATURE_ERROR); 263 #[cfg(feature = "Win32_Foundation")] RecordFeatureUsage(featureid: u32, kind: u32, addend: u32, originname: super::super::Foundation::PSTR)264 pub fn RecordFeatureUsage(featureid: u32, kind: u32, addend: u32, originname: super::super::Foundation::PSTR); 265 #[cfg(feature = "Win32_Foundation")] RegInstallA(hmod: super::super::Foundation::HINSTANCE, pszsection: super::super::Foundation::PSTR, psttable: *const STRTABLEA) -> ::windows_sys::core::HRESULT266 pub fn RegInstallA(hmod: super::super::Foundation::HINSTANCE, pszsection: super::super::Foundation::PSTR, psttable: *const STRTABLEA) -> ::windows_sys::core::HRESULT; 267 #[cfg(feature = "Win32_Foundation")] RegInstallW(hmod: super::super::Foundation::HINSTANCE, pszsection: super::super::Foundation::PWSTR, psttable: *const STRTABLEW) -> ::windows_sys::core::HRESULT268 pub fn RegInstallW(hmod: super::super::Foundation::HINSTANCE, pszsection: super::super::Foundation::PWSTR, psttable: *const STRTABLEW) -> ::windows_sys::core::HRESULT; 269 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] RegRestoreAllA(hwnd: super::super::Foundation::HWND, psztitlestring: super::super::Foundation::PSTR, hkbckupkey: super::Registry::HKEY) -> ::windows_sys::core::HRESULT270 pub fn RegRestoreAllA(hwnd: super::super::Foundation::HWND, psztitlestring: super::super::Foundation::PSTR, hkbckupkey: super::Registry::HKEY) -> ::windows_sys::core::HRESULT; 271 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] RegRestoreAllW(hwnd: super::super::Foundation::HWND, psztitlestring: super::super::Foundation::PWSTR, hkbckupkey: super::Registry::HKEY) -> ::windows_sys::core::HRESULT272 pub fn RegRestoreAllW(hwnd: super::super::Foundation::HWND, psztitlestring: super::super::Foundation::PWSTR, hkbckupkey: super::Registry::HKEY) -> ::windows_sys::core::HRESULT; 273 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] RegSaveRestoreA(hwnd: super::super::Foundation::HWND, psztitlestring: super::super::Foundation::PSTR, hkbckupkey: super::Registry::HKEY, pcszrootkey: super::super::Foundation::PSTR, pcszsubkey: super::super::Foundation::PSTR, pcszvaluename: super::super::Foundation::PSTR, dwflags: u32) -> ::windows_sys::core::HRESULT274 pub fn RegSaveRestoreA(hwnd: super::super::Foundation::HWND, psztitlestring: super::super::Foundation::PSTR, hkbckupkey: super::Registry::HKEY, pcszrootkey: super::super::Foundation::PSTR, pcszsubkey: super::super::Foundation::PSTR, pcszvaluename: super::super::Foundation::PSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; 275 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] RegSaveRestoreOnINFA(hwnd: super::super::Foundation::HWND, psztitle: super::super::Foundation::PSTR, pszinf: super::super::Foundation::PSTR, pszsection: super::super::Foundation::PSTR, hhklmbackkey: super::Registry::HKEY, hhkcubackkey: super::Registry::HKEY, dwflags: u32) -> ::windows_sys::core::HRESULT276 pub fn RegSaveRestoreOnINFA(hwnd: super::super::Foundation::HWND, psztitle: super::super::Foundation::PSTR, pszinf: super::super::Foundation::PSTR, pszsection: super::super::Foundation::PSTR, hhklmbackkey: super::Registry::HKEY, hhkcubackkey: super::Registry::HKEY, dwflags: u32) -> ::windows_sys::core::HRESULT; 277 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] RegSaveRestoreOnINFW(hwnd: super::super::Foundation::HWND, psztitle: super::super::Foundation::PWSTR, pszinf: super::super::Foundation::PWSTR, pszsection: super::super::Foundation::PWSTR, hhklmbackkey: super::Registry::HKEY, hhkcubackkey: super::Registry::HKEY, dwflags: u32) -> ::windows_sys::core::HRESULT278 pub fn RegSaveRestoreOnINFW(hwnd: super::super::Foundation::HWND, psztitle: super::super::Foundation::PWSTR, pszinf: super::super::Foundation::PWSTR, pszsection: super::super::Foundation::PWSTR, hhklmbackkey: super::Registry::HKEY, hhkcubackkey: super::Registry::HKEY, dwflags: u32) -> ::windows_sys::core::HRESULT; 279 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] RegSaveRestoreW(hwnd: super::super::Foundation::HWND, psztitlestring: super::super::Foundation::PWSTR, hkbckupkey: super::Registry::HKEY, pcszrootkey: super::super::Foundation::PWSTR, pcszsubkey: super::super::Foundation::PWSTR, pcszvaluename: super::super::Foundation::PWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT280 pub fn RegSaveRestoreW(hwnd: super::super::Foundation::HWND, psztitlestring: super::super::Foundation::PWSTR, hkbckupkey: super::Registry::HKEY, pcszrootkey: super::super::Foundation::PWSTR, pcszsubkey: super::super::Foundation::PWSTR, pcszvaluename: super::super::Foundation::PWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; 281 #[cfg(feature = "Win32_Foundation")] ReplacePartitionUnit(targetpartition: super::super::Foundation::PWSTR, sparepartition: super::super::Foundation::PWSTR, flags: u32) -> super::super::Foundation::BOOL282 pub fn ReplacePartitionUnit(targetpartition: super::super::Foundation::PWSTR, sparepartition: super::super::Foundation::PWSTR, flags: u32) -> super::super::Foundation::BOOL; 283 #[cfg(feature = "Win32_Foundation")] RequestDeviceWakeup(hdevice: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL284 pub fn RequestDeviceWakeup(hdevice: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 285 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] RtlAnsiStringToUnicodeString(destinationstring: *mut super::super::Foundation::UNICODE_STRING, sourcestring: *mut super::Kernel::STRING, allocatedestinationstring: super::super::Foundation::BOOLEAN) -> super::super::Foundation::NTSTATUS286 pub fn RtlAnsiStringToUnicodeString(destinationstring: *mut super::super::Foundation::UNICODE_STRING, sourcestring: *mut super::Kernel::STRING, allocatedestinationstring: super::super::Foundation::BOOLEAN) -> super::super::Foundation::NTSTATUS; 287 #[cfg(feature = "Win32_Foundation")] RtlCharToInteger(string: *mut i8, base: u32, value: *mut u32) -> super::super::Foundation::NTSTATUS288 pub fn RtlCharToInteger(string: *mut i8, base: u32, value: *mut u32) -> super::super::Foundation::NTSTATUS; 289 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] RtlFreeAnsiString(ansistring: *mut super::Kernel::STRING)290 pub fn RtlFreeAnsiString(ansistring: *mut super::Kernel::STRING); 291 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] RtlFreeOemString(oemstring: *mut super::Kernel::STRING)292 pub fn RtlFreeOemString(oemstring: *mut super::Kernel::STRING); 293 #[cfg(feature = "Win32_Foundation")] RtlFreeUnicodeString(unicodestring: *mut super::super::Foundation::UNICODE_STRING)294 pub fn RtlFreeUnicodeString(unicodestring: *mut super::super::Foundation::UNICODE_STRING); RtlGetReturnAddressHijackTarget() -> usize295 pub fn RtlGetReturnAddressHijackTarget() -> usize; 296 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] RtlInitAnsiString(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8)297 pub fn RtlInitAnsiString(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8); 298 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] RtlInitAnsiStringEx(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8) -> super::super::Foundation::NTSTATUS299 pub fn RtlInitAnsiStringEx(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8) -> super::super::Foundation::NTSTATUS; 300 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] RtlInitString(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8)301 pub fn RtlInitString(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8); 302 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] RtlInitStringEx(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8) -> super::super::Foundation::NTSTATUS303 pub fn RtlInitStringEx(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8) -> super::super::Foundation::NTSTATUS; 304 #[cfg(feature = "Win32_Foundation")] RtlInitUnicodeString(destinationstring: *mut super::super::Foundation::UNICODE_STRING, sourcestring: super::super::Foundation::PWSTR)305 pub fn RtlInitUnicodeString(destinationstring: *mut super::super::Foundation::UNICODE_STRING, sourcestring: super::super::Foundation::PWSTR); 306 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] RtlIsNameLegalDOS8Dot3(name: *mut super::super::Foundation::UNICODE_STRING, oemname: *mut super::Kernel::STRING, namecontainsspaces: *mut super::super::Foundation::BOOLEAN) -> super::super::Foundation::BOOLEAN307 pub fn RtlIsNameLegalDOS8Dot3(name: *mut super::super::Foundation::UNICODE_STRING, oemname: *mut super::Kernel::STRING, namecontainsspaces: *mut super::super::Foundation::BOOLEAN) -> super::super::Foundation::BOOLEAN; 308 #[cfg(feature = "Win32_Foundation")] RtlLocalTimeToSystemTime(localtime: *mut i64, systemtime: *mut i64) -> super::super::Foundation::NTSTATUS309 pub fn RtlLocalTimeToSystemTime(localtime: *mut i64, systemtime: *mut i64) -> super::super::Foundation::NTSTATUS; 310 #[cfg(feature = "Win32_Foundation")] RtlRaiseCustomSystemEventTrigger(triggerconfig: *const CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG) -> u32311 pub fn RtlRaiseCustomSystemEventTrigger(triggerconfig: *const CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG) -> u32; 312 #[cfg(feature = "Win32_Foundation")] RtlTimeToSecondsSince1970(time: *mut i64, elapsedseconds: *mut u32) -> super::super::Foundation::BOOLEAN313 pub fn RtlTimeToSecondsSince1970(time: *mut i64, elapsedseconds: *mut u32) -> super::super::Foundation::BOOLEAN; 314 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] RtlUnicodeStringToAnsiString(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut super::super::Foundation::UNICODE_STRING, allocatedestinationstring: super::super::Foundation::BOOLEAN) -> super::super::Foundation::NTSTATUS315 pub fn RtlUnicodeStringToAnsiString(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut super::super::Foundation::UNICODE_STRING, allocatedestinationstring: super::super::Foundation::BOOLEAN) -> super::super::Foundation::NTSTATUS; 316 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] RtlUnicodeStringToOemString(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut super::super::Foundation::UNICODE_STRING, allocatedestinationstring: super::super::Foundation::BOOLEAN) -> super::super::Foundation::NTSTATUS317 pub fn RtlUnicodeStringToOemString(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut super::super::Foundation::UNICODE_STRING, allocatedestinationstring: super::super::Foundation::BOOLEAN) -> super::super::Foundation::NTSTATUS; 318 #[cfg(feature = "Win32_Foundation")] RtlUnicodeToMultiByteSize(bytesinmultibytestring: *mut u32, unicodestring: super::super::Foundation::PWSTR, bytesinunicodestring: u32) -> super::super::Foundation::NTSTATUS319 pub fn RtlUnicodeToMultiByteSize(bytesinmultibytestring: *mut u32, unicodestring: super::super::Foundation::PWSTR, bytesinunicodestring: u32) -> super::super::Foundation::NTSTATUS; RtlUniform(seed: *mut u32) -> u32320 pub fn RtlUniform(seed: *mut u32) -> u32; 321 #[cfg(feature = "Win32_Foundation")] RunSetupCommandA(hwnd: super::super::Foundation::HWND, szcmdname: super::super::Foundation::PSTR, szinfsection: super::super::Foundation::PSTR, szdir: super::super::Foundation::PSTR, lpsztitle: super::super::Foundation::PSTR, phexe: *mut super::super::Foundation::HANDLE, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT322 pub fn RunSetupCommandA(hwnd: super::super::Foundation::HWND, szcmdname: super::super::Foundation::PSTR, szinfsection: super::super::Foundation::PSTR, szdir: super::super::Foundation::PSTR, lpsztitle: super::super::Foundation::PSTR, phexe: *mut super::super::Foundation::HANDLE, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; 323 #[cfg(feature = "Win32_Foundation")] RunSetupCommandW(hwnd: super::super::Foundation::HWND, szcmdname: super::super::Foundation::PWSTR, szinfsection: super::super::Foundation::PWSTR, szdir: super::super::Foundation::PWSTR, lpsztitle: super::super::Foundation::PWSTR, phexe: *mut super::super::Foundation::HANDLE, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT324 pub fn RunSetupCommandW(hwnd: super::super::Foundation::HWND, szcmdname: super::super::Foundation::PWSTR, szinfsection: super::super::Foundation::PWSTR, szdir: super::super::Foundation::PWSTR, lpsztitle: super::super::Foundation::PWSTR, phexe: *mut super::super::Foundation::HANDLE, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; 325 #[cfg(feature = "Win32_Foundation")] SendIMEMessageExA(param0: super::super::Foundation::HWND, param1: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT326 pub fn SendIMEMessageExA(param0: super::super::Foundation::HWND, param1: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; 327 #[cfg(feature = "Win32_Foundation")] SendIMEMessageExW(param0: super::super::Foundation::HWND, param1: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT328 pub fn SendIMEMessageExW(param0: super::super::Foundation::HWND, param1: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; 329 #[cfg(feature = "Win32_Foundation")] SetEnvironmentStringsA(newenvironment: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL330 pub fn SetEnvironmentStringsA(newenvironment: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL; 331 #[cfg(feature = "Win32_Foundation")] SetFirmwareEnvironmentVariableA(lpname: super::super::Foundation::PSTR, lpguid: super::super::Foundation::PSTR, pvalue: *const ::core::ffi::c_void, nsize: u32) -> super::super::Foundation::BOOL332 pub fn SetFirmwareEnvironmentVariableA(lpname: super::super::Foundation::PSTR, lpguid: super::super::Foundation::PSTR, pvalue: *const ::core::ffi::c_void, nsize: u32) -> super::super::Foundation::BOOL; 333 #[cfg(feature = "Win32_Foundation")] SetFirmwareEnvironmentVariableExA(lpname: super::super::Foundation::PSTR, lpguid: super::super::Foundation::PSTR, pvalue: *const ::core::ffi::c_void, nsize: u32, dwattributes: u32) -> super::super::Foundation::BOOL334 pub fn SetFirmwareEnvironmentVariableExA(lpname: super::super::Foundation::PSTR, lpguid: super::super::Foundation::PSTR, pvalue: *const ::core::ffi::c_void, nsize: u32, dwattributes: u32) -> super::super::Foundation::BOOL; 335 #[cfg(feature = "Win32_Foundation")] SetFirmwareEnvironmentVariableExW(lpname: super::super::Foundation::PWSTR, lpguid: super::super::Foundation::PWSTR, pvalue: *const ::core::ffi::c_void, nsize: u32, dwattributes: u32) -> super::super::Foundation::BOOL336 pub fn SetFirmwareEnvironmentVariableExW(lpname: super::super::Foundation::PWSTR, lpguid: super::super::Foundation::PWSTR, pvalue: *const ::core::ffi::c_void, nsize: u32, dwattributes: u32) -> super::super::Foundation::BOOL; 337 #[cfg(feature = "Win32_Foundation")] SetFirmwareEnvironmentVariableW(lpname: super::super::Foundation::PWSTR, lpguid: super::super::Foundation::PWSTR, pvalue: *const ::core::ffi::c_void, nsize: u32) -> super::super::Foundation::BOOL338 pub fn SetFirmwareEnvironmentVariableW(lpname: super::super::Foundation::PWSTR, lpguid: super::super::Foundation::PWSTR, pvalue: *const ::core::ffi::c_void, nsize: u32) -> super::super::Foundation::BOOL; SetHandleCount(unumber: u32) -> u32339 pub fn SetHandleCount(unumber: u32) -> u32; 340 #[cfg(feature = "Win32_Foundation")] SetMessageWaitingIndicator(hmsgindicator: super::super::Foundation::HANDLE, ulmsgcount: u32) -> super::super::Foundation::BOOL341 pub fn SetMessageWaitingIndicator(hmsgindicator: super::super::Foundation::HANDLE, ulmsgcount: u32) -> super::super::Foundation::BOOL; 342 #[cfg(feature = "Win32_Foundation")] SetPerUserSecValuesA(pperuser: *mut PERUSERSECTIONA) -> ::windows_sys::core::HRESULT343 pub fn SetPerUserSecValuesA(pperuser: *mut PERUSERSECTIONA) -> ::windows_sys::core::HRESULT; 344 #[cfg(feature = "Win32_Foundation")] SetPerUserSecValuesW(pperuser: *mut PERUSERSECTIONW) -> ::windows_sys::core::HRESULT345 pub fn SetPerUserSecValuesW(pperuser: *mut PERUSERSECTIONW) -> ::windows_sys::core::HRESULT; 346 #[cfg(feature = "Win32_Foundation")] SignalObjectAndWait(hobjecttosignal: super::super::Foundation::HANDLE, hobjecttowaiton: super::super::Foundation::HANDLE, dwmilliseconds: u32, balertable: super::super::Foundation::BOOL) -> u32347 pub fn SignalObjectAndWait(hobjecttosignal: super::super::Foundation::HANDLE, hobjecttowaiton: super::super::Foundation::HANDLE, dwmilliseconds: u32, balertable: super::super::Foundation::BOOL) -> u32; SubscribeFeatureStateChangeNotification(subscription: *mut FEATURE_STATE_CHANGE_SUBSCRIPTION, callback: ::core::option::Option<PFEATURE_STATE_CHANGE_CALLBACK>, context: *const ::core::ffi::c_void)348 pub fn SubscribeFeatureStateChangeNotification(subscription: *mut FEATURE_STATE_CHANGE_SUBSCRIPTION, callback: ::core::option::Option<PFEATURE_STATE_CHANGE_CALLBACK>, context: *const ::core::ffi::c_void); 349 #[cfg(feature = "Win32_Foundation")] TranslateInfStringA(pszinffilename: super::super::Foundation::PSTR, pszinstallsection: super::super::Foundation::PSTR, psztranslatesection: super::super::Foundation::PSTR, psztranslatekey: super::super::Foundation::PSTR, pszbuffer: super::super::Foundation::PSTR, cchbuffer: u32, pdwrequiredsize: *mut u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT350 pub fn TranslateInfStringA(pszinffilename: super::super::Foundation::PSTR, pszinstallsection: super::super::Foundation::PSTR, psztranslatesection: super::super::Foundation::PSTR, psztranslatekey: super::super::Foundation::PSTR, pszbuffer: super::super::Foundation::PSTR, cchbuffer: u32, pdwrequiredsize: *mut u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; 351 #[cfg(feature = "Win32_Foundation")] TranslateInfStringExA(hinf: *mut ::core::ffi::c_void, pszinffilename: super::super::Foundation::PSTR, psztranslatesection: super::super::Foundation::PSTR, psztranslatekey: super::super::Foundation::PSTR, pszbuffer: super::super::Foundation::PSTR, dwbuffersize: u32, pdwrequiredsize: *mut u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT352 pub fn TranslateInfStringExA(hinf: *mut ::core::ffi::c_void, pszinffilename: super::super::Foundation::PSTR, psztranslatesection: super::super::Foundation::PSTR, psztranslatekey: super::super::Foundation::PSTR, pszbuffer: super::super::Foundation::PSTR, dwbuffersize: u32, pdwrequiredsize: *mut u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; 353 #[cfg(feature = "Win32_Foundation")] TranslateInfStringExW(hinf: *mut ::core::ffi::c_void, pszinffilename: super::super::Foundation::PWSTR, psztranslatesection: super::super::Foundation::PWSTR, psztranslatekey: super::super::Foundation::PWSTR, pszbuffer: super::super::Foundation::PWSTR, dwbuffersize: u32, pdwrequiredsize: *mut u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT354 pub fn TranslateInfStringExW(hinf: *mut ::core::ffi::c_void, pszinffilename: super::super::Foundation::PWSTR, psztranslatesection: super::super::Foundation::PWSTR, psztranslatekey: super::super::Foundation::PWSTR, pszbuffer: super::super::Foundation::PWSTR, dwbuffersize: u32, pdwrequiredsize: *mut u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; 355 #[cfg(feature = "Win32_Foundation")] TranslateInfStringW(pszinffilename: super::super::Foundation::PWSTR, pszinstallsection: super::super::Foundation::PWSTR, psztranslatesection: super::super::Foundation::PWSTR, psztranslatekey: super::super::Foundation::PWSTR, pszbuffer: super::super::Foundation::PWSTR, cchbuffer: u32, pdwrequiredsize: *mut u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT356 pub fn TranslateInfStringW(pszinffilename: super::super::Foundation::PWSTR, pszinstallsection: super::super::Foundation::PWSTR, psztranslatesection: super::super::Foundation::PWSTR, psztranslatekey: super::super::Foundation::PWSTR, pszbuffer: super::super::Foundation::PWSTR, cchbuffer: u32, pdwrequiredsize: *mut u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; UnsubscribeFeatureStateChangeNotification(subscription: FEATURE_STATE_CHANGE_SUBSCRIPTION)357 pub fn UnsubscribeFeatureStateChangeNotification(subscription: FEATURE_STATE_CHANGE_SUBSCRIPTION); 358 #[cfg(feature = "Win32_Foundation")] UserInstStubWrapperA(hwnd: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszparms: super::super::Foundation::PSTR, nshow: i32) -> ::windows_sys::core::HRESULT359 pub fn UserInstStubWrapperA(hwnd: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszparms: super::super::Foundation::PSTR, nshow: i32) -> ::windows_sys::core::HRESULT; 360 #[cfg(feature = "Win32_Foundation")] UserInstStubWrapperW(hwnd: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszparms: super::super::Foundation::PWSTR, nshow: i32) -> ::windows_sys::core::HRESULT361 pub fn UserInstStubWrapperW(hwnd: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszparms: super::super::Foundation::PWSTR, nshow: i32) -> ::windows_sys::core::HRESULT; 362 #[cfg(feature = "Win32_Foundation")] UserUnInstStubWrapperA(hwnd: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszparms: super::super::Foundation::PSTR, nshow: i32) -> ::windows_sys::core::HRESULT363 pub fn UserUnInstStubWrapperA(hwnd: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszparms: super::super::Foundation::PSTR, nshow: i32) -> ::windows_sys::core::HRESULT; 364 #[cfg(feature = "Win32_Foundation")] UserUnInstStubWrapperW(hwnd: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszparms: super::super::Foundation::PWSTR, nshow: i32) -> ::windows_sys::core::HRESULT365 pub fn UserUnInstStubWrapperW(hwnd: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszparms: super::super::Foundation::PWSTR, nshow: i32) -> ::windows_sys::core::HRESULT; 366 #[cfg(feature = "Win32_Foundation")] WINNLSEnableIME(param0: super::super::Foundation::HWND, param1: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL367 pub fn WINNLSEnableIME(param0: super::super::Foundation::HWND, param1: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; 368 #[cfg(feature = "Win32_Foundation")] WINNLSGetEnableStatus(param0: super::super::Foundation::HWND) -> super::super::Foundation::BOOL369 pub fn WINNLSGetEnableStatus(param0: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; 370 #[cfg(feature = "Win32_Foundation")] WINNLSGetIMEHotkey(param0: super::super::Foundation::HWND) -> u32371 pub fn WINNLSGetIMEHotkey(param0: super::super::Foundation::HWND) -> u32; WinWatchClose(hww: HWINWATCH)372 pub fn WinWatchClose(hww: HWINWATCH); 373 #[cfg(feature = "Win32_Foundation")] WinWatchDidStatusChange(hww: HWINWATCH) -> super::super::Foundation::BOOL374 pub fn WinWatchDidStatusChange(hww: HWINWATCH) -> super::super::Foundation::BOOL; 375 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] WinWatchGetClipList(hww: HWINWATCH, prc: *mut super::super::Foundation::RECT, size: u32, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> u32376 pub fn WinWatchGetClipList(hww: HWINWATCH, prc: *mut super::super::Foundation::RECT, size: u32, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> u32; 377 #[cfg(feature = "Win32_Foundation")] WinWatchNotify(hww: HWINWATCH, notifycallback: ::core::option::Option<WINWATCHNOTIFYPROC>, notifyparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL378 pub fn WinWatchNotify(hww: HWINWATCH, notifycallback: ::core::option::Option<WINWATCHNOTIFYPROC>, notifyparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; 379 #[cfg(feature = "Win32_Foundation")] WinWatchOpen(hwnd: super::super::Foundation::HWND) -> HWINWATCH380 pub fn WinWatchOpen(hwnd: super::super::Foundation::HWND) -> HWINWATCH; 381 #[cfg(feature = "Win32_Foundation")] WldpGetLockdownPolicy(hostinformation: *const WLDP_HOST_INFORMATION, lockdownstate: *mut u32, lockdownflags: u32) -> ::windows_sys::core::HRESULT382 pub fn WldpGetLockdownPolicy(hostinformation: *const WLDP_HOST_INFORMATION, lockdownstate: *mut u32, lockdownflags: u32) -> ::windows_sys::core::HRESULT; 383 #[cfg(feature = "Win32_Foundation")] WldpIsClassInApprovedList(classid: *const ::windows_sys::core::GUID, hostinformation: *const WLDP_HOST_INFORMATION, isapproved: *mut super::super::Foundation::BOOL, optionalflags: u32) -> ::windows_sys::core::HRESULT384 pub fn WldpIsClassInApprovedList(classid: *const ::windows_sys::core::GUID, hostinformation: *const WLDP_HOST_INFORMATION, isapproved: *mut super::super::Foundation::BOOL, optionalflags: u32) -> ::windows_sys::core::HRESULT; 385 #[cfg(feature = "Win32_Foundation")] WldpIsDynamicCodePolicyEnabled(isenabled: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT386 pub fn WldpIsDynamicCodePolicyEnabled(isenabled: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; 387 #[cfg(feature = "Win32_Foundation")] WldpQueryDeviceSecurityInformation(information: *mut WLDP_DEVICE_SECURITY_INFORMATION, informationlength: u32, returnlength: *mut u32) -> ::windows_sys::core::HRESULT388 pub fn WldpQueryDeviceSecurityInformation(information: *mut WLDP_DEVICE_SECURITY_INFORMATION, informationlength: u32, returnlength: *mut u32) -> ::windows_sys::core::HRESULT; 389 #[cfg(feature = "Win32_Foundation")] WldpQueryDynamicCodeTrust(filehandle: super::super::Foundation::HANDLE, baseimage: *const ::core::ffi::c_void, imagesize: u32) -> ::windows_sys::core::HRESULT390 pub fn WldpQueryDynamicCodeTrust(filehandle: super::super::Foundation::HANDLE, baseimage: *const ::core::ffi::c_void, imagesize: u32) -> ::windows_sys::core::HRESULT; 391 #[cfg(feature = "Win32_Foundation")] WldpSetDynamicCodeTrust(filehandle: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT392 pub fn WldpSetDynamicCodeTrust(filehandle: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; 393 #[cfg(feature = "Win32_Foundation")] WritePrivateProfileSectionA(lpappname: super::super::Foundation::PSTR, lpstring: super::super::Foundation::PSTR, lpfilename: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL394 pub fn WritePrivateProfileSectionA(lpappname: super::super::Foundation::PSTR, lpstring: super::super::Foundation::PSTR, lpfilename: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL; 395 #[cfg(feature = "Win32_Foundation")] WritePrivateProfileSectionW(lpappname: super::super::Foundation::PWSTR, lpstring: super::super::Foundation::PWSTR, lpfilename: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL396 pub fn WritePrivateProfileSectionW(lpappname: super::super::Foundation::PWSTR, lpstring: super::super::Foundation::PWSTR, lpfilename: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; 397 #[cfg(feature = "Win32_Foundation")] WritePrivateProfileStringA(lpappname: super::super::Foundation::PSTR, lpkeyname: super::super::Foundation::PSTR, lpstring: super::super::Foundation::PSTR, lpfilename: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL398 pub fn WritePrivateProfileStringA(lpappname: super::super::Foundation::PSTR, lpkeyname: super::super::Foundation::PSTR, lpstring: super::super::Foundation::PSTR, lpfilename: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL; 399 #[cfg(feature = "Win32_Foundation")] WritePrivateProfileStringW(lpappname: super::super::Foundation::PWSTR, lpkeyname: super::super::Foundation::PWSTR, lpstring: super::super::Foundation::PWSTR, lpfilename: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL400 pub fn WritePrivateProfileStringW(lpappname: super::super::Foundation::PWSTR, lpkeyname: super::super::Foundation::PWSTR, lpstring: super::super::Foundation::PWSTR, lpfilename: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; 401 #[cfg(feature = "Win32_Foundation")] WritePrivateProfileStructA(lpszsection: super::super::Foundation::PSTR, lpszkey: super::super::Foundation::PSTR, lpstruct: *const ::core::ffi::c_void, usizestruct: u32, szfile: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL402 pub fn WritePrivateProfileStructA(lpszsection: super::super::Foundation::PSTR, lpszkey: super::super::Foundation::PSTR, lpstruct: *const ::core::ffi::c_void, usizestruct: u32, szfile: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL; 403 #[cfg(feature = "Win32_Foundation")] WritePrivateProfileStructW(lpszsection: super::super::Foundation::PWSTR, lpszkey: super::super::Foundation::PWSTR, lpstruct: *const ::core::ffi::c_void, usizestruct: u32, szfile: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL404 pub fn WritePrivateProfileStructW(lpszsection: super::super::Foundation::PWSTR, lpszkey: super::super::Foundation::PWSTR, lpstruct: *const ::core::ffi::c_void, usizestruct: u32, szfile: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; 405 #[cfg(feature = "Win32_Foundation")] WriteProfileSectionA(lpappname: super::super::Foundation::PSTR, lpstring: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL406 pub fn WriteProfileSectionA(lpappname: super::super::Foundation::PSTR, lpstring: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL; 407 #[cfg(feature = "Win32_Foundation")] WriteProfileSectionW(lpappname: super::super::Foundation::PWSTR, lpstring: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL408 pub fn WriteProfileSectionW(lpappname: super::super::Foundation::PWSTR, lpstring: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; 409 #[cfg(feature = "Win32_Foundation")] WriteProfileStringA(lpappname: super::super::Foundation::PSTR, lpkeyname: super::super::Foundation::PSTR, lpstring: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL410 pub fn WriteProfileStringA(lpappname: super::super::Foundation::PSTR, lpkeyname: super::super::Foundation::PSTR, lpstring: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL; 411 #[cfg(feature = "Win32_Foundation")] WriteProfileStringW(lpappname: super::super::Foundation::PWSTR, lpkeyname: super::super::Foundation::PWSTR, lpstring: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL412 pub fn WriteProfileStringW(lpappname: super::super::Foundation::PWSTR, lpkeyname: super::super::Foundation::PWSTR, lpstring: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; _hread(hfile: i32, lpbuffer: *mut ::core::ffi::c_void, lbytes: i32) -> i32413 pub fn _hread(hfile: i32, lpbuffer: *mut ::core::ffi::c_void, lbytes: i32) -> i32; 414 #[cfg(feature = "Win32_Foundation")] _hwrite(hfile: i32, lpbuffer: super::super::Foundation::PSTR, lbytes: i32) -> i32415 pub fn _hwrite(hfile: i32, lpbuffer: super::super::Foundation::PSTR, lbytes: i32) -> i32; _lclose(hfile: i32) -> i32416 pub fn _lclose(hfile: i32) -> i32; 417 #[cfg(feature = "Win32_Foundation")] _lcreat(lppathname: super::super::Foundation::PSTR, iattribute: i32) -> i32418 pub fn _lcreat(lppathname: super::super::Foundation::PSTR, iattribute: i32) -> i32; _llseek(hfile: i32, loffset: i32, iorigin: i32) -> i32419 pub fn _llseek(hfile: i32, loffset: i32, iorigin: i32) -> i32; 420 #[cfg(feature = "Win32_Foundation")] _lopen(lppathname: super::super::Foundation::PSTR, ireadwrite: i32) -> i32421 pub fn _lopen(lppathname: super::super::Foundation::PSTR, ireadwrite: i32) -> i32; _lread(hfile: i32, lpbuffer: *mut ::core::ffi::c_void, ubytes: u32) -> u32422 pub fn _lread(hfile: i32, lpbuffer: *mut ::core::ffi::c_void, ubytes: u32) -> u32; 423 #[cfg(feature = "Win32_Foundation")] _lwrite(hfile: i32, lpbuffer: super::super::Foundation::PSTR, ubytes: u32) -> u32424 pub fn _lwrite(hfile: i32, lpbuffer: super::super::Foundation::PSTR, ubytes: u32) -> u32; 425 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] uaw_lstrcmpW(string1: *const u16, string2: *const u16) -> i32426 pub fn uaw_lstrcmpW(string1: *const u16, string2: *const u16) -> i32; 427 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] uaw_lstrcmpiW(string1: *const u16, string2: *const u16) -> i32428 pub fn uaw_lstrcmpiW(string1: *const u16, string2: *const u16) -> i32; 429 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] uaw_lstrlenW(string: *const u16) -> i32430 pub fn uaw_lstrlenW(string: *const u16) -> i32; 431 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] uaw_wcschr(string: *const u16, character: u16) -> *mut u16432 pub fn uaw_wcschr(string: *const u16, character: u16) -> *mut u16; 433 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] uaw_wcscpy(destination: *mut u16, source: *const u16) -> *mut u16434 pub fn uaw_wcscpy(destination: *mut u16, source: *const u16) -> *mut u16; 435 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] uaw_wcsicmp(string1: *const u16, string2: *const u16) -> i32436 pub fn uaw_wcsicmp(string1: *const u16, string2: *const u16) -> i32; 437 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] uaw_wcslen(string: *const u16) -> usize438 pub fn uaw_wcslen(string: *const u16) -> usize; 439 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] uaw_wcsrchr(string: *const u16, character: u16) -> *mut u16440 pub fn uaw_wcsrchr(string: *const u16, character: u16) -> *mut u16; 441 } 442 pub const AADBE_ADD_ENTRY: u32 = 1u32; 443 pub const AADBE_DEL_ENTRY: u32 = 2u32; 444 pub const ACTCTX_FLAG_APPLICATION_NAME_VALID: u32 = 32u32; 445 pub const ACTCTX_FLAG_ASSEMBLY_DIRECTORY_VALID: u32 = 4u32; 446 pub const ACTCTX_FLAG_HMODULE_VALID: u32 = 128u32; 447 pub const ACTCTX_FLAG_LANGID_VALID: u32 = 2u32; 448 pub const ACTCTX_FLAG_PROCESSOR_ARCHITECTURE_VALID: u32 = 1u32; 449 pub const ACTCTX_FLAG_RESOURCE_NAME_VALID: u32 = 8u32; 450 pub const ACTCTX_FLAG_SET_PROCESS_DEFAULT: u32 = 16u32; 451 pub const ACTCTX_FLAG_SOURCE_IS_ASSEMBLYREF: u32 = 64u32; 452 #[repr(C)] 453 #[cfg(feature = "Win32_Foundation")] 454 pub struct ACTCTX_SECTION_KEYED_DATA_2600 { 455 pub cbSize: u32, 456 pub ulDataFormatVersion: u32, 457 pub lpData: *mut ::core::ffi::c_void, 458 pub ulLength: u32, 459 pub lpSectionGlobalData: *mut ::core::ffi::c_void, 460 pub ulSectionGlobalDataLength: u32, 461 pub lpSectionBase: *mut ::core::ffi::c_void, 462 pub ulSectionTotalLength: u32, 463 pub hActCtx: super::super::Foundation::HANDLE, 464 pub ulAssemblyRosterIndex: u32, 465 } 466 #[cfg(feature = "Win32_Foundation")] 467 impl ::core::marker::Copy for ACTCTX_SECTION_KEYED_DATA_2600 {} 468 #[cfg(feature = "Win32_Foundation")] 469 impl ::core::clone::Clone for ACTCTX_SECTION_KEYED_DATA_2600 { clone(&self) -> Self470 fn clone(&self) -> Self { 471 *self 472 } 473 } 474 #[repr(C)] 475 pub struct ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA { 476 pub lpInformation: *mut ::core::ffi::c_void, 477 pub lpSectionBase: *mut ::core::ffi::c_void, 478 pub ulSectionLength: u32, 479 pub lpSectionGlobalDataBase: *mut ::core::ffi::c_void, 480 pub ulSectionGlobalDataLength: u32, 481 } 482 impl ::core::marker::Copy for ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA {} 483 impl ::core::clone::Clone for ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA { clone(&self) -> Self484 fn clone(&self) -> Self { 485 *self 486 } 487 } 488 #[repr(C)] 489 #[cfg(feature = "Win32_Foundation")] 490 pub struct ACTIVATION_CONTEXT_BASIC_INFORMATION { 491 pub hActCtx: super::super::Foundation::HANDLE, 492 pub dwFlags: u32, 493 } 494 #[cfg(feature = "Win32_Foundation")] 495 impl ::core::marker::Copy for ACTIVATION_CONTEXT_BASIC_INFORMATION {} 496 #[cfg(feature = "Win32_Foundation")] 497 impl ::core::clone::Clone for ACTIVATION_CONTEXT_BASIC_INFORMATION { clone(&self) -> Self498 fn clone(&self) -> Self { 499 *self 500 } 501 } 502 pub const ACTIVATION_CONTEXT_BASIC_INFORMATION_DEFINED: u32 = 1u32; 503 pub const AC_LINE_BACKUP_POWER: u32 = 2u32; 504 pub const AC_LINE_OFFLINE: u32 = 0u32; 505 pub const AC_LINE_ONLINE: u32 = 1u32; 506 pub const AC_LINE_UNKNOWN: u32 = 255u32; 507 pub const ADN_DEL_IF_EMPTY: u32 = 1u32; 508 pub const ADN_DEL_UNC_PATHS: u32 = 8u32; 509 pub const ADN_DONT_DEL_DIR: u32 = 4u32; 510 pub const ADN_DONT_DEL_SUBDIRS: u32 = 2u32; 511 pub const AFSR_BACKNEW: u32 = 2u32; 512 pub const AFSR_EXTRAINCREFCNT: u32 = 2048u32; 513 pub const AFSR_NODELETENEW: u32 = 4u32; 514 pub const AFSR_NOMESSAGES: u32 = 8u32; 515 pub const AFSR_NOPROGRESS: u32 = 16u32; 516 pub const AFSR_RESTORE: u32 = 1u32; 517 pub const AFSR_UPDREFCNT: u32 = 512u32; 518 pub const AFSR_USEREFCNT: u32 = 1024u32; 519 pub const AIF_FORCE_FILE_IN_USE: u32 = 8u32; 520 pub const AIF_NOLANGUAGECHECK: u32 = 268435456u32; 521 pub const AIF_NOOVERWRITE: u32 = 16u32; 522 pub const AIF_NOSKIP: u32 = 2u32; 523 pub const AIF_NOVERSIONCHECK: u32 = 4u32; 524 pub const AIF_NO_VERSION_DIALOG: u32 = 32u32; 525 pub const AIF_QUIET: u32 = 536870912u32; 526 pub const AIF_REPLACEONLY: u32 = 1024u32; 527 pub const AIF_WARNIFSKIP: u32 = 1u32; 528 pub const ALINF_BKINSTALL: u32 = 32u32; 529 pub const ALINF_CHECKBKDATA: u32 = 128u32; 530 pub const ALINF_DELAYREGISTEROCX: u32 = 512u32; 531 pub const ALINF_NGCONV: u32 = 8u32; 532 pub const ALINF_QUIET: u32 = 4u32; 533 pub const ALINF_ROLLBACK: u32 = 64u32; 534 pub const ALINF_ROLLBKDOALL: u32 = 256u32; 535 pub const ALINF_UPDHLPDLLS: u32 = 16u32; 536 pub type APPLICATION_RECOVERY_CALLBACK = unsafe extern "system" fn(pvparameter: *mut ::core::ffi::c_void) -> u32; 537 pub const ARSR_NOMESSAGES: u32 = 8u32; 538 pub const ARSR_REGSECTION: u32 = 128u32; 539 pub const ARSR_REMOVREGBKDATA: u32 = 4096u32; 540 pub const ARSR_RESTORE: u32 = 1u32; 541 pub const ATOM_FLAG_GLOBAL: u32 = 2u32; 542 pub const AT_ARP: u32 = 640u32; 543 pub const AT_NULL: u32 = 642u32; 544 pub const BACKUP_GHOSTED_FILE_EXTENTS: u32 = 11u32; 545 pub const BACKUP_INVALID: u32 = 0u32; 546 pub const BASE_SEARCH_PATH_DISABLE_SAFE_SEARCHMODE: u32 = 65536u32; 547 pub const BASE_SEARCH_PATH_ENABLE_SAFE_SEARCHMODE: u32 = 1u32; 548 pub const BASE_SEARCH_PATH_PERMANENT: u32 = 32768u32; 549 pub const BATTERY_FLAG_CHARGING: u32 = 8u32; 550 pub const BATTERY_FLAG_CRITICAL: u32 = 4u32; 551 pub const BATTERY_FLAG_HIGH: u32 = 1u32; 552 pub const BATTERY_FLAG_LOW: u32 = 2u32; 553 pub const BATTERY_FLAG_NO_BATTERY: u32 = 128u32; 554 pub const BATTERY_FLAG_UNKNOWN: u32 = 255u32; 555 pub const BATTERY_LIFE_UNKNOWN: u32 = 4294967295u32; 556 pub const BATTERY_PERCENTAGE_UNKNOWN: u32 = 255u32; 557 #[repr(C)] 558 #[cfg(feature = "Win32_Foundation")] 559 pub struct CABINFOA { 560 pub pszCab: super::super::Foundation::PSTR, 561 pub pszInf: super::super::Foundation::PSTR, 562 pub pszSection: super::super::Foundation::PSTR, 563 pub szSrcPath: [super::super::Foundation::CHAR; 260], 564 pub dwFlags: u32, 565 } 566 #[cfg(feature = "Win32_Foundation")] 567 impl ::core::marker::Copy for CABINFOA {} 568 #[cfg(feature = "Win32_Foundation")] 569 impl ::core::clone::Clone for CABINFOA { clone(&self) -> Self570 fn clone(&self) -> Self { 571 *self 572 } 573 } 574 #[repr(C)] 575 #[cfg(feature = "Win32_Foundation")] 576 pub struct CABINFOW { 577 pub pszCab: super::super::Foundation::PWSTR, 578 pub pszInf: super::super::Foundation::PWSTR, 579 pub pszSection: super::super::Foundation::PWSTR, 580 pub szSrcPath: [u16; 260], 581 pub dwFlags: u32, 582 } 583 #[cfg(feature = "Win32_Foundation")] 584 impl ::core::marker::Copy for CABINFOW {} 585 #[cfg(feature = "Win32_Foundation")] 586 impl ::core::clone::Clone for CABINFOW { clone(&self) -> Self587 fn clone(&self) -> Self { 588 *self 589 } 590 } 591 pub const CATID_DeleteBrowsingHistory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { 592 data1: 835385060, 593 data2: 54954, 594 data3: 16528, 595 data4: [160, 80, 165, 172, 137, 114, 233, 239], 596 }; 597 pub const CBR_110: u32 = 110u32; 598 pub const CBR_115200: u32 = 115200u32; 599 pub const CBR_1200: u32 = 1200u32; 600 pub const CBR_128000: u32 = 128000u32; 601 pub const CBR_14400: u32 = 14400u32; 602 pub const CBR_19200: u32 = 19200u32; 603 pub const CBR_2400: u32 = 2400u32; 604 pub const CBR_256000: u32 = 256000u32; 605 pub const CBR_300: u32 = 300u32; 606 pub const CBR_38400: u32 = 38400u32; 607 pub const CBR_4800: u32 = 4800u32; 608 pub const CBR_56000: u32 = 56000u32; 609 pub const CBR_57600: u32 = 57600u32; 610 pub const CBR_600: u32 = 600u32; 611 pub const CBR_9600: u32 = 9600u32; 612 pub const CE_DNS: u32 = 2048u32; 613 pub const CE_IOE: u32 = 1024u32; 614 pub const CE_MODE: u32 = 32768u32; 615 pub const CE_OOP: u32 = 4096u32; 616 pub const CE_PTO: u32 = 512u32; 617 pub const CE_TXFULL: u32 = 256u32; 618 #[repr(C)] 619 #[cfg(feature = "Win32_Foundation")] 620 pub struct CLIENT_ID { 621 pub UniqueProcess: super::super::Foundation::HANDLE, 622 pub UniqueThread: super::super::Foundation::HANDLE, 623 } 624 #[cfg(feature = "Win32_Foundation")] 625 impl ::core::marker::Copy for CLIENT_ID {} 626 #[cfg(feature = "Win32_Foundation")] 627 impl ::core::clone::Clone for CLIENT_ID { clone(&self) -> Self628 fn clone(&self) -> Self { 629 *self 630 } 631 } 632 pub const CL_NL_IP: u32 = 771u32; 633 pub const CL_NL_IPX: u32 = 769u32; 634 pub const CL_TL_NBF: u32 = 1025u32; 635 pub const CL_TL_UDP: u32 = 1027u32; 636 pub const CODEINTEGRITY_OPTION_DEBUGMODE_ENABLED: u32 = 128u32; 637 pub const CODEINTEGRITY_OPTION_ENABLED: u32 = 1u32; 638 pub const CODEINTEGRITY_OPTION_FLIGHTING_ENABLED: u32 = 512u32; 639 pub const CODEINTEGRITY_OPTION_FLIGHT_BUILD: u32 = 256u32; 640 pub const CODEINTEGRITY_OPTION_HVCI_IUM_ENABLED: u32 = 8192u32; 641 pub const CODEINTEGRITY_OPTION_HVCI_KMCI_AUDITMODE_ENABLED: u32 = 2048u32; 642 pub const CODEINTEGRITY_OPTION_HVCI_KMCI_ENABLED: u32 = 1024u32; 643 pub const CODEINTEGRITY_OPTION_HVCI_KMCI_STRICTMODE_ENABLED: u32 = 4096u32; 644 pub const CODEINTEGRITY_OPTION_PREPRODUCTION_BUILD: u32 = 64u32; 645 pub const CODEINTEGRITY_OPTION_TESTSIGN: u32 = 2u32; 646 pub const CODEINTEGRITY_OPTION_TEST_BUILD: u32 = 32u32; 647 pub const CODEINTEGRITY_OPTION_UMCI_AUDITMODE_ENABLED: u32 = 8u32; 648 pub const CODEINTEGRITY_OPTION_UMCI_ENABLED: u32 = 4u32; 649 pub const CODEINTEGRITY_OPTION_UMCI_EXCLUSIONPATHS_ENABLED: u32 = 16u32; 650 pub const CONTEXT_SIZE: u32 = 16u32; 651 pub const COPYFILE2_IO_CYCLE_SIZE_MAX: u32 = 1073741824u32; 652 pub const COPYFILE2_IO_CYCLE_SIZE_MIN: u32 = 4096u32; 653 pub const COPYFILE2_IO_RATE_MIN: u32 = 512u32; 654 pub const COPYFILE2_MESSAGE_COPY_OFFLOAD: i32 = 1i32; 655 pub const COPY_FILE_ALLOW_DECRYPTED_DESTINATION: u32 = 8u32; 656 pub const COPY_FILE_COPY_SYMLINK: u32 = 2048u32; 657 pub const COPY_FILE_DIRECTORY: u32 = 128u32; 658 pub const COPY_FILE_DISABLE_PRE_ALLOCATION: u32 = 67108864u32; 659 pub const COPY_FILE_DONT_REQUEST_DEST_WRITE_DAC: u32 = 33554432u32; 660 pub const COPY_FILE_ENABLE_LOW_FREE_SPACE_MODE: u32 = 134217728u32; 661 pub const COPY_FILE_FAIL_IF_EXISTS: u32 = 1u32; 662 pub const COPY_FILE_IGNORE_EDP_BLOCK: u32 = 4194304u32; 663 pub const COPY_FILE_IGNORE_SOURCE_ENCRYPTION: u32 = 8388608u32; 664 pub const COPY_FILE_NO_BUFFERING: u32 = 4096u32; 665 pub const COPY_FILE_NO_OFFLOAD: u32 = 262144u32; 666 pub const COPY_FILE_OPEN_AND_COPY_REPARSE_POINT: u32 = 2097152u32; 667 pub const COPY_FILE_OPEN_SOURCE_FOR_WRITE: u32 = 4u32; 668 pub const COPY_FILE_REQUEST_COMPRESSED_TRAFFIC: u32 = 268435456u32; 669 pub const COPY_FILE_REQUEST_SECURITY_PRIVILEGES: u32 = 8192u32; 670 pub const COPY_FILE_RESTARTABLE: u32 = 2u32; 671 pub const COPY_FILE_RESUME_FROM_PAUSE: u32 = 16384u32; 672 pub const COPY_FILE_SKIP_ALTERNATE_STREAMS: u32 = 32768u32; 673 pub const CO_TL_NBF: u32 = 1024u32; 674 pub const CO_TL_SPP: u32 = 1030u32; 675 pub const CO_TL_SPX: u32 = 1026u32; 676 pub const CO_TL_TCP: u32 = 1028u32; 677 pub const CP_DIRECT: u32 = 2u32; 678 pub const CP_HWND: u32 = 0u32; 679 pub const CP_LEVEL: u32 = 3u32; 680 pub const CP_OPEN: u32 = 1u32; 681 pub const CREATE_FOR_DIR: u32 = 2u32; 682 pub const CREATE_FOR_IMPORT: u32 = 1u32; 683 pub const CRITICAL_SECTION_NO_DEBUG_INFO: u32 = 16777216u32; 684 #[repr(C)] 685 #[cfg(feature = "Win32_Foundation")] 686 pub struct CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG { 687 pub Size: u32, 688 pub TriggerId: super::super::Foundation::PWSTR, 689 } 690 #[cfg(feature = "Win32_Foundation")] 691 impl ::core::marker::Copy for CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG {} 692 #[cfg(feature = "Win32_Foundation")] 693 impl ::core::clone::Clone for CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG { clone(&self) -> Self694 fn clone(&self) -> Self { 695 *self 696 } 697 } 698 pub const CameraUIControl: ::windows_sys::core::GUID = ::windows_sys::core::GUID { 699 data1: 383099582, 700 data2: 45509, 701 data3: 18355, 702 data4: [142, 174, 204, 188, 244, 82, 199, 232], 703 }; 704 #[repr(transparent)] 705 pub struct CameraUIControlCaptureMode(pub i32); 706 impl CameraUIControlCaptureMode { 707 pub const PhotoOrVideo: Self = Self(0i32); 708 pub const Photo: Self = Self(1i32); 709 pub const Video: Self = Self(2i32); 710 } 711 impl ::core::marker::Copy for CameraUIControlCaptureMode {} 712 impl ::core::clone::Clone for CameraUIControlCaptureMode { clone(&self) -> Self713 fn clone(&self) -> Self { 714 *self 715 } 716 } 717 #[repr(transparent)] 718 pub struct CameraUIControlLinearSelectionMode(pub i32); 719 impl CameraUIControlLinearSelectionMode { 720 pub const Single: Self = Self(0i32); 721 pub const Multiple: Self = Self(1i32); 722 } 723 impl ::core::marker::Copy for CameraUIControlLinearSelectionMode {} 724 impl ::core::clone::Clone for CameraUIControlLinearSelectionMode { clone(&self) -> Self725 fn clone(&self) -> Self { 726 *self 727 } 728 } 729 #[repr(transparent)] 730 pub struct CameraUIControlMode(pub i32); 731 impl CameraUIControlMode { 732 pub const Browse: Self = Self(0i32); 733 pub const Linear: Self = Self(1i32); 734 } 735 impl ::core::marker::Copy for CameraUIControlMode {} 736 impl ::core::clone::Clone for CameraUIControlMode { clone(&self) -> Self737 fn clone(&self) -> Self { 738 *self 739 } 740 } 741 #[repr(transparent)] 742 pub struct CameraUIControlPhotoFormat(pub i32); 743 impl CameraUIControlPhotoFormat { 744 pub const Jpeg: Self = Self(0i32); 745 pub const Png: Self = Self(1i32); 746 pub const JpegXR: Self = Self(2i32); 747 } 748 impl ::core::marker::Copy for CameraUIControlPhotoFormat {} 749 impl ::core::clone::Clone for CameraUIControlPhotoFormat { clone(&self) -> Self750 fn clone(&self) -> Self { 751 *self 752 } 753 } 754 #[repr(transparent)] 755 pub struct CameraUIControlVideoFormat(pub i32); 756 impl CameraUIControlVideoFormat { 757 pub const Mp4: Self = Self(0i32); 758 pub const Wmv: Self = Self(1i32); 759 } 760 impl ::core::marker::Copy for CameraUIControlVideoFormat {} 761 impl ::core::clone::Clone for CameraUIControlVideoFormat { clone(&self) -> Self762 fn clone(&self) -> Self { 763 *self 764 } 765 } 766 #[repr(transparent)] 767 pub struct CameraUIControlViewType(pub i32); 768 impl CameraUIControlViewType { 769 pub const SingleItem: Self = Self(0i32); 770 pub const ItemList: Self = Self(1i32); 771 } 772 impl ::core::marker::Copy for CameraUIControlViewType {} 773 impl ::core::clone::Clone for CameraUIControlViewType { clone(&self) -> Self774 fn clone(&self) -> Self { 775 *self 776 } 777 } 778 #[repr(C)] 779 pub struct DATETIME { 780 pub year: u16, 781 pub month: u16, 782 pub day: u16, 783 pub hour: u16, 784 pub min: u16, 785 pub sec: u16, 786 } 787 impl ::core::marker::Copy for DATETIME {} 788 impl ::core::clone::Clone for DATETIME { clone(&self) -> Self789 fn clone(&self) -> Self { 790 *self 791 } 792 } 793 #[repr(C)] 794 pub struct DCICMD { 795 pub dwCommand: u32, 796 pub dwParam1: u32, 797 pub dwParam2: u32, 798 pub dwVersion: u32, 799 pub dwReserved: u32, 800 } 801 impl ::core::marker::Copy for DCICMD {} 802 impl ::core::clone::Clone for DCICMD { clone(&self) -> Self803 fn clone(&self) -> Self { 804 *self 805 } 806 } 807 #[repr(C)] 808 pub struct DCICREATEINPUT { 809 pub cmd: DCICMD, 810 pub dwCompression: u32, 811 pub dwMask: [u32; 3], 812 pub dwWidth: u32, 813 pub dwHeight: u32, 814 pub dwDCICaps: u32, 815 pub dwBitCount: u32, 816 pub lpSurface: *mut ::core::ffi::c_void, 817 } 818 impl ::core::marker::Copy for DCICREATEINPUT {} 819 impl ::core::clone::Clone for DCICREATEINPUT { clone(&self) -> Self820 fn clone(&self) -> Self { 821 *self 822 } 823 } 824 pub const DCICREATEOFFSCREENSURFACE: u32 = 2u32; 825 pub const DCICREATEOVERLAYSURFACE: u32 = 3u32; 826 pub const DCICREATEPRIMARYSURFACE: u32 = 1u32; 827 #[repr(C)] 828 #[cfg(feature = "Win32_Foundation")] 829 pub struct DCIENUMINPUT { 830 pub cmd: DCICMD, 831 pub rSrc: super::super::Foundation::RECT, 832 pub rDst: super::super::Foundation::RECT, 833 pub EnumCallback: isize, 834 pub lpContext: *mut ::core::ffi::c_void, 835 } 836 #[cfg(feature = "Win32_Foundation")] 837 impl ::core::marker::Copy for DCIENUMINPUT {} 838 #[cfg(feature = "Win32_Foundation")] 839 impl ::core::clone::Clone for DCIENUMINPUT { clone(&self) -> Self840 fn clone(&self) -> Self { 841 *self 842 } 843 } 844 pub const DCIENUMSURFACE: u32 = 4u32; 845 pub const DCIESCAPE: u32 = 5u32; 846 #[repr(C)] 847 pub struct DCIOFFSCREEN { 848 pub dciInfo: DCISURFACEINFO, 849 pub Draw: isize, 850 pub SetClipList: isize, 851 pub SetDestination: isize, 852 } 853 impl ::core::marker::Copy for DCIOFFSCREEN {} 854 impl ::core::clone::Clone for DCIOFFSCREEN { clone(&self) -> Self855 fn clone(&self) -> Self { 856 *self 857 } 858 } 859 #[repr(C)] 860 pub struct DCIOVERLAY { 861 pub dciInfo: DCISURFACEINFO, 862 pub dwChromakeyValue: u32, 863 pub dwChromakeyMask: u32, 864 } 865 impl ::core::marker::Copy for DCIOVERLAY {} 866 impl ::core::clone::Clone for DCIOVERLAY { clone(&self) -> Self867 fn clone(&self) -> Self { 868 *self 869 } 870 } 871 #[repr(C)] 872 pub struct DCISURFACEINFO { 873 pub dwSize: u32, 874 pub dwDCICaps: u32, 875 pub dwCompression: u32, 876 pub dwMask: [u32; 3], 877 pub dwWidth: u32, 878 pub dwHeight: u32, 879 pub lStride: i32, 880 pub dwBitCount: u32, 881 pub dwOffSurface: usize, 882 pub wSelSurface: u16, 883 pub wReserved: u16, 884 pub dwReserved1: u32, 885 pub dwReserved2: u32, 886 pub dwReserved3: u32, 887 pub BeginAccess: isize, 888 pub EndAccess: isize, 889 pub DestroySurface: isize, 890 } 891 impl ::core::marker::Copy for DCISURFACEINFO {} 892 impl ::core::clone::Clone for DCISURFACEINFO { clone(&self) -> Self893 fn clone(&self) -> Self { 894 *self 895 } 896 } 897 pub const DCI_1632_ACCESS: u32 = 64u32; 898 pub const DCI_ASYNC: u32 = 1024u32; 899 pub const DCI_CANOVERLAY: u32 = 65536u32; 900 pub const DCI_CAN_STRETCHX: u32 = 4096u32; 901 pub const DCI_CAN_STRETCHXN: u32 = 16384u32; 902 pub const DCI_CAN_STRETCHY: u32 = 8192u32; 903 pub const DCI_CAN_STRETCHYN: u32 = 32768u32; 904 pub const DCI_CHROMAKEY: u32 = 32u32; 905 pub const DCI_DWORDALIGN: u32 = 256u32; 906 pub const DCI_DWORDSIZE: u32 = 128u32; 907 pub const DCI_ERR_CURRENTLYNOTAVAIL: i32 = -5i32; 908 pub const DCI_ERR_HEIGHTALIGN: i32 = -21i32; 909 pub const DCI_ERR_INVALIDCLIPLIST: i32 = -15i32; 910 pub const DCI_ERR_INVALIDPOSITION: i32 = -13i32; 911 pub const DCI_ERR_INVALIDRECT: i32 = -6i32; 912 pub const DCI_ERR_INVALIDSTRETCH: i32 = -14i32; 913 pub const DCI_ERR_OUTOFMEMORY: i32 = -12i32; 914 pub const DCI_ERR_SURFACEISOBSCURED: i32 = -16i32; 915 pub const DCI_ERR_TOOBIGHEIGHT: i32 = -9i32; 916 pub const DCI_ERR_TOOBIGSIZE: i32 = -11i32; 917 pub const DCI_ERR_TOOBIGWIDTH: i32 = -10i32; 918 pub const DCI_ERR_UNSUPPORTEDFORMAT: i32 = -7i32; 919 pub const DCI_ERR_UNSUPPORTEDMASK: i32 = -8i32; 920 pub const DCI_ERR_WIDTHALIGN: i32 = -20i32; 921 pub const DCI_ERR_XALIGN: i32 = -17i32; 922 pub const DCI_ERR_XYALIGN: i32 = -19i32; 923 pub const DCI_ERR_YALIGN: i32 = -18i32; 924 pub const DCI_FAIL_GENERIC: i32 = -1i32; 925 pub const DCI_FAIL_INVALIDSURFACE: i32 = -3i32; 926 pub const DCI_FAIL_UNSUPPORTED: i32 = -4i32; 927 pub const DCI_FAIL_UNSUPPORTEDVERSION: i32 = -2i32; 928 pub const DCI_OFFSCREEN: u32 = 1u32; 929 pub const DCI_OK: u32 = 0u32; 930 pub const DCI_OVERLAY: u32 = 2u32; 931 pub const DCI_PRIMARY: u32 = 0u32; 932 pub const DCI_STATUS_CHROMAKEYCHANGED: u32 = 16u32; 933 pub const DCI_STATUS_FORMATCHANGED: u32 = 4u32; 934 pub const DCI_STATUS_POINTERCHANGED: u32 = 1u32; 935 pub const DCI_STATUS_STRIDECHANGED: u32 = 2u32; 936 pub const DCI_STATUS_SURFACEINFOCHANGED: u32 = 8u32; 937 pub const DCI_STATUS_WASSTILLDRAWING: u32 = 32u32; 938 pub const DCI_SURFACE_TYPE: u32 = 15u32; 939 pub const DCI_VERSION: u32 = 256u32; 940 pub const DCI_VISIBLE: u32 = 16u32; 941 pub const DCI_WRITEONLY: u32 = 512u32; 942 pub const DEACTIVATE_ACTCTX_FLAG_FORCE_EARLY_DEACTIVATION: u32 = 1u32; 943 pub type DECISION_LOCATION = i32; 944 pub const DECISION_LOCATION_REFRESH_GLOBAL_DATA: DECISION_LOCATION = 0i32; 945 pub const DECISION_LOCATION_PARAMETER_VALIDATION: DECISION_LOCATION = 1i32; 946 pub const DECISION_LOCATION_AUDIT: DECISION_LOCATION = 2i32; 947 pub const DECISION_LOCATION_FAILED_CONVERT_GUID: DECISION_LOCATION = 3i32; 948 pub const DECISION_LOCATION_ENTERPRISE_DEFINED_CLASS_ID: DECISION_LOCATION = 4i32; 949 pub const DECISION_LOCATION_GLOBAL_BUILT_IN_LIST: DECISION_LOCATION = 5i32; 950 pub const DECISION_LOCATION_PROVIDER_BUILT_IN_LIST: DECISION_LOCATION = 6i32; 951 pub const DECISION_LOCATION_ENFORCE_STATE_LIST: DECISION_LOCATION = 7i32; 952 pub const DECISION_LOCATION_NOT_FOUND: DECISION_LOCATION = 8i32; 953 pub const DECISION_LOCATION_UNKNOWN: DECISION_LOCATION = 9i32; 954 pub const DELAYLOAD_GPA_FAILURE: u32 = 4u32; 955 #[repr(C)] 956 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 957 #[cfg(feature = "Win32_Foundation")] 958 pub struct DELAYLOAD_INFO { 959 pub Size: u32, 960 pub DelayloadDescriptor: *mut IMAGE_DELAYLOAD_DESCRIPTOR, 961 pub ThunkAddress: *mut IMAGE_THUNK_DATA64, 962 pub TargetDllName: super::super::Foundation::PSTR, 963 pub TargetApiDescriptor: DELAYLOAD_PROC_DESCRIPTOR, 964 pub TargetModuleBase: *mut ::core::ffi::c_void, 965 pub Unused: *mut ::core::ffi::c_void, 966 pub LastError: u32, 967 } 968 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 969 #[cfg(feature = "Win32_Foundation")] 970 impl ::core::marker::Copy for DELAYLOAD_INFO {} 971 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 972 #[cfg(feature = "Win32_Foundation")] 973 impl ::core::clone::Clone for DELAYLOAD_INFO { clone(&self) -> Self974 fn clone(&self) -> Self { 975 *self 976 } 977 } 978 #[repr(C)] 979 #[cfg(any(target_arch = "x86",))] 980 #[cfg(feature = "Win32_Foundation")] 981 pub struct DELAYLOAD_INFO { 982 pub Size: u32, 983 pub DelayloadDescriptor: *mut IMAGE_DELAYLOAD_DESCRIPTOR, 984 pub ThunkAddress: *mut IMAGE_THUNK_DATA32, 985 pub TargetDllName: super::super::Foundation::PSTR, 986 pub TargetApiDescriptor: DELAYLOAD_PROC_DESCRIPTOR, 987 pub TargetModuleBase: *mut ::core::ffi::c_void, 988 pub Unused: *mut ::core::ffi::c_void, 989 pub LastError: u32, 990 } 991 #[cfg(any(target_arch = "x86",))] 992 #[cfg(feature = "Win32_Foundation")] 993 impl ::core::marker::Copy for DELAYLOAD_INFO {} 994 #[cfg(any(target_arch = "x86",))] 995 #[cfg(feature = "Win32_Foundation")] 996 impl ::core::clone::Clone for DELAYLOAD_INFO { clone(&self) -> Self997 fn clone(&self) -> Self { 998 *self 999 } 1000 } 1001 #[repr(C)] 1002 #[cfg(feature = "Win32_Foundation")] 1003 pub struct DELAYLOAD_PROC_DESCRIPTOR { 1004 pub ImportDescribedByName: u32, 1005 pub Description: DELAYLOAD_PROC_DESCRIPTOR_0, 1006 } 1007 #[cfg(feature = "Win32_Foundation")] 1008 impl ::core::marker::Copy for DELAYLOAD_PROC_DESCRIPTOR {} 1009 #[cfg(feature = "Win32_Foundation")] 1010 impl ::core::clone::Clone for DELAYLOAD_PROC_DESCRIPTOR { clone(&self) -> Self1011 fn clone(&self) -> Self { 1012 *self 1013 } 1014 } 1015 #[repr(C)] 1016 #[cfg(feature = "Win32_Foundation")] 1017 pub union DELAYLOAD_PROC_DESCRIPTOR_0 { 1018 pub Name: super::super::Foundation::PSTR, 1019 pub Ordinal: u32, 1020 } 1021 #[cfg(feature = "Win32_Foundation")] 1022 impl ::core::marker::Copy for DELAYLOAD_PROC_DESCRIPTOR_0 {} 1023 #[cfg(feature = "Win32_Foundation")] 1024 impl ::core::clone::Clone for DELAYLOAD_PROC_DESCRIPTOR_0 { clone(&self) -> Self1025 fn clone(&self) -> Self { 1026 *self 1027 } 1028 } 1029 pub const DELETE_BROWSING_HISTORY_COOKIES: u32 = 2u32; 1030 pub const DELETE_BROWSING_HISTORY_DOWNLOADHISTORY: u32 = 64u32; 1031 pub const DELETE_BROWSING_HISTORY_FORMDATA: u32 = 8u32; 1032 pub const DELETE_BROWSING_HISTORY_HISTORY: u32 = 1u32; 1033 pub const DELETE_BROWSING_HISTORY_PASSWORDS: u32 = 16u32; 1034 pub const DELETE_BROWSING_HISTORY_PRESERVEFAVORITES: u32 = 32u32; 1035 pub const DELETE_BROWSING_HISTORY_TIF: u32 = 4u32; 1036 pub const DOCKINFO_DOCKED: u32 = 2u32; 1037 pub const DOCKINFO_UNDOCKED: u32 = 1u32; 1038 pub const DOCKINFO_USER_SUPPLIED: u32 = 4u32; 1039 pub const DRIVE_CDROM: u32 = 5u32; 1040 pub const DRIVE_FIXED: u32 = 3u32; 1041 pub const DRIVE_NO_ROOT_DIR: u32 = 1u32; 1042 pub const DRIVE_RAMDISK: u32 = 6u32; 1043 pub const DRIVE_REMOTE: u32 = 4u32; 1044 pub const DRIVE_REMOVABLE: u32 = 2u32; 1045 pub const DRIVE_UNKNOWN: u32 = 0u32; 1046 pub const DTR_CONTROL_DISABLE: u32 = 0u32; 1047 pub const DTR_CONTROL_ENABLE: u32 = 1u32; 1048 pub const DTR_CONTROL_HANDSHAKE: u32 = 2u32; 1049 pub const DefaultBrowserSyncSettings: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 986199075, data2: 12562, data3: 19110, data4: [155, 91, 31, 235, 35, 208, 197, 249] }; 1050 pub const EFSRPC_SECURE_ONLY: u32 = 8u32; 1051 pub const EFS_DROP_ALTERNATE_STREAMS: u32 = 16u32; 1052 pub const EFS_USE_RECOVERY_KEYS: u32 = 1u32; 1053 pub const ENTITY_LIST_ID: u32 = 0u32; 1054 pub const ENTITY_TYPE_ID: u32 = 1u32; 1055 pub type ENUM_CALLBACK = unsafe extern "system" fn(lpsurfaceinfo: *mut DCISURFACEINFO, lpcontext: *mut ::core::ffi::c_void); 1056 pub const ER_ICMP: u32 = 896u32; 1057 pub const EVENPARITY: u32 = 2u32; 1058 pub const EVENTLOG_FULL_INFO: u32 = 0u32; 1059 pub const EditionUpgradeBroker: ::windows_sys::core::GUID = ::windows_sys::core::GUID { 1060 data1: 3290892327, 1061 data2: 20281, 1062 data3: 17887, 1063 data4: [146, 136, 18, 255, 107, 133, 169, 33], 1064 }; 1065 pub const EditionUpgradeHelper: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 24604147, data2: 47535, data3: 20048, data4: [155, 28, 86, 233, 49, 22, 215, 4] }; 1066 pub const FAIL_FAST_GENERATE_EXCEPTION_ADDRESS: u32 = 1u32; 1067 pub const FAIL_FAST_NO_HARD_ERROR_DLG: u32 = 2u32; 1068 pub type FEATURE_CHANGE_TIME = i32; 1069 pub const FEATURE_CHANGE_TIME_READ: FEATURE_CHANGE_TIME = 0i32; 1070 pub const FEATURE_CHANGE_TIME_MODULE_RELOAD: FEATURE_CHANGE_TIME = 1i32; 1071 pub const FEATURE_CHANGE_TIME_SESSION: FEATURE_CHANGE_TIME = 2i32; 1072 pub const FEATURE_CHANGE_TIME_REBOOT: FEATURE_CHANGE_TIME = 3i32; 1073 pub type FEATURE_ENABLED_STATE = i32; 1074 pub const FEATURE_ENABLED_STATE_DEFAULT: FEATURE_ENABLED_STATE = 0i32; 1075 pub const FEATURE_ENABLED_STATE_DISABLED: FEATURE_ENABLED_STATE = 1i32; 1076 pub const FEATURE_ENABLED_STATE_ENABLED: FEATURE_ENABLED_STATE = 2i32; 1077 #[repr(C)] 1078 #[cfg(feature = "Win32_Foundation")] 1079 pub struct FEATURE_ERROR { 1080 pub hr: ::windows_sys::core::HRESULT, 1081 pub lineNumber: u16, 1082 pub file: super::super::Foundation::PSTR, 1083 pub process: super::super::Foundation::PSTR, 1084 pub module: super::super::Foundation::PSTR, 1085 pub callerReturnAddressOffset: u32, 1086 pub callerModule: super::super::Foundation::PSTR, 1087 pub message: super::super::Foundation::PSTR, 1088 pub originLineNumber: u16, 1089 pub originFile: super::super::Foundation::PSTR, 1090 pub originModule: super::super::Foundation::PSTR, 1091 pub originCallerReturnAddressOffset: u32, 1092 pub originCallerModule: super::super::Foundation::PSTR, 1093 pub originName: super::super::Foundation::PSTR, 1094 } 1095 #[cfg(feature = "Win32_Foundation")] 1096 impl ::core::marker::Copy for FEATURE_ERROR {} 1097 #[cfg(feature = "Win32_Foundation")] 1098 impl ::core::clone::Clone for FEATURE_ERROR { clone(&self) -> Self1099 fn clone(&self) -> Self { 1100 *self 1101 } 1102 } 1103 pub type FEATURE_STATE_CHANGE_SUBSCRIPTION = isize; 1104 pub type FH_SERVICE_PIPE_HANDLE = isize; 1105 pub const FIBER_FLAG_FLOAT_SWITCH: u32 = 1u32; 1106 #[repr(C)] 1107 pub struct FILE_CASE_SENSITIVE_INFO { 1108 pub Flags: u32, 1109 } 1110 impl ::core::marker::Copy for FILE_CASE_SENSITIVE_INFO {} 1111 impl ::core::clone::Clone for FILE_CASE_SENSITIVE_INFO { clone(&self) -> Self1112 fn clone(&self) -> Self { 1113 *self 1114 } 1115 } 1116 pub const FILE_COMPLETE_IF_OPLOCKED: u32 = 256u32; 1117 pub const FILE_CREATED: u32 = 2u32; 1118 pub const FILE_CREATE_TREE_CONNECTION: u32 = 128u32; 1119 pub const FILE_DELETE_ON_CLOSE: u32 = 4096u32; 1120 pub const FILE_DIRECTORY_FILE: u32 = 1u32; 1121 pub const FILE_DIR_DISALLOWED: u32 = 9u32; 1122 pub const FILE_DISPOSITION_FLAG_DELETE: u32 = 1u32; 1123 pub const FILE_DISPOSITION_FLAG_DO_NOT_DELETE: u32 = 0u32; 1124 pub const FILE_DISPOSITION_FLAG_FORCE_IMAGE_SECTION_CHECK: u32 = 4u32; 1125 pub const FILE_DISPOSITION_FLAG_IGNORE_READONLY_ATTRIBUTE: u32 = 16u32; 1126 pub const FILE_DISPOSITION_FLAG_ON_CLOSE: u32 = 8u32; 1127 pub const FILE_DISPOSITION_FLAG_POSIX_SEMANTICS: u32 = 2u32; 1128 #[repr(C)] 1129 pub struct FILE_DISPOSITION_INFO_EX { 1130 pub Flags: u32, 1131 } 1132 impl ::core::marker::Copy for FILE_DISPOSITION_INFO_EX {} 1133 impl ::core::clone::Clone for FILE_DISPOSITION_INFO_EX { clone(&self) -> Self1134 fn clone(&self) -> Self { 1135 *self 1136 } 1137 } 1138 pub const FILE_DOES_NOT_EXIST: u32 = 5u32; 1139 pub const FILE_ENCRYPTABLE: u32 = 0u32; 1140 pub const FILE_EXISTS: u32 = 4u32; 1141 pub const FILE_FLAG_OPEN_REQUIRING_OPLOCK: u32 = 262144u32; 1142 pub type FILE_INFORMATION_CLASS = i32; 1143 pub const FileDirectoryInformation: FILE_INFORMATION_CLASS = 1i32; 1144 pub const FILE_IS_ENCRYPTED: u32 = 1u32; 1145 pub const FILE_MAXIMUM_DISPOSITION: u32 = 5u32; 1146 pub const FILE_NON_DIRECTORY_FILE: u32 = 64u32; 1147 pub const FILE_NO_COMPRESSION: u32 = 32768u32; 1148 pub const FILE_NO_EA_KNOWLEDGE: u32 = 512u32; 1149 pub const FILE_NO_INTERMEDIATE_BUFFERING: u32 = 8u32; 1150 pub const FILE_OPENED: u32 = 1u32; 1151 pub const FILE_OPEN_BY_FILE_ID: u32 = 8192u32; 1152 pub const FILE_OPEN_FOR_BACKUP_INTENT: u32 = 16384u32; 1153 pub const FILE_OPEN_FOR_FREE_SPACE_QUERY: u32 = 8388608u32; 1154 pub const FILE_OPEN_NO_RECALL: u32 = 4194304u32; 1155 pub const FILE_OPEN_REMOTE_INSTANCE: u32 = 1024u32; 1156 pub const FILE_OPEN_REPARSE_POINT: u32 = 2097152u32; 1157 pub const FILE_OPEN_REQUIRING_OPLOCK: u32 = 65536u32; 1158 pub const FILE_OVERWRITTEN: u32 = 3u32; 1159 pub const FILE_RANDOM_ACCESS: u32 = 2048u32; 1160 pub const FILE_READ_ONLY: u32 = 8u32; 1161 pub const FILE_RENAME_FLAG_POSIX_SEMANTICS: u32 = 2u32; 1162 pub const FILE_RENAME_FLAG_REPLACE_IF_EXISTS: u32 = 1u32; 1163 pub const FILE_RENAME_FLAG_SUPPRESS_PIN_STATE_INHERITANCE: u32 = 4u32; 1164 pub const FILE_RESERVE_OPFILTER: u32 = 1048576u32; 1165 pub const FILE_ROOT_DIR: u32 = 3u32; 1166 pub const FILE_SEQUENTIAL_ONLY: u32 = 4u32; 1167 pub const FILE_SKIP_COMPLETION_PORT_ON_SUCCESS: u32 = 1u32; 1168 pub const FILE_SKIP_SET_EVENT_ON_HANDLE: u32 = 2u32; 1169 pub const FILE_SUPERSEDED: u32 = 0u32; 1170 pub const FILE_SYNCHRONOUS_IO_ALERT: u32 = 16u32; 1171 pub const FILE_SYNCHRONOUS_IO_NONALERT: u32 = 32u32; 1172 pub const FILE_SYSTEM_ATTR: u32 = 2u32; 1173 pub const FILE_SYSTEM_DIR: u32 = 4u32; 1174 pub const FILE_SYSTEM_NOT_SUPPORT: u32 = 6u32; 1175 pub const FILE_TYPE_CHAR: u32 = 2u32; 1176 pub const FILE_TYPE_DISK: u32 = 1u32; 1177 pub const FILE_TYPE_PIPE: u32 = 3u32; 1178 pub const FILE_TYPE_REMOTE: u32 = 32768u32; 1179 pub const FILE_TYPE_UNKNOWN: u32 = 0u32; 1180 pub const FILE_UNKNOWN: u32 = 5u32; 1181 pub const FILE_USER_DISALLOWED: u32 = 7u32; 1182 pub const FILE_VALID_MAILSLOT_OPTION_FLAGS: u32 = 50u32; 1183 pub const FILE_VALID_OPTION_FLAGS: u32 = 16777215u32; 1184 pub const FILE_VALID_PIPE_OPTION_FLAGS: u32 = 50u32; 1185 pub const FILE_VALID_SET_FLAGS: u32 = 54u32; 1186 pub const FILE_WRITE_THROUGH: u32 = 2u32; 1187 pub const FIND_ACTCTX_SECTION_KEY_RETURN_ASSEMBLY_METADATA: u32 = 4u32; 1188 pub const FIND_ACTCTX_SECTION_KEY_RETURN_FLAGS: u32 = 2u32; 1189 pub const FIND_ACTCTX_SECTION_KEY_RETURN_HACTCTX: u32 = 1u32; 1190 pub const FORMAT_MESSAGE_MAX_WIDTH_MASK: u32 = 255u32; 1191 pub const FS_CASE_IS_PRESERVED: u32 = 2u32; 1192 pub const FS_CASE_SENSITIVE: u32 = 1u32; 1193 pub const FS_FILE_COMPRESSION: u32 = 16u32; 1194 pub const FS_FILE_ENCRYPTION: u32 = 131072u32; 1195 pub const FS_PERSISTENT_ACLS: u32 = 8u32; 1196 pub const FS_UNICODE_STORED_ON_DISK: u32 = 4u32; 1197 pub const FS_VOL_IS_COMPRESSED: u32 = 32768u32; 1198 pub const GMEM_DDESHARE: u32 = 8192u32; 1199 pub const GMEM_DISCARDABLE: u32 = 256u32; 1200 pub const GMEM_DISCARDED: u32 = 16384u32; 1201 pub const GMEM_INVALID_HANDLE: u32 = 32768u32; 1202 pub const GMEM_LOCKCOUNT: u32 = 255u32; 1203 pub const GMEM_LOWER: u32 = 4096u32; 1204 pub const GMEM_MODIFY: u32 = 128u32; 1205 pub const GMEM_NOCOMPACT: u32 = 16u32; 1206 pub const GMEM_NODISCARD: u32 = 32u32; 1207 pub const GMEM_NOTIFY: u32 = 16384u32; 1208 pub const GMEM_NOT_BANKED: u32 = 4096u32; 1209 pub const GMEM_SHARE: u32 = 8192u32; 1210 pub const GMEM_VALID_FLAGS: u32 = 32626u32; 1211 pub const HANJA_WINDOW: u32 = 2u32; 1212 pub const HINSTANCE_ERROR: u32 = 32u32; 1213 pub type HWINWATCH = isize; 1214 pub const HW_PROFILE_GUIDLEN: u32 = 39u32; 1215 #[repr(C)] 1216 #[cfg(feature = "Win32_Foundation")] 1217 pub struct HW_PROFILE_INFOA { 1218 pub dwDockInfo: u32, 1219 pub szHwProfileGuid: [super::super::Foundation::CHAR; 39], 1220 pub szHwProfileName: [super::super::Foundation::CHAR; 80], 1221 } 1222 #[cfg(feature = "Win32_Foundation")] 1223 impl ::core::marker::Copy for HW_PROFILE_INFOA {} 1224 #[cfg(feature = "Win32_Foundation")] 1225 impl ::core::clone::Clone for HW_PROFILE_INFOA { clone(&self) -> Self1226 fn clone(&self) -> Self { 1227 *self 1228 } 1229 } 1230 #[repr(C)] 1231 pub struct HW_PROFILE_INFOW { 1232 pub dwDockInfo: u32, 1233 pub szHwProfileGuid: [u16; 39], 1234 pub szHwProfileName: [u16; 80], 1235 } 1236 impl ::core::marker::Copy for HW_PROFILE_INFOW {} 1237 impl ::core::clone::Clone for HW_PROFILE_INFOW { clone(&self) -> Self1238 fn clone(&self) -> Self { 1239 *self 1240 } 1241 } 1242 pub type ICameraUIControl = *mut ::core::ffi::c_void; 1243 pub type ICameraUIControlEventCallback = *mut ::core::ffi::c_void; 1244 pub type IClipServiceNotificationHelper = *mut ::core::ffi::c_void; 1245 pub type IContainerActivationHelper = *mut ::core::ffi::c_void; 1246 pub type IDefaultBrowserSyncSettings = *mut ::core::ffi::c_void; 1247 pub type IDeleteBrowsingHistory = *mut ::core::ffi::c_void; 1248 pub const IE4_BACKNEW: u32 = 2u32; 1249 pub const IE4_EXTRAINCREFCNT: u32 = 2048u32; 1250 pub const IE4_FRDOALL: u32 = 256u32; 1251 pub const IE4_NODELETENEW: u32 = 4u32; 1252 pub const IE4_NOENUMKEY: u32 = 32u32; 1253 pub const IE4_NOMESSAGES: u32 = 8u32; 1254 pub const IE4_NOPROGRESS: u32 = 16u32; 1255 pub const IE4_NO_CRC_MAPPING: u32 = 64u32; 1256 pub const IE4_REGSECTION: u32 = 128u32; 1257 pub const IE4_REMOVREGBKDATA: u32 = 4096u32; 1258 pub const IE4_RESTORE: u32 = 1u32; 1259 pub const IE4_UPDREFCNT: u32 = 512u32; 1260 pub const IE4_USEREFCNT: u32 = 1024u32; 1261 pub const IE_BADID: i32 = -1i32; 1262 pub const IE_BAUDRATE: i32 = -12i32; 1263 pub const IE_BYTESIZE: i32 = -11i32; 1264 pub const IE_DEFAULT: i32 = -5i32; 1265 pub const IE_HARDWARE: i32 = -10i32; 1266 pub const IE_MEMORY: i32 = -4i32; 1267 pub const IE_NOPEN: i32 = -3i32; 1268 pub const IE_OPEN: i32 = -2i32; 1269 pub type IEditionUpgradeBroker = *mut ::core::ffi::c_void; 1270 pub type IEditionUpgradeHelper = *mut ::core::ffi::c_void; 1271 pub const IF_GENERIC: u32 = 512u32; 1272 pub const IF_MIB: u32 = 514u32; 1273 pub const IGNORE: u32 = 0u32; 1274 #[repr(C)] 1275 pub struct IMAGE_DELAYLOAD_DESCRIPTOR { 1276 pub Attributes: IMAGE_DELAYLOAD_DESCRIPTOR_0, 1277 pub DllNameRVA: u32, 1278 pub ModuleHandleRVA: u32, 1279 pub ImportAddressTableRVA: u32, 1280 pub ImportNameTableRVA: u32, 1281 pub BoundImportAddressTableRVA: u32, 1282 pub UnloadInformationTableRVA: u32, 1283 pub TimeDateStamp: u32, 1284 } 1285 impl ::core::marker::Copy for IMAGE_DELAYLOAD_DESCRIPTOR {} 1286 impl ::core::clone::Clone for IMAGE_DELAYLOAD_DESCRIPTOR { clone(&self) -> Self1287 fn clone(&self) -> Self { 1288 *self 1289 } 1290 } 1291 #[repr(C)] 1292 pub union IMAGE_DELAYLOAD_DESCRIPTOR_0 { 1293 pub AllAttributes: u32, 1294 pub Anonymous: IMAGE_DELAYLOAD_DESCRIPTOR_0_0, 1295 } 1296 impl ::core::marker::Copy for IMAGE_DELAYLOAD_DESCRIPTOR_0 {} 1297 impl ::core::clone::Clone for IMAGE_DELAYLOAD_DESCRIPTOR_0 { clone(&self) -> Self1298 fn clone(&self) -> Self { 1299 *self 1300 } 1301 } 1302 #[repr(C)] 1303 pub struct IMAGE_DELAYLOAD_DESCRIPTOR_0_0 { 1304 pub _bitfield: u32, 1305 } 1306 impl ::core::marker::Copy for IMAGE_DELAYLOAD_DESCRIPTOR_0_0 {} 1307 impl ::core::clone::Clone for IMAGE_DELAYLOAD_DESCRIPTOR_0_0 { clone(&self) -> Self1308 fn clone(&self) -> Self { 1309 *self 1310 } 1311 } 1312 #[repr(C)] 1313 pub struct IMAGE_THUNK_DATA32 { 1314 pub u1: IMAGE_THUNK_DATA32_0, 1315 } 1316 impl ::core::marker::Copy for IMAGE_THUNK_DATA32 {} 1317 impl ::core::clone::Clone for IMAGE_THUNK_DATA32 { clone(&self) -> Self1318 fn clone(&self) -> Self { 1319 *self 1320 } 1321 } 1322 #[repr(C)] 1323 pub union IMAGE_THUNK_DATA32_0 { 1324 pub ForwarderString: u32, 1325 pub Function: u32, 1326 pub Ordinal: u32, 1327 pub AddressOfData: u32, 1328 } 1329 impl ::core::marker::Copy for IMAGE_THUNK_DATA32_0 {} 1330 impl ::core::clone::Clone for IMAGE_THUNK_DATA32_0 { clone(&self) -> Self1331 fn clone(&self) -> Self { 1332 *self 1333 } 1334 } 1335 #[repr(C)] 1336 pub struct IMAGE_THUNK_DATA64 { 1337 pub u1: IMAGE_THUNK_DATA64_0, 1338 } 1339 impl ::core::marker::Copy for IMAGE_THUNK_DATA64 {} 1340 impl ::core::clone::Clone for IMAGE_THUNK_DATA64 { clone(&self) -> Self1341 fn clone(&self) -> Self { 1342 *self 1343 } 1344 } 1345 #[repr(C)] 1346 pub union IMAGE_THUNK_DATA64_0 { 1347 pub ForwarderString: u64, 1348 pub Function: u64, 1349 pub Ordinal: u64, 1350 pub AddressOfData: u64, 1351 } 1352 impl ::core::marker::Copy for IMAGE_THUNK_DATA64_0 {} 1353 impl ::core::clone::Clone for IMAGE_THUNK_DATA64_0 { clone(&self) -> Self1354 fn clone(&self) -> Self { 1355 *self 1356 } 1357 } 1358 pub const IMEA_INIT: u32 = 1u32; 1359 pub const IMEA_NEXT: u32 = 2u32; 1360 pub const IMEA_PREV: u32 = 3u32; 1361 #[repr(C)] 1362 #[cfg(feature = "Win32_Foundation")] 1363 pub struct IMEPROA { 1364 pub hWnd: super::super::Foundation::HWND, 1365 pub InstDate: DATETIME, 1366 pub wVersion: u32, 1367 pub szDescription: [u8; 50], 1368 pub szName: [u8; 80], 1369 pub szOptions: [u8; 30], 1370 } 1371 #[cfg(feature = "Win32_Foundation")] 1372 impl ::core::marker::Copy for IMEPROA {} 1373 #[cfg(feature = "Win32_Foundation")] 1374 impl ::core::clone::Clone for IMEPROA { clone(&self) -> Self1375 fn clone(&self) -> Self { 1376 *self 1377 } 1378 } 1379 #[repr(C)] 1380 #[cfg(feature = "Win32_Foundation")] 1381 pub struct IMEPROW { 1382 pub hWnd: super::super::Foundation::HWND, 1383 pub InstDate: DATETIME, 1384 pub wVersion: u32, 1385 pub szDescription: [u16; 50], 1386 pub szName: [u16; 80], 1387 pub szOptions: [u16; 30], 1388 } 1389 #[cfg(feature = "Win32_Foundation")] 1390 impl ::core::marker::Copy for IMEPROW {} 1391 #[cfg(feature = "Win32_Foundation")] 1392 impl ::core::clone::Clone for IMEPROW { clone(&self) -> Self1393 fn clone(&self) -> Self { 1394 *self 1395 } 1396 } 1397 #[repr(C)] 1398 #[cfg(feature = "Win32_Foundation")] 1399 pub struct IMESTRUCT { 1400 pub fnc: u32, 1401 pub wParam: super::super::Foundation::WPARAM, 1402 pub wCount: u32, 1403 pub dchSource: u32, 1404 pub dchDest: u32, 1405 pub lParam1: super::super::Foundation::LPARAM, 1406 pub lParam2: super::super::Foundation::LPARAM, 1407 pub lParam3: super::super::Foundation::LPARAM, 1408 } 1409 #[cfg(feature = "Win32_Foundation")] 1410 impl ::core::marker::Copy for IMESTRUCT {} 1411 #[cfg(feature = "Win32_Foundation")] 1412 impl ::core::clone::Clone for IMESTRUCT { clone(&self) -> Self1413 fn clone(&self) -> Self { 1414 *self 1415 } 1416 } 1417 pub const IME_BANJAtoJUNJA: u32 = 19u32; 1418 pub const IME_ENABLE_CONVERT: u32 = 2u32; 1419 pub const IME_ENTERWORDREGISTERMODE: u32 = 24u32; 1420 pub const IME_GETCONVERSIONMODE: u32 = 17u32; 1421 pub const IME_GETIMECAPS: u32 = 3u32; 1422 pub const IME_GETOPEN: u32 = 5u32; 1423 pub const IME_GETVERSION: u32 = 7u32; 1424 pub const IME_JOHABtoKS: u32 = 21u32; 1425 pub const IME_JUNJAtoBANJA: u32 = 20u32; 1426 pub const IME_KStoJOHAB: u32 = 22u32; 1427 pub const IME_MAXPROCESS: u32 = 32u32; 1428 pub const IME_MODE_ALPHANUMERIC: u32 = 1u32; 1429 pub const IME_MODE_CODEINPUT: u32 = 128u32; 1430 pub const IME_MODE_DBCSCHAR: u32 = 16u32; 1431 pub const IME_MODE_HANJACONVERT: u32 = 4u32; 1432 pub const IME_MODE_HIRAGANA: u32 = 4u32; 1433 pub const IME_MODE_KATAKANA: u32 = 2u32; 1434 pub const IME_MODE_NOCODEINPUT: u32 = 256u32; 1435 pub const IME_MODE_NOROMAN: u32 = 64u32; 1436 pub const IME_MODE_ROMAN: u32 = 32u32; 1437 pub const IME_MODE_SBCSCHAR: u32 = 2u32; 1438 pub const IME_MOVEIMEWINDOW: u32 = 8u32; 1439 pub const IME_REQUEST_CONVERT: u32 = 1u32; 1440 pub const IME_RS_DISKERROR: u32 = 14u32; 1441 pub const IME_RS_ERROR: u32 = 1u32; 1442 pub const IME_RS_ILLEGAL: u32 = 6u32; 1443 pub const IME_RS_INVALID: u32 = 17u32; 1444 pub const IME_RS_NEST: u32 = 18u32; 1445 pub const IME_RS_NOIME: u32 = 2u32; 1446 pub const IME_RS_NOROOM: u32 = 10u32; 1447 pub const IME_RS_NOTFOUND: u32 = 7u32; 1448 pub const IME_RS_SYSTEMMODAL: u32 = 19u32; 1449 pub const IME_RS_TOOLONG: u32 = 5u32; 1450 pub const IME_SENDVKEY: u32 = 19u32; 1451 pub const IME_SETCONVERSIONFONTEX: u32 = 25u32; 1452 pub const IME_SETCONVERSIONMODE: u32 = 16u32; 1453 pub const IME_SETCONVERSIONWINDOW: u32 = 8u32; 1454 pub const IME_SETOPEN: u32 = 4u32; 1455 pub const IME_SET_MODE: u32 = 18u32; 1456 pub const INFINITE: u32 = 4294967295u32; 1457 pub const INFO_CLASS_GENERIC: u32 = 256u32; 1458 pub const INFO_CLASS_IMPLEMENTATION: u32 = 768u32; 1459 pub const INFO_CLASS_PROTOCOL: u32 = 512u32; 1460 pub const INFO_TYPE_ADDRESS_OBJECT: u32 = 512u32; 1461 pub const INFO_TYPE_CONNECTION: u32 = 768u32; 1462 pub const INFO_TYPE_PROVIDER: u32 = 256u32; 1463 pub const INTERIM_WINDOW: u32 = 0u32; 1464 pub const INVALID_ENTITY_INSTANCE: i32 = -1i32; 1465 pub const IOCTL_TDI_TL_IO_CONTROL_ENDPOINT: u32 = 2162744u32; 1466 #[repr(C)] 1467 #[cfg(feature = "Win32_Foundation")] 1468 pub struct IO_STATUS_BLOCK { 1469 pub Anonymous: IO_STATUS_BLOCK_0, 1470 pub Information: usize, 1471 } 1472 #[cfg(feature = "Win32_Foundation")] 1473 impl ::core::marker::Copy for IO_STATUS_BLOCK {} 1474 #[cfg(feature = "Win32_Foundation")] 1475 impl ::core::clone::Clone for IO_STATUS_BLOCK { clone(&self) -> Self1476 fn clone(&self) -> Self { 1477 *self 1478 } 1479 } 1480 #[repr(C)] 1481 #[cfg(feature = "Win32_Foundation")] 1482 pub union IO_STATUS_BLOCK_0 { 1483 pub Status: super::super::Foundation::NTSTATUS, 1484 pub Pointer: *mut ::core::ffi::c_void, 1485 } 1486 #[cfg(feature = "Win32_Foundation")] 1487 impl ::core::marker::Copy for IO_STATUS_BLOCK_0 {} 1488 #[cfg(feature = "Win32_Foundation")] 1489 impl ::core::clone::Clone for IO_STATUS_BLOCK_0 { clone(&self) -> Self1490 fn clone(&self) -> Self { 1491 *self 1492 } 1493 } 1494 pub const IR_CHANGECONVERT: u32 = 289u32; 1495 pub const IR_CLOSECONVERT: u32 = 290u32; 1496 pub const IR_DBCSCHAR: u32 = 352u32; 1497 pub const IR_FULLCONVERT: u32 = 291u32; 1498 pub const IR_IMESELECT: u32 = 304u32; 1499 pub const IR_MODEINFO: u32 = 400u32; 1500 pub const IR_OPENCONVERT: u32 = 288u32; 1501 pub const IR_STRING: u32 = 320u32; 1502 pub const IR_STRINGEND: u32 = 257u32; 1503 pub const IR_STRINGEX: u32 = 384u32; 1504 pub const IR_STRINGSTART: u32 = 256u32; 1505 pub const IR_UNDETERMINE: u32 = 368u32; 1506 pub type IWindowsLockModeHelper = *mut ::core::ffi::c_void; 1507 #[repr(C)] 1508 #[cfg(feature = "Win32_Foundation")] 1509 pub struct JAVA_TRUST { 1510 pub cbSize: u32, 1511 pub flag: u32, 1512 pub fAllActiveXPermissions: super::super::Foundation::BOOL, 1513 pub fAllPermissions: super::super::Foundation::BOOL, 1514 pub dwEncodingType: u32, 1515 pub pbJavaPermissions: *mut u8, 1516 pub cbJavaPermissions: u32, 1517 pub pbSigner: *mut u8, 1518 pub cbSigner: u32, 1519 pub pwszZone: super::super::Foundation::PWSTR, 1520 pub guidZone: ::windows_sys::core::GUID, 1521 pub hVerify: ::windows_sys::core::HRESULT, 1522 } 1523 #[cfg(feature = "Win32_Foundation")] 1524 impl ::core::marker::Copy for JAVA_TRUST {} 1525 #[cfg(feature = "Win32_Foundation")] 1526 impl ::core::clone::Clone for JAVA_TRUST { clone(&self) -> Self1527 fn clone(&self) -> Self { 1528 *self 1529 } 1530 } 1531 #[repr(C)] 1532 pub struct JIT_DEBUG_INFO { 1533 pub dwSize: u32, 1534 pub dwProcessorArchitecture: u32, 1535 pub dwThreadID: u32, 1536 pub dwReserved0: u32, 1537 pub lpExceptionAddress: u64, 1538 pub lpExceptionRecord: u64, 1539 pub lpContextRecord: u64, 1540 } 1541 impl ::core::marker::Copy for JIT_DEBUG_INFO {} 1542 impl ::core::clone::Clone for JIT_DEBUG_INFO { clone(&self) -> Self1543 fn clone(&self) -> Self { 1544 *self 1545 } 1546 } 1547 pub type KEY_SET_INFORMATION_CLASS = i32; 1548 pub const KeyWriteTimeInformation: KEY_SET_INFORMATION_CLASS = 0i32; 1549 pub const KeyWow64FlagsInformation: KEY_SET_INFORMATION_CLASS = 1i32; 1550 pub const KeyControlFlagsInformation: KEY_SET_INFORMATION_CLASS = 2i32; 1551 pub const KeySetVirtualizationInformation: KEY_SET_INFORMATION_CLASS = 3i32; 1552 pub const KeySetDebugInformation: KEY_SET_INFORMATION_CLASS = 4i32; 1553 pub const KeySetHandleTagsInformation: KEY_SET_INFORMATION_CLASS = 5i32; 1554 pub const MaxKeySetInfoClass: KEY_SET_INFORMATION_CLASS = 6i32; 1555 #[repr(C)] 1556 #[cfg(feature = "Win32_Foundation")] 1557 pub struct KEY_VALUE_ENTRY { 1558 pub ValueName: *mut super::super::Foundation::UNICODE_STRING, 1559 pub DataLength: u32, 1560 pub DataOffset: u32, 1561 pub Type: u32, 1562 } 1563 #[cfg(feature = "Win32_Foundation")] 1564 impl ::core::marker::Copy for KEY_VALUE_ENTRY {} 1565 #[cfg(feature = "Win32_Foundation")] 1566 impl ::core::clone::Clone for KEY_VALUE_ENTRY { clone(&self) -> Self1567 fn clone(&self) -> Self { 1568 *self 1569 } 1570 } 1571 #[repr(C)] 1572 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] 1573 pub struct LDR_DATA_TABLE_ENTRY { 1574 pub Reserved1: [*mut ::core::ffi::c_void; 2], 1575 pub InMemoryOrderLinks: super::Kernel::LIST_ENTRY, 1576 pub Reserved2: [*mut ::core::ffi::c_void; 2], 1577 pub DllBase: *mut ::core::ffi::c_void, 1578 pub Reserved3: [*mut ::core::ffi::c_void; 2], 1579 pub FullDllName: super::super::Foundation::UNICODE_STRING, 1580 pub Reserved4: [u8; 8], 1581 pub Reserved5: [*mut ::core::ffi::c_void; 3], 1582 pub Anonymous: LDR_DATA_TABLE_ENTRY_0, 1583 pub TimeDateStamp: u32, 1584 } 1585 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] 1586 impl ::core::marker::Copy for LDR_DATA_TABLE_ENTRY {} 1587 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] 1588 impl ::core::clone::Clone for LDR_DATA_TABLE_ENTRY { clone(&self) -> Self1589 fn clone(&self) -> Self { 1590 *self 1591 } 1592 } 1593 #[repr(C)] 1594 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] 1595 pub union LDR_DATA_TABLE_ENTRY_0 { 1596 pub CheckSum: u32, 1597 pub Reserved6: *mut ::core::ffi::c_void, 1598 } 1599 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] 1600 impl ::core::marker::Copy for LDR_DATA_TABLE_ENTRY_0 {} 1601 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] 1602 impl ::core::clone::Clone for LDR_DATA_TABLE_ENTRY_0 { clone(&self) -> Self1603 fn clone(&self) -> Self { 1604 *self 1605 } 1606 } 1607 pub const LIS_NOGRPCONV: u32 = 2u32; 1608 pub const LIS_QUIET: u32 = 1u32; 1609 pub const LOGON32_PROVIDER_VIRTUAL: u32 = 4u32; 1610 pub const LOGON32_PROVIDER_WINNT35: u32 = 1u32; 1611 pub const LOGON_ZERO_PASSWORD_BUFFER: u32 = 2147483648u32; 1612 pub const LPTx: u32 = 128u32; 1613 pub const MARKPARITY: u32 = 3u32; 1614 pub const MAXINTATOM: u32 = 49152u32; 1615 pub const MAX_COMPUTERNAME_LENGTH: u32 = 15u32; 1616 pub const MAX_TDI_ENTITIES: u32 = 4096u32; 1617 pub const MCW_DEFAULT: u32 = 0u32; 1618 pub const MCW_HIDDEN: u32 = 16u32; 1619 pub const MCW_RECT: u32 = 1u32; 1620 pub const MCW_SCREEN: u32 = 4u32; 1621 pub const MCW_VERTICAL: u32 = 8u32; 1622 pub const MCW_WINDOW: u32 = 2u32; 1623 pub const MICROSOFT_WINBASE_H_DEFINE_INTERLOCKED_CPLUSPLUS_OVERLOADS: u32 = 0u32; 1624 pub const MICROSOFT_WINDOWS_WINBASE_H_DEFINE_INTERLOCKED_CPLUSPLUS_OVERLOADS: u32 = 0u32; 1625 pub const MODE_WINDOW: u32 = 1u32; 1626 pub const NOPARITY: u32 = 0u32; 1627 #[repr(C)] 1628 #[cfg(feature = "Win32_Foundation")] 1629 pub struct OBJECT_ATTRIBUTES { 1630 pub Length: u32, 1631 pub RootDirectory: super::super::Foundation::HANDLE, 1632 pub ObjectName: *mut super::super::Foundation::UNICODE_STRING, 1633 pub Attributes: u32, 1634 pub SecurityDescriptor: *mut ::core::ffi::c_void, 1635 pub SecurityQualityOfService: *mut ::core::ffi::c_void, 1636 } 1637 #[cfg(feature = "Win32_Foundation")] 1638 impl ::core::marker::Copy for OBJECT_ATTRIBUTES {} 1639 #[cfg(feature = "Win32_Foundation")] 1640 impl ::core::clone::Clone for OBJECT_ATTRIBUTES { clone(&self) -> Self1641 fn clone(&self) -> Self { 1642 *self 1643 } 1644 } 1645 pub type OBJECT_INFORMATION_CLASS = i32; 1646 pub const ObjectBasicInformation: OBJECT_INFORMATION_CLASS = 0i32; 1647 pub const ObjectTypeInformation: OBJECT_INFORMATION_CLASS = 2i32; 1648 pub const ODDPARITY: u32 = 1u32; 1649 pub const OFS_MAXPATHNAME: u32 = 128u32; 1650 pub const ONE5STOPBITS: u32 = 1u32; 1651 pub const ONESTOPBIT: u32 = 0u32; 1652 pub const OPERATION_API_VERSION: u32 = 1u32; 1653 pub const OVERWRITE_HIDDEN: u32 = 4u32; 1654 #[cfg(feature = "Win32_Foundation")] 1655 pub type PDELAYLOAD_FAILURE_DLL_CALLBACK = unsafe extern "system" fn(notificationreason: u32, delayloadinfo: *const DELAYLOAD_INFO) -> *mut ::core::ffi::c_void; 1656 #[repr(C)] 1657 #[cfg(feature = "Win32_Foundation")] 1658 pub struct PERUSERSECTIONA { 1659 pub szGUID: [super::super::Foundation::CHAR; 59], 1660 pub szDispName: [super::super::Foundation::CHAR; 128], 1661 pub szLocale: [super::super::Foundation::CHAR; 10], 1662 pub szStub: [super::super::Foundation::CHAR; 1040], 1663 pub szVersion: [super::super::Foundation::CHAR; 32], 1664 pub szCompID: [super::super::Foundation::CHAR; 128], 1665 pub dwIsInstalled: u32, 1666 pub bRollback: super::super::Foundation::BOOL, 1667 } 1668 #[cfg(feature = "Win32_Foundation")] 1669 impl ::core::marker::Copy for PERUSERSECTIONA {} 1670 #[cfg(feature = "Win32_Foundation")] 1671 impl ::core::clone::Clone for PERUSERSECTIONA { clone(&self) -> Self1672 fn clone(&self) -> Self { 1673 *self 1674 } 1675 } 1676 #[repr(C)] 1677 #[cfg(feature = "Win32_Foundation")] 1678 pub struct PERUSERSECTIONW { 1679 pub szGUID: [u16; 59], 1680 pub szDispName: [u16; 128], 1681 pub szLocale: [u16; 10], 1682 pub szStub: [u16; 1040], 1683 pub szVersion: [u16; 32], 1684 pub szCompID: [u16; 128], 1685 pub dwIsInstalled: u32, 1686 pub bRollback: super::super::Foundation::BOOL, 1687 } 1688 #[cfg(feature = "Win32_Foundation")] 1689 impl ::core::marker::Copy for PERUSERSECTIONW {} 1690 #[cfg(feature = "Win32_Foundation")] 1691 impl ::core::clone::Clone for PERUSERSECTIONW { clone(&self) -> Self1692 fn clone(&self) -> Self { 1693 *self 1694 } 1695 } 1696 pub type PFEATURE_STATE_CHANGE_CALLBACK = unsafe extern "system" fn(context: *const ::core::ffi::c_void); 1697 pub type PFIBER_CALLOUT_ROUTINE = unsafe extern "system" fn(lpparameter: *mut ::core::ffi::c_void) -> *mut ::core::ffi::c_void; 1698 #[cfg(feature = "Win32_Foundation")] 1699 pub type PIO_APC_ROUTINE = unsafe extern "system" fn(apccontext: *mut ::core::ffi::c_void, iostatusblock: *mut IO_STATUS_BLOCK, reserved: u32); 1700 #[cfg(feature = "Win32_Foundation")] 1701 pub type PQUERYACTCTXW_FUNC = unsafe extern "system" fn(dwflags: u32, hactctx: super::super::Foundation::HANDLE, pvsubinstance: *const ::core::ffi::c_void, ulinfoclass: u32, pvbuffer: *mut ::core::ffi::c_void, cbbuffer: usize, pcbwrittenorrequired: *mut usize) -> super::super::Foundation::BOOL; 1702 pub const PROCESS_CREATION_ALL_APPLICATION_PACKAGES_OPT_OUT: u32 = 1u32; 1703 pub const PROCESS_CREATION_CHILD_PROCESS_OVERRIDE: u32 = 2u32; 1704 pub const PROCESS_CREATION_CHILD_PROCESS_RESTRICTED: u32 = 1u32; 1705 pub const PROCESS_CREATION_CHILD_PROCESS_RESTRICTED_UNLESS_SECURE: u32 = 4u32; 1706 pub const PROCESS_CREATION_DESKTOP_APP_BREAKAWAY_DISABLE_PROCESS_TREE: u32 = 2u32; 1707 pub const PROCESS_CREATION_DESKTOP_APP_BREAKAWAY_ENABLE_PROCESS_TREE: u32 = 1u32; 1708 pub const PROCESS_CREATION_DESKTOP_APP_BREAKAWAY_OVERRIDE: u32 = 4u32; 1709 pub const PROCESS_CREATION_MITIGATION_POLICY_DEP_ATL_THUNK_ENABLE: u32 = 2u32; 1710 pub const PROCESS_CREATION_MITIGATION_POLICY_DEP_ENABLE: u32 = 1u32; 1711 pub const PROCESS_CREATION_MITIGATION_POLICY_SEHOP_ENABLE: u32 = 4u32; 1712 pub const PROC_THREAD_ATTRIBUTE_ADDITIVE: u32 = 262144u32; 1713 pub const PROC_THREAD_ATTRIBUTE_INPUT: u32 = 131072u32; 1714 pub type PROC_THREAD_ATTRIBUTE_NUM = i32; 1715 pub const ProcThreadAttributeParentProcess: PROC_THREAD_ATTRIBUTE_NUM = 0i32; 1716 pub const ProcThreadAttributeHandleList: PROC_THREAD_ATTRIBUTE_NUM = 2i32; 1717 pub const ProcThreadAttributeGroupAffinity: PROC_THREAD_ATTRIBUTE_NUM = 3i32; 1718 pub const ProcThreadAttributePreferredNode: PROC_THREAD_ATTRIBUTE_NUM = 4i32; 1719 pub const ProcThreadAttributeIdealProcessor: PROC_THREAD_ATTRIBUTE_NUM = 5i32; 1720 pub const ProcThreadAttributeUmsThread: PROC_THREAD_ATTRIBUTE_NUM = 6i32; 1721 pub const ProcThreadAttributeMitigationPolicy: PROC_THREAD_ATTRIBUTE_NUM = 7i32; 1722 pub const ProcThreadAttributeSecurityCapabilities: PROC_THREAD_ATTRIBUTE_NUM = 9i32; 1723 pub const ProcThreadAttributeProtectionLevel: PROC_THREAD_ATTRIBUTE_NUM = 11i32; 1724 pub const ProcThreadAttributeJobList: PROC_THREAD_ATTRIBUTE_NUM = 13i32; 1725 pub const ProcThreadAttributeChildProcessPolicy: PROC_THREAD_ATTRIBUTE_NUM = 14i32; 1726 pub const ProcThreadAttributeAllApplicationPackagesPolicy: PROC_THREAD_ATTRIBUTE_NUM = 15i32; 1727 pub const ProcThreadAttributeWin32kFilter: PROC_THREAD_ATTRIBUTE_NUM = 16i32; 1728 pub const ProcThreadAttributeSafeOpenPromptOriginClaim: PROC_THREAD_ATTRIBUTE_NUM = 17i32; 1729 pub const ProcThreadAttributeDesktopAppPolicy: PROC_THREAD_ATTRIBUTE_NUM = 18i32; 1730 pub const ProcThreadAttributePseudoConsole: PROC_THREAD_ATTRIBUTE_NUM = 22i32; 1731 pub const ProcThreadAttributeMitigationAuditPolicy: PROC_THREAD_ATTRIBUTE_NUM = 24i32; 1732 pub const ProcThreadAttributeMachineType: PROC_THREAD_ATTRIBUTE_NUM = 25i32; 1733 pub const ProcThreadAttributeComponentFilter: PROC_THREAD_ATTRIBUTE_NUM = 26i32; 1734 pub const ProcThreadAttributeEnableOptionalXStateFeatures: PROC_THREAD_ATTRIBUTE_NUM = 27i32; 1735 pub const PROC_THREAD_ATTRIBUTE_NUMBER: u32 = 65535u32; 1736 pub const PROC_THREAD_ATTRIBUTE_THREAD: u32 = 65536u32; 1737 pub const PROGRESS_CANCEL: u32 = 1u32; 1738 pub const PROGRESS_CONTINUE: u32 = 0u32; 1739 pub const PROGRESS_QUIET: u32 = 3u32; 1740 pub const PROGRESS_STOP: u32 = 2u32; 1741 pub const PROTECTION_LEVEL_SAME: u32 = 4294967295u32; 1742 #[repr(C)] 1743 pub struct PUBLIC_OBJECT_BASIC_INFORMATION { 1744 pub Attributes: u32, 1745 pub GrantedAccess: u32, 1746 pub HandleCount: u32, 1747 pub PointerCount: u32, 1748 pub Reserved: [u32; 10], 1749 } 1750 impl ::core::marker::Copy for PUBLIC_OBJECT_BASIC_INFORMATION {} 1751 impl ::core::clone::Clone for PUBLIC_OBJECT_BASIC_INFORMATION { clone(&self) -> Self1752 fn clone(&self) -> Self { 1753 *self 1754 } 1755 } 1756 #[repr(C)] 1757 #[cfg(feature = "Win32_Foundation")] 1758 pub struct PUBLIC_OBJECT_TYPE_INFORMATION { 1759 pub TypeName: super::super::Foundation::UNICODE_STRING, 1760 pub Reserved: [u32; 22], 1761 } 1762 #[cfg(feature = "Win32_Foundation")] 1763 impl ::core::marker::Copy for PUBLIC_OBJECT_TYPE_INFORMATION {} 1764 #[cfg(feature = "Win32_Foundation")] 1765 impl ::core::clone::Clone for PUBLIC_OBJECT_TYPE_INFORMATION { clone(&self) -> Self1766 fn clone(&self) -> Self { 1767 *self 1768 } 1769 } 1770 #[cfg(feature = "Win32_Foundation")] 1771 pub type PWINSTATIONQUERYINFORMATIONW = unsafe extern "system" fn(param0: super::super::Foundation::HANDLE, param1: u32, param2: WINSTATIONINFOCLASS, param3: *mut ::core::ffi::c_void, param4: u32, param5: *mut u32) -> super::super::Foundation::BOOLEAN; 1772 #[cfg(feature = "Win32_Foundation")] 1773 pub type PWLDP_ISAPPAPPROVEDBYPOLICY_API = unsafe extern "system" fn(packagefamilyname: super::super::Foundation::PWSTR, packageversion: u64) -> ::windows_sys::core::HRESULT; 1774 #[cfg(feature = "Win32_Foundation")] 1775 pub type PWLDP_ISDYNAMICCODEPOLICYENABLED_API = unsafe extern "system" fn(pbenabled: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; 1776 #[cfg(feature = "Win32_Foundation")] 1777 pub type PWLDP_ISPRODUCTIONCONFIGURATION_API = unsafe extern "system" fn(isproductionconfiguration: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; 1778 #[cfg(feature = "Win32_Foundation")] 1779 pub type PWLDP_ISWCOSPRODUCTIONCONFIGURATION_API = unsafe extern "system" fn(isproductionconfiguration: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; 1780 #[cfg(feature = "Win32_Foundation")] 1781 pub type PWLDP_QUERYDEVICESECURITYINFORMATION_API = unsafe extern "system" fn(information: *mut WLDP_DEVICE_SECURITY_INFORMATION, informationlength: u32, returnlength: *mut u32) -> ::windows_sys::core::HRESULT; 1782 #[cfg(feature = "Win32_Foundation")] 1783 pub type PWLDP_QUERYDYNAMICODETRUST_API = unsafe extern "system" fn(filehandle: super::super::Foundation::HANDLE, baseimage: *const ::core::ffi::c_void, imagesize: u32) -> ::windows_sys::core::HRESULT; 1784 #[cfg(feature = "Win32_Foundation")] 1785 pub type PWLDP_QUERYPOLICYSETTINGENABLED2_API = unsafe extern "system" fn(setting: super::super::Foundation::PWSTR, enabled: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; 1786 #[cfg(feature = "Win32_Foundation")] 1787 pub type PWLDP_QUERYPOLICYSETTINGENABLED_API = unsafe extern "system" fn(setting: WLDP_POLICY_SETTING, enabled: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; 1788 pub type PWLDP_QUERYWINDOWSLOCKDOWNMODE_API = unsafe extern "system" fn(lockdownmode: *mut WLDP_WINDOWS_LOCKDOWN_MODE) -> ::windows_sys::core::HRESULT; 1789 pub type PWLDP_QUERYWINDOWSLOCKDOWNRESTRICTION_API = unsafe extern "system" fn(lockdownrestriction: *mut WLDP_WINDOWS_LOCKDOWN_RESTRICTION) -> ::windows_sys::core::HRESULT; 1790 pub type PWLDP_RESETPRODUCTIONCONFIGURATION_API = unsafe extern "system" fn() -> ::windows_sys::core::HRESULT; 1791 pub type PWLDP_RESETWCOSPRODUCTIONCONFIGURATION_API = unsafe extern "system" fn() -> ::windows_sys::core::HRESULT; 1792 #[cfg(feature = "Win32_Foundation")] 1793 pub type PWLDP_SETDYNAMICCODETRUST_API = unsafe extern "system" fn(hfilehandle: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; 1794 pub type PWLDP_SETWINDOWSLOCKDOWNRESTRICTION_API = unsafe extern "system" fn(lockdownrestriction: WLDP_WINDOWS_LOCKDOWN_RESTRICTION) -> ::windows_sys::core::HRESULT; 1795 pub const QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS: u32 = 16u32; 1796 pub const QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE: u32 = 8u32; 1797 pub const QUERY_ACTCTX_FLAG_NO_ADDREF: u32 = 2147483648u32; 1798 pub const QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX: u32 = 4u32; 1799 pub const RECOVERY_DEFAULT_PING_INTERVAL: u32 = 5000u32; 1800 #[cfg(feature = "Win32_Foundation")] 1801 pub type REGINSTALLA = unsafe extern "system" fn(hm: super::super::Foundation::HINSTANCE, pszsection: super::super::Foundation::PSTR, psttable: *mut STRTABLEA) -> ::windows_sys::core::HRESULT; 1802 pub const REMOTE_PROTOCOL_INFO_FLAG_LOOPBACK: u32 = 1u32; 1803 pub const REMOTE_PROTOCOL_INFO_FLAG_OFFLINE: u32 = 2u32; 1804 pub const REMOTE_PROTOCOL_INFO_FLAG_PERSISTENT_HANDLE: u32 = 4u32; 1805 pub const RESETDEV: u32 = 7u32; 1806 pub const RESTART_MAX_CMD_LINE: u32 = 1024u32; 1807 pub const RPI_FLAG_SMB2_SHARECAP_CLUSTER: u32 = 64u32; 1808 pub const RPI_FLAG_SMB2_SHARECAP_CONTINUOUS_AVAILABILITY: u32 = 16u32; 1809 pub const RPI_FLAG_SMB2_SHARECAP_DFS: u32 = 8u32; 1810 pub const RPI_FLAG_SMB2_SHARECAP_SCALEOUT: u32 = 32u32; 1811 pub const RPI_FLAG_SMB2_SHARECAP_TIMEWARP: u32 = 2u32; 1812 pub const RPI_SMB2_FLAG_SERVERCAP_DFS: u32 = 1u32; 1813 pub const RPI_SMB2_FLAG_SERVERCAP_DIRECTORY_LEASING: u32 = 32u32; 1814 pub const RPI_SMB2_FLAG_SERVERCAP_LARGEMTU: u32 = 4u32; 1815 pub const RPI_SMB2_FLAG_SERVERCAP_LEASING: u32 = 2u32; 1816 pub const RPI_SMB2_FLAG_SERVERCAP_MULTICHANNEL: u32 = 8u32; 1817 pub const RPI_SMB2_FLAG_SERVERCAP_PERSISTENT_HANDLES: u32 = 16u32; 1818 pub const RSC_FLAG_DELAYREGISTEROCX: u32 = 512u32; 1819 pub const RSC_FLAG_INF: u32 = 1u32; 1820 pub const RSC_FLAG_NGCONV: u32 = 8u32; 1821 pub const RSC_FLAG_QUIET: u32 = 4u32; 1822 pub const RSC_FLAG_SETUPAPI: u32 = 1024u32; 1823 pub const RSC_FLAG_SKIPDISKSPACECHECK: u32 = 2u32; 1824 pub const RSC_FLAG_UPDHLPDLLS: u32 = 16u32; 1825 pub const RTS_CONTROL_DISABLE: u32 = 0u32; 1826 pub const RTS_CONTROL_ENABLE: u32 = 1u32; 1827 pub const RTS_CONTROL_HANDSHAKE: u32 = 2u32; 1828 pub const RTS_CONTROL_TOGGLE: u32 = 3u32; 1829 pub const RUNCMDS_DELAYPOSTCMD: u32 = 4u32; 1830 pub const RUNCMDS_NOWAIT: u32 = 2u32; 1831 pub const RUNCMDS_QUIET: u32 = 1u32; 1832 pub const SCS_32BIT_BINARY: u32 = 0u32; 1833 pub const SCS_64BIT_BINARY: u32 = 6u32; 1834 pub const SCS_DOS_BINARY: u32 = 1u32; 1835 pub const SCS_OS216_BINARY: u32 = 5u32; 1836 pub const SCS_PIF_BINARY: u32 = 3u32; 1837 pub const SCS_POSIX_BINARY: u32 = 4u32; 1838 pub const SCS_WOW_BINARY: u32 = 2u32; 1839 pub const SHUTDOWN_NORETRY: u32 = 1u32; 1840 pub const SPACEPARITY: u32 = 4u32; 1841 pub const STARTF_HOLOGRAPHIC: u32 = 262144u32; 1842 pub const STORAGE_INFO_FLAGS_ALIGNED_DEVICE: u32 = 1u32; 1843 pub const STORAGE_INFO_FLAGS_PARTITION_ALIGNED_ON_DEVICE: u32 = 2u32; 1844 pub const STORAGE_INFO_OFFSET_UNKNOWN: u32 = 4294967295u32; 1845 pub const STREAM_CONTAINS_GHOSTED_FILE_EXTENTS: u32 = 16u32; 1846 pub const STREAM_CONTAINS_PROPERTIES: u32 = 4u32; 1847 pub const STREAM_CONTAINS_SECURITY: u32 = 2u32; 1848 pub const STREAM_MODIFIED_WHEN_READ: u32 = 1u32; 1849 pub const STREAM_NORMAL_ATTRIBUTE: u32 = 0u32; 1850 pub const STREAM_SPARSE_ATTRIBUTE: u32 = 8u32; 1851 #[repr(C)] 1852 #[cfg(feature = "Win32_Foundation")] 1853 pub struct STRENTRYA { 1854 pub pszName: super::super::Foundation::PSTR, 1855 pub pszValue: super::super::Foundation::PSTR, 1856 } 1857 #[cfg(feature = "Win32_Foundation")] 1858 impl ::core::marker::Copy for STRENTRYA {} 1859 #[cfg(feature = "Win32_Foundation")] 1860 impl ::core::clone::Clone for STRENTRYA { clone(&self) -> Self1861 fn clone(&self) -> Self { 1862 *self 1863 } 1864 } 1865 #[repr(C)] 1866 #[cfg(feature = "Win32_Foundation")] 1867 pub struct STRENTRYW { 1868 pub pszName: super::super::Foundation::PWSTR, 1869 pub pszValue: super::super::Foundation::PWSTR, 1870 } 1871 #[cfg(feature = "Win32_Foundation")] 1872 impl ::core::marker::Copy for STRENTRYW {} 1873 #[cfg(feature = "Win32_Foundation")] 1874 impl ::core::clone::Clone for STRENTRYW { clone(&self) -> Self1875 fn clone(&self) -> Self { 1876 *self 1877 } 1878 } 1879 #[repr(C)] 1880 pub struct STRINGEXSTRUCT { 1881 pub dwSize: u32, 1882 pub uDeterminePos: u32, 1883 pub uDetermineDelimPos: u32, 1884 pub uYomiPos: u32, 1885 pub uYomiDelimPos: u32, 1886 } 1887 impl ::core::marker::Copy for STRINGEXSTRUCT {} 1888 impl ::core::clone::Clone for STRINGEXSTRUCT { clone(&self) -> Self1889 fn clone(&self) -> Self { 1890 *self 1891 } 1892 } 1893 #[repr(C)] 1894 #[cfg(feature = "Win32_Foundation")] 1895 pub struct STRTABLEA { 1896 pub cEntries: u32, 1897 pub pse: *mut STRENTRYA, 1898 } 1899 #[cfg(feature = "Win32_Foundation")] 1900 impl ::core::marker::Copy for STRTABLEA {} 1901 #[cfg(feature = "Win32_Foundation")] 1902 impl ::core::clone::Clone for STRTABLEA { clone(&self) -> Self1903 fn clone(&self) -> Self { 1904 *self 1905 } 1906 } 1907 #[repr(C)] 1908 #[cfg(feature = "Win32_Foundation")] 1909 pub struct STRTABLEW { 1910 pub cEntries: u32, 1911 pub pse: *mut STRENTRYW, 1912 } 1913 #[cfg(feature = "Win32_Foundation")] 1914 impl ::core::marker::Copy for STRTABLEW {} 1915 #[cfg(feature = "Win32_Foundation")] 1916 impl ::core::clone::Clone for STRTABLEW { clone(&self) -> Self1917 fn clone(&self) -> Self { 1918 *self 1919 } 1920 } 1921 #[repr(C)] 1922 pub struct SYSTEM_BASIC_INFORMATION { 1923 pub Reserved1: [u8; 24], 1924 pub Reserved2: [*mut ::core::ffi::c_void; 4], 1925 pub NumberOfProcessors: i8, 1926 } 1927 impl ::core::marker::Copy for SYSTEM_BASIC_INFORMATION {} 1928 impl ::core::clone::Clone for SYSTEM_BASIC_INFORMATION { clone(&self) -> Self1929 fn clone(&self) -> Self { 1930 *self 1931 } 1932 } 1933 #[repr(C)] 1934 pub struct SYSTEM_CODEINTEGRITY_INFORMATION { 1935 pub Length: u32, 1936 pub CodeIntegrityOptions: u32, 1937 } 1938 impl ::core::marker::Copy for SYSTEM_CODEINTEGRITY_INFORMATION {} 1939 impl ::core::clone::Clone for SYSTEM_CODEINTEGRITY_INFORMATION { clone(&self) -> Self1940 fn clone(&self) -> Self { 1941 *self 1942 } 1943 } 1944 #[repr(C)] 1945 pub struct SYSTEM_EXCEPTION_INFORMATION { 1946 pub Reserved1: [u8; 16], 1947 } 1948 impl ::core::marker::Copy for SYSTEM_EXCEPTION_INFORMATION {} 1949 impl ::core::clone::Clone for SYSTEM_EXCEPTION_INFORMATION { clone(&self) -> Self1950 fn clone(&self) -> Self { 1951 *self 1952 } 1953 } 1954 pub type SYSTEM_INFORMATION_CLASS = i32; 1955 pub const SystemBasicInformation: SYSTEM_INFORMATION_CLASS = 0i32; 1956 pub const SystemPerformanceInformation: SYSTEM_INFORMATION_CLASS = 2i32; 1957 pub const SystemTimeOfDayInformation: SYSTEM_INFORMATION_CLASS = 3i32; 1958 pub const SystemProcessInformation: SYSTEM_INFORMATION_CLASS = 5i32; 1959 pub const SystemProcessorPerformanceInformation: SYSTEM_INFORMATION_CLASS = 8i32; 1960 pub const SystemInterruptInformation: SYSTEM_INFORMATION_CLASS = 23i32; 1961 pub const SystemExceptionInformation: SYSTEM_INFORMATION_CLASS = 33i32; 1962 pub const SystemRegistryQuotaInformation: SYSTEM_INFORMATION_CLASS = 37i32; 1963 pub const SystemLookasideInformation: SYSTEM_INFORMATION_CLASS = 45i32; 1964 pub const SystemCodeIntegrityInformation: SYSTEM_INFORMATION_CLASS = 103i32; 1965 pub const SystemPolicyInformation: SYSTEM_INFORMATION_CLASS = 134i32; 1966 #[repr(C)] 1967 pub struct SYSTEM_INTERRUPT_INFORMATION { 1968 pub Reserved1: [u8; 24], 1969 } 1970 impl ::core::marker::Copy for SYSTEM_INTERRUPT_INFORMATION {} 1971 impl ::core::clone::Clone for SYSTEM_INTERRUPT_INFORMATION { clone(&self) -> Self1972 fn clone(&self) -> Self { 1973 *self 1974 } 1975 } 1976 #[repr(C)] 1977 pub struct SYSTEM_LOOKASIDE_INFORMATION { 1978 pub Reserved1: [u8; 32], 1979 } 1980 impl ::core::marker::Copy for SYSTEM_LOOKASIDE_INFORMATION {} 1981 impl ::core::clone::Clone for SYSTEM_LOOKASIDE_INFORMATION { clone(&self) -> Self1982 fn clone(&self) -> Self { 1983 *self 1984 } 1985 } 1986 #[repr(C)] 1987 pub struct SYSTEM_PERFORMANCE_INFORMATION { 1988 pub Reserved1: [u8; 312], 1989 } 1990 impl ::core::marker::Copy for SYSTEM_PERFORMANCE_INFORMATION {} 1991 impl ::core::clone::Clone for SYSTEM_PERFORMANCE_INFORMATION { clone(&self) -> Self1992 fn clone(&self) -> Self { 1993 *self 1994 } 1995 } 1996 #[repr(C)] 1997 pub struct SYSTEM_POLICY_INFORMATION { 1998 pub Reserved1: [*mut ::core::ffi::c_void; 2], 1999 pub Reserved2: [u32; 3], 2000 } 2001 impl ::core::marker::Copy for SYSTEM_POLICY_INFORMATION {} 2002 impl ::core::clone::Clone for SYSTEM_POLICY_INFORMATION { clone(&self) -> Self2003 fn clone(&self) -> Self { 2004 *self 2005 } 2006 } 2007 #[repr(C)] 2008 pub struct SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION { 2009 pub IdleTime: i64, 2010 pub KernelTime: i64, 2011 pub UserTime: i64, 2012 pub Reserved1: [i64; 2], 2013 pub Reserved2: u32, 2014 } 2015 impl ::core::marker::Copy for SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION {} 2016 impl ::core::clone::Clone for SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION { clone(&self) -> Self2017 fn clone(&self) -> Self { 2018 *self 2019 } 2020 } 2021 #[repr(C)] 2022 #[cfg(feature = "Win32_Foundation")] 2023 pub struct SYSTEM_PROCESS_INFORMATION { 2024 pub NextEntryOffset: u32, 2025 pub NumberOfThreads: u32, 2026 pub Reserved1: [u8; 48], 2027 pub ImageName: super::super::Foundation::UNICODE_STRING, 2028 pub BasePriority: i32, 2029 pub UniqueProcessId: super::super::Foundation::HANDLE, 2030 pub Reserved2: *mut ::core::ffi::c_void, 2031 pub HandleCount: u32, 2032 pub SessionId: u32, 2033 pub Reserved3: *mut ::core::ffi::c_void, 2034 pub PeakVirtualSize: usize, 2035 pub VirtualSize: usize, 2036 pub Reserved4: u32, 2037 pub PeakWorkingSetSize: usize, 2038 pub WorkingSetSize: usize, 2039 pub Reserved5: *mut ::core::ffi::c_void, 2040 pub QuotaPagedPoolUsage: usize, 2041 pub Reserved6: *mut ::core::ffi::c_void, 2042 pub QuotaNonPagedPoolUsage: usize, 2043 pub PagefileUsage: usize, 2044 pub PeakPagefileUsage: usize, 2045 pub PrivatePageCount: usize, 2046 pub Reserved7: [i64; 6], 2047 } 2048 #[cfg(feature = "Win32_Foundation")] 2049 impl ::core::marker::Copy for SYSTEM_PROCESS_INFORMATION {} 2050 #[cfg(feature = "Win32_Foundation")] 2051 impl ::core::clone::Clone for SYSTEM_PROCESS_INFORMATION { clone(&self) -> Self2052 fn clone(&self) -> Self { 2053 *self 2054 } 2055 } 2056 #[repr(C)] 2057 pub struct SYSTEM_REGISTRY_QUOTA_INFORMATION { 2058 pub RegistryQuotaAllowed: u32, 2059 pub RegistryQuotaUsed: u32, 2060 pub Reserved1: *mut ::core::ffi::c_void, 2061 } 2062 impl ::core::marker::Copy for SYSTEM_REGISTRY_QUOTA_INFORMATION {} 2063 impl ::core::clone::Clone for SYSTEM_REGISTRY_QUOTA_INFORMATION { clone(&self) -> Self2064 fn clone(&self) -> Self { 2065 *self 2066 } 2067 } 2068 pub const SYSTEM_STATUS_FLAG_POWER_SAVING_ON: u32 = 1u32; 2069 #[repr(C)] 2070 #[cfg(feature = "Win32_Foundation")] 2071 pub struct SYSTEM_THREAD_INFORMATION { 2072 pub Reserved1: [i64; 3], 2073 pub Reserved2: u32, 2074 pub StartAddress: *mut ::core::ffi::c_void, 2075 pub ClientId: CLIENT_ID, 2076 pub Priority: i32, 2077 pub BasePriority: i32, 2078 pub Reserved3: u32, 2079 pub ThreadState: u32, 2080 pub WaitReason: u32, 2081 } 2082 #[cfg(feature = "Win32_Foundation")] 2083 impl ::core::marker::Copy for SYSTEM_THREAD_INFORMATION {} 2084 #[cfg(feature = "Win32_Foundation")] 2085 impl ::core::clone::Clone for SYSTEM_THREAD_INFORMATION { clone(&self) -> Self2086 fn clone(&self) -> Self { 2087 *self 2088 } 2089 } 2090 #[repr(C)] 2091 pub struct SYSTEM_TIMEOFDAY_INFORMATION { 2092 pub Reserved1: [u8; 48], 2093 } 2094 impl ::core::marker::Copy for SYSTEM_TIMEOFDAY_INFORMATION {} 2095 impl ::core::clone::Clone for SYSTEM_TIMEOFDAY_INFORMATION { clone(&self) -> Self2096 fn clone(&self) -> Self { 2097 *self 2098 } 2099 } 2100 pub const S_ALLTHRESHOLD: u32 = 2u32; 2101 pub const S_LEGATO: u32 = 1u32; 2102 pub const S_NORMAL: u32 = 0u32; 2103 pub const S_PERIOD1024: u32 = 1u32; 2104 pub const S_PERIOD2048: u32 = 2u32; 2105 pub const S_PERIOD512: u32 = 0u32; 2106 pub const S_PERIODVOICE: u32 = 3u32; 2107 pub const S_QUEUEEMPTY: u32 = 0u32; 2108 pub const S_SERBDNT: i32 = -5i32; 2109 pub const S_SERDCC: i32 = -7i32; 2110 pub const S_SERDDR: i32 = -14i32; 2111 pub const S_SERDFQ: i32 = -13i32; 2112 pub const S_SERDLN: i32 = -6i32; 2113 pub const S_SERDMD: i32 = -10i32; 2114 pub const S_SERDPT: i32 = -12i32; 2115 pub const S_SERDSH: i32 = -11i32; 2116 pub const S_SERDSR: i32 = -15i32; 2117 pub const S_SERDST: i32 = -16i32; 2118 pub const S_SERDTP: i32 = -8i32; 2119 pub const S_SERDVL: i32 = -9i32; 2120 pub const S_SERDVNA: i32 = -1i32; 2121 pub const S_SERMACT: i32 = -3i32; 2122 pub const S_SEROFM: i32 = -2i32; 2123 pub const S_SERQFUL: i32 = -4i32; 2124 pub const S_STACCATO: u32 = 2u32; 2125 pub const S_THRESHOLD: u32 = 1u32; 2126 pub const S_WHITE1024: u32 = 5u32; 2127 pub const S_WHITE2048: u32 = 6u32; 2128 pub const S_WHITE512: u32 = 4u32; 2129 pub const S_WHITEVOICE: u32 = 7u32; 2130 pub const TC_GP_TRAP: u32 = 2u32; 2131 pub const TC_HARDERR: u32 = 1u32; 2132 pub const TC_NORMAL: u32 = 0u32; 2133 pub const TC_SIGNAL: u32 = 3u32; 2134 pub type TDIENTITY_ENTITY_TYPE = u32; 2135 pub const GENERIC_ENTITY: TDIENTITY_ENTITY_TYPE = 0u32; 2136 pub const AT_ENTITY: TDIENTITY_ENTITY_TYPE = 640u32; 2137 pub const CL_NL_ENTITY: TDIENTITY_ENTITY_TYPE = 769u32; 2138 pub const CO_NL_ENTITY: TDIENTITY_ENTITY_TYPE = 768u32; 2139 pub const CL_TL_ENTITY: TDIENTITY_ENTITY_TYPE = 1025u32; 2140 pub const CO_TL_ENTITY: TDIENTITY_ENTITY_TYPE = 1024u32; 2141 pub const ER_ENTITY: TDIENTITY_ENTITY_TYPE = 896u32; 2142 pub const IF_ENTITY: TDIENTITY_ENTITY_TYPE = 512u32; 2143 #[repr(C)] 2144 pub struct TDIEntityID { 2145 pub tei_entity: TDIENTITY_ENTITY_TYPE, 2146 pub tei_instance: u32, 2147 } 2148 impl ::core::marker::Copy for TDIEntityID {} 2149 impl ::core::clone::Clone for TDIEntityID { clone(&self) -> Self2150 fn clone(&self) -> Self { 2151 *self 2152 } 2153 } 2154 #[repr(C)] 2155 pub struct TDIObjectID { 2156 pub toi_entity: TDIEntityID, 2157 pub toi_class: u32, 2158 pub toi_type: u32, 2159 pub toi_id: u32, 2160 } 2161 impl ::core::marker::Copy for TDIObjectID {} 2162 impl ::core::clone::Clone for TDIObjectID { clone(&self) -> Self2163 fn clone(&self) -> Self { 2164 *self 2165 } 2166 } 2167 #[repr(C)] 2168 pub struct TDI_TL_IO_CONTROL_ENDPOINT { 2169 pub Type: TDI_TL_IO_CONTROL_TYPE, 2170 pub Level: u32, 2171 pub Anonymous: TDI_TL_IO_CONTROL_ENDPOINT_0, 2172 pub InputBuffer: *mut ::core::ffi::c_void, 2173 pub InputBufferLength: u32, 2174 pub OutputBuffer: *mut ::core::ffi::c_void, 2175 pub OutputBufferLength: u32, 2176 } 2177 impl ::core::marker::Copy for TDI_TL_IO_CONTROL_ENDPOINT {} 2178 impl ::core::clone::Clone for TDI_TL_IO_CONTROL_ENDPOINT { clone(&self) -> Self2179 fn clone(&self) -> Self { 2180 *self 2181 } 2182 } 2183 #[repr(C)] 2184 pub union TDI_TL_IO_CONTROL_ENDPOINT_0 { 2185 pub IoControlCode: u32, 2186 pub OptionName: u32, 2187 } 2188 impl ::core::marker::Copy for TDI_TL_IO_CONTROL_ENDPOINT_0 {} 2189 impl ::core::clone::Clone for TDI_TL_IO_CONTROL_ENDPOINT_0 { clone(&self) -> Self2190 fn clone(&self) -> Self { 2191 *self 2192 } 2193 } 2194 pub type TDI_TL_IO_CONTROL_TYPE = i32; 2195 pub const EndpointIoControlType: TDI_TL_IO_CONTROL_TYPE = 0i32; 2196 pub const SetSockOptIoControlType: TDI_TL_IO_CONTROL_TYPE = 1i32; 2197 pub const GetSockOptIoControlType: TDI_TL_IO_CONTROL_TYPE = 2i32; 2198 pub const SocketIoControlType: TDI_TL_IO_CONTROL_TYPE = 3i32; 2199 #[repr(C)] 2200 #[cfg(feature = "Win32_Foundation")] 2201 pub struct THREAD_NAME_INFORMATION { 2202 pub ThreadName: super::super::Foundation::UNICODE_STRING, 2203 } 2204 #[cfg(feature = "Win32_Foundation")] 2205 impl ::core::marker::Copy for THREAD_NAME_INFORMATION {} 2206 #[cfg(feature = "Win32_Foundation")] 2207 impl ::core::clone::Clone for THREAD_NAME_INFORMATION { clone(&self) -> Self2208 fn clone(&self) -> Self { 2209 *self 2210 } 2211 } 2212 pub const THREAD_PRIORITY_ERROR_RETURN: u32 = 2147483647u32; 2213 pub const TWOSTOPBITS: u32 = 2u32; 2214 pub const UMS_VERSION: u32 = 256u32; 2215 #[repr(C)] 2216 pub struct UNDETERMINESTRUCT { 2217 pub dwSize: u32, 2218 pub uDefIMESize: u32, 2219 pub uDefIMEPos: u32, 2220 pub uUndetTextLen: u32, 2221 pub uUndetTextPos: u32, 2222 pub uUndetAttrPos: u32, 2223 pub uCursorPos: u32, 2224 pub uDeltaStart: u32, 2225 pub uDetermineTextLen: u32, 2226 pub uDetermineTextPos: u32, 2227 pub uDetermineDelimPos: u32, 2228 pub uYomiTextLen: u32, 2229 pub uYomiTextPos: u32, 2230 pub uYomiDelimPos: u32, 2231 } 2232 impl ::core::marker::Copy for UNDETERMINESTRUCT {} 2233 impl ::core::clone::Clone for UNDETERMINESTRUCT { clone(&self) -> Self2234 fn clone(&self) -> Self { 2235 *self 2236 } 2237 } 2238 pub type VALUENAME = i32; 2239 pub const VALUENAME_UNKNOWN: VALUENAME = 0i32; 2240 pub const VALUENAME_ENTERPRISE_DEFINED_CLASS_ID: VALUENAME = 1i32; 2241 pub const VALUENAME_BUILT_IN_LIST: VALUENAME = 2i32; 2242 pub const VOLUME_NAME_DOS: u32 = 0u32; 2243 pub const VOLUME_NAME_GUID: u32 = 1u32; 2244 pub const VOLUME_NAME_NONE: u32 = 4u32; 2245 pub const VOLUME_NAME_NT: u32 = 2u32; 2246 pub type WINSTATIONINFOCLASS = i32; 2247 pub const WinStationInformation: WINSTATIONINFOCLASS = 8i32; 2248 #[repr(C)] 2249 pub struct WINSTATIONINFORMATIONW { 2250 pub Reserved2: [u8; 70], 2251 pub LogonId: u32, 2252 pub Reserved3: [u8; 1140], 2253 } 2254 impl ::core::marker::Copy for WINSTATIONINFORMATIONW {} 2255 impl ::core::clone::Clone for WINSTATIONINFORMATIONW { clone(&self) -> Self2256 fn clone(&self) -> Self { 2257 *self 2258 } 2259 } 2260 #[cfg(feature = "Win32_Foundation")] 2261 pub type WINWATCHNOTIFYPROC = unsafe extern "system" fn(hww: HWINWATCH, hwnd: super::super::Foundation::HWND, code: u32, lparam: super::super::Foundation::LPARAM); 2262 pub const WINWATCHNOTIFY_CHANGED: u32 = 4u32; 2263 pub const WINWATCHNOTIFY_CHANGING: u32 = 3u32; 2264 pub const WINWATCHNOTIFY_DESTROY: u32 = 2u32; 2265 pub const WINWATCHNOTIFY_START: u32 = 0u32; 2266 pub const WINWATCHNOTIFY_STOP: u32 = 1u32; 2267 #[repr(C)] 2268 #[cfg(feature = "Win32_Foundation")] 2269 pub struct WLDP_DEVICE_SECURITY_INFORMATION { 2270 pub UnlockIdSize: u32, 2271 pub UnlockId: *mut u8, 2272 pub ManufacturerIDLength: u32, 2273 pub ManufacturerID: super::super::Foundation::PWSTR, 2274 } 2275 #[cfg(feature = "Win32_Foundation")] 2276 impl ::core::marker::Copy for WLDP_DEVICE_SECURITY_INFORMATION {} 2277 #[cfg(feature = "Win32_Foundation")] 2278 impl ::core::clone::Clone for WLDP_DEVICE_SECURITY_INFORMATION { clone(&self) -> Self2279 fn clone(&self) -> Self { 2280 *self 2281 } 2282 } 2283 pub const WLDP_FLAGS_SKIPSIGNATUREVALIDATION: u32 = 256u32; 2284 pub type WLDP_HOST = i32; 2285 pub const WLDP_HOST_RUNDLL32: WLDP_HOST = 0i32; 2286 pub const WLDP_HOST_SVCHOST: WLDP_HOST = 1i32; 2287 pub const WLDP_HOST_MAX: WLDP_HOST = 2i32; 2288 pub type WLDP_HOST_ID = i32; 2289 pub const WLDP_HOST_ID_UNKNOWN: WLDP_HOST_ID = 0i32; 2290 pub const WLDP_HOST_ID_GLOBAL: WLDP_HOST_ID = 1i32; 2291 pub const WLDP_HOST_ID_VBA: WLDP_HOST_ID = 2i32; 2292 pub const WLDP_HOST_ID_WSH: WLDP_HOST_ID = 3i32; 2293 pub const WLDP_HOST_ID_POWERSHELL: WLDP_HOST_ID = 4i32; 2294 pub const WLDP_HOST_ID_IE: WLDP_HOST_ID = 5i32; 2295 pub const WLDP_HOST_ID_MSI: WLDP_HOST_ID = 6i32; 2296 pub const WLDP_HOST_ID_ALL: WLDP_HOST_ID = 7i32; 2297 pub const WLDP_HOST_ID_MAX: WLDP_HOST_ID = 8i32; 2298 #[repr(C)] 2299 #[cfg(feature = "Win32_Foundation")] 2300 pub struct WLDP_HOST_INFORMATION { 2301 pub dwRevision: u32, 2302 pub dwHostId: WLDP_HOST_ID, 2303 pub szSource: super::super::Foundation::PWSTR, 2304 pub hSource: super::super::Foundation::HANDLE, 2305 } 2306 #[cfg(feature = "Win32_Foundation")] 2307 impl ::core::marker::Copy for WLDP_HOST_INFORMATION {} 2308 #[cfg(feature = "Win32_Foundation")] 2309 impl ::core::clone::Clone for WLDP_HOST_INFORMATION { clone(&self) -> Self2310 fn clone(&self) -> Self { 2311 *self 2312 } 2313 } 2314 pub const WLDP_HOST_INFORMATION_REVISION: u32 = 1u32; 2315 pub type WLDP_KEY = i32; 2316 pub const KEY_UNKNOWN: WLDP_KEY = 0i32; 2317 pub const KEY_OVERRIDE: WLDP_KEY = 1i32; 2318 pub const KEY_ALL_KEYS: WLDP_KEY = 2i32; 2319 pub const WLDP_LOCKDOWN_AUDIT_FLAG: u32 = 8u32; 2320 pub const WLDP_LOCKDOWN_CONFIG_CI_AUDIT_FLAG: u32 = 2u32; 2321 pub const WLDP_LOCKDOWN_CONFIG_CI_FLAG: u32 = 1u32; 2322 pub const WLDP_LOCKDOWN_DEFINED_FLAG: u32 = 2147483648u32; 2323 pub const WLDP_LOCKDOWN_EXCLUSION_FLAG: u32 = 16u32; 2324 pub const WLDP_LOCKDOWN_OFF: u32 = 2147483648u32; 2325 pub const WLDP_LOCKDOWN_UMCIENFORCE_FLAG: u32 = 4u32; 2326 pub const WLDP_LOCKDOWN_UNDEFINED: u32 = 0u32; 2327 pub type WLDP_POLICY_SETTING = i32; 2328 pub const WLDP_POLICY_SETTING_AV_PERF_MODE: WLDP_POLICY_SETTING = 1000i32; 2329 pub type WLDP_WINDOWS_LOCKDOWN_MODE = i32; 2330 pub const WLDP_WINDOWS_LOCKDOWN_MODE_UNLOCKED: WLDP_WINDOWS_LOCKDOWN_MODE = 0i32; 2331 pub const WLDP_WINDOWS_LOCKDOWN_MODE_TRIAL: WLDP_WINDOWS_LOCKDOWN_MODE = 1i32; 2332 pub const WLDP_WINDOWS_LOCKDOWN_MODE_LOCKED: WLDP_WINDOWS_LOCKDOWN_MODE = 2i32; 2333 pub const WLDP_WINDOWS_LOCKDOWN_MODE_MAX: WLDP_WINDOWS_LOCKDOWN_MODE = 3i32; 2334 pub type WLDP_WINDOWS_LOCKDOWN_RESTRICTION = i32; 2335 pub const WLDP_WINDOWS_LOCKDOWN_RESTRICTION_NONE: WLDP_WINDOWS_LOCKDOWN_RESTRICTION = 0i32; 2336 pub const WLDP_WINDOWS_LOCKDOWN_RESTRICTION_NOUNLOCK: WLDP_WINDOWS_LOCKDOWN_RESTRICTION = 1i32; 2337 pub const WLDP_WINDOWS_LOCKDOWN_RESTRICTION_NOUNLOCK_PERMANENT: WLDP_WINDOWS_LOCKDOWN_RESTRICTION = 2i32; 2338 pub const WLDP_WINDOWS_LOCKDOWN_RESTRICTION_MAX: WLDP_WINDOWS_LOCKDOWN_RESTRICTION = 3i32; 2339 pub const WM_CONVERTREQUEST: u32 = 266u32; 2340 pub const WM_CONVERTRESULT: u32 = 267u32; 2341 pub const WM_IMEKEYDOWN: u32 = 656u32; 2342 pub const WM_IMEKEYUP: u32 = 657u32; 2343 pub const WM_IME_REPORT: u32 = 640u32; 2344 pub const WM_INTERIM: u32 = 268u32; 2345 pub const WM_WNT_CONVERTREQUESTEX: u32 = 265u32; 2346 #[repr(C)] 2347 pub struct _D3DHAL_CALLBACKS(pub u8); 2348 #[repr(C)] 2349 pub struct _D3DHAL_GLOBALDRIVERDATA(pub u8); 2350 #[repr(C)] 2351 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 2352 pub struct tcp_request_query_information_ex32_xp { 2353 pub ID: TDIObjectID, 2354 pub Context: [u32; 4], 2355 } 2356 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 2357 impl ::core::marker::Copy for tcp_request_query_information_ex32_xp {} 2358 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 2359 impl ::core::clone::Clone for tcp_request_query_information_ex32_xp { clone(&self) -> Self2360 fn clone(&self) -> Self { 2361 *self 2362 } 2363 } 2364 #[repr(C)] 2365 pub struct tcp_request_query_information_ex_w2k { 2366 pub ID: TDIObjectID, 2367 pub Context: [u8; 16], 2368 } 2369 impl ::core::marker::Copy for tcp_request_query_information_ex_w2k {} 2370 impl ::core::clone::Clone for tcp_request_query_information_ex_w2k { clone(&self) -> Self2371 fn clone(&self) -> Self { 2372 *self 2373 } 2374 } 2375 #[repr(C)] 2376 pub struct tcp_request_query_information_ex_xp { 2377 pub ID: TDIObjectID, 2378 pub Context: [usize; 2], 2379 } 2380 impl ::core::marker::Copy for tcp_request_query_information_ex_xp {} 2381 impl ::core::clone::Clone for tcp_request_query_information_ex_xp { clone(&self) -> Self2382 fn clone(&self) -> Self { 2383 *self 2384 } 2385 } 2386 #[repr(C)] 2387 pub struct tcp_request_set_information_ex { 2388 pub ID: TDIObjectID, 2389 pub BufferSize: u32, 2390 pub Buffer: [u8; 1], 2391 } 2392 impl ::core::marker::Copy for tcp_request_set_information_ex {} 2393 impl ::core::clone::Clone for tcp_request_set_information_ex { clone(&self) -> Self2394 fn clone(&self) -> Self { 2395 *self 2396 } 2397 } 2398