From a990de90fe41456a23e58bd087d2f107d321f3a1 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 19 Jul 2024 16:37:58 +0400 Subject: Deleted vendor folder --- .../src/Windows/Win32/System/LibraryLoader/mod.rs | 181 --------------------- 1 file changed, 181 deletions(-) delete mode 100644 vendor/windows-sys/src/Windows/Win32/System/LibraryLoader/mod.rs (limited to 'vendor/windows-sys/src/Windows/Win32/System/LibraryLoader/mod.rs') diff --git a/vendor/windows-sys/src/Windows/Win32/System/LibraryLoader/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/LibraryLoader/mod.rs deleted file mode 100644 index c090e0e..0000000 --- a/vendor/windows-sys/src/Windows/Win32/System/LibraryLoader/mod.rs +++ /dev/null @@ -1,181 +0,0 @@ -::windows_targets::link!("kernel32.dll" "system" fn AddDllDirectory(newdirectory : ::windows_sys::core::PCWSTR) -> *mut ::core::ffi::c_void); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BeginUpdateResourceA(pfilename : ::windows_sys::core::PCSTR, bdeleteexistingresources : super::super::Foundation:: BOOL) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BeginUpdateResourceW(pfilename : ::windows_sys::core::PCWSTR, bdeleteexistingresources : super::super::Foundation:: BOOL) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DisableThreadLibraryCalls(hlibmodule : super::super::Foundation:: HMODULE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EndUpdateResourceA(hupdate : super::super::Foundation:: HANDLE, fdiscard : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EndUpdateResourceW(hupdate : super::super::Foundation:: HANDLE, fdiscard : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EnumResourceLanguagesA(hmodule : super::super::Foundation:: HMODULE, lptype : ::windows_sys::core::PCSTR, lpname : ::windows_sys::core::PCSTR, lpenumfunc : ENUMRESLANGPROCA, lparam : isize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EnumResourceLanguagesExA(hmodule : super::super::Foundation:: HMODULE, lptype : ::windows_sys::core::PCSTR, lpname : ::windows_sys::core::PCSTR, lpenumfunc : ENUMRESLANGPROCA, lparam : isize, dwflags : u32, langid : u16) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EnumResourceLanguagesExW(hmodule : super::super::Foundation:: HMODULE, lptype : ::windows_sys::core::PCWSTR, lpname : ::windows_sys::core::PCWSTR, lpenumfunc : ENUMRESLANGPROCW, lparam : isize, dwflags : u32, langid : u16) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EnumResourceLanguagesW(hmodule : super::super::Foundation:: HMODULE, lptype : ::windows_sys::core::PCWSTR, lpname : ::windows_sys::core::PCWSTR, lpenumfunc : ENUMRESLANGPROCW, lparam : isize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EnumResourceNamesA(hmodule : super::super::Foundation:: HMODULE, lptype : ::windows_sys::core::PCSTR, lpenumfunc : ENUMRESNAMEPROCA, lparam : isize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EnumResourceNamesExA(hmodule : super::super::Foundation:: HMODULE, lptype : ::windows_sys::core::PCSTR, lpenumfunc : ENUMRESNAMEPROCA, lparam : isize, dwflags : u32, langid : u16) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EnumResourceNamesExW(hmodule : super::super::Foundation:: HMODULE, lptype : ::windows_sys::core::PCWSTR, lpenumfunc : ENUMRESNAMEPROCW, lparam : isize, dwflags : u32, langid : u16) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EnumResourceNamesW(hmodule : super::super::Foundation:: HMODULE, lptype : ::windows_sys::core::PCWSTR, lpenumfunc : ENUMRESNAMEPROCW, lparam : isize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EnumResourceTypesA(hmodule : super::super::Foundation:: HMODULE, lpenumfunc : ENUMRESTYPEPROCA, lparam : isize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EnumResourceTypesExA(hmodule : super::super::Foundation:: HMODULE, lpenumfunc : ENUMRESTYPEPROCA, lparam : isize, dwflags : u32, langid : u16) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EnumResourceTypesExW(hmodule : super::super::Foundation:: HMODULE, lpenumfunc : ENUMRESTYPEPROCW, lparam : isize, dwflags : u32, langid : u16) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EnumResourceTypesW(hmodule : super::super::Foundation:: HMODULE, lpenumfunc : ENUMRESTYPEPROCW, lparam : isize) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindResourceA(hmodule : super::super::Foundation:: HMODULE, lpname : ::windows_sys::core::PCSTR, lptype : ::windows_sys::core::PCSTR) -> super::super::Foundation:: HRSRC); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindResourceExA(hmodule : super::super::Foundation:: HMODULE, lptype : ::windows_sys::core::PCSTR, lpname : ::windows_sys::core::PCSTR, wlanguage : u16) -> super::super::Foundation:: HRSRC); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindResourceExW(hmodule : super::super::Foundation:: HMODULE, lptype : ::windows_sys::core::PCWSTR, lpname : ::windows_sys::core::PCWSTR, wlanguage : u16) -> super::super::Foundation:: HRSRC); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindResourceW(hmodule : super::super::Foundation:: HMODULE, lpname : ::windows_sys::core::PCWSTR, lptype : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: HRSRC); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FreeLibraryAndExitThread(hlibmodule : super::super::Foundation:: HMODULE, dwexitcode : u32) -> !); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FreeResource(hresdata : super::super::Foundation:: HGLOBAL) -> super::super::Foundation:: BOOL); -::windows_targets::link!("kernel32.dll" "system" fn GetDllDirectoryA(nbufferlength : u32, lpbuffer : ::windows_sys::core::PSTR) -> u32); -::windows_targets::link!("kernel32.dll" "system" fn GetDllDirectoryW(nbufferlength : u32, lpbuffer : ::windows_sys::core::PWSTR) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetModuleFileNameA(hmodule : super::super::Foundation:: HMODULE, lpfilename : ::windows_sys::core::PSTR, nsize : u32) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetModuleFileNameW(hmodule : super::super::Foundation:: HMODULE, lpfilename : ::windows_sys::core::PWSTR, nsize : u32) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetModuleHandleA(lpmodulename : ::windows_sys::core::PCSTR) -> super::super::Foundation:: HMODULE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetModuleHandleExA(dwflags : u32, lpmodulename : ::windows_sys::core::PCSTR, phmodule : *mut super::super::Foundation:: HMODULE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetModuleHandleExW(dwflags : u32, lpmodulename : ::windows_sys::core::PCWSTR, phmodule : *mut super::super::Foundation:: HMODULE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetModuleHandleW(lpmodulename : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: HMODULE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetProcAddress(hmodule : super::super::Foundation:: HMODULE, lpprocname : ::windows_sys::core::PCSTR) -> super::super::Foundation:: FARPROC); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LoadLibraryA(lplibfilename : ::windows_sys::core::PCSTR) -> super::super::Foundation:: HMODULE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LoadLibraryExA(lplibfilename : ::windows_sys::core::PCSTR, hfile : super::super::Foundation:: HANDLE, dwflags : LOAD_LIBRARY_FLAGS) -> super::super::Foundation:: HMODULE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LoadLibraryExW(lplibfilename : ::windows_sys::core::PCWSTR, hfile : super::super::Foundation:: HANDLE, dwflags : LOAD_LIBRARY_FLAGS) -> super::super::Foundation:: HMODULE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LoadLibraryW(lplibfilename : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: HMODULE); -::windows_targets::link!("kernel32.dll" "system" fn LoadModule(lpmodulename : ::windows_sys::core::PCSTR, lpparameterblock : *const ::core::ffi::c_void) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LoadPackagedLibrary(lpwlibfilename : ::windows_sys::core::PCWSTR, reserved : u32) -> super::super::Foundation:: HMODULE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LoadResource(hmodule : super::super::Foundation:: HMODULE, hresinfo : super::super::Foundation:: HRSRC) -> super::super::Foundation:: HGLOBAL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LockResource(hresdata : super::super::Foundation:: HGLOBAL) -> *mut ::core::ffi::c_void); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RemoveDllDirectory(cookie : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetDefaultDllDirectories(directoryflags : LOAD_LIBRARY_FLAGS) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetDllDirectoryA(lppathname : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetDllDirectoryW(lppathname : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SizeofResource(hmodule : super::super::Foundation:: HMODULE, hresinfo : super::super::Foundation:: HRSRC) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn UpdateResourceA(hupdate : super::super::Foundation:: HANDLE, lptype : ::windows_sys::core::PCSTR, lpname : ::windows_sys::core::PCSTR, wlanguage : u16, lpdata : *const ::core::ffi::c_void, cb : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn UpdateResourceW(hupdate : super::super::Foundation:: HANDLE, lptype : ::windows_sys::core::PCWSTR, lpname : ::windows_sys::core::PCWSTR, wlanguage : u16, lpdata : *const ::core::ffi::c_void, cb : u32) -> super::super::Foundation:: BOOL); -pub const CURRENT_IMPORT_REDIRECTION_VERSION: u32 = 1u32; -pub const DONT_RESOLVE_DLL_REFERENCES: LOAD_LIBRARY_FLAGS = 1u32; -pub const FIND_RESOURCE_DIRECTORY_LANGUAGES: u32 = 1024u32; -pub const FIND_RESOURCE_DIRECTORY_NAMES: u32 = 512u32; -pub const FIND_RESOURCE_DIRECTORY_TYPES: u32 = 256u32; -pub const GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS: u32 = 4u32; -pub const GET_MODULE_HANDLE_EX_FLAG_PIN: u32 = 1u32; -pub const GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT: u32 = 2u32; -pub const LOAD_IGNORE_CODE_AUTHZ_LEVEL: LOAD_LIBRARY_FLAGS = 16u32; -pub const LOAD_LIBRARY_AS_DATAFILE: LOAD_LIBRARY_FLAGS = 2u32; -pub const LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE: LOAD_LIBRARY_FLAGS = 64u32; -pub const LOAD_LIBRARY_AS_IMAGE_RESOURCE: LOAD_LIBRARY_FLAGS = 32u32; -pub const LOAD_LIBRARY_OS_INTEGRITY_CONTINUITY: u32 = 32768u32; -pub const LOAD_LIBRARY_REQUIRE_SIGNED_TARGET: LOAD_LIBRARY_FLAGS = 128u32; -pub const LOAD_LIBRARY_SAFE_CURRENT_DIRS: LOAD_LIBRARY_FLAGS = 8192u32; -pub const LOAD_LIBRARY_SEARCH_APPLICATION_DIR: LOAD_LIBRARY_FLAGS = 512u32; -pub const LOAD_LIBRARY_SEARCH_DEFAULT_DIRS: LOAD_LIBRARY_FLAGS = 4096u32; -pub const LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR: LOAD_LIBRARY_FLAGS = 256u32; -pub const LOAD_LIBRARY_SEARCH_SYSTEM32: LOAD_LIBRARY_FLAGS = 2048u32; -pub const LOAD_LIBRARY_SEARCH_SYSTEM32_NO_FORWARDER: LOAD_LIBRARY_FLAGS = 16384u32; -pub const LOAD_LIBRARY_SEARCH_USER_DIRS: LOAD_LIBRARY_FLAGS = 1024u32; -pub const LOAD_WITH_ALTERED_SEARCH_PATH: LOAD_LIBRARY_FLAGS = 8u32; -pub const RESOURCE_ENUM_LN: u32 = 1u32; -pub const RESOURCE_ENUM_MODULE_EXACT: u32 = 16u32; -pub const RESOURCE_ENUM_MUI: u32 = 2u32; -pub const RESOURCE_ENUM_MUI_SYSTEM: u32 = 4u32; -pub const RESOURCE_ENUM_VALIDATE: u32 = 8u32; -pub const SUPPORT_LANG_NUMBER: u32 = 32u32; -pub type LOAD_LIBRARY_FLAGS = u32; -#[repr(C)] -pub struct ENUMUILANG { - pub NumOfEnumUILang: u32, - pub SizeOfEnumUIBuffer: u32, - pub pEnumUIBuffer: *mut u16, -} -impl ::core::marker::Copy for ENUMUILANG {} -impl ::core::clone::Clone for ENUMUILANG { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct REDIRECTION_DESCRIPTOR { - pub Version: u32, - pub FunctionCount: u32, - pub Redirections: *mut REDIRECTION_FUNCTION_DESCRIPTOR, -} -impl ::core::marker::Copy for REDIRECTION_DESCRIPTOR {} -impl ::core::clone::Clone for REDIRECTION_DESCRIPTOR { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct REDIRECTION_FUNCTION_DESCRIPTOR { - pub DllName: ::windows_sys::core::PCSTR, - pub FunctionName: ::windows_sys::core::PCSTR, - pub RedirectionTarget: *mut ::core::ffi::c_void, -} -impl ::core::marker::Copy for REDIRECTION_FUNCTION_DESCRIPTOR {} -impl ::core::clone::Clone for REDIRECTION_FUNCTION_DESCRIPTOR { - fn clone(&self) -> Self { - *self - } -} -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type ENUMRESLANGPROCA = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type ENUMRESLANGPROCW = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type ENUMRESNAMEPROCA = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type ENUMRESNAMEPROCW = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type ENUMRESTYPEPROCA = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type ENUMRESTYPEPROCW = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PGET_MODULE_HANDLE_EXA = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PGET_MODULE_HANDLE_EXW = ::core::option::Option super::super::Foundation::BOOL>; -- cgit v1.2.3