diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5945cde060..e4c84dbe64 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -140,6 +140,7 @@ jobs: cargo clippy -p test_arch_feature && cargo clippy -p test_bcrypt && cargo clippy -p test_bstr && + cargo clippy -p test_calling_convention && cargo clippy -p test_cfg_generic && cargo clippy -p test_class_factory && cargo clippy -p test_component && diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index af47ba18ac..9bed0959d3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -123,6 +123,7 @@ jobs: cargo test --target ${{ matrix.target }} -p test_arch_feature && cargo test --target ${{ matrix.target }} -p test_bcrypt && cargo test --target ${{ matrix.target }} -p test_bstr && + cargo test --target ${{ matrix.target }} -p test_calling_convention && cargo test --target ${{ matrix.target }} -p test_cfg_generic && cargo test --target ${{ matrix.target }} -p test_class_factory && cargo test --target ${{ matrix.target }} -p test_component && diff --git a/crates/libs/bindgen/src/functions.rs b/crates/libs/bindgen/src/functions.rs index 16e574a1ce..4242ecc1ca 100644 --- a/crates/libs/bindgen/src/functions.rs +++ b/crates/libs/bindgen/src/functions.rs @@ -26,10 +26,15 @@ fn gen_sys_function(gen: &Gen, def: MethodDef) -> TokenStream { quote! { #name: #tokens } }); + let calling_convention = calling_convention(gen, def); + quote! { - #doc - #features - pub fn #name(#(#params),*) #return_type; + #[cfg_attr(windows, link(name = "windows"))] + extern #calling_convention { + #doc + #features + pub fn #name(#(#params),*) #return_type; + } } } @@ -64,6 +69,7 @@ fn gen_win_function(gen: &Gen, def: MethodDef) -> TokenStream { let cfg = gen.reader.signature_cfg(&signature); let doc = gen.cfg_doc(&cfg); let features = gen.cfg_features(&cfg); + let calling_convention = calling_convention(gen, def); let kind = gen.reader.signature_kind(&signature); match kind { @@ -79,7 +85,7 @@ fn gen_win_function(gen: &Gen, def: MethodDef) -> TokenStream { #[inline] pub unsafe fn #name<#generics>(#params) -> ::windows::core::Result #where_clause { #link_attr - extern "system" { + extern #calling_convention { fn #name(#(#abi_params),*) #abi_return_type; } let mut result__ = ::core::option::Option::None; @@ -99,7 +105,7 @@ fn gen_win_function(gen: &Gen, def: MethodDef) -> TokenStream { #[inline] pub unsafe fn #name<#generics>(#params result__: *mut ::core::option::Option) -> ::windows::core::Result<()> #where_clause { #link_attr - extern "system" { + extern #calling_convention { fn #name(#(#abi_params),*) #abi_return_type; } #name(#args).ok() @@ -119,7 +125,7 @@ fn gen_win_function(gen: &Gen, def: MethodDef) -> TokenStream { #[inline] pub unsafe fn #name<#generics>(#params) -> ::windows::core::Result<#return_type_tokens> #where_clause { #link_attr - extern "system" { + extern #calling_convention { fn #name(#(#abi_params),*) #abi_return_type; } let mut result__ = ::core::mem::MaybeUninit::zeroed(); @@ -137,7 +143,7 @@ fn gen_win_function(gen: &Gen, def: MethodDef) -> TokenStream { #[inline] pub unsafe fn #name<#generics>(#params) -> ::windows::core::Result<()> #where_clause { #link_attr - extern "system" { + extern #calling_convention { fn #name(#(#abi_params),*) #abi_return_type; } #name(#args).ok() @@ -156,7 +162,7 @@ fn gen_win_function(gen: &Gen, def: MethodDef) -> TokenStream { #[inline] pub unsafe fn #name<#generics>(#params) -> ::windows::core::Result<#return_type> #where_clause { #link_attr - extern "system" { + extern #calling_convention { fn #name(#(#abi_params),*) -> #return_type; } let result__ = #name(#args); @@ -173,7 +179,7 @@ fn gen_win_function(gen: &Gen, def: MethodDef) -> TokenStream { #[inline] pub unsafe fn #name<#generics>(#params) #abi_return_type #where_clause { #link_attr - extern "system" { + extern #calling_convention { fn #name(#(#abi_params),*) #abi_return_type; } #name(#args) @@ -192,7 +198,7 @@ fn gen_win_function(gen: &Gen, def: MethodDef) -> TokenStream { #[inline] pub unsafe fn #name<#generics>(#params) #does_not_return #where_clause { #link_attr - extern "system" { + extern #calling_convention { fn #name(#(#abi_params),*) #does_not_return; } #name(#args) @@ -227,3 +233,16 @@ fn handle_last_error(gen: &Gen, def: MethodDef, signature: &Signature) -> bool { } false } + +fn calling_convention(gen: &Gen, def: MethodDef) -> &'static str { + let impl_map = gen.reader.method_def_impl_map(def).expect("ImplMap not found"); + let flags = gen.reader.impl_map_flags(impl_map); + + if flags.conv_platform() { + "system" + } else if flags.conv_cdecl() { + "cdecl" + } else { + unimplemented!() + } +} diff --git a/crates/libs/bindgen/src/lib.rs b/crates/libs/bindgen/src/lib.rs index 850080597b..5aee00a182 100644 --- a/crates/libs/bindgen/src/lib.rs +++ b/crates/libs/bindgen/src/lib.rs @@ -80,10 +80,7 @@ pub fn namespace(gen: &Gen, tree: &Tree) -> String { if !methods.is_empty() { let methods = methods.values(); functions = vec![quote! { - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - #(#methods)* - } + #(#methods)* }]; } } diff --git a/crates/libs/metadata/src/flags.rs b/crates/libs/metadata/src/flags.rs index ca6e4a06d7..12a15e8f76 100644 --- a/crates/libs/metadata/src/flags.rs +++ b/crates/libs/metadata/src/flags.rs @@ -52,6 +52,21 @@ impl PInvokeAttributes { pub fn last_error(&self) -> bool { self.0 & 0x40 != 0 } + pub fn conv_platform(&self) -> bool { + self.0 & 0x100 != 0 + } + pub fn conv_cdecl(&self) -> bool { + self.0 & 0x200 != 0 + } + pub fn conv_stdcall(&self) -> bool { + self.0 & 0x300 != 0 + } + pub fn conv_thiscall(&self) -> bool { + self.0 & 0x400 != 0 + } + pub fn conv_fastcall(&self) -> bool { + self.0 & 0x500 != 0 + } } impl TypeAttributes { diff --git a/crates/libs/metadata/src/reader/mod.rs b/crates/libs/metadata/src/reader/mod.rs index 363145619b..9e48cae072 100644 --- a/crates/libs/metadata/src/reader/mod.rs +++ b/crates/libs/metadata/src/reader/mod.rs @@ -595,20 +595,46 @@ impl<'a> Reader<'a> { if self.type_def_flags(def).explicit_layout() { self.type_def_fields(def).map(|field| self.type_size(&self.field_type(field, Some(def)))).max().unwrap_or(1) } else { - self.type_def_fields(def).fold(0, |sum, field| sum + self.type_size(&self.field_type(field, Some(def)))) + let mut sum = 0; + for field in self.type_def_fields(def) { + let size = self.type_size(&self.field_type(field, Some(def))); + let align = self.type_align(&self.field_type(field, Some(def))); + sum = (sum + (align - 1)) & !(align - 1); + sum += size; + } + sum } } TypeKind::Enum => self.type_size(&self.type_def_underlying_type(def)), _ => 4, } } - pub fn type_size(&self, ty: &Type) -> usize { + fn type_size(&self, ty: &Type) -> usize { match ty { Type::I8 | Type::U8 => 1, Type::I16 | Type::U16 => 2, Type::I64 | Type::U64 | Type::F64 => 8, Type::GUID => 16, Type::TypeDef((def, _)) => self.type_def_size(*def), + Type::Win32Array((ty, len)) => self.type_size(ty) * len, + _ => 4, + } + } + fn type_def_align(&self, def: TypeDef) -> usize { + match self.type_def_kind(def) { + TypeKind::Struct => self.type_def_fields(def).map(|field| self.type_align(&self.field_type(field, Some(def)))).max().unwrap_or(1), + TypeKind::Enum => self.type_align(&self.type_def_underlying_type(def)), + _ => 4, + } + } + fn type_align(&self, ty: &Type) -> usize { + match ty { + Type::I8 | Type::U8 => 1, + Type::I16 | Type::U16 => 2, + Type::I64 | Type::U64 | Type::F64 => 8, + Type::GUID => 4, + Type::TypeDef((def, _)) => self.type_def_align(*def), + Type::Win32Array((ty, len)) => self.type_align(ty) * len, _ => 4, } } diff --git a/crates/libs/sys/src/Windows/Win32/AI/MachineLearning/DirectML/mod.rs b/crates/libs/sys/src/Windows/Win32/AI/MachineLearning/DirectML/mod.rs index 63336e0a20..cbc85d1f67 100644 --- a/crates/libs/sys/src/Windows/Win32/AI/MachineLearning/DirectML/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/AI/MachineLearning/DirectML/mod.rs @@ -3,6 +3,9 @@ extern "system" { #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] pub fn DMLCreateDevice(d3d12device: super::super::super::Graphics::Direct3D12::ID3D12Device, flags: DML_CREATE_DEVICE_FLAGS, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] pub fn DMLCreateDevice1(d3d12device: super::super::super::Graphics::Direct3D12::ID3D12Device, flags: DML_CREATE_DEVICE_FLAGS, minimumfeaturelevel: DML_FEATURE_LEVEL, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/AI/MachineLearning/WinML/mod.rs b/crates/libs/sys/src/Windows/Win32/AI/MachineLearning/WinML/mod.rs index a9de1945c4..8c48e2bbbe 100644 --- a/crates/libs/sys/src/Windows/Win32/AI/MachineLearning/WinML/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/AI/MachineLearning/WinML/mod.rs @@ -2,6 +2,9 @@ extern "system" { #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`*"] pub fn MLCreateOperatorRegistry(registry: *mut IMLOperatorRegistry) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`*"] pub fn WinMLCreateRuntime(runtime: *mut IWinMLRuntime) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/Data/RightsManagement/mod.rs b/crates/libs/sys/src/Windows/Win32/Data/RightsManagement/mod.rs index 9ea011f94c..1d42c5e3ce 100644 --- a/crates/libs/sys/src/Windows/Win32/Data/RightsManagement/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Data/RightsManagement/mod.rs @@ -2,187 +2,436 @@ extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMAcquireAdvisories(hlicensestorage: u32, wszlicense: ::windows_sys::core::PCWSTR, wszurl: ::windows_sys::core::PCWSTR, pvcontext: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMAcquireIssuanceLicenseTemplate(hclient: u32, uflags: u32, pvreserved: *mut ::core::ffi::c_void, ctemplates: u32, pwsztemplateids: *const ::windows_sys::core::PWSTR, wszurl: ::windows_sys::core::PCWSTR, pvcontext: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMAcquireLicense(hsession: u32, uflags: u32, wszgroupidentitycredential: ::windows_sys::core::PCWSTR, wszrequestedrights: ::windows_sys::core::PCWSTR, wszcustomdata: ::windows_sys::core::PCWSTR, wszurl: ::windows_sys::core::PCWSTR, pvcontext: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DRMActivate(hclient: u32, uflags: u32, ulangid: u32, pactservinfo: *mut DRM_ACTSERV_INFO, pvcontext: *mut ::core::ffi::c_void, hparentwnd: super::super::Foundation::HWND) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMAddLicense(hlicensestorage: u32, uflags: u32, wszlicense: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMAddRightWithUser(hissuancelicense: u32, hright: u32, huser: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMAttest(henablingprincipal: u32, wszdata: ::windows_sys::core::PCWSTR, etype: DRMATTESTTYPE, pcattestedblob: *mut u32, wszattestedblob: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMCheckSecurity(henv: u32, clevel: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMClearAllRights(hissuancelicense: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMCloseEnvironmentHandle(henv: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMCloseHandle(handle: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMClosePubHandle(hpub: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMCloseQueryHandle(hquery: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMCloseSession(hsession: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMConstructCertificateChain(ccertificates: u32, rgwszcertificates: *const ::windows_sys::core::PWSTR, pcchain: *mut u32, wszchain: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMCreateBoundLicense(henv: u32, pparams: *mut DRMBOUNDLICENSEPARAMS, wszlicensechain: ::windows_sys::core::PCWSTR, phboundlicense: *mut u32, pherrorlog: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMCreateClientSession(pfncallback: DRMCALLBACK, ucallbackversion: u32, wszgroupidprovidertype: ::windows_sys::core::PCWSTR, wszgroupid: ::windows_sys::core::PCWSTR, phclient: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMCreateEnablingBitsDecryptor(hboundlicense: u32, wszright: ::windows_sys::core::PCWSTR, hauxlib: u32, wszauxplug: ::windows_sys::core::PCWSTR, phdecryptor: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMCreateEnablingBitsEncryptor(hboundlicense: u32, wszright: ::windows_sys::core::PCWSTR, hauxlib: u32, wszauxplug: ::windows_sys::core::PCWSTR, phencryptor: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMCreateEnablingPrincipal(henv: u32, hlibrary: u32, wszobject: ::windows_sys::core::PCWSTR, pidprincipal: *mut DRMID, wszcredentials: ::windows_sys::core::PCWSTR, phenablingprincipal: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DRMCreateIssuanceLicense(psttimefrom: *mut super::super::Foundation::SYSTEMTIME, psttimeuntil: *mut super::super::Foundation::SYSTEMTIME, wszreferralinfoname: ::windows_sys::core::PCWSTR, wszreferralinfourl: ::windows_sys::core::PCWSTR, howner: u32, wszissuancelicense: ::windows_sys::core::PCWSTR, hboundlicense: u32, phissuancelicense: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMCreateLicenseStorageSession(henv: u32, hdefaultlibrary: u32, hclient: u32, uflags: u32, wszissuancelicense: ::windows_sys::core::PCWSTR, phlicensestorage: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DRMCreateRight(wszrightname: ::windows_sys::core::PCWSTR, pstfrom: *mut super::super::Foundation::SYSTEMTIME, pstuntil: *mut super::super::Foundation::SYSTEMTIME, cextendedinfo: u32, pwszextendedinfoname: *const ::windows_sys::core::PWSTR, pwszextendedinfovalue: *const ::windows_sys::core::PWSTR, phright: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMCreateUser(wszusername: ::windows_sys::core::PCWSTR, wszuserid: ::windows_sys::core::PCWSTR, wszuseridtype: ::windows_sys::core::PCWSTR, phuser: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMDecode(wszalgid: ::windows_sys::core::PCWSTR, wszencodedstring: ::windows_sys::core::PCWSTR, pudecodeddatalen: *mut u32, pbdecodeddata: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMDeconstructCertificateChain(wszchain: ::windows_sys::core::PCWSTR, iwhich: u32, pccert: *mut u32, wszcert: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMDecrypt(hcryptoprovider: u32, iposition: u32, cnuminbytes: u32, pbindata: *mut u8, pcnumoutbytes: *mut u32, pboutdata: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMDeleteLicense(hsession: u32, wszlicenseid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMDuplicateEnvironmentHandle(htocopy: u32, phcopy: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMDuplicateHandle(htocopy: u32, phcopy: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMDuplicatePubHandle(hpubin: u32, phpubout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMDuplicateSession(hsessionin: u32, phsessionout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMEncode(wszalgid: ::windows_sys::core::PCWSTR, udatalen: u32, pbdecodeddata: *mut u8, puencodedstringlen: *mut u32, wszencodedstring: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMEncrypt(hcryptoprovider: u32, iposition: u32, cnuminbytes: u32, pbindata: *mut u8, pcnumoutbytes: *mut u32, pboutdata: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DRMEnumerateLicense(hsession: u32, uflags: u32, uindex: u32, pfsharedflag: *mut super::super::Foundation::BOOL, pucertificatedatalen: *mut u32, wszcertificatedata: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetApplicationSpecificData(hissuancelicense: u32, uindex: u32, punamelength: *mut u32, wszname: ::windows_sys::core::PWSTR, puvaluelength: *mut u32, wszvalue: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetBoundLicenseAttribute(hqueryroot: u32, wszattribute: ::windows_sys::core::PCWSTR, iwhich: u32, peencoding: *mut DRMENCODINGTYPE, pcbuffer: *mut u32, pbbuffer: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetBoundLicenseAttributeCount(hqueryroot: u32, wszattribute: ::windows_sys::core::PCWSTR, pcattributes: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetBoundLicenseObject(hqueryroot: u32, wszsubobjecttype: ::windows_sys::core::PCWSTR, iwhich: u32, phsubobject: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetBoundLicenseObjectCount(hqueryroot: u32, wszsubobjecttype: ::windows_sys::core::PCWSTR, pcsubobjects: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetCertificateChainCount(wszchain: ::windows_sys::core::PCWSTR, pccertcount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetClientVersion(pdrmclientversioninfo: *mut DRM_CLIENT_VERSION_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetEnvironmentInfo(handle: u32, wszattribute: ::windows_sys::core::PCWSTR, peencoding: *mut DRMENCODINGTYPE, pcbuffer: *mut u32, pbbuffer: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetInfo(handle: u32, wszattribute: ::windows_sys::core::PCWSTR, peencoding: *const DRMENCODINGTYPE, pcbuffer: *mut u32, pbbuffer: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetIntervalTime(hissuancelicense: u32, pcdays: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DRMGetIssuanceLicenseInfo(hissuancelicense: u32, psttimefrom: *mut super::super::Foundation::SYSTEMTIME, psttimeuntil: *mut super::super::Foundation::SYSTEMTIME, uflags: u32, pudistributionpointnamelength: *mut u32, wszdistributionpointname: ::windows_sys::core::PWSTR, pudistributionpointurllength: *mut u32, wszdistributionpointurl: ::windows_sys::core::PWSTR, phowner: *mut u32, pfofficial: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetIssuanceLicenseTemplate(hissuancelicense: u32, puissuancelicensetemplatelength: *mut u32, wszissuancelicensetemplate: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetMetaData(hissuancelicense: u32, pucontentidlength: *mut u32, wszcontentid: ::windows_sys::core::PWSTR, pucontentidtypelength: *mut u32, wszcontentidtype: ::windows_sys::core::PWSTR, puskuidlength: *mut u32, wszskuid: ::windows_sys::core::PWSTR, puskuidtypelength: *mut u32, wszskuidtype: ::windows_sys::core::PWSTR, pucontenttypelength: *mut u32, wszcontenttype: ::windows_sys::core::PWSTR, pucontentnamelength: *mut u32, wszcontentname: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetNameAndDescription(hissuancelicense: u32, uindex: u32, pulcid: *mut u32, punamelength: *mut u32, wszname: ::windows_sys::core::PWSTR, pudescriptionlength: *mut u32, wszdescription: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetOwnerLicense(hissuancelicense: u32, puownerlicenselength: *mut u32, wszownerlicense: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DRMGetProcAddress(hlibrary: u32, wszprocname: ::windows_sys::core::PCWSTR, ppfnprocaddress: *mut super::super::Foundation::FARPROC) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DRMGetRevocationPoint(hissuancelicense: u32, puidlength: *mut u32, wszid: ::windows_sys::core::PWSTR, puidtypelength: *mut u32, wszidtype: ::windows_sys::core::PWSTR, puurllength: *mut u32, wszrl: ::windows_sys::core::PWSTR, pstfrequency: *mut super::super::Foundation::SYSTEMTIME, punamelength: *mut u32, wszname: ::windows_sys::core::PWSTR, pupublickeylength: *mut u32, wszpublickey: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetRightExtendedInfo(hright: u32, uindex: u32, puextendedinfonamelength: *mut u32, wszextendedinfoname: ::windows_sys::core::PWSTR, puextendedinfovaluelength: *mut u32, wszextendedinfovalue: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DRMGetRightInfo(hright: u32, purightnamelength: *mut u32, wszrightname: ::windows_sys::core::PWSTR, pstfrom: *mut super::super::Foundation::SYSTEMTIME, pstuntil: *mut super::super::Foundation::SYSTEMTIME) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetSecurityProvider(uflags: u32, putypelen: *mut u32, wsztype: ::windows_sys::core::PWSTR, pupathlen: *mut u32, wszpath: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetServiceLocation(hclient: u32, uservicetype: u32, uservicelocation: u32, wszissuancelicense: ::windows_sys::core::PCWSTR, puserviceurllength: *mut u32, wszserviceurl: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetSignedIssuanceLicense(henv: u32, hissuancelicense: u32, uflags: u32, pbsymkey: *mut u8, cbsymkey: u32, wszsymkeytype: ::windows_sys::core::PCWSTR, wszclientlicensorcertificate: ::windows_sys::core::PCWSTR, pfncallback: DRMCALLBACK, wszurl: ::windows_sys::core::PCWSTR, pvcontext: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetSignedIssuanceLicenseEx(henv: u32, hissuancelicense: u32, uflags: u32, pbsymkey: *const u8, cbsymkey: u32, wszsymkeytype: ::windows_sys::core::PCWSTR, pvreserved: *const ::core::ffi::c_void, henablingprincipal: u32, hboundlicenseclc: u32, pfncallback: DRMCALLBACK, pvcontext: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DRMGetTime(henv: u32, etimeridtype: DRMTIMETYPE, potimeobject: *mut super::super::Foundation::SYSTEMTIME) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetUnboundLicenseAttribute(hqueryroot: u32, wszattributetype: ::windows_sys::core::PCWSTR, iwhich: u32, peencoding: *mut DRMENCODINGTYPE, pcbuffer: *mut u32, pbbuffer: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetUnboundLicenseAttributeCount(hqueryroot: u32, wszattributetype: ::windows_sys::core::PCWSTR, pcattributes: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetUnboundLicenseObject(hqueryroot: u32, wszsubobjecttype: ::windows_sys::core::PCWSTR, iindex: u32, phsubquery: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetUnboundLicenseObjectCount(hqueryroot: u32, wszsubobjecttype: ::windows_sys::core::PCWSTR, pcsubobjects: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DRMGetUsagePolicy(hissuancelicense: u32, uindex: u32, peusagepolicytype: *mut DRM_USAGEPOLICY_TYPE, pfexclusion: *mut super::super::Foundation::BOOL, punamelength: *mut u32, wszname: ::windows_sys::core::PWSTR, puminversionlength: *mut u32, wszminversion: ::windows_sys::core::PWSTR, pumaxversionlength: *mut u32, wszmaxversion: ::windows_sys::core::PWSTR, pupublickeylength: *mut u32, wszpublickey: ::windows_sys::core::PWSTR, pudigestalgorithmlength: *mut u32, wszdigestalgorithm: ::windows_sys::core::PWSTR, pcbdigest: *mut u32, pbdigest: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetUserInfo(huser: u32, puusernamelength: *mut u32, wszusername: ::windows_sys::core::PWSTR, puuseridlength: *mut u32, wszuserid: ::windows_sys::core::PWSTR, puuseridtypelength: *mut u32, wszuseridtype: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetUserRights(hissuancelicense: u32, huser: u32, uindex: u32, phright: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMGetUsers(hissuancelicense: u32, uindex: u32, phuser: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMInitEnvironment(esecurityprovidertype: DRMSECURITYPROVIDERTYPE, especification: DRMSPECTYPE, wszsecurityprovider: ::windows_sys::core::PCWSTR, wszmanifestcredentials: ::windows_sys::core::PCWSTR, wszmachinecredentials: ::windows_sys::core::PCWSTR, phenv: *mut u32, phdefaultlibrary: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMIsActivated(hclient: u32, uflags: u32, pactservinfo: *mut DRM_ACTSERV_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DRMIsWindowProtected(hwnd: super::super::Foundation::HWND, pfprotected: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMLoadLibrary(henv: u32, especification: DRMSPECTYPE, wszlibraryprovider: ::windows_sys::core::PCWSTR, wszcredentials: ::windows_sys::core::PCWSTR, phlibrary: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMParseUnboundLicense(wszcertificate: ::windows_sys::core::PCWSTR, phqueryroot: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DRMRegisterContent(fregister: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DRMRegisterProtectedWindow(henv: u32, hwnd: super::super::Foundation::HWND) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMRegisterRevocationList(henv: u32, wszrevocationlist: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMRepair() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DRMSetApplicationSpecificData(hissuancelicense: u32, fdelete: super::super::Foundation::BOOL, wszname: ::windows_sys::core::PCWSTR, wszvalue: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMSetGlobalOptions(eglobaloptions: DRMGLOBALOPTIONS, pvdata: *mut ::core::ffi::c_void, dwlen: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMSetIntervalTime(hissuancelicense: u32, cdays: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMSetMetaData(hissuancelicense: u32, wszcontentid: ::windows_sys::core::PCWSTR, wszcontentidtype: ::windows_sys::core::PCWSTR, wszskuid: ::windows_sys::core::PCWSTR, wszskuidtype: ::windows_sys::core::PCWSTR, wszcontenttype: ::windows_sys::core::PCWSTR, wszcontentname: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DRMSetNameAndDescription(hissuancelicense: u32, fdelete: super::super::Foundation::BOOL, lcid: u32, wszname: ::windows_sys::core::PCWSTR, wszdescription: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DRMSetRevocationPoint(hissuancelicense: u32, fdelete: super::super::Foundation::BOOL, wszid: ::windows_sys::core::PCWSTR, wszidtype: ::windows_sys::core::PCWSTR, wszurl: ::windows_sys::core::PCWSTR, pstfrequency: *mut super::super::Foundation::SYSTEMTIME, wszname: ::windows_sys::core::PCWSTR, wszpublickey: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DRMSetUsagePolicy(hissuancelicense: u32, eusagepolicytype: DRM_USAGEPOLICY_TYPE, fdelete: super::super::Foundation::BOOL, fexclusion: super::super::Foundation::BOOL, wszname: ::windows_sys::core::PCWSTR, wszminversion: ::windows_sys::core::PCWSTR, wszmaxversion: ::windows_sys::core::PCWSTR, wszpublickey: ::windows_sys::core::PCWSTR, wszdigestalgorithm: ::windows_sys::core::PCWSTR, pbdigest: *mut u8, cbdigest: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] pub fn DRMVerify(wszdata: ::windows_sys::core::PCWSTR, pcattesteddata: *mut u32, wszattesteddata: ::windows_sys::core::PWSTR, petype: *mut DRMATTESTTYPE, pcprincipal: *mut u32, wszprincipal: ::windows_sys::core::PWSTR, pcmanifest: *mut u32, wszmanifest: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/Data/Xml/XmlLite/mod.rs b/crates/libs/sys/src/Windows/Win32/Data/Xml/XmlLite/mod.rs index 7eaa9393ca..4582b1b23e 100644 --- a/crates/libs/sys/src/Windows/Win32/Data/Xml/XmlLite/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Data/Xml/XmlLite/mod.rs @@ -3,18 +3,33 @@ extern "system" { #[doc = "*Required features: `\"Win32_Data_Xml_XmlLite\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn CreateXmlReader(riid: *const ::windows_sys::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void, pmalloc: super::super::super::System::Com::IMalloc) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_Xml_XmlLite\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn CreateXmlReaderInputWithEncodingCodePage(pinputstream: ::windows_sys::core::IUnknown, pmalloc: super::super::super::System::Com::IMalloc, nencodingcodepage: u32, fencodinghint: super::super::super::Foundation::BOOL, pwszbaseuri: ::windows_sys::core::PCWSTR, ppinput: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_Xml_XmlLite\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn CreateXmlReaderInputWithEncodingName(pinputstream: ::windows_sys::core::IUnknown, pmalloc: super::super::super::System::Com::IMalloc, pwszencodingname: ::windows_sys::core::PCWSTR, fencodinghint: super::super::super::Foundation::BOOL, pwszbaseuri: ::windows_sys::core::PCWSTR, ppinput: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_Xml_XmlLite\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn CreateXmlWriter(riid: *const ::windows_sys::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void, pmalloc: super::super::super::System::Com::IMalloc) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_Xml_XmlLite\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn CreateXmlWriterOutputWithEncodingCodePage(poutputstream: ::windows_sys::core::IUnknown, pmalloc: super::super::super::System::Com::IMalloc, nencodingcodepage: u32, ppoutput: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Data_Xml_XmlLite\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn CreateXmlWriterOutputWithEncodingName(poutputstream: ::windows_sys::core::IUnknown, pmalloc: super::super::super::System::Com::IMalloc, pwszencodingname: ::windows_sys::core::PCWSTR, ppoutput: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Devices/AllJoyn/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/AllJoyn/mod.rs index 068ba6a7b1..efe88620c7 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/AllJoyn/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/AllJoyn/mod.rs @@ -3,1103 +3,2741 @@ extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AllJoynAcceptBusConnection(serverbushandle: super::super::Foundation::HANDLE, abortevent: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AllJoynCloseBusHandle(bushandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AllJoynConnectToBus(connectionspec: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn AllJoynCreateBus(outbuffersize: u32, inbuffersize: u32, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AllJoynEnumEvents(connectedbushandle: super::super::Foundation::HANDLE, eventtoreset: super::super::Foundation::HANDLE, eventtypes: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AllJoynEventSelect(connectedbushandle: super::super::Foundation::HANDLE, eventhandle: super::super::Foundation::HANDLE, eventtypes: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AllJoynReceiveFromBus(connectedbushandle: super::super::Foundation::HANDLE, buffer: *mut ::core::ffi::c_void, bytestoread: u32, bytestransferred: *mut u32, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AllJoynSendToBus(connectedbushandle: super::super::Foundation::HANDLE, buffer: *const ::core::ffi::c_void, bytestowrite: u32, bytestransferred: *mut u32, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn QCC_StatusText(status: QStatus) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_create(defaultlanguage: ::windows_sys::core::PCSTR) -> alljoyn_aboutdata; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_create_empty() -> alljoyn_aboutdata; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_create_full(arg: alljoyn_msgarg, language: ::windows_sys::core::PCSTR) -> alljoyn_aboutdata; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_createfrommsgarg(data: alljoyn_aboutdata, arg: alljoyn_msgarg, language: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_createfromxml(data: alljoyn_aboutdata, aboutdataxml: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_destroy(data: alljoyn_aboutdata); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_getaboutdata(data: alljoyn_aboutdata, msgarg: alljoyn_msgarg, language: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_getajsoftwareversion(data: alljoyn_aboutdata, ajsoftwareversion: *mut *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_getannouncedaboutdata(data: alljoyn_aboutdata, msgarg: alljoyn_msgarg) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_getappid(data: alljoyn_aboutdata, appid: *mut *mut u8, num: *mut usize) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_getappname(data: alljoyn_aboutdata, appname: *mut *mut i8, language: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_getdateofmanufacture(data: alljoyn_aboutdata, dateofmanufacture: *mut *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_getdefaultlanguage(data: alljoyn_aboutdata, defaultlanguage: *mut *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_getdescription(data: alljoyn_aboutdata, description: *mut *mut i8, language: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_getdeviceid(data: alljoyn_aboutdata, deviceid: *mut *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_getdevicename(data: alljoyn_aboutdata, devicename: *mut *mut i8, language: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_getfield(data: alljoyn_aboutdata, name: ::windows_sys::core::PCSTR, value: *mut alljoyn_msgarg, language: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_getfields(data: alljoyn_aboutdata, fields: *const *const i8, num_fields: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_getfieldsignature(data: alljoyn_aboutdata, fieldname: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_gethardwareversion(data: alljoyn_aboutdata, hardwareversion: *mut *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_getmanufacturer(data: alljoyn_aboutdata, manufacturer: *mut *mut i8, language: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_getmodelnumber(data: alljoyn_aboutdata, modelnumber: *mut *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_getsoftwareversion(data: alljoyn_aboutdata, softwareversion: *mut *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_getsupportedlanguages(data: alljoyn_aboutdata, languagetags: *const *const i8, num: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_getsupporturl(data: alljoyn_aboutdata, supporturl: *mut *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_isfieldannounced(data: alljoyn_aboutdata, fieldname: ::windows_sys::core::PCSTR) -> u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_isfieldlocalized(data: alljoyn_aboutdata, fieldname: ::windows_sys::core::PCSTR) -> u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_isfieldrequired(data: alljoyn_aboutdata, fieldname: ::windows_sys::core::PCSTR) -> u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_isvalid(data: alljoyn_aboutdata, language: ::windows_sys::core::PCSTR) -> u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_setappid(data: alljoyn_aboutdata, appid: *const u8, num: usize) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_setappid_fromstring(data: alljoyn_aboutdata, appid: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_setappname(data: alljoyn_aboutdata, appname: ::windows_sys::core::PCSTR, language: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_setdateofmanufacture(data: alljoyn_aboutdata, dateofmanufacture: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_setdefaultlanguage(data: alljoyn_aboutdata, defaultlanguage: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_setdescription(data: alljoyn_aboutdata, description: ::windows_sys::core::PCSTR, language: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_setdeviceid(data: alljoyn_aboutdata, deviceid: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_setdevicename(data: alljoyn_aboutdata, devicename: ::windows_sys::core::PCSTR, language: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_setfield(data: alljoyn_aboutdata, name: ::windows_sys::core::PCSTR, value: alljoyn_msgarg, language: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_sethardwareversion(data: alljoyn_aboutdata, hardwareversion: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_setmanufacturer(data: alljoyn_aboutdata, manufacturer: ::windows_sys::core::PCSTR, language: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_setmodelnumber(data: alljoyn_aboutdata, modelnumber: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_setsoftwareversion(data: alljoyn_aboutdata, softwareversion: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_setsupportedlanguage(data: alljoyn_aboutdata, language: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdata_setsupporturl(data: alljoyn_aboutdata, supporturl: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdatalistener_create(callbacks: *const alljoyn_aboutdatalistener_callbacks, context: *const ::core::ffi::c_void) -> alljoyn_aboutdatalistener; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutdatalistener_destroy(listener: alljoyn_aboutdatalistener); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_abouticon_clear(icon: *mut _alljoyn_abouticon_handle); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_abouticon_create() -> *mut _alljoyn_abouticon_handle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_abouticon_destroy(icon: *mut _alljoyn_abouticon_handle); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_abouticon_getcontent(icon: *mut _alljoyn_abouticon_handle, data: *const *const u8, size: *mut usize); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_abouticon_geturl(icon: *mut _alljoyn_abouticon_handle, r#type: *const *const i8, url: *const *const i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_abouticon_setcontent(icon: *mut _alljoyn_abouticon_handle, r#type: ::windows_sys::core::PCSTR, data: *mut u8, csize: usize, ownsdata: u8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_abouticon_setcontent_frommsgarg(icon: *mut _alljoyn_abouticon_handle, arg: alljoyn_msgarg) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_abouticon_seturl(icon: *mut _alljoyn_abouticon_handle, r#type: ::windows_sys::core::PCSTR, url: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_abouticonobj_create(bus: alljoyn_busattachment, icon: *mut _alljoyn_abouticon_handle) -> *mut _alljoyn_abouticonobj_handle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_abouticonobj_destroy(icon: *mut _alljoyn_abouticonobj_handle); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_abouticonproxy_create(bus: alljoyn_busattachment, busname: ::windows_sys::core::PCSTR, sessionid: u32) -> *mut _alljoyn_abouticonproxy_handle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_abouticonproxy_destroy(proxy: *mut _alljoyn_abouticonproxy_handle); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_abouticonproxy_geticon(proxy: *mut _alljoyn_abouticonproxy_handle, icon: *mut _alljoyn_abouticon_handle) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_abouticonproxy_getversion(proxy: *mut _alljoyn_abouticonproxy_handle, version: *mut u16) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutlistener_create(callback: *const alljoyn_aboutlistener_callback, context: *const ::core::ffi::c_void) -> alljoyn_aboutlistener; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutlistener_destroy(listener: alljoyn_aboutlistener); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutobj_announce(obj: alljoyn_aboutobj, sessionport: u16, aboutdata: alljoyn_aboutdata) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutobj_announce_using_datalistener(obj: alljoyn_aboutobj, sessionport: u16, aboutlistener: alljoyn_aboutdatalistener) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutobj_create(bus: alljoyn_busattachment, isannounced: alljoyn_about_announceflag) -> alljoyn_aboutobj; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutobj_destroy(obj: alljoyn_aboutobj); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutobj_unannounce(obj: alljoyn_aboutobj) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutobjectdescription_clear(description: alljoyn_aboutobjectdescription); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutobjectdescription_create() -> alljoyn_aboutobjectdescription; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutobjectdescription_create_full(arg: alljoyn_msgarg) -> alljoyn_aboutobjectdescription; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutobjectdescription_createfrommsgarg(description: alljoyn_aboutobjectdescription, arg: alljoyn_msgarg) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutobjectdescription_destroy(description: alljoyn_aboutobjectdescription); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutobjectdescription_getinterfacepaths(description: alljoyn_aboutobjectdescription, interfacename: ::windows_sys::core::PCSTR, paths: *const *const i8, numpaths: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutobjectdescription_getinterfaces(description: alljoyn_aboutobjectdescription, path: ::windows_sys::core::PCSTR, interfaces: *const *const i8, numinterfaces: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutobjectdescription_getmsgarg(description: alljoyn_aboutobjectdescription, msgarg: alljoyn_msgarg) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutobjectdescription_getpaths(description: alljoyn_aboutobjectdescription, paths: *const *const i8, numpaths: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutobjectdescription_hasinterface(description: alljoyn_aboutobjectdescription, interfacename: ::windows_sys::core::PCSTR) -> u8; - #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutobjectdescription_hasinterfaceatpath(description: alljoyn_aboutobjectdescription, path: ::windows_sys::core::PCSTR, interfacename: ::windows_sys::core::PCSTR) -> u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutobjectdescription_haspath(description: alljoyn_aboutobjectdescription, path: ::windows_sys::core::PCSTR) -> u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutproxy_create(bus: alljoyn_busattachment, busname: ::windows_sys::core::PCSTR, sessionid: u32) -> alljoyn_aboutproxy; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutproxy_destroy(proxy: alljoyn_aboutproxy); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutproxy_getaboutdata(proxy: alljoyn_aboutproxy, language: ::windows_sys::core::PCSTR, data: alljoyn_msgarg) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutproxy_getobjectdescription(proxy: alljoyn_aboutproxy, objectdesc: alljoyn_msgarg) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_aboutproxy_getversion(proxy: alljoyn_aboutproxy, version: *mut u16) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_applicationstatelistener_create(callbacks: *const alljoyn_applicationstatelistener_callbacks, context: *mut ::core::ffi::c_void) -> alljoyn_applicationstatelistener; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_applicationstatelistener_destroy(listener: alljoyn_applicationstatelistener); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_authlistener_create(callbacks: *const alljoyn_authlistener_callbacks, context: *const ::core::ffi::c_void) -> alljoyn_authlistener; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_authlistener_destroy(listener: alljoyn_authlistener); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_authlistener_requestcredentialsresponse(listener: alljoyn_authlistener, authcontext: *mut ::core::ffi::c_void, accept: i32, credentials: alljoyn_credentials) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_authlistener_setsharedsecret(listener: alljoyn_authlistener, sharedsecret: *const u8, sharedsecretsize: usize) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_authlistener_verifycredentialsresponse(listener: alljoyn_authlistener, authcontext: *mut ::core::ffi::c_void, accept: i32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_authlistenerasync_create(callbacks: *const alljoyn_authlistenerasync_callbacks, context: *const ::core::ffi::c_void) -> alljoyn_authlistener; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_authlistenerasync_destroy(listener: alljoyn_authlistener); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_autopinger_adddestination(autopinger: alljoyn_autopinger, group: ::windows_sys::core::PCSTR, destination: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_autopinger_addpinggroup(autopinger: alljoyn_autopinger, group: ::windows_sys::core::PCSTR, listener: alljoyn_pinglistener, pinginterval: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_autopinger_create(bus: alljoyn_busattachment) -> alljoyn_autopinger; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_autopinger_destroy(autopinger: alljoyn_autopinger); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_autopinger_pause(autopinger: alljoyn_autopinger); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_autopinger_removedestination(autopinger: alljoyn_autopinger, group: ::windows_sys::core::PCSTR, destination: ::windows_sys::core::PCSTR, removeall: i32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_autopinger_removepinggroup(autopinger: alljoyn_autopinger, group: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_autopinger_resume(autopinger: alljoyn_autopinger); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_autopinger_setpinginterval(autopinger: alljoyn_autopinger, group: ::windows_sys::core::PCSTR, pinginterval: u32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_addlogonentry(bus: alljoyn_busattachment, authmechanism: ::windows_sys::core::PCSTR, username: ::windows_sys::core::PCSTR, password: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_addmatch(bus: alljoyn_busattachment, rule: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_advertisename(bus: alljoyn_busattachment, name: ::windows_sys::core::PCSTR, transports: u16) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_bindsessionport(bus: alljoyn_busattachment, sessionport: *mut u16, opts: alljoyn_sessionopts, listener: alljoyn_sessionportlistener) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_canceladvertisename(bus: alljoyn_busattachment, name: ::windows_sys::core::PCSTR, transports: u16) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_cancelfindadvertisedname(bus: alljoyn_busattachment, nameprefix: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_cancelfindadvertisednamebytransport(bus: alljoyn_busattachment, nameprefix: ::windows_sys::core::PCSTR, transports: u16) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_cancelwhoimplements_interface(bus: alljoyn_busattachment, implementsinterface: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_cancelwhoimplements_interfaces(bus: alljoyn_busattachment, implementsinterfaces: *const *const i8, numberinterfaces: usize) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_clearkeys(bus: alljoyn_busattachment, guid: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_clearkeystore(bus: alljoyn_busattachment); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_connect(bus: alljoyn_busattachment, connectspec: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_create(applicationname: ::windows_sys::core::PCSTR, allowremotemessages: i32) -> alljoyn_busattachment; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_create_concurrency(applicationname: ::windows_sys::core::PCSTR, allowremotemessages: i32, concurrency: u32) -> alljoyn_busattachment; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_createinterface(bus: alljoyn_busattachment, name: ::windows_sys::core::PCSTR, iface: *mut alljoyn_interfacedescription) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_createinterface_secure(bus: alljoyn_busattachment, name: ::windows_sys::core::PCSTR, iface: *mut alljoyn_interfacedescription, secpolicy: alljoyn_interfacedescription_securitypolicy) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_createinterfacesfromxml(bus: alljoyn_busattachment, xml: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_deletedefaultkeystore(applicationname: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_deleteinterface(bus: alljoyn_busattachment, iface: alljoyn_interfacedescription) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_destroy(bus: alljoyn_busattachment); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_disconnect(bus: alljoyn_busattachment, unused: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_enableconcurrentcallbacks(bus: alljoyn_busattachment); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_enablepeersecurity(bus: alljoyn_busattachment, authmechanisms: ::windows_sys::core::PCSTR, listener: alljoyn_authlistener, keystorefilename: ::windows_sys::core::PCSTR, isshared: i32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_enablepeersecuritywithpermissionconfigurationlistener(bus: alljoyn_busattachment, authmechanisms: ::windows_sys::core::PCSTR, authlistener: alljoyn_authlistener, keystorefilename: ::windows_sys::core::PCSTR, isshared: i32, permissionconfigurationlistener: alljoyn_permissionconfigurationlistener) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_findadvertisedname(bus: alljoyn_busattachment, nameprefix: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_findadvertisednamebytransport(bus: alljoyn_busattachment, nameprefix: ::windows_sys::core::PCSTR, transports: u16) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_getalljoyndebugobj(bus: alljoyn_busattachment) -> alljoyn_proxybusobject; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_getalljoynproxyobj(bus: alljoyn_busattachment) -> alljoyn_proxybusobject; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_getconcurrency(bus: alljoyn_busattachment) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_getconnectspec(bus: alljoyn_busattachment) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_getdbusproxyobj(bus: alljoyn_busattachment) -> alljoyn_proxybusobject; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_getglobalguidstring(bus: alljoyn_busattachment) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_getinterface(bus: alljoyn_busattachment, name: ::windows_sys::core::PCSTR) -> alljoyn_interfacedescription; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_getinterfaces(bus: alljoyn_busattachment, ifaces: *const alljoyn_interfacedescription, numifaces: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_getkeyexpiration(bus: alljoyn_busattachment, guid: ::windows_sys::core::PCSTR, timeout: *mut u32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_getpeerguid(bus: alljoyn_busattachment, name: ::windows_sys::core::PCSTR, guid: ::windows_sys::core::PCSTR, guidsz: *mut usize) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_getpermissionconfigurator(bus: alljoyn_busattachment) -> alljoyn_permissionconfigurator; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_gettimestamp() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_getuniquename(bus: alljoyn_busattachment) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_isconnected(bus: alljoyn_busattachment) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_ispeersecurityenabled(bus: alljoyn_busattachment) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_isstarted(bus: alljoyn_busattachment) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_isstopping(bus: alljoyn_busattachment) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_join(bus: alljoyn_busattachment) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_joinsession(bus: alljoyn_busattachment, sessionhost: ::windows_sys::core::PCSTR, sessionport: u16, listener: alljoyn_sessionlistener, sessionid: *mut u32, opts: alljoyn_sessionopts) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_joinsessionasync(bus: alljoyn_busattachment, sessionhost: ::windows_sys::core::PCSTR, sessionport: u16, listener: alljoyn_sessionlistener, opts: alljoyn_sessionopts, callback: alljoyn_busattachment_joinsessioncb_ptr, context: *mut ::core::ffi::c_void) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_leavesession(bus: alljoyn_busattachment, sessionid: u32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_namehasowner(bus: alljoyn_busattachment, name: ::windows_sys::core::PCSTR, hasowner: *mut i32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_ping(bus: alljoyn_busattachment, name: ::windows_sys::core::PCSTR, timeout: u32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_registeraboutlistener(bus: alljoyn_busattachment, aboutlistener: alljoyn_aboutlistener); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_registerapplicationstatelistener(bus: alljoyn_busattachment, listener: alljoyn_applicationstatelistener) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_registerbuslistener(bus: alljoyn_busattachment, listener: alljoyn_buslistener); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_registerbusobject(bus: alljoyn_busattachment, obj: alljoyn_busobject) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_registerbusobject_secure(bus: alljoyn_busattachment, obj: alljoyn_busobject) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_registerkeystorelistener(bus: alljoyn_busattachment, listener: alljoyn_keystorelistener) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_registersignalhandler(bus: alljoyn_busattachment, signal_handler: alljoyn_messagereceiver_signalhandler_ptr, member: alljoyn_interfacedescription_member, srcpath: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_registersignalhandlerwithrule(bus: alljoyn_busattachment, signal_handler: alljoyn_messagereceiver_signalhandler_ptr, member: alljoyn_interfacedescription_member, matchrule: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_releasename(bus: alljoyn_busattachment, name: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_reloadkeystore(bus: alljoyn_busattachment) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_removematch(bus: alljoyn_busattachment, rule: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_removesessionmember(bus: alljoyn_busattachment, sessionid: u32, membername: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_requestname(bus: alljoyn_busattachment, requestedname: ::windows_sys::core::PCSTR, flags: u32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_secureconnection(bus: alljoyn_busattachment, name: ::windows_sys::core::PCSTR, forceauth: i32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_secureconnectionasync(bus: alljoyn_busattachment, name: ::windows_sys::core::PCSTR, forceauth: i32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_setdaemondebug(bus: alljoyn_busattachment, module: ::windows_sys::core::PCSTR, level: u32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_setkeyexpiration(bus: alljoyn_busattachment, guid: ::windows_sys::core::PCSTR, timeout: u32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_setlinktimeout(bus: alljoyn_busattachment, sessionid: u32, linktimeout: *mut u32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_setlinktimeoutasync(bus: alljoyn_busattachment, sessionid: u32, linktimeout: u32, callback: alljoyn_busattachment_setlinktimeoutcb_ptr, context: *mut ::core::ffi::c_void) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_setsessionlistener(bus: alljoyn_busattachment, sessionid: u32, listener: alljoyn_sessionlistener) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_start(bus: alljoyn_busattachment) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_stop(bus: alljoyn_busattachment) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_unbindsessionport(bus: alljoyn_busattachment, sessionport: u16) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_unregisteraboutlistener(bus: alljoyn_busattachment, aboutlistener: alljoyn_aboutlistener); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_unregisterallaboutlisteners(bus: alljoyn_busattachment); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_unregisterallhandlers(bus: alljoyn_busattachment) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_unregisterapplicationstatelistener(bus: alljoyn_busattachment, listener: alljoyn_applicationstatelistener) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_unregisterbuslistener(bus: alljoyn_busattachment, listener: alljoyn_buslistener); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_unregisterbusobject(bus: alljoyn_busattachment, object: alljoyn_busobject); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_unregistersignalhandler(bus: alljoyn_busattachment, signal_handler: alljoyn_messagereceiver_signalhandler_ptr, member: alljoyn_interfacedescription_member, srcpath: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_unregistersignalhandlerwithrule(bus: alljoyn_busattachment, signal_handler: alljoyn_messagereceiver_signalhandler_ptr, member: alljoyn_interfacedescription_member, matchrule: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_whoimplements_interface(bus: alljoyn_busattachment, implementsinterface: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busattachment_whoimplements_interfaces(bus: alljoyn_busattachment, implementsinterfaces: *const *const i8, numberinterfaces: usize) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_buslistener_create(callbacks: *const alljoyn_buslistener_callbacks, context: *const ::core::ffi::c_void) -> alljoyn_buslistener; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_buslistener_destroy(listener: alljoyn_buslistener); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busobject_addinterface(bus: alljoyn_busobject, iface: alljoyn_interfacedescription) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busobject_addinterface_announced(bus: alljoyn_busobject, iface: alljoyn_interfacedescription) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busobject_addmethodhandler(bus: alljoyn_busobject, member: alljoyn_interfacedescription_member, handler: alljoyn_messagereceiver_methodhandler_ptr, context: *mut ::core::ffi::c_void) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busobject_addmethodhandlers(bus: alljoyn_busobject, entries: *const alljoyn_busobject_methodentry, numentries: usize) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busobject_cancelsessionlessmessage(bus: alljoyn_busobject, msg: alljoyn_message) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busobject_cancelsessionlessmessage_serial(bus: alljoyn_busobject, serialnumber: u32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busobject_create(path: ::windows_sys::core::PCSTR, isplaceholder: i32, callbacks_in: *const alljoyn_busobject_callbacks, context_in: *const ::core::ffi::c_void) -> alljoyn_busobject; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busobject_destroy(bus: alljoyn_busobject); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busobject_emitpropertieschanged(bus: alljoyn_busobject, ifcname: ::windows_sys::core::PCSTR, propnames: *const *const i8, numprops: usize, id: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busobject_emitpropertychanged(bus: alljoyn_busobject, ifcname: ::windows_sys::core::PCSTR, propname: ::windows_sys::core::PCSTR, val: alljoyn_msgarg, id: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busobject_getannouncedinterfacenames(bus: alljoyn_busobject, interfaces: *const *const i8, numinterfaces: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busobject_getbusattachment(bus: alljoyn_busobject) -> alljoyn_busattachment; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busobject_getname(bus: alljoyn_busobject, buffer: ::windows_sys::core::PCSTR, buffersz: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busobject_getpath(bus: alljoyn_busobject) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busobject_issecure(bus: alljoyn_busobject) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busobject_methodreply_args(bus: alljoyn_busobject, msg: alljoyn_message, args: alljoyn_msgarg, numargs: usize) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busobject_methodreply_err(bus: alljoyn_busobject, msg: alljoyn_message, error: ::windows_sys::core::PCSTR, errormessage: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busobject_methodreply_status(bus: alljoyn_busobject, msg: alljoyn_message, status: QStatus) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busobject_setannounceflag(bus: alljoyn_busobject, iface: alljoyn_interfacedescription, isannounced: alljoyn_about_announceflag) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_busobject_signal(bus: alljoyn_busobject, destination: ::windows_sys::core::PCSTR, sessionid: u32, signal: alljoyn_interfacedescription_member, args: alljoyn_msgarg, numargs: usize, timetolive: u16, flags: u8, msg: alljoyn_message) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_credentials_clear(cred: alljoyn_credentials); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_credentials_create() -> alljoyn_credentials; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_credentials_destroy(cred: alljoyn_credentials); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_credentials_getcertchain(cred: alljoyn_credentials) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_credentials_getexpiration(cred: alljoyn_credentials) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_credentials_getlogonentry(cred: alljoyn_credentials) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_credentials_getpassword(cred: alljoyn_credentials) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_credentials_getprivateKey(cred: alljoyn_credentials) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_credentials_getusername(cred: alljoyn_credentials) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_credentials_isset(cred: alljoyn_credentials, creds: u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_credentials_setcertchain(cred: alljoyn_credentials, certchain: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_credentials_setexpiration(cred: alljoyn_credentials, expiration: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_credentials_setlogonentry(cred: alljoyn_credentials, logonentry: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_credentials_setpassword(cred: alljoyn_credentials, pwd: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_credentials_setprivatekey(cred: alljoyn_credentials, pk: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_credentials_setusername(cred: alljoyn_credentials, username: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_getbuildinfo() -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_getnumericversion() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_getversion() -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_init() -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_activate(iface: alljoyn_interfacedescription); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_addannotation(iface: alljoyn_interfacedescription, name: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_addargannotation(iface: alljoyn_interfacedescription, member: ::windows_sys::core::PCSTR, argname: ::windows_sys::core::PCSTR, name: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_addmember(iface: alljoyn_interfacedescription, r#type: alljoyn_messagetype, name: ::windows_sys::core::PCSTR, inputsig: ::windows_sys::core::PCSTR, outsig: ::windows_sys::core::PCSTR, argnames: ::windows_sys::core::PCSTR, annotation: u8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_addmemberannotation(iface: alljoyn_interfacedescription, member: ::windows_sys::core::PCSTR, name: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_addmethod(iface: alljoyn_interfacedescription, name: ::windows_sys::core::PCSTR, inputsig: ::windows_sys::core::PCSTR, outsig: ::windows_sys::core::PCSTR, argnames: ::windows_sys::core::PCSTR, annotation: u8, accessperms: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_addproperty(iface: alljoyn_interfacedescription, name: ::windows_sys::core::PCSTR, signature: ::windows_sys::core::PCSTR, access: u8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_addpropertyannotation(iface: alljoyn_interfacedescription, property: ::windows_sys::core::PCSTR, name: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_addsignal(iface: alljoyn_interfacedescription, name: ::windows_sys::core::PCSTR, sig: ::windows_sys::core::PCSTR, argnames: ::windows_sys::core::PCSTR, annotation: u8, accessperms: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_eql(one: alljoyn_interfacedescription, other: alljoyn_interfacedescription) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_getannotation(iface: alljoyn_interfacedescription, name: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR, value_size: *mut usize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_getannotationatindex(iface: alljoyn_interfacedescription, index: usize, name: ::windows_sys::core::PCSTR, name_size: *mut usize, value: ::windows_sys::core::PCSTR, value_size: *mut usize); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_getannotationscount(iface: alljoyn_interfacedescription) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_getargdescriptionforlanguage(iface: alljoyn_interfacedescription, member: ::windows_sys::core::PCSTR, arg: ::windows_sys::core::PCSTR, description: ::windows_sys::core::PCSTR, maxlanguagelength: usize, languagetag: ::windows_sys::core::PCSTR) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_getdescriptionforlanguage(iface: alljoyn_interfacedescription, description: ::windows_sys::core::PCSTR, maxlanguagelength: usize, languagetag: ::windows_sys::core::PCSTR) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_getdescriptionlanguages(iface: alljoyn_interfacedescription, languages: *const *const i8, size: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_getdescriptionlanguages2(iface: alljoyn_interfacedescription, languages: ::windows_sys::core::PCSTR, languagessize: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_getdescriptiontranslationcallback(iface: alljoyn_interfacedescription) -> alljoyn_interfacedescription_translation_callback_ptr; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_getmember(iface: alljoyn_interfacedescription, name: ::windows_sys::core::PCSTR, member: *mut alljoyn_interfacedescription_member) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_getmemberannotation(iface: alljoyn_interfacedescription, member: ::windows_sys::core::PCSTR, name: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR, value_size: *mut usize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_getmemberargannotation(iface: alljoyn_interfacedescription, member: ::windows_sys::core::PCSTR, argname: ::windows_sys::core::PCSTR, name: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR, value_size: *mut usize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_getmemberdescriptionforlanguage(iface: alljoyn_interfacedescription, member: ::windows_sys::core::PCSTR, description: ::windows_sys::core::PCSTR, maxlanguagelength: usize, languagetag: ::windows_sys::core::PCSTR) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_getmembers(iface: alljoyn_interfacedescription, members: *mut alljoyn_interfacedescription_member, nummembers: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_getmethod(iface: alljoyn_interfacedescription, name: ::windows_sys::core::PCSTR, member: *mut alljoyn_interfacedescription_member) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_getname(iface: alljoyn_interfacedescription) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_getproperties(iface: alljoyn_interfacedescription, props: *mut alljoyn_interfacedescription_property, numprops: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_getproperty(iface: alljoyn_interfacedescription, name: ::windows_sys::core::PCSTR, property: *mut alljoyn_interfacedescription_property) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_getpropertyannotation(iface: alljoyn_interfacedescription, property: ::windows_sys::core::PCSTR, name: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR, str_size: *mut usize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_getpropertydescriptionforlanguage(iface: alljoyn_interfacedescription, property: ::windows_sys::core::PCSTR, description: ::windows_sys::core::PCSTR, maxlanguagelength: usize, languagetag: ::windows_sys::core::PCSTR) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_getsecuritypolicy(iface: alljoyn_interfacedescription) -> alljoyn_interfacedescription_securitypolicy; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_getsignal(iface: alljoyn_interfacedescription, name: ::windows_sys::core::PCSTR, member: *mut alljoyn_interfacedescription_member) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_hasdescription(iface: alljoyn_interfacedescription) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_hasmember(iface: alljoyn_interfacedescription, name: ::windows_sys::core::PCSTR, insig: ::windows_sys::core::PCSTR, outsig: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_hasproperties(iface: alljoyn_interfacedescription) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_hasproperty(iface: alljoyn_interfacedescription, name: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_introspect(iface: alljoyn_interfacedescription, str: ::windows_sys::core::PCSTR, buf: usize, indent: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_issecure(iface: alljoyn_interfacedescription) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_member_eql(one: alljoyn_interfacedescription_member, other: alljoyn_interfacedescription_member) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_member_getannotation(member: alljoyn_interfacedescription_member, name: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR, value_size: *mut usize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_member_getannotationatindex(member: alljoyn_interfacedescription_member, index: usize, name: ::windows_sys::core::PCSTR, name_size: *mut usize, value: ::windows_sys::core::PCSTR, value_size: *mut usize); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_member_getannotationscount(member: alljoyn_interfacedescription_member) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_member_getargannotation(member: alljoyn_interfacedescription_member, argname: ::windows_sys::core::PCSTR, name: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR, value_size: *mut usize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_member_getargannotationatindex(member: alljoyn_interfacedescription_member, argname: ::windows_sys::core::PCSTR, index: usize, name: ::windows_sys::core::PCSTR, name_size: *mut usize, value: ::windows_sys::core::PCSTR, value_size: *mut usize); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_member_getargannotationscount(member: alljoyn_interfacedescription_member, argname: ::windows_sys::core::PCSTR) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_property_eql(one: alljoyn_interfacedescription_property, other: alljoyn_interfacedescription_property) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_property_getannotation(property: alljoyn_interfacedescription_property, name: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR, value_size: *mut usize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_property_getannotationatindex(property: alljoyn_interfacedescription_property, index: usize, name: ::windows_sys::core::PCSTR, name_size: *mut usize, value: ::windows_sys::core::PCSTR, value_size: *mut usize); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_property_getannotationscount(property: alljoyn_interfacedescription_property) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_setargdescription(iface: alljoyn_interfacedescription, member: ::windows_sys::core::PCSTR, argname: ::windows_sys::core::PCSTR, description: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_setargdescriptionforlanguage(iface: alljoyn_interfacedescription, member: ::windows_sys::core::PCSTR, arg: ::windows_sys::core::PCSTR, description: ::windows_sys::core::PCSTR, languagetag: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_setdescription(iface: alljoyn_interfacedescription, description: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_setdescriptionforlanguage(iface: alljoyn_interfacedescription, description: ::windows_sys::core::PCSTR, languagetag: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_setdescriptionlanguage(iface: alljoyn_interfacedescription, language: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_setdescriptiontranslationcallback(iface: alljoyn_interfacedescription, translationcallback: alljoyn_interfacedescription_translation_callback_ptr); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_setmemberdescription(iface: alljoyn_interfacedescription, member: ::windows_sys::core::PCSTR, description: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_setmemberdescriptionforlanguage(iface: alljoyn_interfacedescription, member: ::windows_sys::core::PCSTR, description: ::windows_sys::core::PCSTR, languagetag: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_setpropertydescription(iface: alljoyn_interfacedescription, name: ::windows_sys::core::PCSTR, description: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_interfacedescription_setpropertydescriptionforlanguage(iface: alljoyn_interfacedescription, name: ::windows_sys::core::PCSTR, description: ::windows_sys::core::PCSTR, languagetag: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_keystorelistener_create(callbacks: *const alljoyn_keystorelistener_callbacks, context: *const ::core::ffi::c_void) -> alljoyn_keystorelistener; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_keystorelistener_destroy(listener: alljoyn_keystorelistener); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_keystorelistener_getkeys(listener: alljoyn_keystorelistener, keystore: alljoyn_keystore, sink: ::windows_sys::core::PCSTR, sink_sz: *mut usize) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_keystorelistener_putkeys(listener: alljoyn_keystorelistener, keystore: alljoyn_keystore, source: ::windows_sys::core::PCSTR, password: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_keystorelistener_with_synchronization_create(callbacks: *const alljoyn_keystorelistener_with_synchronization_callbacks, context: *mut ::core::ffi::c_void) -> alljoyn_keystorelistener; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_create(bus: alljoyn_busattachment) -> alljoyn_message; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_description(msg: alljoyn_message, str: ::windows_sys::core::PCSTR, buf: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_destroy(msg: alljoyn_message); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_eql(one: alljoyn_message, other: alljoyn_message) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_getarg(msg: alljoyn_message, argn: usize) -> alljoyn_msgarg; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_getargs(msg: alljoyn_message, numargs: *mut usize, args: *mut alljoyn_msgarg); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_getauthmechanism(msg: alljoyn_message) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_getcallserial(msg: alljoyn_message) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_getcompressiontoken(msg: alljoyn_message) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_getdestination(msg: alljoyn_message) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_geterrorname(msg: alljoyn_message, errormessage: ::windows_sys::core::PCSTR, errormessage_size: *mut usize) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_getflags(msg: alljoyn_message) -> u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_getinterface(msg: alljoyn_message) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_getmembername(msg: alljoyn_message) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_getobjectpath(msg: alljoyn_message) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_getreceiveendpointname(msg: alljoyn_message) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_getreplyserial(msg: alljoyn_message) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_getsender(msg: alljoyn_message) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_getsessionid(msg: alljoyn_message) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_getsignature(msg: alljoyn_message) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_gettimestamp(msg: alljoyn_message) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_gettype(msg: alljoyn_message) -> alljoyn_messagetype; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_isbroadcastsignal(msg: alljoyn_message) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_isencrypted(msg: alljoyn_message) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_isexpired(msg: alljoyn_message, tillexpirems: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_isglobalbroadcast(msg: alljoyn_message) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_issessionless(msg: alljoyn_message) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_isunreliable(msg: alljoyn_message) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_parseargs(msg: alljoyn_message, signature: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_setendianess(endian: i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_message_tostring(msg: alljoyn_message, str: ::windows_sys::core::PCSTR, buf: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_array_create(size: usize) -> alljoyn_msgarg; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_array_element(arg: alljoyn_msgarg, index: usize) -> alljoyn_msgarg; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_array_get(args: alljoyn_msgarg, numargs: usize, signature: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_array_set(args: alljoyn_msgarg, numargs: *mut usize, signature: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_array_set_offset(args: alljoyn_msgarg, argoffset: usize, numargs: *mut usize, signature: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_array_signature(values: alljoyn_msgarg, numvalues: usize, str: ::windows_sys::core::PCSTR, buf: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_array_tostring(args: alljoyn_msgarg, numargs: usize, str: ::windows_sys::core::PCSTR, buf: usize, indent: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_clear(arg: alljoyn_msgarg); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_clone(destination: alljoyn_msgarg, source: alljoyn_msgarg); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_copy(source: alljoyn_msgarg) -> alljoyn_msgarg; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_create() -> alljoyn_msgarg; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_create_and_set(signature: ::windows_sys::core::PCSTR) -> alljoyn_msgarg; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_destroy(arg: alljoyn_msgarg); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_equal(lhv: alljoyn_msgarg, rhv: alljoyn_msgarg) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get(arg: alljoyn_msgarg, signature: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_array_element(arg: alljoyn_msgarg, index: usize, element: *mut alljoyn_msgarg); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_array_elementsignature(arg: alljoyn_msgarg, index: usize) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_array_numberofelements(arg: alljoyn_msgarg) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_bool(arg: alljoyn_msgarg, b: *mut i32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_bool_array(arg: alljoyn_msgarg, length: *mut usize, ab: *mut i32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_double(arg: alljoyn_msgarg, d: *mut f64) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_double_array(arg: alljoyn_msgarg, length: *mut usize, ad: *mut f64) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_int16(arg: alljoyn_msgarg, n: *mut i16) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_int16_array(arg: alljoyn_msgarg, length: *mut usize, an: *mut i16) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_int32(arg: alljoyn_msgarg, i: *mut i32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_int32_array(arg: alljoyn_msgarg, length: *mut usize, ai: *mut i32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_int64(arg: alljoyn_msgarg, x: *mut i64) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_int64_array(arg: alljoyn_msgarg, length: *mut usize, ax: *mut i64) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_objectpath(arg: alljoyn_msgarg, o: *mut *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_signature(arg: alljoyn_msgarg, g: *mut *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_string(arg: alljoyn_msgarg, s: *mut *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_uint16(arg: alljoyn_msgarg, q: *mut u16) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_uint16_array(arg: alljoyn_msgarg, length: *mut usize, aq: *mut u16) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_uint32(arg: alljoyn_msgarg, u: *mut u32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_uint32_array(arg: alljoyn_msgarg, length: *mut usize, au: *mut u32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_uint64(arg: alljoyn_msgarg, t: *mut u64) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_uint64_array(arg: alljoyn_msgarg, length: *mut usize, at: *mut u64) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_uint8(arg: alljoyn_msgarg, y: *mut u8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_uint8_array(arg: alljoyn_msgarg, length: *mut usize, ay: *mut u8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_variant(arg: alljoyn_msgarg, v: alljoyn_msgarg) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_get_variant_array(arg: alljoyn_msgarg, signature: ::windows_sys::core::PCSTR, length: *mut usize, av: *mut alljoyn_msgarg) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_getdictelement(arg: alljoyn_msgarg, elemsig: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_getkey(arg: alljoyn_msgarg) -> alljoyn_msgarg; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_getmember(arg: alljoyn_msgarg, index: usize) -> alljoyn_msgarg; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_getnummembers(arg: alljoyn_msgarg) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_gettype(arg: alljoyn_msgarg) -> alljoyn_typeid; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_getvalue(arg: alljoyn_msgarg) -> alljoyn_msgarg; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_hassignature(arg: alljoyn_msgarg, signature: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set(arg: alljoyn_msgarg, signature: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_and_stabilize(arg: alljoyn_msgarg, signature: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_bool(arg: alljoyn_msgarg, b: i32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_bool_array(arg: alljoyn_msgarg, length: usize, ab: *mut i32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_double(arg: alljoyn_msgarg, d: f64) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_double_array(arg: alljoyn_msgarg, length: usize, ad: *mut f64) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_int16(arg: alljoyn_msgarg, n: i16) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_int16_array(arg: alljoyn_msgarg, length: usize, an: *mut i16) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_int32(arg: alljoyn_msgarg, i: i32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_int32_array(arg: alljoyn_msgarg, length: usize, ai: *mut i32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_int64(arg: alljoyn_msgarg, x: i64) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_int64_array(arg: alljoyn_msgarg, length: usize, ax: *mut i64) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_objectpath(arg: alljoyn_msgarg, o: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_objectpath_array(arg: alljoyn_msgarg, length: usize, ao: *const *const i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_signature(arg: alljoyn_msgarg, g: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_signature_array(arg: alljoyn_msgarg, length: usize, ag: *const *const i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_string(arg: alljoyn_msgarg, s: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_string_array(arg: alljoyn_msgarg, length: usize, r#as: *const *const i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_uint16(arg: alljoyn_msgarg, q: u16) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_uint16_array(arg: alljoyn_msgarg, length: usize, aq: *mut u16) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_uint32(arg: alljoyn_msgarg, u: u32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_uint32_array(arg: alljoyn_msgarg, length: usize, au: *mut u32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_uint64(arg: alljoyn_msgarg, t: u64) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_uint64_array(arg: alljoyn_msgarg, length: usize, at: *mut u64) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_uint8(arg: alljoyn_msgarg, y: u8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_set_uint8_array(arg: alljoyn_msgarg, length: usize, ay: *mut u8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_setdictentry(arg: alljoyn_msgarg, key: alljoyn_msgarg, value: alljoyn_msgarg) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_setstruct(arg: alljoyn_msgarg, struct_members: alljoyn_msgarg, num_members: usize) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_signature(arg: alljoyn_msgarg, str: ::windows_sys::core::PCSTR, buf: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_stabilize(arg: alljoyn_msgarg); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_msgarg_tostring(arg: alljoyn_msgarg, str: ::windows_sys::core::PCSTR, buf: usize, indent: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_observer_create(bus: alljoyn_busattachment, mandatoryinterfaces: *const *const i8, nummandatoryinterfaces: usize) -> alljoyn_observer; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_observer_destroy(observer: alljoyn_observer); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_observer_get(observer: alljoyn_observer, uniquebusname: ::windows_sys::core::PCSTR, objectpath: ::windows_sys::core::PCSTR) -> alljoyn_proxybusobject_ref; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_observer_getfirst(observer: alljoyn_observer) -> alljoyn_proxybusobject_ref; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_observer_getnext(observer: alljoyn_observer, proxyref: alljoyn_proxybusobject_ref) -> alljoyn_proxybusobject_ref; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_observer_registerlistener(observer: alljoyn_observer, listener: alljoyn_observerlistener, triggeronexisting: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_observer_unregisteralllisteners(observer: alljoyn_observer); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_observer_unregisterlistener(observer: alljoyn_observer, listener: alljoyn_observerlistener); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_observerlistener_create(callback: *const alljoyn_observerlistener_callback, context: *const ::core::ffi::c_void) -> alljoyn_observerlistener; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_observerlistener_destroy(listener: alljoyn_observerlistener); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_passwordmanager_setcredentials(authmechanism: ::windows_sys::core::PCSTR, password: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurationlistener_create(callbacks: *const alljoyn_permissionconfigurationlistener_callbacks, context: *const ::core::ffi::c_void) -> alljoyn_permissionconfigurationlistener; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurationlistener_destroy(listener: alljoyn_permissionconfigurationlistener); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_certificatechain_destroy(certificatechain: *mut i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_certificateid_cleanup(certificateid: *mut alljoyn_certificateid); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_certificateidarray_cleanup(certificateidarray: *mut alljoyn_certificateidarray); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_claim(configurator: alljoyn_permissionconfigurator, cakey: *mut i8, identitycertificatechain: *mut i8, groupid: *const u8, groupsize: usize, groupauthority: *mut i8, manifestsxmls: *mut *mut i8, manifestscount: usize) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_endmanagement(configurator: alljoyn_permissionconfigurator) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_getapplicationstate(configurator: alljoyn_permissionconfigurator, state: *mut alljoyn_applicationstate) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_getclaimcapabilities(configurator: alljoyn_permissionconfigurator, claimcapabilities: *mut u16) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_getclaimcapabilitiesadditionalinfo(configurator: alljoyn_permissionconfigurator, additionalinfo: *mut u16) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_getdefaultclaimcapabilities() -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_getdefaultpolicy(configurator: alljoyn_permissionconfigurator, policyxml: *mut *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_getidentity(configurator: alljoyn_permissionconfigurator, identitycertificatechain: *mut *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_getidentitycertificateid(configurator: alljoyn_permissionconfigurator, certificateid: *mut alljoyn_certificateid) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_getmanifests(configurator: alljoyn_permissionconfigurator, manifestarray: *mut alljoyn_manifestarray) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_getmanifesttemplate(configurator: alljoyn_permissionconfigurator, manifesttemplatexml: *mut *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_getmembershipsummaries(configurator: alljoyn_permissionconfigurator, certificateids: *mut alljoyn_certificateidarray) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_getpolicy(configurator: alljoyn_permissionconfigurator, policyxml: *mut *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_getpublickey(configurator: alljoyn_permissionconfigurator, publickey: *mut *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_installmanifests(configurator: alljoyn_permissionconfigurator, manifestsxmls: *mut *mut i8, manifestscount: usize, append: i32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_installmembership(configurator: alljoyn_permissionconfigurator, membershipcertificatechain: *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_manifestarray_cleanup(manifestarray: *mut alljoyn_manifestarray); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_manifesttemplate_destroy(manifesttemplatexml: *mut i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_policy_destroy(policyxml: *mut i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_publickey_destroy(publickey: *mut i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_removemembership(configurator: alljoyn_permissionconfigurator, serial: *const u8, seriallen: usize, issuerpublickey: *mut i8, issueraki: *const u8, issuerakilen: usize) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_reset(configurator: alljoyn_permissionconfigurator) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_resetpolicy(configurator: alljoyn_permissionconfigurator) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_setapplicationstate(configurator: alljoyn_permissionconfigurator, state: alljoyn_applicationstate) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_setclaimcapabilities(configurator: alljoyn_permissionconfigurator, claimcapabilities: u16) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_setclaimcapabilitiesadditionalinfo(configurator: alljoyn_permissionconfigurator, additionalinfo: u16) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_setmanifesttemplatefromxml(configurator: alljoyn_permissionconfigurator, manifesttemplatexml: *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_startmanagement(configurator: alljoyn_permissionconfigurator) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_updateidentity(configurator: alljoyn_permissionconfigurator, identitycertificatechain: *mut i8, manifestsxmls: *mut *mut i8, manifestscount: usize) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_permissionconfigurator_updatepolicy(configurator: alljoyn_permissionconfigurator, policyxml: *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_pinglistener_create(callback: *const alljoyn_pinglistener_callback, context: *const ::core::ffi::c_void) -> alljoyn_pinglistener; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_pinglistener_destroy(listener: alljoyn_pinglistener); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_addchild(proxyobj: alljoyn_proxybusobject, child: alljoyn_proxybusobject) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_addinterface(proxyobj: alljoyn_proxybusobject, iface: alljoyn_interfacedescription) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_addinterface_by_name(proxyobj: alljoyn_proxybusobject, name: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_copy(source: alljoyn_proxybusobject) -> alljoyn_proxybusobject; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_create(bus: alljoyn_busattachment, service: ::windows_sys::core::PCSTR, path: ::windows_sys::core::PCSTR, sessionid: u32) -> alljoyn_proxybusobject; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_create_secure(bus: alljoyn_busattachment, service: ::windows_sys::core::PCSTR, path: ::windows_sys::core::PCSTR, sessionid: u32) -> alljoyn_proxybusobject; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_destroy(proxyobj: alljoyn_proxybusobject); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_enablepropertycaching(proxyobj: alljoyn_proxybusobject); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_getallproperties(proxyobj: alljoyn_proxybusobject, iface: ::windows_sys::core::PCSTR, values: alljoyn_msgarg) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_getallpropertiesasync(proxyobj: alljoyn_proxybusobject, iface: ::windows_sys::core::PCSTR, callback: alljoyn_proxybusobject_listener_getallpropertiescb_ptr, timeout: u32, context: *mut ::core::ffi::c_void) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_getchild(proxyobj: alljoyn_proxybusobject, path: ::windows_sys::core::PCSTR) -> alljoyn_proxybusobject; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_getchildren(proxyobj: alljoyn_proxybusobject, children: *mut alljoyn_proxybusobject, numchildren: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_getinterface(proxyobj: alljoyn_proxybusobject, iface: ::windows_sys::core::PCSTR) -> alljoyn_interfacedescription; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_getinterfaces(proxyobj: alljoyn_proxybusobject, ifaces: *const alljoyn_interfacedescription, numifaces: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_getpath(proxyobj: alljoyn_proxybusobject) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_getproperty(proxyobj: alljoyn_proxybusobject, iface: ::windows_sys::core::PCSTR, property: ::windows_sys::core::PCSTR, value: alljoyn_msgarg) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_getpropertyasync(proxyobj: alljoyn_proxybusobject, iface: ::windows_sys::core::PCSTR, property: ::windows_sys::core::PCSTR, callback: alljoyn_proxybusobject_listener_getpropertycb_ptr, timeout: u32, context: *mut ::core::ffi::c_void) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_getservicename(proxyobj: alljoyn_proxybusobject) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_getsessionid(proxyobj: alljoyn_proxybusobject) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_getuniquename(proxyobj: alljoyn_proxybusobject) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_implementsinterface(proxyobj: alljoyn_proxybusobject, iface: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_introspectremoteobject(proxyobj: alljoyn_proxybusobject) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_introspectremoteobjectasync(proxyobj: alljoyn_proxybusobject, callback: alljoyn_proxybusobject_listener_introspectcb_ptr, context: *mut ::core::ffi::c_void) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_issecure(proxyobj: alljoyn_proxybusobject) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_isvalid(proxyobj: alljoyn_proxybusobject) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_methodcall(proxyobj: alljoyn_proxybusobject, ifacename: ::windows_sys::core::PCSTR, methodname: ::windows_sys::core::PCSTR, args: alljoyn_msgarg, numargs: usize, replymsg: alljoyn_message, timeout: u32, flags: u8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_methodcall_member(proxyobj: alljoyn_proxybusobject, method: alljoyn_interfacedescription_member, args: alljoyn_msgarg, numargs: usize, replymsg: alljoyn_message, timeout: u32, flags: u8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_methodcall_member_noreply(proxyobj: alljoyn_proxybusobject, method: alljoyn_interfacedescription_member, args: alljoyn_msgarg, numargs: usize, flags: u8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_methodcall_noreply(proxyobj: alljoyn_proxybusobject, ifacename: ::windows_sys::core::PCSTR, methodname: ::windows_sys::core::PCSTR, args: alljoyn_msgarg, numargs: usize, flags: u8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_methodcallasync(proxyobj: alljoyn_proxybusobject, ifacename: ::windows_sys::core::PCSTR, methodname: ::windows_sys::core::PCSTR, replyfunc: alljoyn_messagereceiver_replyhandler_ptr, args: alljoyn_msgarg, numargs: usize, context: *mut ::core::ffi::c_void, timeout: u32, flags: u8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_methodcallasync_member(proxyobj: alljoyn_proxybusobject, method: alljoyn_interfacedescription_member, replyfunc: alljoyn_messagereceiver_replyhandler_ptr, args: alljoyn_msgarg, numargs: usize, context: *mut ::core::ffi::c_void, timeout: u32, flags: u8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_parsexml(proxyobj: alljoyn_proxybusobject, xml: ::windows_sys::core::PCSTR, identifier: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_ref_create(proxy: alljoyn_proxybusobject) -> alljoyn_proxybusobject_ref; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_ref_decref(r#ref: alljoyn_proxybusobject_ref); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_ref_get(r#ref: alljoyn_proxybusobject_ref) -> alljoyn_proxybusobject; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_ref_incref(r#ref: alljoyn_proxybusobject_ref); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_registerpropertieschangedlistener(proxyobj: alljoyn_proxybusobject, iface: ::windows_sys::core::PCSTR, properties: *const *const i8, numproperties: usize, callback: alljoyn_proxybusobject_listener_propertieschanged_ptr, context: *mut ::core::ffi::c_void) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_removechild(proxyobj: alljoyn_proxybusobject, path: ::windows_sys::core::PCSTR) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_secureconnection(proxyobj: alljoyn_proxybusobject, forceauth: i32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_secureconnectionasync(proxyobj: alljoyn_proxybusobject, forceauth: i32) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_setproperty(proxyobj: alljoyn_proxybusobject, iface: ::windows_sys::core::PCSTR, property: ::windows_sys::core::PCSTR, value: alljoyn_msgarg) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_setpropertyasync(proxyobj: alljoyn_proxybusobject, iface: ::windows_sys::core::PCSTR, property: ::windows_sys::core::PCSTR, value: alljoyn_msgarg, callback: alljoyn_proxybusobject_listener_setpropertycb_ptr, timeout: u32, context: *mut ::core::ffi::c_void) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_proxybusobject_unregisterpropertieschangedlistener(proxyobj: alljoyn_proxybusobject, iface: ::windows_sys::core::PCSTR, callback: alljoyn_proxybusobject_listener_propertieschanged_ptr) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_routerinit() -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_routerinitwithconfig(configxml: *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_routershutdown() -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_claim(proxy: alljoyn_securityapplicationproxy, cakey: *mut i8, identitycertificatechain: *mut i8, groupid: *const u8, groupsize: usize, groupauthority: *mut i8, manifestsxmls: *mut *mut i8, manifestscount: usize) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_computemanifestdigest(unsignedmanifestxml: *mut i8, identitycertificatepem: *mut i8, digest: *mut *mut u8, digestsize: *mut usize) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_create(bus: alljoyn_busattachment, appbusname: *mut i8, sessionid: u32) -> alljoyn_securityapplicationproxy; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_destroy(proxy: alljoyn_securityapplicationproxy); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_digest_destroy(digest: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_eccpublickey_destroy(eccpublickey: *mut i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_endmanagement(proxy: alljoyn_securityapplicationproxy) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_getapplicationstate(proxy: alljoyn_securityapplicationproxy, applicationstate: *mut alljoyn_applicationstate) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_getclaimcapabilities(proxy: alljoyn_securityapplicationproxy, capabilities: *mut u16) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_getclaimcapabilitiesadditionalinfo(proxy: alljoyn_securityapplicationproxy, additionalinfo: *mut u16) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_getdefaultpolicy(proxy: alljoyn_securityapplicationproxy, policyxml: *mut *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_geteccpublickey(proxy: alljoyn_securityapplicationproxy, eccpublickey: *mut *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_getmanifesttemplate(proxy: alljoyn_securityapplicationproxy, manifesttemplatexml: *mut *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_getpermissionmanagementsessionport() -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_getpolicy(proxy: alljoyn_securityapplicationproxy, policyxml: *mut *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_installmembership(proxy: alljoyn_securityapplicationproxy, membershipcertificatechain: *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_manifest_destroy(signedmanifestxml: *mut i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_manifesttemplate_destroy(manifesttemplatexml: *mut i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_policy_destroy(policyxml: *mut i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_reset(proxy: alljoyn_securityapplicationproxy) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_resetpolicy(proxy: alljoyn_securityapplicationproxy) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_setmanifestsignature(unsignedmanifestxml: *mut i8, identitycertificatepem: *mut i8, signature: *const u8, signaturesize: usize, signedmanifestxml: *mut *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_signmanifest(unsignedmanifestxml: *mut i8, identitycertificatepem: *mut i8, signingprivatekeypem: *mut i8, signedmanifestxml: *mut *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_startmanagement(proxy: alljoyn_securityapplicationproxy) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_updateidentity(proxy: alljoyn_securityapplicationproxy, identitycertificatechain: *mut i8, manifestsxmls: *mut *mut i8, manifestscount: usize) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_securityapplicationproxy_updatepolicy(proxy: alljoyn_securityapplicationproxy, policyxml: *mut i8) -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_sessionlistener_create(callbacks: *const alljoyn_sessionlistener_callbacks, context: *const ::core::ffi::c_void) -> alljoyn_sessionlistener; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_sessionlistener_destroy(listener: alljoyn_sessionlistener); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_sessionopts_cmp(one: alljoyn_sessionopts, other: alljoyn_sessionopts) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_sessionopts_create(traffic: u8, ismultipoint: i32, proximity: u8, transports: u16) -> alljoyn_sessionopts; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_sessionopts_destroy(opts: alljoyn_sessionopts); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_sessionopts_get_multipoint(opts: alljoyn_sessionopts) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_sessionopts_get_proximity(opts: alljoyn_sessionopts) -> u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_sessionopts_get_traffic(opts: alljoyn_sessionopts) -> u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_sessionopts_get_transports(opts: alljoyn_sessionopts) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_sessionopts_iscompatible(one: alljoyn_sessionopts, other: alljoyn_sessionopts) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_sessionopts_set_multipoint(opts: alljoyn_sessionopts, ismultipoint: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_sessionopts_set_proximity(opts: alljoyn_sessionopts, proximity: u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_sessionopts_set_traffic(opts: alljoyn_sessionopts, traffic: u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_sessionopts_set_transports(opts: alljoyn_sessionopts, transports: u16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_sessionportlistener_create(callbacks: *const alljoyn_sessionportlistener_callbacks, context: *const ::core::ffi::c_void) -> alljoyn_sessionportlistener; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_sessionportlistener_destroy(listener: alljoyn_sessionportlistener); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_shutdown() -> QStatus; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_unity_deferred_callbacks_process() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub fn alljoyn_unity_set_deferred_callback_mainthread_only(mainthread_only: i32); } diff --git a/crates/libs/sys/src/Windows/Win32/Devices/BiometricFramework/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/BiometricFramework/mod.rs index 1373644d2a..e19c01f1a4 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/BiometricFramework/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/BiometricFramework/mod.rs @@ -2,113 +2,272 @@ extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioAcquireFocus() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioAsyncEnumBiometricUnits(frameworkhandle: u32, factor: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioAsyncEnumDatabases(frameworkhandle: u32, factor: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioAsyncEnumServiceProviders(frameworkhandle: u32, factor: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioAsyncMonitorFrameworkChanges(frameworkhandle: u32, changetypes: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinBioAsyncOpenFramework(notificationmethod: WINBIO_ASYNC_NOTIFICATION_METHOD, targetwindow: super::super::Foundation::HWND, messagecode: u32, callbackroutine: PWINBIO_ASYNC_COMPLETION_CALLBACK, userdata: *const ::core::ffi::c_void, asynchronousopen: super::super::Foundation::BOOL, frameworkhandle: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinBioAsyncOpenSession(factor: u32, pooltype: WINBIO_POOL, flags: u32, unitarray: *const u32, unitcount: usize, databaseid: *const ::windows_sys::core::GUID, notificationmethod: WINBIO_ASYNC_NOTIFICATION_METHOD, targetwindow: super::super::Foundation::HWND, messagecode: u32, callbackroutine: PWINBIO_ASYNC_COMPLETION_CALLBACK, userdata: *const ::core::ffi::c_void, asynchronousopen: super::super::Foundation::BOOL, sessionhandle: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioCancel(sessionhandle: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioCaptureSample(sessionhandle: u32, purpose: u8, flags: u8, unitid: *mut u32, sample: *mut *mut WINBIO_BIR, samplesize: *mut usize, rejectdetail: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioCaptureSampleWithCallback(sessionhandle: u32, purpose: u8, flags: u8, capturecallback: PWINBIO_CAPTURE_CALLBACK, capturecallbackcontext: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioCloseFramework(frameworkhandle: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioCloseSession(sessionhandle: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioControlUnit(sessionhandle: u32, unitid: u32, component: WINBIO_COMPONENT, controlcode: u32, sendbuffer: *const u8, sendbuffersize: usize, receivebuffer: *mut u8, receivebuffersize: usize, receivedatasize: *mut usize, operationstatus: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioControlUnitPrivileged(sessionhandle: u32, unitid: u32, component: WINBIO_COMPONENT, controlcode: u32, sendbuffer: *const u8, sendbuffersize: usize, receivebuffer: *mut u8, receivebuffersize: usize, receivedatasize: *mut usize, operationstatus: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioDeleteTemplate(sessionhandle: u32, unitid: u32, identity: *const WINBIO_IDENTITY, subfactor: u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioEnrollBegin(sessionhandle: u32, subfactor: u8, unitid: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioEnrollCapture(sessionhandle: u32, rejectdetail: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioEnrollCaptureWithCallback(sessionhandle: u32, enrollcallback: PWINBIO_ENROLL_CAPTURE_CALLBACK, enrollcallbackcontext: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioEnrollCommit(sessionhandle: u32, identity: *mut WINBIO_IDENTITY, isnewtemplate: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioEnrollDiscard(sessionhandle: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioEnrollSelect(sessionhandle: u32, selectorvalue: u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioEnumBiometricUnits(factor: u32, unitschemaarray: *mut *mut WINBIO_UNIT_SCHEMA, unitcount: *mut usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioEnumDatabases(factor: u32, storageschemaarray: *mut *mut WINBIO_STORAGE_SCHEMA, storagecount: *mut usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioEnumEnrollments(sessionhandle: u32, unitid: u32, identity: *const WINBIO_IDENTITY, subfactorarray: *mut *mut u8, subfactorcount: *mut usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioEnumServiceProviders(factor: u32, bspschemaarray: *mut *mut WINBIO_BSP_SCHEMA, bspcount: *mut usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioFree(address: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioGetCredentialState(identity: WINBIO_IDENTITY, r#type: WINBIO_CREDENTIAL_TYPE, credentialstate: *mut WINBIO_CREDENTIAL_STATE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioGetDomainLogonSetting(value: *mut u8, source: *mut WINBIO_SETTING_SOURCE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioGetEnabledSetting(value: *mut u8, source: *mut WINBIO_SETTING_SOURCE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioGetEnrolledFactors(accountowner: *const WINBIO_IDENTITY, enrolledfactors: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioGetLogonSetting(value: *mut u8, source: *mut WINBIO_SETTING_SOURCE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioGetProperty(sessionhandle: u32, propertytype: u32, propertyid: u32, unitid: u32, identity: *const WINBIO_IDENTITY, subfactor: u8, propertybuffer: *mut *mut ::core::ffi::c_void, propertybuffersize: *mut usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioIdentify(sessionhandle: u32, unitid: *mut u32, identity: *mut WINBIO_IDENTITY, subfactor: *mut u8, rejectdetail: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioIdentifyWithCallback(sessionhandle: u32, identifycallback: PWINBIO_IDENTIFY_CALLBACK, identifycallbackcontext: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioImproveBegin(sessionhandle: u32, unitid: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioImproveEnd(sessionhandle: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioLocateSensor(sessionhandle: u32, unitid: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioLocateSensorWithCallback(sessionhandle: u32, locatecallback: PWINBIO_LOCATE_SENSOR_CALLBACK, locatecallbackcontext: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioLockUnit(sessionhandle: u32, unitid: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioLogonIdentifiedUser(sessionhandle: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioMonitorPresence(sessionhandle: u32, unitid: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioOpenSession(factor: u32, pooltype: WINBIO_POOL, flags: u32, unitarray: *const u32, unitcount: usize, databaseid: *const ::windows_sys::core::GUID, sessionhandle: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioRegisterEventMonitor(sessionhandle: u32, eventmask: u32, eventcallback: PWINBIO_EVENT_CALLBACK, eventcallbackcontext: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioReleaseFocus() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioRemoveAllCredentials() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioRemoveAllDomainCredentials() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioRemoveCredential(identity: WINBIO_IDENTITY, r#type: WINBIO_CREDENTIAL_TYPE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioSetCredential(r#type: WINBIO_CREDENTIAL_TYPE, credential: *const u8, credentialsize: usize, format: WINBIO_CREDENTIAL_FORMAT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioSetProperty(sessionhandle: u32, propertytype: u32, propertyid: u32, unitid: u32, identity: *const WINBIO_IDENTITY, subfactor: u8, propertybuffer: *const ::core::ffi::c_void, propertybuffersize: usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioUnlockUnit(sessionhandle: u32, unitid: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioUnregisterEventMonitor(sessionhandle: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioVerify(sessionhandle: u32, identity: *const WINBIO_IDENTITY, subfactor: u8, unitid: *mut u32, r#match: *mut u8, rejectdetail: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinBioVerifyWithCallback(sessionhandle: u32, identity: *const WINBIO_IDENTITY, subfactor: u8, verifycallback: PWINBIO_VERIFY_CALLBACK, verifycallbackcontext: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub fn WinBioWait(sessionhandle: u32) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/Devices/Bluetooth/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/Bluetooth/mod.rs index a8b281a3c8..1854111349 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/Bluetooth/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/Bluetooth/mod.rs @@ -3,138 +3,276 @@ extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothAuthenticateDevice(hwndparent: super::super::Foundation::HWND, hradio: super::super::Foundation::HANDLE, pbtbi: *mut BLUETOOTH_DEVICE_INFO, pszpasskey: ::windows_sys::core::PCWSTR, ulpasskeylength: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothAuthenticateDeviceEx(hwndparentin: super::super::Foundation::HWND, hradioin: super::super::Foundation::HANDLE, pbtdiinout: *mut BLUETOOTH_DEVICE_INFO, pbtoobdata: *const BLUETOOTH_OOB_DATA_INFO, authenticationrequirement: AUTHENTICATION_REQUIREMENTS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothAuthenticateMultipleDevices(hwndparent: super::super::Foundation::HWND, hradio: super::super::Foundation::HANDLE, cdevices: u32, rgbtdi: *mut BLUETOOTH_DEVICE_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothDisplayDeviceProperties(hwndparent: super::super::Foundation::HWND, pbtdi: *mut BLUETOOTH_DEVICE_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothEnableDiscovery(hradio: super::super::Foundation::HANDLE, fenabled: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothEnableIncomingConnections(hradio: super::super::Foundation::HANDLE, fenabled: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothEnumerateInstalledServices(hradio: super::super::Foundation::HANDLE, pbtdi: *const BLUETOOTH_DEVICE_INFO, pcserviceinout: *mut u32, pguidservices: *mut ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothFindDeviceClose(hfind: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothFindFirstDevice(pbtsp: *const BLUETOOTH_DEVICE_SEARCH_PARAMS, pbtdi: *mut BLUETOOTH_DEVICE_INFO) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothFindFirstRadio(pbtfrp: *const BLUETOOTH_FIND_RADIO_PARAMS, phradio: *mut super::super::Foundation::HANDLE) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothFindNextDevice(hfind: isize, pbtdi: *mut BLUETOOTH_DEVICE_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothFindNextRadio(hfind: isize, phradio: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothFindRadioClose(hfind: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothGATTAbortReliableWrite(hdevice: super::super::Foundation::HANDLE, reliablewritecontext: u64, flags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothGATTBeginReliableWrite(hdevice: super::super::Foundation::HANDLE, reliablewritecontext: *mut u64, flags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothGATTEndReliableWrite(hdevice: super::super::Foundation::HANDLE, reliablewritecontext: u64, flags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothGATTGetCharacteristicValue(hdevice: super::super::Foundation::HANDLE, characteristic: *const BTH_LE_GATT_CHARACTERISTIC, characteristicvaluedatasize: u32, characteristicvalue: *mut BTH_LE_GATT_CHARACTERISTIC_VALUE, characteristicvaluesizerequired: *mut u16, flags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothGATTGetCharacteristics(hdevice: super::super::Foundation::HANDLE, service: *const BTH_LE_GATT_SERVICE, characteristicsbuffercount: u16, characteristicsbuffer: *mut BTH_LE_GATT_CHARACTERISTIC, characteristicsbufferactual: *mut u16, flags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothGATTGetDescriptorValue(hdevice: super::super::Foundation::HANDLE, descriptor: *const BTH_LE_GATT_DESCRIPTOR, descriptorvaluedatasize: u32, descriptorvalue: *mut BTH_LE_GATT_DESCRIPTOR_VALUE, descriptorvaluesizerequired: *mut u16, flags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothGATTGetDescriptors(hdevice: super::super::Foundation::HANDLE, characteristic: *const BTH_LE_GATT_CHARACTERISTIC, descriptorsbuffercount: u16, descriptorsbuffer: *mut BTH_LE_GATT_DESCRIPTOR, descriptorsbufferactual: *mut u16, flags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothGATTGetIncludedServices(hdevice: super::super::Foundation::HANDLE, parentservice: *const BTH_LE_GATT_SERVICE, includedservicesbuffercount: u16, includedservicesbuffer: *mut BTH_LE_GATT_SERVICE, includedservicesbufferactual: *mut u16, flags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothGATTGetServices(hdevice: super::super::Foundation::HANDLE, servicesbuffercount: u16, servicesbuffer: *mut BTH_LE_GATT_SERVICE, servicesbufferactual: *mut u16, flags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothGATTRegisterEvent(hservice: super::super::Foundation::HANDLE, eventtype: BTH_LE_GATT_EVENT_TYPE, eventparameterin: *const ::core::ffi::c_void, callback: PFNBLUETOOTH_GATT_EVENT_CALLBACK, callbackcontext: *const ::core::ffi::c_void, peventhandle: *mut isize, flags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothGATTSetCharacteristicValue(hdevice: super::super::Foundation::HANDLE, characteristic: *const BTH_LE_GATT_CHARACTERISTIC, characteristicvalue: *const BTH_LE_GATT_CHARACTERISTIC_VALUE, reliablewritecontext: u64, flags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothGATTSetDescriptorValue(hdevice: super::super::Foundation::HANDLE, descriptor: *const BTH_LE_GATT_DESCRIPTOR, descriptorvalue: *const BTH_LE_GATT_DESCRIPTOR_VALUE, flags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"] pub fn BluetoothGATTUnregisterEvent(eventhandle: isize, flags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothGetDeviceInfo(hradio: super::super::Foundation::HANDLE, pbtdi: *mut BLUETOOTH_DEVICE_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothGetRadioInfo(hradio: super::super::Foundation::HANDLE, pradioinfo: *mut BLUETOOTH_RADIO_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothIsConnectable(hradio: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothIsDiscoverable(hradio: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothIsVersionAvailable(majorversion: u8, minorversion: u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothRegisterForAuthentication(pbtdi: *const BLUETOOTH_DEVICE_INFO, phreghandle: *mut isize, pfncallback: PFN_AUTHENTICATION_CALLBACK, pvparam: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothRegisterForAuthenticationEx(pbtdiin: *const BLUETOOTH_DEVICE_INFO, phreghandleout: *mut isize, pfncallbackin: PFN_AUTHENTICATION_CALLBACK_EX, pvparam: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"] pub fn BluetoothRemoveDevice(paddress: *const BLUETOOTH_ADDRESS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothSdpEnumAttributes(psdpstream: *const u8, cbstreamsize: u32, pfncallback: PFN_BLUETOOTH_ENUM_ATTRIBUTES_CALLBACK, pvparam: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothSdpGetAttributeValue(precordstream: *const u8, cbrecordlength: u32, usattributeid: u16, pattributedata: *mut SDP_ELEMENT_DATA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothSdpGetContainerElementData(pcontainerstream: *const u8, cbcontainerlength: u32, pelement: *mut isize, pdata: *mut SDP_ELEMENT_DATA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothSdpGetElementData(psdpstream: *const u8, cbsdpstreamlength: u32, pdata: *mut SDP_ELEMENT_DATA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"] pub fn BluetoothSdpGetString(precordstream: *const u8, cbrecordlength: u32, pstringdata: *const SDP_STRING_TYPE_DATA, usstringoffset: u16, pszstring: ::windows_sys::core::PWSTR, pcchstringlength: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothSelectDevices(pbtsdp: *mut BLUETOOTH_SELECT_DEVICE_PARAMS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothSelectDevicesFree(pbtsdp: *mut BLUETOOTH_SELECT_DEVICE_PARAMS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothSendAuthenticationResponse(hradio: super::super::Foundation::HANDLE, pbtdi: *const BLUETOOTH_DEVICE_INFO, pszpasskey: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothSendAuthenticationResponseEx(hradioin: super::super::Foundation::HANDLE, pauthresponse: *const BLUETOOTH_AUTHENTICATE_RESPONSE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothSetLocalServiceInfo(hradioin: super::super::Foundation::HANDLE, pclassguid: *const ::windows_sys::core::GUID, ulinstance: u32, pserviceinfoin: *const BLUETOOTH_LOCAL_SERVICE_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothSetServiceState(hradio: super::super::Foundation::HANDLE, pbtdi: *const BLUETOOTH_DEVICE_INFO, pguidservice: *const ::windows_sys::core::GUID, dwserviceflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothUnregisterAuthentication(hreghandle: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BluetoothUpdateDeviceRecord(pbtdi: *const BLUETOOTH_DEVICE_INFO) -> u32; diff --git a/crates/libs/sys/src/Windows/Win32/Devices/Communication/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/Communication/mod.rs index 5e995b61bd..aca1e1618e 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/Communication/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/Communication/mod.rs @@ -3,89 +3,176 @@ extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BuildCommDCBA(lpdef: ::windows_sys::core::PCSTR, lpdcb: *mut DCB) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BuildCommDCBAndTimeoutsA(lpdef: ::windows_sys::core::PCSTR, lpdcb: *mut DCB, lpcommtimeouts: *mut COMMTIMEOUTS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BuildCommDCBAndTimeoutsW(lpdef: ::windows_sys::core::PCWSTR, lpdcb: *mut DCB, lpcommtimeouts: *mut COMMTIMEOUTS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BuildCommDCBW(lpdef: ::windows_sys::core::PCWSTR, lpdcb: *mut DCB) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ClearCommBreak(hfile: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ClearCommError(hfile: super::super::Foundation::HANDLE, lperrors: *mut CLEAR_COMM_ERROR_FLAGS, lpstat: *mut COMSTAT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CommConfigDialogA(lpszname: ::windows_sys::core::PCSTR, hwnd: super::super::Foundation::HWND, lpcc: *mut COMMCONFIG) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CommConfigDialogW(lpszname: ::windows_sys::core::PCWSTR, hwnd: super::super::Foundation::HWND, lpcc: *mut COMMCONFIG) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EscapeCommFunction(hfile: super::super::Foundation::HANDLE, dwfunc: ESCAPE_COMM_FUNCTION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCommConfig(hcommdev: super::super::Foundation::HANDLE, lpcc: *mut COMMCONFIG, lpdwsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCommMask(hfile: super::super::Foundation::HANDLE, lpevtmask: *mut COMM_EVENT_MASK) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCommModemStatus(hfile: super::super::Foundation::HANDLE, lpmodemstat: *mut MODEM_STATUS_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`*"] pub fn GetCommPorts(lpportnumbers: *mut u32, uportnumberscount: u32, puportnumbersfound: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCommProperties(hfile: super::super::Foundation::HANDLE, lpcommprop: *mut COMMPROP) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCommState(hfile: super::super::Foundation::HANDLE, lpdcb: *mut DCB) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCommTimeouts(hfile: super::super::Foundation::HANDLE, lpcommtimeouts: *mut COMMTIMEOUTS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDefaultCommConfigA(lpszname: ::windows_sys::core::PCSTR, lpcc: *mut COMMCONFIG, lpdwsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDefaultCommConfigW(lpszname: ::windows_sys::core::PCWSTR, lpcc: *mut COMMCONFIG, lpdwsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenCommPort(uportnumber: u32, dwdesiredaccess: u32, dwflagsandattributes: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PurgeComm(hfile: super::super::Foundation::HANDLE, dwflags: PURGE_COMM_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetCommBreak(hfile: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetCommConfig(hcommdev: super::super::Foundation::HANDLE, lpcc: *const COMMCONFIG, dwsize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetCommMask(hfile: super::super::Foundation::HANDLE, dwevtmask: COMM_EVENT_MASK) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetCommState(hfile: super::super::Foundation::HANDLE, lpdcb: *const DCB) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetCommTimeouts(hfile: super::super::Foundation::HANDLE, lpcommtimeouts: *const COMMTIMEOUTS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetDefaultCommConfigA(lpszname: ::windows_sys::core::PCSTR, lpcc: *const COMMCONFIG, dwsize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetDefaultCommConfigW(lpszname: ::windows_sys::core::PCWSTR, lpcc: *const COMMCONFIG, dwsize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupComm(hfile: super::super::Foundation::HANDLE, dwinqueue: u32, dwoutqueue: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TransmitCommChar(hfile: super::super::Foundation::HANDLE, cchar: super::super::Foundation::CHAR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WaitCommEvent(hfile: super::super::Foundation::HANDLE, lpevtmask: *mut COMM_EVENT_MASK, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs index c97915a751..bd7b5d348d 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs @@ -2,1509 +2,3231 @@ extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CMP_WaitNoPendingInstallEvents(dwtimeout: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Data_HtmlHelp\"`*"] #[cfg(feature = "Win32_Data_HtmlHelp")] pub fn CM_Add_Empty_Log_Conf(plclogconf: *mut usize, dndevinst: u32, priority: super::super::Data::HtmlHelp::PRIORITY, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Data_HtmlHelp\"`*"] #[cfg(feature = "Win32_Data_HtmlHelp")] pub fn CM_Add_Empty_Log_Conf_Ex(plclogconf: *mut usize, dndevinst: u32, priority: super::super::Data::HtmlHelp::PRIORITY, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Add_IDA(dndevinst: u32, pszid: ::windows_sys::core::PCSTR, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Add_IDW(dndevinst: u32, pszid: ::windows_sys::core::PCWSTR, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Add_ID_ExA(dndevinst: u32, pszid: ::windows_sys::core::PCSTR, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Add_ID_ExW(dndevinst: u32, pszid: ::windows_sys::core::PCWSTR, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Add_Range(ullstartvalue: u64, ullendvalue: u64, rlh: usize, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Add_Res_Des(prdresdes: *mut usize, lclogconf: usize, resourceid: u32, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Add_Res_Des_Ex(prdresdes: *mut usize, lclogconf: usize, resourceid: u32, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Connect_MachineA(uncservername: ::windows_sys::core::PCSTR, phmachine: *mut isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Connect_MachineW(uncservername: ::windows_sys::core::PCWSTR, phmachine: *mut isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Create_DevNodeA(pdndevinst: *mut u32, pdeviceid: ::windows_sys::core::PCSTR, dnparent: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Create_DevNodeW(pdndevinst: *mut u32, pdeviceid: ::windows_sys::core::PCWSTR, dnparent: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Create_DevNode_ExA(pdndevinst: *mut u32, pdeviceid: ::windows_sys::core::PCSTR, dnparent: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Create_DevNode_ExW(pdndevinst: *mut u32, pdeviceid: ::windows_sys::core::PCWSTR, dnparent: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Create_Range_List(prlh: *mut usize, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Delete_Class_Key(classguid: *const ::windows_sys::core::GUID, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Delete_Class_Key_Ex(classguid: *const ::windows_sys::core::GUID, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Delete_DevNode_Key(dndevnode: u32, ulhardwareprofile: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Delete_DevNode_Key_Ex(dndevnode: u32, ulhardwareprofile: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Delete_Device_Interface_KeyA(pszdeviceinterface: ::windows_sys::core::PCSTR, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Delete_Device_Interface_KeyW(pszdeviceinterface: ::windows_sys::core::PCWSTR, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Delete_Device_Interface_Key_ExA(pszdeviceinterface: ::windows_sys::core::PCSTR, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Delete_Device_Interface_Key_ExW(pszdeviceinterface: ::windows_sys::core::PCWSTR, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Delete_Range(ullstartvalue: u64, ullendvalue: u64, rlh: usize, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CM_Detect_Resource_Conflict(dndevinst: u32, resourceid: u32, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, pbconflictdetected: *mut super::super::Foundation::BOOL, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CM_Detect_Resource_Conflict_Ex(dndevinst: u32, resourceid: u32, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, pbconflictdetected: *mut super::super::Foundation::BOOL, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Disable_DevNode(dndevinst: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Disable_DevNode_Ex(dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Disconnect_Machine(hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Dup_Range_List(rlhold: usize, rlhnew: usize, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Enable_DevNode(dndevinst: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Enable_DevNode_Ex(dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Enumerate_Classes(ulclassindex: u32, classguid: *mut ::windows_sys::core::GUID, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Enumerate_Classes_Ex(ulclassindex: u32, classguid: *mut ::windows_sys::core::GUID, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Enumerate_EnumeratorsA(ulenumindex: u32, buffer: ::windows_sys::core::PSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Enumerate_EnumeratorsW(ulenumindex: u32, buffer: ::windows_sys::core::PWSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Enumerate_Enumerators_ExA(ulenumindex: u32, buffer: ::windows_sys::core::PSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Enumerate_Enumerators_ExW(ulenumindex: u32, buffer: ::windows_sys::core::PWSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Find_Range(pullstart: *mut u64, ullstart: u64, ullength: u32, ullalignment: u64, ullend: u64, rlh: usize, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_First_Range(rlh: usize, pullstart: *mut u64, pullend: *mut u64, preelement: *mut usize, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Free_Log_Conf(lclogconftobefreed: usize, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Free_Log_Conf_Ex(lclogconftobefreed: usize, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Free_Log_Conf_Handle(lclogconf: usize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Free_Range_List(rlh: usize, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Free_Res_Des(prdresdes: *mut usize, rdresdes: usize, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Free_Res_Des_Ex(prdresdes: *mut usize, rdresdes: usize, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Free_Res_Des_Handle(rdresdes: usize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Free_Resource_Conflict_Handle(clconflictlist: usize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Child(pdndevinst: *mut u32, dndevinst: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Child_Ex(pdndevinst: *mut u32, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Class_Key_NameA(classguid: *const ::windows_sys::core::GUID, pszkeyname: ::windows_sys::core::PSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Class_Key_NameW(classguid: *const ::windows_sys::core::GUID, pszkeyname: ::windows_sys::core::PWSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Class_Key_Name_ExA(classguid: *const ::windows_sys::core::GUID, pszkeyname: ::windows_sys::core::PSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Class_Key_Name_ExW(classguid: *const ::windows_sys::core::GUID, pszkeyname: ::windows_sys::core::PWSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Class_NameA(classguid: *const ::windows_sys::core::GUID, buffer: ::windows_sys::core::PSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Class_NameW(classguid: *const ::windows_sys::core::GUID, buffer: ::windows_sys::core::PWSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Class_Name_ExA(classguid: *const ::windows_sys::core::GUID, buffer: ::windows_sys::core::PSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Class_Name_ExW(classguid: *const ::windows_sys::core::GUID, buffer: ::windows_sys::core::PWSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn CM_Get_Class_PropertyW(classguid: *const ::windows_sys::core::GUID, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut u32, propertybuffer: *mut u8, propertybuffersize: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn CM_Get_Class_Property_ExW(classguid: *const ::windows_sys::core::GUID, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut u32, propertybuffer: *mut u8, propertybuffersize: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn CM_Get_Class_Property_Keys(classguid: *const ::windows_sys::core::GUID, propertykeyarray: *mut super::Properties::DEVPROPKEY, propertykeycount: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn CM_Get_Class_Property_Keys_Ex(classguid: *const ::windows_sys::core::GUID, propertykeyarray: *mut super::Properties::DEVPROPKEY, propertykeycount: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Class_Registry_PropertyA(classguid: *const ::windows_sys::core::GUID, ulproperty: u32, pulregdatatype: *mut u32, buffer: *mut ::core::ffi::c_void, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Class_Registry_PropertyW(classguid: *const ::windows_sys::core::GUID, ulproperty: u32, pulregdatatype: *mut u32, buffer: *mut ::core::ffi::c_void, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Depth(puldepth: *mut u32, dndevinst: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Depth_Ex(puldepth: *mut u32, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_DevNode_Custom_PropertyA(dndevinst: u32, pszcustompropertyname: ::windows_sys::core::PCSTR, pulregdatatype: *mut u32, buffer: *mut ::core::ffi::c_void, pullength: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_DevNode_Custom_PropertyW(dndevinst: u32, pszcustompropertyname: ::windows_sys::core::PCWSTR, pulregdatatype: *mut u32, buffer: *mut ::core::ffi::c_void, pullength: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_DevNode_Custom_Property_ExA(dndevinst: u32, pszcustompropertyname: ::windows_sys::core::PCSTR, pulregdatatype: *mut u32, buffer: *mut ::core::ffi::c_void, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_DevNode_Custom_Property_ExW(dndevinst: u32, pszcustompropertyname: ::windows_sys::core::PCWSTR, pulregdatatype: *mut u32, buffer: *mut ::core::ffi::c_void, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn CM_Get_DevNode_PropertyW(dndevinst: u32, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut u32, propertybuffer: *mut u8, propertybuffersize: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn CM_Get_DevNode_Property_ExW(dndevinst: u32, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut u32, propertybuffer: *mut u8, propertybuffersize: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn CM_Get_DevNode_Property_Keys(dndevinst: u32, propertykeyarray: *mut super::Properties::DEVPROPKEY, propertykeycount: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn CM_Get_DevNode_Property_Keys_Ex(dndevinst: u32, propertykeyarray: *mut super::Properties::DEVPROPKEY, propertykeycount: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_DevNode_Registry_PropertyA(dndevinst: u32, ulproperty: u32, pulregdatatype: *mut u32, buffer: *mut ::core::ffi::c_void, pullength: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_DevNode_Registry_PropertyW(dndevinst: u32, ulproperty: u32, pulregdatatype: *mut u32, buffer: *mut ::core::ffi::c_void, pullength: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_DevNode_Registry_Property_ExA(dndevinst: u32, ulproperty: u32, pulregdatatype: *mut u32, buffer: *mut ::core::ffi::c_void, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_DevNode_Registry_Property_ExW(dndevinst: u32, ulproperty: u32, pulregdatatype: *mut u32, buffer: *mut ::core::ffi::c_void, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_DevNode_Status(pulstatus: *mut u32, pulproblemnumber: *mut u32, dndevinst: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_DevNode_Status_Ex(pulstatus: *mut u32, pulproblemnumber: *mut u32, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_IDA(dndevinst: u32, buffer: ::windows_sys::core::PSTR, bufferlen: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_IDW(dndevinst: u32, buffer: ::windows_sys::core::PWSTR, bufferlen: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_ID_ExA(dndevinst: u32, buffer: ::windows_sys::core::PSTR, bufferlen: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_ID_ExW(dndevinst: u32, buffer: ::windows_sys::core::PWSTR, bufferlen: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_ID_ListA(pszfilter: ::windows_sys::core::PCSTR, buffer: ::windows_sys::core::PSTR, bufferlen: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_ID_ListW(pszfilter: ::windows_sys::core::PCWSTR, buffer: ::windows_sys::core::PWSTR, bufferlen: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_ID_List_ExA(pszfilter: ::windows_sys::core::PCSTR, buffer: ::windows_sys::core::PSTR, bufferlen: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_ID_List_ExW(pszfilter: ::windows_sys::core::PCWSTR, buffer: ::windows_sys::core::PWSTR, bufferlen: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_ID_List_SizeA(pullen: *mut u32, pszfilter: ::windows_sys::core::PCSTR, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_ID_List_SizeW(pullen: *mut u32, pszfilter: ::windows_sys::core::PCWSTR, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_ID_List_Size_ExA(pullen: *mut u32, pszfilter: ::windows_sys::core::PCSTR, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_ID_List_Size_ExW(pullen: *mut u32, pszfilter: ::windows_sys::core::PCWSTR, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_ID_Size(pullen: *mut u32, dndevinst: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_ID_Size_Ex(pullen: *mut u32, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_Interface_AliasA(pszdeviceinterface: ::windows_sys::core::PCSTR, aliasinterfaceguid: *const ::windows_sys::core::GUID, pszaliasdeviceinterface: ::windows_sys::core::PSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_Interface_AliasW(pszdeviceinterface: ::windows_sys::core::PCWSTR, aliasinterfaceguid: *const ::windows_sys::core::GUID, pszaliasdeviceinterface: ::windows_sys::core::PWSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_Interface_Alias_ExA(pszdeviceinterface: ::windows_sys::core::PCSTR, aliasinterfaceguid: *const ::windows_sys::core::GUID, pszaliasdeviceinterface: ::windows_sys::core::PSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_Interface_Alias_ExW(pszdeviceinterface: ::windows_sys::core::PCWSTR, aliasinterfaceguid: *const ::windows_sys::core::GUID, pszaliasdeviceinterface: ::windows_sys::core::PWSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_Interface_ListA(interfaceclassguid: *const ::windows_sys::core::GUID, pdeviceid: ::windows_sys::core::PCSTR, buffer: ::windows_sys::core::PSTR, bufferlen: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_Interface_ListW(interfaceclassguid: *const ::windows_sys::core::GUID, pdeviceid: ::windows_sys::core::PCWSTR, buffer: ::windows_sys::core::PWSTR, bufferlen: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_Interface_List_ExA(interfaceclassguid: *const ::windows_sys::core::GUID, pdeviceid: ::windows_sys::core::PCSTR, buffer: ::windows_sys::core::PSTR, bufferlen: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_Interface_List_ExW(interfaceclassguid: *const ::windows_sys::core::GUID, pdeviceid: ::windows_sys::core::PCWSTR, buffer: ::windows_sys::core::PWSTR, bufferlen: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_Interface_List_SizeA(pullen: *mut u32, interfaceclassguid: *const ::windows_sys::core::GUID, pdeviceid: ::windows_sys::core::PCSTR, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_Interface_List_SizeW(pullen: *mut u32, interfaceclassguid: *const ::windows_sys::core::GUID, pdeviceid: ::windows_sys::core::PCWSTR, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_Interface_List_Size_ExA(pullen: *mut u32, interfaceclassguid: *const ::windows_sys::core::GUID, pdeviceid: ::windows_sys::core::PCSTR, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Device_Interface_List_Size_ExW(pullen: *mut u32, interfaceclassguid: *const ::windows_sys::core::GUID, pdeviceid: ::windows_sys::core::PCWSTR, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn CM_Get_Device_Interface_PropertyW(pszdeviceinterface: ::windows_sys::core::PCWSTR, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut u32, propertybuffer: *mut u8, propertybuffersize: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn CM_Get_Device_Interface_Property_ExW(pszdeviceinterface: ::windows_sys::core::PCWSTR, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut u32, propertybuffer: *mut u8, propertybuffersize: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn CM_Get_Device_Interface_Property_KeysW(pszdeviceinterface: ::windows_sys::core::PCWSTR, propertykeyarray: *mut super::Properties::DEVPROPKEY, propertykeycount: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn CM_Get_Device_Interface_Property_Keys_ExW(pszdeviceinterface: ::windows_sys::core::PCWSTR, propertykeyarray: *mut super::Properties::DEVPROPKEY, propertykeycount: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_First_Log_Conf(plclogconf: *mut usize, dndevinst: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_First_Log_Conf_Ex(plclogconf: *mut usize, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Global_State(pulstate: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Global_State_Ex(pulstate: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_HW_Prof_FlagsA(pdeviceid: ::windows_sys::core::PCSTR, ulhardwareprofile: u32, pulvalue: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_HW_Prof_FlagsW(pdeviceid: ::windows_sys::core::PCWSTR, ulhardwareprofile: u32, pulvalue: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_HW_Prof_Flags_ExA(pdeviceid: ::windows_sys::core::PCSTR, ulhardwareprofile: u32, pulvalue: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_HW_Prof_Flags_ExW(pdeviceid: ::windows_sys::core::PCWSTR, ulhardwareprofile: u32, pulvalue: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CM_Get_Hardware_Profile_InfoA(ulindex: u32, phwprofileinfo: *mut HWProfileInfo_sA, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Hardware_Profile_InfoW(ulindex: u32, phwprofileinfo: *mut HWProfileInfo_sW, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CM_Get_Hardware_Profile_Info_ExA(ulindex: u32, phwprofileinfo: *mut HWProfileInfo_sA, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Hardware_Profile_Info_ExW(ulindex: u32, phwprofileinfo: *mut HWProfileInfo_sW, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Log_Conf_Priority(lclogconf: usize, ppriority: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Log_Conf_Priority_Ex(lclogconf: usize, ppriority: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Next_Log_Conf(plclogconf: *mut usize, lclogconf: usize, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Next_Log_Conf_Ex(plclogconf: *mut usize, lclogconf: usize, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Next_Res_Des(prdresdes: *mut usize, rdresdes: usize, forresource: u32, presourceid: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Next_Res_Des_Ex(prdresdes: *mut usize, rdresdes: usize, forresource: u32, presourceid: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Parent(pdndevinst: *mut u32, dndevinst: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Parent_Ex(pdndevinst: *mut u32, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Res_Des_Data(rdresdes: usize, buffer: *mut ::core::ffi::c_void, bufferlen: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Res_Des_Data_Ex(rdresdes: usize, buffer: *mut ::core::ffi::c_void, bufferlen: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Res_Des_Data_Size(pulsize: *mut u32, rdresdes: usize, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Res_Des_Data_Size_Ex(pulsize: *mut u32, rdresdes: usize, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Resource_Conflict_Count(clconflictlist: usize, pulcount: *mut u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CM_Get_Resource_Conflict_DetailsA(clconflictlist: usize, ulindex: u32, pconflictdetails: *mut CONFLICT_DETAILS_A) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Resource_Conflict_DetailsW(clconflictlist: usize, ulindex: u32, pconflictdetails: *mut CONFLICT_DETAILS_W) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Sibling(pdndevinst: *mut u32, dndevinst: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Sibling_Ex(pdndevinst: *mut u32, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Version() -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Get_Version_Ex(hmachine: isize) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Intersect_Range_List(rlhold1: usize, rlhold2: usize, rlhnew: usize, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Invert_Range_List(rlhold: usize, rlhnew: usize, ullmaxvalue: u64, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CM_Is_Dock_Station_Present(pbpresent: *mut super::super::Foundation::BOOL) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CM_Is_Dock_Station_Present_Ex(pbpresent: *mut super::super::Foundation::BOOL, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CM_Is_Version_Available(wversion: u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CM_Is_Version_Available_Ex(wversion: u16, hmachine: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Locate_DevNodeA(pdndevinst: *mut u32, pdeviceid: ::windows_sys::core::PCSTR, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Locate_DevNodeW(pdndevinst: *mut u32, pdeviceid: ::windows_sys::core::PCWSTR, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Locate_DevNode_ExA(pdndevinst: *mut u32, pdeviceid: ::windows_sys::core::PCSTR, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Locate_DevNode_ExW(pdndevinst: *mut u32, pdeviceid: ::windows_sys::core::PCWSTR, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_MapCrToWin32Err(cmreturncode: CONFIGRET, defaulterr: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Merge_Range_List(rlhold1: usize, rlhold2: usize, rlhnew: usize, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Modify_Res_Des(prdresdes: *mut usize, rdresdes: usize, resourceid: u32, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Modify_Res_Des_Ex(prdresdes: *mut usize, rdresdes: usize, resourceid: u32, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Move_DevNode(dnfromdevinst: u32, dntodevinst: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Move_DevNode_Ex(dnfromdevinst: u32, dntodevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Next_Range(preelement: *mut usize, pullstart: *mut u64, pullend: *mut u64, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn CM_Open_Class_KeyA(classguid: *const ::windows_sys::core::GUID, pszclassname: ::windows_sys::core::PCSTR, samdesired: u32, disposition: u32, phkclass: *mut super::super::System::Registry::HKEY, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn CM_Open_Class_KeyW(classguid: *const ::windows_sys::core::GUID, pszclassname: ::windows_sys::core::PCWSTR, samdesired: u32, disposition: u32, phkclass: *mut super::super::System::Registry::HKEY, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn CM_Open_Class_Key_ExA(classguid: *const ::windows_sys::core::GUID, pszclassname: ::windows_sys::core::PCSTR, samdesired: u32, disposition: u32, phkclass: *mut super::super::System::Registry::HKEY, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn CM_Open_Class_Key_ExW(classguid: *const ::windows_sys::core::GUID, pszclassname: ::windows_sys::core::PCWSTR, samdesired: u32, disposition: u32, phkclass: *mut super::super::System::Registry::HKEY, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn CM_Open_DevNode_Key(dndevnode: u32, samdesired: u32, ulhardwareprofile: u32, disposition: u32, phkdevice: *mut super::super::System::Registry::HKEY, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn CM_Open_DevNode_Key_Ex(dndevnode: u32, samdesired: u32, ulhardwareprofile: u32, disposition: u32, phkdevice: *mut super::super::System::Registry::HKEY, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn CM_Open_Device_Interface_KeyA(pszdeviceinterface: ::windows_sys::core::PCSTR, samdesired: u32, disposition: u32, phkdeviceinterface: *mut super::super::System::Registry::HKEY, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn CM_Open_Device_Interface_KeyW(pszdeviceinterface: ::windows_sys::core::PCWSTR, samdesired: u32, disposition: u32, phkdeviceinterface: *mut super::super::System::Registry::HKEY, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn CM_Open_Device_Interface_Key_ExA(pszdeviceinterface: ::windows_sys::core::PCSTR, samdesired: u32, disposition: u32, phkdeviceinterface: *mut super::super::System::Registry::HKEY, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn CM_Open_Device_Interface_Key_ExW(pszdeviceinterface: ::windows_sys::core::PCWSTR, samdesired: u32, disposition: u32, phkdeviceinterface: *mut super::super::System::Registry::HKEY, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Query_And_Remove_SubTreeA(dnancestor: u32, pvetotype: *mut PNP_VETO_TYPE, pszvetoname: ::windows_sys::core::PSTR, ulnamelength: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Query_And_Remove_SubTreeW(dnancestor: u32, pvetotype: *mut PNP_VETO_TYPE, pszvetoname: ::windows_sys::core::PWSTR, ulnamelength: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Query_And_Remove_SubTree_ExA(dnancestor: u32, pvetotype: *mut PNP_VETO_TYPE, pszvetoname: ::windows_sys::core::PSTR, ulnamelength: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Query_And_Remove_SubTree_ExW(dnancestor: u32, pvetotype: *mut PNP_VETO_TYPE, pszvetoname: ::windows_sys::core::PWSTR, ulnamelength: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Query_Arbitrator_Free_Data(pdata: *mut ::core::ffi::c_void, datalen: u32, dndevinst: u32, resourceid: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Query_Arbitrator_Free_Data_Ex(pdata: *mut ::core::ffi::c_void, datalen: u32, dndevinst: u32, resourceid: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Query_Arbitrator_Free_Size(pulsize: *mut u32, dndevinst: u32, resourceid: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Query_Arbitrator_Free_Size_Ex(pulsize: *mut u32, dndevinst: u32, resourceid: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Query_Remove_SubTree(dnancestor: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Query_Remove_SubTree_Ex(dnancestor: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Query_Resource_Conflict_List(pclconflictlist: *mut usize, dndevinst: u32, resourceid: u32, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Reenumerate_DevNode(dndevinst: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Reenumerate_DevNode_Ex(dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Register_Device_Driver(dndevinst: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Register_Device_Driver_Ex(dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Register_Device_InterfaceA(dndevinst: u32, interfaceclassguid: *const ::windows_sys::core::GUID, pszreference: ::windows_sys::core::PCSTR, pszdeviceinterface: ::windows_sys::core::PSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Register_Device_InterfaceW(dndevinst: u32, interfaceclassguid: *const ::windows_sys::core::GUID, pszreference: ::windows_sys::core::PCWSTR, pszdeviceinterface: ::windows_sys::core::PWSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Register_Device_Interface_ExA(dndevinst: u32, interfaceclassguid: *const ::windows_sys::core::GUID, pszreference: ::windows_sys::core::PCSTR, pszdeviceinterface: ::windows_sys::core::PSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Register_Device_Interface_ExW(dndevinst: u32, interfaceclassguid: *const ::windows_sys::core::GUID, pszreference: ::windows_sys::core::PCWSTR, pszdeviceinterface: ::windows_sys::core::PWSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CM_Register_Notification(pfilter: *const CM_NOTIFY_FILTER, pcontext: *const ::core::ffi::c_void, pcallback: PCM_NOTIFY_CALLBACK, pnotifycontext: *mut isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Remove_SubTree(dnancestor: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Remove_SubTree_Ex(dnancestor: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Request_Device_EjectA(dndevinst: u32, pvetotype: *mut PNP_VETO_TYPE, pszvetoname: ::windows_sys::core::PSTR, ulnamelength: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Request_Device_EjectW(dndevinst: u32, pvetotype: *mut PNP_VETO_TYPE, pszvetoname: ::windows_sys::core::PWSTR, ulnamelength: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Request_Device_Eject_ExA(dndevinst: u32, pvetotype: *mut PNP_VETO_TYPE, pszvetoname: ::windows_sys::core::PSTR, ulnamelength: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Request_Device_Eject_ExW(dndevinst: u32, pvetotype: *mut PNP_VETO_TYPE, pszvetoname: ::windows_sys::core::PWSTR, ulnamelength: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Request_Eject_PC() -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Request_Eject_PC_Ex(hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Run_Detection(ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Run_Detection_Ex(ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn CM_Set_Class_PropertyW(classguid: *const ::windows_sys::core::GUID, propertykey: *const super::Properties::DEVPROPKEY, propertytype: u32, propertybuffer: *const u8, propertybuffersize: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn CM_Set_Class_Property_ExW(classguid: *const ::windows_sys::core::GUID, propertykey: *const super::Properties::DEVPROPKEY, propertytype: u32, propertybuffer: *const u8, propertybuffersize: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Set_Class_Registry_PropertyA(classguid: *const ::windows_sys::core::GUID, ulproperty: u32, buffer: *const ::core::ffi::c_void, ullength: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Set_Class_Registry_PropertyW(classguid: *const ::windows_sys::core::GUID, ulproperty: u32, buffer: *const ::core::ffi::c_void, ullength: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Set_DevNode_Problem(dndevinst: u32, ulproblem: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Set_DevNode_Problem_Ex(dndevinst: u32, ulproblem: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn CM_Set_DevNode_PropertyW(dndevinst: u32, propertykey: *const super::Properties::DEVPROPKEY, propertytype: u32, propertybuffer: *const u8, propertybuffersize: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn CM_Set_DevNode_Property_ExW(dndevinst: u32, propertykey: *const super::Properties::DEVPROPKEY, propertytype: u32, propertybuffer: *const u8, propertybuffersize: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Set_DevNode_Registry_PropertyA(dndevinst: u32, ulproperty: u32, buffer: *const ::core::ffi::c_void, ullength: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Set_DevNode_Registry_PropertyW(dndevinst: u32, ulproperty: u32, buffer: *const ::core::ffi::c_void, ullength: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Set_DevNode_Registry_Property_ExA(dndevinst: u32, ulproperty: u32, buffer: *const ::core::ffi::c_void, ullength: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Set_DevNode_Registry_Property_ExW(dndevinst: u32, ulproperty: u32, buffer: *const ::core::ffi::c_void, ullength: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn CM_Set_Device_Interface_PropertyW(pszdeviceinterface: ::windows_sys::core::PCWSTR, propertykey: *const super::Properties::DEVPROPKEY, propertytype: u32, propertybuffer: *const u8, propertybuffersize: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn CM_Set_Device_Interface_Property_ExW(pszdeviceinterface: ::windows_sys::core::PCWSTR, propertykey: *const super::Properties::DEVPROPKEY, propertytype: u32, propertybuffer: *const u8, propertybuffersize: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Set_HW_Prof(ulhardwareprofile: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Set_HW_Prof_Ex(ulhardwareprofile: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Set_HW_Prof_FlagsA(pdeviceid: ::windows_sys::core::PCSTR, ulconfig: u32, ulvalue: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Set_HW_Prof_FlagsW(pdeviceid: ::windows_sys::core::PCWSTR, ulconfig: u32, ulvalue: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Set_HW_Prof_Flags_ExA(pdeviceid: ::windows_sys::core::PCSTR, ulconfig: u32, ulvalue: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Set_HW_Prof_Flags_ExW(pdeviceid: ::windows_sys::core::PCWSTR, ulconfig: u32, ulvalue: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Setup_DevNode(dndevinst: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Setup_DevNode_Ex(dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Test_Range_Available(ullstartvalue: u64, ullendvalue: u64, rlh: usize, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Uninstall_DevNode(dndevinst: u32, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Uninstall_DevNode_Ex(dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Unregister_Device_InterfaceA(pszdeviceinterface: ::windows_sys::core::PCSTR, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Unregister_Device_InterfaceW(pszdeviceinterface: ::windows_sys::core::PCWSTR, ulflags: u32) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Unregister_Device_Interface_ExA(pszdeviceinterface: ::windows_sys::core::PCSTR, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Unregister_Device_Interface_ExW(pszdeviceinterface: ::windows_sys::core::PCWSTR, ulflags: u32, hmachine: isize) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn CM_Unregister_Notification(notifycontext: HCMNOTIFICATION) -> CONFIGRET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DiInstallDevice(hwndparent: super::super::Foundation::HWND, deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, driverinfodata: *const SP_DRVINFO_DATA_V2_A, flags: u32, needreboot: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DiInstallDriverA(hwndparent: super::super::Foundation::HWND, infpath: ::windows_sys::core::PCSTR, flags: u32, needreboot: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DiInstallDriverW(hwndparent: super::super::Foundation::HWND, infpath: ::windows_sys::core::PCWSTR, flags: u32, needreboot: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DiRollbackDriver(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, hwndparent: super::super::Foundation::HWND, flags: u32, needreboot: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DiShowUpdateDevice(hwndparent: super::super::Foundation::HWND, deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, flags: u32, needreboot: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DiShowUpdateDriver(hwndparent: super::super::Foundation::HWND, filepath: ::windows_sys::core::PCWSTR, flags: u32, needreboot: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DiUninstallDevice(hwndparent: super::super::Foundation::HWND, deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, flags: u32, needreboot: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DiUninstallDriverA(hwndparent: super::super::Foundation::HWND, infpath: ::windows_sys::core::PCSTR, flags: u32, needreboot: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DiUninstallDriverW(hwndparent: super::super::Foundation::HWND, infpath: ::windows_sys::core::PCWSTR, flags: u32, needreboot: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InstallHinfSectionA(window: super::super::Foundation::HWND, modulehandle: super::super::Foundation::HINSTANCE, commandline: ::windows_sys::core::PCSTR, showcommand: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InstallHinfSectionW(window: super::super::Foundation::HWND, modulehandle: super::super::Foundation::HINSTANCE, commandline: ::windows_sys::core::PCWSTR, showcommand: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupAddInstallSectionToDiskSpaceListA(diskspace: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, layoutinfhandle: *const ::core::ffi::c_void, sectionname: ::windows_sys::core::PCSTR, reserved1: *mut ::core::ffi::c_void, reserved2: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupAddInstallSectionToDiskSpaceListW(diskspace: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, layoutinfhandle: *const ::core::ffi::c_void, sectionname: ::windows_sys::core::PCWSTR, reserved1: *mut ::core::ffi::c_void, reserved2: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupAddSectionToDiskSpaceListA(diskspace: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, listinfhandle: *const ::core::ffi::c_void, sectionname: ::windows_sys::core::PCSTR, operation: SETUP_FILE_OPERATION, reserved1: *mut ::core::ffi::c_void, reserved2: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupAddSectionToDiskSpaceListW(diskspace: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, listinfhandle: *const ::core::ffi::c_void, sectionname: ::windows_sys::core::PCWSTR, operation: SETUP_FILE_OPERATION, reserved1: *mut ::core::ffi::c_void, reserved2: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupAddToDiskSpaceListA(diskspace: *const ::core::ffi::c_void, targetfilespec: ::windows_sys::core::PCSTR, filesize: i64, operation: SETUP_FILE_OPERATION, reserved1: *mut ::core::ffi::c_void, reserved2: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupAddToDiskSpaceListW(diskspace: *const ::core::ffi::c_void, targetfilespec: ::windows_sys::core::PCWSTR, filesize: i64, operation: SETUP_FILE_OPERATION, reserved1: *mut ::core::ffi::c_void, reserved2: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupAddToSourceListA(flags: u32, source: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupAddToSourceListW(flags: u32, source: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupAdjustDiskSpaceListA(diskspace: *const ::core::ffi::c_void, driveroot: ::windows_sys::core::PCSTR, amount: i64, reserved1: *mut ::core::ffi::c_void, reserved2: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupAdjustDiskSpaceListW(diskspace: *const ::core::ffi::c_void, driveroot: ::windows_sys::core::PCWSTR, amount: i64, reserved1: *mut ::core::ffi::c_void, reserved2: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupBackupErrorA(hwndparent: super::super::Foundation::HWND, dialogtitle: ::windows_sys::core::PCSTR, sourcefile: ::windows_sys::core::PCSTR, targetfile: ::windows_sys::core::PCSTR, win32errorcode: u32, style: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupBackupErrorW(hwndparent: super::super::Foundation::HWND, dialogtitle: ::windows_sys::core::PCWSTR, sourcefile: ::windows_sys::core::PCWSTR, targetfile: ::windows_sys::core::PCWSTR, win32errorcode: u32, style: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupCancelTemporarySourceList() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupCloseFileQueue(queuehandle: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupCloseInfFile(infhandle: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupCloseLog(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupCommitFileQueueA(owner: super::super::Foundation::HWND, queuehandle: *const ::core::ffi::c_void, msghandler: PSP_FILE_CALLBACK_A, context: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupCommitFileQueueW(owner: super::super::Foundation::HWND, queuehandle: *const ::core::ffi::c_void, msghandler: PSP_FILE_CALLBACK_W, context: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupConfigureWmiFromInfSectionA(infhandle: *const ::core::ffi::c_void, sectionname: ::windows_sys::core::PCSTR, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupConfigureWmiFromInfSectionW(infhandle: *const ::core::ffi::c_void, sectionname: ::windows_sys::core::PCWSTR, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupCopyErrorA(hwndparent: super::super::Foundation::HWND, dialogtitle: ::windows_sys::core::PCSTR, diskname: ::windows_sys::core::PCSTR, pathtosource: ::windows_sys::core::PCSTR, sourcefile: ::windows_sys::core::PCSTR, targetpathfile: ::windows_sys::core::PCSTR, win32errorcode: u32, style: u32, pathbuffer: ::windows_sys::core::PSTR, pathbuffersize: u32, pathrequiredsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupCopyErrorW(hwndparent: super::super::Foundation::HWND, dialogtitle: ::windows_sys::core::PCWSTR, diskname: ::windows_sys::core::PCWSTR, pathtosource: ::windows_sys::core::PCWSTR, sourcefile: ::windows_sys::core::PCWSTR, targetpathfile: ::windows_sys::core::PCWSTR, win32errorcode: u32, style: u32, pathbuffer: ::windows_sys::core::PWSTR, pathbuffersize: u32, pathrequiredsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupCopyOEMInfA(sourceinffilename: ::windows_sys::core::PCSTR, oemsourcemedialocation: ::windows_sys::core::PCSTR, oemsourcemediatype: OEM_SOURCE_MEDIA_TYPE, copystyle: u32, destinationinffilename: ::windows_sys::core::PSTR, destinationinffilenamesize: u32, requiredsize: *mut u32, destinationinffilenamecomponent: *mut ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupCopyOEMInfW(sourceinffilename: ::windows_sys::core::PCWSTR, oemsourcemedialocation: ::windows_sys::core::PCWSTR, oemsourcemediatype: OEM_SOURCE_MEDIA_TYPE, copystyle: u32, destinationinffilename: ::windows_sys::core::PWSTR, destinationinffilenamesize: u32, requiredsize: *mut u32, destinationinffilenamecomponent: *mut ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupCreateDiskSpaceListA(reserved1: *mut ::core::ffi::c_void, reserved2: u32, flags: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupCreateDiskSpaceListW(reserved1: *mut ::core::ffi::c_void, reserved2: u32, flags: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupDecompressOrCopyFileA(sourcefilename: ::windows_sys::core::PCSTR, targetfilename: ::windows_sys::core::PCSTR, compressiontype: *const u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupDecompressOrCopyFileW(sourcefilename: ::windows_sys::core::PCWSTR, targetfilename: ::windows_sys::core::PCWSTR, compressiontype: *const u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupDefaultQueueCallbackA(context: *const ::core::ffi::c_void, notification: u32, param1: usize, param2: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupDefaultQueueCallbackW(context: *const ::core::ffi::c_void, notification: u32, param1: usize, param2: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDeleteErrorA(hwndparent: super::super::Foundation::HWND, dialogtitle: ::windows_sys::core::PCSTR, file: ::windows_sys::core::PCSTR, win32errorcode: u32, style: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDeleteErrorW(hwndparent: super::super::Foundation::HWND, dialogtitle: ::windows_sys::core::PCWSTR, file: ::windows_sys::core::PCWSTR, win32errorcode: u32, style: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDestroyDiskSpaceList(diskspace: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiAskForOEMDisk(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiBuildClassInfoList(flags: u32, classguidlist: *mut ::windows_sys::core::GUID, classguidlistsize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiBuildClassInfoListExA(flags: u32, classguidlist: *mut ::windows_sys::core::GUID, classguidlistsize: u32, requiredsize: *mut u32, machinename: ::windows_sys::core::PCSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiBuildClassInfoListExW(flags: u32, classguidlist: *mut ::windows_sys::core::GUID, classguidlistsize: u32, requiredsize: *mut u32, machinename: ::windows_sys::core::PCWSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiBuildDriverInfoList(deviceinfoset: HDEVINFO, deviceinfodata: *mut SP_DEVINFO_DATA, drivertype: SETUP_DI_BUILD_DRIVER_DRIVER_TYPE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiCallClassInstaller(installfunction: u32, deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiCancelDriverInfoSearch(deviceinfoset: HDEVINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiChangeState(deviceinfoset: HDEVINFO, deviceinfodata: *mut SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiClassGuidsFromNameA(classname: ::windows_sys::core::PCSTR, classguidlist: *mut ::windows_sys::core::GUID, classguidlistsize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiClassGuidsFromNameExA(classname: ::windows_sys::core::PCSTR, classguidlist: *mut ::windows_sys::core::GUID, classguidlistsize: u32, requiredsize: *mut u32, machinename: ::windows_sys::core::PCSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiClassGuidsFromNameExW(classname: ::windows_sys::core::PCWSTR, classguidlist: *mut ::windows_sys::core::GUID, classguidlistsize: u32, requiredsize: *mut u32, machinename: ::windows_sys::core::PCWSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiClassGuidsFromNameW(classname: ::windows_sys::core::PCWSTR, classguidlist: *mut ::windows_sys::core::GUID, classguidlistsize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiClassNameFromGuidA(classguid: *const ::windows_sys::core::GUID, classname: ::windows_sys::core::PSTR, classnamesize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiClassNameFromGuidExA(classguid: *const ::windows_sys::core::GUID, classname: ::windows_sys::core::PSTR, classnamesize: u32, requiredsize: *mut u32, machinename: ::windows_sys::core::PCSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiClassNameFromGuidExW(classguid: *const ::windows_sys::core::GUID, classname: ::windows_sys::core::PWSTR, classnamesize: u32, requiredsize: *mut u32, machinename: ::windows_sys::core::PCWSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiClassNameFromGuidW(classguid: *const ::windows_sys::core::GUID, classname: ::windows_sys::core::PWSTR, classnamesize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn SetupDiCreateDevRegKeyA(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, scope: u32, hwprofile: u32, keytype: u32, infhandle: *const ::core::ffi::c_void, infsectionname: ::windows_sys::core::PCSTR) -> super::super::System::Registry::HKEY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn SetupDiCreateDevRegKeyW(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, scope: u32, hwprofile: u32, keytype: u32, infhandle: *const ::core::ffi::c_void, infsectionname: ::windows_sys::core::PCWSTR) -> super::super::System::Registry::HKEY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiCreateDeviceInfoA(deviceinfoset: HDEVINFO, devicename: ::windows_sys::core::PCSTR, classguid: *const ::windows_sys::core::GUID, devicedescription: ::windows_sys::core::PCSTR, hwndparent: super::super::Foundation::HWND, creationflags: u32, deviceinfodata: *mut SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiCreateDeviceInfoList(classguid: *const ::windows_sys::core::GUID, hwndparent: super::super::Foundation::HWND) -> HDEVINFO; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiCreateDeviceInfoListExA(classguid: *const ::windows_sys::core::GUID, hwndparent: super::super::Foundation::HWND, machinename: ::windows_sys::core::PCSTR, reserved: *mut ::core::ffi::c_void) -> HDEVINFO; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiCreateDeviceInfoListExW(classguid: *const ::windows_sys::core::GUID, hwndparent: super::super::Foundation::HWND, machinename: ::windows_sys::core::PCWSTR, reserved: *mut ::core::ffi::c_void) -> HDEVINFO; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiCreateDeviceInfoW(deviceinfoset: HDEVINFO, devicename: ::windows_sys::core::PCWSTR, classguid: *const ::windows_sys::core::GUID, devicedescription: ::windows_sys::core::PCWSTR, hwndparent: super::super::Foundation::HWND, creationflags: u32, deviceinfodata: *mut SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiCreateDeviceInterfaceA(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, interfaceclassguid: *const ::windows_sys::core::GUID, referencestring: ::windows_sys::core::PCSTR, creationflags: u32, deviceinterfacedata: *mut SP_DEVICE_INTERFACE_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn SetupDiCreateDeviceInterfaceRegKeyA(deviceinfoset: HDEVINFO, deviceinterfacedata: *const SP_DEVICE_INTERFACE_DATA, reserved: u32, samdesired: u32, infhandle: *const ::core::ffi::c_void, infsectionname: ::windows_sys::core::PCSTR) -> super::super::System::Registry::HKEY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn SetupDiCreateDeviceInterfaceRegKeyW(deviceinfoset: HDEVINFO, deviceinterfacedata: *const SP_DEVICE_INTERFACE_DATA, reserved: u32, samdesired: u32, infhandle: *const ::core::ffi::c_void, infsectionname: ::windows_sys::core::PCWSTR) -> super::super::System::Registry::HKEY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiCreateDeviceInterfaceW(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, interfaceclassguid: *const ::windows_sys::core::GUID, referencestring: ::windows_sys::core::PCWSTR, creationflags: u32, deviceinterfacedata: *mut SP_DEVICE_INTERFACE_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiDeleteDevRegKey(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, scope: u32, hwprofile: u32, keytype: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiDeleteDeviceInfo(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiDeleteDeviceInterfaceData(deviceinfoset: HDEVINFO, deviceinterfacedata: *const SP_DEVICE_INTERFACE_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiDeleteDeviceInterfaceRegKey(deviceinfoset: HDEVINFO, deviceinterfacedata: *const SP_DEVICE_INTERFACE_DATA, reserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] pub fn SetupDiDestroyClassImageList(classimagelistdata: *const SP_CLASSIMAGELIST_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiDestroyDeviceInfoList(deviceinfoset: HDEVINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiDestroyDriverInfoList(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, drivertype: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn SetupDiDrawMiniIcon(hdc: super::super::Graphics::Gdi::HDC, rc: super::super::Foundation::RECT, miniiconindex: i32, flags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiEnumDeviceInfo(deviceinfoset: HDEVINFO, memberindex: u32, deviceinfodata: *mut SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiEnumDeviceInterfaces(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, interfaceclassguid: *const ::windows_sys::core::GUID, memberindex: u32, deviceinterfacedata: *mut SP_DEVICE_INTERFACE_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiEnumDriverInfoA(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, drivertype: u32, memberindex: u32, driverinfodata: *mut SP_DRVINFO_DATA_V2_A) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiEnumDriverInfoW(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, drivertype: u32, memberindex: u32, driverinfodata: *mut SP_DRVINFO_DATA_V2_W) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] pub fn SetupDiGetActualModelsSectionA(context: *const INFCONTEXT, alternateplatforminfo: *const SP_ALTPLATFORM_INFO_V2, infsectionwithext: ::windows_sys::core::PSTR, infsectionwithextsize: u32, requiredsize: *mut u32, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] pub fn SetupDiGetActualModelsSectionW(context: *const INFCONTEXT, alternateplatforminfo: *const SP_ALTPLATFORM_INFO_V2, infsectionwithext: ::windows_sys::core::PWSTR, infsectionwithextsize: u32, requiredsize: *mut u32, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetActualSectionToInstallA(infhandle: *const ::core::ffi::c_void, infsectionname: ::windows_sys::core::PCSTR, infsectionwithext: ::windows_sys::core::PSTR, infsectionwithextsize: u32, requiredsize: *mut u32, extension: *mut ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] pub fn SetupDiGetActualSectionToInstallExA(infhandle: *const ::core::ffi::c_void, infsectionname: ::windows_sys::core::PCSTR, alternateplatforminfo: *const SP_ALTPLATFORM_INFO_V2, infsectionwithext: ::windows_sys::core::PSTR, infsectionwithextsize: u32, requiredsize: *mut u32, extension: *mut ::windows_sys::core::PSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] pub fn SetupDiGetActualSectionToInstallExW(infhandle: *const ::core::ffi::c_void, infsectionname: ::windows_sys::core::PCWSTR, alternateplatforminfo: *const SP_ALTPLATFORM_INFO_V2, infsectionwithext: ::windows_sys::core::PWSTR, infsectionwithextsize: u32, requiredsize: *mut u32, extension: *mut ::windows_sys::core::PWSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetActualSectionToInstallW(infhandle: *const ::core::ffi::c_void, infsectionname: ::windows_sys::core::PCWSTR, infsectionwithext: ::windows_sys::core::PWSTR, infsectionwithextsize: u32, requiredsize: *mut u32, extension: *mut ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetClassBitmapIndex(classguid: *const ::windows_sys::core::GUID, miniiconindex: *mut i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetClassDescriptionA(classguid: *const ::windows_sys::core::GUID, classdescription: ::windows_sys::core::PSTR, classdescriptionsize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetClassDescriptionExA(classguid: *const ::windows_sys::core::GUID, classdescription: ::windows_sys::core::PSTR, classdescriptionsize: u32, requiredsize: *mut u32, machinename: ::windows_sys::core::PCSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetClassDescriptionExW(classguid: *const ::windows_sys::core::GUID, classdescription: ::windows_sys::core::PWSTR, classdescriptionsize: u32, requiredsize: *mut u32, machinename: ::windows_sys::core::PCWSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetClassDescriptionW(classguid: *const ::windows_sys::core::GUID, classdescription: ::windows_sys::core::PWSTR, classdescriptionsize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] pub fn SetupDiGetClassDevPropertySheetsA(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, propertysheetheader: *const super::super::UI::Controls::PROPSHEETHEADERA_V2, propertysheetheaderpagelistsize: u32, requiredsize: *mut u32, propertysheettype: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] pub fn SetupDiGetClassDevPropertySheetsW(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, propertysheetheader: *const super::super::UI::Controls::PROPSHEETHEADERW_V2, propertysheetheaderpagelistsize: u32, requiredsize: *mut u32, propertysheettype: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetClassDevsA(classguid: *const ::windows_sys::core::GUID, enumerator: ::windows_sys::core::PCSTR, hwndparent: super::super::Foundation::HWND, flags: u32) -> HDEVINFO; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetClassDevsExA(classguid: *const ::windows_sys::core::GUID, enumerator: ::windows_sys::core::PCSTR, hwndparent: super::super::Foundation::HWND, flags: u32, deviceinfoset: HDEVINFO, machinename: ::windows_sys::core::PCSTR, reserved: *mut ::core::ffi::c_void) -> HDEVINFO; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetClassDevsExW(classguid: *const ::windows_sys::core::GUID, enumerator: ::windows_sys::core::PCWSTR, hwndparent: super::super::Foundation::HWND, flags: u32, deviceinfoset: HDEVINFO, machinename: ::windows_sys::core::PCWSTR, reserved: *mut ::core::ffi::c_void) -> HDEVINFO; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetClassDevsW(classguid: *const ::windows_sys::core::GUID, enumerator: ::windows_sys::core::PCWSTR, hwndparent: super::super::Foundation::HWND, flags: u32) -> HDEVINFO; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] pub fn SetupDiGetClassImageIndex(classimagelistdata: *const SP_CLASSIMAGELIST_DATA, classguid: *const ::windows_sys::core::GUID, imageindex: *mut i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] pub fn SetupDiGetClassImageList(classimagelistdata: *mut SP_CLASSIMAGELIST_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] pub fn SetupDiGetClassImageListExA(classimagelistdata: *mut SP_CLASSIMAGELIST_DATA, machinename: ::windows_sys::core::PCSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] pub fn SetupDiGetClassImageListExW(classimagelistdata: *mut SP_CLASSIMAGELIST_DATA, machinename: ::windows_sys::core::PCWSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetClassInstallParamsA(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, classinstallparams: *mut SP_CLASSINSTALL_HEADER, classinstallparamssize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetClassInstallParamsW(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, classinstallparams: *mut SP_CLASSINSTALL_HEADER, classinstallparamssize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] pub fn SetupDiGetClassPropertyExW(classguid: *const ::windows_sys::core::GUID, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut u32, propertybuffer: *mut u8, propertybuffersize: u32, requiredsize: *mut u32, flags: u32, machinename: ::windows_sys::core::PCWSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] pub fn SetupDiGetClassPropertyKeys(classguid: *const ::windows_sys::core::GUID, propertykeyarray: *mut super::Properties::DEVPROPKEY, propertykeycount: u32, requiredpropertykeycount: *mut u32, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] pub fn SetupDiGetClassPropertyKeysExW(classguid: *const ::windows_sys::core::GUID, propertykeyarray: *mut super::Properties::DEVPROPKEY, propertykeycount: u32, requiredpropertykeycount: *mut u32, flags: u32, machinename: ::windows_sys::core::PCWSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] pub fn SetupDiGetClassPropertyW(classguid: *const ::windows_sys::core::GUID, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut u32, propertybuffer: *mut u8, propertybuffersize: u32, requiredsize: *mut u32, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetClassRegistryPropertyA(classguid: *const ::windows_sys::core::GUID, property: u32, propertyregdatatype: *mut u32, propertybuffer: *mut u8, propertybuffersize: u32, requiredsize: *mut u32, machinename: ::windows_sys::core::PCSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetClassRegistryPropertyW(classguid: *const ::windows_sys::core::GUID, property: u32, propertyregdatatype: *mut u32, propertybuffer: *mut u8, propertybuffersize: u32, requiredsize: *mut u32, machinename: ::windows_sys::core::PCWSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetCustomDevicePropertyA(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, custompropertyname: ::windows_sys::core::PCSTR, flags: u32, propertyregdatatype: *mut u32, propertybuffer: *mut u8, propertybuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetCustomDevicePropertyW(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, custompropertyname: ::windows_sys::core::PCWSTR, flags: u32, propertyregdatatype: *mut u32, propertybuffer: *mut u8, propertybuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetDeviceInfoListClass(deviceinfoset: HDEVINFO, classguid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetDeviceInfoListDetailA(deviceinfoset: HDEVINFO, deviceinfosetdetaildata: *mut SP_DEVINFO_LIST_DETAIL_DATA_A) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetDeviceInfoListDetailW(deviceinfoset: HDEVINFO, deviceinfosetdetaildata: *mut SP_DEVINFO_LIST_DETAIL_DATA_W) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetDeviceInstallParamsA(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, deviceinstallparams: *mut SP_DEVINSTALL_PARAMS_A) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetDeviceInstallParamsW(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, deviceinstallparams: *mut SP_DEVINSTALL_PARAMS_W) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetDeviceInstanceIdA(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, deviceinstanceid: ::windows_sys::core::PSTR, deviceinstanceidsize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetDeviceInstanceIdW(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, deviceinstanceid: ::windows_sys::core::PWSTR, deviceinstanceidsize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetDeviceInterfaceAlias(deviceinfoset: HDEVINFO, deviceinterfacedata: *const SP_DEVICE_INTERFACE_DATA, aliasinterfaceclassguid: *const ::windows_sys::core::GUID, aliasdeviceinterfacedata: *mut SP_DEVICE_INTERFACE_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetDeviceInterfaceDetailA(deviceinfoset: HDEVINFO, deviceinterfacedata: *const SP_DEVICE_INTERFACE_DATA, deviceinterfacedetaildata: *mut SP_DEVICE_INTERFACE_DETAIL_DATA_A, deviceinterfacedetaildatasize: u32, requiredsize: *mut u32, deviceinfodata: *mut SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetDeviceInterfaceDetailW(deviceinfoset: HDEVINFO, deviceinterfacedata: *const SP_DEVICE_INTERFACE_DATA, deviceinterfacedetaildata: *mut SP_DEVICE_INTERFACE_DETAIL_DATA_W, deviceinterfacedetaildatasize: u32, requiredsize: *mut u32, deviceinfodata: *mut SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] pub fn SetupDiGetDeviceInterfacePropertyKeys(deviceinfoset: HDEVINFO, deviceinterfacedata: *const SP_DEVICE_INTERFACE_DATA, propertykeyarray: *mut super::Properties::DEVPROPKEY, propertykeycount: u32, requiredpropertykeycount: *mut u32, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] pub fn SetupDiGetDeviceInterfacePropertyW(deviceinfoset: HDEVINFO, deviceinterfacedata: *const SP_DEVICE_INTERFACE_DATA, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut u32, propertybuffer: *mut u8, propertybuffersize: u32, requiredsize: *mut u32, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] pub fn SetupDiGetDevicePropertyKeys(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, propertykeyarray: *mut super::Properties::DEVPROPKEY, propertykeycount: u32, requiredpropertykeycount: *mut u32, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] pub fn SetupDiGetDevicePropertyW(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut u32, propertybuffer: *mut u8, propertybuffersize: u32, requiredsize: *mut u32, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetDeviceRegistryPropertyA(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, property: u32, propertyregdatatype: *mut u32, propertybuffer: *mut u8, propertybuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetDeviceRegistryPropertyW(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, property: u32, propertyregdatatype: *mut u32, propertybuffer: *mut u8, propertybuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetDriverInfoDetailA(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, driverinfodata: *const SP_DRVINFO_DATA_V2_A, driverinfodetaildata: *mut SP_DRVINFO_DETAIL_DATA_A, driverinfodetaildatasize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetDriverInfoDetailW(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, driverinfodata: *const SP_DRVINFO_DATA_V2_W, driverinfodetaildata: *mut SP_DRVINFO_DETAIL_DATA_W, driverinfodetaildatasize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetDriverInstallParamsA(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, driverinfodata: *const SP_DRVINFO_DATA_V2_A, driverinstallparams: *mut SP_DRVINSTALL_PARAMS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetDriverInstallParamsW(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, driverinfodata: *const SP_DRVINFO_DATA_V2_W, driverinstallparams: *mut SP_DRVINSTALL_PARAMS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetHwProfileFriendlyNameA(hwprofile: u32, friendlyname: ::windows_sys::core::PSTR, friendlynamesize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetHwProfileFriendlyNameExA(hwprofile: u32, friendlyname: ::windows_sys::core::PSTR, friendlynamesize: u32, requiredsize: *mut u32, machinename: ::windows_sys::core::PCSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetHwProfileFriendlyNameExW(hwprofile: u32, friendlyname: ::windows_sys::core::PWSTR, friendlynamesize: u32, requiredsize: *mut u32, machinename: ::windows_sys::core::PCWSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetHwProfileFriendlyNameW(hwprofile: u32, friendlyname: ::windows_sys::core::PWSTR, friendlynamesize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetHwProfileList(hwprofilelist: *mut u32, hwprofilelistsize: u32, requiredsize: *mut u32, currentlyactiveindex: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetHwProfileListExA(hwprofilelist: *mut u32, hwprofilelistsize: u32, requiredsize: *mut u32, currentlyactiveindex: *mut u32, machinename: ::windows_sys::core::PCSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetHwProfileListExW(hwprofilelist: *mut u32, hwprofilelistsize: u32, requiredsize: *mut u32, currentlyactiveindex: *mut u32, machinename: ::windows_sys::core::PCWSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetINFClassA(infname: ::windows_sys::core::PCSTR, classguid: *mut ::windows_sys::core::GUID, classname: ::windows_sys::core::PSTR, classnamesize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetINFClassW(infname: ::windows_sys::core::PCWSTR, classguid: *mut ::windows_sys::core::GUID, classname: ::windows_sys::core::PWSTR, classnamesize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetSelectedDevice(deviceinfoset: HDEVINFO, deviceinfodata: *mut SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetSelectedDriverA(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, driverinfodata: *mut SP_DRVINFO_DATA_V2_A) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiGetSelectedDriverW(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, driverinfodata: *mut SP_DRVINFO_DATA_V2_W) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] pub fn SetupDiGetWizardPage(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, installwizarddata: *const SP_INSTALLWIZARD_DATA, pagetype: u32, flags: u32) -> super::super::UI::Controls::HPROPSHEETPAGE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiInstallClassA(hwndparent: super::super::Foundation::HWND, inffilename: ::windows_sys::core::PCSTR, flags: u32, filequeue: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiInstallClassExA(hwndparent: super::super::Foundation::HWND, inffilename: ::windows_sys::core::PCSTR, flags: u32, filequeue: *const ::core::ffi::c_void, interfaceclassguid: *const ::windows_sys::core::GUID, reserved1: *mut ::core::ffi::c_void, reserved2: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiInstallClassExW(hwndparent: super::super::Foundation::HWND, inffilename: ::windows_sys::core::PCWSTR, flags: u32, filequeue: *const ::core::ffi::c_void, interfaceclassguid: *const ::windows_sys::core::GUID, reserved1: *mut ::core::ffi::c_void, reserved2: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiInstallClassW(hwndparent: super::super::Foundation::HWND, inffilename: ::windows_sys::core::PCWSTR, flags: u32, filequeue: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiInstallDevice(deviceinfoset: HDEVINFO, deviceinfodata: *mut SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiInstallDeviceInterfaces(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiInstallDriverFiles(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn SetupDiLoadClassIcon(classguid: *const ::windows_sys::core::GUID, largeicon: *mut super::super::UI::WindowsAndMessaging::HICON, miniiconindex: *mut i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn SetupDiLoadDeviceIcon(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, cxicon: u32, cyicon: u32, flags: u32, hicon: *mut super::super::UI::WindowsAndMessaging::HICON) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn SetupDiOpenClassRegKey(classguid: *const ::windows_sys::core::GUID, samdesired: u32) -> super::super::System::Registry::HKEY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn SetupDiOpenClassRegKeyExA(classguid: *const ::windows_sys::core::GUID, samdesired: u32, flags: u32, machinename: ::windows_sys::core::PCSTR, reserved: *mut ::core::ffi::c_void) -> super::super::System::Registry::HKEY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn SetupDiOpenClassRegKeyExW(classguid: *const ::windows_sys::core::GUID, samdesired: u32, flags: u32, machinename: ::windows_sys::core::PCWSTR, reserved: *mut ::core::ffi::c_void) -> super::super::System::Registry::HKEY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn SetupDiOpenDevRegKey(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, scope: u32, hwprofile: u32, keytype: u32, samdesired: u32) -> super::super::System::Registry::HKEY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiOpenDeviceInfoA(deviceinfoset: HDEVINFO, deviceinstanceid: ::windows_sys::core::PCSTR, hwndparent: super::super::Foundation::HWND, openflags: u32, deviceinfodata: *mut SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiOpenDeviceInfoW(deviceinfoset: HDEVINFO, deviceinstanceid: ::windows_sys::core::PCWSTR, hwndparent: super::super::Foundation::HWND, openflags: u32, deviceinfodata: *mut SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiOpenDeviceInterfaceA(deviceinfoset: HDEVINFO, devicepath: ::windows_sys::core::PCSTR, openflags: u32, deviceinterfacedata: *mut SP_DEVICE_INTERFACE_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn SetupDiOpenDeviceInterfaceRegKey(deviceinfoset: HDEVINFO, deviceinterfacedata: *const SP_DEVICE_INTERFACE_DATA, reserved: u32, samdesired: u32) -> super::super::System::Registry::HKEY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiOpenDeviceInterfaceW(deviceinfoset: HDEVINFO, devicepath: ::windows_sys::core::PCWSTR, openflags: u32, deviceinterfacedata: *mut SP_DEVICE_INTERFACE_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiRegisterCoDeviceInstallers(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiRegisterDeviceInfo(deviceinfoset: HDEVINFO, deviceinfodata: *mut SP_DEVINFO_DATA, flags: u32, compareproc: PSP_DETSIG_CMPPROC, comparecontext: *const ::core::ffi::c_void, dupdeviceinfodata: *mut SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiRemoveDevice(deviceinfoset: HDEVINFO, deviceinfodata: *mut SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiRemoveDeviceInterface(deviceinfoset: HDEVINFO, deviceinterfacedata: *mut SP_DEVICE_INTERFACE_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiRestartDevices(deviceinfoset: HDEVINFO, deviceinfodata: *mut SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiSelectBestCompatDrv(deviceinfoset: HDEVINFO, deviceinfodata: *mut SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiSelectDevice(deviceinfoset: HDEVINFO, deviceinfodata: *mut SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiSelectOEMDrv(hwndparent: super::super::Foundation::HWND, deviceinfoset: HDEVINFO, deviceinfodata: *mut SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiSetClassInstallParamsA(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, classinstallparams: *const SP_CLASSINSTALL_HEADER, classinstallparamssize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiSetClassInstallParamsW(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, classinstallparams: *const SP_CLASSINSTALL_HEADER, classinstallparamssize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] pub fn SetupDiSetClassPropertyExW(classguid: *const ::windows_sys::core::GUID, propertykey: *const super::Properties::DEVPROPKEY, propertytype: u32, propertybuffer: *const u8, propertybuffersize: u32, flags: u32, machinename: ::windows_sys::core::PCWSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] pub fn SetupDiSetClassPropertyW(classguid: *const ::windows_sys::core::GUID, propertykey: *const super::Properties::DEVPROPKEY, propertytype: u32, propertybuffer: *const u8, propertybuffersize: u32, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiSetClassRegistryPropertyA(classguid: *const ::windows_sys::core::GUID, property: u32, propertybuffer: *const u8, propertybuffersize: u32, machinename: ::windows_sys::core::PCSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiSetClassRegistryPropertyW(classguid: *const ::windows_sys::core::GUID, property: u32, propertybuffer: *const u8, propertybuffersize: u32, machinename: ::windows_sys::core::PCWSTR, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiSetDeviceInstallParamsA(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, deviceinstallparams: *const SP_DEVINSTALL_PARAMS_A) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiSetDeviceInstallParamsW(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, deviceinstallparams: *const SP_DEVINSTALL_PARAMS_W) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiSetDeviceInterfaceDefault(deviceinfoset: HDEVINFO, deviceinterfacedata: *mut SP_DEVICE_INTERFACE_DATA, flags: u32, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] pub fn SetupDiSetDeviceInterfacePropertyW(deviceinfoset: HDEVINFO, deviceinterfacedata: *const SP_DEVICE_INTERFACE_DATA, propertykey: *const super::Properties::DEVPROPKEY, propertytype: u32, propertybuffer: *const u8, propertybuffersize: u32, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] pub fn SetupDiSetDevicePropertyW(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, propertykey: *const super::Properties::DEVPROPKEY, propertytype: u32, propertybuffer: *const u8, propertybuffersize: u32, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiSetDeviceRegistryPropertyA(deviceinfoset: HDEVINFO, deviceinfodata: *mut SP_DEVINFO_DATA, property: u32, propertybuffer: *const u8, propertybuffersize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiSetDeviceRegistryPropertyW(deviceinfoset: HDEVINFO, deviceinfodata: *mut SP_DEVINFO_DATA, property: u32, propertybuffer: *const u8, propertybuffersize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiSetDriverInstallParamsA(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, driverinfodata: *const SP_DRVINFO_DATA_V2_A, driverinstallparams: *const SP_DRVINSTALL_PARAMS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiSetDriverInstallParamsW(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, driverinfodata: *const SP_DRVINFO_DATA_V2_W, driverinstallparams: *const SP_DRVINSTALL_PARAMS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiSetSelectedDevice(deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiSetSelectedDriverA(deviceinfoset: HDEVINFO, deviceinfodata: *mut SP_DEVINFO_DATA, driverinfodata: *mut SP_DRVINFO_DATA_V2_A) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiSetSelectedDriverW(deviceinfoset: HDEVINFO, deviceinfodata: *mut SP_DEVINFO_DATA, driverinfodata: *mut SP_DRVINFO_DATA_V2_W) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupDiUnremoveDevice(deviceinfoset: HDEVINFO, deviceinfodata: *mut SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupDuplicateDiskSpaceListA(diskspace: *const ::core::ffi::c_void, reserved1: *mut ::core::ffi::c_void, reserved2: u32, flags: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupDuplicateDiskSpaceListW(diskspace: *const ::core::ffi::c_void, reserved1: *mut ::core::ffi::c_void, reserved2: u32, flags: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupEnumInfSectionsA(infhandle: *const ::core::ffi::c_void, index: u32, buffer: ::windows_sys::core::PSTR, size: u32, sizeneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupEnumInfSectionsW(infhandle: *const ::core::ffi::c_void, index: u32, buffer: ::windows_sys::core::PWSTR, size: u32, sizeneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupFindFirstLineA(infhandle: *const ::core::ffi::c_void, section: ::windows_sys::core::PCSTR, key: ::windows_sys::core::PCSTR, context: *mut INFCONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupFindFirstLineW(infhandle: *const ::core::ffi::c_void, section: ::windows_sys::core::PCWSTR, key: ::windows_sys::core::PCWSTR, context: *mut INFCONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupFindNextLine(contextin: *const INFCONTEXT, contextout: *mut INFCONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupFindNextMatchLineA(contextin: *const INFCONTEXT, key: ::windows_sys::core::PCSTR, contextout: *mut INFCONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupFindNextMatchLineW(contextin: *const INFCONTEXT, key: ::windows_sys::core::PCWSTR, contextout: *mut INFCONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupFreeSourceListA(list: *mut *mut ::windows_sys::core::PSTR, count: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupFreeSourceListW(list: *mut *mut ::windows_sys::core::PWSTR, count: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetBackupInformationA(queuehandle: *const ::core::ffi::c_void, backupparams: *mut SP_BACKUP_QUEUE_PARAMS_V2_A) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetBackupInformationW(queuehandle: *const ::core::ffi::c_void, backupparams: *mut SP_BACKUP_QUEUE_PARAMS_V2_W) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetBinaryField(context: *const INFCONTEXT, fieldindex: u32, returnbuffer: *mut u8, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupGetFieldCount(context: *const INFCONTEXT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupGetFileCompressionInfoA(sourcefilename: ::windows_sys::core::PCSTR, actualsourcefilename: *mut ::windows_sys::core::PSTR, sourcefilesize: *mut u32, targetfilesize: *mut u32, compressiontype: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetFileCompressionInfoExA(sourcefilename: ::windows_sys::core::PCSTR, actualsourcefilenamebuffer: ::windows_sys::core::PCSTR, actualsourcefilenamebufferlen: u32, requiredbufferlen: *mut u32, sourcefilesize: *mut u32, targetfilesize: *mut u32, compressiontype: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetFileCompressionInfoExW(sourcefilename: ::windows_sys::core::PCWSTR, actualsourcefilenamebuffer: ::windows_sys::core::PCWSTR, actualsourcefilenamebufferlen: u32, requiredbufferlen: *mut u32, sourcefilesize: *mut u32, targetfilesize: *mut u32, compressiontype: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupGetFileCompressionInfoW(sourcefilename: ::windows_sys::core::PCWSTR, actualsourcefilename: *mut ::windows_sys::core::PWSTR, sourcefilesize: *mut u32, targetfilesize: *mut u32, compressiontype: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetFileQueueCount(filequeue: *const ::core::ffi::c_void, subqueuefileop: u32, numoperations: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetFileQueueFlags(filequeue: *const ::core::ffi::c_void, flags: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] pub fn SetupGetInfDriverStoreLocationA(filename: ::windows_sys::core::PCSTR, alternateplatforminfo: *const SP_ALTPLATFORM_INFO_V2, localename: ::windows_sys::core::PCSTR, returnbuffer: ::windows_sys::core::PSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] pub fn SetupGetInfDriverStoreLocationW(filename: ::windows_sys::core::PCWSTR, alternateplatforminfo: *const SP_ALTPLATFORM_INFO_V2, localename: ::windows_sys::core::PCWSTR, returnbuffer: ::windows_sys::core::PWSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetInfFileListA(directorypath: ::windows_sys::core::PCSTR, infstyle: u32, returnbuffer: ::windows_sys::core::PSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetInfFileListW(directorypath: ::windows_sys::core::PCWSTR, infstyle: u32, returnbuffer: ::windows_sys::core::PWSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetInfInformationA(infspec: *const ::core::ffi::c_void, searchcontrol: u32, returnbuffer: *mut SP_INF_INFORMATION, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetInfInformationW(infspec: *const ::core::ffi::c_void, searchcontrol: u32, returnbuffer: *mut SP_INF_INFORMATION, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetInfPublishedNameA(driverstorelocation: ::windows_sys::core::PCSTR, returnbuffer: ::windows_sys::core::PSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetInfPublishedNameW(driverstorelocation: ::windows_sys::core::PCWSTR, returnbuffer: ::windows_sys::core::PWSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetIntField(context: *const INFCONTEXT, fieldindex: u32, integervalue: *mut i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetLineByIndexA(infhandle: *const ::core::ffi::c_void, section: ::windows_sys::core::PCSTR, index: u32, context: *mut INFCONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetLineByIndexW(infhandle: *const ::core::ffi::c_void, section: ::windows_sys::core::PCWSTR, index: u32, context: *mut INFCONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupGetLineCountA(infhandle: *const ::core::ffi::c_void, section: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupGetLineCountW(infhandle: *const ::core::ffi::c_void, section: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetLineTextA(context: *const INFCONTEXT, infhandle: *const ::core::ffi::c_void, section: ::windows_sys::core::PCSTR, key: ::windows_sys::core::PCSTR, returnbuffer: ::windows_sys::core::PSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetLineTextW(context: *const INFCONTEXT, infhandle: *const ::core::ffi::c_void, section: ::windows_sys::core::PCWSTR, key: ::windows_sys::core::PCWSTR, returnbuffer: ::windows_sys::core::PWSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetMultiSzFieldA(context: *const INFCONTEXT, fieldindex: u32, returnbuffer: ::windows_sys::core::PSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetMultiSzFieldW(context: *const INFCONTEXT, fieldindex: u32, returnbuffer: ::windows_sys::core::PWSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetNonInteractiveMode() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetSourceFileLocationA(infhandle: *const ::core::ffi::c_void, infcontext: *const INFCONTEXT, filename: ::windows_sys::core::PCSTR, sourceid: *mut u32, returnbuffer: ::windows_sys::core::PSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetSourceFileLocationW(infhandle: *const ::core::ffi::c_void, infcontext: *const INFCONTEXT, filename: ::windows_sys::core::PCWSTR, sourceid: *mut u32, returnbuffer: ::windows_sys::core::PWSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetSourceFileSizeA(infhandle: *const ::core::ffi::c_void, infcontext: *const INFCONTEXT, filename: ::windows_sys::core::PCSTR, section: ::windows_sys::core::PCSTR, filesize: *mut u32, roundingfactor: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetSourceFileSizeW(infhandle: *const ::core::ffi::c_void, infcontext: *const INFCONTEXT, filename: ::windows_sys::core::PCWSTR, section: ::windows_sys::core::PCWSTR, filesize: *mut u32, roundingfactor: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetSourceInfoA(infhandle: *const ::core::ffi::c_void, sourceid: u32, infodesired: u32, returnbuffer: ::windows_sys::core::PSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetSourceInfoW(infhandle: *const ::core::ffi::c_void, sourceid: u32, infodesired: u32, returnbuffer: ::windows_sys::core::PWSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetStringFieldA(context: *const INFCONTEXT, fieldindex: u32, returnbuffer: ::windows_sys::core::PSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetStringFieldW(context: *const INFCONTEXT, fieldindex: u32, returnbuffer: ::windows_sys::core::PWSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetTargetPathA(infhandle: *const ::core::ffi::c_void, infcontext: *const INFCONTEXT, section: ::windows_sys::core::PCSTR, returnbuffer: ::windows_sys::core::PSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupGetTargetPathW(infhandle: *const ::core::ffi::c_void, infcontext: *const INFCONTEXT, section: ::windows_sys::core::PCWSTR, returnbuffer: ::windows_sys::core::PWSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupGetThreadLogToken() -> u64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupInitDefaultQueueCallback(ownerwindow: super::super::Foundation::HWND) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupInitDefaultQueueCallbackEx(ownerwindow: super::super::Foundation::HWND, alternateprogresswindow: super::super::Foundation::HWND, progressmessage: u32, reserved1: u32, reserved2: *mut ::core::ffi::c_void) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupInitializeFileLogA(logfilename: ::windows_sys::core::PCSTR, flags: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupInitializeFileLogW(logfilename: ::windows_sys::core::PCWSTR, flags: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupInstallFileA(infhandle: *const ::core::ffi::c_void, infcontext: *const INFCONTEXT, sourcefile: ::windows_sys::core::PCSTR, sourcepathroot: ::windows_sys::core::PCSTR, destinationname: ::windows_sys::core::PCSTR, copystyle: SP_COPY_STYLE, copymsghandler: PSP_FILE_CALLBACK_A, context: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupInstallFileExA(infhandle: *const ::core::ffi::c_void, infcontext: *const INFCONTEXT, sourcefile: ::windows_sys::core::PCSTR, sourcepathroot: ::windows_sys::core::PCSTR, destinationname: ::windows_sys::core::PCSTR, copystyle: SP_COPY_STYLE, copymsghandler: PSP_FILE_CALLBACK_A, context: *const ::core::ffi::c_void, filewasinuse: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupInstallFileExW(infhandle: *const ::core::ffi::c_void, infcontext: *const INFCONTEXT, sourcefile: ::windows_sys::core::PCWSTR, sourcepathroot: ::windows_sys::core::PCWSTR, destinationname: ::windows_sys::core::PCWSTR, copystyle: SP_COPY_STYLE, copymsghandler: PSP_FILE_CALLBACK_W, context: *const ::core::ffi::c_void, filewasinuse: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupInstallFileW(infhandle: *const ::core::ffi::c_void, infcontext: *const INFCONTEXT, sourcefile: ::windows_sys::core::PCWSTR, sourcepathroot: ::windows_sys::core::PCWSTR, destinationname: ::windows_sys::core::PCWSTR, copystyle: SP_COPY_STYLE, copymsghandler: PSP_FILE_CALLBACK_W, context: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupInstallFilesFromInfSectionA(infhandle: *const ::core::ffi::c_void, layoutinfhandle: *const ::core::ffi::c_void, filequeue: *const ::core::ffi::c_void, sectionname: ::windows_sys::core::PCSTR, sourcerootpath: ::windows_sys::core::PCSTR, copyflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupInstallFilesFromInfSectionW(infhandle: *const ::core::ffi::c_void, layoutinfhandle: *const ::core::ffi::c_void, filequeue: *const ::core::ffi::c_void, sectionname: ::windows_sys::core::PCWSTR, sourcerootpath: ::windows_sys::core::PCWSTR, copyflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SetupInstallFromInfSectionA(owner: super::super::Foundation::HWND, infhandle: *const ::core::ffi::c_void, sectionname: ::windows_sys::core::PCSTR, flags: u32, relativekeyroot: super::super::System::Registry::HKEY, sourcerootpath: ::windows_sys::core::PCSTR, copyflags: u32, msghandler: PSP_FILE_CALLBACK_A, context: *const ::core::ffi::c_void, deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SetupInstallFromInfSectionW(owner: super::super::Foundation::HWND, infhandle: *const ::core::ffi::c_void, sectionname: ::windows_sys::core::PCWSTR, flags: u32, relativekeyroot: super::super::System::Registry::HKEY, sourcerootpath: ::windows_sys::core::PCWSTR, copyflags: u32, msghandler: PSP_FILE_CALLBACK_W, context: *const ::core::ffi::c_void, deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupInstallServicesFromInfSectionA(infhandle: *const ::core::ffi::c_void, sectionname: ::windows_sys::core::PCSTR, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupInstallServicesFromInfSectionExA(infhandle: *const ::core::ffi::c_void, sectionname: ::windows_sys::core::PCSTR, flags: u32, deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, reserved1: *mut ::core::ffi::c_void, reserved2: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupInstallServicesFromInfSectionExW(infhandle: *const ::core::ffi::c_void, sectionname: ::windows_sys::core::PCWSTR, flags: u32, deviceinfoset: HDEVINFO, deviceinfodata: *const SP_DEVINFO_DATA, reserved1: *mut ::core::ffi::c_void, reserved2: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupInstallServicesFromInfSectionW(infhandle: *const ::core::ffi::c_void, sectionname: ::windows_sys::core::PCWSTR, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupIterateCabinetA(cabinetfile: ::windows_sys::core::PCSTR, reserved: u32, msghandler: PSP_FILE_CALLBACK_A, context: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupIterateCabinetW(cabinetfile: ::windows_sys::core::PCWSTR, reserved: u32, msghandler: PSP_FILE_CALLBACK_W, context: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupLogErrorA(messagestring: ::windows_sys::core::PCSTR, severity: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupLogErrorW(messagestring: ::windows_sys::core::PCWSTR, severity: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupLogFileA(fileloghandle: *const ::core::ffi::c_void, logsectionname: ::windows_sys::core::PCSTR, sourcefilename: ::windows_sys::core::PCSTR, targetfilename: ::windows_sys::core::PCSTR, checksum: u32, disktagfile: ::windows_sys::core::PCSTR, diskdescription: ::windows_sys::core::PCSTR, otherinfo: ::windows_sys::core::PCSTR, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupLogFileW(fileloghandle: *const ::core::ffi::c_void, logsectionname: ::windows_sys::core::PCWSTR, sourcefilename: ::windows_sys::core::PCWSTR, targetfilename: ::windows_sys::core::PCWSTR, checksum: u32, disktagfile: ::windows_sys::core::PCWSTR, diskdescription: ::windows_sys::core::PCWSTR, otherinfo: ::windows_sys::core::PCWSTR, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupOpenAppendInfFileA(filename: ::windows_sys::core::PCSTR, infhandle: *const ::core::ffi::c_void, errorline: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupOpenAppendInfFileW(filename: ::windows_sys::core::PCWSTR, infhandle: *const ::core::ffi::c_void, errorline: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupOpenFileQueue() -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupOpenInfFileA(filename: ::windows_sys::core::PCSTR, infclass: ::windows_sys::core::PCSTR, infstyle: u32, errorline: *mut u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupOpenInfFileW(filename: ::windows_sys::core::PCWSTR, infclass: ::windows_sys::core::PCWSTR, infstyle: u32, errorline: *mut u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupOpenLog(erase: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupOpenMasterInf() -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupPrepareQueueForRestoreA(queuehandle: *const ::core::ffi::c_void, backuppath: ::windows_sys::core::PCSTR, restoreflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupPrepareQueueForRestoreW(queuehandle: *const ::core::ffi::c_void, backuppath: ::windows_sys::core::PCWSTR, restoreflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupPromptForDiskA(hwndparent: super::super::Foundation::HWND, dialogtitle: ::windows_sys::core::PCSTR, diskname: ::windows_sys::core::PCSTR, pathtosource: ::windows_sys::core::PCSTR, filesought: ::windows_sys::core::PCSTR, tagfile: ::windows_sys::core::PCSTR, diskpromptstyle: u32, pathbuffer: ::windows_sys::core::PSTR, pathbuffersize: u32, pathrequiredsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupPromptForDiskW(hwndparent: super::super::Foundation::HWND, dialogtitle: ::windows_sys::core::PCWSTR, diskname: ::windows_sys::core::PCWSTR, pathtosource: ::windows_sys::core::PCWSTR, filesought: ::windows_sys::core::PCWSTR, tagfile: ::windows_sys::core::PCWSTR, diskpromptstyle: u32, pathbuffer: ::windows_sys::core::PWSTR, pathbuffersize: u32, pathrequiredsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupPromptReboot(filequeue: *const ::core::ffi::c_void, owner: super::super::Foundation::HWND, scanonly: super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueryDrivesInDiskSpaceListA(diskspace: *const ::core::ffi::c_void, returnbuffer: ::windows_sys::core::PSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueryDrivesInDiskSpaceListW(diskspace: *const ::core::ffi::c_void, returnbuffer: ::windows_sys::core::PWSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueryFileLogA(fileloghandle: *const ::core::ffi::c_void, logsectionname: ::windows_sys::core::PCSTR, targetfilename: ::windows_sys::core::PCSTR, desiredinfo: SetupFileLogInfo, dataout: ::windows_sys::core::PSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueryFileLogW(fileloghandle: *const ::core::ffi::c_void, logsectionname: ::windows_sys::core::PCWSTR, targetfilename: ::windows_sys::core::PCWSTR, desiredinfo: SetupFileLogInfo, dataout: ::windows_sys::core::PWSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueryInfFileInformationA(infinformation: *const SP_INF_INFORMATION, infindex: u32, returnbuffer: ::windows_sys::core::PSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueryInfFileInformationW(infinformation: *const SP_INF_INFORMATION, infindex: u32, returnbuffer: ::windows_sys::core::PWSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] pub fn SetupQueryInfOriginalFileInformationA(infinformation: *const SP_INF_INFORMATION, infindex: u32, alternateplatforminfo: *const SP_ALTPLATFORM_INFO_V2, originalfileinfo: *mut SP_ORIGINAL_FILE_INFO_A) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] pub fn SetupQueryInfOriginalFileInformationW(infinformation: *const SP_INF_INFORMATION, infindex: u32, alternateplatforminfo: *const SP_ALTPLATFORM_INFO_V2, originalfileinfo: *mut SP_ORIGINAL_FILE_INFO_W) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueryInfVersionInformationA(infinformation: *const SP_INF_INFORMATION, infindex: u32, key: ::windows_sys::core::PCSTR, returnbuffer: ::windows_sys::core::PSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueryInfVersionInformationW(infinformation: *const SP_INF_INFORMATION, infindex: u32, key: ::windows_sys::core::PCWSTR, returnbuffer: ::windows_sys::core::PWSTR, returnbuffersize: u32, requiredsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQuerySourceListA(flags: u32, list: *mut *mut ::windows_sys::core::PSTR, count: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQuerySourceListW(flags: u32, list: *mut *mut ::windows_sys::core::PWSTR, count: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQuerySpaceRequiredOnDriveA(diskspace: *const ::core::ffi::c_void, drivespec: ::windows_sys::core::PCSTR, spacerequired: *mut i64, reserved1: *mut ::core::ffi::c_void, reserved2: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQuerySpaceRequiredOnDriveW(diskspace: *const ::core::ffi::c_void, drivespec: ::windows_sys::core::PCWSTR, spacerequired: *mut i64, reserved1: *mut ::core::ffi::c_void, reserved2: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueueCopyA(queuehandle: *const ::core::ffi::c_void, sourcerootpath: ::windows_sys::core::PCSTR, sourcepath: ::windows_sys::core::PCSTR, sourcefilename: ::windows_sys::core::PCSTR, sourcedescription: ::windows_sys::core::PCSTR, sourcetagfile: ::windows_sys::core::PCSTR, targetdirectory: ::windows_sys::core::PCSTR, targetfilename: ::windows_sys::core::PCSTR, copystyle: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueueCopyIndirectA(copyparams: *const SP_FILE_COPY_PARAMS_A) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueueCopyIndirectW(copyparams: *const SP_FILE_COPY_PARAMS_W) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueueCopySectionA(queuehandle: *const ::core::ffi::c_void, sourcerootpath: ::windows_sys::core::PCSTR, infhandle: *const ::core::ffi::c_void, listinfhandle: *const ::core::ffi::c_void, section: ::windows_sys::core::PCSTR, copystyle: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueueCopySectionW(queuehandle: *const ::core::ffi::c_void, sourcerootpath: ::windows_sys::core::PCWSTR, infhandle: *const ::core::ffi::c_void, listinfhandle: *const ::core::ffi::c_void, section: ::windows_sys::core::PCWSTR, copystyle: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueueCopyW(queuehandle: *const ::core::ffi::c_void, sourcerootpath: ::windows_sys::core::PCWSTR, sourcepath: ::windows_sys::core::PCWSTR, sourcefilename: ::windows_sys::core::PCWSTR, sourcedescription: ::windows_sys::core::PCWSTR, sourcetagfile: ::windows_sys::core::PCWSTR, targetdirectory: ::windows_sys::core::PCWSTR, targetfilename: ::windows_sys::core::PCWSTR, copystyle: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueueDefaultCopyA(queuehandle: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, sourcerootpath: ::windows_sys::core::PCSTR, sourcefilename: ::windows_sys::core::PCSTR, targetfilename: ::windows_sys::core::PCSTR, copystyle: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueueDefaultCopyW(queuehandle: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, sourcerootpath: ::windows_sys::core::PCWSTR, sourcefilename: ::windows_sys::core::PCWSTR, targetfilename: ::windows_sys::core::PCWSTR, copystyle: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueueDeleteA(queuehandle: *const ::core::ffi::c_void, pathpart1: ::windows_sys::core::PCSTR, pathpart2: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueueDeleteSectionA(queuehandle: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, listinfhandle: *const ::core::ffi::c_void, section: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueueDeleteSectionW(queuehandle: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, listinfhandle: *const ::core::ffi::c_void, section: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueueDeleteW(queuehandle: *const ::core::ffi::c_void, pathpart1: ::windows_sys::core::PCWSTR, pathpart2: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueueRenameA(queuehandle: *const ::core::ffi::c_void, sourcepath: ::windows_sys::core::PCSTR, sourcefilename: ::windows_sys::core::PCSTR, targetpath: ::windows_sys::core::PCSTR, targetfilename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueueRenameSectionA(queuehandle: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, listinfhandle: *const ::core::ffi::c_void, section: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueueRenameSectionW(queuehandle: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, listinfhandle: *const ::core::ffi::c_void, section: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupQueueRenameW(queuehandle: *const ::core::ffi::c_void, sourcepath: ::windows_sys::core::PCWSTR, sourcefilename: ::windows_sys::core::PCWSTR, targetpath: ::windows_sys::core::PCWSTR, targetfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupRemoveFileLogEntryA(fileloghandle: *const ::core::ffi::c_void, logsectionname: ::windows_sys::core::PCSTR, targetfilename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupRemoveFileLogEntryW(fileloghandle: *const ::core::ffi::c_void, logsectionname: ::windows_sys::core::PCWSTR, targetfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupRemoveFromDiskSpaceListA(diskspace: *const ::core::ffi::c_void, targetfilespec: ::windows_sys::core::PCSTR, operation: SETUP_FILE_OPERATION, reserved1: *mut ::core::ffi::c_void, reserved2: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupRemoveFromDiskSpaceListW(diskspace: *const ::core::ffi::c_void, targetfilespec: ::windows_sys::core::PCWSTR, operation: SETUP_FILE_OPERATION, reserved1: *mut ::core::ffi::c_void, reserved2: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupRemoveFromSourceListA(flags: u32, source: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupRemoveFromSourceListW(flags: u32, source: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupRemoveInstallSectionFromDiskSpaceListA(diskspace: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, layoutinfhandle: *const ::core::ffi::c_void, sectionname: ::windows_sys::core::PCSTR, reserved1: *mut ::core::ffi::c_void, reserved2: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupRemoveInstallSectionFromDiskSpaceListW(diskspace: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, layoutinfhandle: *const ::core::ffi::c_void, sectionname: ::windows_sys::core::PCWSTR, reserved1: *mut ::core::ffi::c_void, reserved2: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupRemoveSectionFromDiskSpaceListA(diskspace: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, listinfhandle: *const ::core::ffi::c_void, sectionname: ::windows_sys::core::PCSTR, operation: SETUP_FILE_OPERATION, reserved1: *mut ::core::ffi::c_void, reserved2: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupRemoveSectionFromDiskSpaceListW(diskspace: *const ::core::ffi::c_void, infhandle: *const ::core::ffi::c_void, listinfhandle: *const ::core::ffi::c_void, sectionname: ::windows_sys::core::PCWSTR, operation: SETUP_FILE_OPERATION, reserved1: *mut ::core::ffi::c_void, reserved2: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupRenameErrorA(hwndparent: super::super::Foundation::HWND, dialogtitle: ::windows_sys::core::PCSTR, sourcefile: ::windows_sys::core::PCSTR, targetfile: ::windows_sys::core::PCSTR, win32errorcode: u32, style: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupRenameErrorW(hwndparent: super::super::Foundation::HWND, dialogtitle: ::windows_sys::core::PCWSTR, sourcefile: ::windows_sys::core::PCWSTR, targetfile: ::windows_sys::core::PCWSTR, win32errorcode: u32, style: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupScanFileQueueA(filequeue: *const ::core::ffi::c_void, flags: u32, window: super::super::Foundation::HWND, callbackroutine: PSP_FILE_CALLBACK_A, callbackcontext: *const ::core::ffi::c_void, result: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupScanFileQueueW(filequeue: *const ::core::ffi::c_void, flags: u32, window: super::super::Foundation::HWND, callbackroutine: PSP_FILE_CALLBACK_W, callbackcontext: *const ::core::ffi::c_void, result: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupSetDirectoryIdA(infhandle: *const ::core::ffi::c_void, id: u32, directory: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupSetDirectoryIdExA(infhandle: *const ::core::ffi::c_void, id: u32, directory: ::windows_sys::core::PCSTR, flags: u32, reserved1: u32, reserved2: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupSetDirectoryIdExW(infhandle: *const ::core::ffi::c_void, id: u32, directory: ::windows_sys::core::PCWSTR, flags: u32, reserved1: u32, reserved2: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupSetDirectoryIdW(infhandle: *const ::core::ffi::c_void, id: u32, directory: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] pub fn SetupSetFileQueueAlternatePlatformA(queuehandle: *const ::core::ffi::c_void, alternateplatforminfo: *const SP_ALTPLATFORM_INFO_V2, alternatedefaultcatalogfile: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] pub fn SetupSetFileQueueAlternatePlatformW(queuehandle: *const ::core::ffi::c_void, alternateplatforminfo: *const SP_ALTPLATFORM_INFO_V2, alternatedefaultcatalogfile: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupSetFileQueueFlags(filequeue: *const ::core::ffi::c_void, flagmask: u32, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupSetNonInteractiveMode(noninteractiveflag: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupSetPlatformPathOverrideA(r#override: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupSetPlatformPathOverrideW(r#override: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupSetSourceListA(flags: u32, sourcelist: *const ::windows_sys::core::PSTR, sourcecount: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupSetSourceListW(flags: u32, sourcelist: *const ::windows_sys::core::PWSTR, sourcecount: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupSetThreadLogToken(logtoken: u64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupTermDefaultQueueCallback(context: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupTerminateFileLog(fileloghandle: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupUninstallNewlyCopiedInfs(filequeue: *const ::core::ffi::c_void, flags: u32, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupUninstallOEMInfA(inffilename: ::windows_sys::core::PCSTR, flags: u32, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetupUninstallOEMInfW(inffilename: ::windows_sys::core::PCWSTR, flags: u32, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] pub fn SetupVerifyInfFileA(infname: ::windows_sys::core::PCSTR, altplatforminfo: *const SP_ALTPLATFORM_INFO_V2, infsignerinfo: *mut SP_INF_SIGNER_INFO_V2_A) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] pub fn SetupVerifyInfFileW(infname: ::windows_sys::core::PCWSTR, altplatforminfo: *const SP_ALTPLATFORM_INFO_V2, infsignerinfo: *mut SP_INF_SIGNER_INFO_V2_W) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupWriteTextLog(logtoken: u64, category: u32, flags: u32, messagestr: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupWriteTextLogError(logtoken: u64, category: u32, logflags: u32, error: u32, messagestr: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub fn SetupWriteTextLogInfLine(logtoken: u64, flags: u32, infhandle: *const ::core::ffi::c_void, context: *const INFCONTEXT); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UpdateDriverForPlugAndPlayDevicesA(hwndparent: super::super::Foundation::HWND, hardwareid: ::windows_sys::core::PCSTR, fullinfpath: ::windows_sys::core::PCSTR, installflags: u32, brebootrequired: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UpdateDriverForPlugAndPlayDevicesW(hwndparent: super::super::Foundation::HWND, hardwareid: ::windows_sys::core::PCWSTR, fullinfpath: ::windows_sys::core::PCWSTR, installflags: u32, brebootrequired: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/Devices/DeviceQuery/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/DeviceQuery/mod.rs index d4072e53ac..9e5ef87790 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/DeviceQuery/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/DeviceQuery/mod.rs @@ -2,42 +2,81 @@ extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`*"] pub fn DevCloseObjectQuery(hdevquery: *const HDEVQUERY__); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn DevCreateObjectQuery(objecttype: DEV_OBJECT_TYPE, queryflags: u32, crequestedproperties: u32, prequestedproperties: *const super::Properties::DEVPROPCOMPKEY, cfilterexpressioncount: u32, pfilter: *const DEVPROP_FILTER_EXPRESSION, pcallback: PDEV_QUERY_RESULT_CALLBACK, pcontext: *const ::core::ffi::c_void, phdevquery: *mut *mut HDEVQUERY__) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn DevCreateObjectQueryEx(objecttype: DEV_OBJECT_TYPE, queryflags: u32, crequestedproperties: u32, prequestedproperties: *const super::Properties::DEVPROPCOMPKEY, cfilterexpressioncount: u32, pfilter: *const DEVPROP_FILTER_EXPRESSION, cextendedparametercount: u32, pextendedparameters: *const DEV_QUERY_PARAMETER, pcallback: PDEV_QUERY_RESULT_CALLBACK, pcontext: *const ::core::ffi::c_void, phdevquery: *mut *mut HDEVQUERY__) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn DevCreateObjectQueryFromId(objecttype: DEV_OBJECT_TYPE, pszobjectid: ::windows_sys::core::PCWSTR, queryflags: u32, crequestedproperties: u32, prequestedproperties: *const super::Properties::DEVPROPCOMPKEY, cfilterexpressioncount: u32, pfilter: *const DEVPROP_FILTER_EXPRESSION, pcallback: PDEV_QUERY_RESULT_CALLBACK, pcontext: *const ::core::ffi::c_void, phdevquery: *mut *mut HDEVQUERY__) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn DevCreateObjectQueryFromIdEx(objecttype: DEV_OBJECT_TYPE, pszobjectid: ::windows_sys::core::PCWSTR, queryflags: u32, crequestedproperties: u32, prequestedproperties: *const super::Properties::DEVPROPCOMPKEY, cfilterexpressioncount: u32, pfilter: *const DEVPROP_FILTER_EXPRESSION, cextendedparametercount: u32, pextendedparameters: *const DEV_QUERY_PARAMETER, pcallback: PDEV_QUERY_RESULT_CALLBACK, pcontext: *const ::core::ffi::c_void, phdevquery: *mut *mut HDEVQUERY__) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn DevCreateObjectQueryFromIds(objecttype: DEV_OBJECT_TYPE, pszzobjectids: ::windows_sys::core::PCWSTR, queryflags: u32, crequestedproperties: u32, prequestedproperties: *const super::Properties::DEVPROPCOMPKEY, cfilterexpressioncount: u32, pfilter: *const DEVPROP_FILTER_EXPRESSION, pcallback: PDEV_QUERY_RESULT_CALLBACK, pcontext: *const ::core::ffi::c_void, phdevquery: *mut *mut HDEVQUERY__) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn DevCreateObjectQueryFromIdsEx(objecttype: DEV_OBJECT_TYPE, pszzobjectids: ::windows_sys::core::PCWSTR, queryflags: u32, crequestedproperties: u32, prequestedproperties: *const super::Properties::DEVPROPCOMPKEY, cfilterexpressioncount: u32, pfilter: *const DEVPROP_FILTER_EXPRESSION, cextendedparametercount: u32, pextendedparameters: *const DEV_QUERY_PARAMETER, pcallback: PDEV_QUERY_RESULT_CALLBACK, pcontext: *const ::core::ffi::c_void, phdevquery: *mut *mut HDEVQUERY__) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn DevFindProperty(pkey: *const super::Properties::DEVPROPKEY, store: super::Properties::DEVPROPSTORE, pszlocalename: ::windows_sys::core::PCWSTR, cproperties: u32, pproperties: *const super::Properties::DEVPROPERTY) -> *mut super::Properties::DEVPROPERTY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn DevFreeObjectProperties(cpropertycount: u32, pproperties: *const super::Properties::DEVPROPERTY); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn DevFreeObjects(cobjectcount: u32, pobjects: *const DEV_OBJECT); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn DevGetObjectProperties(objecttype: DEV_OBJECT_TYPE, pszobjectid: ::windows_sys::core::PCWSTR, queryflags: u32, crequestedproperties: u32, prequestedproperties: *const super::Properties::DEVPROPCOMPKEY, pcpropertycount: *mut u32, ppproperties: *mut *mut super::Properties::DEVPROPERTY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn DevGetObjectPropertiesEx(objecttype: DEV_OBJECT_TYPE, pszobjectid: ::windows_sys::core::PCWSTR, queryflags: u32, crequestedproperties: u32, prequestedproperties: *const super::Properties::DEVPROPCOMPKEY, cextendedparametercount: u32, pextendedparameters: *const DEV_QUERY_PARAMETER, pcpropertycount: *mut u32, ppproperties: *mut *mut super::Properties::DEVPROPERTY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn DevGetObjects(objecttype: DEV_OBJECT_TYPE, queryflags: u32, crequestedproperties: u32, prequestedproperties: *const super::Properties::DEVPROPCOMPKEY, cfilterexpressioncount: u32, pfilter: *const DEVPROP_FILTER_EXPRESSION, pcobjectcount: *mut u32, ppobjects: *mut *mut DEV_OBJECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn DevGetObjectsEx(objecttype: DEV_OBJECT_TYPE, queryflags: u32, crequestedproperties: u32, prequestedproperties: *const super::Properties::DEVPROPCOMPKEY, cfilterexpressioncount: u32, pfilter: *const DEVPROP_FILTER_EXPRESSION, cextendedparametercount: u32, pextendedparameters: *const DEV_QUERY_PARAMETER, pcobjectcount: *mut u32, ppobjects: *mut *mut DEV_OBJECT) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Devices/Display/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/Display/mod.rs index aa40611ed1..19e1f0023e 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/Display/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/Display/mod.rs @@ -3,334 +3,688 @@ extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BRUSHOBJ_hGetColorTransform(pbo: *mut BRUSHOBJ) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn BRUSHOBJ_pvAllocRbrush(pbo: *mut BRUSHOBJ, cj: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn BRUSHOBJ_pvGetRbrush(pbo: *mut BRUSHOBJ) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn BRUSHOBJ_ulGetBrushColor(pbo: *mut BRUSHOBJ) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CLIPOBJ_bEnum(pco: *mut CLIPOBJ, cj: u32, pul: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CLIPOBJ_cEnumStart(pco: *mut CLIPOBJ, ball: super::super::Foundation::BOOL, itype: u32, idirection: u32, climit: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CLIPOBJ_ppoGetPath(pco: *mut CLIPOBJ) -> *mut PATHOBJ; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CapabilitiesRequestAndCapabilitiesReply(hmonitor: super::super::Foundation::HANDLE, pszasciicapabilitiesstring: ::windows_sys::core::PSTR, dwcapabilitiesstringlengthincharacters: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DegaussMonitor(hmonitor: super::super::Foundation::HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DestroyPhysicalMonitor(hmonitor: super::super::Foundation::HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DestroyPhysicalMonitors(dwphysicalmonitorarraysize: u32, pphysicalmonitorarray: *const PHYSICAL_MONITOR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DisplayConfigGetDeviceInfo(requestpacket: *mut DISPLAYCONFIG_DEVICE_INFO_HEADER) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DisplayConfigSetDeviceInfo(setpacket: *const DISPLAYCONFIG_DEVICE_INFO_HEADER) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn EngAcquireSemaphore(hsem: HSEMAPHORE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn EngAlphaBlend(psodest: *mut SURFOBJ, psosrc: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, prcldest: *mut super::super::Foundation::RECTL, prclsrc: *mut super::super::Foundation::RECTL, pblendobj: *mut BLENDOBJ) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EngAssociateSurface(hsurf: HSURF, hdev: HDEV, flhooks: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EngBitBlt(psotrg: *const SURFOBJ, psosrc: *const SURFOBJ, psomask: *const SURFOBJ, pco: *const CLIPOBJ, pxlo: *const XLATEOBJ, prcltrg: *const super::super::Foundation::RECTL, pptlsrc: *const super::super::Foundation::POINTL, pptlmask: *const super::super::Foundation::POINTL, pbo: *const BRUSHOBJ, pptlbrush: *const super::super::Foundation::POINTL, rop4: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EngCheckAbort(pso: *mut SURFOBJ) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn EngComputeGlyphSet(ncodepage: i32, nfirstchar: i32, cchars: i32) -> *mut FD_GLYPHSET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EngCopyBits(psodest: *mut SURFOBJ, psosrc: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, prcldest: *mut super::super::Foundation::RECTL, pptlsrc: *mut super::super::Foundation::POINTL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn EngCreateBitmap(sizl: super::super::Foundation::SIZE, lwidth: i32, iformat: u32, fl: u32, pvbits: *mut ::core::ffi::c_void) -> super::super::Graphics::Gdi::HBITMAP; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EngCreateClip() -> *mut CLIPOBJ; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn EngCreateDeviceBitmap(dhsurf: DHSURF, sizl: super::super::Foundation::SIZE, iformatcompat: u32) -> super::super::Graphics::Gdi::HBITMAP; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EngCreateDeviceSurface(dhsurf: DHSURF, sizl: super::super::Foundation::SIZE, iformatcompat: u32) -> HSURF; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn EngCreatePalette(imode: u32, ccolors: u32, pulcolors: *mut u32, flred: u32, flgreen: u32, flblue: u32) -> super::super::Graphics::Gdi::HPALETTE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn EngCreateSemaphore() -> HSEMAPHORE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EngDeleteClip(pco: *const CLIPOBJ); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn EngDeletePalette(hpal: super::super::Graphics::Gdi::HPALETTE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn EngDeletePath(ppo: *mut PATHOBJ); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn EngDeleteSemaphore(hsem: HSEMAPHORE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EngDeleteSurface(hsurf: HSURF) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EngEraseSurface(pso: *mut SURFOBJ, prcl: *mut super::super::Foundation::RECTL, icolor: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EngFillPath(pso: *mut SURFOBJ, ppo: *mut PATHOBJ, pco: *mut CLIPOBJ, pbo: *mut BRUSHOBJ, pptlbrushorg: *mut super::super::Foundation::POINTL, mix: u32, floptions: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EngFindResource(h: super::super::Foundation::HANDLE, iname: i32, itype: i32, pulsize: *mut u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EngFreeModule(h: super::super::Foundation::HANDLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn EngGetCurrentCodePage(oemcodepage: *mut u16, ansicodepage: *mut u16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn EngGetDriverName(hdev: HDEV) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn EngGetPrinterDataFileName(hdev: HDEV) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn EngGradientFill(psodest: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, pvertex: *mut super::super::Graphics::Gdi::TRIVERTEX, nvertex: u32, pmesh: *mut ::core::ffi::c_void, nmesh: u32, prclextents: *mut super::super::Foundation::RECTL, pptlditherorg: *mut super::super::Foundation::POINTL, ulmode: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EngLineTo(pso: *mut SURFOBJ, pco: *mut CLIPOBJ, pbo: *mut BRUSHOBJ, x1: i32, y1: i32, x2: i32, y2: i32, prclbounds: *mut super::super::Foundation::RECTL, mix: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EngLoadModule(pwsz: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EngLockSurface(hsurf: HSURF) -> *mut SURFOBJ; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EngMarkBandingSurface(hsurf: HSURF) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn EngMultiByteToUnicodeN(unicodestring: ::windows_sys::core::PWSTR, maxbytesinunicodestring: u32, bytesinunicodestring: *mut u32, multibytestring: ::windows_sys::core::PCSTR, bytesinmultibytestring: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn EngMultiByteToWideChar(codepage: u32, widecharstring: ::windows_sys::core::PWSTR, bytesinwidecharstring: i32, multibytestring: ::windows_sys::core::PCSTR, bytesinmultibytestring: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EngPaint(pso: *mut SURFOBJ, pco: *mut CLIPOBJ, pbo: *mut BRUSHOBJ, pptlbrushorg: *mut super::super::Foundation::POINTL, mix: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn EngPlgBlt(psotrg: *mut SURFOBJ, psosrc: *mut SURFOBJ, psomsk: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, pca: *mut super::super::Graphics::Gdi::COLORADJUSTMENT, pptlbrushorg: *mut super::super::Foundation::POINTL, pptfx: *mut POINTFIX, prcl: *mut super::super::Foundation::RECTL, pptl: *mut super::super::Foundation::POINTL, imode: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn EngQueryEMFInfo(hdev: HDEV, pemfinfo: *mut EMFINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn EngQueryLocalTime(param0: *mut ENG_TIME_FIELDS); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn EngReleaseSemaphore(hsem: HSEMAPHORE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn EngStretchBlt(psodest: *mut SURFOBJ, psosrc: *mut SURFOBJ, psomask: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, pca: *mut super::super::Graphics::Gdi::COLORADJUSTMENT, pptlhtorg: *mut super::super::Foundation::POINTL, prcldest: *mut super::super::Foundation::RECTL, prclsrc: *mut super::super::Foundation::RECTL, pptlmask: *mut super::super::Foundation::POINTL, imode: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn EngStretchBltROP(psodest: *mut SURFOBJ, psosrc: *mut SURFOBJ, psomask: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, pca: *mut super::super::Graphics::Gdi::COLORADJUSTMENT, pptlhtorg: *mut super::super::Foundation::POINTL, prcldest: *mut super::super::Foundation::RECTL, prclsrc: *mut super::super::Foundation::RECTL, pptlmask: *mut super::super::Foundation::POINTL, imode: u32, pbo: *mut BRUSHOBJ, rop4: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EngStrokeAndFillPath(pso: *mut SURFOBJ, ppo: *mut PATHOBJ, pco: *mut CLIPOBJ, pxo: *mut XFORMOBJ, pbostroke: *mut BRUSHOBJ, plineattrs: *mut LINEATTRS, pbofill: *mut BRUSHOBJ, pptlbrushorg: *mut super::super::Foundation::POINTL, mixfill: u32, floptions: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EngStrokePath(pso: *mut SURFOBJ, ppo: *mut PATHOBJ, pco: *mut CLIPOBJ, pxo: *mut XFORMOBJ, pbo: *mut BRUSHOBJ, pptlbrushorg: *mut super::super::Foundation::POINTL, plineattrs: *mut LINEATTRS, mix: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EngTextOut(pso: *mut SURFOBJ, pstro: *mut STROBJ, pfo: *mut FONTOBJ, pco: *mut CLIPOBJ, prclextra: *mut super::super::Foundation::RECTL, prclopaque: *mut super::super::Foundation::RECTL, pbofore: *mut BRUSHOBJ, pboopaque: *mut BRUSHOBJ, pptlorg: *mut super::super::Foundation::POINTL, mix: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EngTransparentBlt(psodst: *const SURFOBJ, psosrc: *const SURFOBJ, pco: *const CLIPOBJ, pxlo: *const XLATEOBJ, prcldst: *const super::super::Foundation::RECTL, prclsrc: *const super::super::Foundation::RECTL, transcolor: u32, bcalledfrombitblt: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn EngUnicodeToMultiByteN(multibytestring: ::windows_sys::core::PSTR, maxbytesinmultibytestring: u32, bytesinmultibytestring: *mut u32, unicodestring: ::windows_sys::core::PCWSTR, bytesinunicodestring: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EngUnlockSurface(pso: *mut SURFOBJ); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn EngWideCharToMultiByte(codepage: u32, widecharstring: ::windows_sys::core::PCWSTR, bytesinwidecharstring: i32, multibytestring: ::windows_sys::core::PSTR, bytesinmultibytestring: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FONTOBJ_cGetAllGlyphHandles(pfo: *mut FONTOBJ, phg: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FONTOBJ_cGetGlyphs(pfo: *mut FONTOBJ, imode: u32, cglyph: u32, phg: *mut u32, ppvglyph: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FONTOBJ_pQueryGlyphAttrs(pfo: *mut FONTOBJ, imode: u32) -> *mut FD_GLYPHATTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FONTOBJ_pfdg(pfo: *mut FONTOBJ) -> *mut FD_GLYPHSET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn FONTOBJ_pifi(pfo: *const FONTOBJ) -> *mut IFIMETRICS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FONTOBJ_pvTrueTypeFontFile(pfo: *mut FONTOBJ, pcjfile: *mut u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FONTOBJ_pxoGetXform(pfo: *const FONTOBJ) -> *mut XFORMOBJ; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FONTOBJ_vGetInfo(pfo: *mut FONTOBJ, cjsize: u32, pfi: *mut FONTINFO); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetAutoRotationState(pstate: *mut AR_STATE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCapabilitiesStringLength(hmonitor: super::super::Foundation::HANDLE, pdwcapabilitiesstringlengthincharacters: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDisplayAutoRotationPreferences(porientation: *mut ORIENTATION_PREFERENCE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn GetDisplayConfigBufferSizes(flags: u32, numpatharrayelements: *mut u32, nummodeinfoarrayelements: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetMonitorBrightness(hmonitor: super::super::Foundation::HANDLE, pdwminimumbrightness: *mut u32, pdwcurrentbrightness: *mut u32, pdwmaximumbrightness: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetMonitorCapabilities(hmonitor: super::super::Foundation::HANDLE, pdwmonitorcapabilities: *mut u32, pdwsupportedcolortemperatures: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetMonitorColorTemperature(hmonitor: super::super::Foundation::HANDLE, pctcurrentcolortemperature: *mut MC_COLOR_TEMPERATURE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetMonitorContrast(hmonitor: super::super::Foundation::HANDLE, pdwminimumcontrast: *mut u32, pdwcurrentcontrast: *mut u32, pdwmaximumcontrast: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetMonitorDisplayAreaPosition(hmonitor: super::super::Foundation::HANDLE, ptpositiontype: MC_POSITION_TYPE, pdwminimumposition: *mut u32, pdwcurrentposition: *mut u32, pdwmaximumposition: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetMonitorDisplayAreaSize(hmonitor: super::super::Foundation::HANDLE, stsizetype: MC_SIZE_TYPE, pdwminimumwidthorheight: *mut u32, pdwcurrentwidthorheight: *mut u32, pdwmaximumwidthorheight: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetMonitorRedGreenOrBlueDrive(hmonitor: super::super::Foundation::HANDLE, dtdrivetype: MC_DRIVE_TYPE, pdwminimumdrive: *mut u32, pdwcurrentdrive: *mut u32, pdwmaximumdrive: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetMonitorRedGreenOrBlueGain(hmonitor: super::super::Foundation::HANDLE, gtgaintype: MC_GAIN_TYPE, pdwminimumgain: *mut u32, pdwcurrentgain: *mut u32, pdwmaximumgain: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetMonitorTechnologyType(hmonitor: super::super::Foundation::HANDLE, pdtydisplaytechnologytype: *mut MC_DISPLAY_TECHNOLOGY_TYPE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn GetNumberOfPhysicalMonitorsFromHMONITOR(hmonitor: super::super::Graphics::Gdi::HMONITOR, pdwnumberofphysicalmonitors: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Direct3D9\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D9")] pub fn GetNumberOfPhysicalMonitorsFromIDirect3DDevice9(pdirect3ddevice9: super::super::Graphics::Direct3D9::IDirect3DDevice9, pdwnumberofphysicalmonitors: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetPhysicalMonitorsFromHMONITOR(hmonitor: super::super::Graphics::Gdi::HMONITOR, dwphysicalmonitorarraysize: u32, pphysicalmonitorarray: *mut PHYSICAL_MONITOR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))] pub fn GetPhysicalMonitorsFromIDirect3DDevice9(pdirect3ddevice9: super::super::Graphics::Direct3D9::IDirect3DDevice9, dwphysicalmonitorarraysize: u32, pphysicalmonitorarray: *mut PHYSICAL_MONITOR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTimingReport(hmonitor: super::super::Foundation::HANDLE, pmtrmonitortimingreport: *mut MC_TIMING_REPORT) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetVCPFeatureAndVCPFeatureReply(hmonitor: super::super::Foundation::HANDLE, bvcpcode: u8, pvct: *mut MC_VCP_CODE_TYPE, pdwcurrentvalue: *mut u32, pdwmaximumvalue: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HT_Get8BPPFormatPalette(ppaletteentry: *mut super::super::Graphics::Gdi::PALETTEENTRY, redgamma: u16, greengamma: u16, bluegamma: u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn HT_Get8BPPMaskPalette(ppaletteentry: *mut super::super::Graphics::Gdi::PALETTEENTRY, use8bppmaskpal: super::super::Foundation::BOOL, cmymask: u8, redgamma: u16, greengamma: u16, bluegamma: u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PATHOBJ_bEnum(ppo: *mut PATHOBJ, ppd: *mut PATHDATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PATHOBJ_bEnumClipLines(ppo: *mut PATHOBJ, cb: u32, pcl: *mut CLIPLINE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn PATHOBJ_vEnumStart(ppo: *mut PATHOBJ); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PATHOBJ_vEnumStartClipLines(ppo: *mut PATHOBJ, pco: *mut CLIPOBJ, pso: *mut SURFOBJ, pla: *mut LINEATTRS); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn PATHOBJ_vGetBounds(ppo: *mut PATHOBJ, prectfx: *mut RECTFX); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryDisplayConfig(flags: u32, numpatharrayelements: *mut u32, patharray: *mut DISPLAYCONFIG_PATH_INFO, nummodeinfoarrayelements: *mut u32, modeinfoarray: *mut DISPLAYCONFIG_MODE_INFO, currenttopologyid: *mut DISPLAYCONFIG_TOPOLOGY_ID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RestoreMonitorFactoryColorDefaults(hmonitor: super::super::Foundation::HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RestoreMonitorFactoryDefaults(hmonitor: super::super::Foundation::HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn STROBJ_bEnum(pstro: *mut STROBJ, pc: *mut u32, ppgpos: *mut *mut GLYPHPOS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn STROBJ_bEnumPositionsOnly(pstro: *mut STROBJ, pc: *mut u32, ppgpos: *mut *mut GLYPHPOS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn STROBJ_bGetAdvanceWidths(pso: *mut STROBJ, ifirst: u32, c: u32, pptqd: *mut POINTQF) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn STROBJ_dwGetCodePage(pstro: *mut STROBJ) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn STROBJ_vEnumStart(pstro: *mut STROBJ); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SaveCurrentMonitorSettings(hmonitor: super::super::Foundation::HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SaveCurrentSettings(hmonitor: super::super::Foundation::HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetDisplayAutoRotationPreferences(orientation: ORIENTATION_PREFERENCE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetDisplayConfig(numpatharrayelements: u32, patharray: *const DISPLAYCONFIG_PATH_INFO, nummodeinfoarrayelements: u32, modeinfoarray: *const DISPLAYCONFIG_MODE_INFO, flags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetMonitorBrightness(hmonitor: super::super::Foundation::HANDLE, dwnewbrightness: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetMonitorColorTemperature(hmonitor: super::super::Foundation::HANDLE, ctcurrentcolortemperature: MC_COLOR_TEMPERATURE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetMonitorContrast(hmonitor: super::super::Foundation::HANDLE, dwnewcontrast: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetMonitorDisplayAreaPosition(hmonitor: super::super::Foundation::HANDLE, ptpositiontype: MC_POSITION_TYPE, dwnewposition: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetMonitorDisplayAreaSize(hmonitor: super::super::Foundation::HANDLE, stsizetype: MC_SIZE_TYPE, dwnewdisplayareawidthorheight: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetMonitorRedGreenOrBlueDrive(hmonitor: super::super::Foundation::HANDLE, dtdrivetype: MC_DRIVE_TYPE, dwnewdrive: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetMonitorRedGreenOrBlueGain(hmonitor: super::super::Foundation::HANDLE, gtgaintype: MC_GAIN_TYPE, dwnewgain: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetVCPFeature(hmonitor: super::super::Foundation::HANDLE, bvcpcode: u8, dwnewvalue: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn XFORMOBJ_bApplyXform(pxo: *mut XFORMOBJ, imode: u32, cpoints: u32, pvin: *mut ::core::ffi::c_void, pvout: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn XFORMOBJ_iGetXform(pxo: *const XFORMOBJ, pxform: *mut XFORML) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn XLATEOBJ_cGetPalette(pxlo: *mut XLATEOBJ, ipal: u32, cpal: u32, ppal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn XLATEOBJ_hGetColorTransform(pxlo: *mut XLATEOBJ) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn XLATEOBJ_iXlate(pxlo: *mut XLATEOBJ, icolor: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] pub fn XLATEOBJ_piVector(pxlo: *mut XLATEOBJ) -> *mut u32; } diff --git a/crates/libs/sys/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs index fb45f69058..370b6c2b71 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs @@ -2,25 +2,49 @@ extern "system" { #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] pub fn SwDeviceClose(hswdevice: HSWDEVICE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn SwDeviceCreate(pszenumeratorname: ::windows_sys::core::PCWSTR, pszparentdeviceinstance: ::windows_sys::core::PCWSTR, pcreateinfo: *const SW_DEVICE_CREATE_INFO, cpropertycount: u32, pproperties: *const super::super::Properties::DEVPROPERTY, pcallback: SW_DEVICE_CREATE_CALLBACK, pcontext: *const ::core::ffi::c_void, phswdevice: *mut isize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] pub fn SwDeviceGetLifetime(hswdevice: HSWDEVICE, plifetime: *mut SW_DEVICE_LIFETIME) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn SwDeviceInterfacePropertySet(hswdevice: HSWDEVICE, pszdeviceinterfaceid: ::windows_sys::core::PCWSTR, cpropertycount: u32, pproperties: *const super::super::Properties::DEVPROPERTY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] pub fn SwDeviceInterfaceRegister(hswdevice: HSWDEVICE, pinterfaceclassguid: *const ::windows_sys::core::GUID, pszreferencestring: ::windows_sys::core::PCWSTR, cpropertycount: u32, pproperties: *const super::super::Properties::DEVPROPERTY, fenabled: super::super::super::Foundation::BOOL, ppszdeviceinterfaceid: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SwDeviceInterfaceSetState(hswdevice: HSWDEVICE, pszdeviceinterfaceid: ::windows_sys::core::PCWSTR, fenabled: super::super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] pub fn SwDevicePropertySet(hswdevice: HSWDEVICE, cpropertycount: u32, pproperties: *const super::super::Properties::DEVPROPERTY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] pub fn SwDeviceSetLifetime(hswdevice: HSWDEVICE, lifetime: SW_DEVICE_LIFETIME) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] pub fn SwMemFree(pmem: *const ::core::ffi::c_void); } diff --git a/crates/libs/sys/src/Windows/Win32/Devices/Fax/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/Fax/mod.rs index 71ef884e40..436229a1e5 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/Fax/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/Fax/mod.rs @@ -3,175 +3,349 @@ extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CanSendToFaxRecipient() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxAbort(faxhandle: super::super::Foundation::HANDLE, jobid: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxAccessCheck(faxhandle: super::super::Foundation::HANDLE, accessmask: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxClose(faxhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxCompleteJobParamsA(jobparams: *mut *mut FAX_JOB_PARAMA, coverpageinfo: *mut *mut FAX_COVERPAGE_INFOA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxCompleteJobParamsW(jobparams: *mut *mut FAX_JOB_PARAMW, coverpageinfo: *mut *mut FAX_COVERPAGE_INFOW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxConnectFaxServerA(machinename: ::windows_sys::core::PCSTR, faxhandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxConnectFaxServerW(machinename: ::windows_sys::core::PCWSTR, faxhandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxEnableRoutingMethodA(faxporthandle: super::super::Foundation::HANDLE, routingguid: ::windows_sys::core::PCSTR, enabled: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxEnableRoutingMethodW(faxporthandle: super::super::Foundation::HANDLE, routingguid: ::windows_sys::core::PCWSTR, enabled: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxEnumGlobalRoutingInfoA(faxhandle: super::super::Foundation::HANDLE, routinginfo: *mut *mut FAX_GLOBAL_ROUTING_INFOA, methodsreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxEnumGlobalRoutingInfoW(faxhandle: super::super::Foundation::HANDLE, routinginfo: *mut *mut FAX_GLOBAL_ROUTING_INFOW, methodsreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxEnumJobsA(faxhandle: super::super::Foundation::HANDLE, jobentry: *mut *mut FAX_JOB_ENTRYA, jobsreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxEnumJobsW(faxhandle: super::super::Foundation::HANDLE, jobentry: *mut *mut FAX_JOB_ENTRYW, jobsreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxEnumPortsA(faxhandle: super::super::Foundation::HANDLE, portinfo: *mut *mut FAX_PORT_INFOA, portsreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxEnumPortsW(faxhandle: super::super::Foundation::HANDLE, portinfo: *mut *mut FAX_PORT_INFOW, portsreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxEnumRoutingMethodsA(faxporthandle: super::super::Foundation::HANDLE, routingmethod: *mut *mut FAX_ROUTING_METHODA, methodsreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxEnumRoutingMethodsW(faxporthandle: super::super::Foundation::HANDLE, routingmethod: *mut *mut FAX_ROUTING_METHODW, methodsreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`*"] pub fn FaxFreeBuffer(buffer: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxGetConfigurationA(faxhandle: super::super::Foundation::HANDLE, faxconfig: *mut *mut FAX_CONFIGURATIONA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxGetConfigurationW(faxhandle: super::super::Foundation::HANDLE, faxconfig: *mut *mut FAX_CONFIGURATIONW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxGetDeviceStatusA(faxporthandle: super::super::Foundation::HANDLE, devicestatus: *mut *mut FAX_DEVICE_STATUSA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxGetDeviceStatusW(faxporthandle: super::super::Foundation::HANDLE, devicestatus: *mut *mut FAX_DEVICE_STATUSW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxGetJobA(faxhandle: super::super::Foundation::HANDLE, jobid: u32, jobentry: *mut *mut FAX_JOB_ENTRYA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxGetJobW(faxhandle: super::super::Foundation::HANDLE, jobid: u32, jobentry: *mut *mut FAX_JOB_ENTRYW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxGetLoggingCategoriesA(faxhandle: super::super::Foundation::HANDLE, categories: *mut *mut FAX_LOG_CATEGORYA, numbercategories: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxGetLoggingCategoriesW(faxhandle: super::super::Foundation::HANDLE, categories: *mut *mut FAX_LOG_CATEGORYW, numbercategories: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxGetPageData(faxhandle: super::super::Foundation::HANDLE, jobid: u32, buffer: *mut *mut u8, buffersize: *mut u32, imagewidth: *mut u32, imageheight: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxGetPortA(faxporthandle: super::super::Foundation::HANDLE, portinfo: *mut *mut FAX_PORT_INFOA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxGetPortW(faxporthandle: super::super::Foundation::HANDLE, portinfo: *mut *mut FAX_PORT_INFOW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxGetRoutingInfoA(faxporthandle: super::super::Foundation::HANDLE, routingguid: ::windows_sys::core::PCSTR, routinginfobuffer: *mut *mut u8, routinginfobuffersize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxGetRoutingInfoW(faxporthandle: super::super::Foundation::HANDLE, routingguid: ::windows_sys::core::PCWSTR, routinginfobuffer: *mut *mut u8, routinginfobuffersize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxInitializeEventQueue(faxhandle: super::super::Foundation::HANDLE, completionport: super::super::Foundation::HANDLE, completionkey: usize, hwnd: super::super::Foundation::HWND, messagestart: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxOpenPort(faxhandle: super::super::Foundation::HANDLE, deviceid: u32, flags: u32, faxporthandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn FaxPrintCoverPageA(faxcontextinfo: *const FAX_CONTEXT_INFOA, coverpageinfo: *const FAX_COVERPAGE_INFOA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn FaxPrintCoverPageW(faxcontextinfo: *const FAX_CONTEXT_INFOW, coverpageinfo: *const FAX_COVERPAGE_INFOW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxRegisterRoutingExtensionW(faxhandle: super::super::Foundation::HANDLE, extensionname: ::windows_sys::core::PCWSTR, friendlyname: ::windows_sys::core::PCWSTR, imagename: ::windows_sys::core::PCWSTR, callback: PFAX_ROUTING_INSTALLATION_CALLBACKW, context: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxRegisterServiceProviderW(deviceprovider: ::windows_sys::core::PCWSTR, friendlyname: ::windows_sys::core::PCWSTR, imagename: ::windows_sys::core::PCWSTR, tspname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxSendDocumentA(faxhandle: super::super::Foundation::HANDLE, filename: ::windows_sys::core::PCSTR, jobparams: *mut FAX_JOB_PARAMA, coverpageinfo: *const FAX_COVERPAGE_INFOA, faxjobid: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxSendDocumentForBroadcastA(faxhandle: super::super::Foundation::HANDLE, filename: ::windows_sys::core::PCSTR, faxjobid: *mut u32, faxrecipientcallback: PFAX_RECIPIENT_CALLBACKA, context: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxSendDocumentForBroadcastW(faxhandle: super::super::Foundation::HANDLE, filename: ::windows_sys::core::PCWSTR, faxjobid: *mut u32, faxrecipientcallback: PFAX_RECIPIENT_CALLBACKW, context: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxSendDocumentW(faxhandle: super::super::Foundation::HANDLE, filename: ::windows_sys::core::PCWSTR, jobparams: *mut FAX_JOB_PARAMW, coverpageinfo: *const FAX_COVERPAGE_INFOW, faxjobid: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxSetConfigurationA(faxhandle: super::super::Foundation::HANDLE, faxconfig: *const FAX_CONFIGURATIONA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxSetConfigurationW(faxhandle: super::super::Foundation::HANDLE, faxconfig: *const FAX_CONFIGURATIONW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxSetGlobalRoutingInfoA(faxhandle: super::super::Foundation::HANDLE, routinginfo: *const FAX_GLOBAL_ROUTING_INFOA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxSetGlobalRoutingInfoW(faxhandle: super::super::Foundation::HANDLE, routinginfo: *const FAX_GLOBAL_ROUTING_INFOW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxSetJobA(faxhandle: super::super::Foundation::HANDLE, jobid: u32, command: u32, jobentry: *const FAX_JOB_ENTRYA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxSetJobW(faxhandle: super::super::Foundation::HANDLE, jobid: u32, command: u32, jobentry: *const FAX_JOB_ENTRYW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxSetLoggingCategoriesA(faxhandle: super::super::Foundation::HANDLE, categories: *const FAX_LOG_CATEGORYA, numbercategories: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxSetLoggingCategoriesW(faxhandle: super::super::Foundation::HANDLE, categories: *const FAX_LOG_CATEGORYW, numbercategories: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxSetPortA(faxporthandle: super::super::Foundation::HANDLE, portinfo: *const FAX_PORT_INFOA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxSetPortW(faxporthandle: super::super::Foundation::HANDLE, portinfo: *const FAX_PORT_INFOW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxSetRoutingInfoA(faxporthandle: super::super::Foundation::HANDLE, routingguid: ::windows_sys::core::PCSTR, routinginfobuffer: *const u8, routinginfobuffersize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxSetRoutingInfoW(faxporthandle: super::super::Foundation::HANDLE, routingguid: ::windows_sys::core::PCWSTR, routinginfobuffer: *const u8, routinginfobuffersize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn FaxStartPrintJobA(printername: ::windows_sys::core::PCSTR, printinfo: *const FAX_PRINT_INFOA, faxjobid: *mut u32, faxcontextinfo: *mut FAX_CONTEXT_INFOA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn FaxStartPrintJobW(printername: ::windows_sys::core::PCWSTR, printinfo: *const FAX_PRINT_INFOW, faxjobid: *mut u32, faxcontextinfo: *mut FAX_CONTEXT_INFOW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaxUnregisterServiceProviderW(deviceprovider: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`*"] pub fn SendToFaxRecipient(sndmode: SendToMode, lpfilename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StiCreateInstanceW(hinst: super::super::Foundation::HINSTANCE, dwver: u32, ppsti: *mut IStillImageW, punkouter: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs index 65dd95be83..c3c82ac7a7 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs @@ -3,138 +3,276 @@ extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DirectInput8Create(hinst: super::super::Foundation::HINSTANCE, dwversion: u32, riidltf: *const ::windows_sys::core::GUID, ppvout: *mut *mut ::core::ffi::c_void, punkouter: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidD_FlushQueue(hiddeviceobject: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidD_FreePreparsedData(preparseddata: isize) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidD_GetAttributes(hiddeviceobject: super::super::Foundation::HANDLE, attributes: *mut HIDD_ATTRIBUTES) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidD_GetConfiguration(hiddeviceobject: super::super::Foundation::HANDLE, configuration: *mut HIDD_CONFIGURATION, configurationlength: u32) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidD_GetFeature(hiddeviceobject: super::super::Foundation::HANDLE, reportbuffer: *mut ::core::ffi::c_void, reportbufferlength: u32) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] pub fn HidD_GetHidGuid(hidguid: *mut ::windows_sys::core::GUID); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidD_GetIndexedString(hiddeviceobject: super::super::Foundation::HANDLE, stringindex: u32, buffer: *mut ::core::ffi::c_void, bufferlength: u32) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidD_GetInputReport(hiddeviceobject: super::super::Foundation::HANDLE, reportbuffer: *mut ::core::ffi::c_void, reportbufferlength: u32) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidD_GetManufacturerString(hiddeviceobject: super::super::Foundation::HANDLE, buffer: *mut ::core::ffi::c_void, bufferlength: u32) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidD_GetMsGenreDescriptor(hiddeviceobject: super::super::Foundation::HANDLE, buffer: *mut ::core::ffi::c_void, bufferlength: u32) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidD_GetNumInputBuffers(hiddeviceobject: super::super::Foundation::HANDLE, numberbuffers: *mut u32) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidD_GetPhysicalDescriptor(hiddeviceobject: super::super::Foundation::HANDLE, buffer: *mut ::core::ffi::c_void, bufferlength: u32) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidD_GetPreparsedData(hiddeviceobject: super::super::Foundation::HANDLE, preparseddata: *mut isize) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidD_GetProductString(hiddeviceobject: super::super::Foundation::HANDLE, buffer: *mut ::core::ffi::c_void, bufferlength: u32) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidD_GetSerialNumberString(hiddeviceobject: super::super::Foundation::HANDLE, buffer: *mut ::core::ffi::c_void, bufferlength: u32) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidD_SetConfiguration(hiddeviceobject: super::super::Foundation::HANDLE, configuration: *const HIDD_CONFIGURATION, configurationlength: u32) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidD_SetFeature(hiddeviceobject: super::super::Foundation::HANDLE, reportbuffer: *const ::core::ffi::c_void, reportbufferlength: u32) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidD_SetNumInputBuffers(hiddeviceobject: super::super::Foundation::HANDLE, numberbuffers: u32) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidD_SetOutputReport(hiddeviceobject: super::super::Foundation::HANDLE, reportbuffer: *const ::core::ffi::c_void, reportbufferlength: u32) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_GetButtonArray(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, buttondata: *mut HIDP_BUTTON_ARRAY_DATA, buttondatalength: *mut u16, preparseddata: isize, report: ::windows_sys::core::PCSTR, reportlength: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_GetButtonCaps(reporttype: HIDP_REPORT_TYPE, buttoncaps: *mut HIDP_BUTTON_CAPS, buttoncapslength: *mut u16, preparseddata: isize) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_GetCaps(preparseddata: isize, capabilities: *mut HIDP_CAPS) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_GetData(reporttype: HIDP_REPORT_TYPE, datalist: *mut HIDP_DATA, datalength: *mut u32, preparseddata: isize, report: ::windows_sys::core::PSTR, reportlength: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_GetExtendedAttributes(reporttype: HIDP_REPORT_TYPE, dataindex: u16, preparseddata: isize, attributes: *mut HIDP_EXTENDED_ATTRIBUTES, lengthattributes: *mut u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_GetLinkCollectionNodes(linkcollectionnodes: *mut HIDP_LINK_COLLECTION_NODE, linkcollectionnodeslength: *mut u32, preparseddata: isize) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_GetScaledUsageValue(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: *mut i32, preparseddata: isize, report: ::windows_sys::core::PCSTR, reportlength: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_GetSpecificButtonCaps(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, buttoncaps: *mut HIDP_BUTTON_CAPS, buttoncapslength: *mut u16, preparseddata: isize) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_GetSpecificValueCaps(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, valuecaps: *mut HIDP_VALUE_CAPS, valuecapslength: *mut u16, preparseddata: isize) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_GetUsageValue(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: *mut u32, preparseddata: isize, report: ::windows_sys::core::PCSTR, reportlength: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_GetUsageValueArray(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: ::windows_sys::core::PSTR, usagevaluebytelength: u16, preparseddata: isize, report: ::windows_sys::core::PCSTR, reportlength: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_GetUsages(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usagelist: *mut u16, usagelength: *mut u32, preparseddata: isize, report: ::windows_sys::core::PSTR, reportlength: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_GetUsagesEx(reporttype: HIDP_REPORT_TYPE, linkcollection: u16, buttonlist: *mut USAGE_AND_PAGE, usagelength: *mut u32, preparseddata: isize, report: ::windows_sys::core::PCSTR, reportlength: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_GetValueCaps(reporttype: HIDP_REPORT_TYPE, valuecaps: *mut HIDP_VALUE_CAPS, valuecapslength: *mut u16, preparseddata: isize) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_InitializeReportForID(reporttype: HIDP_REPORT_TYPE, reportid: u8, preparseddata: isize, report: ::windows_sys::core::PSTR, reportlength: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] pub fn HidP_MaxDataListLength(reporttype: HIDP_REPORT_TYPE, preparseddata: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] pub fn HidP_MaxUsageListLength(reporttype: HIDP_REPORT_TYPE, usagepage: u16, preparseddata: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_SetButtonArray(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, buttondata: *const HIDP_BUTTON_ARRAY_DATA, buttondatalength: u16, preparseddata: isize, report: ::windows_sys::core::PSTR, reportlength: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_SetData(reporttype: HIDP_REPORT_TYPE, datalist: *mut HIDP_DATA, datalength: *mut u32, preparseddata: isize, report: ::windows_sys::core::PCSTR, reportlength: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_SetScaledUsageValue(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: i32, preparseddata: isize, report: ::windows_sys::core::PSTR, reportlength: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_SetUsageValue(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: u32, preparseddata: isize, report: ::windows_sys::core::PSTR, reportlength: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_SetUsageValueArray(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: ::windows_sys::core::PCSTR, usagevaluebytelength: u16, preparseddata: isize, report: ::windows_sys::core::PSTR, reportlength: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_SetUsages(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usagelist: *mut u16, usagelength: *mut u32, preparseddata: isize, report: ::windows_sys::core::PCSTR, reportlength: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_TranslateUsagesToI8042ScanCodes(changedusagelist: *const u16, usagelistlength: u32, keyaction: HIDP_KEYBOARD_DIRECTION, modifierstate: *mut HIDP_KEYBOARD_MODIFIER_STATE, insertcodesprocedure: PHIDP_INSERT_SCANCODES, insertcodescontext: *const ::core::ffi::c_void) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_UnsetUsages(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usagelist: *mut u16, usagelength: *mut u32, preparseddata: isize, report: ::windows_sys::core::PCSTR, reportlength: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HidP_UsageListDifference(previoususagelist: *const u16, currentusagelist: *const u16, breakusagelist: *mut u16, makeusagelist: *mut u16, usagelistlength: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] pub fn joyConfigChanged(dwflags: u32) -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/Devices/Sensors/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/Sensors/mod.rs index 96626d6dce..81bd05f3d6 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/Sensors/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/Sensors/mod.rs @@ -1,120 +1,237 @@ #[cfg_attr(windows, link(name = "windows"))] -extern "system" { +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn CollectionsListAllocateBufferAndSerialize(sourcecollection: *const SENSOR_COLLECTION_LIST, ptargetbuffersizeinbytes: *mut u32, ptargetbuffer: *mut *mut u8) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn CollectionsListCopyAndMarshall(target: *mut SENSOR_COLLECTION_LIST, source: *const SENSOR_COLLECTION_LIST) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn CollectionsListDeserializeFromBuffer(sourcebuffersizeinbytes: u32, sourcebuffer: *const u8, targetcollection: *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`*"] pub fn CollectionsListGetFillableCount(buffersizebytes: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn CollectionsListGetMarshalledSize(collection: *const SENSOR_COLLECTION_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn CollectionsListGetMarshalledSizeWithoutSerialization(collection: *const SENSOR_COLLECTION_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn CollectionsListGetSerializedSize(collection: *const SENSOR_COLLECTION_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn CollectionsListMarshall(target: *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn CollectionsListSerializeToBuffer(sourcecollection: *const SENSOR_COLLECTION_LIST, targetbuffersizeinbytes: u32, targetbuffer: *mut u8) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn CollectionsListSortSubscribedActivitiesByConfidence(thresholds: *const SENSOR_COLLECTION_LIST, pcollection: *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn CollectionsListUpdateMarshalledPointer(collection: *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn EvaluateActivityThresholds(newsample: *const SENSOR_COLLECTION_LIST, oldsample: *const SENSOR_COLLECTION_LIST, thresholds: *const SENSOR_COLLECTION_LIST) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPerformanceTime(timems: *mut u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromCLSIDArray(members: *const ::windows_sys::core::GUID, size: u32, ppropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromFloat(fltval: f32, ppropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn IsCollectionListSame(lista: *const SENSOR_COLLECTION_LIST, listb: *const SENSOR_COLLECTION_LIST) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsGUIDPresentInList(guidarray: *const ::windows_sys::core::GUID, arraylength: u32, guidelem: *const ::windows_sys::core::GUID) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn IsKeyPresentInCollectionList(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn IsKeyPresentInPropertyList(plist: *const SENSOR_PROPERTY_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn IsSensorSubscribed(subscriptionlist: *const SENSOR_COLLECTION_LIST, currenttype: ::windows_sys::core::GUID) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn PropKeyFindKeyGetBool(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut super::super::Foundation::BOOL) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn PropKeyFindKeyGetDouble(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut f64) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn PropKeyFindKeyGetFileTime(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn PropKeyFindKeyGetFloat(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut f32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn PropKeyFindKeyGetGuid(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut ::windows_sys::core::GUID) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn PropKeyFindKeyGetInt32(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut i32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn PropKeyFindKeyGetInt64(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut i64) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn PropKeyFindKeyGetNthInt64(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, occurrence: u32, pretvalue: *mut i64) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn PropKeyFindKeyGetNthUlong(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, occurrence: u32, pretvalue: *mut u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn PropKeyFindKeyGetNthUshort(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, occurrence: u32, pretvalue: *mut u16) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn PropKeyFindKeyGetPropVariant(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, typecheck: super::super::Foundation::BOOLEAN, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn PropKeyFindKeyGetUlong(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn PropKeyFindKeyGetUshort(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut u16) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn PropKeyFindKeySetPropVariant(plist: *mut SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, typecheck: super::super::Foundation::BOOLEAN, pvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetInformation(propvariantvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT, propvariantoffset: *mut u32, propvariantsize: *mut u32, propvariantpointer: *mut *mut ::core::ffi::c_void, remappedtype: *mut u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn PropertiesListCopy(target: *mut SENSOR_PROPERTY_LIST, source: *const SENSOR_PROPERTY_LIST) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`*"] pub fn PropertiesListGetFillableCount(buffersizebytes: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn SensorCollectionGetAt(index: u32, psensorslist: *const SENSOR_COLLECTION_LIST, pkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SerializationBufferAllocate(sizeinbytes: u32, pbuffer: *mut *mut u8) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`*"] pub fn SerializationBufferFree(buffer: *const u8); } diff --git a/crates/libs/sys/src/Windows/Win32/Devices/SerialCommunication/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/SerialCommunication/mod.rs index bff9b3d361..19db15d372 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/SerialCommunication/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/SerialCommunication/mod.rs @@ -2,17 +2,35 @@ extern "system" { #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] pub fn ComDBClaimNextFreePort(hcomdb: HCOMDB, comnumber: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ComDBClaimPort(hcomdb: HCOMDB, comnumber: u32, forceclaim: super::super::Foundation::BOOL, forced: *mut super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] pub fn ComDBClose(hcomdb: HCOMDB) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] pub fn ComDBGetCurrentPortUsage(hcomdb: HCOMDB, buffer: *mut u8, buffersize: u32, reporttype: u32, maxportsreported: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] pub fn ComDBOpen(phcomdb: *mut isize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] pub fn ComDBReleasePort(hcomdb: HCOMDB, comnumber: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] pub fn ComDBResizeDatabase(hcomdb: HCOMDB, newsize: u32) -> i32; } diff --git a/crates/libs/sys/src/Windows/Win32/Devices/Tapi/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/Tapi/mod.rs index d01b497116..a85a70f453 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/Tapi/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/Tapi/mod.rs @@ -3,538 +3,1291 @@ extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn GetTnefStreamCodepage(lpstream: super::super::System::Com::IStream, lpulcodepage: *mut u32, lpulsubcodepage: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_AddressBook\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_System_AddressBook", feature = "Win32_System_Com"))] pub fn OpenTnefStream(lpvsupport: *mut ::core::ffi::c_void, lpstream: super::super::System::Com::IStream, lpszstreamname: *const i8, ulflags: u32, lpmessage: super::super::System::AddressBook::IMessage, wkeyval: u16, lpptnef: *mut ITnef) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_AddressBook\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_System_AddressBook", feature = "Win32_System_Com"))] pub fn OpenTnefStreamEx(lpvsupport: *mut ::core::ffi::c_void, lpstream: super::super::System::Com::IStream, lpszstreamname: *const i8, ulflags: u32, lpmessage: super::super::System::AddressBook::IMessage, wkeyval: u16, lpadressbook: super::super::System::AddressBook::IAddrBook, lpptnef: *mut ITnef) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineAccept(hcall: u32, lpsuseruserinfo: ::windows_sys::core::PCSTR, dwsize: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn lineAddProvider(lpszproviderfilename: ::windows_sys::core::PCSTR, hwndowner: super::super::Foundation::HWND, lpdwpermanentproviderid: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn lineAddProviderA(lpszproviderfilename: ::windows_sys::core::PCSTR, hwndowner: super::super::Foundation::HWND, lpdwpermanentproviderid: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn lineAddProviderW(lpszproviderfilename: ::windows_sys::core::PCWSTR, hwndowner: super::super::Foundation::HWND, lpdwpermanentproviderid: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineAddToConference(hconfcall: u32, hconsultcall: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineAgentSpecific(hline: u32, dwaddressid: u32, dwagentextensionidindex: u32, lpparams: *mut ::core::ffi::c_void, dwsize: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineAnswer(hcall: u32, lpsuseruserinfo: ::windows_sys::core::PCSTR, dwsize: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineBlindTransfer(hcall: u32, lpszdestaddress: ::windows_sys::core::PCSTR, dwcountrycode: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineBlindTransferA(hcall: u32, lpszdestaddress: ::windows_sys::core::PCSTR, dwcountrycode: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineBlindTransferW(hcall: u32, lpszdestaddressw: ::windows_sys::core::PCWSTR, dwcountrycode: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineClose(hline: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineCompleteCall(hcall: u32, lpdwcompletionid: *mut u32, dwcompletionmode: u32, dwmessageid: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineCompleteTransfer(hcall: u32, hconsultcall: u32, lphconfcall: *mut u32, dwtransfermode: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn lineConfigDialog(dwdeviceid: u32, hwndowner: super::super::Foundation::HWND, lpszdeviceclass: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn lineConfigDialogA(dwdeviceid: u32, hwndowner: super::super::Foundation::HWND, lpszdeviceclass: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn lineConfigDialogEdit(dwdeviceid: u32, hwndowner: super::super::Foundation::HWND, lpszdeviceclass: ::windows_sys::core::PCSTR, lpdeviceconfigin: *const ::core::ffi::c_void, dwsize: u32, lpdeviceconfigout: *mut VARSTRING) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn lineConfigDialogEditA(dwdeviceid: u32, hwndowner: super::super::Foundation::HWND, lpszdeviceclass: ::windows_sys::core::PCSTR, lpdeviceconfigin: *const ::core::ffi::c_void, dwsize: u32, lpdeviceconfigout: *mut VARSTRING) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn lineConfigDialogEditW(dwdeviceid: u32, hwndowner: super::super::Foundation::HWND, lpszdeviceclass: ::windows_sys::core::PCWSTR, lpdeviceconfigin: *const ::core::ffi::c_void, dwsize: u32, lpdeviceconfigout: *mut VARSTRING) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn lineConfigDialogW(dwdeviceid: u32, hwndowner: super::super::Foundation::HWND, lpszdeviceclass: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn lineConfigProvider(hwndowner: super::super::Foundation::HWND, dwpermanentproviderid: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineCreateAgentA(hline: u32, lpszagentid: ::windows_sys::core::PCSTR, lpszagentpin: ::windows_sys::core::PCSTR, lphagent: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineCreateAgentSessionA(hline: u32, hagent: u32, lpszagentpin: ::windows_sys::core::PCSTR, dwworkingaddressid: u32, lpgroupid: *mut ::windows_sys::core::GUID, lphagentsession: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineCreateAgentSessionW(hline: u32, hagent: u32, lpszagentpin: ::windows_sys::core::PCWSTR, dwworkingaddressid: u32, lpgroupid: *mut ::windows_sys::core::GUID, lphagentsession: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineCreateAgentW(hline: u32, lpszagentid: ::windows_sys::core::PCWSTR, lpszagentpin: ::windows_sys::core::PCWSTR, lphagent: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineDeallocateCall(hcall: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineDevSpecific(hline: u32, dwaddressid: u32, hcall: u32, lpparams: *mut ::core::ffi::c_void, dwsize: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineDevSpecificFeature(hline: u32, dwfeature: u32, lpparams: *mut ::core::ffi::c_void, dwsize: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineDial(hcall: u32, lpszdestaddress: ::windows_sys::core::PCSTR, dwcountrycode: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineDialA(hcall: u32, lpszdestaddress: ::windows_sys::core::PCSTR, dwcountrycode: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineDialW(hcall: u32, lpszdestaddress: ::windows_sys::core::PCWSTR, dwcountrycode: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineDrop(hcall: u32, lpsuseruserinfo: ::windows_sys::core::PCSTR, dwsize: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineForward(hline: u32, balladdresses: u32, dwaddressid: u32, lpforwardlist: *const LINEFORWARDLIST, dwnumringsnoanswer: u32, lphconsultcall: *mut u32, lpcallparams: *const LINECALLPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineForwardA(hline: u32, balladdresses: u32, dwaddressid: u32, lpforwardlist: *const LINEFORWARDLIST, dwnumringsnoanswer: u32, lphconsultcall: *mut u32, lpcallparams: *const LINECALLPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineForwardW(hline: u32, balladdresses: u32, dwaddressid: u32, lpforwardlist: *const LINEFORWARDLIST, dwnumringsnoanswer: u32, lphconsultcall: *mut u32, lpcallparams: *const LINECALLPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGatherDigits(hcall: u32, dwdigitmodes: u32, lpsdigits: ::windows_sys::core::PSTR, dwnumdigits: u32, lpszterminationdigits: ::windows_sys::core::PCSTR, dwfirstdigittimeout: u32, dwinterdigittimeout: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGatherDigitsA(hcall: u32, dwdigitmodes: u32, lpsdigits: ::windows_sys::core::PSTR, dwnumdigits: u32, lpszterminationdigits: ::windows_sys::core::PCSTR, dwfirstdigittimeout: u32, dwinterdigittimeout: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGatherDigitsW(hcall: u32, dwdigitmodes: u32, lpsdigits: ::windows_sys::core::PWSTR, dwnumdigits: u32, lpszterminationdigits: ::windows_sys::core::PCWSTR, dwfirstdigittimeout: u32, dwinterdigittimeout: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGenerateDigits(hcall: u32, dwdigitmode: u32, lpszdigits: ::windows_sys::core::PCSTR, dwduration: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGenerateDigitsA(hcall: u32, dwdigitmode: u32, lpszdigits: ::windows_sys::core::PCSTR, dwduration: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGenerateDigitsW(hcall: u32, dwdigitmode: u32, lpszdigits: ::windows_sys::core::PCWSTR, dwduration: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGenerateTone(hcall: u32, dwtonemode: u32, dwduration: u32, dwnumtones: u32, lptones: *const LINEGENERATETONE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetAddressCaps(hlineapp: u32, dwdeviceid: u32, dwaddressid: u32, dwapiversion: u32, dwextversion: u32, lpaddresscaps: *mut LINEADDRESSCAPS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetAddressCapsA(hlineapp: u32, dwdeviceid: u32, dwaddressid: u32, dwapiversion: u32, dwextversion: u32, lpaddresscaps: *mut LINEADDRESSCAPS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetAddressCapsW(hlineapp: u32, dwdeviceid: u32, dwaddressid: u32, dwapiversion: u32, dwextversion: u32, lpaddresscaps: *mut LINEADDRESSCAPS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetAddressID(hline: u32, lpdwaddressid: *mut u32, dwaddressmode: u32, lpsaddress: ::windows_sys::core::PCSTR, dwsize: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetAddressIDA(hline: u32, lpdwaddressid: *mut u32, dwaddressmode: u32, lpsaddress: ::windows_sys::core::PCSTR, dwsize: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetAddressIDW(hline: u32, lpdwaddressid: *mut u32, dwaddressmode: u32, lpsaddress: ::windows_sys::core::PCWSTR, dwsize: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetAddressStatus(hline: u32, dwaddressid: u32, lpaddressstatus: *mut LINEADDRESSSTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetAddressStatusA(hline: u32, dwaddressid: u32, lpaddressstatus: *mut LINEADDRESSSTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetAddressStatusW(hline: u32, dwaddressid: u32, lpaddressstatus: *mut LINEADDRESSSTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetAgentActivityListA(hline: u32, dwaddressid: u32, lpagentactivitylist: *mut LINEAGENTACTIVITYLIST) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetAgentActivityListW(hline: u32, dwaddressid: u32, lpagentactivitylist: *mut LINEAGENTACTIVITYLIST) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetAgentCapsA(hlineapp: u32, dwdeviceid: u32, dwaddressid: u32, dwappapiversion: u32, lpagentcaps: *mut LINEAGENTCAPS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetAgentCapsW(hlineapp: u32, dwdeviceid: u32, dwaddressid: u32, dwappapiversion: u32, lpagentcaps: *mut LINEAGENTCAPS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetAgentGroupListA(hline: u32, dwaddressid: u32, lpagentgrouplist: *mut LINEAGENTGROUPLIST) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetAgentGroupListW(hline: u32, dwaddressid: u32, lpagentgrouplist: *mut LINEAGENTGROUPLIST) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn lineGetAgentInfo(hline: u32, hagent: u32, lpagentinfo: *mut LINEAGENTINFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn lineGetAgentSessionInfo(hline: u32, hagentsession: u32, lpagentsessioninfo: *mut LINEAGENTSESSIONINFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetAgentSessionList(hline: u32, hagent: u32, lpagentsessionlist: *mut LINEAGENTSESSIONLIST) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetAgentStatusA(hline: u32, dwaddressid: u32, lpagentstatus: *mut LINEAGENTSTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetAgentStatusW(hline: u32, dwaddressid: u32, lpagentstatus: *mut LINEAGENTSTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetAppPriority(lpszappfilename: ::windows_sys::core::PCSTR, dwmediamode: u32, lpextensionid: *mut LINEEXTENSIONID, dwrequestmode: u32, lpextensionname: *mut VARSTRING, lpdwpriority: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetAppPriorityA(lpszappfilename: ::windows_sys::core::PCSTR, dwmediamode: u32, lpextensionid: *mut LINEEXTENSIONID, dwrequestmode: u32, lpextensionname: *mut VARSTRING, lpdwpriority: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetAppPriorityW(lpszappfilename: ::windows_sys::core::PCWSTR, dwmediamode: u32, lpextensionid: *mut LINEEXTENSIONID, dwrequestmode: u32, lpextensionname: *mut VARSTRING, lpdwpriority: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetCallInfo(hcall: u32, lpcallinfo: *mut LINECALLINFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetCallInfoA(hcall: u32, lpcallinfo: *mut LINECALLINFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetCallInfoW(hcall: u32, lpcallinfo: *mut LINECALLINFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn lineGetCallStatus(hcall: u32, lpcallstatus: *mut LINECALLSTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetConfRelatedCalls(hcall: u32, lpcalllist: *mut LINECALLLIST) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetCountry(dwcountryid: u32, dwapiversion: u32, lplinecountrylist: *mut LINECOUNTRYLIST) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetCountryA(dwcountryid: u32, dwapiversion: u32, lplinecountrylist: *mut LINECOUNTRYLIST) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetCountryW(dwcountryid: u32, dwapiversion: u32, lplinecountrylist: *mut LINECOUNTRYLIST) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetDevCaps(hlineapp: u32, dwdeviceid: u32, dwapiversion: u32, dwextversion: u32, lplinedevcaps: *mut LINEDEVCAPS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetDevCapsA(hlineapp: u32, dwdeviceid: u32, dwapiversion: u32, dwextversion: u32, lplinedevcaps: *mut LINEDEVCAPS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetDevCapsW(hlineapp: u32, dwdeviceid: u32, dwapiversion: u32, dwextversion: u32, lplinedevcaps: *mut LINEDEVCAPS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetDevConfig(dwdeviceid: u32, lpdeviceconfig: *mut VARSTRING, lpszdeviceclass: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetDevConfigA(dwdeviceid: u32, lpdeviceconfig: *mut VARSTRING, lpszdeviceclass: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetDevConfigW(dwdeviceid: u32, lpdeviceconfig: *mut VARSTRING, lpszdeviceclass: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetGroupListA(hline: u32, lpgrouplist: *mut LINEAGENTGROUPLIST) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetGroupListW(hline: u32, lpgrouplist: *mut LINEAGENTGROUPLIST) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetID(hline: u32, dwaddressid: u32, hcall: u32, dwselect: u32, lpdeviceid: *mut VARSTRING, lpszdeviceclass: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetIDA(hline: u32, dwaddressid: u32, hcall: u32, dwselect: u32, lpdeviceid: *mut VARSTRING, lpszdeviceclass: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetIDW(hline: u32, dwaddressid: u32, hcall: u32, dwselect: u32, lpdeviceid: *mut VARSTRING, lpszdeviceclass: ::windows_sys::core::PCWSTR) -> i32; - #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetIcon(dwdeviceid: u32, lpszdeviceclass: ::windows_sys::core::PCSTR, lphicon: *mut isize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetIconA(dwdeviceid: u32, lpszdeviceclass: ::windows_sys::core::PCSTR, lphicon: *mut isize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetIconW(dwdeviceid: u32, lpszdeviceclass: ::windows_sys::core::PCWSTR, lphicon: *mut isize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetLineDevStatus(hline: u32, lplinedevstatus: *mut LINEDEVSTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetLineDevStatusA(hline: u32, lplinedevstatus: *mut LINEDEVSTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetLineDevStatusW(hline: u32, lplinedevstatus: *mut LINEDEVSTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetMessage(hlineapp: u32, lpmessage: *mut LINEMESSAGE, dwtimeout: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetNewCalls(hline: u32, dwaddressid: u32, dwselect: u32, lpcalllist: *mut LINECALLLIST) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetNumRings(hline: u32, dwaddressid: u32, lpdwnumrings: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetProviderList(dwapiversion: u32, lpproviderlist: *mut LINEPROVIDERLIST) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetProviderListA(dwapiversion: u32, lpproviderlist: *mut LINEPROVIDERLIST) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetProviderListW(dwapiversion: u32, lpproviderlist: *mut LINEPROVIDERLIST) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetProxyStatus(hlineapp: u32, dwdeviceid: u32, dwappapiversion: u32, lplineproxyreqestlist: *mut LINEPROXYREQUESTLIST) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetQueueInfo(hline: u32, dwqueueid: u32, lplinequeueinfo: *mut LINEQUEUEINFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetQueueListA(hline: u32, lpgroupid: *mut ::windows_sys::core::GUID, lpqueuelist: *mut LINEQUEUELIST) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetQueueListW(hline: u32, lpgroupid: *mut ::windows_sys::core::GUID, lpqueuelist: *mut LINEQUEUELIST) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetRequest(hlineapp: u32, dwrequestmode: u32, lprequestbuffer: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetRequestA(hlineapp: u32, dwrequestmode: u32, lprequestbuffer: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetRequestW(hlineapp: u32, dwrequestmode: u32, lprequestbuffer: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetStatusMessages(hline: u32, lpdwlinestates: *mut u32, lpdwaddressstates: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetTranslateCaps(hlineapp: u32, dwapiversion: u32, lptranslatecaps: *mut LINETRANSLATECAPS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetTranslateCapsA(hlineapp: u32, dwapiversion: u32, lptranslatecaps: *mut LINETRANSLATECAPS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineGetTranslateCapsW(hlineapp: u32, dwapiversion: u32, lptranslatecaps: *mut LINETRANSLATECAPS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineHandoff(hcall: u32, lpszfilename: ::windows_sys::core::PCSTR, dwmediamode: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineHandoffA(hcall: u32, lpszfilename: ::windows_sys::core::PCSTR, dwmediamode: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineHandoffW(hcall: u32, lpszfilename: ::windows_sys::core::PCWSTR, dwmediamode: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineHold(hcall: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn lineInitialize(lphlineapp: *mut u32, hinstance: super::super::Foundation::HINSTANCE, lpfncallback: LINECALLBACK, lpszappname: ::windows_sys::core::PCSTR, lpdwnumdevs: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn lineInitializeExA(lphlineapp: *mut u32, hinstance: super::super::Foundation::HINSTANCE, lpfncallback: LINECALLBACK, lpszfriendlyappname: ::windows_sys::core::PCSTR, lpdwnumdevs: *mut u32, lpdwapiversion: *mut u32, lplineinitializeexparams: *mut LINEINITIALIZEEXPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn lineInitializeExW(lphlineapp: *mut u32, hinstance: super::super::Foundation::HINSTANCE, lpfncallback: LINECALLBACK, lpszfriendlyappname: ::windows_sys::core::PCWSTR, lpdwnumdevs: *mut u32, lpdwapiversion: *mut u32, lplineinitializeexparams: *mut LINEINITIALIZEEXPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineMakeCall(hline: u32, lphcall: *mut u32, lpszdestaddress: ::windows_sys::core::PCSTR, dwcountrycode: u32, lpcallparams: *const LINECALLPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineMakeCallA(hline: u32, lphcall: *mut u32, lpszdestaddress: ::windows_sys::core::PCSTR, dwcountrycode: u32, lpcallparams: *const LINECALLPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineMakeCallW(hline: u32, lphcall: *mut u32, lpszdestaddress: ::windows_sys::core::PCWSTR, dwcountrycode: u32, lpcallparams: *const LINECALLPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineMonitorDigits(hcall: u32, dwdigitmodes: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineMonitorMedia(hcall: u32, dwmediamodes: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineMonitorTones(hcall: u32, lptonelist: *const LINEMONITORTONE, dwnumentries: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineNegotiateAPIVersion(hlineapp: u32, dwdeviceid: u32, dwapilowversion: u32, dwapihighversion: u32, lpdwapiversion: *mut u32, lpextensionid: *mut LINEEXTENSIONID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineNegotiateExtVersion(hlineapp: u32, dwdeviceid: u32, dwapiversion: u32, dwextlowversion: u32, dwexthighversion: u32, lpdwextversion: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineOpen(hlineapp: u32, dwdeviceid: u32, lphline: *mut u32, dwapiversion: u32, dwextversion: u32, dwcallbackinstance: usize, dwprivileges: u32, dwmediamodes: u32, lpcallparams: *const LINECALLPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineOpenA(hlineapp: u32, dwdeviceid: u32, lphline: *mut u32, dwapiversion: u32, dwextversion: u32, dwcallbackinstance: usize, dwprivileges: u32, dwmediamodes: u32, lpcallparams: *const LINECALLPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineOpenW(hlineapp: u32, dwdeviceid: u32, lphline: *mut u32, dwapiversion: u32, dwextversion: u32, dwcallbackinstance: usize, dwprivileges: u32, dwmediamodes: u32, lpcallparams: *const LINECALLPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn linePark(hcall: u32, dwparkmode: u32, lpszdiraddress: ::windows_sys::core::PCSTR, lpnondiraddress: *mut VARSTRING) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineParkA(hcall: u32, dwparkmode: u32, lpszdiraddress: ::windows_sys::core::PCSTR, lpnondiraddress: *mut VARSTRING) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineParkW(hcall: u32, dwparkmode: u32, lpszdiraddress: ::windows_sys::core::PCWSTR, lpnondiraddress: *mut VARSTRING) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn linePickup(hline: u32, dwaddressid: u32, lphcall: *mut u32, lpszdestaddress: ::windows_sys::core::PCSTR, lpszgroupid: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn linePickupA(hline: u32, dwaddressid: u32, lphcall: *mut u32, lpszdestaddress: ::windows_sys::core::PCSTR, lpszgroupid: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn linePickupW(hline: u32, dwaddressid: u32, lphcall: *mut u32, lpszdestaddress: ::windows_sys::core::PCWSTR, lpszgroupid: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn linePrepareAddToConference(hconfcall: u32, lphconsultcall: *mut u32, lpcallparams: *const LINECALLPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn linePrepareAddToConferenceA(hconfcall: u32, lphconsultcall: *mut u32, lpcallparams: *const LINECALLPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn linePrepareAddToConferenceW(hconfcall: u32, lphconsultcall: *mut u32, lpcallparams: *const LINECALLPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineProxyMessage(hline: u32, hcall: u32, dwmsg: u32, dwparam1: u32, dwparam2: u32, dwparam3: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn lineProxyResponse(hline: u32, lpproxyrequest: *mut LINEPROXYREQUEST, dwresult: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineRedirect(hcall: u32, lpszdestaddress: ::windows_sys::core::PCSTR, dwcountrycode: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineRedirectA(hcall: u32, lpszdestaddress: ::windows_sys::core::PCSTR, dwcountrycode: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineRedirectW(hcall: u32, lpszdestaddress: ::windows_sys::core::PCWSTR, dwcountrycode: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineRegisterRequestRecipient(hlineapp: u32, dwregistrationinstance: u32, dwrequestmode: u32, benable: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineReleaseUserUserInfo(hcall: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineRemoveFromConference(hcall: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn lineRemoveProvider(dwpermanentproviderid: u32, hwndowner: super::super::Foundation::HWND) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSecureCall(hcall: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSendUserUserInfo(hcall: u32, lpsuseruserinfo: ::windows_sys::core::PCSTR, dwsize: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetAgentActivity(hline: u32, dwaddressid: u32, dwactivityid: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetAgentGroup(hline: u32, dwaddressid: u32, lpagentgrouplist: *mut LINEAGENTGROUPLIST) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetAgentMeasurementPeriod(hline: u32, hagent: u32, dwmeasurementperiod: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetAgentSessionState(hline: u32, hagentsession: u32, dwagentsessionstate: u32, dwnextagentsessionstate: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetAgentState(hline: u32, dwaddressid: u32, dwagentstate: u32, dwnextagentstate: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetAgentStateEx(hline: u32, hagent: u32, dwagentstate: u32, dwnextagentstate: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetAppPriority(lpszappfilename: ::windows_sys::core::PCSTR, dwmediamode: u32, lpextensionid: *mut LINEEXTENSIONID, dwrequestmode: u32, lpszextensionname: ::windows_sys::core::PCSTR, dwpriority: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetAppPriorityA(lpszappfilename: ::windows_sys::core::PCSTR, dwmediamode: u32, lpextensionid: *mut LINEEXTENSIONID, dwrequestmode: u32, lpszextensionname: ::windows_sys::core::PCSTR, dwpriority: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetAppPriorityW(lpszappfilename: ::windows_sys::core::PCWSTR, dwmediamode: u32, lpextensionid: *mut LINEEXTENSIONID, dwrequestmode: u32, lpszextensionname: ::windows_sys::core::PCWSTR, dwpriority: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetAppSpecific(hcall: u32, dwappspecific: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetCallData(hcall: u32, lpcalldata: *mut ::core::ffi::c_void, dwsize: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetCallParams(hcall: u32, dwbearermode: u32, dwminrate: u32, dwmaxrate: u32, lpdialparams: *const LINEDIALPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetCallPrivilege(hcall: u32, dwcallprivilege: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetCallQualityOfService(hcall: u32, lpsendingflowspec: *mut ::core::ffi::c_void, dwsendingflowspecsize: u32, lpreceivingflowspec: *mut ::core::ffi::c_void, dwreceivingflowspecsize: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetCallTreatment(hcall: u32, dwtreatment: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetCurrentLocation(hlineapp: u32, dwlocation: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetDevConfig(dwdeviceid: u32, lpdeviceconfig: *const ::core::ffi::c_void, dwsize: u32, lpszdeviceclass: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetDevConfigA(dwdeviceid: u32, lpdeviceconfig: *const ::core::ffi::c_void, dwsize: u32, lpszdeviceclass: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetDevConfigW(dwdeviceid: u32, lpdeviceconfig: *const ::core::ffi::c_void, dwsize: u32, lpszdeviceclass: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetLineDevStatus(hline: u32, dwstatustochange: u32, fstatus: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetMediaControl(hline: u32, dwaddressid: u32, hcall: u32, dwselect: u32, lpdigitlist: *const LINEMEDIACONTROLDIGIT, dwdigitnumentries: u32, lpmedialist: *const LINEMEDIACONTROLMEDIA, dwmedianumentries: u32, lptonelist: *const LINEMEDIACONTROLTONE, dwtonenumentries: u32, lpcallstatelist: *const LINEMEDIACONTROLCALLSTATE, dwcallstatenumentries: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetMediaMode(hcall: u32, dwmediamodes: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetNumRings(hline: u32, dwaddressid: u32, dwnumrings: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetQueueMeasurementPeriod(hline: u32, dwqueueid: u32, dwmeasurementperiod: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetStatusMessages(hline: u32, dwlinestates: u32, dwaddressstates: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetTerminal(hline: u32, dwaddressid: u32, hcall: u32, dwselect: u32, dwterminalmodes: u32, dwterminalid: u32, benable: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetTollList(hlineapp: u32, dwdeviceid: u32, lpszaddressin: ::windows_sys::core::PCSTR, dwtolllistoption: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetTollListA(hlineapp: u32, dwdeviceid: u32, lpszaddressin: ::windows_sys::core::PCSTR, dwtolllistoption: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetTollListW(hlineapp: u32, dwdeviceid: u32, lpszaddressinw: ::windows_sys::core::PCWSTR, dwtolllistoption: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetupConference(hcall: u32, hline: u32, lphconfcall: *mut u32, lphconsultcall: *mut u32, dwnumparties: u32, lpcallparams: *const LINECALLPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetupConferenceA(hcall: u32, hline: u32, lphconfcall: *mut u32, lphconsultcall: *mut u32, dwnumparties: u32, lpcallparams: *const LINECALLPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetupConferenceW(hcall: u32, hline: u32, lphconfcall: *mut u32, lphconsultcall: *mut u32, dwnumparties: u32, lpcallparams: *const LINECALLPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetupTransfer(hcall: u32, lphconsultcall: *mut u32, lpcallparams: *const LINECALLPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetupTransferA(hcall: u32, lphconsultcall: *mut u32, lpcallparams: *const LINECALLPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSetupTransferW(hcall: u32, lphconsultcall: *mut u32, lpcallparams: *const LINECALLPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineShutdown(hlineapp: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineSwapHold(hactivecall: u32, hheldcall: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineTranslateAddress(hlineapp: u32, dwdeviceid: u32, dwapiversion: u32, lpszaddressin: ::windows_sys::core::PCSTR, dwcard: u32, dwtranslateoptions: u32, lptranslateoutput: *mut LINETRANSLATEOUTPUT) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineTranslateAddressA(hlineapp: u32, dwdeviceid: u32, dwapiversion: u32, lpszaddressin: ::windows_sys::core::PCSTR, dwcard: u32, dwtranslateoptions: u32, lptranslateoutput: *mut LINETRANSLATEOUTPUT) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineTranslateAddressW(hlineapp: u32, dwdeviceid: u32, dwapiversion: u32, lpszaddressin: ::windows_sys::core::PCWSTR, dwcard: u32, dwtranslateoptions: u32, lptranslateoutput: *mut LINETRANSLATEOUTPUT) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn lineTranslateDialog(hlineapp: u32, dwdeviceid: u32, dwapiversion: u32, hwndowner: super::super::Foundation::HWND, lpszaddressin: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn lineTranslateDialogA(hlineapp: u32, dwdeviceid: u32, dwapiversion: u32, hwndowner: super::super::Foundation::HWND, lpszaddressin: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn lineTranslateDialogW(hlineapp: u32, dwdeviceid: u32, dwapiversion: u32, hwndowner: super::super::Foundation::HWND, lpszaddressin: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineUncompleteCall(hline: u32, dwcompletionid: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineUnhold(hcall: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineUnpark(hline: u32, dwaddressid: u32, lphcall: *mut u32, lpszdestaddress: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineUnparkA(hline: u32, dwaddressid: u32, lphcall: *mut u32, lpszdestaddress: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn lineUnparkW(hline: u32, dwaddressid: u32, lphcall: *mut u32, lpszdestaddress: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneClose(hphone: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn phoneConfigDialog(dwdeviceid: u32, hwndowner: super::super::Foundation::HWND, lpszdeviceclass: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn phoneConfigDialogA(dwdeviceid: u32, hwndowner: super::super::Foundation::HWND, lpszdeviceclass: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn phoneConfigDialogW(dwdeviceid: u32, hwndowner: super::super::Foundation::HWND, lpszdeviceclass: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneDevSpecific(hphone: u32, lpparams: *mut ::core::ffi::c_void, dwsize: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetButtonInfo(hphone: u32, dwbuttonlampid: u32, lpbuttoninfo: *mut PHONEBUTTONINFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetButtonInfoA(hphone: u32, dwbuttonlampid: u32, lpbuttoninfo: *mut PHONEBUTTONINFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetButtonInfoW(hphone: u32, dwbuttonlampid: u32, lpbuttoninfo: *mut PHONEBUTTONINFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetData(hphone: u32, dwdataid: u32, lpdata: *mut ::core::ffi::c_void, dwsize: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetDevCaps(hphoneapp: u32, dwdeviceid: u32, dwapiversion: u32, dwextversion: u32, lpphonecaps: *mut PHONECAPS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetDevCapsA(hphoneapp: u32, dwdeviceid: u32, dwapiversion: u32, dwextversion: u32, lpphonecaps: *mut PHONECAPS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetDevCapsW(hphoneapp: u32, dwdeviceid: u32, dwapiversion: u32, dwextversion: u32, lpphonecaps: *mut PHONECAPS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetDisplay(hphone: u32, lpdisplay: *mut VARSTRING) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetGain(hphone: u32, dwhookswitchdev: u32, lpdwgain: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetHookSwitch(hphone: u32, lpdwhookswitchdevs: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetID(hphone: u32, lpdeviceid: *mut VARSTRING, lpszdeviceclass: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetIDA(hphone: u32, lpdeviceid: *mut VARSTRING, lpszdeviceclass: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetIDW(hphone: u32, lpdeviceid: *mut VARSTRING, lpszdeviceclass: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetIcon(dwdeviceid: u32, lpszdeviceclass: ::windows_sys::core::PCSTR, lphicon: *mut isize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetIconA(dwdeviceid: u32, lpszdeviceclass: ::windows_sys::core::PCSTR, lphicon: *mut isize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetIconW(dwdeviceid: u32, lpszdeviceclass: ::windows_sys::core::PCWSTR, lphicon: *mut isize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetLamp(hphone: u32, dwbuttonlampid: u32, lpdwlampmode: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetMessage(hphoneapp: u32, lpmessage: *mut PHONEMESSAGE, dwtimeout: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetRing(hphone: u32, lpdwringmode: *mut u32, lpdwvolume: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetStatus(hphone: u32, lpphonestatus: *mut PHONESTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetStatusA(hphone: u32, lpphonestatus: *mut PHONESTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetStatusMessages(hphone: u32, lpdwphonestates: *mut u32, lpdwbuttonmodes: *mut u32, lpdwbuttonstates: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetStatusW(hphone: u32, lpphonestatus: *mut PHONESTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneGetVolume(hphone: u32, dwhookswitchdev: u32, lpdwvolume: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn phoneInitialize(lphphoneapp: *mut u32, hinstance: super::super::Foundation::HINSTANCE, lpfncallback: PHONECALLBACK, lpszappname: ::windows_sys::core::PCSTR, lpdwnumdevs: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn phoneInitializeExA(lphphoneapp: *mut u32, hinstance: super::super::Foundation::HINSTANCE, lpfncallback: PHONECALLBACK, lpszfriendlyappname: ::windows_sys::core::PCSTR, lpdwnumdevs: *mut u32, lpdwapiversion: *mut u32, lpphoneinitializeexparams: *mut PHONEINITIALIZEEXPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn phoneInitializeExW(lphphoneapp: *mut u32, hinstance: super::super::Foundation::HINSTANCE, lpfncallback: PHONECALLBACK, lpszfriendlyappname: ::windows_sys::core::PCWSTR, lpdwnumdevs: *mut u32, lpdwapiversion: *mut u32, lpphoneinitializeexparams: *mut PHONEINITIALIZEEXPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneNegotiateAPIVersion(hphoneapp: u32, dwdeviceid: u32, dwapilowversion: u32, dwapihighversion: u32, lpdwapiversion: *mut u32, lpextensionid: *mut PHONEEXTENSIONID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneNegotiateExtVersion(hphoneapp: u32, dwdeviceid: u32, dwapiversion: u32, dwextlowversion: u32, dwexthighversion: u32, lpdwextversion: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneOpen(hphoneapp: u32, dwdeviceid: u32, lphphone: *mut u32, dwapiversion: u32, dwextversion: u32, dwcallbackinstance: usize, dwprivilege: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneSetButtonInfo(hphone: u32, dwbuttonlampid: u32, lpbuttoninfo: *const PHONEBUTTONINFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneSetButtonInfoA(hphone: u32, dwbuttonlampid: u32, lpbuttoninfo: *const PHONEBUTTONINFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneSetButtonInfoW(hphone: u32, dwbuttonlampid: u32, lpbuttoninfo: *const PHONEBUTTONINFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneSetData(hphone: u32, dwdataid: u32, lpdata: *const ::core::ffi::c_void, dwsize: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneSetDisplay(hphone: u32, dwrow: u32, dwcolumn: u32, lpsdisplay: ::windows_sys::core::PCSTR, dwsize: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneSetGain(hphone: u32, dwhookswitchdev: u32, dwgain: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneSetHookSwitch(hphone: u32, dwhookswitchdevs: u32, dwhookswitchmode: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneSetLamp(hphone: u32, dwbuttonlampid: u32, dwlampmode: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneSetRing(hphone: u32, dwringmode: u32, dwvolume: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneSetStatusMessages(hphone: u32, dwphonestates: u32, dwbuttonmodes: u32, dwbuttonstates: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneSetVolume(hphone: u32, dwhookswitchdev: u32, dwvolume: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn phoneShutdown(hphoneapp: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn tapiGetLocationInfo(lpszcountrycode: ::windows_sys::core::PSTR, lpszcitycode: ::windows_sys::core::PSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn tapiGetLocationInfoA(lpszcountrycode: ::windows_sys::core::PSTR, lpszcitycode: ::windows_sys::core::PSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn tapiGetLocationInfoW(lpszcountrycodew: ::windows_sys::core::PWSTR, lpszcitycodew: ::windows_sys::core::PWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn tapiRequestDrop(hwnd: super::super::Foundation::HWND, wrequestid: super::super::Foundation::WPARAM) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn tapiRequestMakeCall(lpszdestaddress: ::windows_sys::core::PCSTR, lpszappname: ::windows_sys::core::PCSTR, lpszcalledparty: ::windows_sys::core::PCSTR, lpszcomment: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn tapiRequestMakeCallA(lpszdestaddress: ::windows_sys::core::PCSTR, lpszappname: ::windows_sys::core::PCSTR, lpszcalledparty: ::windows_sys::core::PCSTR, lpszcomment: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] pub fn tapiRequestMakeCallW(lpszdestaddress: ::windows_sys::core::PCWSTR, lpszappname: ::windows_sys::core::PCWSTR, lpszcalledparty: ::windows_sys::core::PCWSTR, lpszcomment: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn tapiRequestMediaCall(hwnd: super::super::Foundation::HWND, wrequestid: super::super::Foundation::WPARAM, lpszdeviceclass: ::windows_sys::core::PCSTR, lpdeviceid: ::windows_sys::core::PCSTR, dwsize: u32, dwsecure: u32, lpszdestaddress: ::windows_sys::core::PCSTR, lpszappname: ::windows_sys::core::PCSTR, lpszcalledparty: ::windows_sys::core::PCSTR, lpszcomment: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn tapiRequestMediaCallA(hwnd: super::super::Foundation::HWND, wrequestid: super::super::Foundation::WPARAM, lpszdeviceclass: ::windows_sys::core::PCSTR, lpdeviceid: ::windows_sys::core::PCSTR, dwsize: u32, dwsecure: u32, lpszdestaddress: ::windows_sys::core::PCSTR, lpszappname: ::windows_sys::core::PCSTR, lpszcalledparty: ::windows_sys::core::PCSTR, lpszcomment: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn tapiRequestMediaCallW(hwnd: super::super::Foundation::HWND, wrequestid: super::super::Foundation::WPARAM, lpszdeviceclass: ::windows_sys::core::PCWSTR, lpdeviceid: ::windows_sys::core::PCWSTR, dwsize: u32, dwsecure: u32, lpszdestaddress: ::windows_sys::core::PCWSTR, lpszappname: ::windows_sys::core::PCWSTR, lpszcalledparty: ::windows_sys::core::PCWSTR, lpszcomment: ::windows_sys::core::PCWSTR) -> i32; diff --git a/crates/libs/sys/src/Windows/Win32/Devices/Usb/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/Usb/mod.rs index 2e0f63b1b2..70915d7cb1 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/Usb/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/Usb/mod.rs @@ -3,100 +3,199 @@ extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_AbortPipe(interfacehandle: *const ::core::ffi::c_void, pipeid: u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WinUsb_ControlTransfer(interfacehandle: *const ::core::ffi::c_void, setuppacket: WINUSB_SETUP_PACKET, buffer: *mut u8, bufferlength: u32, lengthtransferred: *mut u32, overlapped: *const super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_FlushPipe(interfacehandle: *const ::core::ffi::c_void, pipeid: u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_Free(interfacehandle: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_GetAdjustedFrameNumber(currentframenumber: *mut u32, timestamp: i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_GetAssociatedInterface(interfacehandle: *const ::core::ffi::c_void, associatedinterfaceindex: u8, associatedinterfacehandle: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_GetCurrentAlternateSetting(interfacehandle: *const ::core::ffi::c_void, settingnumber: *mut u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_GetCurrentFrameNumber(interfacehandle: *const ::core::ffi::c_void, currentframenumber: *mut u32, timestamp: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_GetCurrentFrameNumberAndQpc(interfacehandle: *const ::core::ffi::c_void, frameqpcinfo: *const USB_FRAME_NUMBER_AND_QPC_FOR_TIME_SYNC_INFORMATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_GetDescriptor(interfacehandle: *const ::core::ffi::c_void, descriptortype: u8, index: u8, languageid: u16, buffer: *mut u8, bufferlength: u32, lengthtransferred: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WinUsb_GetOverlappedResult(interfacehandle: *const ::core::ffi::c_void, lpoverlapped: *const super::super::System::IO::OVERLAPPED, lpnumberofbytestransferred: *mut u32, bwait: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_GetPipePolicy(interfacehandle: *const ::core::ffi::c_void, pipeid: u8, policytype: u32, valuelength: *mut u32, value: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_GetPowerPolicy(interfacehandle: *const ::core::ffi::c_void, policytype: u32, valuelength: *mut u32, value: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_Initialize(devicehandle: super::super::Foundation::HANDLE, interfacehandle: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`*"] pub fn WinUsb_ParseConfigurationDescriptor(configurationdescriptor: *const USB_CONFIGURATION_DESCRIPTOR, startposition: *const ::core::ffi::c_void, interfacenumber: i32, alternatesetting: i32, interfaceclass: i32, interfacesubclass: i32, interfaceprotocol: i32) -> *mut USB_INTERFACE_DESCRIPTOR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`*"] pub fn WinUsb_ParseDescriptors(descriptorbuffer: *const ::core::ffi::c_void, totallength: u32, startposition: *const ::core::ffi::c_void, descriptortype: i32) -> *mut USB_COMMON_DESCRIPTOR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_QueryDeviceInformation(interfacehandle: *const ::core::ffi::c_void, informationtype: u32, bufferlength: *mut u32, buffer: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_QueryInterfaceSettings(interfacehandle: *const ::core::ffi::c_void, alternateinterfacenumber: u8, usbaltinterfacedescriptor: *mut USB_INTERFACE_DESCRIPTOR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_QueryPipe(interfacehandle: *const ::core::ffi::c_void, alternateinterfacenumber: u8, pipeindex: u8, pipeinformation: *mut WINUSB_PIPE_INFORMATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_QueryPipeEx(interfacehandle: *const ::core::ffi::c_void, alternatesettingnumber: u8, pipeindex: u8, pipeinformationex: *mut WINUSB_PIPE_INFORMATION_EX) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WinUsb_ReadIsochPipe(bufferhandle: *const ::core::ffi::c_void, offset: u32, length: u32, framenumber: *mut u32, numberofpackets: u32, isopacketdescriptors: *mut USBD_ISO_PACKET_DESCRIPTOR, overlapped: *const super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WinUsb_ReadIsochPipeAsap(bufferhandle: *const ::core::ffi::c_void, offset: u32, length: u32, continuestream: super::super::Foundation::BOOL, numberofpackets: u32, isopacketdescriptors: *mut USBD_ISO_PACKET_DESCRIPTOR, overlapped: *const super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WinUsb_ReadPipe(interfacehandle: *const ::core::ffi::c_void, pipeid: u8, buffer: *mut u8, bufferlength: u32, lengthtransferred: *mut u32, overlapped: *const super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_RegisterIsochBuffer(interfacehandle: *const ::core::ffi::c_void, pipeid: u8, buffer: *mut u8, bufferlength: u32, isochbufferhandle: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_ResetPipe(interfacehandle: *const ::core::ffi::c_void, pipeid: u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_SetCurrentAlternateSetting(interfacehandle: *const ::core::ffi::c_void, settingnumber: u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_SetPipePolicy(interfacehandle: *const ::core::ffi::c_void, pipeid: u8, policytype: u32, valuelength: u32, value: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_SetPowerPolicy(interfacehandle: *const ::core::ffi::c_void, policytype: u32, valuelength: u32, value: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_StartTrackingForTimeSync(interfacehandle: *const ::core::ffi::c_void, starttrackinginfo: *const USB_START_TRACKING_FOR_TIME_SYNC_INFORMATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_StopTrackingForTimeSync(interfacehandle: *const ::core::ffi::c_void, stoptrackinginfo: *const USB_STOP_TRACKING_FOR_TIME_SYNC_INFORMATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinUsb_UnregisterIsochBuffer(isochbufferhandle: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WinUsb_WriteIsochPipe(bufferhandle: *const ::core::ffi::c_void, offset: u32, length: u32, framenumber: *mut u32, overlapped: *const super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WinUsb_WriteIsochPipeAsap(bufferhandle: *const ::core::ffi::c_void, offset: u32, length: u32, continuestream: super::super::Foundation::BOOL, overlapped: *const super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WinUsb_WritePipe(interfacehandle: *const ::core::ffi::c_void, pipeid: u8, buffer: *const u8, bufferlength: u32, lengthtransferred: *mut u32, overlapped: *const super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs index b43812d8be..45ca74c408 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs @@ -2,66 +2,159 @@ extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDAllocateLinkedMemory(pparent: *mut ::core::ffi::c_void, cbsize: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDAttachLinkedMemory(pparent: *mut ::core::ffi::c_void, pchild: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDCreateDeviceHost(pszlocalid: ::windows_sys::core::PCWSTR, pcontext: IWSDXMLContext, ppdevicehost: *mut IWSDDeviceHost) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDCreateDeviceHost2(pszlocalid: ::windows_sys::core::PCWSTR, pcontext: IWSDXMLContext, pconfigparams: *const WSD_CONFIG_PARAM, dwconfigparamcount: u32, ppdevicehost: *mut IWSDDeviceHost) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDCreateDeviceHostAdvanced(pszlocalid: ::windows_sys::core::PCWSTR, pcontext: IWSDXMLContext, pphostaddresses: *const IWSDAddress, dwhostaddresscount: u32, ppdevicehost: *mut IWSDDeviceHost) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDCreateDeviceProxy(pszdeviceid: ::windows_sys::core::PCWSTR, pszlocalid: ::windows_sys::core::PCWSTR, pcontext: IWSDXMLContext, ppdeviceproxy: *mut IWSDDeviceProxy) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDCreateDeviceProxy2(pszdeviceid: ::windows_sys::core::PCWSTR, pszlocalid: ::windows_sys::core::PCWSTR, pcontext: IWSDXMLContext, pconfigparams: *const WSD_CONFIG_PARAM, dwconfigparamcount: u32, ppdeviceproxy: *mut IWSDDeviceProxy) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDCreateDeviceProxyAdvanced(pszdeviceid: ::windows_sys::core::PCWSTR, pdeviceaddress: IWSDAddress, pszlocalid: ::windows_sys::core::PCWSTR, pcontext: IWSDXMLContext, ppdeviceproxy: *mut IWSDDeviceProxy) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDCreateDiscoveryProvider(pcontext: IWSDXMLContext, ppprovider: *mut IWSDiscoveryProvider) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDCreateDiscoveryProvider2(pcontext: IWSDXMLContext, pconfigparams: *const WSD_CONFIG_PARAM, dwconfigparamcount: u32, ppprovider: *mut IWSDiscoveryProvider) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDCreateDiscoveryPublisher(pcontext: IWSDXMLContext, pppublisher: *mut IWSDiscoveryPublisher) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDCreateDiscoveryPublisher2(pcontext: IWSDXMLContext, pconfigparams: *const WSD_CONFIG_PARAM, dwconfigparamcount: u32, pppublisher: *mut IWSDiscoveryPublisher) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDCreateHttpAddress(ppaddress: *mut IWSDHttpAddress) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDCreateHttpMessageParameters(pptxparams: *mut IWSDHttpMessageParameters) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDCreateOutboundAttachment(ppattachment: *mut IWSDOutboundAttachment) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDCreateUdpAddress(ppaddress: *mut IWSDUdpAddress) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDCreateUdpMessageParameters(pptxparams: *mut IWSDUdpMessageParameters) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDDetachLinkedMemory(pvoid: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDFreeLinkedMemory(pvoid: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDGenerateFault(pszcode: ::windows_sys::core::PCWSTR, pszsubcode: ::windows_sys::core::PCWSTR, pszreason: ::windows_sys::core::PCWSTR, pszdetail: ::windows_sys::core::PCWSTR, pcontext: IWSDXMLContext, ppfault: *mut *mut WSD_SOAP_FAULT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDGenerateFaultEx(pcode: *const WSDXML_NAME, psubcode: *const WSDXML_NAME, preasons: *const WSD_LOCALIZED_STRING_LIST, pszdetail: ::windows_sys::core::PCWSTR, ppfault: *mut *mut WSD_SOAP_FAULT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDGetConfigurationOption(dwoption: u32, pvoid: *mut ::core::ffi::c_void, cboutbuffer: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDSetConfigurationOption(dwoption: u32, pvoid: *const ::core::ffi::c_void, cbinbuffer: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDUriDecode(source: ::windows_sys::core::PCWSTR, cchsource: u32, destout: *mut ::windows_sys::core::PWSTR, cchdestout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDUriEncode(source: ::windows_sys::core::PCWSTR, cchsource: u32, destout: *mut ::windows_sys::core::PWSTR, cchdestout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDXMLAddChild(pparent: *mut WSDXML_ELEMENT, pchild: *mut WSDXML_ELEMENT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDXMLAddSibling(pfirst: *mut WSDXML_ELEMENT, psecond: *mut WSDXML_ELEMENT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDXMLBuildAnyForSingleElement(pelementname: *mut WSDXML_NAME, psztext: ::windows_sys::core::PCWSTR, ppany: *mut *mut WSDXML_ELEMENT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDXMLCleanupElement(pany: *mut WSDXML_ELEMENT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDXMLCreateContext(ppcontext: *mut IWSDXMLContext) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDXMLGetNameFromBuiltinNamespace(psznamespace: ::windows_sys::core::PCWSTR, pszname: ::windows_sys::core::PCWSTR, ppname: *mut *mut WSDXML_NAME) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] pub fn WSDXMLGetValueFromAny(psznamespace: ::windows_sys::core::PCWSTR, pszname: ::windows_sys::core::PCWSTR, pany: *mut WSDXML_ELEMENT, ppszvalue: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/Foundation/mod.rs b/crates/libs/sys/src/Windows/Win32/Foundation/mod.rs index 648169ff47..d814cad663 100644 --- a/crates/libs/sys/src/Windows/Win32/Foundation/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Foundation/mod.rs @@ -2,40 +2,94 @@ extern "system" { #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub fn CloseHandle(hobject: HANDLE) -> BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub fn CompareObjectHandles(hfirstobjecthandle: HANDLE, hsecondobjecthandle: HANDLE) -> BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub fn DuplicateHandle(hsourceprocesshandle: HANDLE, hsourcehandle: HANDLE, htargetprocesshandle: HANDLE, lptargethandle: *mut HANDLE, dwdesiredaccess: u32, binherithandle: BOOL, dwoptions: DUPLICATE_HANDLE_OPTIONS) -> BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub fn GetHandleInformation(hobject: HANDLE, lpdwflags: *mut u32) -> BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub fn GetLastError() -> WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub fn RtlNtStatusToDosError(status: NTSTATUS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub fn SetHandleInformation(hobject: HANDLE, dwmask: u32, dwflags: HANDLE_FLAGS) -> BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub fn SetLastError(dwerrcode: WIN32_ERROR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub fn SetLastErrorEx(dwerrcode: WIN32_ERROR, dwtype: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub fn SysAddRefString(bstrstring: BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub fn SysAllocString(psz: ::windows_sys::core::PCWSTR) -> BSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub fn SysAllocStringByteLen(psz: ::windows_sys::core::PCSTR, len: u32) -> BSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub fn SysAllocStringLen(strin: ::windows_sys::core::PCWSTR, ui: u32) -> BSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub fn SysFreeString(bstrstring: BSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub fn SysReAllocString(pbstr: *mut BSTR, psz: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub fn SysReAllocStringLen(pbstr: *mut BSTR, psz: ::windows_sys::core::PCWSTR, len: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub fn SysReleaseString(bstrstring: BSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub fn SysStringByteLen(bstr: BSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub fn SysStringLen(pbstr: BSTR) -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/Gaming/mod.rs b/crates/libs/sys/src/Windows/Win32/Gaming/mod.rs index f5d28ab6b8..b1bfa7b0f4 100644 --- a/crates/libs/sys/src/Windows/Win32/Gaming/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Gaming/mod.rs @@ -3,65 +3,152 @@ extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CheckGamingPrivilegeSilently(privilegeid: u32, scope: ::windows_sys::core::HSTRING, policy: ::windows_sys::core::HSTRING, hasprivilege: *mut super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CheckGamingPrivilegeSilentlyForUser(user: ::windows_sys::core::IInspectable, privilegeid: u32, scope: ::windows_sys::core::HSTRING, policy: ::windows_sys::core::HSTRING, hasprivilege: *mut super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn CheckGamingPrivilegeWithUI(privilegeid: u32, scope: ::windows_sys::core::HSTRING, policy: ::windows_sys::core::HSTRING, friendlymessage: ::windows_sys::core::HSTRING, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn CheckGamingPrivilegeWithUIForUser(user: ::windows_sys::core::IInspectable, privilegeid: u32, scope: ::windows_sys::core::HSTRING, policy: ::windows_sys::core::HSTRING, friendlymessage: ::windows_sys::core::HSTRING, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn GetExpandedResourceExclusiveCpuCount(exclusivecpucount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn GetGamingDeviceModelInformation(information: *mut GAMING_DEVICE_MODEL_INFORMATION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HasExpandedResources(hasexpandedresources: *mut super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ProcessPendingGameUI(waitforcompletion: super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn ReleaseExclusiveCpuSets() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn ShowChangeFriendRelationshipUI(targetuserxuid: ::windows_sys::core::HSTRING, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn ShowChangeFriendRelationshipUIForUser(user: ::windows_sys::core::IInspectable, targetuserxuid: ::windows_sys::core::HSTRING, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn ShowCustomizeUserProfileUI(completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn ShowCustomizeUserProfileUIForUser(user: ::windows_sys::core::IInspectable, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn ShowFindFriendsUI(completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn ShowFindFriendsUIForUser(user: ::windows_sys::core::IInspectable, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn ShowGameInfoUI(titleid: u32, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn ShowGameInfoUIForUser(user: ::windows_sys::core::IInspectable, titleid: u32, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn ShowGameInviteUI(serviceconfigurationid: ::windows_sys::core::HSTRING, sessiontemplatename: ::windows_sys::core::HSTRING, sessionid: ::windows_sys::core::HSTRING, invitationdisplaytext: ::windows_sys::core::HSTRING, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn ShowGameInviteUIForUser(user: ::windows_sys::core::IInspectable, serviceconfigurationid: ::windows_sys::core::HSTRING, sessiontemplatename: ::windows_sys::core::HSTRING, sessionid: ::windows_sys::core::HSTRING, invitationdisplaytext: ::windows_sys::core::HSTRING, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn ShowGameInviteUIWithContext(serviceconfigurationid: ::windows_sys::core::HSTRING, sessiontemplatename: ::windows_sys::core::HSTRING, sessionid: ::windows_sys::core::HSTRING, invitationdisplaytext: ::windows_sys::core::HSTRING, customactivationcontext: ::windows_sys::core::HSTRING, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn ShowGameInviteUIWithContextForUser(user: ::windows_sys::core::IInspectable, serviceconfigurationid: ::windows_sys::core::HSTRING, sessiontemplatename: ::windows_sys::core::HSTRING, sessionid: ::windows_sys::core::HSTRING, invitationdisplaytext: ::windows_sys::core::HSTRING, customactivationcontext: ::windows_sys::core::HSTRING, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn ShowPlayerPickerUI(promptdisplaytext: ::windows_sys::core::HSTRING, xuids: *const ::windows_sys::core::HSTRING, xuidscount: usize, preselectedxuids: *const ::windows_sys::core::HSTRING, preselectedxuidscount: usize, minselectioncount: usize, maxselectioncount: usize, completionroutine: PlayerPickerUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn ShowPlayerPickerUIForUser(user: ::windows_sys::core::IInspectable, promptdisplaytext: ::windows_sys::core::HSTRING, xuids: *const ::windows_sys::core::HSTRING, xuidscount: usize, preselectedxuids: *const ::windows_sys::core::HSTRING, preselectedxuidscount: usize, minselectioncount: usize, maxselectioncount: usize, completionroutine: PlayerPickerUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn ShowProfileCardUI(targetuserxuid: ::windows_sys::core::HSTRING, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn ShowProfileCardUIForUser(user: ::windows_sys::core::IInspectable, targetuserxuid: ::windows_sys::core::HSTRING, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn ShowTitleAchievementsUI(titleid: u32, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn ShowTitleAchievementsUIForUser(user: ::windows_sys::core::IInspectable, titleid: u32, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn ShowUserSettingsUI(completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub fn ShowUserSettingsUIForUser(user: ::windows_sys::core::IInspectable, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TryCancelPendingGameUI() -> super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/Globalization/mod.rs b/crates/libs/sys/src/Windows/Win32/Globalization/mod.rs index a3ecafedc6..d8cec9c2cf 100644 --- a/crates/libs/sys/src/Windows/Win32/Globalization/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Globalization/mod.rs @@ -2,2528 +2,6164 @@ extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn CompareStringA(locale: u32, dwcmpflags: u32, lpstring1: *const i8, cchcount1: i32, lpstring2: *const i8, cchcount2: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CompareStringEx(lplocalename: ::windows_sys::core::PCWSTR, dwcmpflags: COMPARE_STRING_FLAGS, lpstring1: ::windows_sys::core::PCWSTR, cchcount1: i32, lpstring2: ::windows_sys::core::PCWSTR, cchcount2: i32, lpversioninformation: *mut NLSVERSIONINFO, lpreserved: *mut ::core::ffi::c_void, lparam: super::Foundation::LPARAM) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CompareStringOrdinal(lpstring1: ::windows_sys::core::PCWSTR, cchcount1: i32, lpstring2: ::windows_sys::core::PCWSTR, cchcount2: i32, bignorecase: super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn CompareStringW(locale: u32, dwcmpflags: u32, lpstring1: ::windows_sys::core::PCWSTR, cchcount1: i32, lpstring2: ::windows_sys::core::PCWSTR, cchcount2: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ConvertDefaultLocale(locale: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumCalendarInfoA(lpcalinfoenumproc: CALINFO_ENUMPROCA, locale: u32, calendar: u32, caltype: u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumCalendarInfoExA(lpcalinfoenumprocex: CALINFO_ENUMPROCEXA, locale: u32, calendar: u32, caltype: u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumCalendarInfoExEx(pcalinfoenumprocexex: CALINFO_ENUMPROCEXEX, lplocalename: ::windows_sys::core::PCWSTR, calendar: u32, lpreserved: ::windows_sys::core::PCWSTR, caltype: u32, lparam: super::Foundation::LPARAM) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumCalendarInfoExW(lpcalinfoenumprocex: CALINFO_ENUMPROCEXW, locale: u32, calendar: u32, caltype: u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumCalendarInfoW(lpcalinfoenumproc: CALINFO_ENUMPROCW, locale: u32, calendar: u32, caltype: u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumDateFormatsA(lpdatefmtenumproc: DATEFMT_ENUMPROCA, locale: u32, dwflags: u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumDateFormatsExA(lpdatefmtenumprocex: DATEFMT_ENUMPROCEXA, locale: u32, dwflags: u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumDateFormatsExEx(lpdatefmtenumprocexex: DATEFMT_ENUMPROCEXEX, lplocalename: ::windows_sys::core::PCWSTR, dwflags: ENUM_DATE_FORMATS_FLAGS, lparam: super::Foundation::LPARAM) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumDateFormatsExW(lpdatefmtenumprocex: DATEFMT_ENUMPROCEXW, locale: u32, dwflags: u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumDateFormatsW(lpdatefmtenumproc: DATEFMT_ENUMPROCW, locale: u32, dwflags: u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumLanguageGroupLocalesA(lplanggrouplocaleenumproc: LANGGROUPLOCALE_ENUMPROCA, languagegroup: u32, dwflags: u32, lparam: isize) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumLanguageGroupLocalesW(lplanggrouplocaleenumproc: LANGGROUPLOCALE_ENUMPROCW, languagegroup: u32, dwflags: u32, lparam: isize) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumSystemCodePagesA(lpcodepageenumproc: CODEPAGE_ENUMPROCA, dwflags: ENUM_SYSTEM_CODE_PAGES_FLAGS) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumSystemCodePagesW(lpcodepageenumproc: CODEPAGE_ENUMPROCW, dwflags: ENUM_SYSTEM_CODE_PAGES_FLAGS) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumSystemGeoID(geoclass: u32, parentgeoid: i32, lpgeoenumproc: GEO_ENUMPROC) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumSystemGeoNames(geoclass: u32, geoenumproc: GEO_ENUMNAMEPROC, data: super::Foundation::LPARAM) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumSystemLanguageGroupsA(lplanguagegroupenumproc: LANGUAGEGROUP_ENUMPROCA, dwflags: ENUM_SYSTEM_LANGUAGE_GROUPS_FLAGS, lparam: isize) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumSystemLanguageGroupsW(lplanguagegroupenumproc: LANGUAGEGROUP_ENUMPROCW, dwflags: ENUM_SYSTEM_LANGUAGE_GROUPS_FLAGS, lparam: isize) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumSystemLocalesA(lplocaleenumproc: LOCALE_ENUMPROCA, dwflags: u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumSystemLocalesEx(lplocaleenumprocex: LOCALE_ENUMPROCEX, dwflags: u32, lparam: super::Foundation::LPARAM, lpreserved: *const ::core::ffi::c_void) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumSystemLocalesW(lplocaleenumproc: LOCALE_ENUMPROCW, dwflags: u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumTimeFormatsA(lptimefmtenumproc: TIMEFMT_ENUMPROCA, locale: u32, dwflags: TIME_FORMAT_FLAGS) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumTimeFormatsEx(lptimefmtenumprocex: TIMEFMT_ENUMPROCEX, lplocalename: ::windows_sys::core::PCWSTR, dwflags: u32, lparam: super::Foundation::LPARAM) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumTimeFormatsW(lptimefmtenumproc: TIMEFMT_ENUMPROCW, locale: u32, dwflags: TIME_FORMAT_FLAGS) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumUILanguagesA(lpuilanguageenumproc: UILANGUAGE_ENUMPROCA, dwflags: u32, lparam: isize) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumUILanguagesW(lpuilanguageenumproc: UILANGUAGE_ENUMPROCW, dwflags: u32, lparam: isize) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn FindNLSString(locale: u32, dwfindnlsstringflags: u32, lpstringsource: ::windows_sys::core::PCWSTR, cchsource: i32, lpstringvalue: ::windows_sys::core::PCWSTR, cchvalue: i32, pcchfound: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindNLSStringEx(lplocalename: ::windows_sys::core::PCWSTR, dwfindnlsstringflags: u32, lpstringsource: ::windows_sys::core::PCWSTR, cchsource: i32, lpstringvalue: ::windows_sys::core::PCWSTR, cchvalue: i32, pcchfound: *mut i32, lpversioninformation: *const NLSVERSIONINFO, lpreserved: *const ::core::ffi::c_void, sorthandle: super::Foundation::LPARAM) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindStringOrdinal(dwfindstringordinalflags: u32, lpstringsource: ::windows_sys::core::PCWSTR, cchsource: i32, lpstringvalue: ::windows_sys::core::PCWSTR, cchvalue: i32, bignorecase: super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn FoldStringA(dwmapflags: FOLD_STRING_MAP_FLAGS, lpsrcstr: ::windows_sys::core::PCSTR, cchsrc: i32, lpdeststr: ::windows_sys::core::PSTR, cchdest: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn FoldStringW(dwmapflags: FOLD_STRING_MAP_FLAGS, lpsrcstr: ::windows_sys::core::PCWSTR, cchsrc: i32, lpdeststr: ::windows_sys::core::PWSTR, cchdest: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetACP() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCPInfo(codepage: u32, lpcpinfo: *mut CPINFO) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCPInfoExA(codepage: u32, dwflags: u32, lpcpinfoex: *mut CPINFOEXA) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCPInfoExW(codepage: u32, dwflags: u32, lpcpinfoex: *mut CPINFOEXW) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetCalendarInfoA(locale: u32, calendar: u32, caltype: u32, lpcaldata: ::windows_sys::core::PSTR, cchdata: i32, lpvalue: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetCalendarInfoEx(lplocalename: ::windows_sys::core::PCWSTR, calendar: u32, lpreserved: ::windows_sys::core::PCWSTR, caltype: u32, lpcaldata: ::windows_sys::core::PWSTR, cchdata: i32, lpvalue: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetCalendarInfoW(locale: u32, calendar: u32, caltype: u32, lpcaldata: ::windows_sys::core::PWSTR, cchdata: i32, lpvalue: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetCurrencyFormatA(locale: u32, dwflags: u32, lpvalue: ::windows_sys::core::PCSTR, lpformat: *const CURRENCYFMTA, lpcurrencystr: ::windows_sys::core::PSTR, cchcurrency: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetCurrencyFormatEx(lplocalename: ::windows_sys::core::PCWSTR, dwflags: u32, lpvalue: ::windows_sys::core::PCWSTR, lpformat: *const CURRENCYFMTW, lpcurrencystr: ::windows_sys::core::PWSTR, cchcurrency: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetCurrencyFormatW(locale: u32, dwflags: u32, lpvalue: ::windows_sys::core::PCWSTR, lpformat: *const CURRENCYFMTW, lpcurrencystr: ::windows_sys::core::PWSTR, cchcurrency: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDateFormatA(locale: u32, dwflags: u32, lpdate: *const super::Foundation::SYSTEMTIME, lpformat: ::windows_sys::core::PCSTR, lpdatestr: ::windows_sys::core::PSTR, cchdate: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDateFormatEx(lplocalename: ::windows_sys::core::PCWSTR, dwflags: ENUM_DATE_FORMATS_FLAGS, lpdate: *const super::Foundation::SYSTEMTIME, lpformat: ::windows_sys::core::PCWSTR, lpdatestr: ::windows_sys::core::PWSTR, cchdate: i32, lpcalendar: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDateFormatW(locale: u32, dwflags: u32, lpdate: *const super::Foundation::SYSTEMTIME, lpformat: ::windows_sys::core::PCWSTR, lpdatestr: ::windows_sys::core::PWSTR, cchdate: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetDistanceOfClosestLanguageInList(pszlanguage: ::windows_sys::core::PCWSTR, pszlanguageslist: ::windows_sys::core::PCWSTR, wchlistdelimiter: u16, pclosestdistance: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDurationFormat(locale: u32, dwflags: u32, lpduration: *const super::Foundation::SYSTEMTIME, ullduration: u64, lpformat: ::windows_sys::core::PCWSTR, lpdurationstr: ::windows_sys::core::PWSTR, cchduration: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDurationFormatEx(lplocalename: ::windows_sys::core::PCWSTR, dwflags: u32, lpduration: *const super::Foundation::SYSTEMTIME, ullduration: u64, lpformat: ::windows_sys::core::PCWSTR, lpdurationstr: ::windows_sys::core::PWSTR, cchduration: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFileMUIInfo(dwflags: u32, pcwszfilepath: ::windows_sys::core::PCWSTR, pfilemuiinfo: *mut FILEMUIINFO, pcbfilemuiinfo: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFileMUIPath(dwflags: u32, pcwszfilepath: ::windows_sys::core::PCWSTR, pwszlanguage: ::windows_sys::core::PWSTR, pcchlanguage: *mut u32, pwszfilemuipath: ::windows_sys::core::PWSTR, pcchfilemuipath: *mut u32, pululenumerator: *mut u64) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetGeoInfoA(location: i32, geotype: u32, lpgeodata: ::windows_sys::core::PSTR, cchdata: i32, langid: u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetGeoInfoEx(location: ::windows_sys::core::PCWSTR, geotype: u32, geodata: ::windows_sys::core::PWSTR, geodatacount: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetGeoInfoW(location: i32, geotype: u32, lpgeodata: ::windows_sys::core::PWSTR, cchdata: i32, langid: u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetLocaleInfoA(locale: u32, lctype: u32, lplcdata: ::windows_sys::core::PSTR, cchdata: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetLocaleInfoEx(lplocalename: ::windows_sys::core::PCWSTR, lctype: u32, lplcdata: ::windows_sys::core::PWSTR, cchdata: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetLocaleInfoW(locale: u32, lctype: u32, lplcdata: ::windows_sys::core::PWSTR, cchdata: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNLSVersion(function: u32, locale: u32, lpversioninformation: *mut NLSVERSIONINFO) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNLSVersionEx(function: u32, lplocalename: ::windows_sys::core::PCWSTR, lpversioninformation: *mut NLSVERSIONINFOEX) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetNumberFormatA(locale: u32, dwflags: u32, lpvalue: ::windows_sys::core::PCSTR, lpformat: *const NUMBERFMTA, lpnumberstr: ::windows_sys::core::PSTR, cchnumber: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetNumberFormatEx(lplocalename: ::windows_sys::core::PCWSTR, dwflags: u32, lpvalue: ::windows_sys::core::PCWSTR, lpformat: *const NUMBERFMTW, lpnumberstr: ::windows_sys::core::PWSTR, cchnumber: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetNumberFormatW(locale: u32, dwflags: u32, lpvalue: ::windows_sys::core::PCWSTR, lpformat: *const NUMBERFMTW, lpnumberstr: ::windows_sys::core::PWSTR, cchnumber: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetOEMCP() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProcessPreferredUILanguages(dwflags: u32, pulnumlanguages: *mut u32, pwszlanguagesbuffer: ::windows_sys::core::PWSTR, pcchlanguagesbuffer: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetStringScripts(dwflags: u32, lpstring: ::windows_sys::core::PCWSTR, cchstring: i32, lpscripts: ::windows_sys::core::PWSTR, cchscripts: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetStringTypeA(locale: u32, dwinfotype: u32, lpsrcstr: ::windows_sys::core::PCSTR, cchsrc: i32, lpchartype: *mut u16) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetStringTypeExA(locale: u32, dwinfotype: u32, lpsrcstr: ::windows_sys::core::PCSTR, cchsrc: i32, lpchartype: *mut u16) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetStringTypeExW(locale: u32, dwinfotype: u32, lpsrcstr: ::windows_sys::core::PCWSTR, cchsrc: i32, lpchartype: *mut u16) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetStringTypeW(dwinfotype: u32, lpsrcstr: ::windows_sys::core::PCWSTR, cchsrc: i32, lpchartype: *mut u16) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetSystemDefaultLCID() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetSystemDefaultLangID() -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetSystemDefaultLocaleName(lplocalename: ::windows_sys::core::PWSTR, cchlocalename: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetSystemDefaultUILanguage() -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSystemPreferredUILanguages(dwflags: u32, pulnumlanguages: *mut u32, pwszlanguagesbuffer: ::windows_sys::core::PWSTR, pcchlanguagesbuffer: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn GetTextCharset(hdc: super::Graphics::Gdi::HDC) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn GetTextCharsetInfo(hdc: super::Graphics::Gdi::HDC, lpsig: *mut FONTSIGNATURE, dwflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetThreadLocale() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetThreadPreferredUILanguages(dwflags: u32, pulnumlanguages: *mut u32, pwszlanguagesbuffer: ::windows_sys::core::PWSTR, pcchlanguagesbuffer: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetThreadUILanguage() -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTimeFormatA(locale: u32, dwflags: u32, lptime: *const super::Foundation::SYSTEMTIME, lpformat: ::windows_sys::core::PCSTR, lptimestr: ::windows_sys::core::PSTR, cchtime: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTimeFormatEx(lplocalename: ::windows_sys::core::PCWSTR, dwflags: TIME_FORMAT_FLAGS, lptime: *const super::Foundation::SYSTEMTIME, lpformat: ::windows_sys::core::PCWSTR, lptimestr: ::windows_sys::core::PWSTR, cchtime: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTimeFormatW(locale: u32, dwflags: u32, lptime: *const super::Foundation::SYSTEMTIME, lpformat: ::windows_sys::core::PCWSTR, lptimestr: ::windows_sys::core::PWSTR, cchtime: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUILanguageInfo(dwflags: u32, pwmszlanguage: ::windows_sys::core::PCWSTR, pwszfallbacklanguages: ::windows_sys::core::PWSTR, pcchfallbacklanguages: *mut u32, pattributes: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Globalization\"`*"] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetUserDefaultGeoName(geoname: ::windows_sys::core::PWSTR, geonamecount: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetUserDefaultLCID() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetUserDefaultLangID() -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetUserDefaultLocaleName(lplocalename: ::windows_sys::core::PWSTR, cchlocalename: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetUserDefaultUILanguage() -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn GetUserGeoID(geoclass: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUserPreferredUILanguages(dwflags: u32, pulnumlanguages: *mut u32, pwszlanguagesbuffer: ::windows_sys::core::PWSTR, pcchlanguagesbuffer: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn IdnToAscii(dwflags: u32, lpunicodecharstr: ::windows_sys::core::PCWSTR, cchunicodechar: i32, lpasciicharstr: ::windows_sys::core::PWSTR, cchasciichar: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn IdnToNameprepUnicode(dwflags: u32, lpunicodecharstr: ::windows_sys::core::PCWSTR, cchunicodechar: i32, lpnameprepcharstr: ::windows_sys::core::PWSTR, cchnameprepchar: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn IdnToUnicode(dwflags: u32, lpasciicharstr: ::windows_sys::core::PCWSTR, cchasciichar: i32, lpunicodecharstr: ::windows_sys::core::PWSTR, cchunicodechar: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsDBCSLeadByte(testchar: u8) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsDBCSLeadByteEx(codepage: u32, testchar: u8) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsNLSDefinedString(function: u32, dwflags: u32, lpversioninformation: *const NLSVERSIONINFO, lpstring: ::windows_sys::core::PCWSTR, cchstr: i32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsNormalizedString(normform: NORM_FORM, lpstring: ::windows_sys::core::PCWSTR, cwlength: i32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsTextUnicode(lpv: *const ::core::ffi::c_void, isize: i32, lpiresult: *mut IS_TEXT_UNICODE_RESULT) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsValidCodePage(codepage: u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsValidLanguageGroup(languagegroup: u32, dwflags: ENUM_SYSTEM_LANGUAGE_GROUPS_FLAGS) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsValidLocale(locale: u32, dwflags: IS_VALID_LOCALE_FLAGS) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsValidLocaleName(lplocalename: ::windows_sys::core::PCWSTR) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn IsValidNLSVersion(function: u32, lplocalename: ::windows_sys::core::PCWSTR, lpversioninformation: *const NLSVERSIONINFOEX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn IsWellFormedTag(psztag: ::windows_sys::core::PCWSTR) -> u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn LCIDToLocaleName(locale: u32, lpname: ::windows_sys::core::PWSTR, cchname: i32, dwflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn LCMapStringA(locale: u32, dwmapflags: u32, lpsrcstr: ::windows_sys::core::PCSTR, cchsrc: i32, lpdeststr: ::windows_sys::core::PSTR, cchdest: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LCMapStringEx(lplocalename: ::windows_sys::core::PCWSTR, dwmapflags: u32, lpsrcstr: ::windows_sys::core::PCWSTR, cchsrc: i32, lpdeststr: ::windows_sys::core::PWSTR, cchdest: i32, lpversioninformation: *const NLSVERSIONINFO, lpreserved: *const ::core::ffi::c_void, sorthandle: super::Foundation::LPARAM) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn LCMapStringW(locale: u32, dwmapflags: u32, lpsrcstr: ::windows_sys::core::PCWSTR, cchsrc: i32, lpdeststr: ::windows_sys::core::PWSTR, cchdest: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn LocaleNameToLCID(lpname: ::windows_sys::core::PCWSTR, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn MappingDoAction(pbag: *mut MAPPING_PROPERTY_BAG, dwrangeindex: u32, pszactionid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn MappingFreePropertyBag(pbag: *const MAPPING_PROPERTY_BAG) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn MappingFreeServices(pserviceinfo: *const MAPPING_SERVICE_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn MappingGetServices(poptions: *const MAPPING_ENUM_OPTIONS, prgservices: *mut *mut MAPPING_SERVICE_INFO, pdwservicescount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn MappingRecognizeText(pserviceinfo: *const MAPPING_SERVICE_INFO, psztext: ::windows_sys::core::PCWSTR, dwlength: u32, dwindex: u32, poptions: *const MAPPING_OPTIONS, pbag: *mut MAPPING_PROPERTY_BAG) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn MultiByteToWideChar(codepage: u32, dwflags: MULTI_BYTE_TO_WIDE_CHAR_FLAGS, lpmultibytestr: ::windows_sys::core::PCSTR, cbmultibyte: i32, lpwidecharstr: ::windows_sys::core::PWSTR, cchwidechar: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn NormalizeString(normform: NORM_FORM, lpsrcstring: ::windows_sys::core::PCWSTR, cwsrclength: i32, lpdststring: ::windows_sys::core::PWSTR, cwdstlength: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NotifyUILanguageChange(dwflags: u32, pcwstrnewlanguage: ::windows_sys::core::PCWSTR, pcwstrpreviouslanguage: ::windows_sys::core::PCWSTR, dwreserved: u32, pdwstatusrtrn: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ResolveLocaleName(lpnametoresolve: ::windows_sys::core::PCWSTR, lplocalename: ::windows_sys::core::PWSTR, cchlocalename: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn RestoreThreadPreferredUILanguages(snapshot: HSAVEDUILANGUAGES); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ScriptApplyDigitSubstitution(psds: *const SCRIPT_DIGITSUBSTITUTE, psc: *mut SCRIPT_CONTROL, pss: *mut SCRIPT_STATE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ScriptApplyLogicalWidth(pidx: *const i32, cchars: i32, cglyphs: i32, pwlogclust: *const u16, psva: *const SCRIPT_VISATTR, piadvance: *const i32, psa: *const SCRIPT_ANALYSIS, pabc: *mut super::Graphics::Gdi::ABC, pijustify: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ScriptBreak(pwcchars: ::windows_sys::core::PCWSTR, cchars: i32, psa: *const SCRIPT_ANALYSIS, psla: *mut SCRIPT_LOGATTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ScriptCPtoX(icp: i32, ftrailing: super::Foundation::BOOL, cchars: i32, cglyphs: i32, pwlogclust: *const u16, psva: *const SCRIPT_VISATTR, piadvance: *const i32, psa: *const SCRIPT_ANALYSIS, pix: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ScriptCacheGetHeight(hdc: super::Graphics::Gdi::HDC, psc: *mut *mut ::core::ffi::c_void, tmheight: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ScriptFreeCache(psc: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ScriptGetCMap(hdc: super::Graphics::Gdi::HDC, psc: *mut *mut ::core::ffi::c_void, pwcinchars: ::windows_sys::core::PCWSTR, cchars: i32, dwflags: u32, pwoutglyphs: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ScriptGetFontAlternateGlyphs(hdc: super::Graphics::Gdi::HDC, psc: *mut *mut ::core::ffi::c_void, psa: *const SCRIPT_ANALYSIS, tagscript: u32, taglangsys: u32, tagfeature: u32, wglyphid: u16, cmaxalternates: i32, palternateglyphs: *mut u16, pcalternates: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ScriptGetFontFeatureTags(hdc: super::Graphics::Gdi::HDC, psc: *mut *mut ::core::ffi::c_void, psa: *const SCRIPT_ANALYSIS, tagscript: u32, taglangsys: u32, cmaxtags: i32, pfeaturetags: *mut u32, pctags: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ScriptGetFontLanguageTags(hdc: super::Graphics::Gdi::HDC, psc: *mut *mut ::core::ffi::c_void, psa: *const SCRIPT_ANALYSIS, tagscript: u32, cmaxtags: i32, plangsystags: *mut u32, pctags: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ScriptGetFontProperties(hdc: super::Graphics::Gdi::HDC, psc: *mut *mut ::core::ffi::c_void, sfp: *mut SCRIPT_FONTPROPERTIES) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ScriptGetFontScriptTags(hdc: super::Graphics::Gdi::HDC, psc: *mut *mut ::core::ffi::c_void, psa: *const SCRIPT_ANALYSIS, cmaxtags: i32, pscripttags: *mut u32, pctags: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ScriptGetGlyphABCWidth(hdc: super::Graphics::Gdi::HDC, psc: *mut *mut ::core::ffi::c_void, wglyph: u16, pabc: *mut super::Graphics::Gdi::ABC) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ScriptGetLogicalWidths(psa: *const SCRIPT_ANALYSIS, cchars: i32, cglyphs: i32, piglyphwidth: *const i32, pwlogclust: *const u16, psva: *const SCRIPT_VISATTR, pidx: *const i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ScriptGetProperties(ppsp: *mut *mut *mut SCRIPT_PROPERTIES, pinumscripts: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ScriptIsComplex(pwcinchars: ::windows_sys::core::PCWSTR, cinchars: i32, dwflags: SCRIPT_IS_COMPLEX_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ScriptItemize(pwcinchars: ::windows_sys::core::PCWSTR, cinchars: i32, cmaxitems: i32, pscontrol: *const SCRIPT_CONTROL, psstate: *const SCRIPT_STATE, pitems: *mut SCRIPT_ITEM, pcitems: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ScriptItemizeOpenType(pwcinchars: ::windows_sys::core::PCWSTR, cinchars: i32, cmaxitems: i32, pscontrol: *const SCRIPT_CONTROL, psstate: *const SCRIPT_STATE, pitems: *mut SCRIPT_ITEM, pscripttags: *mut u32, pcitems: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ScriptJustify(psva: *const SCRIPT_VISATTR, piadvance: *const i32, cglyphs: i32, idx: i32, iminkashida: i32, pijustify: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ScriptLayout(cruns: i32, pblevel: *const u8, pivisualtological: *mut i32, pilogicaltovisual: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ScriptPlace(hdc: super::Graphics::Gdi::HDC, psc: *mut *mut ::core::ffi::c_void, pwglyphs: *const u16, cglyphs: i32, psva: *const SCRIPT_VISATTR, psa: *mut SCRIPT_ANALYSIS, piadvance: *mut i32, pgoffset: *mut GOFFSET, pabc: *mut super::Graphics::Gdi::ABC) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ScriptPlaceOpenType(hdc: super::Graphics::Gdi::HDC, psc: *mut *mut ::core::ffi::c_void, psa: *mut SCRIPT_ANALYSIS, tagscript: u32, taglangsys: u32, rcrangechars: *const i32, rprangeproperties: *const *const textrange_properties, cranges: i32, pwcchars: ::windows_sys::core::PCWSTR, pwlogclust: *const u16, pcharprops: *const script_charprop, cchars: i32, pwglyphs: *const u16, pglyphprops: *const script_glyphprop, cglyphs: i32, piadvance: *mut i32, pgoffset: *mut GOFFSET, pabc: *mut super::Graphics::Gdi::ABC) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ScriptPositionSingleGlyph(hdc: super::Graphics::Gdi::HDC, psc: *mut *mut ::core::ffi::c_void, psa: *const SCRIPT_ANALYSIS, tagscript: u32, taglangsys: u32, tagfeature: u32, lparameter: i32, wglyphid: u16, iadvance: i32, goffset: GOFFSET, pioutadvance: *mut i32, poutgoffset: *mut GOFFSET) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ScriptRecordDigitSubstitution(locale: u32, psds: *mut SCRIPT_DIGITSUBSTITUTE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ScriptShape(hdc: super::Graphics::Gdi::HDC, psc: *mut *mut ::core::ffi::c_void, pwcchars: ::windows_sys::core::PCWSTR, cchars: i32, cmaxglyphs: i32, psa: *mut SCRIPT_ANALYSIS, pwoutglyphs: *mut u16, pwlogclust: *mut u16, psva: *mut SCRIPT_VISATTR, pcglyphs: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ScriptShapeOpenType(hdc: super::Graphics::Gdi::HDC, psc: *mut *mut ::core::ffi::c_void, psa: *mut SCRIPT_ANALYSIS, tagscript: u32, taglangsys: u32, rcrangechars: *const i32, rprangeproperties: *const *const textrange_properties, cranges: i32, pwcchars: ::windows_sys::core::PCWSTR, cchars: i32, cmaxglyphs: i32, pwlogclust: *mut u16, pcharprops: *mut script_charprop, pwoutglyphs: *mut u16, poutglyphprops: *mut script_glyphprop, pcglyphs: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ScriptStringAnalyse(hdc: super::Graphics::Gdi::HDC, pstring: *const ::core::ffi::c_void, cstring: i32, cglyphs: i32, icharset: i32, dwflags: u32, ireqwidth: i32, pscontrol: *const SCRIPT_CONTROL, psstate: *const SCRIPT_STATE, pidx: *const i32, ptabdef: *const SCRIPT_TABDEF, pbinclass: *const u8, pssa: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ScriptStringCPtoX(ssa: *const ::core::ffi::c_void, icp: i32, ftrailing: super::Foundation::BOOL, px: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ScriptStringFree(pssa: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ScriptStringGetLogicalWidths(ssa: *const ::core::ffi::c_void, pidx: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ScriptStringGetOrder(ssa: *const ::core::ffi::c_void, puorder: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ScriptStringOut(ssa: *const ::core::ffi::c_void, ix: i32, iy: i32, uoptions: super::Graphics::Gdi::ETO_OPTIONS, prc: *const super::Foundation::RECT, iminsel: i32, imaxsel: i32, fdisabled: super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ScriptStringValidate(ssa: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ScriptStringXtoCP(ssa: *const ::core::ffi::c_void, ix: i32, pich: *mut i32, pitrailing: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ScriptString_pLogAttr(ssa: *const ::core::ffi::c_void) -> *mut SCRIPT_LOGATTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ScriptString_pSize(ssa: *const ::core::ffi::c_void) -> *mut super::Foundation::SIZE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ScriptString_pcOutChars(ssa: *const ::core::ffi::c_void) -> *mut i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ScriptSubstituteSingleGlyph(hdc: super::Graphics::Gdi::HDC, psc: *mut *mut ::core::ffi::c_void, psa: *const SCRIPT_ANALYSIS, tagscript: u32, taglangsys: u32, tagfeature: u32, lparameter: i32, wglyphid: u16, pwoutglyphid: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ScriptTextOut(hdc: super::Graphics::Gdi::HDC, psc: *mut *mut ::core::ffi::c_void, x: i32, y: i32, fuoptions: u32, lprc: *const super::Foundation::RECT, psa: *const SCRIPT_ANALYSIS, pwcreserved: ::windows_sys::core::PCWSTR, ireserved: i32, pwglyphs: *const u16, cglyphs: i32, piadvance: *const i32, pijustify: *const i32, pgoffset: *const GOFFSET) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ScriptXtoCP(ix: i32, cchars: i32, cglyphs: i32, pwlogclust: *const u16, psva: *const SCRIPT_VISATTR, piadvance: *const i32, psa: *const SCRIPT_ANALYSIS, picp: *mut i32, pitrailing: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetCalendarInfoA(locale: u32, calendar: u32, caltype: u32, lpcaldata: ::windows_sys::core::PCSTR) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetCalendarInfoW(locale: u32, calendar: u32, caltype: u32, lpcaldata: ::windows_sys::core::PCWSTR) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetLocaleInfoA(locale: u32, lctype: u32, lplcdata: ::windows_sys::core::PCSTR) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetLocaleInfoW(locale: u32, lctype: u32, lplcdata: ::windows_sys::core::PCWSTR) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetProcessPreferredUILanguages(dwflags: u32, pwszlanguagesbuffer: ::windows_sys::core::PCWSTR, pulnumlanguages: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetThreadLocale(locale: u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetThreadPreferredUILanguages(dwflags: u32, pwszlanguagesbuffer: ::windows_sys::core::PCWSTR, pulnumlanguages: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetThreadPreferredUILanguages2(flags: u32, languages: ::windows_sys::core::PCWSTR, numlanguagesset: *mut u32, snapshot: *mut HSAVEDUILANGUAGES) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn SetThreadUILanguage(langid: u16) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetUserGeoID(geoid: i32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetUserGeoName(geoname: ::windows_sys::core::PCWSTR) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TranslateCharsetInfo(lpsrc: *mut u32, lpcs: *mut CHARSETINFO, dwflags: TRANSLATE_CHARSET_INFO_FLAGS) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn UCNV_FROM_U_CALLBACK_ESCAPE(context: *const ::core::ffi::c_void, fromuargs: *mut UConverterFromUnicodeArgs, codeunits: *const u16, length: i32, codepoint: i32, reason: UConverterCallbackReason, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn UCNV_FROM_U_CALLBACK_SKIP(context: *const ::core::ffi::c_void, fromuargs: *mut UConverterFromUnicodeArgs, codeunits: *const u16, length: i32, codepoint: i32, reason: UConverterCallbackReason, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn UCNV_FROM_U_CALLBACK_STOP(context: *const ::core::ffi::c_void, fromuargs: *mut UConverterFromUnicodeArgs, codeunits: *const u16, length: i32, codepoint: i32, reason: UConverterCallbackReason, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn UCNV_FROM_U_CALLBACK_SUBSTITUTE(context: *const ::core::ffi::c_void, fromuargs: *mut UConverterFromUnicodeArgs, codeunits: *const u16, length: i32, codepoint: i32, reason: UConverterCallbackReason, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn UCNV_TO_U_CALLBACK_ESCAPE(context: *const ::core::ffi::c_void, touargs: *mut UConverterToUnicodeArgs, codeunits: ::windows_sys::core::PCSTR, length: i32, reason: UConverterCallbackReason, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn UCNV_TO_U_CALLBACK_SKIP(context: *const ::core::ffi::c_void, touargs: *mut UConverterToUnicodeArgs, codeunits: ::windows_sys::core::PCSTR, length: i32, reason: UConverterCallbackReason, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn UCNV_TO_U_CALLBACK_STOP(context: *const ::core::ffi::c_void, touargs: *mut UConverterToUnicodeArgs, codeunits: ::windows_sys::core::PCSTR, length: i32, reason: UConverterCallbackReason, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn UCNV_TO_U_CALLBACK_SUBSTITUTE(context: *const ::core::ffi::c_void, touargs: *mut UConverterToUnicodeArgs, codeunits: ::windows_sys::core::PCSTR, length: i32, reason: UConverterCallbackReason, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VerifyScripts(dwflags: u32, lplocalescripts: ::windows_sys::core::PCWSTR, cchlocalescripts: i32, lptestscripts: ::windows_sys::core::PCWSTR, cchtestscripts: i32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn WideCharToMultiByte(codepage: u32, dwflags: u32, lpwidecharstr: ::windows_sys::core::PCWSTR, cchwidechar: i32, lpmultibytestr: ::windows_sys::core::PSTR, cbmultibyte: i32, lpdefaultchar: ::windows_sys::core::PCSTR, lpuseddefaultchar: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn lstrcatA(lpstring1: ::windows_sys::core::PSTR, lpstring2: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn lstrcatW(lpstring1: ::windows_sys::core::PWSTR, lpstring2: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn lstrcmpA(lpstring1: ::windows_sys::core::PCSTR, lpstring2: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn lstrcmpW(lpstring1: ::windows_sys::core::PCWSTR, lpstring2: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn lstrcmpiA(lpstring1: ::windows_sys::core::PCSTR, lpstring2: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn lstrcmpiW(lpstring1: ::windows_sys::core::PCWSTR, lpstring2: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn lstrcpyA(lpstring1: ::windows_sys::core::PSTR, lpstring2: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn lstrcpyW(lpstring1: ::windows_sys::core::PWSTR, lpstring2: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn lstrcpynA(lpstring1: ::windows_sys::core::PSTR, lpstring2: ::windows_sys::core::PCSTR, imaxlength: i32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn lstrcpynW(lpstring1: ::windows_sys::core::PWSTR, lpstring2: ::windows_sys::core::PCWSTR, imaxlength: i32) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn lstrlenA(lpstring: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn lstrlenW(lpstring: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_UCharsToChars(us: *const u16, cs: ::windows_sys::core::PCSTR, length: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_austrcpy(dst: ::windows_sys::core::PCSTR, src: *const u16) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_austrncpy(dst: ::windows_sys::core::PCSTR, src: *const u16, n: i32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_catclose(catd: *mut UResourceBundle); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_catgets(catd: *mut UResourceBundle, set_num: i32, msg_num: i32, s: *const u16, len: *mut i32, ec: *mut UErrorCode) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_catopen(name: ::windows_sys::core::PCSTR, locale: ::windows_sys::core::PCSTR, ec: *mut UErrorCode) -> *mut UResourceBundle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_charAge(c: i32, versionarray: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_charDigitValue(c: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_charDirection(c: i32) -> UCharDirection; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_charFromName(namechoice: UCharNameChoice, name: ::windows_sys::core::PCSTR, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_charMirror(c: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_charName(code: i32, namechoice: UCharNameChoice, buffer: ::windows_sys::core::PCSTR, bufferlength: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_charType(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_charsToUChars(cs: ::windows_sys::core::PCSTR, us: *mut u16, length: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_cleanup(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_countChar32(s: *const u16, length: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_digit(ch: i32, radix: i8) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_enumCharNames(start: i32, limit: i32, r#fn: *mut UEnumCharNamesFn, context: *mut ::core::ffi::c_void, namechoice: UCharNameChoice, perrorcode: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_enumCharTypes(enumrange: *mut UCharEnumTypeRange, context: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_errorName(code: UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_foldCase(c: i32, options: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_forDigit(digit: i32, radix: i8) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_formatMessage(locale: ::windows_sys::core::PCSTR, pattern: *const u16, patternlength: i32, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_formatMessageWithError(locale: ::windows_sys::core::PCSTR, pattern: *const u16, patternlength: i32, result: *mut u16, resultlength: i32, parseerror: *mut UParseError, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_getBidiPairedBracket(c: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_getBinaryPropertySet(property: UProperty, perrorcode: *mut UErrorCode) -> *mut USet; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_getCombiningClass(c: i32) -> u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_getDataVersion(dataversionfillin: *mut u8, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_getFC_NFKC_Closure(c: i32, dest: *mut u16, destcapacity: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_getIntPropertyMap(property: UProperty, perrorcode: *mut UErrorCode) -> *mut UCPMap; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_getIntPropertyMaxValue(which: UProperty) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_getIntPropertyMinValue(which: UProperty) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_getIntPropertyValue(c: i32, which: UProperty) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_getNumericValue(c: i32) -> f64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_getPropertyEnum(alias: ::windows_sys::core::PCSTR) -> UProperty; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_getPropertyName(property: UProperty, namechoice: UPropertyNameChoice) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_getPropertyValueEnum(property: UProperty, alias: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_getPropertyValueName(property: UProperty, value: i32, namechoice: UPropertyNameChoice) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_getUnicodeVersion(versionarray: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_getVersion(versionarray: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_hasBinaryProperty(c: i32, which: UProperty) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_init(status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isIDIgnorable(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isIDPart(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isIDStart(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isISOControl(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isJavaIDPart(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isJavaIDStart(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isJavaSpaceChar(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isMirrored(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isUAlphabetic(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isULowercase(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isUUppercase(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isUWhiteSpace(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isWhitespace(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isalnum(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isalpha(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isbase(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isblank(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_iscntrl(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isdefined(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isdigit(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isgraph(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_islower(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isprint(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_ispunct(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isspace(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_istitle(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isupper(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_isxdigit(c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_memcasecmp(s1: *const u16, s2: *const u16, length: i32, options: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_memchr(s: *const u16, c: u16, count: i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_memchr32(s: *const u16, c: i32, count: i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_memcmp(buf1: *const u16, buf2: *const u16, count: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_memcmpCodePointOrder(s1: *const u16, s2: *const u16, count: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_memcpy(dest: *mut u16, src: *const u16, count: i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_memmove(dest: *mut u16, src: *const u16, count: i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_memrchr(s: *const u16, c: u16, count: i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_memrchr32(s: *const u16, c: i32, count: i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_memset(dest: *mut u16, c: u16, count: i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_parseMessage(locale: ::windows_sys::core::PCSTR, pattern: *const u16, patternlength: i32, source: *const u16, sourcelength: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_parseMessageWithError(locale: ::windows_sys::core::PCSTR, pattern: *const u16, patternlength: i32, source: *const u16, sourcelength: i32, parseerror: *mut UParseError, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_setMemoryFunctions(context: *const ::core::ffi::c_void, a: *mut UMemAllocFn, r: *mut UMemReallocFn, f: *mut UMemFreeFn, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_shapeArabic(source: *const u16, sourcelength: i32, dest: *mut u16, destsize: i32, options: u32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strCaseCompare(s1: *const u16, length1: i32, s2: *const u16, length2: i32, options: u32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strCompare(s1: *const u16, length1: i32, s2: *const u16, length2: i32, codepointorder: i8) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strCompareIter(iter1: *mut UCharIterator, iter2: *mut UCharIterator, codepointorder: i8) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strFindFirst(s: *const u16, length: i32, substring: *const u16, sublength: i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strFindLast(s: *const u16, length: i32, substring: *const u16, sublength: i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strFoldCase(dest: *mut u16, destcapacity: i32, src: *const u16, srclength: i32, options: u32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strFromJavaModifiedUTF8WithSub(dest: *mut u16, destcapacity: i32, pdestlength: *mut i32, src: ::windows_sys::core::PCSTR, srclength: i32, subchar: i32, pnumsubstitutions: *mut i32, perrorcode: *mut UErrorCode) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strFromUTF32(dest: *mut u16, destcapacity: i32, pdestlength: *mut i32, src: *const i32, srclength: i32, perrorcode: *mut UErrorCode) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strFromUTF32WithSub(dest: *mut u16, destcapacity: i32, pdestlength: *mut i32, src: *const i32, srclength: i32, subchar: i32, pnumsubstitutions: *mut i32, perrorcode: *mut UErrorCode) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strFromUTF8(dest: *mut u16, destcapacity: i32, pdestlength: *mut i32, src: ::windows_sys::core::PCSTR, srclength: i32, perrorcode: *mut UErrorCode) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strFromUTF8Lenient(dest: *mut u16, destcapacity: i32, pdestlength: *mut i32, src: ::windows_sys::core::PCSTR, srclength: i32, perrorcode: *mut UErrorCode) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strFromUTF8WithSub(dest: *mut u16, destcapacity: i32, pdestlength: *mut i32, src: ::windows_sys::core::PCSTR, srclength: i32, subchar: i32, pnumsubstitutions: *mut i32, perrorcode: *mut UErrorCode) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strFromWCS(dest: *mut u16, destcapacity: i32, pdestlength: *mut i32, src: ::windows_sys::core::PCWSTR, srclength: i32, perrorcode: *mut UErrorCode) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strHasMoreChar32Than(s: *const u16, length: i32, number: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strToJavaModifiedUTF8(dest: ::windows_sys::core::PCSTR, destcapacity: i32, pdestlength: *mut i32, src: *const u16, srclength: i32, perrorcode: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strToLower(dest: *mut u16, destcapacity: i32, src: *const u16, srclength: i32, locale: ::windows_sys::core::PCSTR, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strToTitle(dest: *mut u16, destcapacity: i32, src: *const u16, srclength: i32, titleiter: *mut UBreakIterator, locale: ::windows_sys::core::PCSTR, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strToUTF32(dest: *mut i32, destcapacity: i32, pdestlength: *mut i32, src: *const u16, srclength: i32, perrorcode: *mut UErrorCode) -> *mut i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strToUTF32WithSub(dest: *mut i32, destcapacity: i32, pdestlength: *mut i32, src: *const u16, srclength: i32, subchar: i32, pnumsubstitutions: *mut i32, perrorcode: *mut UErrorCode) -> *mut i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strToUTF8(dest: ::windows_sys::core::PCSTR, destcapacity: i32, pdestlength: *mut i32, src: *const u16, srclength: i32, perrorcode: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strToUTF8WithSub(dest: ::windows_sys::core::PCSTR, destcapacity: i32, pdestlength: *mut i32, src: *const u16, srclength: i32, subchar: i32, pnumsubstitutions: *mut i32, perrorcode: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strToUpper(dest: *mut u16, destcapacity: i32, src: *const u16, srclength: i32, locale: ::windows_sys::core::PCSTR, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strToWCS(dest: ::windows_sys::core::PCWSTR, destcapacity: i32, pdestlength: *mut i32, src: *const u16, srclength: i32, perrorcode: *mut UErrorCode) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strcasecmp(s1: *const u16, s2: *const u16, options: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strcat(dst: *mut u16, src: *const u16) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strchr(s: *const u16, c: u16) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strchr32(s: *const u16, c: i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strcmp(s1: *const u16, s2: *const u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strcmpCodePointOrder(s1: *const u16, s2: *const u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strcpy(dst: *mut u16, src: *const u16) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strcspn(string: *const u16, matchset: *const u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strlen(s: *const u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strncasecmp(s1: *const u16, s2: *const u16, n: i32, options: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strncat(dst: *mut u16, src: *const u16, n: i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strncmp(ucs1: *const u16, ucs2: *const u16, n: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strncmpCodePointOrder(s1: *const u16, s2: *const u16, n: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strncpy(dst: *mut u16, src: *const u16, n: i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strpbrk(string: *const u16, matchset: *const u16) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strrchr(s: *const u16, c: u16) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strrchr32(s: *const u16, c: i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strrstr(s: *const u16, substring: *const u16) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strspn(string: *const u16, matchset: *const u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strstr(s: *const u16, substring: *const u16) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_strtok_r(src: *mut u16, delim: *const u16, savestate: *mut *mut u16) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_tolower(c: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_totitle(c: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_toupper(c: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_uastrcpy(dst: *mut u16, src: ::windows_sys::core::PCSTR) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_uastrncpy(dst: *mut u16, src: ::windows_sys::core::PCSTR, n: i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_unescape(src: ::windows_sys::core::PCSTR, dest: *mut u16, destcapacity: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_unescapeAt(charat: UNESCAPE_CHAR_AT, offset: *mut i32, length: i32, context: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_versionFromString(versionarray: *mut u8, versionstring: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_versionFromUString(versionarray: *mut u8, versionstring: *const u16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_versionToString(versionarray: *const u8, versionstring: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_vformatMessage(locale: ::windows_sys::core::PCSTR, pattern: *const u16, patternlength: i32, result: *mut u16, resultlength: i32, ap: *mut i8, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_vformatMessageWithError(locale: ::windows_sys::core::PCSTR, pattern: *const u16, patternlength: i32, result: *mut u16, resultlength: i32, parseerror: *mut UParseError, ap: *mut i8, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_vparseMessage(locale: ::windows_sys::core::PCSTR, pattern: *const u16, patternlength: i32, source: *const u16, sourcelength: i32, ap: *mut i8, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn u_vparseMessageWithError(locale: ::windows_sys::core::PCSTR, pattern: *const u16, patternlength: i32, source: *const u16, sourcelength: i32, ap: *mut i8, parseerror: *mut UParseError, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_close(pbidi: *mut UBiDi); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_countParagraphs(pbidi: *mut UBiDi) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_countRuns(pbidi: *mut UBiDi, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_getBaseDirection(text: *const u16, length: i32) -> UBiDiDirection; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_getClassCallback(pbidi: *mut UBiDi, r#fn: *mut UBiDiClassCallback, context: *const *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_getCustomizedClass(pbidi: *mut UBiDi, c: i32) -> UCharDirection; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_getDirection(pbidi: *const UBiDi) -> UBiDiDirection; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_getLength(pbidi: *const UBiDi) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_getLevelAt(pbidi: *const UBiDi, charindex: i32) -> u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_getLevels(pbidi: *mut UBiDi, perrorcode: *mut UErrorCode) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_getLogicalIndex(pbidi: *mut UBiDi, visualindex: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_getLogicalMap(pbidi: *mut UBiDi, indexmap: *mut i32, perrorcode: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_getLogicalRun(pbidi: *const UBiDi, logicalposition: i32, plogicallimit: *mut i32, plevel: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_getParaLevel(pbidi: *const UBiDi) -> u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_getParagraph(pbidi: *const UBiDi, charindex: i32, pparastart: *mut i32, pparalimit: *mut i32, pparalevel: *mut u8, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_getParagraphByIndex(pbidi: *const UBiDi, paraindex: i32, pparastart: *mut i32, pparalimit: *mut i32, pparalevel: *mut u8, perrorcode: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_getProcessedLength(pbidi: *const UBiDi) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_getReorderingMode(pbidi: *mut UBiDi) -> UBiDiReorderingMode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_getReorderingOptions(pbidi: *mut UBiDi) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_getResultLength(pbidi: *const UBiDi) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_getText(pbidi: *const UBiDi) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_getVisualIndex(pbidi: *mut UBiDi, logicalindex: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_getVisualMap(pbidi: *mut UBiDi, indexmap: *mut i32, perrorcode: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_getVisualRun(pbidi: *mut UBiDi, runindex: i32, plogicalstart: *mut i32, plength: *mut i32) -> UBiDiDirection; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_invertMap(srcmap: *const i32, destmap: *mut i32, length: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_isInverse(pbidi: *mut UBiDi) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_isOrderParagraphsLTR(pbidi: *mut UBiDi) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_open() -> *mut UBiDi; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_openSized(maxlength: i32, maxruncount: i32, perrorcode: *mut UErrorCode) -> *mut UBiDi; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_orderParagraphsLTR(pbidi: *mut UBiDi, orderparagraphsltr: i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_reorderLogical(levels: *const u8, length: i32, indexmap: *mut i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_reorderVisual(levels: *const u8, length: i32, indexmap: *mut i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_setClassCallback(pbidi: *mut UBiDi, newfn: UBiDiClassCallback, newcontext: *const ::core::ffi::c_void, oldfn: *mut UBiDiClassCallback, oldcontext: *const *const ::core::ffi::c_void, perrorcode: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_setContext(pbidi: *mut UBiDi, prologue: *const u16, prolength: i32, epilogue: *const u16, epilength: i32, perrorcode: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_setInverse(pbidi: *mut UBiDi, isinverse: i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_setLine(pparabidi: *const UBiDi, start: i32, limit: i32, plinebidi: *mut UBiDi, perrorcode: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_setPara(pbidi: *mut UBiDi, text: *const u16, length: i32, paralevel: u8, embeddinglevels: *mut u8, perrorcode: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_setReorderingMode(pbidi: *mut UBiDi, reorderingmode: UBiDiReorderingMode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_setReorderingOptions(pbidi: *mut UBiDi, reorderingoptions: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_writeReordered(pbidi: *mut UBiDi, dest: *mut u16, destsize: i32, options: u16, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubidi_writeReverse(src: *const u16, srclength: i32, dest: *mut u16, destsize: i32, options: u16, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubiditransform_close(pbiditransform: *mut UBiDiTransform); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubiditransform_open(perrorcode: *mut UErrorCode) -> *mut UBiDiTransform; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubiditransform_transform(pbiditransform: *mut UBiDiTransform, src: *const u16, srclength: i32, dest: *mut u16, destsize: i32, inparalevel: u8, inorder: UBiDiOrder, outparalevel: u8, outorder: UBiDiOrder, domirroring: UBiDiMirroring, shapingoptions: u32, perrorcode: *mut UErrorCode) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ublock_getCode(c: i32) -> UBlockCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubrk_close(bi: *mut UBreakIterator); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubrk_countAvailable() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubrk_current(bi: *const UBreakIterator) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubrk_first(bi: *mut UBreakIterator) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubrk_following(bi: *mut UBreakIterator, offset: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubrk_getAvailable(index: i32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubrk_getBinaryRules(bi: *mut UBreakIterator, binaryrules: *mut u8, rulescapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubrk_getLocaleByType(bi: *const UBreakIterator, r#type: ULocDataLocaleType, status: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubrk_getRuleStatus(bi: *mut UBreakIterator) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubrk_getRuleStatusVec(bi: *mut UBreakIterator, fillinvec: *mut i32, capacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubrk_isBoundary(bi: *mut UBreakIterator, offset: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubrk_last(bi: *mut UBreakIterator) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubrk_next(bi: *mut UBreakIterator) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubrk_open(r#type: UBreakIteratorType, locale: ::windows_sys::core::PCSTR, text: *const u16, textlength: i32, status: *mut UErrorCode) -> *mut UBreakIterator; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubrk_openBinaryRules(binaryrules: *const u8, ruleslength: i32, text: *const u16, textlength: i32, status: *mut UErrorCode) -> *mut UBreakIterator; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubrk_openRules(rules: *const u16, ruleslength: i32, text: *const u16, textlength: i32, parseerr: *mut UParseError, status: *mut UErrorCode) -> *mut UBreakIterator; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubrk_preceding(bi: *mut UBreakIterator, offset: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubrk_previous(bi: *mut UBreakIterator) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubrk_refreshUText(bi: *mut UBreakIterator, text: *mut UText, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubrk_safeClone(bi: *const UBreakIterator, stackbuffer: *mut ::core::ffi::c_void, pbuffersize: *mut i32, status: *mut UErrorCode) -> *mut UBreakIterator; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubrk_setText(bi: *mut UBreakIterator, text: *const u16, textlength: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ubrk_setUText(bi: *mut UBreakIterator, text: *mut UText, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_add(cal: *mut *mut ::core::ffi::c_void, field: UCalendarDateFields, amount: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_clear(calendar: *mut *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_clearField(cal: *mut *mut ::core::ffi::c_void, field: UCalendarDateFields); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_clone(cal: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_close(cal: *mut *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_countAvailable() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_equivalentTo(cal1: *const *const ::core::ffi::c_void, cal2: *const *const ::core::ffi::c_void) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_get(cal: *const *const ::core::ffi::c_void, field: UCalendarDateFields, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_getAttribute(cal: *const *const ::core::ffi::c_void, attr: UCalendarAttribute) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_getAvailable(localeindex: i32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_getCanonicalTimeZoneID(id: *const u16, len: i32, result: *mut u16, resultcapacity: i32, issystemid: *mut i8, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_getDSTSavings(zoneid: *const u16, ec: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_getDayOfWeekType(cal: *const *const ::core::ffi::c_void, dayofweek: UCalendarDaysOfWeek, status: *mut UErrorCode) -> UCalendarWeekdayType; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_getDefaultTimeZone(result: *mut u16, resultcapacity: i32, ec: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_getFieldDifference(cal: *mut *mut ::core::ffi::c_void, target: f64, field: UCalendarDateFields, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_getGregorianChange(cal: *const *const ::core::ffi::c_void, perrorcode: *mut UErrorCode) -> f64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_getHostTimeZone(result: *mut u16, resultcapacity: i32, ec: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_getKeywordValuesForLocale(key: ::windows_sys::core::PCSTR, locale: ::windows_sys::core::PCSTR, commonlyused: i8, status: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_getLimit(cal: *const *const ::core::ffi::c_void, field: UCalendarDateFields, r#type: UCalendarLimitType, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_getLocaleByType(cal: *const *const ::core::ffi::c_void, r#type: ULocDataLocaleType, status: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_getMillis(cal: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> f64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_getNow() -> f64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_getTZDataVersion(status: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_getTimeZoneDisplayName(cal: *const *const ::core::ffi::c_void, r#type: UCalendarDisplayNameType, locale: ::windows_sys::core::PCSTR, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_getTimeZoneID(cal: *const *const ::core::ffi::c_void, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_getTimeZoneIDForWindowsID(winid: *const u16, len: i32, region: ::windows_sys::core::PCSTR, id: *mut u16, idcapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_getTimeZoneTransitionDate(cal: *const *const ::core::ffi::c_void, r#type: UTimeZoneTransitionType, transition: *mut f64, status: *mut UErrorCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_getType(cal: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_getWeekendTransition(cal: *const *const ::core::ffi::c_void, dayofweek: UCalendarDaysOfWeek, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_getWindowsTimeZoneID(id: *const u16, len: i32, winid: *mut u16, winidcapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_inDaylightTime(cal: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_isSet(cal: *const *const ::core::ffi::c_void, field: UCalendarDateFields) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_isWeekend(cal: *const *const ::core::ffi::c_void, date: f64, status: *mut UErrorCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_open(zoneid: *const u16, len: i32, locale: ::windows_sys::core::PCSTR, r#type: UCalendarType, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_openCountryTimeZones(country: ::windows_sys::core::PCSTR, ec: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_openTimeZoneIDEnumeration(zonetype: USystemTimeZoneType, region: ::windows_sys::core::PCSTR, rawoffset: *const i32, ec: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_openTimeZones(ec: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_roll(cal: *mut *mut ::core::ffi::c_void, field: UCalendarDateFields, amount: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_set(cal: *mut *mut ::core::ffi::c_void, field: UCalendarDateFields, value: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_setAttribute(cal: *mut *mut ::core::ffi::c_void, attr: UCalendarAttribute, newvalue: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_setDate(cal: *mut *mut ::core::ffi::c_void, year: i32, month: i32, date: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_setDateTime(cal: *mut *mut ::core::ffi::c_void, year: i32, month: i32, date: i32, hour: i32, minute: i32, second: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_setDefaultTimeZone(zoneid: *const u16, ec: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_setGregorianChange(cal: *mut *mut ::core::ffi::c_void, date: f64, perrorcode: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_setMillis(cal: *mut *mut ::core::ffi::c_void, datetime: f64, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucal_setTimeZone(cal: *mut *mut ::core::ffi::c_void, zoneid: *const u16, len: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucasemap_close(csm: *mut UCaseMap); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucasemap_getBreakIterator(csm: *const UCaseMap) -> *mut UBreakIterator; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucasemap_getLocale(csm: *const UCaseMap) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucasemap_getOptions(csm: *const UCaseMap) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucasemap_open(locale: ::windows_sys::core::PCSTR, options: u32, perrorcode: *mut UErrorCode) -> *mut UCaseMap; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucasemap_setBreakIterator(csm: *mut UCaseMap, itertoadopt: *mut UBreakIterator, perrorcode: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucasemap_setLocale(csm: *mut UCaseMap, locale: ::windows_sys::core::PCSTR, perrorcode: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucasemap_setOptions(csm: *mut UCaseMap, options: u32, perrorcode: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucasemap_toTitle(csm: *mut UCaseMap, dest: *mut u16, destcapacity: i32, src: *const u16, srclength: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucasemap_utf8FoldCase(csm: *const UCaseMap, dest: ::windows_sys::core::PCSTR, destcapacity: i32, src: ::windows_sys::core::PCSTR, srclength: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucasemap_utf8ToLower(csm: *const UCaseMap, dest: ::windows_sys::core::PCSTR, destcapacity: i32, src: ::windows_sys::core::PCSTR, srclength: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucasemap_utf8ToTitle(csm: *mut UCaseMap, dest: ::windows_sys::core::PCSTR, destcapacity: i32, src: ::windows_sys::core::PCSTR, srclength: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucasemap_utf8ToUpper(csm: *const UCaseMap, dest: ::windows_sys::core::PCSTR, destcapacity: i32, src: ::windows_sys::core::PCSTR, srclength: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucfpos_close(ucfpos: *mut UConstrainedFieldPosition); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucfpos_constrainCategory(ucfpos: *mut UConstrainedFieldPosition, category: i32, ec: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucfpos_constrainField(ucfpos: *mut UConstrainedFieldPosition, category: i32, field: i32, ec: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucfpos_getCategory(ucfpos: *const UConstrainedFieldPosition, ec: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucfpos_getField(ucfpos: *const UConstrainedFieldPosition, ec: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucfpos_getIndexes(ucfpos: *const UConstrainedFieldPosition, pstart: *mut i32, plimit: *mut i32, ec: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucfpos_getInt64IterationContext(ucfpos: *const UConstrainedFieldPosition, ec: *mut UErrorCode) -> i64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucfpos_matchesField(ucfpos: *const UConstrainedFieldPosition, category: i32, field: i32, ec: *mut UErrorCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucfpos_open(ec: *mut UErrorCode) -> *mut UConstrainedFieldPosition; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucfpos_reset(ucfpos: *mut UConstrainedFieldPosition, ec: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucfpos_setInt64IterationContext(ucfpos: *mut UConstrainedFieldPosition, context: i64, ec: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucfpos_setState(ucfpos: *mut UConstrainedFieldPosition, category: i32, field: i32, start: i32, limit: i32, ec: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_cbFromUWriteBytes(args: *mut UConverterFromUnicodeArgs, source: ::windows_sys::core::PCSTR, length: i32, offsetindex: i32, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_cbFromUWriteSub(args: *mut UConverterFromUnicodeArgs, offsetindex: i32, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_cbFromUWriteUChars(args: *mut UConverterFromUnicodeArgs, source: *const *const u16, sourcelimit: *const u16, offsetindex: i32, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_cbToUWriteSub(args: *mut UConverterToUnicodeArgs, offsetindex: i32, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_cbToUWriteUChars(args: *mut UConverterToUnicodeArgs, source: *const u16, length: i32, offsetindex: i32, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_close(converter: *mut UConverter); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_compareNames(name1: ::windows_sys::core::PCSTR, name2: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_convert(toconvertername: ::windows_sys::core::PCSTR, fromconvertername: ::windows_sys::core::PCSTR, target: ::windows_sys::core::PCSTR, targetcapacity: i32, source: ::windows_sys::core::PCSTR, sourcelength: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_convertEx(targetcnv: *mut UConverter, sourcecnv: *mut UConverter, target: *mut *mut i8, targetlimit: ::windows_sys::core::PCSTR, source: *const *const i8, sourcelimit: ::windows_sys::core::PCSTR, pivotstart: *mut u16, pivotsource: *mut *mut u16, pivottarget: *mut *mut u16, pivotlimit: *const u16, reset: i8, flush: i8, perrorcode: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_countAliases(alias: ::windows_sys::core::PCSTR, perrorcode: *mut UErrorCode) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_countAvailable() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_countStandards() -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_detectUnicodeSignature(source: ::windows_sys::core::PCSTR, sourcelength: i32, signaturelength: *mut i32, perrorcode: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_fixFileSeparator(cnv: *const UConverter, source: *mut u16, sourcelen: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_flushCache() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_fromAlgorithmic(cnv: *mut UConverter, algorithmictype: UConverterType, target: ::windows_sys::core::PCSTR, targetcapacity: i32, source: ::windows_sys::core::PCSTR, sourcelength: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_fromUChars(cnv: *mut UConverter, dest: ::windows_sys::core::PCSTR, destcapacity: i32, src: *const u16, srclength: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_fromUCountPending(cnv: *const UConverter, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_fromUnicode(converter: *mut UConverter, target: *mut *mut i8, targetlimit: ::windows_sys::core::PCSTR, source: *const *const u16, sourcelimit: *const u16, offsets: *mut i32, flush: i8, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_getAlias(alias: ::windows_sys::core::PCSTR, n: u16, perrorcode: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_getAliases(alias: ::windows_sys::core::PCSTR, aliases: *const *const i8, perrorcode: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_getAvailableName(n: i32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_getCCSID(converter: *const UConverter, err: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_getCanonicalName(alias: ::windows_sys::core::PCSTR, standard: ::windows_sys::core::PCSTR, perrorcode: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_getDefaultName() -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_getDisplayName(converter: *const UConverter, displaylocale: ::windows_sys::core::PCSTR, displayname: *mut u16, displaynamecapacity: i32, err: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_getFromUCallBack(converter: *const UConverter, action: *mut UConverterFromUCallback, context: *const *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_getInvalidChars(converter: *const UConverter, errbytes: ::windows_sys::core::PCSTR, len: *mut i8, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_getInvalidUChars(converter: *const UConverter, erruchars: *mut u16, len: *mut i8, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_getMaxCharSize(converter: *const UConverter) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_getMinCharSize(converter: *const UConverter) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_getName(converter: *const UConverter, err: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_getNextUChar(converter: *mut UConverter, source: *const *const i8, sourcelimit: ::windows_sys::core::PCSTR, err: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_getPlatform(converter: *const UConverter, err: *mut UErrorCode) -> UConverterPlatform; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_getStandard(n: u16, perrorcode: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_getStandardName(name: ::windows_sys::core::PCSTR, standard: ::windows_sys::core::PCSTR, perrorcode: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_getStarters(converter: *const UConverter, starters: *mut i8, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_getSubstChars(converter: *const UConverter, subchars: ::windows_sys::core::PCSTR, len: *mut i8, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_getToUCallBack(converter: *const UConverter, action: *mut UConverterToUCallback, context: *const *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_getType(converter: *const UConverter) -> UConverterType; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_getUnicodeSet(cnv: *const UConverter, setfillin: *mut USet, whichset: UConverterUnicodeSet, perrorcode: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_isAmbiguous(cnv: *const UConverter) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_isFixedWidth(cnv: *mut UConverter, status: *mut UErrorCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_open(convertername: ::windows_sys::core::PCSTR, err: *mut UErrorCode) -> *mut UConverter; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_openAllNames(perrorcode: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_openCCSID(codepage: i32, platform: UConverterPlatform, err: *mut UErrorCode) -> *mut UConverter; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_openPackage(packagename: ::windows_sys::core::PCSTR, convertername: ::windows_sys::core::PCSTR, err: *mut UErrorCode) -> *mut UConverter; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_openStandardNames(convname: ::windows_sys::core::PCSTR, standard: ::windows_sys::core::PCSTR, perrorcode: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_openU(name: *const u16, err: *mut UErrorCode) -> *mut UConverter; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_reset(converter: *mut UConverter); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_resetFromUnicode(converter: *mut UConverter); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_resetToUnicode(converter: *mut UConverter); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_safeClone(cnv: *const UConverter, stackbuffer: *mut ::core::ffi::c_void, pbuffersize: *mut i32, status: *mut UErrorCode) -> *mut UConverter; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_setDefaultName(name: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_setFallback(cnv: *mut UConverter, usesfallback: i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_setFromUCallBack(converter: *mut UConverter, newaction: UConverterFromUCallback, newcontext: *const ::core::ffi::c_void, oldaction: *mut UConverterFromUCallback, oldcontext: *const *const ::core::ffi::c_void, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_setSubstChars(converter: *mut UConverter, subchars: ::windows_sys::core::PCSTR, len: i8, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_setSubstString(cnv: *mut UConverter, s: *const u16, length: i32, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_setToUCallBack(converter: *mut UConverter, newaction: UConverterToUCallback, newcontext: *const ::core::ffi::c_void, oldaction: *mut UConverterToUCallback, oldcontext: *const *const ::core::ffi::c_void, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_toAlgorithmic(algorithmictype: UConverterType, cnv: *mut UConverter, target: ::windows_sys::core::PCSTR, targetcapacity: i32, source: ::windows_sys::core::PCSTR, sourcelength: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_toUChars(cnv: *mut UConverter, dest: *mut u16, destcapacity: i32, src: ::windows_sys::core::PCSTR, srclength: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_toUCountPending(cnv: *const UConverter, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_toUnicode(converter: *mut UConverter, target: *mut *mut u16, targetlimit: *const u16, source: *const *const i8, sourcelimit: ::windows_sys::core::PCSTR, offsets: *mut i32, flush: i8, err: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnv_usesFallback(cnv: *const UConverter) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnvsel_close(sel: *mut UConverterSelector); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnvsel_open(converterlist: *const *const i8, converterlistsize: i32, excludedcodepoints: *const USet, whichset: UConverterUnicodeSet, status: *mut UErrorCode) -> *mut UConverterSelector; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnvsel_openFromSerialized(buffer: *const ::core::ffi::c_void, length: i32, status: *mut UErrorCode) -> *mut UConverterSelector; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnvsel_selectForString(sel: *const UConverterSelector, s: *const u16, length: i32, status: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnvsel_selectForUTF8(sel: *const UConverterSelector, s: ::windows_sys::core::PCSTR, length: i32, status: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucnvsel_serialize(sel: *const UConverterSelector, buffer: *mut ::core::ffi::c_void, buffercapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_cloneBinary(coll: *const UCollator, buffer: *mut u8, capacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_close(coll: *mut UCollator); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_closeElements(elems: *mut UCollationElements); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_countAvailable() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_equal(coll: *const UCollator, source: *const u16, sourcelength: i32, target: *const u16, targetlength: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getAttribute(coll: *const UCollator, attr: UColAttribute, status: *mut UErrorCode) -> UColAttributeValue; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getAvailable(localeindex: i32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getBound(source: *const u8, sourcelength: i32, boundtype: UColBoundMode, nooflevels: u32, result: *mut u8, resultlength: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getContractionsAndExpansions(coll: *const UCollator, contractions: *mut USet, expansions: *mut USet, addprefixes: i8, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getDisplayName(objloc: ::windows_sys::core::PCSTR, disploc: ::windows_sys::core::PCSTR, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getEquivalentReorderCodes(reordercode: i32, dest: *mut i32, destcapacity: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getFunctionalEquivalent(result: ::windows_sys::core::PCSTR, resultcapacity: i32, keyword: ::windows_sys::core::PCSTR, locale: ::windows_sys::core::PCSTR, isavailable: *mut i8, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getKeywordValues(keyword: ::windows_sys::core::PCSTR, status: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getKeywordValuesForLocale(key: ::windows_sys::core::PCSTR, locale: ::windows_sys::core::PCSTR, commonlyused: i8, status: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getKeywords(status: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getLocaleByType(coll: *const UCollator, r#type: ULocDataLocaleType, status: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getMaxExpansion(elems: *const UCollationElements, order: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getMaxVariable(coll: *const UCollator) -> UColReorderCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getOffset(elems: *const UCollationElements) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getReorderCodes(coll: *const UCollator, dest: *mut i32, destcapacity: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getRules(coll: *const UCollator, length: *mut i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getRulesEx(coll: *const UCollator, delta: UColRuleOption, buffer: *mut u16, bufferlen: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getSortKey(coll: *const UCollator, source: *const u16, sourcelength: i32, result: *mut u8, resultlength: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getStrength(coll: *const UCollator) -> UColAttributeValue; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getTailoredSet(coll: *const UCollator, status: *mut UErrorCode) -> *mut USet; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getUCAVersion(coll: *const UCollator, info: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getVariableTop(coll: *const UCollator, status: *mut UErrorCode) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_getVersion(coll: *const UCollator, info: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_greater(coll: *const UCollator, source: *const u16, sourcelength: i32, target: *const u16, targetlength: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_greaterOrEqual(coll: *const UCollator, source: *const u16, sourcelength: i32, target: *const u16, targetlength: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_keyHashCode(key: *const u8, length: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_mergeSortkeys(src1: *const u8, src1length: i32, src2: *const u8, src2length: i32, dest: *mut u8, destcapacity: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_next(elems: *mut UCollationElements, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_nextSortKeyPart(coll: *const UCollator, iter: *mut UCharIterator, state: *mut u32, dest: *mut u8, count: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_open(loc: ::windows_sys::core::PCSTR, status: *mut UErrorCode) -> *mut UCollator; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_openAvailableLocales(status: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_openBinary(bin: *const u8, length: i32, base: *const UCollator, status: *mut UErrorCode) -> *mut UCollator; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_openElements(coll: *const UCollator, text: *const u16, textlength: i32, status: *mut UErrorCode) -> *mut UCollationElements; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_openRules(rules: *const u16, ruleslength: i32, normalizationmode: UColAttributeValue, strength: UColAttributeValue, parseerror: *mut UParseError, status: *mut UErrorCode) -> *mut UCollator; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_previous(elems: *mut UCollationElements, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_primaryOrder(order: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_reset(elems: *mut UCollationElements); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_safeClone(coll: *const UCollator, stackbuffer: *mut ::core::ffi::c_void, pbuffersize: *mut i32, status: *mut UErrorCode) -> *mut UCollator; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_secondaryOrder(order: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_setAttribute(coll: *mut UCollator, attr: UColAttribute, value: UColAttributeValue, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_setMaxVariable(coll: *mut UCollator, group: UColReorderCode, perrorcode: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_setOffset(elems: *mut UCollationElements, offset: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_setReorderCodes(coll: *mut UCollator, reordercodes: *const i32, reordercodeslength: i32, perrorcode: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_setStrength(coll: *mut UCollator, strength: UColAttributeValue); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_setText(elems: *mut UCollationElements, text: *const u16, textlength: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_strcoll(coll: *const UCollator, source: *const u16, sourcelength: i32, target: *const u16, targetlength: i32) -> UCollationResult; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_strcollIter(coll: *const UCollator, siter: *mut UCharIterator, titer: *mut UCharIterator, status: *mut UErrorCode) -> UCollationResult; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_strcollUTF8(coll: *const UCollator, source: ::windows_sys::core::PCSTR, sourcelength: i32, target: ::windows_sys::core::PCSTR, targetlength: i32, status: *mut UErrorCode) -> UCollationResult; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucol_tertiaryOrder(order: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucpmap_get(map: *const UCPMap, c: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucpmap_getRange(map: *const UCPMap, start: i32, option: UCPMapRangeOption, surrogatevalue: u32, filter: *mut UCPMapValueFilter, context: *const ::core::ffi::c_void, pvalue: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucptrie_close(trie: *mut UCPTrie); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucptrie_get(trie: *const UCPTrie, c: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucptrie_getRange(trie: *const UCPTrie, start: i32, option: UCPMapRangeOption, surrogatevalue: u32, filter: *mut UCPMapValueFilter, context: *const ::core::ffi::c_void, pvalue: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucptrie_getType(trie: *const UCPTrie) -> UCPTrieType; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucptrie_getValueWidth(trie: *const UCPTrie) -> UCPTrieValueWidth; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucptrie_internalSmallIndex(trie: *const UCPTrie, c: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucptrie_internalSmallU8Index(trie: *const UCPTrie, lt1: i32, t2: u8, t3: u8) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucptrie_internalU8PrevIndex(trie: *const UCPTrie, c: i32, start: *const u8, src: *const u8) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucptrie_openFromBinary(r#type: UCPTrieType, valuewidth: UCPTrieValueWidth, data: *const ::core::ffi::c_void, length: i32, pactuallength: *mut i32, perrorcode: *mut UErrorCode) -> *mut UCPTrie; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucptrie_toBinary(trie: *const UCPTrie, data: *mut ::core::ffi::c_void, capacity: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucsdet_close(ucsd: *mut UCharsetDetector); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucsdet_detect(ucsd: *mut UCharsetDetector, status: *mut UErrorCode) -> *mut UCharsetMatch; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucsdet_detectAll(ucsd: *mut UCharsetDetector, matchesfound: *mut i32, status: *mut UErrorCode) -> *mut *mut UCharsetMatch; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucsdet_enableInputFilter(ucsd: *mut UCharsetDetector, filter: i8) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucsdet_getAllDetectableCharsets(ucsd: *const UCharsetDetector, status: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucsdet_getConfidence(ucsm: *const UCharsetMatch, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucsdet_getLanguage(ucsm: *const UCharsetMatch, status: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucsdet_getName(ucsm: *const UCharsetMatch, status: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucsdet_getUChars(ucsm: *const UCharsetMatch, buf: *mut u16, cap: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucsdet_isInputFilterEnabled(ucsd: *const UCharsetDetector) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucsdet_open(status: *mut UErrorCode) -> *mut UCharsetDetector; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucsdet_setDeclaredEncoding(ucsd: *mut UCharsetDetector, encoding: ::windows_sys::core::PCSTR, length: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucsdet_setText(ucsd: *mut UCharsetDetector, textin: ::windows_sys::core::PCSTR, len: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucurr_countCurrencies(locale: ::windows_sys::core::PCSTR, date: f64, ec: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucurr_forLocale(locale: ::windows_sys::core::PCSTR, buff: *mut u16, buffcapacity: i32, ec: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucurr_forLocaleAndDate(locale: ::windows_sys::core::PCSTR, date: f64, index: i32, buff: *mut u16, buffcapacity: i32, ec: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucurr_getDefaultFractionDigits(currency: *const u16, ec: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucurr_getDefaultFractionDigitsForUsage(currency: *const u16, usage: UCurrencyUsage, ec: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucurr_getKeywordValuesForLocale(key: ::windows_sys::core::PCSTR, locale: ::windows_sys::core::PCSTR, commonlyused: i8, status: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucurr_getName(currency: *const u16, locale: ::windows_sys::core::PCSTR, namestyle: UCurrNameStyle, ischoiceformat: *mut i8, len: *mut i32, ec: *mut UErrorCode) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucurr_getNumericCode(currency: *const u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucurr_getPluralName(currency: *const u16, locale: ::windows_sys::core::PCSTR, ischoiceformat: *mut i8, pluralcount: ::windows_sys::core::PCSTR, len: *mut i32, ec: *mut UErrorCode) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucurr_getRoundingIncrement(currency: *const u16, ec: *mut UErrorCode) -> f64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucurr_getRoundingIncrementForUsage(currency: *const u16, usage: UCurrencyUsage, ec: *mut UErrorCode) -> f64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucurr_isAvailable(isocode: *const u16, from: f64, to: f64, errorcode: *mut UErrorCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucurr_openISOCurrencies(currtype: u32, perrorcode: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucurr_register(isocode: *const u16, locale: ::windows_sys::core::PCSTR, status: *mut UErrorCode) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ucurr_unregister(key: *mut ::core::ffi::c_void, status: *mut UErrorCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_adoptNumberFormat(fmt: *mut *mut ::core::ffi::c_void, numberformattoadopt: *mut *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_adoptNumberFormatForFields(fmt: *mut *mut ::core::ffi::c_void, fields: *const u16, numberformattoset: *mut *mut ::core::ffi::c_void, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_applyPattern(format: *mut *mut ::core::ffi::c_void, localized: i8, pattern: *const u16, patternlength: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_clone(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_close(format: *mut *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_countAvailable() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_countSymbols(fmt: *const *const ::core::ffi::c_void, r#type: UDateFormatSymbolType) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_format(format: *const *const ::core::ffi::c_void, datetoformat: f64, result: *mut u16, resultlength: i32, position: *mut UFieldPosition, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_formatCalendar(format: *const *const ::core::ffi::c_void, calendar: *mut *mut ::core::ffi::c_void, result: *mut u16, capacity: i32, position: *mut UFieldPosition, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_formatCalendarForFields(format: *const *const ::core::ffi::c_void, calendar: *mut *mut ::core::ffi::c_void, result: *mut u16, capacity: i32, fpositer: *mut UFieldPositionIterator, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_formatForFields(format: *const *const ::core::ffi::c_void, datetoformat: f64, result: *mut u16, resultlength: i32, fpositer: *mut UFieldPositionIterator, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_get2DigitYearStart(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> f64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_getAvailable(localeindex: i32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_getBooleanAttribute(fmt: *const *const ::core::ffi::c_void, attr: UDateFormatBooleanAttribute, status: *mut UErrorCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_getCalendar(fmt: *const *const ::core::ffi::c_void) -> *mut *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_getContext(fmt: *const *const ::core::ffi::c_void, r#type: UDisplayContextType, status: *mut UErrorCode) -> UDisplayContext; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_getLocaleByType(fmt: *const *const ::core::ffi::c_void, r#type: ULocDataLocaleType, status: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_getNumberFormat(fmt: *const *const ::core::ffi::c_void) -> *mut *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_getNumberFormatForField(fmt: *const *const ::core::ffi::c_void, field: u16) -> *mut *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_getSymbols(fmt: *const *const ::core::ffi::c_void, r#type: UDateFormatSymbolType, symbolindex: i32, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_isLenient(fmt: *const *const ::core::ffi::c_void) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_open(timestyle: UDateFormatStyle, datestyle: UDateFormatStyle, locale: ::windows_sys::core::PCSTR, tzid: *const u16, tzidlength: i32, pattern: *const u16, patternlength: i32, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_parse(format: *const *const ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, status: *mut UErrorCode) -> f64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_parseCalendar(format: *const *const ::core::ffi::c_void, calendar: *mut *mut ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_set2DigitYearStart(fmt: *mut *mut ::core::ffi::c_void, d: f64, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_setBooleanAttribute(fmt: *mut *mut ::core::ffi::c_void, attr: UDateFormatBooleanAttribute, newvalue: i8, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_setCalendar(fmt: *mut *mut ::core::ffi::c_void, calendartoset: *const *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_setContext(fmt: *mut *mut ::core::ffi::c_void, value: UDisplayContext, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_setLenient(fmt: *mut *mut ::core::ffi::c_void, islenient: i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_setNumberFormat(fmt: *mut *mut ::core::ffi::c_void, numberformattoset: *const *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_setSymbols(format: *mut *mut ::core::ffi::c_void, r#type: UDateFormatSymbolType, symbolindex: i32, value: *mut u16, valuelength: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_toCalendarDateField(field: UDateFormatField) -> UCalendarDateFields; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udat_toPattern(fmt: *const *const ::core::ffi::c_void, localized: i8, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_addPattern(dtpg: *mut *mut ::core::ffi::c_void, pattern: *const u16, patternlength: i32, r#override: i8, conflictingpattern: *mut u16, capacity: i32, plength: *mut i32, perrorcode: *mut UErrorCode) -> UDateTimePatternConflict; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_clone(dtpg: *const *const ::core::ffi::c_void, perrorcode: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_close(dtpg: *mut *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_getAppendItemFormat(dtpg: *const *const ::core::ffi::c_void, field: UDateTimePatternField, plength: *mut i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_getAppendItemName(dtpg: *const *const ::core::ffi::c_void, field: UDateTimePatternField, plength: *mut i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_getBaseSkeleton(unuseddtpg: *mut *mut ::core::ffi::c_void, pattern: *const u16, length: i32, baseskeleton: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_getBestPattern(dtpg: *mut *mut ::core::ffi::c_void, skeleton: *const u16, length: i32, bestpattern: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_getBestPatternWithOptions(dtpg: *mut *mut ::core::ffi::c_void, skeleton: *const u16, length: i32, options: UDateTimePatternMatchOptions, bestpattern: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_getDateTimeFormat(dtpg: *const *const ::core::ffi::c_void, plength: *mut i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_getDecimal(dtpg: *const *const ::core::ffi::c_void, plength: *mut i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_getFieldDisplayName(dtpg: *const *const ::core::ffi::c_void, field: UDateTimePatternField, width: UDateTimePGDisplayWidth, fieldname: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_getPatternForSkeleton(dtpg: *const *const ::core::ffi::c_void, skeleton: *const u16, skeletonlength: i32, plength: *mut i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_getSkeleton(unuseddtpg: *mut *mut ::core::ffi::c_void, pattern: *const u16, length: i32, skeleton: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_open(locale: ::windows_sys::core::PCSTR, perrorcode: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_openBaseSkeletons(dtpg: *const *const ::core::ffi::c_void, perrorcode: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_openEmpty(perrorcode: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_openSkeletons(dtpg: *const *const ::core::ffi::c_void, perrorcode: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_replaceFieldTypes(dtpg: *mut *mut ::core::ffi::c_void, pattern: *const u16, patternlength: i32, skeleton: *const u16, skeletonlength: i32, dest: *mut u16, destcapacity: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_replaceFieldTypesWithOptions(dtpg: *mut *mut ::core::ffi::c_void, pattern: *const u16, patternlength: i32, skeleton: *const u16, skeletonlength: i32, options: UDateTimePatternMatchOptions, dest: *mut u16, destcapacity: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_setAppendItemFormat(dtpg: *mut *mut ::core::ffi::c_void, field: UDateTimePatternField, value: *const u16, length: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_setAppendItemName(dtpg: *mut *mut ::core::ffi::c_void, field: UDateTimePatternField, value: *const u16, length: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_setDateTimeFormat(dtpg: *const *const ::core::ffi::c_void, dtformat: *const u16, length: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udatpg_setDecimal(dtpg: *mut *mut ::core::ffi::c_void, decimal: *const u16, length: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udtitvfmt_close(formatter: *mut UDateIntervalFormat); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udtitvfmt_closeResult(uresult: *mut UFormattedDateInterval); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udtitvfmt_format(formatter: *const UDateIntervalFormat, fromdate: f64, todate: f64, result: *mut u16, resultcapacity: i32, position: *mut UFieldPosition, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udtitvfmt_open(locale: ::windows_sys::core::PCSTR, skeleton: *const u16, skeletonlength: i32, tzid: *const u16, tzidlength: i32, status: *mut UErrorCode) -> *mut UDateIntervalFormat; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udtitvfmt_openResult(ec: *mut UErrorCode) -> *mut UFormattedDateInterval; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn udtitvfmt_resultAsValue(uresult: *const UFormattedDateInterval, ec: *mut UErrorCode) -> *mut UFormattedValue; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uenum_close(en: *mut UEnumeration); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uenum_count(en: *mut UEnumeration, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uenum_next(en: *mut UEnumeration, resultlength: *mut i32, status: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uenum_openCharStringsEnumeration(strings: *const *const i8, count: i32, ec: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uenum_openUCharStringsEnumeration(strings: *const *const u16, count: i32, ec: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uenum_reset(en: *mut UEnumeration, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uenum_unext(en: *mut UEnumeration, resultlength: *mut i32, status: *mut UErrorCode) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ufieldpositer_close(fpositer: *mut UFieldPositionIterator); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ufieldpositer_next(fpositer: *mut UFieldPositionIterator, beginindex: *mut i32, endindex: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ufieldpositer_open(status: *mut UErrorCode) -> *mut UFieldPositionIterator; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ufmt_close(fmt: *mut *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ufmt_getArrayItemByIndex(fmt: *mut *mut ::core::ffi::c_void, n: i32, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ufmt_getArrayLength(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ufmt_getDate(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> f64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ufmt_getDecNumChars(fmt: *mut *mut ::core::ffi::c_void, len: *mut i32, status: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ufmt_getDouble(fmt: *mut *mut ::core::ffi::c_void, status: *mut UErrorCode) -> f64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ufmt_getInt64(fmt: *mut *mut ::core::ffi::c_void, status: *mut UErrorCode) -> i64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ufmt_getLong(fmt: *mut *mut ::core::ffi::c_void, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ufmt_getObject(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ufmt_getType(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> UFormattableType; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ufmt_getUChars(fmt: *mut *mut ::core::ffi::c_void, len: *mut i32, status: *mut UErrorCode) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ufmt_isNumeric(fmt: *const *const ::core::ffi::c_void) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ufmt_open(status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ufmtval_getString(ufmtval: *const UFormattedValue, plength: *mut i32, ec: *mut UErrorCode) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ufmtval_nextPosition(ufmtval: *const UFormattedValue, ucfpos: *mut UConstrainedFieldPosition, ec: *mut UErrorCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ugender_getInstance(locale: ::windows_sys::core::PCSTR, status: *mut UErrorCode) -> *mut UGenderInfo; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ugender_getListGender(genderinfo: *const UGenderInfo, genders: *const UGender, size: i32, status: *mut UErrorCode) -> UGender; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uidna_close(idna: *mut UIDNA); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uidna_labelToASCII(idna: *const UIDNA, label: *const u16, length: i32, dest: *mut u16, capacity: i32, pinfo: *mut UIDNAInfo, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uidna_labelToASCII_UTF8(idna: *const UIDNA, label: ::windows_sys::core::PCSTR, length: i32, dest: ::windows_sys::core::PCSTR, capacity: i32, pinfo: *mut UIDNAInfo, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uidna_labelToUnicode(idna: *const UIDNA, label: *const u16, length: i32, dest: *mut u16, capacity: i32, pinfo: *mut UIDNAInfo, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uidna_labelToUnicodeUTF8(idna: *const UIDNA, label: ::windows_sys::core::PCSTR, length: i32, dest: ::windows_sys::core::PCSTR, capacity: i32, pinfo: *mut UIDNAInfo, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uidna_nameToASCII(idna: *const UIDNA, name: *const u16, length: i32, dest: *mut u16, capacity: i32, pinfo: *mut UIDNAInfo, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uidna_nameToASCII_UTF8(idna: *const UIDNA, name: ::windows_sys::core::PCSTR, length: i32, dest: ::windows_sys::core::PCSTR, capacity: i32, pinfo: *mut UIDNAInfo, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uidna_nameToUnicode(idna: *const UIDNA, name: *const u16, length: i32, dest: *mut u16, capacity: i32, pinfo: *mut UIDNAInfo, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uidna_nameToUnicodeUTF8(idna: *const UIDNA, name: ::windows_sys::core::PCSTR, length: i32, dest: ::windows_sys::core::PCSTR, capacity: i32, pinfo: *mut UIDNAInfo, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uidna_openUTS46(options: u32, perrorcode: *mut UErrorCode) -> *mut UIDNA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uiter_current32(iter: *mut UCharIterator) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uiter_getState(iter: *const UCharIterator) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uiter_next32(iter: *mut UCharIterator) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uiter_previous32(iter: *mut UCharIterator) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uiter_setState(iter: *mut UCharIterator, state: u32, perrorcode: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uiter_setString(iter: *mut UCharIterator, s: *const u16, length: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uiter_setUTF16BE(iter: *mut UCharIterator, s: ::windows_sys::core::PCSTR, length: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uiter_setUTF8(iter: *mut UCharIterator, s: ::windows_sys::core::PCSTR, length: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uldn_close(ldn: *mut ULocaleDisplayNames); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uldn_getContext(ldn: *const ULocaleDisplayNames, r#type: UDisplayContextType, perrorcode: *mut UErrorCode) -> UDisplayContext; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uldn_getDialectHandling(ldn: *const ULocaleDisplayNames) -> UDialectHandling; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uldn_getLocale(ldn: *const ULocaleDisplayNames) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uldn_keyDisplayName(ldn: *const ULocaleDisplayNames, key: ::windows_sys::core::PCSTR, result: *mut u16, maxresultsize: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uldn_keyValueDisplayName(ldn: *const ULocaleDisplayNames, key: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR, result: *mut u16, maxresultsize: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uldn_languageDisplayName(ldn: *const ULocaleDisplayNames, lang: ::windows_sys::core::PCSTR, result: *mut u16, maxresultsize: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uldn_localeDisplayName(ldn: *const ULocaleDisplayNames, locale: ::windows_sys::core::PCSTR, result: *mut u16, maxresultsize: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uldn_open(locale: ::windows_sys::core::PCSTR, dialecthandling: UDialectHandling, perrorcode: *mut UErrorCode) -> *mut ULocaleDisplayNames; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uldn_openForContext(locale: ::windows_sys::core::PCSTR, contexts: *mut UDisplayContext, length: i32, perrorcode: *mut UErrorCode) -> *mut ULocaleDisplayNames; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uldn_regionDisplayName(ldn: *const ULocaleDisplayNames, region: ::windows_sys::core::PCSTR, result: *mut u16, maxresultsize: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uldn_scriptCodeDisplayName(ldn: *const ULocaleDisplayNames, scriptcode: UScriptCode, result: *mut u16, maxresultsize: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uldn_scriptDisplayName(ldn: *const ULocaleDisplayNames, script: ::windows_sys::core::PCSTR, result: *mut u16, maxresultsize: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uldn_variantDisplayName(ldn: *const ULocaleDisplayNames, variant: ::windows_sys::core::PCSTR, result: *mut u16, maxresultsize: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ulistfmt_close(listfmt: *mut UListFormatter); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ulistfmt_closeResult(uresult: *mut UFormattedList); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ulistfmt_format(listfmt: *const UListFormatter, strings: *const *const u16, stringlengths: *const i32, stringcount: i32, result: *mut u16, resultcapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ulistfmt_formatStringsToResult(listfmt: *const UListFormatter, strings: *const *const u16, stringlengths: *const i32, stringcount: i32, uresult: *mut UFormattedList, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ulistfmt_open(locale: ::windows_sys::core::PCSTR, status: *mut UErrorCode) -> *mut UListFormatter; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ulistfmt_openForType(locale: ::windows_sys::core::PCSTR, r#type: UListFormatterType, width: UListFormatterWidth, status: *mut UErrorCode) -> *mut UListFormatter; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ulistfmt_openResult(ec: *mut UErrorCode) -> *mut UFormattedList; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ulistfmt_resultAsValue(uresult: *const UFormattedList, ec: *mut UErrorCode) -> *mut UFormattedValue; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_acceptLanguage(result: ::windows_sys::core::PCSTR, resultavailable: i32, outresult: *mut UAcceptResult, acceptlist: *const *const i8, acceptlistcount: i32, availablelocales: *mut UEnumeration, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_acceptLanguageFromHTTP(result: ::windows_sys::core::PCSTR, resultavailable: i32, outresult: *mut UAcceptResult, httpacceptlanguage: ::windows_sys::core::PCSTR, availablelocales: *mut UEnumeration, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_addLikelySubtags(localeid: ::windows_sys::core::PCSTR, maximizedlocaleid: ::windows_sys::core::PCSTR, maximizedlocaleidcapacity: i32, err: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_canonicalize(localeid: ::windows_sys::core::PCSTR, name: ::windows_sys::core::PCSTR, namecapacity: i32, err: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_countAvailable() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_forLanguageTag(langtag: ::windows_sys::core::PCSTR, localeid: ::windows_sys::core::PCSTR, localeidcapacity: i32, parsedlength: *mut i32, err: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getAvailable(n: i32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getBaseName(localeid: ::windows_sys::core::PCSTR, name: ::windows_sys::core::PCSTR, namecapacity: i32, err: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getCharacterOrientation(localeid: ::windows_sys::core::PCSTR, status: *mut UErrorCode) -> ULayoutType; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getCountry(localeid: ::windows_sys::core::PCSTR, country: ::windows_sys::core::PCSTR, countrycapacity: i32, err: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getDefault() -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getDisplayCountry(locale: ::windows_sys::core::PCSTR, displaylocale: ::windows_sys::core::PCSTR, country: *mut u16, countrycapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getDisplayKeyword(keyword: ::windows_sys::core::PCSTR, displaylocale: ::windows_sys::core::PCSTR, dest: *mut u16, destcapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getDisplayKeywordValue(locale: ::windows_sys::core::PCSTR, keyword: ::windows_sys::core::PCSTR, displaylocale: ::windows_sys::core::PCSTR, dest: *mut u16, destcapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getDisplayLanguage(locale: ::windows_sys::core::PCSTR, displaylocale: ::windows_sys::core::PCSTR, language: *mut u16, languagecapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getDisplayName(localeid: ::windows_sys::core::PCSTR, inlocaleid: ::windows_sys::core::PCSTR, result: *mut u16, maxresultsize: i32, err: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getDisplayScript(locale: ::windows_sys::core::PCSTR, displaylocale: ::windows_sys::core::PCSTR, script: *mut u16, scriptcapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getDisplayVariant(locale: ::windows_sys::core::PCSTR, displaylocale: ::windows_sys::core::PCSTR, variant: *mut u16, variantcapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getISO3Country(localeid: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getISO3Language(localeid: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getISOCountries() -> *mut *mut i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getISOLanguages() -> *mut *mut i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getKeywordValue(localeid: ::windows_sys::core::PCSTR, keywordname: ::windows_sys::core::PCSTR, buffer: ::windows_sys::core::PCSTR, buffercapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getLCID(localeid: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getLanguage(localeid: ::windows_sys::core::PCSTR, language: ::windows_sys::core::PCSTR, languagecapacity: i32, err: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getLineOrientation(localeid: ::windows_sys::core::PCSTR, status: *mut UErrorCode) -> ULayoutType; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getLocaleForLCID(hostid: u32, locale: ::windows_sys::core::PCSTR, localecapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getName(localeid: ::windows_sys::core::PCSTR, name: ::windows_sys::core::PCSTR, namecapacity: i32, err: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getParent(localeid: ::windows_sys::core::PCSTR, parent: ::windows_sys::core::PCSTR, parentcapacity: i32, err: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getScript(localeid: ::windows_sys::core::PCSTR, script: ::windows_sys::core::PCSTR, scriptcapacity: i32, err: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_getVariant(localeid: ::windows_sys::core::PCSTR, variant: ::windows_sys::core::PCSTR, variantcapacity: i32, err: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_isRightToLeft(locale: ::windows_sys::core::PCSTR) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_minimizeSubtags(localeid: ::windows_sys::core::PCSTR, minimizedlocaleid: ::windows_sys::core::PCSTR, minimizedlocaleidcapacity: i32, err: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_openAvailableByType(r#type: ULocAvailableType, status: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_openKeywords(localeid: ::windows_sys::core::PCSTR, status: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_setDefault(localeid: ::windows_sys::core::PCSTR, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_setKeywordValue(keywordname: ::windows_sys::core::PCSTR, keywordvalue: ::windows_sys::core::PCSTR, buffer: ::windows_sys::core::PCSTR, buffercapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_toLanguageTag(localeid: ::windows_sys::core::PCSTR, langtag: ::windows_sys::core::PCSTR, langtagcapacity: i32, strict: i8, err: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_toLegacyKey(keyword: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_toLegacyType(keyword: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_toUnicodeLocaleKey(keyword: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uloc_toUnicodeLocaleType(keyword: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ulocdata_close(uld: *mut ULocaleData); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ulocdata_getCLDRVersion(versionarray: *mut u8, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ulocdata_getDelimiter(uld: *mut ULocaleData, r#type: ULocaleDataDelimiterType, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ulocdata_getExemplarSet(uld: *mut ULocaleData, fillin: *mut USet, options: u32, extype: ULocaleDataExemplarSetType, status: *mut UErrorCode) -> *mut USet; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ulocdata_getLocaleDisplayPattern(uld: *mut ULocaleData, pattern: *mut u16, patterncapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ulocdata_getLocaleSeparator(uld: *mut ULocaleData, separator: *mut u16, separatorcapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ulocdata_getMeasurementSystem(localeid: ::windows_sys::core::PCSTR, status: *mut UErrorCode) -> UMeasurementSystem; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ulocdata_getNoSubstitute(uld: *mut ULocaleData) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ulocdata_getPaperSize(localeid: ::windows_sys::core::PCSTR, height: *mut i32, width: *mut i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ulocdata_open(localeid: ::windows_sys::core::PCSTR, status: *mut UErrorCode) -> *mut ULocaleData; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ulocdata_setNoSubstitute(uld: *mut ULocaleData, setting: i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn umsg_applyPattern(fmt: *mut *mut ::core::ffi::c_void, pattern: *const u16, patternlength: i32, parseerror: *mut UParseError, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn umsg_autoQuoteApostrophe(pattern: *const u16, patternlength: i32, dest: *mut u16, destcapacity: i32, ec: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn umsg_clone(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn umsg_close(format: *mut *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn umsg_format(fmt: *const *const ::core::ffi::c_void, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn umsg_getLocale(fmt: *const *const ::core::ffi::c_void) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn umsg_open(pattern: *const u16, patternlength: i32, locale: ::windows_sys::core::PCSTR, parseerror: *mut UParseError, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn umsg_parse(fmt: *const *const ::core::ffi::c_void, source: *const u16, sourcelength: i32, count: *mut i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn umsg_setLocale(fmt: *mut *mut ::core::ffi::c_void, locale: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn umsg_toPattern(fmt: *const *const ::core::ffi::c_void, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn umsg_vformat(fmt: *const *const ::core::ffi::c_void, result: *mut u16, resultlength: i32, ap: *mut i8, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn umsg_vparse(fmt: *const *const ::core::ffi::c_void, source: *const u16, sourcelength: i32, count: *mut i32, ap: *mut i8, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn umutablecptrie_buildImmutable(trie: *mut UMutableCPTrie, r#type: UCPTrieType, valuewidth: UCPTrieValueWidth, perrorcode: *mut UErrorCode) -> *mut UCPTrie; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn umutablecptrie_clone(other: *const UMutableCPTrie, perrorcode: *mut UErrorCode) -> *mut UMutableCPTrie; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn umutablecptrie_close(trie: *mut UMutableCPTrie); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn umutablecptrie_fromUCPMap(map: *const UCPMap, perrorcode: *mut UErrorCode) -> *mut UMutableCPTrie; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn umutablecptrie_fromUCPTrie(trie: *const UCPTrie, perrorcode: *mut UErrorCode) -> *mut UMutableCPTrie; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn umutablecptrie_get(trie: *const UMutableCPTrie, c: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn umutablecptrie_getRange(trie: *const UMutableCPTrie, start: i32, option: UCPMapRangeOption, surrogatevalue: u32, filter: *mut UCPMapValueFilter, context: *const ::core::ffi::c_void, pvalue: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn umutablecptrie_open(initialvalue: u32, errorvalue: u32, perrorcode: *mut UErrorCode) -> *mut UMutableCPTrie; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn umutablecptrie_set(trie: *mut UMutableCPTrie, c: i32, value: u32, perrorcode: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn umutablecptrie_setRange(trie: *mut UMutableCPTrie, start: i32, end: i32, value: u32, perrorcode: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unorm2_append(norm2: *const UNormalizer2, first: *mut u16, firstlength: i32, firstcapacity: i32, second: *const u16, secondlength: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unorm2_close(norm2: *mut UNormalizer2); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unorm2_composePair(norm2: *const UNormalizer2, a: i32, b: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unorm2_getCombiningClass(norm2: *const UNormalizer2, c: i32) -> u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unorm2_getDecomposition(norm2: *const UNormalizer2, c: i32, decomposition: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unorm2_getInstance(packagename: ::windows_sys::core::PCSTR, name: ::windows_sys::core::PCSTR, mode: UNormalization2Mode, perrorcode: *mut UErrorCode) -> *mut UNormalizer2; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unorm2_getNFCInstance(perrorcode: *mut UErrorCode) -> *mut UNormalizer2; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unorm2_getNFDInstance(perrorcode: *mut UErrorCode) -> *mut UNormalizer2; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unorm2_getNFKCCasefoldInstance(perrorcode: *mut UErrorCode) -> *mut UNormalizer2; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unorm2_getNFKCInstance(perrorcode: *mut UErrorCode) -> *mut UNormalizer2; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unorm2_getNFKDInstance(perrorcode: *mut UErrorCode) -> *mut UNormalizer2; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unorm2_getRawDecomposition(norm2: *const UNormalizer2, c: i32, decomposition: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unorm2_hasBoundaryAfter(norm2: *const UNormalizer2, c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unorm2_hasBoundaryBefore(norm2: *const UNormalizer2, c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unorm2_isInert(norm2: *const UNormalizer2, c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unorm2_isNormalized(norm2: *const UNormalizer2, s: *const u16, length: i32, perrorcode: *mut UErrorCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unorm2_normalize(norm2: *const UNormalizer2, src: *const u16, length: i32, dest: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unorm2_normalizeSecondAndAppend(norm2: *const UNormalizer2, first: *mut u16, firstlength: i32, firstcapacity: i32, second: *const u16, secondlength: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unorm2_openFiltered(norm2: *const UNormalizer2, filterset: *const USet, perrorcode: *mut UErrorCode) -> *mut UNormalizer2; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unorm2_quickCheck(norm2: *const UNormalizer2, s: *const u16, length: i32, perrorcode: *mut UErrorCode) -> UNormalizationCheckResult; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unorm2_spanQuickCheckYes(norm2: *const UNormalizer2, s: *const u16, length: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unorm_compare(s1: *const u16, length1: i32, s2: *const u16, length2: i32, options: u32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_applyPattern(format: *mut *mut ::core::ffi::c_void, localized: i8, pattern: *const u16, patternlength: i32, parseerror: *mut UParseError, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_clone(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_close(fmt: *mut *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_countAvailable() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_format(fmt: *const *const ::core::ffi::c_void, number: i32, result: *mut u16, resultlength: i32, pos: *mut UFieldPosition, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_formatDecimal(fmt: *const *const ::core::ffi::c_void, number: ::windows_sys::core::PCSTR, length: i32, result: *mut u16, resultlength: i32, pos: *mut UFieldPosition, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_formatDouble(fmt: *const *const ::core::ffi::c_void, number: f64, result: *mut u16, resultlength: i32, pos: *mut UFieldPosition, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_formatDoubleCurrency(fmt: *const *const ::core::ffi::c_void, number: f64, currency: *mut u16, result: *mut u16, resultlength: i32, pos: *mut UFieldPosition, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_formatDoubleForFields(format: *const *const ::core::ffi::c_void, number: f64, result: *mut u16, resultlength: i32, fpositer: *mut UFieldPositionIterator, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_formatInt64(fmt: *const *const ::core::ffi::c_void, number: i64, result: *mut u16, resultlength: i32, pos: *mut UFieldPosition, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_formatUFormattable(fmt: *const *const ::core::ffi::c_void, number: *const *const ::core::ffi::c_void, result: *mut u16, resultlength: i32, pos: *mut UFieldPosition, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_getAttribute(fmt: *const *const ::core::ffi::c_void, attr: UNumberFormatAttribute) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_getAvailable(localeindex: i32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_getContext(fmt: *const *const ::core::ffi::c_void, r#type: UDisplayContextType, status: *mut UErrorCode) -> UDisplayContext; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_getDoubleAttribute(fmt: *const *const ::core::ffi::c_void, attr: UNumberFormatAttribute) -> f64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_getLocaleByType(fmt: *const *const ::core::ffi::c_void, r#type: ULocDataLocaleType, status: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_getSymbol(fmt: *const *const ::core::ffi::c_void, symbol: UNumberFormatSymbol, buffer: *mut u16, size: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_getTextAttribute(fmt: *const *const ::core::ffi::c_void, tag: UNumberFormatTextAttribute, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_open(style: UNumberFormatStyle, pattern: *const u16, patternlength: i32, locale: ::windows_sys::core::PCSTR, parseerr: *mut UParseError, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_parse(fmt: *const *const ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_parseDecimal(fmt: *const *const ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, outbuf: ::windows_sys::core::PCSTR, outbuflength: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_parseDouble(fmt: *const *const ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, status: *mut UErrorCode) -> f64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_parseDoubleCurrency(fmt: *const *const ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, currency: *mut u16, status: *mut UErrorCode) -> f64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_parseInt64(fmt: *const *const ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, status: *mut UErrorCode) -> i64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_parseToUFormattable(fmt: *const *const ::core::ffi::c_void, result: *mut *mut ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_setAttribute(fmt: *mut *mut ::core::ffi::c_void, attr: UNumberFormatAttribute, newvalue: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_setContext(fmt: *mut *mut ::core::ffi::c_void, value: UDisplayContext, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_setDoubleAttribute(fmt: *mut *mut ::core::ffi::c_void, attr: UNumberFormatAttribute, newvalue: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_setSymbol(fmt: *mut *mut ::core::ffi::c_void, symbol: UNumberFormatSymbol, value: *const u16, length: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_setTextAttribute(fmt: *mut *mut ::core::ffi::c_void, tag: UNumberFormatTextAttribute, newvalue: *const u16, newvaluelength: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unum_toPattern(fmt: *const *const ::core::ffi::c_void, ispatternlocalized: i8, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unumf_close(uformatter: *mut UNumberFormatter); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unumf_closeResult(uresult: *mut UFormattedNumber); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unumf_formatDecimal(uformatter: *const UNumberFormatter, value: ::windows_sys::core::PCSTR, valuelen: i32, uresult: *mut UFormattedNumber, ec: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unumf_formatDouble(uformatter: *const UNumberFormatter, value: f64, uresult: *mut UFormattedNumber, ec: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unumf_formatInt(uformatter: *const UNumberFormatter, value: i64, uresult: *mut UFormattedNumber, ec: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unumf_openForSkeletonAndLocale(skeleton: *const u16, skeletonlen: i32, locale: ::windows_sys::core::PCSTR, ec: *mut UErrorCode) -> *mut UNumberFormatter; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unumf_openForSkeletonAndLocaleWithError(skeleton: *const u16, skeletonlen: i32, locale: ::windows_sys::core::PCSTR, perror: *mut UParseError, ec: *mut UErrorCode) -> *mut UNumberFormatter; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unumf_openResult(ec: *mut UErrorCode) -> *mut UFormattedNumber; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unumf_resultAsValue(uresult: *const UFormattedNumber, ec: *mut UErrorCode) -> *mut UFormattedValue; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unumf_resultGetAllFieldPositions(uresult: *const UFormattedNumber, ufpositer: *mut UFieldPositionIterator, ec: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unumf_resultNextFieldPosition(uresult: *const UFormattedNumber, ufpos: *mut UFieldPosition, ec: *mut UErrorCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unumf_resultToString(uresult: *const UFormattedNumber, buffer: *mut u16, buffercapacity: i32, ec: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unumsys_close(unumsys: *mut UNumberingSystem); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unumsys_getDescription(unumsys: *const UNumberingSystem, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unumsys_getName(unumsys: *const UNumberingSystem) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unumsys_getRadix(unumsys: *const UNumberingSystem) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unumsys_isAlgorithmic(unumsys: *const UNumberingSystem) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unumsys_open(locale: ::windows_sys::core::PCSTR, status: *mut UErrorCode) -> *mut UNumberingSystem; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unumsys_openAvailableNames(status: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn unumsys_openByName(name: ::windows_sys::core::PCSTR, status: *mut UErrorCode) -> *mut UNumberingSystem; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uplrules_close(uplrules: *mut UPluralRules); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uplrules_getKeywords(uplrules: *const UPluralRules, status: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uplrules_open(locale: ::windows_sys::core::PCSTR, status: *mut UErrorCode) -> *mut UPluralRules; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uplrules_openForType(locale: ::windows_sys::core::PCSTR, r#type: UPluralType, status: *mut UErrorCode) -> *mut UPluralRules; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uplrules_select(uplrules: *const UPluralRules, number: f64, keyword: *mut u16, capacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uplrules_selectFormatted(uplrules: *const UPluralRules, number: *const UFormattedNumber, keyword: *mut u16, capacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_appendReplacement(regexp: *mut URegularExpression, replacementtext: *const u16, replacementlength: i32, destbuf: *mut *mut u16, destcapacity: *mut i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_appendReplacementUText(regexp: *mut URegularExpression, replacementtext: *mut UText, dest: *mut UText, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_appendTail(regexp: *mut URegularExpression, destbuf: *mut *mut u16, destcapacity: *mut i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_appendTailUText(regexp: *mut URegularExpression, dest: *mut UText, status: *mut UErrorCode) -> *mut UText; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_clone(regexp: *const URegularExpression, status: *mut UErrorCode) -> *mut URegularExpression; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_close(regexp: *mut URegularExpression); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_end(regexp: *mut URegularExpression, groupnum: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_end64(regexp: *mut URegularExpression, groupnum: i32, status: *mut UErrorCode) -> i64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_find(regexp: *mut URegularExpression, startindex: i32, status: *mut UErrorCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_find64(regexp: *mut URegularExpression, startindex: i64, status: *mut UErrorCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_findNext(regexp: *mut URegularExpression, status: *mut UErrorCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_flags(regexp: *const URegularExpression, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_getFindProgressCallback(regexp: *const URegularExpression, callback: *mut URegexFindProgressCallback, context: *const *const ::core::ffi::c_void, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_getMatchCallback(regexp: *const URegularExpression, callback: *mut URegexMatchCallback, context: *const *const ::core::ffi::c_void, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_getStackLimit(regexp: *const URegularExpression, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_getText(regexp: *mut URegularExpression, textlength: *mut i32, status: *mut UErrorCode) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_getTimeLimit(regexp: *const URegularExpression, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_getUText(regexp: *mut URegularExpression, dest: *mut UText, status: *mut UErrorCode) -> *mut UText; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_group(regexp: *mut URegularExpression, groupnum: i32, dest: *mut u16, destcapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_groupCount(regexp: *mut URegularExpression, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_groupNumberFromCName(regexp: *mut URegularExpression, groupname: ::windows_sys::core::PCSTR, namelength: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_groupNumberFromName(regexp: *mut URegularExpression, groupname: *const u16, namelength: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_groupUText(regexp: *mut URegularExpression, groupnum: i32, dest: *mut UText, grouplength: *mut i64, status: *mut UErrorCode) -> *mut UText; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_hasAnchoringBounds(regexp: *const URegularExpression, status: *mut UErrorCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_hasTransparentBounds(regexp: *const URegularExpression, status: *mut UErrorCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_hitEnd(regexp: *const URegularExpression, status: *mut UErrorCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_lookingAt(regexp: *mut URegularExpression, startindex: i32, status: *mut UErrorCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_lookingAt64(regexp: *mut URegularExpression, startindex: i64, status: *mut UErrorCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_matches(regexp: *mut URegularExpression, startindex: i32, status: *mut UErrorCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_matches64(regexp: *mut URegularExpression, startindex: i64, status: *mut UErrorCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_open(pattern: *const u16, patternlength: i32, flags: u32, pe: *mut UParseError, status: *mut UErrorCode) -> *mut URegularExpression; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_openC(pattern: ::windows_sys::core::PCSTR, flags: u32, pe: *mut UParseError, status: *mut UErrorCode) -> *mut URegularExpression; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_openUText(pattern: *mut UText, flags: u32, pe: *mut UParseError, status: *mut UErrorCode) -> *mut URegularExpression; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_pattern(regexp: *const URegularExpression, patlength: *mut i32, status: *mut UErrorCode) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_patternUText(regexp: *const URegularExpression, status: *mut UErrorCode) -> *mut UText; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_refreshUText(regexp: *mut URegularExpression, text: *mut UText, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_regionEnd(regexp: *const URegularExpression, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_regionEnd64(regexp: *const URegularExpression, status: *mut UErrorCode) -> i64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_regionStart(regexp: *const URegularExpression, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_regionStart64(regexp: *const URegularExpression, status: *mut UErrorCode) -> i64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_replaceAll(regexp: *mut URegularExpression, replacementtext: *const u16, replacementlength: i32, destbuf: *mut u16, destcapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_replaceAllUText(regexp: *mut URegularExpression, replacement: *mut UText, dest: *mut UText, status: *mut UErrorCode) -> *mut UText; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_replaceFirst(regexp: *mut URegularExpression, replacementtext: *const u16, replacementlength: i32, destbuf: *mut u16, destcapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_replaceFirstUText(regexp: *mut URegularExpression, replacement: *mut UText, dest: *mut UText, status: *mut UErrorCode) -> *mut UText; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_requireEnd(regexp: *const URegularExpression, status: *mut UErrorCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_reset(regexp: *mut URegularExpression, index: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_reset64(regexp: *mut URegularExpression, index: i64, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_setFindProgressCallback(regexp: *mut URegularExpression, callback: URegexFindProgressCallback, context: *const ::core::ffi::c_void, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_setMatchCallback(regexp: *mut URegularExpression, callback: URegexMatchCallback, context: *const ::core::ffi::c_void, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_setRegion(regexp: *mut URegularExpression, regionstart: i32, regionlimit: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_setRegion64(regexp: *mut URegularExpression, regionstart: i64, regionlimit: i64, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_setRegionAndStart(regexp: *mut URegularExpression, regionstart: i64, regionlimit: i64, startindex: i64, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_setStackLimit(regexp: *mut URegularExpression, limit: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_setText(regexp: *mut URegularExpression, text: *const u16, textlength: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_setTimeLimit(regexp: *mut URegularExpression, limit: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_setUText(regexp: *mut URegularExpression, text: *mut UText, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_split(regexp: *mut URegularExpression, destbuf: *mut u16, destcapacity: i32, requiredcapacity: *mut i32, destfields: *mut *mut u16, destfieldscapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_splitUText(regexp: *mut URegularExpression, destfields: *mut *mut UText, destfieldscapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_start(regexp: *mut URegularExpression, groupnum: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_start64(regexp: *mut URegularExpression, groupnum: i32, status: *mut UErrorCode) -> i64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_useAnchoringBounds(regexp: *mut URegularExpression, b: i8, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregex_useTransparentBounds(regexp: *mut URegularExpression, b: i8, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregion_areEqual(uregion: *const URegion, otherregion: *const URegion) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregion_contains(uregion: *const URegion, otherregion: *const URegion) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregion_getAvailable(r#type: URegionType, status: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregion_getContainedRegions(uregion: *const URegion, status: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregion_getContainedRegionsOfType(uregion: *const URegion, r#type: URegionType, status: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregion_getContainingRegion(uregion: *const URegion) -> *mut URegion; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregion_getContainingRegionOfType(uregion: *const URegion, r#type: URegionType) -> *mut URegion; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregion_getNumericCode(uregion: *const URegion) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregion_getPreferredValues(uregion: *const URegion, status: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregion_getRegionCode(uregion: *const URegion) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregion_getRegionFromCode(regioncode: ::windows_sys::core::PCSTR, status: *mut UErrorCode) -> *mut URegion; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregion_getRegionFromNumericCode(code: i32, status: *mut UErrorCode) -> *mut URegion; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uregion_getType(uregion: *const URegion) -> URegionType; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ureldatefmt_close(reldatefmt: *mut URelativeDateTimeFormatter); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ureldatefmt_closeResult(ufrdt: *mut UFormattedRelativeDateTime); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ureldatefmt_combineDateAndTime(reldatefmt: *const URelativeDateTimeFormatter, relativedatestring: *const u16, relativedatestringlen: i32, timestring: *const u16, timestringlen: i32, result: *mut u16, resultcapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ureldatefmt_format(reldatefmt: *const URelativeDateTimeFormatter, offset: f64, unit: URelativeDateTimeUnit, result: *mut u16, resultcapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ureldatefmt_formatNumeric(reldatefmt: *const URelativeDateTimeFormatter, offset: f64, unit: URelativeDateTimeUnit, result: *mut u16, resultcapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ureldatefmt_formatNumericToResult(reldatefmt: *const URelativeDateTimeFormatter, offset: f64, unit: URelativeDateTimeUnit, result: *mut UFormattedRelativeDateTime, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ureldatefmt_formatToResult(reldatefmt: *const URelativeDateTimeFormatter, offset: f64, unit: URelativeDateTimeUnit, result: *mut UFormattedRelativeDateTime, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ureldatefmt_open(locale: ::windows_sys::core::PCSTR, nftoadopt: *mut *mut ::core::ffi::c_void, width: UDateRelativeDateTimeFormatterStyle, capitalizationcontext: UDisplayContext, status: *mut UErrorCode) -> *mut URelativeDateTimeFormatter; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ureldatefmt_openResult(ec: *mut UErrorCode) -> *mut UFormattedRelativeDateTime; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ureldatefmt_resultAsValue(ufrdt: *const UFormattedRelativeDateTime, ec: *mut UErrorCode) -> *mut UFormattedValue; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_close(resourcebundle: *mut UResourceBundle); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_getBinary(resourcebundle: *const UResourceBundle, len: *mut i32, status: *mut UErrorCode) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_getByIndex(resourcebundle: *const UResourceBundle, indexr: i32, fillin: *mut UResourceBundle, status: *mut UErrorCode) -> *mut UResourceBundle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_getByKey(resourcebundle: *const UResourceBundle, key: ::windows_sys::core::PCSTR, fillin: *mut UResourceBundle, status: *mut UErrorCode) -> *mut UResourceBundle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_getInt(resourcebundle: *const UResourceBundle, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_getIntVector(resourcebundle: *const UResourceBundle, len: *mut i32, status: *mut UErrorCode) -> *mut i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_getKey(resourcebundle: *const UResourceBundle) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_getLocaleByType(resourcebundle: *const UResourceBundle, r#type: ULocDataLocaleType, status: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_getNextResource(resourcebundle: *mut UResourceBundle, fillin: *mut UResourceBundle, status: *mut UErrorCode) -> *mut UResourceBundle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_getNextString(resourcebundle: *mut UResourceBundle, len: *mut i32, key: *const *const i8, status: *mut UErrorCode) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_getSize(resourcebundle: *const UResourceBundle) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_getString(resourcebundle: *const UResourceBundle, len: *mut i32, status: *mut UErrorCode) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_getStringByIndex(resourcebundle: *const UResourceBundle, indexs: i32, len: *mut i32, status: *mut UErrorCode) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_getStringByKey(resb: *const UResourceBundle, key: ::windows_sys::core::PCSTR, len: *mut i32, status: *mut UErrorCode) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_getType(resourcebundle: *const UResourceBundle) -> UResType; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_getUInt(resourcebundle: *const UResourceBundle, status: *mut UErrorCode) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_getUTF8String(resb: *const UResourceBundle, dest: ::windows_sys::core::PCSTR, length: *mut i32, forcecopy: i8, status: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_getUTF8StringByIndex(resb: *const UResourceBundle, stringindex: i32, dest: ::windows_sys::core::PCSTR, plength: *mut i32, forcecopy: i8, status: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_getUTF8StringByKey(resb: *const UResourceBundle, key: ::windows_sys::core::PCSTR, dest: ::windows_sys::core::PCSTR, plength: *mut i32, forcecopy: i8, status: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_getVersion(resb: *const UResourceBundle, versioninfo: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_hasNext(resourcebundle: *const UResourceBundle) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_open(packagename: ::windows_sys::core::PCSTR, locale: ::windows_sys::core::PCSTR, status: *mut UErrorCode) -> *mut UResourceBundle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_openAvailableLocales(packagename: ::windows_sys::core::PCSTR, status: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_openDirect(packagename: ::windows_sys::core::PCSTR, locale: ::windows_sys::core::PCSTR, status: *mut UErrorCode) -> *mut UResourceBundle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_openU(packagename: *const u16, locale: ::windows_sys::core::PCSTR, status: *mut UErrorCode) -> *mut UResourceBundle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn ures_resetIterator(resourcebundle: *mut UResourceBundle); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uscript_breaksBetweenLetters(script: UScriptCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uscript_getCode(nameorabbrorlocale: ::windows_sys::core::PCSTR, fillin: *mut UScriptCode, capacity: i32, err: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uscript_getName(scriptcode: UScriptCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uscript_getSampleString(script: UScriptCode, dest: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uscript_getScript(codepoint: i32, err: *mut UErrorCode) -> UScriptCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uscript_getScriptExtensions(c: i32, scripts: *mut UScriptCode, capacity: i32, errorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uscript_getShortName(scriptcode: UScriptCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uscript_getUsage(script: UScriptCode) -> UScriptUsage; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uscript_hasScript(c: i32, sc: UScriptCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uscript_isCased(script: UScriptCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uscript_isRightToLeft(script: UScriptCode) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_close(searchiter: *mut UStringSearch); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_first(strsrch: *mut UStringSearch, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_following(strsrch: *mut UStringSearch, position: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_getAttribute(strsrch: *const UStringSearch, attribute: USearchAttribute) -> USearchAttributeValue; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_getBreakIterator(strsrch: *const UStringSearch) -> *mut UBreakIterator; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_getCollator(strsrch: *const UStringSearch) -> *mut UCollator; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_getMatchedLength(strsrch: *const UStringSearch) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_getMatchedStart(strsrch: *const UStringSearch) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_getMatchedText(strsrch: *const UStringSearch, result: *mut u16, resultcapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_getOffset(strsrch: *const UStringSearch) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_getPattern(strsrch: *const UStringSearch, length: *mut i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_getText(strsrch: *const UStringSearch, length: *mut i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_last(strsrch: *mut UStringSearch, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_next(strsrch: *mut UStringSearch, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_open(pattern: *const u16, patternlength: i32, text: *const u16, textlength: i32, locale: ::windows_sys::core::PCSTR, breakiter: *mut UBreakIterator, status: *mut UErrorCode) -> *mut UStringSearch; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_openFromCollator(pattern: *const u16, patternlength: i32, text: *const u16, textlength: i32, collator: *const UCollator, breakiter: *mut UBreakIterator, status: *mut UErrorCode) -> *mut UStringSearch; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_preceding(strsrch: *mut UStringSearch, position: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_previous(strsrch: *mut UStringSearch, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_reset(strsrch: *mut UStringSearch); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_setAttribute(strsrch: *mut UStringSearch, attribute: USearchAttribute, value: USearchAttributeValue, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_setBreakIterator(strsrch: *mut UStringSearch, breakiter: *mut UBreakIterator, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_setCollator(strsrch: *mut UStringSearch, collator: *const UCollator, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_setOffset(strsrch: *mut UStringSearch, position: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_setPattern(strsrch: *mut UStringSearch, pattern: *const u16, patternlength: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usearch_setText(strsrch: *mut UStringSearch, text: *const u16, textlength: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_add(set: *mut USet, c: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_addAll(set: *mut USet, additionalset: *const USet); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_addAllCodePoints(set: *mut USet, str: *const u16, strlen: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_addRange(set: *mut USet, start: i32, end: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_addString(set: *mut USet, str: *const u16, strlen: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_applyIntPropertyValue(set: *mut USet, prop: UProperty, value: i32, ec: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_applyPattern(set: *mut USet, pattern: *const u16, patternlength: i32, options: u32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_applyPropertyAlias(set: *mut USet, prop: *const u16, proplength: i32, value: *const u16, valuelength: i32, ec: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_charAt(set: *const USet, charindex: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_clear(set: *mut USet); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_clone(set: *const USet) -> *mut USet; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_cloneAsThawed(set: *const USet) -> *mut USet; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_close(set: *mut USet); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_closeOver(set: *mut USet, attributes: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_compact(set: *mut USet); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_complement(set: *mut USet); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_complementAll(set: *mut USet, complement: *const USet); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_contains(set: *const USet, c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_containsAll(set1: *const USet, set2: *const USet) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_containsAllCodePoints(set: *const USet, str: *const u16, strlen: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_containsNone(set1: *const USet, set2: *const USet) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_containsRange(set: *const USet, start: i32, end: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_containsSome(set1: *const USet, set2: *const USet) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_containsString(set: *const USet, str: *const u16, strlen: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_equals(set1: *const USet, set2: *const USet) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_freeze(set: *mut USet); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_getItem(set: *const USet, itemindex: i32, start: *mut i32, end: *mut i32, str: *mut u16, strcapacity: i32, ec: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_getItemCount(set: *const USet) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_getSerializedRange(set: *const USerializedSet, rangeindex: i32, pstart: *mut i32, pend: *mut i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_getSerializedRangeCount(set: *const USerializedSet) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_getSerializedSet(fillset: *mut USerializedSet, src: *const u16, srclength: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_indexOf(set: *const USet, c: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_isEmpty(set: *const USet) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_isFrozen(set: *const USet) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_open(start: i32, end: i32) -> *mut USet; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_openEmpty() -> *mut USet; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_openPattern(pattern: *const u16, patternlength: i32, ec: *mut UErrorCode) -> *mut USet; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_openPatternOptions(pattern: *const u16, patternlength: i32, options: u32, ec: *mut UErrorCode) -> *mut USet; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_remove(set: *mut USet, c: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_removeAll(set: *mut USet, removeset: *const USet); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_removeAllStrings(set: *mut USet); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_removeRange(set: *mut USet, start: i32, end: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_removeString(set: *mut USet, str: *const u16, strlen: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_resemblesPattern(pattern: *const u16, patternlength: i32, pos: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_retain(set: *mut USet, start: i32, end: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_retainAll(set: *mut USet, retain: *const USet); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_serialize(set: *const USet, dest: *mut u16, destcapacity: i32, perrorcode: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_serializedContains(set: *const USerializedSet, c: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_set(set: *mut USet, start: i32, end: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_setSerializedToOne(fillset: *mut USerializedSet, c: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_size(set: *const USet) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_span(set: *const USet, s: *const u16, length: i32, spancondition: USetSpanCondition) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_spanBack(set: *const USet, s: *const u16, length: i32, spancondition: USetSpanCondition) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_spanBackUTF8(set: *const USet, s: ::windows_sys::core::PCSTR, length: i32, spancondition: USetSpanCondition) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_spanUTF8(set: *const USet, s: ::windows_sys::core::PCSTR, length: i32, spancondition: USetSpanCondition) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uset_toPattern(set: *const USet, result: *mut u16, resultcapacity: i32, escapeunprintable: i8, ec: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_areConfusable(sc: *const USpoofChecker, id1: *const u16, length1: i32, id2: *const u16, length2: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_areConfusableUTF8(sc: *const USpoofChecker, id1: ::windows_sys::core::PCSTR, length1: i32, id2: ::windows_sys::core::PCSTR, length2: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_check(sc: *const USpoofChecker, id: *const u16, length: i32, position: *mut i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_check2(sc: *const USpoofChecker, id: *const u16, length: i32, checkresult: *mut USpoofCheckResult, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_check2UTF8(sc: *const USpoofChecker, id: ::windows_sys::core::PCSTR, length: i32, checkresult: *mut USpoofCheckResult, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_checkUTF8(sc: *const USpoofChecker, id: ::windows_sys::core::PCSTR, length: i32, position: *mut i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_clone(sc: *const USpoofChecker, status: *mut UErrorCode) -> *mut USpoofChecker; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_close(sc: *mut USpoofChecker); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_closeCheckResult(checkresult: *mut USpoofCheckResult); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_getAllowedChars(sc: *const USpoofChecker, status: *mut UErrorCode) -> *mut USet; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_getAllowedLocales(sc: *mut USpoofChecker, status: *mut UErrorCode) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_getCheckResultChecks(checkresult: *const USpoofCheckResult, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_getCheckResultNumerics(checkresult: *const USpoofCheckResult, status: *mut UErrorCode) -> *mut USet; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_getCheckResultRestrictionLevel(checkresult: *const USpoofCheckResult, status: *mut UErrorCode) -> URestrictionLevel; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_getChecks(sc: *const USpoofChecker, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_getInclusionSet(status: *mut UErrorCode) -> *mut USet; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_getRecommendedSet(status: *mut UErrorCode) -> *mut USet; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_getRestrictionLevel(sc: *const USpoofChecker) -> URestrictionLevel; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_getSkeleton(sc: *const USpoofChecker, r#type: u32, id: *const u16, length: i32, dest: *mut u16, destcapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_getSkeletonUTF8(sc: *const USpoofChecker, r#type: u32, id: ::windows_sys::core::PCSTR, length: i32, dest: ::windows_sys::core::PCSTR, destcapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_open(status: *mut UErrorCode) -> *mut USpoofChecker; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_openCheckResult(status: *mut UErrorCode) -> *mut USpoofCheckResult; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_openFromSerialized(data: *const ::core::ffi::c_void, length: i32, pactuallength: *mut i32, perrorcode: *mut UErrorCode) -> *mut USpoofChecker; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_openFromSource(confusables: ::windows_sys::core::PCSTR, confusableslen: i32, confusableswholescript: ::windows_sys::core::PCSTR, confusableswholescriptlen: i32, errtype: *mut i32, pe: *mut UParseError, status: *mut UErrorCode) -> *mut USpoofChecker; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_serialize(sc: *mut USpoofChecker, data: *mut ::core::ffi::c_void, capacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_setAllowedChars(sc: *mut USpoofChecker, chars: *const USet, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_setAllowedLocales(sc: *mut USpoofChecker, localeslist: ::windows_sys::core::PCSTR, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_setChecks(sc: *mut USpoofChecker, checks: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn uspoof_setRestrictionLevel(sc: *mut USpoofChecker, restrictionlevel: URestrictionLevel); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usprep_close(profile: *mut UStringPrepProfile); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usprep_open(path: ::windows_sys::core::PCSTR, filename: ::windows_sys::core::PCSTR, status: *mut UErrorCode) -> *mut UStringPrepProfile; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usprep_openByType(r#type: UStringPrepProfileType, status: *mut UErrorCode) -> *mut UStringPrepProfile; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn usprep_prepare(prep: *const UStringPrepProfile, src: *const u16, srclength: i32, dest: *mut u16, destcapacity: i32, options: i32, parseerror: *mut UParseError, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_char32At(ut: *mut UText, nativeindex: i64) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_clone(dest: *mut UText, src: *const UText, deep: i8, readonly: i8, status: *mut UErrorCode) -> *mut UText; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_close(ut: *mut UText) -> *mut UText; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_copy(ut: *mut UText, nativestart: i64, nativelimit: i64, destindex: i64, r#move: i8, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_current32(ut: *mut UText) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_equals(a: *const UText, b: *const UText) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_extract(ut: *mut UText, nativestart: i64, nativelimit: i64, dest: *mut u16, destcapacity: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_freeze(ut: *mut UText); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_getNativeIndex(ut: *const UText) -> i64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_getPreviousNativeIndex(ut: *mut UText) -> i64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_hasMetaData(ut: *const UText) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_isLengthExpensive(ut: *const UText) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_isWritable(ut: *const UText) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_moveIndex32(ut: *mut UText, delta: i32) -> i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_nativeLength(ut: *mut UText) -> i64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_next32(ut: *mut UText) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_next32From(ut: *mut UText, nativeindex: i64) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_openUChars(ut: *mut UText, s: *const u16, length: i64, status: *mut UErrorCode) -> *mut UText; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_openUTF8(ut: *mut UText, s: ::windows_sys::core::PCSTR, length: i64, status: *mut UErrorCode) -> *mut UText; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_previous32(ut: *mut UText) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_previous32From(ut: *mut UText, nativeindex: i64) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_replace(ut: *mut UText, nativestart: i64, nativelimit: i64, replacementtext: *const u16, replacementlength: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_setNativeIndex(ut: *mut UText, nativeindex: i64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utext_setup(ut: *mut UText, extraspace: i32, status: *mut UErrorCode) -> *mut UText; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utf8_appendCharSafeBody(s: *mut u8, i: i32, length: i32, c: i32, piserror: *mut i8) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utf8_back1SafeBody(s: *const u8, start: i32, i: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utf8_nextCharSafeBody(s: *const u8, pi: *mut i32, length: i32, c: i32, strict: i8) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utf8_prevCharSafeBody(s: *const u8, start: i32, pi: *mut i32, c: i32, strict: i8) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utmscale_fromInt64(othertime: i64, timescale: UDateTimeScale, status: *mut UErrorCode) -> i64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utmscale_getTimeScaleValue(timescale: UDateTimeScale, value: UTimeScaleValue, status: *mut UErrorCode) -> i64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utmscale_toInt64(universaltime: i64, timescale: UDateTimeScale, status: *mut UErrorCode) -> i64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrace_format(outbuf: ::windows_sys::core::PCSTR, capacity: i32, indent: i32, fmt: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrace_functionName(fnnumber: i32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrace_getFunctions(context: *const *const ::core::ffi::c_void, e: *mut UTraceEntry, x: *mut UTraceExit, d: *mut UTraceData); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrace_getLevel() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrace_setFunctions(context: *const ::core::ffi::c_void, e: UTraceEntry, x: UTraceExit, d: UTraceData); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrace_setLevel(tracelevel: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrace_vformat(outbuf: ::windows_sys::core::PCSTR, capacity: i32, indent: i32, fmt: ::windows_sys::core::PCSTR, args: *mut i8) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrans_clone(trans: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrans_close(trans: *mut *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrans_countAvailableIDs() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrans_getSourceSet(trans: *const *const ::core::ffi::c_void, ignorefilter: i8, fillin: *mut USet, status: *mut UErrorCode) -> *mut USet; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrans_getUnicodeID(trans: *const *const ::core::ffi::c_void, resultlength: *mut i32) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrans_openIDs(perrorcode: *mut UErrorCode) -> *mut UEnumeration; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrans_openInverse(trans: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrans_openU(id: *const u16, idlength: i32, dir: UTransDirection, rules: *const u16, ruleslength: i32, parseerror: *mut UParseError, perrorcode: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrans_register(adoptedtrans: *mut *mut ::core::ffi::c_void, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrans_setFilter(trans: *mut *mut ::core::ffi::c_void, filterpattern: *const u16, filterpatternlen: i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrans_toRules(trans: *const *const ::core::ffi::c_void, escapeunprintable: i8, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrans_trans(trans: *const *const ::core::ffi::c_void, rep: *mut *mut ::core::ffi::c_void, repfunc: *const UReplaceableCallbacks, start: i32, limit: *mut i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrans_transIncremental(trans: *const *const ::core::ffi::c_void, rep: *mut *mut ::core::ffi::c_void, repfunc: *const UReplaceableCallbacks, pos: *mut UTransPosition, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrans_transIncrementalUChars(trans: *const *const ::core::ffi::c_void, text: *mut u16, textlength: *mut i32, textcapacity: i32, pos: *mut UTransPosition, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrans_transUChars(trans: *const *const ::core::ffi::c_void, text: *mut u16, textlength: *mut i32, textcapacity: i32, start: i32, limit: *mut i32, status: *mut UErrorCode); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Globalization\"`*"] pub fn utrans_unregisterID(id: *const u16, idlength: i32); } diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/Direct2D/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/Direct2D/mod.rs index 41b7c1a53e..829c862f99 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/Direct2D/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/Direct2D/mod.rs @@ -5,36 +5,72 @@ extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`*"] #[cfg(feature = "Foundation_Numerics")] pub fn D2D1ComputeMaximumScaleFactor(matrix: *const super::super::super::Foundation::Numerics::Matrix3x2) -> f32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub fn D2D1ConvertColorSpace(sourcecolorspace: D2D1_COLOR_SPACE, destinationcolorspace: D2D1_COLOR_SPACE, color: *const Common::D2D1_COLOR_F) -> Common::D2D1_COLOR_F; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Dxgi\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi")] pub fn D2D1CreateDevice(dxgidevice: super::Dxgi::IDXGIDevice, creationproperties: *const D2D1_CREATION_PROPERTIES, d2ddevice: *mut ID2D1Device) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Dxgi\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi")] pub fn D2D1CreateDeviceContext(dxgisurface: super::Dxgi::IDXGISurface, creationproperties: *const D2D1_CREATION_PROPERTIES, d2ddevicecontext: *mut ID2D1DeviceContext) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] pub fn D2D1CreateFactory(factorytype: D2D1_FACTORY_TYPE, riid: *const ::windows_sys::core::GUID, pfactoryoptions: *const D2D1_FACTORY_OPTIONS, ppifactory: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub fn D2D1GetGradientMeshInteriorPointsFromCoonsPatch(ppoint0: *const Common::D2D_POINT_2F, ppoint1: *const Common::D2D_POINT_2F, ppoint2: *const Common::D2D_POINT_2F, ppoint3: *const Common::D2D_POINT_2F, ppoint4: *const Common::D2D_POINT_2F, ppoint5: *const Common::D2D_POINT_2F, ppoint6: *const Common::D2D_POINT_2F, ppoint7: *const Common::D2D_POINT_2F, ppoint8: *const Common::D2D_POINT_2F, ppoint9: *const Common::D2D_POINT_2F, ppoint10: *const Common::D2D_POINT_2F, ppoint11: *const Common::D2D_POINT_2F, ptensorpoint11: *mut Common::D2D_POINT_2F, ptensorpoint12: *mut Common::D2D_POINT_2F, ptensorpoint21: *mut Common::D2D_POINT_2F, ptensorpoint22: *mut Common::D2D_POINT_2F); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation"))] pub fn D2D1InvertMatrix(matrix: *mut super::super::super::Foundation::Numerics::Matrix3x2) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation"))] pub fn D2D1IsMatrixInvertible(matrix: *const super::super::super::Foundation::Numerics::Matrix3x2) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub fn D2D1MakeRotateMatrix(angle: f32, center: Common::D2D_POINT_2F, matrix: *mut super::super::super::Foundation::Numerics::Matrix3x2); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub fn D2D1MakeSkewMatrix(anglex: f32, angley: f32, center: Common::D2D_POINT_2F, matrix: *mut super::super::super::Foundation::Numerics::Matrix3x2); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] pub fn D2D1SinCos(angle: f32, s: *mut f32, c: *mut f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] pub fn D2D1Tan(angle: f32) -> f32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] pub fn D2D1Vec3Length(x: f32, y: f32, z: f32) -> f32; } diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D/Dxc/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D/Dxc/mod.rs index eb2d62f18e..e7358f595a 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D/Dxc/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D/Dxc/mod.rs @@ -2,6 +2,9 @@ extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] pub fn DxcCreateInstance(rclsid: *const ::windows_sys::core::GUID, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn DxcCreateInstance2(pmalloc: super::super::super::System::Com::IMalloc, rclsid: *const ::windows_sys::core::GUID, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D/Fxc/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D/Fxc/mod.rs index 3a8e282915..54f829e537 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D/Fxc/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D/Fxc/mod.rs @@ -2,56 +2,128 @@ extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] pub fn D3DCompile(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, psourcename: ::windows_sys::core::PCSTR, pdefines: *const super::D3D_SHADER_MACRO, pinclude: super::ID3DInclude, pentrypoint: ::windows_sys::core::PCSTR, ptarget: ::windows_sys::core::PCSTR, flags1: u32, flags2: u32, ppcode: *mut super::ID3DBlob, pperrormsgs: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] pub fn D3DCompile2(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, psourcename: ::windows_sys::core::PCSTR, pdefines: *const super::D3D_SHADER_MACRO, pinclude: super::ID3DInclude, pentrypoint: ::windows_sys::core::PCSTR, ptarget: ::windows_sys::core::PCSTR, flags1: u32, flags2: u32, secondarydataflags: u32, psecondarydata: *const ::core::ffi::c_void, secondarydatasize: usize, ppcode: *mut super::ID3DBlob, pperrormsgs: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] pub fn D3DCompileFromFile(pfilename: ::windows_sys::core::PCWSTR, pdefines: *const super::D3D_SHADER_MACRO, pinclude: super::ID3DInclude, pentrypoint: ::windows_sys::core::PCSTR, ptarget: ::windows_sys::core::PCSTR, flags1: u32, flags2: u32, ppcode: *mut super::ID3DBlob, pperrormsgs: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] pub fn D3DCompressShaders(unumshaders: u32, pshaderdata: *const D3D_SHADER_DATA, uflags: u32, ppcompresseddata: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] pub fn D3DCreateBlob(size: usize, ppblob: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`, `\"Win32_Graphics_Direct3D11\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D11")] pub fn D3DCreateFunctionLinkingGraph(uflags: u32, ppfunctionlinkinggraph: *mut super::super::Direct3D11::ID3D11FunctionLinkingGraph) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`, `\"Win32_Graphics_Direct3D11\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D11")] pub fn D3DCreateLinker(pplinker: *mut super::super::Direct3D11::ID3D11Linker) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] pub fn D3DDecompressShaders(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, unumshaders: u32, ustartindex: u32, pindices: *const u32, uflags: u32, ppshaders: *mut super::ID3DBlob, ptotalshaders: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] pub fn D3DDisassemble(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, flags: u32, szcomments: ::windows_sys::core::PCSTR, ppdisassembly: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`, `\"Win32_Graphics_Direct3D10\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D10")] pub fn D3DDisassemble10Effect(peffect: super::super::Direct3D10::ID3D10Effect, flags: u32, ppdisassembly: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] pub fn D3DDisassembleRegion(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, flags: u32, szcomments: ::windows_sys::core::PCSTR, startbyteoffset: usize, numinsts: usize, pfinishbyteoffset: *mut usize, ppdisassembly: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] pub fn D3DGetBlobPart(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, part: D3D_BLOB_PART, flags: u32, pppart: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] pub fn D3DGetDebugInfo(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, ppdebuginfo: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] pub fn D3DGetInputAndOutputSignatureBlob(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, ppsignatureblob: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] pub fn D3DGetInputSignatureBlob(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, ppsignatureblob: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] pub fn D3DGetOutputSignatureBlob(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, ppsignatureblob: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] pub fn D3DGetTraceInstructionOffsets(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, flags: u32, startinstindex: usize, numinsts: usize, poffsets: *mut usize, ptotalinsts: *mut usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`, `\"Win32_Graphics_Direct3D11\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D11")] pub fn D3DLoadModule(psrcdata: *const ::core::ffi::c_void, cbsrcdatasize: usize, ppmodule: *mut super::super::Direct3D11::ID3D11Module) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] pub fn D3DPreprocess(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, psourcename: ::windows_sys::core::PCSTR, pdefines: *const super::D3D_SHADER_MACRO, pinclude: super::ID3DInclude, ppcodetext: *mut super::ID3DBlob, pperrormsgs: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] pub fn D3DReadFileToBlob(pfilename: ::windows_sys::core::PCWSTR, ppcontents: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] pub fn D3DReflect(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, pinterface: *const ::windows_sys::core::GUID, ppreflector: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] pub fn D3DReflectLibrary(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, riid: *const ::windows_sys::core::GUID, ppreflector: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] pub fn D3DSetBlobPart(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, part: D3D_BLOB_PART, flags: u32, ppart: *const ::core::ffi::c_void, partsize: usize, ppnewshader: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] pub fn D3DStripShader(pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize, ustripflags: u32, ppstrippedblob: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn D3DWriteBlobToFile(pblob: super::ID3DBlob, pfilename: ::windows_sys::core::PCWSTR, boverwrite: super::super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D10/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D10/mod.rs index fbe96eeefe..144cb95bf4 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D10/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D10/mod.rs @@ -3,74 +3,158 @@ extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub fn D3D10CompileEffectFromMemory(pdata: *const ::core::ffi::c_void, datalength: usize, psrcfilename: ::windows_sys::core::PCSTR, pdefines: *const super::Direct3D::D3D_SHADER_MACRO, pinclude: super::Direct3D::ID3DInclude, hlslflags: u32, fxflags: u32, ppcompiledeffect: *mut super::Direct3D::ID3DBlob, pperrors: *mut super::Direct3D::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub fn D3D10CompileShader(psrcdata: ::windows_sys::core::PCSTR, srcdatasize: usize, pfilename: ::windows_sys::core::PCSTR, pdefines: *const super::Direct3D::D3D_SHADER_MACRO, pinclude: super::Direct3D::ID3DInclude, pfunctionname: ::windows_sys::core::PCSTR, pprofile: ::windows_sys::core::PCSTR, flags: u32, ppshader: *mut super::Direct3D::ID3DBlob, pperrormsgs: *mut super::Direct3D::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub fn D3D10CreateBlob(numbytes: usize, ppbuffer: *mut super::Direct3D::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi"))] pub fn D3D10CreateDevice(padapter: super::Dxgi::IDXGIAdapter, drivertype: D3D10_DRIVER_TYPE, software: super::super::Foundation::HINSTANCE, flags: u32, sdkversion: u32, ppdevice: *mut ID3D10Device) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi"))] pub fn D3D10CreateDevice1(padapter: super::Dxgi::IDXGIAdapter, drivertype: D3D10_DRIVER_TYPE, software: super::super::Foundation::HINSTANCE, flags: u32, hardwarelevel: D3D10_FEATURE_LEVEL1, sdkversion: u32, ppdevice: *mut ID3D10Device1) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub fn D3D10CreateDeviceAndSwapChain(padapter: super::Dxgi::IDXGIAdapter, drivertype: D3D10_DRIVER_TYPE, software: super::super::Foundation::HINSTANCE, flags: u32, sdkversion: u32, pswapchaindesc: *const super::Dxgi::DXGI_SWAP_CHAIN_DESC, ppswapchain: *mut super::Dxgi::IDXGISwapChain, ppdevice: *mut ID3D10Device) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub fn D3D10CreateDeviceAndSwapChain1(padapter: super::Dxgi::IDXGIAdapter, drivertype: D3D10_DRIVER_TYPE, software: super::super::Foundation::HINSTANCE, flags: u32, hardwarelevel: D3D10_FEATURE_LEVEL1, sdkversion: u32, pswapchaindesc: *const super::Dxgi::DXGI_SWAP_CHAIN_DESC, ppswapchain: *mut super::Dxgi::IDXGISwapChain, ppdevice: *mut ID3D10Device1) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] pub fn D3D10CreateEffectFromMemory(pdata: *const ::core::ffi::c_void, datalength: usize, fxflags: u32, pdevice: ID3D10Device, peffectpool: ID3D10EffectPool, ppeffect: *mut ID3D10Effect) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] pub fn D3D10CreateEffectPoolFromMemory(pdata: *const ::core::ffi::c_void, datalength: usize, fxflags: u32, pdevice: ID3D10Device, ppeffectpool: *mut ID3D10EffectPool) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] pub fn D3D10CreateStateBlock(pdevice: ID3D10Device, pstateblockmask: *const D3D10_STATE_BLOCK_MASK, ppstateblock: *mut ID3D10StateBlock) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D"))] pub fn D3D10DisassembleEffect(peffect: ID3D10Effect, enablecolorcode: super::super::Foundation::BOOL, ppdisassembly: *mut super::Direct3D::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D"))] pub fn D3D10DisassembleShader(pshader: *const ::core::ffi::c_void, bytecodelength: usize, enablecolorcode: super::super::Foundation::BOOL, pcomments: ::windows_sys::core::PCSTR, ppdisassembly: *mut super::Direct3D::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] pub fn D3D10GetGeometryShaderProfile(pdevice: ID3D10Device) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub fn D3D10GetInputAndOutputSignatureBlob(pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize, ppsignatureblob: *mut super::Direct3D::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub fn D3D10GetInputSignatureBlob(pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize, ppsignatureblob: *mut super::Direct3D::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub fn D3D10GetOutputSignatureBlob(pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize, ppsignatureblob: *mut super::Direct3D::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] pub fn D3D10GetPixelShaderProfile(pdevice: ID3D10Device) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub fn D3D10GetShaderDebugInfo(pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize, ppdebuginfo: *mut super::Direct3D::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] pub fn D3D10GetVertexShaderProfile(pdevice: ID3D10Device) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub fn D3D10PreprocessShader(psrcdata: ::windows_sys::core::PCSTR, srcdatasize: usize, pfilename: ::windows_sys::core::PCSTR, pdefines: *const super::Direct3D::D3D_SHADER_MACRO, pinclude: super::Direct3D::ID3DInclude, ppshadertext: *mut super::Direct3D::ID3DBlob, pperrormsgs: *mut super::Direct3D::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] pub fn D3D10ReflectShader(pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize, ppreflector: *mut ID3D10ShaderReflection) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] pub fn D3D10StateBlockMaskDifference(pa: *const D3D10_STATE_BLOCK_MASK, pb: *const D3D10_STATE_BLOCK_MASK, presult: *mut D3D10_STATE_BLOCK_MASK) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] pub fn D3D10StateBlockMaskDisableAll(pmask: *mut D3D10_STATE_BLOCK_MASK) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] pub fn D3D10StateBlockMaskDisableCapture(pmask: *mut D3D10_STATE_BLOCK_MASK, statetype: D3D10_DEVICE_STATE_TYPES, rangestart: u32, rangelength: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] pub fn D3D10StateBlockMaskEnableAll(pmask: *mut D3D10_STATE_BLOCK_MASK) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] pub fn D3D10StateBlockMaskEnableCapture(pmask: *mut D3D10_STATE_BLOCK_MASK, statetype: D3D10_DEVICE_STATE_TYPES, rangestart: u32, rangelength: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn D3D10StateBlockMaskGetSetting(pmask: *const D3D10_STATE_BLOCK_MASK, statetype: D3D10_DEVICE_STATE_TYPES, entry: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] pub fn D3D10StateBlockMaskIntersect(pa: *const D3D10_STATE_BLOCK_MASK, pb: *const D3D10_STATE_BLOCK_MASK, presult: *mut D3D10_STATE_BLOCK_MASK) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] pub fn D3D10StateBlockMaskUnion(pa: *const D3D10_STATE_BLOCK_MASK, pb: *const D3D10_STATE_BLOCK_MASK, presult: *mut D3D10_STATE_BLOCK_MASK) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D11/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D11/mod.rs index 0da9a586bd..bba642b797 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D11/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D11/mod.rs @@ -3,28 +3,61 @@ extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi"))] pub fn D3D11CreateDevice(padapter: super::Dxgi::IDXGIAdapter, drivertype: super::Direct3D::D3D_DRIVER_TYPE, software: super::super::Foundation::HINSTANCE, flags: D3D11_CREATE_DEVICE_FLAG, pfeaturelevels: *const super::Direct3D::D3D_FEATURE_LEVEL, featurelevels: u32, sdkversion: u32, ppdevice: *mut ID3D11Device, pfeaturelevel: *mut super::Direct3D::D3D_FEATURE_LEVEL, ppimmediatecontext: *mut ID3D11DeviceContext) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] pub fn D3D11CreateDeviceAndSwapChain(padapter: super::Dxgi::IDXGIAdapter, drivertype: super::Direct3D::D3D_DRIVER_TYPE, software: super::super::Foundation::HINSTANCE, flags: D3D11_CREATE_DEVICE_FLAG, pfeaturelevels: *const super::Direct3D::D3D_FEATURE_LEVEL, featurelevels: u32, sdkversion: u32, pswapchaindesc: *const super::Dxgi::DXGI_SWAP_CHAIN_DESC, ppswapchain: *mut super::Dxgi::IDXGISwapChain, ppdevice: *mut ID3D11Device, pfeaturelevel: *mut super::Direct3D::D3D_FEATURE_LEVEL, ppimmediatecontext: *mut ID3D11DeviceContext) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub fn D3DDisassemble11Trace(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, ptrace: ID3D11ShaderTrace, startstep: u32, numsteps: u32, flags: u32, ppdisassembly: *mut super::Direct3D::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] pub fn D3DX11CreateFFT(pdevicecontext: ID3D11DeviceContext, pdesc: *const D3DX11_FFT_DESC, flags: u32, pbufferinfo: *mut D3DX11_FFT_BUFFER_INFO, ppfft: *mut ID3DX11FFT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] pub fn D3DX11CreateFFT1DComplex(pdevicecontext: ID3D11DeviceContext, x: u32, flags: u32, pbufferinfo: *mut D3DX11_FFT_BUFFER_INFO, ppfft: *mut ID3DX11FFT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] pub fn D3DX11CreateFFT1DReal(pdevicecontext: ID3D11DeviceContext, x: u32, flags: u32, pbufferinfo: *mut D3DX11_FFT_BUFFER_INFO, ppfft: *mut ID3DX11FFT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] pub fn D3DX11CreateFFT2DComplex(pdevicecontext: ID3D11DeviceContext, x: u32, y: u32, flags: u32, pbufferinfo: *mut D3DX11_FFT_BUFFER_INFO, ppfft: *mut ID3DX11FFT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] pub fn D3DX11CreateFFT2DReal(pdevicecontext: ID3D11DeviceContext, x: u32, y: u32, flags: u32, pbufferinfo: *mut D3DX11_FFT_BUFFER_INFO, ppfft: *mut ID3DX11FFT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] pub fn D3DX11CreateFFT3DComplex(pdevicecontext: ID3D11DeviceContext, x: u32, y: u32, z: u32, flags: u32, pbufferinfo: *mut D3DX11_FFT_BUFFER_INFO, ppfft: *mut ID3DX11FFT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] pub fn D3DX11CreateFFT3DReal(pdevicecontext: ID3D11DeviceContext, x: u32, y: u32, z: u32, flags: u32, pbufferinfo: *mut D3DX11_FFT_BUFFER_INFO, ppfft: *mut ID3DX11FFT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] pub fn D3DX11CreateScan(pdevicecontext: ID3D11DeviceContext, maxelementscansize: u32, maxscancount: u32, ppscan: *mut ID3DX11Scan) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] pub fn D3DX11CreateSegmentedScan(pdevicecontext: ID3D11DeviceContext, maxelementscansize: u32, ppscan: *mut ID3DX11SegmentedScan) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D12/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D12/mod.rs index 962c3c8fdd..481813e6b6 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D12/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D12/mod.rs @@ -3,19 +3,40 @@ extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub fn D3D12CreateDevice(padapter: ::windows_sys::core::IUnknown, minimumfeaturelevel: super::Direct3D::D3D_FEATURE_LEVEL, riid: *const ::windows_sys::core::GUID, ppdevice: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] pub fn D3D12CreateRootSignatureDeserializer(psrcdata: *const ::core::ffi::c_void, srcdatasizeinbytes: usize, prootsignaturedeserializerinterface: *const ::windows_sys::core::GUID, pprootsignaturedeserializer: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] pub fn D3D12CreateVersionedRootSignatureDeserializer(psrcdata: *const ::core::ffi::c_void, srcdatasizeinbytes: usize, prootsignaturedeserializerinterface: *const ::windows_sys::core::GUID, pprootsignaturedeserializer: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] pub fn D3D12EnableExperimentalFeatures(numfeatures: u32, piids: *const ::windows_sys::core::GUID, pconfigurationstructs: *const ::core::ffi::c_void, pconfigurationstructsizes: *const u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] pub fn D3D12GetDebugInterface(riid: *const ::windows_sys::core::GUID, ppvdebug: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] pub fn D3D12GetInterface(rclsid: *const ::windows_sys::core::GUID, riid: *const ::windows_sys::core::GUID, ppvdebug: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub fn D3D12SerializeRootSignature(prootsignature: *const D3D12_ROOT_SIGNATURE_DESC, version: D3D_ROOT_SIGNATURE_VERSION, ppblob: *mut super::Direct3D::ID3DBlob, pperrorblob: *mut super::Direct3D::ID3DBlob) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub fn D3D12SerializeVersionedRootSignature(prootsignature: *const D3D12_VERSIONED_ROOT_SIGNATURE_DESC, ppblob: *mut super::Direct3D::ID3DBlob, pperrorblob: *mut super::Direct3D::ID3DBlob) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D9/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D9/mod.rs index 2d7ec77c5e..a92fcef1f0 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D9/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D9/mod.rs @@ -2,21 +2,45 @@ extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] pub fn D3DPERF_BeginEvent(col: u32, wszname: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] pub fn D3DPERF_EndEvent() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] pub fn D3DPERF_GetStatus() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn D3DPERF_QueryRepeatFrame() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] pub fn D3DPERF_SetMarker(col: u32, wszname: ::windows_sys::core::PCWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] pub fn D3DPERF_SetOptions(dwoptions: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] pub fn D3DPERF_SetRegion(col: u32, wszname: ::windows_sys::core::PCWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] pub fn Direct3DCreate9(sdkversion: u32) -> IDirect3D9; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] pub fn Direct3DCreate9Ex(sdkversion: u32, param1: *mut IDirect3D9Ex) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D9on12/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D9on12/mod.rs index bd571fc745..7c538aa490 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D9on12/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D9on12/mod.rs @@ -3,6 +3,9 @@ extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9on12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))] pub fn Direct3DCreate9On12(sdkversion: u32, poverridelist: *mut D3D9ON12_ARGS, numoverrideentries: u32) -> super::Direct3D9::IDirect3D9; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9on12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))] pub fn Direct3DCreate9On12Ex(sdkversion: u32, poverridelist: *mut D3D9ON12_ARGS, numoverrideentries: u32, ppoutputinterface: *mut super::Direct3D9::IDirect3D9Ex) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/DirectComposition/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/DirectComposition/mod.rs index 64c3bc0d5e..9c4911dc27 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/DirectComposition/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/DirectComposition/mod.rs @@ -3,30 +3,60 @@ extern "system" { #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DCompositionAttachMouseDragToHwnd(visual: IDCompositionVisual, hwnd: super::super::Foundation::HWND, enable: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DCompositionAttachMouseWheelToHwnd(visual: IDCompositionVisual, hwnd: super::super::Foundation::HWND, enable: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DCompositionBoostCompositorClock(enable: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Graphics_Dxgi\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi")] pub fn DCompositionCreateDevice(dxgidevice: super::Dxgi::IDXGIDevice, iid: *const ::windows_sys::core::GUID, dcompositiondevice: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] pub fn DCompositionCreateDevice2(renderingdevice: ::windows_sys::core::IUnknown, iid: *const ::windows_sys::core::GUID, dcompositiondevice: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] pub fn DCompositionCreateDevice3(renderingdevice: ::windows_sys::core::IUnknown, iid: *const ::windows_sys::core::GUID, dcompositiondevice: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn DCompositionCreateSurfaceHandle(desiredaccess: u32, securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, surfacehandle: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] pub fn DCompositionGetFrameId(frameidtype: COMPOSITION_FRAME_ID_TYPE, frameid: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DCompositionGetStatistics(frameid: u64, framestats: *mut COMPOSITION_FRAME_STATS, targetidcount: u32, targetids: *mut COMPOSITION_TARGET_ID, actualtargetidcount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DCompositionGetTargetStatistics(frameid: u64, targetid: *const COMPOSITION_TARGET_ID, targetstats: *mut COMPOSITION_TARGET_STATS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DCompositionWaitForCompositorClock(count: u32, handles: *const super::super::Foundation::HANDLE, timeoutinms: u32) -> u32; diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/DirectDraw/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/DirectDraw/mod.rs index 8cbaa46ecd..72a0f1f418 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/DirectDraw/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/DirectDraw/mod.rs @@ -2,19 +2,37 @@ extern "system" { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] pub fn DirectDrawCreate(lpguid: *mut ::windows_sys::core::GUID, lplpdd: *mut IDirectDraw, punkouter: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] pub fn DirectDrawCreateClipper(dwflags: u32, lplpddclipper: *mut IDirectDrawClipper, punkouter: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] pub fn DirectDrawCreateEx(lpguid: *mut ::windows_sys::core::GUID, lplpdd: *mut *mut ::core::ffi::c_void, iid: *const ::windows_sys::core::GUID, punkouter: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DirectDrawEnumerateA(lpcallback: LPDDENUMCALLBACKA, lpcontext: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DirectDrawEnumerateExA(lpcallback: LPDDENUMCALLBACKEXA, lpcontext: *mut ::core::ffi::c_void, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DirectDrawEnumerateExW(lpcallback: LPDDENUMCALLBACKEXW, lpcontext: *mut ::core::ffi::c_void, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DirectDrawEnumerateW(lpcallback: LPDDENUMCALLBACKW, lpcontext: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/Dwm/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/Dwm/mod.rs index 069361ea64..752399dc2f 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/Dwm/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/Dwm/mod.rs @@ -3,87 +3,177 @@ extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DwmAttachMilContent(hwnd: super::super::Foundation::HWND) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DwmDefWindowProc(hwnd: super::super::Foundation::HWND, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, plresult: *mut super::super::Foundation::LRESULT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DwmDetachMilContent(hwnd: super::super::Foundation::HWND) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DwmEnableBlurBehindWindow(hwnd: super::super::Foundation::HWND, pblurbehind: *const DWM_BLURBEHIND) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`*"] pub fn DwmEnableComposition(ucompositionaction: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DwmEnableMMCSS(fenablemmcss: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] pub fn DwmExtendFrameIntoClientArea(hwnd: super::super::Foundation::HWND, pmarinset: *const super::super::UI::Controls::MARGINS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`*"] pub fn DwmFlush() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DwmGetColorizationColor(pcrcolorization: *mut u32, pfopaqueblend: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DwmGetCompositionTimingInfo(hwnd: super::super::Foundation::HWND, ptiminginfo: *mut DWM_TIMING_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`*"] pub fn DwmGetGraphicsStreamClient(uindex: u32, pclientuuid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`*"] pub fn DwmGetGraphicsStreamTransformHint(uindex: u32, ptransform: *mut MilMatrix3x2D) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DwmGetTransportAttributes(pfisremoting: *mut super::super::Foundation::BOOL, pfisconnected: *mut super::super::Foundation::BOOL, pdwgeneration: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DwmGetUnmetTabRequirements(appwindow: super::super::Foundation::HWND, value: *mut DWM_TAB_WINDOW_REQUIREMENTS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DwmGetWindowAttribute(hwnd: super::super::Foundation::HWND, dwattribute: DWMWINDOWATTRIBUTE, pvattribute: *mut ::core::ffi::c_void, cbattribute: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DwmInvalidateIconicBitmaps(hwnd: super::super::Foundation::HWND) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DwmIsCompositionEnabled(pfenabled: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DwmModifyPreviousDxFrameDuration(hwnd: super::super::Foundation::HWND, crefreshes: i32, frelative: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DwmQueryThumbnailSourceSize(hthumbnail: isize, psize: *mut super::super::Foundation::SIZE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DwmRegisterThumbnail(hwnddestination: super::super::Foundation::HWND, hwndsource: super::super::Foundation::HWND, phthumbnailid: *mut isize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DwmRenderGesture(gt: GESTURE_TYPE, ccontacts: u32, pdwpointerid: *const u32, ppoints: *const super::super::Foundation::POINT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DwmSetDxFrameDuration(hwnd: super::super::Foundation::HWND, crefreshes: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DwmSetIconicLivePreviewBitmap(hwnd: super::super::Foundation::HWND, hbmp: super::Gdi::HBITMAP, pptclient: *const super::super::Foundation::POINT, dwsitflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DwmSetIconicThumbnail(hwnd: super::super::Foundation::HWND, hbmp: super::Gdi::HBITMAP, dwsitflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DwmSetPresentParameters(hwnd: super::super::Foundation::HWND, ppresentparams: *mut DWM_PRESENT_PARAMETERS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DwmSetWindowAttribute(hwnd: super::super::Foundation::HWND, dwattribute: DWMWINDOWATTRIBUTE, pvattribute: *const ::core::ffi::c_void, cbattribute: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`*"] pub fn DwmShowContact(dwpointerid: u32, eshowcontact: DWM_SHOWCONTACT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DwmTetherContact(dwpointerid: u32, fenable: super::super::Foundation::BOOL, pttether: super::super::Foundation::POINT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DwmTransitionOwnedWindow(hwnd: super::super::Foundation::HWND, target: DWMTRANSITION_OWNEDWINDOW_TARGET) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`*"] pub fn DwmUnregisterThumbnail(hthumbnailid: isize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DwmUpdateThumbnailProperties(hthumbnailid: isize, ptnproperties: *const DWM_THUMBNAIL_PROPERTIES) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/Dxgi/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/Dxgi/mod.rs index 0993c54b41..d6b9de3363 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/Dxgi/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/Dxgi/mod.rs @@ -4,12 +4,24 @@ pub mod Common; extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] pub fn CreateDXGIFactory(riid: *const ::windows_sys::core::GUID, ppfactory: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] pub fn CreateDXGIFactory1(riid: *const ::windows_sys::core::GUID, ppfactory: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] pub fn CreateDXGIFactory2(flags: u32, riid: *const ::windows_sys::core::GUID, ppfactory: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] pub fn DXGIDeclareAdapterRemovalSupport() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] pub fn DXGIGetDebugInterface1(flags: u32, riid: *const ::windows_sys::core::GUID, pdebug: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/Gdi/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/Gdi/mod.rs index 559cfe4ee7..8b71f051fd 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/Gdi/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/Gdi/mod.rs @@ -3,1056 +3,2235 @@ extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AbortPath(hdc: HDC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddFontMemResourceEx(pfileview: *const ::core::ffi::c_void, cjsize: u32, pvresrved: *mut ::core::ffi::c_void, pnumfonts: *const u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn AddFontResourceA(param0: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn AddFontResourceExA(name: ::windows_sys::core::PCSTR, fl: FONT_RESOURCE_CHARACTERISTICS, res: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn AddFontResourceExW(name: ::windows_sys::core::PCWSTR, fl: FONT_RESOURCE_CHARACTERISTICS, res: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn AddFontResourceW(param0: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AlphaBlend(hdcdest: HDC, xorigindest: i32, yorigindest: i32, wdest: i32, hdest: i32, hdcsrc: HDC, xoriginsrc: i32, yoriginsrc: i32, wsrc: i32, hsrc: i32, ftn: BLENDFUNCTION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AngleArc(hdc: HDC, x: i32, y: i32, r: u32, startangle: f32, sweepangle: f32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AnimatePalette(hpal: HPALETTE, istartindex: u32, centries: u32, ppe: *const PALETTEENTRY) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Arc(hdc: HDC, x1: i32, y1: i32, x2: i32, y2: i32, x3: i32, y3: i32, x4: i32, y4: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ArcTo(hdc: HDC, left: i32, top: i32, right: i32, bottom: i32, xr1: i32, yr1: i32, xr2: i32, yr2: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BeginPaint(hwnd: super::super::Foundation::HWND, lppaint: *mut PAINTSTRUCT) -> HDC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BeginPath(hdc: HDC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BitBlt(hdc: HDC, x: i32, y: i32, cx: i32, cy: i32, hdcsrc: HDC, x1: i32, y1: i32, rop: ROP_CODE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CancelDC(hdc: HDC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ChangeDisplaySettingsA(lpdevmode: *const DEVMODEA, dwflags: CDS_TYPE) -> DISP_CHANGE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ChangeDisplaySettingsExA(lpszdevicename: ::windows_sys::core::PCSTR, lpdevmode: *const DEVMODEA, hwnd: super::super::Foundation::HWND, dwflags: CDS_TYPE, lparam: *const ::core::ffi::c_void) -> DISP_CHANGE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ChangeDisplaySettingsExW(lpszdevicename: ::windows_sys::core::PCWSTR, lpdevmode: *const DEVMODEW, hwnd: super::super::Foundation::HWND, dwflags: CDS_TYPE, lparam: *const ::core::ffi::c_void) -> DISP_CHANGE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ChangeDisplaySettingsW(lpdevmode: *const DEVMODEW, dwflags: CDS_TYPE) -> DISP_CHANGE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Chord(hdc: HDC, x1: i32, y1: i32, x2: i32, y2: i32, x3: i32, y3: i32, x4: i32, y4: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ClientToScreen(hwnd: super::super::Foundation::HWND, lppoint: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CloseEnhMetaFile(hdc: HDC) -> HENHMETAFILE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseFigure(hdc: HDC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CloseMetaFile(hdc: HDC) -> HMETAFILE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CombineRgn(hrgndst: HRGN, hrgnsrc1: HRGN, hrgnsrc2: HRGN, imode: RGN_COMBINE_MODE) -> GDI_REGION_TYPE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CombineTransform(lpxfout: *mut XFORM, lpxf1: *const XFORM, lpxf2: *const XFORM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CopyEnhMetaFileA(henh: HENHMETAFILE, lpfilename: ::windows_sys::core::PCSTR) -> HENHMETAFILE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CopyEnhMetaFileW(henh: HENHMETAFILE, lpfilename: ::windows_sys::core::PCWSTR) -> HENHMETAFILE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CopyMetaFileA(param0: HMETAFILE, param1: ::windows_sys::core::PCSTR) -> HMETAFILE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CopyMetaFileW(param0: HMETAFILE, param1: ::windows_sys::core::PCWSTR) -> HMETAFILE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CopyRect(lprcdst: *mut super::super::Foundation::RECT, lprcsrc: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CreateBitmap(nwidth: i32, nheight: i32, nplanes: u32, nbitcount: u32, lpbits: *const ::core::ffi::c_void) -> HBITMAP; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CreateBitmapIndirect(pbm: *const BITMAP) -> HBITMAP; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateBrushIndirect(plbrush: *const LOGBRUSH) -> HBRUSH; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CreateCompatibleBitmap(hdc: HDC, cx: i32, cy: i32) -> HBITMAP; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CreateCompatibleDC(hdc: HDC) -> CreatedHDC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateDCA(pwszdriver: ::windows_sys::core::PCSTR, pwszdevice: ::windows_sys::core::PCSTR, pszport: ::windows_sys::core::PCSTR, pdm: *const DEVMODEA) -> CreatedHDC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateDCW(pwszdriver: ::windows_sys::core::PCWSTR, pwszdevice: ::windows_sys::core::PCWSTR, pszport: ::windows_sys::core::PCWSTR, pdm: *const DEVMODEW) -> CreatedHDC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CreateDIBPatternBrush(h: isize, iusage: DIB_USAGE) -> HBRUSH; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CreateDIBPatternBrushPt(lppackeddib: *const ::core::ffi::c_void, iusage: DIB_USAGE) -> HBRUSH; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateDIBSection(hdc: HDC, pbmi: *const BITMAPINFO, usage: DIB_USAGE, ppvbits: *mut *mut ::core::ffi::c_void, hsection: super::super::Foundation::HANDLE, offset: u32) -> HBITMAP; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CreateDIBitmap(hdc: HDC, pbmih: *const BITMAPINFOHEADER, flinit: u32, pjbits: *const ::core::ffi::c_void, pbmi: *const BITMAPINFO, iusage: DIB_USAGE) -> HBITMAP; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CreateDiscardableBitmap(hdc: HDC, cx: i32, cy: i32) -> HBITMAP; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CreateEllipticRgn(x1: i32, y1: i32, x2: i32, y2: i32) -> HRGN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateEllipticRgnIndirect(lprect: *const super::super::Foundation::RECT) -> HRGN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateEnhMetaFileA(hdc: HDC, lpfilename: ::windows_sys::core::PCSTR, lprc: *const super::super::Foundation::RECT, lpdesc: ::windows_sys::core::PCSTR) -> HdcMetdataEnhFileHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateEnhMetaFileW(hdc: HDC, lpfilename: ::windows_sys::core::PCWSTR, lprc: *const super::super::Foundation::RECT, lpdesc: ::windows_sys::core::PCWSTR) -> HdcMetdataEnhFileHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CreateFontA(cheight: i32, cwidth: i32, cescapement: i32, corientation: i32, cweight: i32, bitalic: u32, bunderline: u32, bstrikeout: u32, icharset: u32, ioutprecision: FONT_OUTPUT_PRECISION, iclipprecision: FONT_CLIP_PRECISION, iquality: FONT_QUALITY, ipitchandfamily: FONT_PITCH_AND_FAMILY, pszfacename: ::windows_sys::core::PCSTR) -> HFONT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateFontIndirectA(lplf: *const LOGFONTA) -> HFONT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateFontIndirectExA(param0: *const ENUMLOGFONTEXDVA) -> HFONT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CreateFontIndirectExW(param0: *const ENUMLOGFONTEXDVW) -> HFONT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CreateFontIndirectW(lplf: *const LOGFONTW) -> HFONT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CreateFontPackage(puchsrcbuffer: *const u8, ulsrcbuffersize: u32, ppuchfontpackagebuffer: *mut *mut u8, pulfontpackagebuffersize: *mut u32, pulbyteswritten: *mut u32, usflag: u16, usttcindex: u16, ussubsetformat: u16, ussubsetlanguage: u16, ussubsetplatform: CREATE_FONT_PACKAGE_SUBSET_PLATFORM, ussubsetencoding: CREATE_FONT_PACKAGE_SUBSET_ENCODING, pussubsetkeeplist: *const u16, ussubsetlistcount: u16, lpfnallocate: CFP_ALLOCPROC, lpfnreallocate: CFP_REALLOCPROC, lpfnfree: CFP_FREEPROC, lpvreserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CreateFontW(cheight: i32, cwidth: i32, cescapement: i32, corientation: i32, cweight: i32, bitalic: u32, bunderline: u32, bstrikeout: u32, icharset: u32, ioutprecision: FONT_OUTPUT_PRECISION, iclipprecision: FONT_CLIP_PRECISION, iquality: FONT_QUALITY, ipitchandfamily: FONT_PITCH_AND_FAMILY, pszfacename: ::windows_sys::core::PCWSTR) -> HFONT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CreateHalftonePalette(hdc: HDC) -> HPALETTE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateHatchBrush(ihatch: HATCH_BRUSH_STYLE, color: super::super::Foundation::COLORREF) -> HBRUSH; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateICA(pszdriver: ::windows_sys::core::PCSTR, pszdevice: ::windows_sys::core::PCSTR, pszport: ::windows_sys::core::PCSTR, pdm: *const DEVMODEA) -> CreatedHDC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateICW(pszdriver: ::windows_sys::core::PCWSTR, pszdevice: ::windows_sys::core::PCWSTR, pszport: ::windows_sys::core::PCWSTR, pdm: *const DEVMODEW) -> CreatedHDC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CreateMetaFileA(pszfile: ::windows_sys::core::PCSTR) -> HdcMetdataFileHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CreateMetaFileW(pszfile: ::windows_sys::core::PCWSTR) -> HdcMetdataFileHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CreatePalette(plpal: *const LOGPALETTE) -> HPALETTE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CreatePatternBrush(hbm: HBITMAP) -> HBRUSH; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreatePen(istyle: PEN_STYLE, cwidth: i32, color: super::super::Foundation::COLORREF) -> HPEN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreatePenIndirect(plpen: *const LOGPEN) -> HPEN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreatePolyPolygonRgn(pptl: *const super::super::Foundation::POINT, pc: *const i32, cpoly: i32, imode: CREATE_POLYGON_RGN_MODE) -> HRGN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreatePolygonRgn(pptl: *const super::super::Foundation::POINT, cpoint: i32, imode: CREATE_POLYGON_RGN_MODE) -> HRGN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CreateRectRgn(x1: i32, y1: i32, x2: i32, y2: i32) -> HRGN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateRectRgnIndirect(lprect: *const super::super::Foundation::RECT) -> HRGN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn CreateRoundRectRgn(x1: i32, y1: i32, x2: i32, y2: i32, w: i32, h: i32) -> HRGN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateScalableFontResourceA(fdwhidden: u32, lpszfont: ::windows_sys::core::PCSTR, lpszfile: ::windows_sys::core::PCSTR, lpszpath: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateScalableFontResourceW(fdwhidden: u32, lpszfont: ::windows_sys::core::PCWSTR, lpszfile: ::windows_sys::core::PCWSTR, lpszpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateSolidBrush(color: super::super::Foundation::COLORREF) -> HBRUSH; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DPtoLP(hdc: HDC, lppt: *mut super::super::Foundation::POINT, c: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteDC(hdc: CreatedHDC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteEnhMetaFile(hmf: HENHMETAFILE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteMetaFile(hmf: HMETAFILE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteObject(ho: HGDIOBJ) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DrawAnimatedRects(hwnd: super::super::Foundation::HWND, idani: i32, lprcfrom: *const super::super::Foundation::RECT, lprcto: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DrawCaption(hwnd: super::super::Foundation::HWND, hdc: HDC, lprect: *const super::super::Foundation::RECT, flags: DRAW_CAPTION_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DrawEdge(hdc: HDC, qrc: *mut super::super::Foundation::RECT, edge: DRAWEDGE_FLAGS, grfflags: DRAW_EDGE_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn DrawEscape(hdc: HDC, iescape: i32, cjin: i32, lpin: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DrawFocusRect(hdc: HDC, lprc: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DrawFrameControl(param0: HDC, param1: *mut super::super::Foundation::RECT, param2: DFC_TYPE, param3: DFCS_STATE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DrawStateA(hdc: HDC, hbrfore: HBRUSH, qfncallback: DRAWSTATEPROC, ldata: super::super::Foundation::LPARAM, wdata: super::super::Foundation::WPARAM, x: i32, y: i32, cx: i32, cy: i32, uflags: DRAWSTATE_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DrawStateW(hdc: HDC, hbrfore: HBRUSH, qfncallback: DRAWSTATEPROC, ldata: super::super::Foundation::LPARAM, wdata: super::super::Foundation::WPARAM, x: i32, y: i32, cx: i32, cy: i32, uflags: DRAWSTATE_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DrawTextA(hdc: HDC, lpchtext: ::windows_sys::core::PSTR, cchtext: i32, lprc: *mut super::super::Foundation::RECT, format: DRAW_TEXT_FORMAT) -> i32; - #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] + #[cfg(feature = "Win32_Foundation")] pub fn DrawTextExA(hdc: HDC, lpchtext: ::windows_sys::core::PSTR, cchtext: i32, lprc: *mut super::super::Foundation::RECT, format: DRAW_TEXT_FORMAT, lpdtp: *const DRAWTEXTPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DrawTextExW(hdc: HDC, lpchtext: ::windows_sys::core::PWSTR, cchtext: i32, lprc: *mut super::super::Foundation::RECT, format: DRAW_TEXT_FORMAT, lpdtp: *const DRAWTEXTPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DrawTextW(hdc: HDC, lpchtext: ::windows_sys::core::PWSTR, cchtext: i32, lprc: *mut super::super::Foundation::RECT, format: DRAW_TEXT_FORMAT) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Ellipse(hdc: HDC, left: i32, top: i32, right: i32, bottom: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EndPaint(hwnd: super::super::Foundation::HWND, lppaint: *const PAINTSTRUCT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EndPath(hdc: HDC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumDisplayDevicesA(lpdevice: ::windows_sys::core::PCSTR, idevnum: u32, lpdisplaydevice: *mut DISPLAY_DEVICEA, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumDisplayDevicesW(lpdevice: ::windows_sys::core::PCWSTR, idevnum: u32, lpdisplaydevice: *mut DISPLAY_DEVICEW, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumDisplayMonitors(hdc: HDC, lprcclip: *const super::super::Foundation::RECT, lpfnenum: MONITORENUMPROC, dwdata: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumDisplaySettingsA(lpszdevicename: ::windows_sys::core::PCSTR, imodenum: ENUM_DISPLAY_SETTINGS_MODE, lpdevmode: *mut DEVMODEA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumDisplaySettingsExA(lpszdevicename: ::windows_sys::core::PCSTR, imodenum: ENUM_DISPLAY_SETTINGS_MODE, lpdevmode: *mut DEVMODEA, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumDisplaySettingsExW(lpszdevicename: ::windows_sys::core::PCWSTR, imodenum: ENUM_DISPLAY_SETTINGS_MODE, lpdevmode: *mut DEVMODEW, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumDisplaySettingsW(lpszdevicename: ::windows_sys::core::PCWSTR, imodenum: ENUM_DISPLAY_SETTINGS_MODE, lpdevmode: *mut DEVMODEW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumEnhMetaFile(hdc: HDC, hmf: HENHMETAFILE, proc: ENHMFENUMPROC, param3: *const ::core::ffi::c_void, lprect: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumFontFamiliesA(hdc: HDC, lplogfont: ::windows_sys::core::PCSTR, lpproc: FONTENUMPROCA, lparam: super::super::Foundation::LPARAM) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumFontFamiliesExA(hdc: HDC, lplogfont: *const LOGFONTA, lpproc: FONTENUMPROCA, lparam: super::super::Foundation::LPARAM, dwflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumFontFamiliesExW(hdc: HDC, lplogfont: *const LOGFONTW, lpproc: FONTENUMPROCW, lparam: super::super::Foundation::LPARAM, dwflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumFontFamiliesW(hdc: HDC, lplogfont: ::windows_sys::core::PCWSTR, lpproc: FONTENUMPROCW, lparam: super::super::Foundation::LPARAM) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumFontsA(hdc: HDC, lplogfont: ::windows_sys::core::PCSTR, lpproc: FONTENUMPROCA, lparam: super::super::Foundation::LPARAM) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumFontsW(hdc: HDC, lplogfont: ::windows_sys::core::PCWSTR, lpproc: FONTENUMPROCW, lparam: super::super::Foundation::LPARAM) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumMetaFile(hdc: HDC, hmf: HMETAFILE, proc: MFENUMPROC, param3: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumObjects(hdc: HDC, ntype: OBJ_TYPE, lpfunc: GOBJENUMPROC, lparam: super::super::Foundation::LPARAM) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EqualRect(lprc1: *const super::super::Foundation::RECT, lprc2: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EqualRgn(hrgn1: HRGN, hrgn2: HRGN) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn ExcludeClipRect(hdc: HDC, left: i32, top: i32, right: i32, bottom: i32) -> GDI_REGION_TYPE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ExcludeUpdateRgn(hdc: HDC, hwnd: super::super::Foundation::HWND) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ExtCreatePen(ipenstyle: PEN_STYLE, cwidth: u32, plbrush: *const LOGBRUSH, cstyle: u32, pstyle: *const u32) -> HPEN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ExtCreateRegion(lpx: *const XFORM, ncount: u32, lpdata: *const RGNDATA) -> HRGN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ExtFloodFill(hdc: HDC, x: i32, y: i32, color: super::super::Foundation::COLORREF, r#type: EXT_FLOOD_FILL_TYPE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn ExtSelectClipRgn(hdc: HDC, hrgn: HRGN, mode: RGN_COMBINE_MODE) -> GDI_REGION_TYPE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ExtTextOutA(hdc: HDC, x: i32, y: i32, options: ETO_OPTIONS, lprect: *const super::super::Foundation::RECT, lpstring: ::windows_sys::core::PCSTR, c: u32, lpdx: *const i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ExtTextOutW(hdc: HDC, x: i32, y: i32, options: ETO_OPTIONS, lprect: *const super::super::Foundation::RECT, lpstring: ::windows_sys::core::PCWSTR, c: u32, lpdx: *const i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FillPath(hdc: HDC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FillRect(hdc: HDC, lprc: *const super::super::Foundation::RECT, hbr: HBRUSH) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FillRgn(hdc: HDC, hrgn: HRGN, hbr: HBRUSH) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FixBrushOrgEx(hdc: HDC, x: i32, y: i32, ptl: *const super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FlattenPath(hdc: HDC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FloodFill(hdc: HDC, x: i32, y: i32, color: super::super::Foundation::COLORREF) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FrameRect(hdc: HDC, lprc: *const super::super::Foundation::RECT, hbr: HBRUSH) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FrameRgn(hdc: HDC, hrgn: HRGN, hbr: HBRUSH, w: i32, h: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GdiAlphaBlend(hdcdest: HDC, xorigindest: i32, yorigindest: i32, wdest: i32, hdest: i32, hdcsrc: HDC, xoriginsrc: i32, yoriginsrc: i32, wsrc: i32, hsrc: i32, ftn: BLENDFUNCTION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GdiComment(hdc: HDC, nsize: u32, lpdata: *const u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GdiFlush() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GdiGetBatchLimit() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GdiGradientFill(hdc: HDC, pvertex: *const TRIVERTEX, nvertex: u32, pmesh: *const ::core::ffi::c_void, ncount: u32, ulmode: GRADIENT_FILL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GdiSetBatchLimit(dw: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GdiTransparentBlt(hdcdest: HDC, xorigindest: i32, yorigindest: i32, wdest: i32, hdest: i32, hdcsrc: HDC, xoriginsrc: i32, yoriginsrc: i32, wsrc: i32, hsrc: i32, crtransparent: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetArcDirection(hdc: HDC) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetAspectRatioFilterEx(hdc: HDC, lpsize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetBitmapBits(hbit: HBITMAP, cb: i32, lpvbits: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetBitmapDimensionEx(hbit: HBITMAP, lpsize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetBkColor(hdc: HDC) -> super::super::Foundation::COLORREF; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetBkMode(hdc: HDC) -> BACKGROUND_MODE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetBoundsRect(hdc: HDC, lprect: *mut super::super::Foundation::RECT, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetBrushOrgEx(hdc: HDC, lppt: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCharABCWidthsA(hdc: HDC, wfirst: u32, wlast: u32, lpabc: *mut ABC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCharABCWidthsFloatA(hdc: HDC, ifirst: u32, ilast: u32, lpabc: *mut ABCFLOAT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCharABCWidthsFloatW(hdc: HDC, ifirst: u32, ilast: u32, lpabc: *mut ABCFLOAT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCharABCWidthsI(hdc: HDC, gifirst: u32, cgi: u32, pgi: *const u16, pabc: *mut ABC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCharABCWidthsW(hdc: HDC, wfirst: u32, wlast: u32, lpabc: *mut ABC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCharWidth32A(hdc: HDC, ifirst: u32, ilast: u32, lpbuffer: *mut i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCharWidth32W(hdc: HDC, ifirst: u32, ilast: u32, lpbuffer: *mut i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCharWidthA(hdc: HDC, ifirst: u32, ilast: u32, lpbuffer: *mut i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCharWidthFloatA(hdc: HDC, ifirst: u32, ilast: u32, lpbuffer: *mut f32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCharWidthFloatW(hdc: HDC, ifirst: u32, ilast: u32, lpbuffer: *mut f32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCharWidthI(hdc: HDC, gifirst: u32, cgi: u32, pgi: *const u16, piwidths: *mut i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCharWidthW(hdc: HDC, ifirst: u32, ilast: u32, lpbuffer: *mut i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetCharacterPlacementA(hdc: HDC, lpstring: ::windows_sys::core::PCSTR, ncount: i32, nmexextent: i32, lpresults: *mut GCP_RESULTSA, dwflags: GET_CHARACTER_PLACEMENT_FLAGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetCharacterPlacementW(hdc: HDC, lpstring: ::windows_sys::core::PCWSTR, ncount: i32, nmexextent: i32, lpresults: *mut GCP_RESULTSW, dwflags: GET_CHARACTER_PLACEMENT_FLAGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetClipBox(hdc: HDC, lprect: *mut super::super::Foundation::RECT) -> GDI_REGION_TYPE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetClipRgn(hdc: HDC, hrgn: HRGN) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetColorAdjustment(hdc: HDC, lpca: *mut COLORADJUSTMENT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetCurrentObject(hdc: HDC, r#type: OBJ_TYPE) -> HGDIOBJ; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCurrentPositionEx(hdc: HDC, lppt: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDC(hwnd: super::super::Foundation::HWND) -> HDC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDCBrushColor(hdc: HDC) -> super::super::Foundation::COLORREF; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDCEx(hwnd: super::super::Foundation::HWND, hrgnclip: HRGN, flags: GET_DCX_FLAGS) -> HDC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDCOrgEx(hdc: HDC, lppt: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDCPenColor(hdc: HDC) -> super::super::Foundation::COLORREF; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetDIBColorTable(hdc: HDC, istart: u32, centries: u32, prgbq: *mut RGBQUAD) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetDIBits(hdc: HDC, hbm: HBITMAP, start: u32, clines: u32, lpvbits: *mut ::core::ffi::c_void, lpbmi: *mut BITMAPINFO, usage: DIB_USAGE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetDeviceCaps(hdc: HDC, index: GET_DEVICE_CAPS_INDEX) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetEnhMetaFileA(lpname: ::windows_sys::core::PCSTR) -> HENHMETAFILE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetEnhMetaFileBits(hemf: HENHMETAFILE, nsize: u32, lpdata: *mut u8) -> u32; - #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] - pub fn GetEnhMetaFileDescriptionA(hemf: HENHMETAFILE, cchbuffer: u32, lpdescription: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] + pub fn GetEnhMetaFileDescriptionA(hemf: HENHMETAFILE, cchbuffer: u32, lpdescription: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetEnhMetaFileDescriptionW(hemf: HENHMETAFILE, cchbuffer: u32, lpdescription: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetEnhMetaFileHeader(hemf: HENHMETAFILE, nsize: u32, lpenhmetaheader: *mut ENHMETAHEADER) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetEnhMetaFilePaletteEntries(hemf: HENHMETAFILE, nnumentries: u32, lppaletteentries: *mut PALETTEENTRY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetEnhMetaFileW(lpname: ::windows_sys::core::PCWSTR) -> HENHMETAFILE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetFontData(hdc: HDC, dwtable: u32, dwoffset: u32, pvbuffer: *mut ::core::ffi::c_void, cjbuffer: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetFontLanguageInfo(hdc: HDC) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetFontUnicodeRanges(hdc: HDC, lpgs: *mut GLYPHSET) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetGlyphIndicesA(hdc: HDC, lpstr: ::windows_sys::core::PCSTR, c: i32, pgi: *mut u16, fl: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetGlyphIndicesW(hdc: HDC, lpstr: ::windows_sys::core::PCWSTR, c: i32, pgi: *mut u16, fl: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetGlyphOutlineA(hdc: HDC, uchar: u32, fuformat: GET_GLYPH_OUTLINE_FORMAT, lpgm: *mut GLYPHMETRICS, cjbuffer: u32, pvbuffer: *mut ::core::ffi::c_void, lpmat2: *const MAT2) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetGlyphOutlineW(hdc: HDC, uchar: u32, fuformat: GET_GLYPH_OUTLINE_FORMAT, lpgm: *mut GLYPHMETRICS, cjbuffer: u32, pvbuffer: *mut ::core::ffi::c_void, lpmat2: *const MAT2) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetGraphicsMode(hdc: HDC) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetKerningPairsA(hdc: HDC, npairs: u32, lpkernpair: *mut KERNINGPAIR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetKerningPairsW(hdc: HDC, npairs: u32, lpkernpair: *mut KERNINGPAIR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetLayout(hdc: HDC) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetMapMode(hdc: HDC) -> HDC_MAP_MODE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetMetaFileA(lpname: ::windows_sys::core::PCSTR) -> HMETAFILE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetMetaFileBitsEx(hmf: HMETAFILE, cbbuffer: u32, lpdata: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetMetaFileW(lpname: ::windows_sys::core::PCWSTR) -> HMETAFILE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetMetaRgn(hdc: HDC, hrgn: HRGN) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetMiterLimit(hdc: HDC, plimit: *mut f32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetMonitorInfoA(hmonitor: HMONITOR, lpmi: *mut MONITORINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetMonitorInfoW(hmonitor: HMONITOR, lpmi: *mut MONITORINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNearestColor(hdc: HDC, color: super::super::Foundation::COLORREF) -> super::super::Foundation::COLORREF; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNearestPaletteIndex(h: HPALETTE, color: super::super::Foundation::COLORREF) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetObjectA(h: HGDIOBJ, c: i32, pv: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetObjectType(h: HGDIOBJ) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetObjectW(h: HGDIOBJ, c: i32, pv: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetOutlineTextMetricsA(hdc: HDC, cjcopy: u32, potm: *mut OUTLINETEXTMETRICA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetOutlineTextMetricsW(hdc: HDC, cjcopy: u32, potm: *mut OUTLINETEXTMETRICW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetPaletteEntries(hpal: HPALETTE, istart: u32, centries: u32, ppalentries: *mut PALETTEENTRY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPath(hdc: HDC, apt: *mut super::super::Foundation::POINT, aj: *mut u8, cpt: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPixel(hdc: HDC, x: i32, y: i32) -> super::super::Foundation::COLORREF; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetPolyFillMode(hdc: HDC) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetROP2(hdc: HDC) -> R2_MODE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetRandomRgn(hdc: HDC, hrgn: HRGN, i: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetRasterizerCaps(lpraststat: *mut RASTERIZER_STATUS, cjbytes: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetRegionData(hrgn: HRGN, ncount: u32, lprgndata: *mut RGNDATA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetRgnBox(hrgn: HRGN, lprc: *mut super::super::Foundation::RECT) -> GDI_REGION_TYPE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetStockObject(i: GET_STOCK_OBJECT_FLAGS) -> HGDIOBJ; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetStretchBltMode(hdc: HDC) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetSysColorBrush(nindex: i32) -> HBRUSH; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetSystemPaletteEntries(hdc: HDC, istart: u32, centries: u32, ppalentries: *mut PALETTEENTRY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetSystemPaletteUse(hdc: HDC) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetTabbedTextExtentA(hdc: HDC, lpstring: ::windows_sys::core::PCSTR, chcount: i32, ntabpositions: i32, lpntabstoppositions: *const i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetTabbedTextExtentW(hdc: HDC, lpstring: ::windows_sys::core::PCWSTR, chcount: i32, ntabpositions: i32, lpntabstoppositions: *const i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetTextAlign(hdc: HDC) -> TEXT_ALIGN_OPTIONS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetTextCharacterExtra(hdc: HDC) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTextColor(hdc: HDC) -> super::super::Foundation::COLORREF; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTextExtentExPointA(hdc: HDC, lpszstring: ::windows_sys::core::PCSTR, cchstring: i32, nmaxextent: i32, lpnfit: *mut i32, lpndx: *mut i32, lpsize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTextExtentExPointI(hdc: HDC, lpwszstring: *const u16, cwchstring: i32, nmaxextent: i32, lpnfit: *mut i32, lpndx: *mut i32, lpsize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTextExtentExPointW(hdc: HDC, lpszstring: ::windows_sys::core::PCWSTR, cchstring: i32, nmaxextent: i32, lpnfit: *mut i32, lpndx: *mut i32, lpsize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTextExtentPoint32A(hdc: HDC, lpstring: ::windows_sys::core::PCSTR, c: i32, psizl: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTextExtentPoint32W(hdc: HDC, lpstring: ::windows_sys::core::PCWSTR, c: i32, psizl: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTextExtentPointA(hdc: HDC, lpstring: ::windows_sys::core::PCSTR, c: i32, lpsz: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTextExtentPointI(hdc: HDC, pgiin: *const u16, cgi: i32, psize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTextExtentPointW(hdc: HDC, lpstring: ::windows_sys::core::PCWSTR, c: i32, lpsz: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetTextFaceA(hdc: HDC, c: i32, lpname: ::windows_sys::core::PSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetTextFaceW(hdc: HDC, c: i32, lpname: ::windows_sys::core::PWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTextMetricsA(hdc: HDC, lptm: *mut TEXTMETRICA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTextMetricsW(hdc: HDC, lptm: *mut TEXTMETRICW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUpdateRect(hwnd: super::super::Foundation::HWND, lprect: *mut super::super::Foundation::RECT, berase: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUpdateRgn(hwnd: super::super::Foundation::HWND, hrgn: HRGN, berase: super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetViewportExtEx(hdc: HDC, lpsize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetViewportOrgEx(hdc: HDC, lppoint: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn GetWinMetaFileBits(hemf: HENHMETAFILE, cbdata16: u32, pdata16: *mut u8, imapmode: i32, hdcref: HDC) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowDC(hwnd: super::super::Foundation::HWND) -> HDC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowExtEx(hdc: HDC, lpsize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowOrgEx(hdc: HDC, lppoint: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowRgn(hwnd: super::super::Foundation::HWND, hrgn: HRGN) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowRgnBox(hwnd: super::super::Foundation::HWND, lprc: *mut super::super::Foundation::RECT) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWorldTransform(hdc: HDC, lpxf: *mut XFORM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GradientFill(hdc: HDC, pvertex: *const TRIVERTEX, nvertex: u32, pmesh: *const ::core::ffi::c_void, nmesh: u32, ulmode: GRADIENT_FILL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GrayStringA(hdc: HDC, hbrush: HBRUSH, lpoutputfunc: GRAYSTRINGPROC, lpdata: super::super::Foundation::LPARAM, ncount: i32, x: i32, y: i32, nwidth: i32, nheight: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GrayStringW(hdc: HDC, hbrush: HBRUSH, lpoutputfunc: GRAYSTRINGPROC, lpdata: super::super::Foundation::LPARAM, ncount: i32, x: i32, y: i32, nwidth: i32, nheight: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InflateRect(lprc: *mut super::super::Foundation::RECT, dx: i32, dy: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn IntersectClipRect(hdc: HDC, left: i32, top: i32, right: i32, bottom: i32) -> GDI_REGION_TYPE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IntersectRect(lprcdst: *mut super::super::Foundation::RECT, lprcsrc1: *const super::super::Foundation::RECT, lprcsrc2: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InvalidateRect(hwnd: super::super::Foundation::HWND, lprect: *const super::super::Foundation::RECT, berase: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InvalidateRgn(hwnd: super::super::Foundation::HWND, hrgn: HRGN, berase: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InvertRect(hdc: HDC, lprc: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InvertRgn(hdc: HDC, hrgn: HRGN) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsRectEmpty(lprc: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LPtoDP(hdc: HDC, lppt: *mut super::super::Foundation::POINT, c: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LineDDA(xstart: i32, ystart: i32, xend: i32, yend: i32, lpproc: LINEDDAPROC, data: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LineTo(hdc: HDC, x: i32, y: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadBitmapA(hinstance: super::super::Foundation::HINSTANCE, lpbitmapname: ::windows_sys::core::PCSTR) -> HBITMAP; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadBitmapW(hinstance: super::super::Foundation::HINSTANCE, lpbitmapname: ::windows_sys::core::PCWSTR) -> HBITMAP; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LockWindowUpdate(hwndlock: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MapWindowPoints(hwndfrom: super::super::Foundation::HWND, hwndto: super::super::Foundation::HWND, lppoints: *mut super::super::Foundation::POINT, cpoints: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MaskBlt(hdcdest: HDC, xdest: i32, ydest: i32, width: i32, height: i32, hdcsrc: HDC, xsrc: i32, ysrc: i32, hbmmask: HBITMAP, xmask: i32, ymask: i32, rop: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn MergeFontPackage(puchmergefontbuffer: *const u8, ulmergefontbuffersize: u32, puchfontpackagebuffer: *const u8, ulfontpackagebuffersize: u32, ppuchdestbuffer: *mut *mut u8, puldestbuffersize: *mut u32, pulbyteswritten: *mut u32, usmode: u16, lpfnallocate: CFP_ALLOCPROC, lpfnreallocate: CFP_REALLOCPROC, lpfnfree: CFP_FREEPROC, lpvreserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ModifyWorldTransform(hdc: HDC, lpxf: *const XFORM, mode: MODIFY_WORLD_TRANSFORM_MODE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MonitorFromPoint(pt: super::super::Foundation::POINT, dwflags: MONITOR_FROM_FLAGS) -> HMONITOR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MonitorFromRect(lprc: *const super::super::Foundation::RECT, dwflags: MONITOR_FROM_FLAGS) -> HMONITOR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MonitorFromWindow(hwnd: super::super::Foundation::HWND, dwflags: MONITOR_FROM_FLAGS) -> HMONITOR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MoveToEx(hdc: HDC, x: i32, y: i32, lppt: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn OffsetClipRgn(hdc: HDC, x: i32, y: i32) -> GDI_REGION_TYPE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OffsetRect(lprc: *mut super::super::Foundation::RECT, dx: i32, dy: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn OffsetRgn(hrgn: HRGN, x: i32, y: i32) -> GDI_REGION_TYPE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OffsetViewportOrgEx(hdc: HDC, x: i32, y: i32, lppt: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OffsetWindowOrgEx(hdc: HDC, x: i32, y: i32, lppt: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PaintDesktop(hdc: HDC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PaintRgn(hdc: HDC, hrgn: HRGN) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PatBlt(hdc: HDC, x: i32, y: i32, w: i32, h: i32, rop: ROP_CODE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn PathToRegion(hdc: HDC) -> HRGN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Pie(hdc: HDC, left: i32, top: i32, right: i32, bottom: i32, xr1: i32, yr1: i32, xr2: i32, yr2: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PlayEnhMetaFile(hdc: HDC, hmf: HENHMETAFILE, lprect: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PlayEnhMetaFileRecord(hdc: HDC, pht: *const HANDLETABLE, pmr: *const ENHMETARECORD, cht: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PlayMetaFile(hdc: HDC, hmf: HMETAFILE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PlayMetaFileRecord(hdc: HDC, lphandletable: *const HANDLETABLE, lpmr: *const METARECORD, noobjs: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PlgBlt(hdcdest: HDC, lppoint: *const super::super::Foundation::POINT, hdcsrc: HDC, xsrc: i32, ysrc: i32, width: i32, height: i32, hbmmask: HBITMAP, xmask: i32, ymask: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PolyBezier(hdc: HDC, apt: *const super::super::Foundation::POINT, cpt: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PolyBezierTo(hdc: HDC, apt: *const super::super::Foundation::POINT, cpt: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PolyDraw(hdc: HDC, apt: *const super::super::Foundation::POINT, aj: *const u8, cpt: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PolyPolygon(hdc: HDC, apt: *const super::super::Foundation::POINT, asz: *const i32, csz: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PolyPolyline(hdc: HDC, apt: *const super::super::Foundation::POINT, asz: *const u32, csz: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PolyTextOutA(hdc: HDC, ppt: *const POLYTEXTA, nstrings: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PolyTextOutW(hdc: HDC, ppt: *const POLYTEXTW, nstrings: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Polygon(hdc: HDC, apt: *const super::super::Foundation::POINT, cpt: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Polyline(hdc: HDC, apt: *const super::super::Foundation::POINT, cpt: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PolylineTo(hdc: HDC, apt: *const super::super::Foundation::POINT, cpt: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PtInRect(lprc: *const super::super::Foundation::RECT, pt: super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PtInRegion(hrgn: HRGN, x: i32, y: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PtVisible(hdc: HDC, x: i32, y: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn RealizePalette(hdc: HDC) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RectInRegion(hrgn: HRGN, lprect: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RectVisible(hdc: HDC, lprect: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Rectangle(hdc: HDC, left: i32, top: i32, right: i32, bottom: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RedrawWindow(hwnd: super::super::Foundation::HWND, lprcupdate: *const super::super::Foundation::RECT, hrgnupdate: HRGN, flags: REDRAW_WINDOW_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReleaseDC(hwnd: super::super::Foundation::HWND, hdc: HDC) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveFontMemResourceEx(h: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveFontResourceA(lpfilename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveFontResourceExA(name: ::windows_sys::core::PCSTR, fl: u32, pdv: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveFontResourceExW(name: ::windows_sys::core::PCWSTR, fl: u32, pdv: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveFontResourceW(lpfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResetDCA(hdc: HDC, lpdm: *const DEVMODEA) -> HDC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResetDCW(hdc: HDC, lpdm: *const DEVMODEW) -> HDC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResizePalette(hpal: HPALETTE, n: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RestoreDC(hdc: HDC, nsaveddc: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RoundRect(hdc: HDC, left: i32, top: i32, right: i32, bottom: i32, width: i32, height: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SaveDC(hdc: HDC) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ScaleViewportExtEx(hdc: HDC, xn: i32, dx: i32, yn: i32, yd: i32, lpsz: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ScaleWindowExtEx(hdc: HDC, xn: i32, xd: i32, yn: i32, yd: i32, lpsz: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ScreenToClient(hwnd: super::super::Foundation::HWND, lppoint: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SelectClipPath(hdc: HDC, mode: RGN_COMBINE_MODE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SelectClipRgn(hdc: HDC, hrgn: HRGN) -> GDI_REGION_TYPE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SelectObject(hdc: HDC, h: HGDIOBJ) -> HGDIOBJ; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SelectPalette(hdc: HDC, hpal: HPALETTE, bforcebkgd: super::super::Foundation::BOOL) -> HPALETTE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SetArcDirection(hdc: HDC, dir: ARC_DIRECTION) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SetBitmapBits(hbm: HBITMAP, cb: u32, pvbits: *const ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetBitmapDimensionEx(hbm: HBITMAP, w: i32, h: i32, lpsz: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetBkColor(hdc: HDC, color: super::super::Foundation::COLORREF) -> super::super::Foundation::COLORREF; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SetBkMode(hdc: HDC, mode: BACKGROUND_MODE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetBoundsRect(hdc: HDC, lprect: *const super::super::Foundation::RECT, flags: SET_BOUNDS_RECT_FLAGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetBrushOrgEx(hdc: HDC, x: i32, y: i32, lppt: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetColorAdjustment(hdc: HDC, lpca: *const COLORADJUSTMENT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetDCBrushColor(hdc: HDC, color: super::super::Foundation::COLORREF) -> super::super::Foundation::COLORREF; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetDCPenColor(hdc: HDC, color: super::super::Foundation::COLORREF) -> super::super::Foundation::COLORREF; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SetDIBColorTable(hdc: HDC, istart: u32, centries: u32, prgbq: *const RGBQUAD) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SetDIBits(hdc: HDC, hbm: HBITMAP, start: u32, clines: u32, lpbits: *const ::core::ffi::c_void, lpbmi: *const BITMAPINFO, coloruse: DIB_USAGE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SetDIBitsToDevice(hdc: HDC, xdest: i32, ydest: i32, w: u32, h: u32, xsrc: i32, ysrc: i32, startscan: u32, clines: u32, lpvbits: *const ::core::ffi::c_void, lpbmi: *const BITMAPINFO, coloruse: DIB_USAGE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SetEnhMetaFileBits(nsize: u32, pb: *const u8) -> HENHMETAFILE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SetGraphicsMode(hdc: HDC, imode: GRAPHICS_MODE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SetLayout(hdc: HDC, l: DC_LAYOUT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SetMapMode(hdc: HDC, imode: HDC_MAP_MODE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SetMapperFlags(hdc: HDC, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SetMetaFileBitsEx(cbbuffer: u32, lpdata: *const u8) -> HMETAFILE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SetMetaRgn(hdc: HDC) -> GDI_REGION_TYPE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetMiterLimit(hdc: HDC, limit: f32, old: *mut f32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SetPaletteEntries(hpal: HPALETTE, istart: u32, centries: u32, ppalentries: *const PALETTEENTRY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetPixel(hdc: HDC, x: i32, y: i32, color: super::super::Foundation::COLORREF) -> super::super::Foundation::COLORREF; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetPixelV(hdc: HDC, x: i32, y: i32, color: super::super::Foundation::COLORREF) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SetPolyFillMode(hdc: HDC, mode: CREATE_POLYGON_RGN_MODE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SetROP2(hdc: HDC, rop2: R2_MODE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetRect(lprc: *mut super::super::Foundation::RECT, xleft: i32, ytop: i32, xright: i32, ybottom: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetRectEmpty(lprc: *mut super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetRectRgn(hrgn: HRGN, left: i32, top: i32, right: i32, bottom: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SetStretchBltMode(hdc: HDC, mode: STRETCH_BLT_MODE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SetSystemPaletteUse(hdc: HDC, r#use: SYSTEM_PALETTE_USE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SetTextAlign(hdc: HDC, align: TEXT_ALIGN_OPTIONS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn SetTextCharacterExtra(hdc: HDC, extra: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetTextColor(hdc: HDC, color: super::super::Foundation::COLORREF) -> super::super::Foundation::COLORREF; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetTextJustification(hdc: HDC, extra: i32, count: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetViewportExtEx(hdc: HDC, x: i32, y: i32, lpsz: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetViewportOrgEx(hdc: HDC, x: i32, y: i32, lppt: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWindowExtEx(hdc: HDC, x: i32, y: i32, lpsz: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWindowOrgEx(hdc: HDC, x: i32, y: i32, lppt: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWindowRgn(hwnd: super::super::Foundation::HWND, hrgn: HRGN, bredraw: super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWorldTransform(hdc: HDC, lpxf: *const XFORM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StretchBlt(hdcdest: HDC, xdest: i32, ydest: i32, wdest: i32, hdest: i32, hdcsrc: HDC, xsrc: i32, ysrc: i32, wsrc: i32, hsrc: i32, rop: ROP_CODE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn StretchDIBits(hdc: HDC, xdest: i32, ydest: i32, destwidth: i32, destheight: i32, xsrc: i32, ysrc: i32, srcwidth: i32, srcheight: i32, lpbits: *const ::core::ffi::c_void, lpbmi: *const BITMAPINFO, iusage: DIB_USAGE, rop: ROP_CODE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StrokeAndFillPath(hdc: HDC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StrokePath(hdc: HDC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SubtractRect(lprcdst: *mut super::super::Foundation::RECT, lprcsrc1: *const super::super::Foundation::RECT, lprcsrc2: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn TTCharToUnicode(hdc: HDC, puccharcodes: *const u8, ulcharcodesize: u32, pusshortcodes: *mut u16, ulshortcodesize: u32, ulflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TTDeleteEmbeddedFont(hfontreference: super::super::Foundation::HANDLE, ulflags: u32, pulstatus: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn TTEmbedFont(hdc: HDC, ulflags: TTEMBED_FLAGS, ulcharset: EMBED_FONT_CHARSET, pulprivstatus: *mut EMBEDDED_FONT_PRIV_STATUS, pulstatus: *mut u32, lpfnwritetostream: WRITEEMBEDPROC, lpvwritestream: *const ::core::ffi::c_void, puscharcodeset: *const u16, uscharcodecount: u16, uslanguage: u16, pttembedinfo: *const TTEMBEDINFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn TTEmbedFontEx(hdc: HDC, ulflags: TTEMBED_FLAGS, ulcharset: EMBED_FONT_CHARSET, pulprivstatus: *mut EMBEDDED_FONT_PRIV_STATUS, pulstatus: *mut u32, lpfnwritetostream: WRITEEMBEDPROC, lpvwritestream: *const ::core::ffi::c_void, pulcharcodeset: *const u32, uscharcodecount: u16, uslanguage: u16, pttembedinfo: *const TTEMBEDINFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn TTEmbedFontFromFileA(hdc: HDC, szfontfilename: ::windows_sys::core::PCSTR, usttcindex: u16, ulflags: TTEMBED_FLAGS, ulcharset: EMBED_FONT_CHARSET, pulprivstatus: *mut EMBEDDED_FONT_PRIV_STATUS, pulstatus: *mut u32, lpfnwritetostream: WRITEEMBEDPROC, lpvwritestream: *const ::core::ffi::c_void, puscharcodeset: *const u16, uscharcodecount: u16, uslanguage: u16, pttembedinfo: *const TTEMBEDINFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TTEnableEmbeddingForFacename(lpszfacename: ::windows_sys::core::PCSTR, benable: super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn TTGetEmbeddedFontInfo(ulflags: TTEMBED_FLAGS, pulprivstatus: *mut u32, ulprivs: FONT_LICENSE_PRIVS, pulstatus: *mut u32, lpfnreadfromstream: READEMBEDPROC, lpvreadstream: *const ::core::ffi::c_void, pttloadinfo: *const TTLOADINFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn TTGetEmbeddingType(hdc: HDC, pulembedtype: *mut EMBEDDED_FONT_PRIV_STATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TTGetNewFontName(phfontreference: *const super::super::Foundation::HANDLE, wzwinfamilyname: ::windows_sys::core::PWSTR, cchmaxwinname: i32, szmacfamilyname: ::windows_sys::core::PSTR, cchmaxmacname: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TTIsEmbeddingEnabled(hdc: HDC, pbenabled: *mut super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TTIsEmbeddingEnabledForFacename(lpszfacename: ::windows_sys::core::PCSTR, pbenabled: *mut super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TTLoadEmbeddedFont(phfontreference: *mut super::super::Foundation::HANDLE, ulflags: u32, pulprivstatus: *mut EMBEDDED_FONT_PRIV_STATUS, ulprivs: FONT_LICENSE_PRIVS, pulstatus: *mut TTLOAD_EMBEDDED_FONT_STATUS, lpfnreadfromstream: READEMBEDPROC, lpvreadstream: *const ::core::ffi::c_void, szwinfamilyname: ::windows_sys::core::PCWSTR, szmacfamilyname: ::windows_sys::core::PCSTR, pttloadinfo: *const TTLOADINFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn TTRunValidationTests(hdc: HDC, ptestparam: *const TTVALIDATIONTESTSPARAMS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn TTRunValidationTestsEx(hdc: HDC, ptestparam: *const TTVALIDATIONTESTSPARAMSEX) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn TabbedTextOutA(hdc: HDC, x: i32, y: i32, lpstring: ::windows_sys::core::PCSTR, chcount: i32, ntabpositions: i32, lpntabstoppositions: *const i32, ntaborigin: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn TabbedTextOutW(hdc: HDC, x: i32, y: i32, lpstring: ::windows_sys::core::PCWSTR, chcount: i32, ntabpositions: i32, lpntabstoppositions: *const i32, ntaborigin: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TextOutA(hdc: HDC, x: i32, y: i32, lpstring: ::windows_sys::core::PCSTR, c: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TextOutW(hdc: HDC, x: i32, y: i32, lpstring: ::windows_sys::core::PCWSTR, c: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TransparentBlt(hdcdest: HDC, xorigindest: i32, yorigindest: i32, wdest: i32, hdest: i32, hdcsrc: HDC, xoriginsrc: i32, yoriginsrc: i32, wsrc: i32, hsrc: i32, crtransparent: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnionRect(lprcdst: *mut super::super::Foundation::RECT, lprcsrc1: *const super::super::Foundation::RECT, lprcsrc2: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnrealizeObject(h: HGDIOBJ) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UpdateColors(hdc: HDC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UpdateWindow(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ValidateRect(hwnd: super::super::Foundation::HWND, lprect: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ValidateRgn(hwnd: super::super::Foundation::HWND, hrgn: HRGN) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WidenPath(hdc: HDC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WindowFromDC(hdc: HDC) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] pub fn wglSwapMultipleBuffers(param0: u32, param1: *const WGLSWAP) -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/Imaging/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/Imaging/mod.rs index 0433a12755..a2f9d94509 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/Imaging/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/Imaging/mod.rs @@ -4,23 +4,47 @@ pub mod D2D; extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] pub fn WICConvertBitmapSource(dstformat: *const ::windows_sys::core::GUID, pisrc: IWICBitmapSource, ppidst: *mut IWICBitmapSource) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WICCreateBitmapFromSection(width: u32, height: u32, pixelformat: *const ::windows_sys::core::GUID, hsection: super::super::Foundation::HANDLE, stride: u32, offset: u32, ppibitmap: *mut IWICBitmap) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WICCreateBitmapFromSectionEx(width: u32, height: u32, pixelformat: *const ::windows_sys::core::GUID, hsection: super::super::Foundation::HANDLE, stride: u32, offset: u32, desiredaccesslevel: WICSectionAccessLevel, ppibitmap: *mut IWICBitmap) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] pub fn WICGetMetadataContentSize(guidcontainerformat: *const ::windows_sys::core::GUID, piwriter: IWICMetadataWriter, pcbsize: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] pub fn WICMapGuidToShortName(guid: *const ::windows_sys::core::GUID, cchname: u32, wzname: ::windows_sys::core::PWSTR, pcchactual: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] pub fn WICMapSchemaToName(guidmetadataformat: *const ::windows_sys::core::GUID, pwzschema: ::windows_sys::core::PCWSTR, cchname: u32, wzname: ::windows_sys::core::PWSTR, pcchactual: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] pub fn WICMapShortNameToGuid(wzname: ::windows_sys::core::PCWSTR, pguid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn WICMatchMetadataContent(guidcontainerformat: *const ::windows_sys::core::GUID, pguidvendor: *const ::windows_sys::core::GUID, pistream: super::super::System::Com::IStream, pguidmetadataformat: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn WICSerializeMetadataContent(guidcontainerformat: *const ::windows_sys::core::GUID, piwriter: IWICMetadataWriter, dwpersistoptions: u32, pistream: super::super::System::Com::IStream) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/OpenGL/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/OpenGL/mod.rs index d95ea8940b..470c3b8274 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/OpenGL/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/OpenGL/mod.rs @@ -3,847 +3,2080 @@ extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ChoosePixelFormat(hdc: super::Gdi::HDC, ppfd: *const PIXELFORMATDESCRIPTOR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn DescribePixelFormat(hdc: super::Gdi::HDC, ipixelformat: PFD_PIXEL_TYPE, nbytes: u32, ppfd: *mut PIXELFORMATDESCRIPTOR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn GetEnhMetaFilePixelFormat(hemf: super::Gdi::HENHMETAFILE, cbbuffer: u32, ppfd: *mut PIXELFORMATDESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn GetPixelFormat(hdc: super::Gdi::HDC) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn SetPixelFormat(hdc: super::Gdi::HDC, format: i32, ppfd: *const PIXELFORMATDESCRIPTOR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn SwapBuffers(param0: super::Gdi::HDC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glAccum(op: u32, value: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glAlphaFunc(func: u32, r#ref: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glAreTexturesResident(n: i32, textures: *const u32, residences: *mut u8) -> u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glArrayElement(i: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glBegin(mode: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glBindTexture(target: u32, texture: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glBitmap(width: i32, height: i32, xorig: f32, yorig: f32, xmove: f32, ymove: f32, bitmap: *const u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glBlendFunc(sfactor: u32, dfactor: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glCallList(list: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glCallLists(n: i32, r#type: u32, lists: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glClear(mask: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glClearAccum(red: f32, green: f32, blue: f32, alpha: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glClearColor(red: f32, green: f32, blue: f32, alpha: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glClearDepth(depth: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glClearIndex(c: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glClearStencil(s: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glClipPlane(plane: u32, equation: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor3b(red: i8, green: i8, blue: i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor3bv(v: *const i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor3d(red: f64, green: f64, blue: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor3dv(v: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor3f(red: f32, green: f32, blue: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor3fv(v: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor3i(red: i32, green: i32, blue: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor3iv(v: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor3s(red: i16, green: i16, blue: i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor3sv(v: *const i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor3ub(red: u8, green: u8, blue: u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor3ubv(v: *const u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor3ui(red: u32, green: u32, blue: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor3uiv(v: *const u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor3us(red: u16, green: u16, blue: u16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor3usv(v: *const u16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor4b(red: i8, green: i8, blue: i8, alpha: i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor4bv(v: *const i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor4d(red: f64, green: f64, blue: f64, alpha: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor4dv(v: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor4f(red: f32, green: f32, blue: f32, alpha: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor4fv(v: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor4i(red: i32, green: i32, blue: i32, alpha: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor4iv(v: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor4s(red: i16, green: i16, blue: i16, alpha: i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor4sv(v: *const i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor4ub(red: u8, green: u8, blue: u8, alpha: u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor4ubv(v: *const u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor4ui(red: u32, green: u32, blue: u32, alpha: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor4uiv(v: *const u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor4us(red: u16, green: u16, blue: u16, alpha: u16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColor4usv(v: *const u16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColorMask(red: u8, green: u8, blue: u8, alpha: u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColorMaterial(face: u32, mode: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glColorPointer(size: i32, r#type: u32, stride: i32, pointer: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glCopyPixels(x: i32, y: i32, width: i32, height: i32, r#type: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glCopyTexImage1D(target: u32, level: i32, internalformat: u32, x: i32, y: i32, width: i32, border: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glCopyTexImage2D(target: u32, level: i32, internalformat: u32, x: i32, y: i32, width: i32, height: i32, border: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glCopyTexSubImage1D(target: u32, level: i32, xoffset: i32, x: i32, y: i32, width: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glCopyTexSubImage2D(target: u32, level: i32, xoffset: i32, yoffset: i32, x: i32, y: i32, width: i32, height: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glCullFace(mode: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glDeleteLists(list: u32, range: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glDeleteTextures(n: i32, textures: *const u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glDepthFunc(func: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glDepthMask(flag: u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glDepthRange(znear: f64, zfar: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glDisable(cap: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glDisableClientState(array: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glDrawArrays(mode: u32, first: i32, count: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glDrawBuffer(mode: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glDrawElements(mode: u32, count: i32, r#type: u32, indices: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glDrawPixels(width: i32, height: i32, format: u32, r#type: u32, pixels: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glEdgeFlag(flag: u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glEdgeFlagPointer(stride: i32, pointer: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glEdgeFlagv(flag: *const u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glEnable(cap: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glEnableClientState(array: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glEnd(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glEndList(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glEvalCoord1d(u: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glEvalCoord1dv(u: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glEvalCoord1f(u: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glEvalCoord1fv(u: *const f32); - #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glEvalCoord2d(u: f64, v: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glEvalCoord2dv(u: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glEvalCoord2f(u: f32, v: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glEvalCoord2fv(u: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glEvalMesh1(mode: u32, i1: i32, i2: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glEvalMesh2(mode: u32, i1: i32, i2: i32, j1: i32, j2: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glEvalPoint1(i: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glEvalPoint2(i: i32, j: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glFeedbackBuffer(size: i32, r#type: u32, buffer: *mut f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glFinish(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glFlush(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glFogf(pname: u32, param1: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glFogfv(pname: u32, params: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glFogi(pname: u32, param1: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glFogiv(pname: u32, params: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glFrontFace(mode: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glFrustum(left: f64, right: f64, bottom: f64, top: f64, znear: f64, zfar: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGenLists(range: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGenTextures(n: i32, textures: *mut u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetBooleanv(pname: u32, params: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetClipPlane(plane: u32, equation: *mut f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetDoublev(pname: u32, params: *mut f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetError() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetFloatv(pname: u32, params: *mut f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetIntegerv(pname: u32, params: *mut i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetLightfv(light: u32, pname: u32, params: *mut f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetLightiv(light: u32, pname: u32, params: *mut i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetMapdv(target: u32, query: u32, v: *mut f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetMapfv(target: u32, query: u32, v: *mut f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetMapiv(target: u32, query: u32, v: *mut i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetMaterialfv(face: u32, pname: u32, params: *mut f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetMaterialiv(face: u32, pname: u32, params: *mut i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetPixelMapfv(map: u32, values: *mut f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetPixelMapuiv(map: u32, values: *mut u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetPixelMapusv(map: u32, values: *mut u16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetPointerv(pname: u32, params: *mut *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetPolygonStipple(mask: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetString(name: u32) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetTexEnvfv(target: u32, pname: u32, params: *mut f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetTexEnviv(target: u32, pname: u32, params: *mut i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetTexGendv(coord: u32, pname: u32, params: *mut f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetTexGenfv(coord: u32, pname: u32, params: *mut f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetTexGeniv(coord: u32, pname: u32, params: *mut i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetTexImage(target: u32, level: i32, format: u32, r#type: u32, pixels: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetTexLevelParameterfv(target: u32, level: i32, pname: u32, params: *mut f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetTexLevelParameteriv(target: u32, level: i32, pname: u32, params: *mut i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetTexParameterfv(target: u32, pname: u32, params: *mut f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glGetTexParameteriv(target: u32, pname: u32, params: *mut i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glHint(target: u32, mode: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glIndexMask(mask: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glIndexPointer(r#type: u32, stride: i32, pointer: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glIndexd(c: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glIndexdv(c: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glIndexf(c: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glIndexfv(c: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glIndexi(c: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glIndexiv(c: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glIndexs(c: i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glIndexsv(c: *const i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glIndexub(c: u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glIndexubv(c: *const u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glInitNames(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glInterleavedArrays(format: u32, stride: i32, pointer: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glIsEnabled(cap: u32) -> u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glIsList(list: u32) -> u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glIsTexture(texture: u32) -> u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glLightModelf(pname: u32, param1: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glLightModelfv(pname: u32, params: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glLightModeli(pname: u32, param1: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glLightModeliv(pname: u32, params: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glLightf(light: u32, pname: u32, param2: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glLightfv(light: u32, pname: u32, params: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glLighti(light: u32, pname: u32, param2: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glLightiv(light: u32, pname: u32, params: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glLineStipple(factor: i32, pattern: u16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glLineWidth(width: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glListBase(base: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glLoadIdentity(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glLoadMatrixd(m: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glLoadMatrixf(m: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glLoadName(name: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glLogicOp(opcode: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glMap1d(target: u32, u1: f64, u2: f64, stride: i32, order: i32, points: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glMap1f(target: u32, u1: f32, u2: f32, stride: i32, order: i32, points: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glMap2d(target: u32, u1: f64, u2: f64, ustride: i32, uorder: i32, v1: f64, v2: f64, vstride: i32, vorder: i32, points: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glMap2f(target: u32, u1: f32, u2: f32, ustride: i32, uorder: i32, v1: f32, v2: f32, vstride: i32, vorder: i32, points: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glMapGrid1d(un: i32, u1: f64, u2: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glMapGrid1f(un: i32, u1: f32, u2: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glMapGrid2d(un: i32, u1: f64, u2: f64, vn: i32, v1: f64, v2: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glMapGrid2f(un: i32, u1: f32, u2: f32, vn: i32, v1: f32, v2: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glMaterialf(face: u32, pname: u32, param2: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glMaterialfv(face: u32, pname: u32, params: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glMateriali(face: u32, pname: u32, param2: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glMaterialiv(face: u32, pname: u32, params: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glMatrixMode(mode: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glMultMatrixd(m: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glMultMatrixf(m: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glNewList(list: u32, mode: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glNormal3b(nx: i8, ny: i8, nz: i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glNormal3bv(v: *const i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glNormal3d(nx: f64, ny: f64, nz: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glNormal3dv(v: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glNormal3f(nx: f32, ny: f32, nz: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glNormal3fv(v: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glNormal3i(nx: i32, ny: i32, nz: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glNormal3iv(v: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glNormal3s(nx: i16, ny: i16, nz: i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glNormal3sv(v: *const i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glNormalPointer(r#type: u32, stride: i32, pointer: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glOrtho(left: f64, right: f64, bottom: f64, top: f64, znear: f64, zfar: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glPassThrough(token: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glPixelMapfv(map: u32, mapsize: i32, values: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glPixelMapuiv(map: u32, mapsize: i32, values: *const u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glPixelMapusv(map: u32, mapsize: i32, values: *const u16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glPixelStoref(pname: u32, param1: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glPixelStorei(pname: u32, param1: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glPixelTransferf(pname: u32, param1: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glPixelTransferi(pname: u32, param1: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glPixelZoom(xfactor: f32, yfactor: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glPointSize(size: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glPolygonMode(face: u32, mode: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glPolygonOffset(factor: f32, units: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glPolygonStipple(mask: *const u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glPopAttrib(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glPopClientAttrib(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glPopMatrix(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glPopName(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glPrioritizeTextures(n: i32, textures: *const u32, priorities: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glPushAttrib(mask: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glPushClientAttrib(mask: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glPushMatrix(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glPushName(name: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos2d(x: f64, y: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos2dv(v: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos2f(x: f32, y: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos2fv(v: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos2i(x: i32, y: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos2iv(v: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos2s(x: i16, y: i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos2sv(v: *const i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos3d(x: f64, y: f64, z: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos3dv(v: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos3f(x: f32, y: f32, z: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos3fv(v: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos3i(x: i32, y: i32, z: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos3iv(v: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos3s(x: i16, y: i16, z: i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos3sv(v: *const i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos4d(x: f64, y: f64, z: f64, w: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos4dv(v: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos4f(x: f32, y: f32, z: f32, w: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos4fv(v: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos4i(x: i32, y: i32, z: i32, w: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos4iv(v: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos4s(x: i16, y: i16, z: i16, w: i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRasterPos4sv(v: *const i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glReadBuffer(mode: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glReadPixels(x: i32, y: i32, width: i32, height: i32, format: u32, r#type: u32, pixels: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRectd(x1: f64, y1: f64, x2: f64, y2: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRectdv(v1: *const f64, v2: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRectf(x1: f32, y1: f32, x2: f32, y2: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRectfv(v1: *const f32, v2: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRecti(x1: i32, y1: i32, x2: i32, y2: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRectiv(v1: *const i32, v2: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRects(x1: i16, y1: i16, x2: i16, y2: i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRectsv(v1: *const i16, v2: *const i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRenderMode(mode: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRotated(angle: f64, x: f64, y: f64, z: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glRotatef(angle: f32, x: f32, y: f32, z: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glScaled(x: f64, y: f64, z: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glScalef(x: f32, y: f32, z: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glScissor(x: i32, y: i32, width: i32, height: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glSelectBuffer(size: i32, buffer: *mut u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glShadeModel(mode: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glStencilFunc(func: u32, r#ref: i32, mask: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glStencilMask(mask: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glStencilOp(fail: u32, zfail: u32, zpass: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord1d(s: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord1dv(v: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord1f(s: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord1fv(v: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord1i(s: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord1iv(v: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord1s(s: i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord1sv(v: *const i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord2d(s: f64, t: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord2dv(v: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord2f(s: f32, t: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord2fv(v: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord2i(s: i32, t: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord2iv(v: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord2s(s: i16, t: i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord2sv(v: *const i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord3d(s: f64, t: f64, r: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord3dv(v: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord3f(s: f32, t: f32, r: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord3fv(v: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord3i(s: i32, t: i32, r: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord3iv(v: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord3s(s: i16, t: i16, r: i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord3sv(v: *const i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord4d(s: f64, t: f64, r: f64, q: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord4dv(v: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord4f(s: f32, t: f32, r: f32, q: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord4fv(v: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord4i(s: i32, t: i32, r: i32, q: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord4iv(v: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord4s(s: i16, t: i16, r: i16, q: i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoord4sv(v: *const i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexCoordPointer(size: i32, r#type: u32, stride: i32, pointer: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexEnvf(target: u32, pname: u32, param2: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexEnvfv(target: u32, pname: u32, params: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexEnvi(target: u32, pname: u32, param2: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexEnviv(target: u32, pname: u32, params: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexGend(coord: u32, pname: u32, param2: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexGendv(coord: u32, pname: u32, params: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexGenf(coord: u32, pname: u32, param2: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexGenfv(coord: u32, pname: u32, params: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexGeni(coord: u32, pname: u32, param2: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexGeniv(coord: u32, pname: u32, params: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexImage1D(target: u32, level: i32, internalformat: i32, width: i32, border: i32, format: u32, r#type: u32, pixels: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexImage2D(target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, r#type: u32, pixels: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexParameterf(target: u32, pname: u32, param2: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexParameterfv(target: u32, pname: u32, params: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexParameteri(target: u32, pname: u32, param2: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexParameteriv(target: u32, pname: u32, params: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexSubImage1D(target: u32, level: i32, xoffset: i32, width: i32, format: u32, r#type: u32, pixels: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTexSubImage2D(target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, r#type: u32, pixels: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTranslated(x: f64, y: f64, z: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glTranslatef(x: f32, y: f32, z: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex2d(x: f64, y: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex2dv(v: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex2f(x: f32, y: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex2fv(v: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex2i(x: i32, y: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex2iv(v: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex2s(x: i16, y: i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex2sv(v: *const i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex3d(x: f64, y: f64, z: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex3dv(v: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex3f(x: f32, y: f32, z: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex3fv(v: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex3i(x: i32, y: i32, z: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex3iv(v: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex3s(x: i16, y: i16, z: i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex3sv(v: *const i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex4d(x: f64, y: f64, z: f64, w: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex4dv(v: *const f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex4f(x: f32, y: f32, z: f32, w: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex4fv(v: *const f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex4i(x: i32, y: i32, z: i32, w: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex4iv(v: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex4s(x: i16, y: i16, z: i16, w: i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertex4sv(v: *const i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glVertexPointer(size: i32, r#type: u32, stride: i32, pointer: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn glViewport(x: i32, y: i32, width: i32, height: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluBeginCurve(nobj: *mut GLUnurbs); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluBeginPolygon(tess: *mut GLUtesselator); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluBeginSurface(nobj: *mut GLUnurbs); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluBeginTrim(nobj: *mut GLUnurbs); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluBuild1DMipmaps(target: u32, components: i32, width: i32, format: u32, r#type: u32, data: *const ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluBuild2DMipmaps(target: u32, components: i32, width: i32, height: i32, format: u32, r#type: u32, data: *const ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluCylinder(qobj: *mut GLUquadric, baseradius: f64, topradius: f64, height: f64, slices: i32, stacks: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluDeleteNurbsRenderer(nobj: *mut GLUnurbs); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluDeleteQuadric(state: *mut GLUquadric); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluDeleteTess(tess: *mut GLUtesselator); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluDisk(qobj: *mut GLUquadric, innerradius: f64, outerradius: f64, slices: i32, loops: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluEndCurve(nobj: *mut GLUnurbs); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluEndPolygon(tess: *mut GLUtesselator); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluEndSurface(nobj: *mut GLUnurbs); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluEndTrim(nobj: *mut GLUnurbs); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluErrorString(errcode: u32) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluErrorUnicodeStringEXT(errcode: u32) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluGetNurbsProperty(nobj: *mut GLUnurbs, property: u32, value: *mut f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluGetString(name: u32) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluGetTessProperty(tess: *mut GLUtesselator, which: u32, value: *mut f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluLoadSamplingMatrices(nobj: *mut GLUnurbs, modelmatrix: *const f32, projmatrix: *const f32, viewport: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluLookAt(eyex: f64, eyey: f64, eyez: f64, centerx: f64, centery: f64, centerz: f64, upx: f64, upy: f64, upz: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluNewNurbsRenderer() -> *mut GLUnurbs; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluNewQuadric() -> *mut GLUquadric; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluNewTess() -> *mut GLUtesselator; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluNextContour(tess: *mut GLUtesselator, r#type: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluNurbsCallback(nobj: *mut GLUnurbs, which: u32, r#fn: isize); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluNurbsCurve(nobj: *mut GLUnurbs, nknots: i32, knot: *mut f32, stride: i32, ctlarray: *mut f32, order: i32, r#type: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluNurbsProperty(nobj: *mut GLUnurbs, property: u32, value: f32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluNurbsSurface(nobj: *mut GLUnurbs, sknot_count: i32, sknot: *mut f32, tknot_count: i32, tknot: *mut f32, s_stride: i32, t_stride: i32, ctlarray: *mut f32, sorder: i32, torder: i32, r#type: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluOrtho2D(left: f64, right: f64, bottom: f64, top: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluPartialDisk(qobj: *mut GLUquadric, innerradius: f64, outerradius: f64, slices: i32, loops: i32, startangle: f64, sweepangle: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluPerspective(fovy: f64, aspect: f64, znear: f64, zfar: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluPickMatrix(x: f64, y: f64, width: f64, height: f64, viewport: *mut i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluProject(objx: f64, objy: f64, objz: f64, modelmatrix: *const f64, projmatrix: *const f64, viewport: *const i32, winx: *mut f64, winy: *mut f64, winz: *mut f64) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluPwlCurve(nobj: *mut GLUnurbs, count: i32, array: *mut f32, stride: i32, r#type: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluQuadricCallback(qobj: *mut GLUquadric, which: u32, r#fn: isize); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluQuadricDrawStyle(quadobject: *mut GLUquadric, drawstyle: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluQuadricNormals(quadobject: *mut GLUquadric, normals: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluQuadricOrientation(quadobject: *mut GLUquadric, orientation: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluQuadricTexture(quadobject: *mut GLUquadric, texturecoords: u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluScaleImage(format: u32, widthin: i32, heightin: i32, typein: u32, datain: *const ::core::ffi::c_void, widthout: i32, heightout: i32, typeout: u32, dataout: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluSphere(qobj: *mut GLUquadric, radius: f64, slices: i32, stacks: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluTessBeginContour(tess: *mut GLUtesselator); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluTessBeginPolygon(tess: *mut GLUtesselator, polygon_data: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluTessCallback(tess: *mut GLUtesselator, which: u32, r#fn: isize); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluTessEndContour(tess: *mut GLUtesselator); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluTessEndPolygon(tess: *mut GLUtesselator); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluTessNormal(tess: *mut GLUtesselator, x: f64, y: f64, z: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluTessProperty(tess: *mut GLUtesselator, which: u32, value: f64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluTessVertex(tess: *mut GLUtesselator, coords: *mut f64, data: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn gluUnProject(winx: f64, winy: f64, winz: f64, modelmatrix: *const f64, projmatrix: *const f64, viewport: *const i32, objx: *mut f64, objy: *mut f64, objz: *mut f64) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn wglCopyContext(param0: HGLRC, param1: HGLRC, param2: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn wglCreateContext(param0: super::Gdi::HDC) -> HGLRC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn wglCreateLayerContext(param0: super::Gdi::HDC, param1: i32) -> HGLRC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn wglDeleteContext(param0: HGLRC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn wglDescribeLayerPlane(param0: super::Gdi::HDC, param1: i32, param2: i32, param3: u32, param4: *mut LAYERPLANEDESCRIPTOR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] pub fn wglGetCurrentContext() -> HGLRC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn wglGetCurrentDC() -> super::Gdi::HDC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn wglGetLayerPaletteEntries(param0: super::Gdi::HDC, param1: i32, param2: i32, param3: i32, param4: *mut super::super::Foundation::COLORREF) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn wglGetProcAddress(param0: ::windows_sys::core::PCSTR) -> super::super::Foundation::PROC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn wglMakeCurrent(param0: super::Gdi::HDC, param1: HGLRC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn wglRealizeLayerPalette(param0: super::Gdi::HDC, param1: i32, param2: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn wglSetLayerPaletteEntries(param0: super::Gdi::HDC, param1: i32, param2: i32, param3: i32, param4: *const super::super::Foundation::COLORREF) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn wglShareLists(param0: HGLRC, param1: HGLRC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn wglSwapLayerBuffers(param0: super::Gdi::HDC, param1: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn wglUseFontBitmapsA(param0: super::Gdi::HDC, param1: u32, param2: u32, param3: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn wglUseFontBitmapsW(param0: super::Gdi::HDC, param1: u32, param2: u32, param3: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn wglUseFontOutlinesA(param0: super::Gdi::HDC, param1: u32, param2: u32, param3: u32, param4: f32, param5: f32, param6: i32, param7: *mut GLYPHMETRICSFLOAT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn wglUseFontOutlinesW(param0: super::Gdi::HDC, param1: u32, param2: u32, param3: u32, param4: f32, param5: f32, param6: i32, param7: *mut GLYPHMETRICSFLOAT) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs index 19237eadb5..a520c123f8 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs @@ -3,32 +3,62 @@ extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Storage_Xps\"`*"] #[cfg(feature = "Win32_Storage_Xps")] pub fn PTCloseProvider(hprovider: super::super::super::Storage::Xps::HPTPROVIDER) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))] pub fn PTConvertDevModeToPrintTicket(hprovider: super::super::super::Storage::Xps::HPTPROVIDER, cbdevmode: u32, pdevmode: *const super::super::Gdi::DEVMODEA, scope: EPrintTicketScope, pprintticket: super::super::super::System::Com::IStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))] pub fn PTConvertPrintTicketToDevMode(hprovider: super::super::super::Storage::Xps::HPTPROVIDER, pprintticket: super::super::super::System::Com::IStream, basedevmodetype: EDefaultDevmodeType, scope: EPrintTicketScope, pcbdevmode: *mut u32, ppdevmode: *mut *mut super::super::Gdi::DEVMODEA, pbstrerrormessage: *mut super::super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))] pub fn PTGetPrintCapabilities(hprovider: super::super::super::Storage::Xps::HPTPROVIDER, pprintticket: super::super::super::System::Com::IStream, pcapabilities: super::super::super::System::Com::IStream, pbstrerrormessage: *mut super::super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))] pub fn PTGetPrintDeviceCapabilities(hprovider: super::super::super::Storage::Xps::HPTPROVIDER, pprintticket: super::super::super::System::Com::IStream, pdevicecapabilities: super::super::super::System::Com::IStream, pbstrerrormessage: *mut super::super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))] pub fn PTGetPrintDeviceResources(hprovider: super::super::super::Storage::Xps::HPTPROVIDER, pszlocalename: ::windows_sys::core::PCWSTR, pprintticket: super::super::super::System::Com::IStream, pdeviceresources: super::super::super::System::Com::IStream, pbstrerrormessage: *mut super::super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))] pub fn PTMergeAndValidatePrintTicket(hprovider: super::super::super::Storage::Xps::HPTPROVIDER, pbaseticket: super::super::super::System::Com::IStream, pdeltaticket: super::super::super::System::Com::IStream, scope: EPrintTicketScope, presultticket: super::super::super::System::Com::IStream, pbstrerrormessage: *mut super::super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Storage_Xps\"`*"] #[cfg(feature = "Win32_Storage_Xps")] pub fn PTOpenProvider(pszprintername: ::windows_sys::core::PCWSTR, dwversion: u32, phprovider: *mut super::super::super::Storage::Xps::HPTPROVIDER) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Storage_Xps\"`*"] #[cfg(feature = "Win32_Storage_Xps")] pub fn PTOpenProviderEx(pszprintername: ::windows_sys::core::PCWSTR, dwmaxversion: u32, dwprefversion: u32, phprovider: *mut super::super::super::Storage::Xps::HPTPROVIDER, pusedversion: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`*"] pub fn PTQuerySchemaVersionSupport(pszprintername: ::windows_sys::core::PCWSTR, pmaxversion: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`*"] pub fn PTReleaseMemory(pbuffer: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/Printing/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/Printing/mod.rs index 9d2d46ab61..d954299b72 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/Printing/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/Printing/mod.rs @@ -5,628 +5,1267 @@ extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AbortPrinter(hprinter: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddFormA(hprinter: super::super::Foundation::HANDLE, level: u32, pform: *const u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddFormW(hprinter: super::super::Foundation::HANDLE, level: u32, pform: *const u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddJobA(hprinter: super::super::Foundation::HANDLE, level: u32, pdata: *mut u8, cbbuf: u32, pcbneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddJobW(hprinter: super::super::Foundation::HANDLE, level: u32, pdata: *mut u8, cbbuf: u32, pcbneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddMonitorA(pname: ::windows_sys::core::PCSTR, level: u32, pmonitors: *const u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddMonitorW(pname: ::windows_sys::core::PCWSTR, level: u32, pmonitors: *const u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddPortA(pname: ::windows_sys::core::PCSTR, hwnd: super::super::Foundation::HWND, pmonitorname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddPortW(pname: ::windows_sys::core::PCWSTR, hwnd: super::super::Foundation::HWND, pmonitorname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddPrintDeviceObject(hprinter: super::super::Foundation::HANDLE, phdeviceobject: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddPrintProcessorA(pname: ::windows_sys::core::PCSTR, penvironment: ::windows_sys::core::PCSTR, ppathname: ::windows_sys::core::PCSTR, pprintprocessorname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddPrintProcessorW(pname: ::windows_sys::core::PCWSTR, penvironment: ::windows_sys::core::PCWSTR, ppathname: ::windows_sys::core::PCWSTR, pprintprocessorname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddPrintProvidorA(pname: ::windows_sys::core::PCSTR, level: u32, pprovidorinfo: *const u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddPrintProvidorW(pname: ::windows_sys::core::PCWSTR, level: u32, pprovidorinfo: *const u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddPrinterA(pname: ::windows_sys::core::PCSTR, level: u32, pprinter: *const u8) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddPrinterConnection2A(hwnd: super::super::Foundation::HWND, pszname: ::windows_sys::core::PCSTR, dwlevel: u32, pconnectioninfo: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddPrinterConnection2W(hwnd: super::super::Foundation::HWND, pszname: ::windows_sys::core::PCWSTR, dwlevel: u32, pconnectioninfo: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddPrinterConnectionA(pname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddPrinterConnectionW(pname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddPrinterDriverA(pname: ::windows_sys::core::PCSTR, level: u32, pdriverinfo: *const u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddPrinterDriverExA(pname: ::windows_sys::core::PCSTR, level: u32, lpbdriverinfo: *const u8, dwfilecopyflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddPrinterDriverExW(pname: ::windows_sys::core::PCWSTR, level: u32, lpbdriverinfo: *const u8, dwfilecopyflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddPrinterDriverW(pname: ::windows_sys::core::PCWSTR, level: u32, pdriverinfo: *const u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddPrinterW(pname: ::windows_sys::core::PCWSTR, level: u32, pprinter: *const u8) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn AdvancedDocumentPropertiesA(hwnd: super::super::Foundation::HWND, hprinter: super::super::Foundation::HANDLE, pdevicename: ::windows_sys::core::PCSTR, pdevmodeoutput: *mut super::Gdi::DEVMODEA, pdevmodeinput: *const super::Gdi::DEVMODEA) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn AdvancedDocumentPropertiesW(hwnd: super::super::Foundation::HWND, hprinter: super::super::Foundation::HANDLE, pdevicename: ::windows_sys::core::PCWSTR, pdevmodeoutput: *mut super::Gdi::DEVMODEW, pdevmodeinput: *const super::Gdi::DEVMODEW) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AppendPrinterNotifyInfoData(pinfodest: *const PRINTER_NOTIFY_INFO, pdatasrc: *const PRINTER_NOTIFY_INFO_DATA, fdwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CallRouterFindFirstPrinterChangeNotification(hprinterrpc: super::super::Foundation::HANDLE, fdwfilterflags: u32, fdwoptions: u32, hnotify: super::super::Foundation::HANDLE, pprinternotifyoptions: *const PRINTER_NOTIFY_OPTIONS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ClosePrinter(hprinter: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseSpoolFileHandle(hprinter: super::super::Foundation::HANDLE, hspoolfile: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CommitSpoolData(hprinter: super::super::Foundation::HANDLE, hspoolfile: super::super::Foundation::HANDLE, cbcommit: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CommonPropertySheetUIA(hwndowner: super::super::Foundation::HWND, pfnpropsheetui: PFNPROPSHEETUI, lparam: super::super::Foundation::LPARAM, presult: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CommonPropertySheetUIW(hwndowner: super::super::Foundation::HWND, pfnpropsheetui: PFNPROPSHEETUI, lparam: super::super::Foundation::LPARAM, presult: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ConfigurePortA(pname: ::windows_sys::core::PCSTR, hwnd: super::super::Foundation::HWND, pportname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ConfigurePortW(pname: ::windows_sys::core::PCWSTR, hwnd: super::super::Foundation::HWND, pportname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ConnectToPrinterDlg(hwnd: super::super::Foundation::HWND, flags: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CorePrinterDriverInstalledA(pszserver: ::windows_sys::core::PCSTR, pszenvironment: ::windows_sys::core::PCSTR, coredriverguid: ::windows_sys::core::GUID, ftdriverdate: super::super::Foundation::FILETIME, dwldriverversion: u64, pbdriverinstalled: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CorePrinterDriverInstalledW(pszserver: ::windows_sys::core::PCWSTR, pszenvironment: ::windows_sys::core::PCWSTR, coredriverguid: ::windows_sys::core::GUID, ftdriverdate: super::super::Foundation::FILETIME, dwldriverversion: u64, pbdriverinstalled: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] pub fn CreatePrintAsyncNotifyChannel(pszname: ::windows_sys::core::PCWSTR, pnotificationtype: *const ::windows_sys::core::GUID, euserfilter: PrintAsyncNotifyUserFilter, econversationstyle: PrintAsyncNotifyConversationStyle, pcallback: IPrintAsyncNotifyCallback, ppiasynchnotification: *mut IPrintAsyncNotifyChannel) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn CreatePrinterIC(hprinter: super::super::Foundation::HANDLE, pdevmode: *const super::Gdi::DEVMODEW) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteFormA(hprinter: super::super::Foundation::HANDLE, pformname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteFormW(hprinter: super::super::Foundation::HANDLE, pformname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteJobNamedProperty(hprinter: super::super::Foundation::HANDLE, jobid: u32, pszname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteMonitorA(pname: ::windows_sys::core::PCSTR, penvironment: ::windows_sys::core::PCSTR, pmonitorname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteMonitorW(pname: ::windows_sys::core::PCWSTR, penvironment: ::windows_sys::core::PCWSTR, pmonitorname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeletePortA(pname: ::windows_sys::core::PCSTR, hwnd: super::super::Foundation::HWND, pportname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeletePortW(pname: ::windows_sys::core::PCWSTR, hwnd: super::super::Foundation::HWND, pportname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeletePrintProcessorA(pname: ::windows_sys::core::PCSTR, penvironment: ::windows_sys::core::PCSTR, pprintprocessorname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeletePrintProcessorW(pname: ::windows_sys::core::PCWSTR, penvironment: ::windows_sys::core::PCWSTR, pprintprocessorname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeletePrintProvidorA(pname: ::windows_sys::core::PCSTR, penvironment: ::windows_sys::core::PCSTR, pprintprovidorname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeletePrintProvidorW(pname: ::windows_sys::core::PCWSTR, penvironment: ::windows_sys::core::PCWSTR, pprintprovidorname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeletePrinter(hprinter: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeletePrinterConnectionA(pname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeletePrinterConnectionW(pname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeletePrinterDataA(hprinter: super::super::Foundation::HANDLE, pvaluename: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeletePrinterDataExA(hprinter: super::super::Foundation::HANDLE, pkeyname: ::windows_sys::core::PCSTR, pvaluename: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeletePrinterDataExW(hprinter: super::super::Foundation::HANDLE, pkeyname: ::windows_sys::core::PCWSTR, pvaluename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeletePrinterDataW(hprinter: super::super::Foundation::HANDLE, pvaluename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeletePrinterDriverA(pname: ::windows_sys::core::PCSTR, penvironment: ::windows_sys::core::PCSTR, pdrivername: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeletePrinterDriverExA(pname: ::windows_sys::core::PCSTR, penvironment: ::windows_sys::core::PCSTR, pdrivername: ::windows_sys::core::PCSTR, dwdeleteflag: u32, dwversionflag: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeletePrinterDriverExW(pname: ::windows_sys::core::PCWSTR, penvironment: ::windows_sys::core::PCWSTR, pdrivername: ::windows_sys::core::PCWSTR, dwdeleteflag: u32, dwversionflag: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] pub fn DeletePrinterDriverPackageA(pszserver: ::windows_sys::core::PCSTR, pszinfpath: ::windows_sys::core::PCSTR, pszenvironment: ::windows_sys::core::PCSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] pub fn DeletePrinterDriverPackageW(pszserver: ::windows_sys::core::PCWSTR, pszinfpath: ::windows_sys::core::PCWSTR, pszenvironment: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeletePrinterDriverW(pname: ::windows_sys::core::PCWSTR, penvironment: ::windows_sys::core::PCWSTR, pdrivername: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeletePrinterIC(hprinteric: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeletePrinterKeyA(hprinter: super::super::Foundation::HANDLE, pkeyname: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeletePrinterKeyW(hprinter: super::super::Foundation::HANDLE, pkeyname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DevQueryPrint(hprinter: super::super::Foundation::HANDLE, pdevmode: *const super::Gdi::DEVMODEA, presid: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DevQueryPrintEx(pdqpinfo: *mut DEVQUERYPRINT_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DocumentPropertiesA(hwnd: super::super::Foundation::HWND, hprinter: super::super::Foundation::HANDLE, pdevicename: ::windows_sys::core::PCSTR, pdevmodeoutput: *mut super::Gdi::DEVMODEA, pdevmodeinput: *const super::Gdi::DEVMODEA, fmode: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DocumentPropertiesW(hwnd: super::super::Foundation::HWND, hprinter: super::super::Foundation::HANDLE, pdevicename: ::windows_sys::core::PCWSTR, pdevmodeoutput: *mut super::Gdi::DEVMODEW, pdevmodeinput: *const super::Gdi::DEVMODEW, fmode: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EndDocPrinter(hprinter: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EndPagePrinter(hprinter: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumFormsA(hprinter: super::super::Foundation::HANDLE, level: u32, pform: *mut u8, cbbuf: u32, pcbneeded: *mut u32, pcreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumFormsW(hprinter: super::super::Foundation::HANDLE, level: u32, pform: *mut u8, cbbuf: u32, pcbneeded: *mut u32, pcreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumJobNamedProperties(hprinter: super::super::Foundation::HANDLE, jobid: u32, pcproperties: *mut u32, ppproperties: *mut *mut PrintNamedProperty) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumJobsA(hprinter: super::super::Foundation::HANDLE, firstjob: u32, nojobs: u32, level: u32, pjob: *mut u8, cbbuf: u32, pcbneeded: *mut u32, pcreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumJobsW(hprinter: super::super::Foundation::HANDLE, firstjob: u32, nojobs: u32, level: u32, pjob: *mut u8, cbbuf: u32, pcbneeded: *mut u32, pcreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumMonitorsA(pname: ::windows_sys::core::PCSTR, level: u32, pmonitor: *mut u8, cbbuf: u32, pcbneeded: *mut u32, pcreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumMonitorsW(pname: ::windows_sys::core::PCWSTR, level: u32, pmonitor: *mut u8, cbbuf: u32, pcbneeded: *mut u32, pcreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumPortsA(pname: ::windows_sys::core::PCSTR, level: u32, pport: *mut u8, cbbuf: u32, pcbneeded: *mut u32, pcreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumPortsW(pname: ::windows_sys::core::PCWSTR, level: u32, pport: *mut u8, cbbuf: u32, pcbneeded: *mut u32, pcreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumPrintProcessorDatatypesA(pname: ::windows_sys::core::PCSTR, pprintprocessorname: ::windows_sys::core::PCSTR, level: u32, pdatatypes: *mut u8, cbbuf: u32, pcbneeded: *mut u32, pcreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumPrintProcessorDatatypesW(pname: ::windows_sys::core::PCWSTR, pprintprocessorname: ::windows_sys::core::PCWSTR, level: u32, pdatatypes: *mut u8, cbbuf: u32, pcbneeded: *mut u32, pcreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumPrintProcessorsA(pname: ::windows_sys::core::PCSTR, penvironment: ::windows_sys::core::PCSTR, level: u32, pprintprocessorinfo: *mut u8, cbbuf: u32, pcbneeded: *mut u32, pcreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumPrintProcessorsW(pname: ::windows_sys::core::PCWSTR, penvironment: ::windows_sys::core::PCWSTR, level: u32, pprintprocessorinfo: *mut u8, cbbuf: u32, pcbneeded: *mut u32, pcreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumPrinterDataA(hprinter: super::super::Foundation::HANDLE, dwindex: u32, pvaluename: ::windows_sys::core::PSTR, cbvaluename: u32, pcbvaluename: *mut u32, ptype: *mut u32, pdata: *mut u8, cbdata: u32, pcbdata: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumPrinterDataExA(hprinter: super::super::Foundation::HANDLE, pkeyname: ::windows_sys::core::PCSTR, penumvalues: *mut u8, cbenumvalues: u32, pcbenumvalues: *mut u32, pnenumvalues: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumPrinterDataExW(hprinter: super::super::Foundation::HANDLE, pkeyname: ::windows_sys::core::PCWSTR, penumvalues: *mut u8, cbenumvalues: u32, pcbenumvalues: *mut u32, pnenumvalues: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumPrinterDataW(hprinter: super::super::Foundation::HANDLE, dwindex: u32, pvaluename: ::windows_sys::core::PWSTR, cbvaluename: u32, pcbvaluename: *mut u32, ptype: *mut u32, pdata: *mut u8, cbdata: u32, pcbdata: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumPrinterDriversA(pname: ::windows_sys::core::PCSTR, penvironment: ::windows_sys::core::PCSTR, level: u32, pdriverinfo: *mut u8, cbbuf: u32, pcbneeded: *mut u32, pcreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumPrinterDriversW(pname: ::windows_sys::core::PCWSTR, penvironment: ::windows_sys::core::PCWSTR, level: u32, pdriverinfo: *mut u8, cbbuf: u32, pcbneeded: *mut u32, pcreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumPrinterKeyA(hprinter: super::super::Foundation::HANDLE, pkeyname: ::windows_sys::core::PCSTR, psubkey: ::windows_sys::core::PSTR, cbsubkey: u32, pcbsubkey: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumPrinterKeyW(hprinter: super::super::Foundation::HANDLE, pkeyname: ::windows_sys::core::PCWSTR, psubkey: ::windows_sys::core::PWSTR, cbsubkey: u32, pcbsubkey: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumPrintersA(flags: u32, name: ::windows_sys::core::PCSTR, level: u32, pprinterenum: *mut u8, cbbuf: u32, pcbneeded: *mut u32, pcreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumPrintersW(flags: u32, name: ::windows_sys::core::PCWSTR, level: u32, pprinterenum: *mut u8, cbbuf: u32, pcbneeded: *mut u32, pcreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ExtDeviceMode(hwnd: super::super::Foundation::HWND, hinst: super::super::Foundation::HANDLE, pdevmodeoutput: *mut super::Gdi::DEVMODEA, pdevicename: ::windows_sys::core::PCSTR, pport: ::windows_sys::core::PCSTR, pdevmodeinput: *const super::Gdi::DEVMODEA, pprofile: ::windows_sys::core::PCSTR, fmode: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindClosePrinterChangeNotification(hchange: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindFirstPrinterChangeNotification(hprinter: super::super::Foundation::HANDLE, fdwfilter: u32, fdwoptions: u32, pprinternotifyoptions: *const ::core::ffi::c_void) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindNextPrinterChangeNotification(hchange: super::super::Foundation::HANDLE, pdwchange: *mut u32, pvreserved: *const ::core::ffi::c_void, ppprinternotifyinfo: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FlushPrinter(hprinter: super::super::Foundation::HANDLE, pbuf: *const ::core::ffi::c_void, cbbuf: u32, pcwritten: *mut u32, csleep: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] pub fn FreePrintNamedPropertyArray(cproperties: u32, ppproperties: *mut *mut PrintNamedProperty); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] pub fn FreePrintPropertyValue(pvalue: *mut PrintPropertyValue); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreePrinterNotifyInfo(pprinternotifyinfo: *const PRINTER_NOTIFY_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GdiDeleteSpoolFileHandle(spoolfilehandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GdiEndDocEMF(spoolfilehandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GdiEndPageEMF(spoolfilehandle: super::super::Foundation::HANDLE, dwoptimization: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GdiGetDC(spoolfilehandle: super::super::Foundation::HANDLE) -> super::Gdi::HDC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GdiGetDevmodeForPage(spoolfilehandle: super::super::Foundation::HANDLE, dwpagenumber: u32, pcurrdm: *mut *mut super::Gdi::DEVMODEW, plastdm: *mut *mut super::Gdi::DEVMODEW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GdiGetPageCount(spoolfilehandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GdiGetPageHandle(spoolfilehandle: super::super::Foundation::HANDLE, page: u32, pdwpagetype: *mut u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GdiGetSpoolFileHandle(pwszprintername: ::windows_sys::core::PCWSTR, pdevmode: *mut super::Gdi::DEVMODEW, pwszdocname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GdiPlayPageEMF(spoolfilehandle: super::super::Foundation::HANDLE, hemf: super::super::Foundation::HANDLE, prectdocument: *mut super::super::Foundation::RECT, prectborder: *mut super::super::Foundation::RECT, prectclip: *mut super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GdiResetDCEMF(spoolfilehandle: super::super::Foundation::HANDLE, pcurrdm: *mut super::Gdi::DEVMODEW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Xps\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Xps"))] pub fn GdiStartDocEMF(spoolfilehandle: super::super::Foundation::HANDLE, pdocinfo: *mut super::super::Storage::Xps::DOCINFOW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GdiStartPageEMF(spoolfilehandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] pub fn GenerateCopyFilePaths(pszprintername: ::windows_sys::core::PCWSTR, pszdirectory: ::windows_sys::core::PCWSTR, psplclientinfo: *const u8, dwlevel: u32, pszsourcedir: ::windows_sys::core::PWSTR, pcchsourcedirsize: *mut u32, psztargetdir: ::windows_sys::core::PWSTR, pcchtargetdirsize: *mut u32, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCPSUIUserData(hdlg: super::super::Foundation::HWND) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCorePrinterDriversA(pszserver: ::windows_sys::core::PCSTR, pszenvironment: ::windows_sys::core::PCSTR, pszzcoredriverdependencies: ::windows_sys::core::PCSTR, ccoreprinterdrivers: u32, pcoreprinterdrivers: *mut CORE_PRINTER_DRIVERA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCorePrinterDriversW(pszserver: ::windows_sys::core::PCWSTR, pszenvironment: ::windows_sys::core::PCWSTR, pszzcoredriverdependencies: ::windows_sys::core::PCWSTR, ccoreprinterdrivers: u32, pcoreprinterdrivers: *mut CORE_PRINTER_DRIVERW) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDefaultPrinterA(pszbuffer: ::windows_sys::core::PSTR, pcchbuffer: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDefaultPrinterW(pszbuffer: ::windows_sys::core::PWSTR, pcchbuffer: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFormA(hprinter: super::super::Foundation::HANDLE, pformname: ::windows_sys::core::PCSTR, level: u32, pform: *mut u8, cbbuf: u32, pcbneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFormW(hprinter: super::super::Foundation::HANDLE, pformname: ::windows_sys::core::PCWSTR, level: u32, pform: *mut u8, cbbuf: u32, pcbneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetJobA(hprinter: super::super::Foundation::HANDLE, jobid: u32, level: u32, pjob: *mut u8, cbbuf: u32, pcbneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetJobAttributes(pprintername: ::windows_sys::core::PCWSTR, pdevmode: *const super::Gdi::DEVMODEW, pattributeinfo: *mut ATTRIBUTE_INFO_3) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetJobAttributesEx(pprintername: ::windows_sys::core::PCWSTR, pdevmode: *const super::Gdi::DEVMODEW, dwlevel: u32, pattributeinfo: *mut u8, nsize: u32, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetJobNamedPropertyValue(hprinter: super::super::Foundation::HANDLE, jobid: u32, pszname: ::windows_sys::core::PCWSTR, pvalue: *mut PrintPropertyValue) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetJobW(hprinter: super::super::Foundation::HANDLE, jobid: u32, level: u32, pjob: *mut u8, cbbuf: u32, pcbneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPrintExecutionData(pdata: *mut PRINT_EXECUTION_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPrintOutputInfo(hwnd: super::super::Foundation::HWND, pszprinter: ::windows_sys::core::PCWSTR, phfile: *mut super::super::Foundation::HANDLE, ppszoutputfile: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPrintProcessorDirectoryA(pname: ::windows_sys::core::PCSTR, penvironment: ::windows_sys::core::PCSTR, level: u32, pprintprocessorinfo: *mut u8, cbbuf: u32, pcbneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPrintProcessorDirectoryW(pname: ::windows_sys::core::PCWSTR, penvironment: ::windows_sys::core::PCWSTR, level: u32, pprintprocessorinfo: *mut u8, cbbuf: u32, pcbneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPrinterA(hprinter: super::super::Foundation::HANDLE, level: u32, pprinter: *mut u8, cbbuf: u32, pcbneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPrinterDataA(hprinter: super::super::Foundation::HANDLE, pvaluename: ::windows_sys::core::PCSTR, ptype: *mut u32, pdata: *mut u8, nsize: u32, pcbneeded: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPrinterDataExA(hprinter: super::super::Foundation::HANDLE, pkeyname: ::windows_sys::core::PCSTR, pvaluename: ::windows_sys::core::PCSTR, ptype: *mut u32, pdata: *mut u8, nsize: u32, pcbneeded: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPrinterDataExW(hprinter: super::super::Foundation::HANDLE, pkeyname: ::windows_sys::core::PCWSTR, pvaluename: ::windows_sys::core::PCWSTR, ptype: *mut u32, pdata: *mut u8, nsize: u32, pcbneeded: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPrinterDataW(hprinter: super::super::Foundation::HANDLE, pvaluename: ::windows_sys::core::PCWSTR, ptype: *mut u32, pdata: *mut u8, nsize: u32, pcbneeded: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPrinterDriver2A(hwnd: super::super::Foundation::HWND, hprinter: super::super::Foundation::HANDLE, penvironment: ::windows_sys::core::PCSTR, level: u32, pdriverinfo: *mut u8, cbbuf: u32, pcbneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPrinterDriver2W(hwnd: super::super::Foundation::HWND, hprinter: super::super::Foundation::HANDLE, penvironment: ::windows_sys::core::PCWSTR, level: u32, pdriverinfo: *mut u8, cbbuf: u32, pcbneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPrinterDriverA(hprinter: super::super::Foundation::HANDLE, penvironment: ::windows_sys::core::PCSTR, level: u32, pdriverinfo: *mut u8, cbbuf: u32, pcbneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPrinterDriverDirectoryA(pname: ::windows_sys::core::PCSTR, penvironment: ::windows_sys::core::PCSTR, level: u32, pdriverdirectory: *mut u8, cbbuf: u32, pcbneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPrinterDriverDirectoryW(pname: ::windows_sys::core::PCWSTR, penvironment: ::windows_sys::core::PCWSTR, level: u32, pdriverdirectory: *mut u8, cbbuf: u32, pcbneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] pub fn GetPrinterDriverPackagePathA(pszserver: ::windows_sys::core::PCSTR, pszenvironment: ::windows_sys::core::PCSTR, pszlanguage: ::windows_sys::core::PCSTR, pszpackageid: ::windows_sys::core::PCSTR, pszdriverpackagecab: ::windows_sys::core::PSTR, cchdriverpackagecab: u32, pcchrequiredsize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] pub fn GetPrinterDriverPackagePathW(pszserver: ::windows_sys::core::PCWSTR, pszenvironment: ::windows_sys::core::PCWSTR, pszlanguage: ::windows_sys::core::PCWSTR, pszpackageid: ::windows_sys::core::PCWSTR, pszdriverpackagecab: ::windows_sys::core::PWSTR, cchdriverpackagecab: u32, pcchrequiredsize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPrinterDriverW(hprinter: super::super::Foundation::HANDLE, penvironment: ::windows_sys::core::PCWSTR, level: u32, pdriverinfo: *mut u8, cbbuf: u32, pcbneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPrinterW(hprinter: super::super::Foundation::HANDLE, level: u32, pprinter: *mut u8, cbbuf: u32, pcbneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSpoolFileHandle(hprinter: super::super::Foundation::HANDLE) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImpersonatePrinterClient(htoken: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] pub fn InstallPrinterDriverFromPackageA(pszserver: ::windows_sys::core::PCSTR, pszinfpath: ::windows_sys::core::PCSTR, pszdrivername: ::windows_sys::core::PCSTR, pszenvironment: ::windows_sys::core::PCSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] pub fn InstallPrinterDriverFromPackageW(pszserver: ::windows_sys::core::PCWSTR, pszinfpath: ::windows_sys::core::PCWSTR, pszdrivername: ::windows_sys::core::PCWSTR, pszenvironment: ::windows_sys::core::PCWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn IsValidDevmodeA(pdevmode: *const super::Gdi::DEVMODEA, devmodesize: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn IsValidDevmodeW(pdevmode: *const super::Gdi::DEVMODEW, devmodesize: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn OpenPrinter2A(pprintername: ::windows_sys::core::PCSTR, phprinter: *mut super::super::Foundation::HANDLE, pdefault: *const PRINTER_DEFAULTSA, poptions: *const PRINTER_OPTIONSA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn OpenPrinter2W(pprintername: ::windows_sys::core::PCWSTR, phprinter: *mut super::super::Foundation::HANDLE, pdefault: *const PRINTER_DEFAULTSW, poptions: *const PRINTER_OPTIONSW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn OpenPrinterA(pprintername: ::windows_sys::core::PCSTR, phprinter: *mut super::super::Foundation::HANDLE, pdefault: *const PRINTER_DEFAULTSA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn OpenPrinterW(pprintername: ::windows_sys::core::PCWSTR, phprinter: *mut super::super::Foundation::HANDLE, pdefault: *const PRINTER_DEFAULTSW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PartialReplyPrinterChangeNotification(hprinter: super::super::Foundation::HANDLE, pdatasrc: *const PRINTER_NOTIFY_INFO_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PlayGdiScriptOnPrinterIC(hprinteric: super::super::Foundation::HANDLE, pin: *const u8, cin: u32, pout: *mut u8, cout: u32, ul: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrinterMessageBoxA(hprinter: super::super::Foundation::HANDLE, error: u32, hwnd: super::super::Foundation::HWND, ptext: ::windows_sys::core::PCSTR, pcaption: ::windows_sys::core::PCSTR, dwtype: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrinterMessageBoxW(hprinter: super::super::Foundation::HANDLE, error: u32, hwnd: super::super::Foundation::HWND, ptext: ::windows_sys::core::PCWSTR, pcaption: ::windows_sys::core::PCWSTR, dwtype: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrinterProperties(hwnd: super::super::Foundation::HWND, hprinter: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ProvidorFindClosePrinterChangeNotification(hprinter: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ProvidorFindFirstPrinterChangeNotification(hprinter: super::super::Foundation::HANDLE, fdwflags: u32, fdwoptions: u32, hnotify: super::super::Foundation::HANDLE, pprinternotifyoptions: *const ::core::ffi::c_void, pvreserved1: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadPrinter(hprinter: super::super::Foundation::HANDLE, pbuf: *mut ::core::ffi::c_void, cbbuf: u32, pnobytesread: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterForPrintAsyncNotifications(pszname: ::windows_sys::core::PCWSTR, pnotificationtype: *const ::windows_sys::core::GUID, euserfilter: PrintAsyncNotifyUserFilter, econversationstyle: PrintAsyncNotifyConversationStyle, pcallback: IPrintAsyncNotifyCallback, phnotify: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemovePrintDeviceObject(hdeviceobject: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReplyPrinterChangeNotification(hprinter: super::super::Foundation::HANDLE, fdwchangeflags: u32, pdwresult: *mut u32, pprinternotifyinfo: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReplyPrinterChangeNotificationEx(hnotify: super::super::Foundation::HANDLE, dwcolor: u32, fdwflags: u32, pdwresult: *mut u32, pprinternotifyinfo: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReportJobProcessingProgress(printerhandle: super::super::Foundation::HANDLE, jobid: u32, joboperation: EPrintXPSJobOperation, jobprogress: EPrintXPSJobProgress) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ResetPrinterA(hprinter: super::super::Foundation::HANDLE, pdefault: *const PRINTER_DEFAULTSA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ResetPrinterW(hprinter: super::super::Foundation::HANDLE, pdefault: *const PRINTER_DEFAULTSW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RevertToPrinterSelf() -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] pub fn RouterAllocBidiMem(numbytes: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RouterAllocBidiResponseContainer(count: u32) -> *mut BIDI_RESPONSE_CONTAINER; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] pub fn RouterAllocPrinterNotifyInfo(cprinternotifyinfodata: u32) -> *mut PRINTER_NOTIFY_INFO; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] pub fn RouterFreeBidiMem(pmempointer: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RouterFreeBidiResponseContainer(pdata: *const BIDI_RESPONSE_CONTAINER) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RouterFreePrinterNotifyInfo(pinfo: *const PRINTER_NOTIFY_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ScheduleJob(hprinter: super::super::Foundation::HANDLE, jobid: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetCPSUIUserData(hdlg: super::super::Foundation::HWND, cpsuiuserdata: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetDefaultPrinterA(pszprinter: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetDefaultPrinterW(pszprinter: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFormA(hprinter: super::super::Foundation::HANDLE, pformname: ::windows_sys::core::PCSTR, level: u32, pform: *const u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFormW(hprinter: super::super::Foundation::HANDLE, pformname: ::windows_sys::core::PCWSTR, level: u32, pform: *const u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetJobA(hprinter: super::super::Foundation::HANDLE, jobid: u32, level: u32, pjob: *const u8, command: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetJobNamedProperty(hprinter: super::super::Foundation::HANDLE, jobid: u32, pproperty: *const PrintNamedProperty) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetJobW(hprinter: super::super::Foundation::HANDLE, jobid: u32, level: u32, pjob: *const u8, command: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetPortA(pname: ::windows_sys::core::PCSTR, pportname: ::windows_sys::core::PCSTR, dwlevel: u32, pportinfo: *const u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetPortW(pname: ::windows_sys::core::PCWSTR, pportname: ::windows_sys::core::PCWSTR, dwlevel: u32, pportinfo: *const u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetPrinterA(hprinter: super::super::Foundation::HANDLE, level: u32, pprinter: *const u8, command: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetPrinterDataA(hprinter: super::super::Foundation::HANDLE, pvaluename: ::windows_sys::core::PCSTR, r#type: u32, pdata: *const u8, cbdata: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetPrinterDataExA(hprinter: super::super::Foundation::HANDLE, pkeyname: ::windows_sys::core::PCSTR, pvaluename: ::windows_sys::core::PCSTR, r#type: u32, pdata: *const u8, cbdata: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetPrinterDataExW(hprinter: super::super::Foundation::HANDLE, pkeyname: ::windows_sys::core::PCWSTR, pvaluename: ::windows_sys::core::PCWSTR, r#type: u32, pdata: *const u8, cbdata: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetPrinterDataW(hprinter: super::super::Foundation::HANDLE, pvaluename: ::windows_sys::core::PCWSTR, r#type: u32, pdata: *const u8, cbdata: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetPrinterW(hprinter: super::super::Foundation::HANDLE, level: u32, pprinter: *const u8, command: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SplIsSessionZero(hprinter: super::super::Foundation::HANDLE, jobid: u32, pissessionzero: *mut super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SplPromptUIInUsersSession(hprinter: super::super::Foundation::HANDLE, jobid: u32, puiparams: *const SHOWUIPARAMS, presponse: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SpoolerCopyFileEvent(pszprintername: ::windows_sys::core::PCWSTR, pszkey: ::windows_sys::core::PCWSTR, dwcopyfileevent: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SpoolerFindClosePrinterChangeNotification(hprinter: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SpoolerFindFirstPrinterChangeNotification(hprinter: super::super::Foundation::HANDLE, fdwfilterflags: u32, fdwoptions: u32, pprinternotifyoptions: *const ::core::ffi::c_void, pvreserved: *const ::core::ffi::c_void, pnotificationconfig: *const ::core::ffi::c_void, phnotify: *mut super::super::Foundation::HANDLE, phevent: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SpoolerFindNextPrinterChangeNotification(hprinter: super::super::Foundation::HANDLE, pfdwchange: *mut u32, pprinternotifyoptions: *const ::core::ffi::c_void, ppprinternotifyinfo: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] pub fn SpoolerFreePrinterNotifyInfo(pinfo: *const PRINTER_NOTIFY_INFO); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SpoolerRefreshPrinterChangeNotification(hprinter: super::super::Foundation::HANDLE, dwcolor: u32, poptions: *const PRINTER_NOTIFY_OPTIONS, ppinfo: *mut *mut PRINTER_NOTIFY_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StartDocPrinterA(hprinter: super::super::Foundation::HANDLE, level: u32, pdocinfo: *const DOC_INFO_1A) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StartDocPrinterW(hprinter: super::super::Foundation::HANDLE, level: u32, pdocinfo: *const DOC_INFO_1W) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StartPagePrinter(hprinter: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnRegisterForPrintAsyncNotifications(param0: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UpdatePrintDeviceObject(hprinter: super::super::Foundation::HANDLE, hdeviceobject: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UploadPrinterDriverPackageA(pszserver: ::windows_sys::core::PCSTR, pszinfpath: ::windows_sys::core::PCSTR, pszenvironment: ::windows_sys::core::PCSTR, dwflags: u32, hwnd: super::super::Foundation::HWND, pszdestinfpath: ::windows_sys::core::PSTR, pcchdestinfpath: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UploadPrinterDriverPackageW(pszserver: ::windows_sys::core::PCWSTR, pszinfpath: ::windows_sys::core::PCWSTR, pszenvironment: ::windows_sys::core::PCWSTR, dwflags: u32, hwnd: super::super::Foundation::HWND, pszdestinfpath: ::windows_sys::core::PWSTR, pcchdestinfpath: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WaitForPrinterChange(hprinter: super::super::Foundation::HANDLE, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WritePrinter(hprinter: super::super::Foundation::HANDLE, pbuf: *const ::core::ffi::c_void, cbbuf: u32, pcwritten: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn XcvDataW(hxcv: super::super::Foundation::HANDLE, pszdataname: ::windows_sys::core::PCWSTR, pinputdata: *const u8, cbinputdata: u32, poutputdata: *mut u8, cboutputdata: u32, pcboutputneeded: *mut u32, pdwstatus: *mut u32) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs b/crates/libs/sys/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs index a2a5e906a6..0342211bdc 100644 --- a/crates/libs/sys/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs @@ -2,44 +2,95 @@ extern "system" { #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] pub fn ApplyLocalManagementSyncML(syncmlrequest: ::windows_sys::core::PCWSTR, syncmlresult: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] pub fn DiscoverManagementService(pszupn: ::windows_sys::core::PCWSTR, ppmgmtinfo: *mut *mut MANAGEMENT_SERVICE_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] pub fn DiscoverManagementServiceEx(pszupn: ::windows_sys::core::PCWSTR, pszdiscoveryservicecandidate: ::windows_sys::core::PCWSTR, ppmgmtinfo: *mut *mut MANAGEMENT_SERVICE_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] pub fn GetDeviceManagementConfigInfo(providerid: ::windows_sys::core::PCWSTR, configstringbufferlength: *mut u32, configstring: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] pub fn GetDeviceRegistrationInfo(deviceinformationclass: REGISTRATION_INFORMATION_CLASS, ppdeviceregistrationinfo: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] pub fn GetManagementAppHyperlink(cchhyperlink: u32, pszhyperlink: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsDeviceRegisteredWithManagement(pfisdeviceregisteredwithmanagement: *mut super::super::Foundation::BOOL, cchupn: u32, pszupn: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsManagementRegistrationAllowed(pfismanagementregistrationallowed: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsMdmUxWithoutAadAllowed(isenrollmentallowed: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterDeviceWithLocalManagement(alreadyregistered: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] pub fn RegisterDeviceWithManagement(pszupn: ::windows_sys::core::PCWSTR, ppszmdmserviceuri: ::windows_sys::core::PCWSTR, ppzsaccesstoken: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterDeviceWithManagementUsingAADCredentials(usertoken: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] pub fn RegisterDeviceWithManagementUsingAADDeviceCredentials() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] pub fn RegisterDeviceWithManagementUsingAADDeviceCredentials2(mdmapplicationid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] pub fn SetDeviceManagementConfigInfo(providerid: ::windows_sys::core::PCWSTR, configstring: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetManagedExternally(ismanagedexternally: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] pub fn UnregisterDeviceWithLocalManagement() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] pub fn UnregisterDeviceWithManagement(enrollmentid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/Media/Audio/DirectSound/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/Audio/DirectSound/mod.rs index 373f2c1ca0..cfe4efa74f 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/Audio/DirectSound/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/Audio/DirectSound/mod.rs @@ -2,27 +2,54 @@ extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] pub fn DirectSoundCaptureCreate(pcguiddevice: *const ::windows_sys::core::GUID, ppdsc: *mut IDirectSoundCapture, punkouter: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] pub fn DirectSoundCaptureCreate8(pcguiddevice: *const ::windows_sys::core::GUID, ppdsc8: *mut IDirectSoundCapture, punkouter: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DirectSoundCaptureEnumerateA(pdsenumcallback: LPDSENUMCALLBACKA, pcontext: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DirectSoundCaptureEnumerateW(pdsenumcallback: LPDSENUMCALLBACKW, pcontext: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] pub fn DirectSoundCreate(pcguiddevice: *const ::windows_sys::core::GUID, ppds: *mut IDirectSound, punkouter: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] pub fn DirectSoundCreate8(pcguiddevice: *const ::windows_sys::core::GUID, ppds8: *mut IDirectSound8, punkouter: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DirectSoundEnumerateA(pdsenumcallback: LPDSENUMCALLBACKA, pcontext: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DirectSoundEnumerateW(pdsenumcallback: LPDSENUMCALLBACKW, pcontext: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DirectSoundFullDuplexCreate(pcguidcapturedevice: *const ::windows_sys::core::GUID, pcguidrenderdevice: *const ::windows_sys::core::GUID, pcdscbufferdesc: *const DSCBUFFERDESC, pcdsbufferdesc: *const DSBUFFERDESC, hwnd: super::super::super::Foundation::HWND, dwlevel: u32, ppdsfd: *mut IDirectSoundFullDuplex, ppdscbuffer8: *mut IDirectSoundCaptureBuffer8, ppdsbuffer8: *mut IDirectSoundBuffer8, punkouter: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] pub fn GetDeviceID(pguidsrc: *const ::windows_sys::core::GUID, pguiddest: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/Media/Audio/XAudio2/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/Audio/XAudio2/mod.rs index b5b5f43d1f..cefc7ed775 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/Audio/XAudio2/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/Audio/XAudio2/mod.rs @@ -2,12 +2,24 @@ extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] pub fn CreateAudioReverb(ppapo: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] pub fn CreateAudioVolumeMeter(ppapo: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] pub fn CreateFX(clsid: *const ::windows_sys::core::GUID, peffect: *mut ::windows_sys::core::IUnknown, pinitdat: *const ::core::ffi::c_void, initdatabytesize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] pub fn CreateHrtfApo(init: *const HrtfApoInit, xapo: *mut IXAPO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] pub fn XAudio2CreateWithVersionInfo(ppxaudio2: *mut IXAudio2, flags: u32, xaudio2processor: u32, ntddiversion: u32) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/Media/Audio/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/Audio/mod.rs index 11e0585154..5bd46c7f8e 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/Audio/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/Audio/mod.rs @@ -13,356 +13,827 @@ extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn ActivateAudioInterfaceAsync(deviceinterfacepath: ::windows_sys::core::PCWSTR, riid: *const ::windows_sys::core::GUID, activationparams: *const super::super::System::Com::StructuredStorage::PROPVARIANT, completionhandler: IActivateAudioInterfaceCompletionHandler, activationoperation: *mut IActivateAudioInterfaceAsyncOperation) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn CoRegisterMessageFilter(lpmessagefilter: IMessageFilter, lplpmessagefilter: *mut IMessageFilter) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn CreateCaptureAudioStateMonitor(audiostatemonitor: *mut IAudioStateMonitor) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn CreateCaptureAudioStateMonitorForCategory(category: AUDIO_STREAM_CATEGORY, audiostatemonitor: *mut IAudioStateMonitor) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn CreateCaptureAudioStateMonitorForCategoryAndDeviceId(category: AUDIO_STREAM_CATEGORY, deviceid: ::windows_sys::core::PCWSTR, audiostatemonitor: *mut IAudioStateMonitor) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn CreateCaptureAudioStateMonitorForCategoryAndDeviceRole(category: AUDIO_STREAM_CATEGORY, role: ERole, audiostatemonitor: *mut IAudioStateMonitor) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn CreateRenderAudioStateMonitor(audiostatemonitor: *mut IAudioStateMonitor) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn CreateRenderAudioStateMonitorForCategory(category: AUDIO_STREAM_CATEGORY, audiostatemonitor: *mut IAudioStateMonitor) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn CreateRenderAudioStateMonitorForCategoryAndDeviceId(category: AUDIO_STREAM_CATEGORY, deviceid: ::windows_sys::core::PCWSTR, audiostatemonitor: *mut IAudioStateMonitor) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn CreateRenderAudioStateMonitorForCategoryAndDeviceRole(category: AUDIO_STREAM_CATEGORY, role: ERole, audiostatemonitor: *mut IAudioStateMonitor) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PlaySoundA(pszsound: ::windows_sys::core::PCSTR, hmod: super::super::Foundation::HINSTANCE, fdwsound: SND_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PlaySoundW(pszsound: ::windows_sys::core::PCWSTR, hmod: super::super::Foundation::HINSTANCE, fdwsound: SND_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn acmDriverAddA(phadid: *mut isize, hinstmodule: super::super::Foundation::HINSTANCE, lparam: super::super::Foundation::LPARAM, dwpriority: u32, fdwadd: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn acmDriverAddW(phadid: *mut isize, hinstmodule: super::super::Foundation::HINSTANCE, lparam: super::super::Foundation::LPARAM, dwpriority: u32, fdwadd: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn acmDriverClose(had: HACMDRIVER, fdwclose: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn acmDriverDetailsA(hadid: HACMDRIVERID, padd: *mut ACMDRIVERDETAILSA, fdwdetails: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn acmDriverDetailsW(hadid: HACMDRIVERID, padd: *mut ACMDRIVERDETAILSW, fdwdetails: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn acmDriverEnum(fncallback: ACMDRIVERENUMCB, dwinstance: usize, fdwenum: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn acmDriverID(hao: HACMOBJ, phadid: *mut isize, fdwdriverid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn acmDriverMessage(had: HACMDRIVER, umsg: u32, lparam1: super::super::Foundation::LPARAM, lparam2: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn acmDriverOpen(phad: *mut isize, hadid: HACMDRIVERID, fdwopen: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn acmDriverPriority(hadid: HACMDRIVERID, dwpriority: u32, fdwpriority: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn acmDriverRemove(hadid: HACMDRIVERID, fdwremove: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn acmFilterChooseA(pafltrc: *mut ACMFILTERCHOOSEA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn acmFilterChooseW(pafltrc: *mut ACMFILTERCHOOSEW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn acmFilterDetailsA(had: HACMDRIVER, pafd: *mut ACMFILTERDETAILSA, fdwdetails: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn acmFilterDetailsW(had: HACMDRIVER, pafd: *mut ACMFILTERDETAILSW, fdwdetails: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn acmFilterEnumA(had: HACMDRIVER, pafd: *mut ACMFILTERDETAILSA, fncallback: ACMFILTERENUMCBA, dwinstance: usize, fdwenum: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn acmFilterEnumW(had: HACMDRIVER, pafd: *mut ACMFILTERDETAILSW, fncallback: ACMFILTERENUMCBW, dwinstance: usize, fdwenum: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn acmFilterTagDetailsA(had: HACMDRIVER, paftd: *mut ACMFILTERTAGDETAILSA, fdwdetails: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn acmFilterTagDetailsW(had: HACMDRIVER, paftd: *mut ACMFILTERTAGDETAILSW, fdwdetails: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn acmFilterTagEnumA(had: HACMDRIVER, paftd: *mut ACMFILTERTAGDETAILSA, fncallback: ACMFILTERTAGENUMCBA, dwinstance: usize, fdwenum: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn acmFilterTagEnumW(had: HACMDRIVER, paftd: *mut ACMFILTERTAGDETAILSW, fncallback: ACMFILTERTAGENUMCBW, dwinstance: usize, fdwenum: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn acmFormatChooseA(pafmtc: *mut ACMFORMATCHOOSEA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn acmFormatChooseW(pafmtc: *mut ACMFORMATCHOOSEW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn acmFormatDetailsA(had: HACMDRIVER, pafd: *mut ACMFORMATDETAILSA, fdwdetails: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn acmFormatDetailsW(had: HACMDRIVER, pafd: *mut tACMFORMATDETAILSW, fdwdetails: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn acmFormatEnumA(had: HACMDRIVER, pafd: *mut ACMFORMATDETAILSA, fncallback: ACMFORMATENUMCBA, dwinstance: usize, fdwenum: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn acmFormatEnumW(had: HACMDRIVER, pafd: *mut tACMFORMATDETAILSW, fncallback: ACMFORMATENUMCBW, dwinstance: usize, fdwenum: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn acmFormatSuggest(had: HACMDRIVER, pwfxsrc: *mut WAVEFORMATEX, pwfxdst: *mut WAVEFORMATEX, cbwfxdst: u32, fdwsuggest: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn acmFormatTagDetailsA(had: HACMDRIVER, paftd: *mut ACMFORMATTAGDETAILSA, fdwdetails: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn acmFormatTagDetailsW(had: HACMDRIVER, paftd: *mut ACMFORMATTAGDETAILSW, fdwdetails: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn acmFormatTagEnumA(had: HACMDRIVER, paftd: *mut ACMFORMATTAGDETAILSA, fncallback: ACMFORMATTAGENUMCBA, dwinstance: usize, fdwenum: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn acmFormatTagEnumW(had: HACMDRIVER, paftd: *mut ACMFORMATTAGDETAILSW, fncallback: ACMFORMATTAGENUMCBW, dwinstance: usize, fdwenum: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn acmGetVersion() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn acmMetrics(hao: HACMOBJ, umetric: u32, pmetric: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn acmStreamClose(has: HACMSTREAM, fdwclose: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn acmStreamConvert(has: HACMSTREAM, pash: *mut ACMSTREAMHEADER, fdwconvert: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn acmStreamMessage(has: HACMSTREAM, umsg: u32, lparam1: super::super::Foundation::LPARAM, lparam2: super::super::Foundation::LPARAM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn acmStreamOpen(phas: *mut isize, had: HACMDRIVER, pwfxsrc: *mut WAVEFORMATEX, pwfxdst: *mut WAVEFORMATEX, pwfltr: *mut WAVEFILTER, dwcallback: usize, dwinstance: usize, fdwopen: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn acmStreamPrepareHeader(has: HACMSTREAM, pash: *mut ACMSTREAMHEADER, fdwprepare: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn acmStreamReset(has: HACMSTREAM, fdwreset: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn acmStreamSize(has: HACMSTREAM, cbinput: u32, pdwoutputbytes: *mut u32, fdwsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn acmStreamUnprepareHeader(has: HACMSTREAM, pash: *mut ACMSTREAMHEADER, fdwunprepare: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn auxGetDevCapsA(udeviceid: usize, pac: *mut AUXCAPSA, cbac: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn auxGetDevCapsW(udeviceid: usize, pac: *mut AUXCAPSW, cbac: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn auxGetNumDevs() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn auxGetVolume(udeviceid: u32, pdwvolume: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn auxOutMessage(udeviceid: u32, umsg: u32, dw1: usize, dw2: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn auxSetVolume(udeviceid: u32, dwvolume: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiConnect(hmi: HMIDI, hmo: HMIDIOUT, preserved: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiDisconnect(hmi: HMIDI, hmo: HMIDIOUT, preserved: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiInAddBuffer(hmi: HMIDIIN, pmh: *mut MIDIHDR, cbmh: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiInClose(hmi: HMIDIIN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn midiInGetDevCapsA(udeviceid: usize, pmic: *mut MIDIINCAPSA, cbmic: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiInGetDevCapsW(udeviceid: usize, pmic: *mut MIDIINCAPSW, cbmic: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiInGetErrorTextA(mmrerror: u32, psztext: ::windows_sys::core::PSTR, cchtext: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiInGetErrorTextW(mmrerror: u32, psztext: ::windows_sys::core::PWSTR, cchtext: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiInGetID(hmi: HMIDIIN, pudeviceid: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiInGetNumDevs() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiInMessage(hmi: HMIDIIN, umsg: u32, dw1: usize, dw2: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiInOpen(phmi: *mut HMIDIIN, udeviceid: u32, dwcallback: usize, dwinstance: usize, fdwopen: MIDI_WAVE_OPEN_TYPE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiInPrepareHeader(hmi: HMIDIIN, pmh: *mut MIDIHDR, cbmh: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiInReset(hmi: HMIDIIN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiInStart(hmi: HMIDIIN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiInStop(hmi: HMIDIIN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiInUnprepareHeader(hmi: HMIDIIN, pmh: *mut MIDIHDR, cbmh: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiOutCacheDrumPatches(hmo: HMIDIOUT, upatch: u32, pwkya: *const u16, fucache: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiOutCachePatches(hmo: HMIDIOUT, ubank: u32, pwpa: *const u16, fucache: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiOutClose(hmo: HMIDIOUT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn midiOutGetDevCapsA(udeviceid: usize, pmoc: *mut MIDIOUTCAPSA, cbmoc: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiOutGetDevCapsW(udeviceid: usize, pmoc: *mut MIDIOUTCAPSW, cbmoc: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiOutGetErrorTextA(mmrerror: u32, psztext: ::windows_sys::core::PSTR, cchtext: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiOutGetErrorTextW(mmrerror: u32, psztext: ::windows_sys::core::PWSTR, cchtext: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiOutGetID(hmo: HMIDIOUT, pudeviceid: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiOutGetNumDevs() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiOutGetVolume(hmo: HMIDIOUT, pdwvolume: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiOutLongMsg(hmo: HMIDIOUT, pmh: *const MIDIHDR, cbmh: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiOutMessage(hmo: HMIDIOUT, umsg: u32, dw1: usize, dw2: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiOutOpen(phmo: *mut HMIDIOUT, udeviceid: u32, dwcallback: usize, dwinstance: usize, fdwopen: MIDI_WAVE_OPEN_TYPE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiOutPrepareHeader(hmo: HMIDIOUT, pmh: *mut MIDIHDR, cbmh: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiOutReset(hmo: HMIDIOUT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiOutSetVolume(hmo: HMIDIOUT, dwvolume: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiOutShortMsg(hmo: HMIDIOUT, dwmsg: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiOutUnprepareHeader(hmo: HMIDIOUT, pmh: *mut MIDIHDR, cbmh: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiStreamClose(hms: HMIDISTRM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiStreamOpen(phms: *mut HMIDISTRM, pudeviceid: *mut u32, cmidi: u32, dwcallback: usize, dwinstance: usize, fdwopen: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiStreamOut(hms: HMIDISTRM, pmh: *mut MIDIHDR, cbmh: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiStreamPause(hms: HMIDISTRM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiStreamPosition(hms: HMIDISTRM, lpmmt: *mut super::MMTIME, cbmmt: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiStreamProperty(hms: HMIDISTRM, lppropdata: *mut u8, dwproperty: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiStreamRestart(hms: HMIDISTRM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn midiStreamStop(hms: HMIDISTRM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn mixerClose(hmx: HMIXER) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mixerGetControlDetailsA(hmxobj: HMIXEROBJ, pmxcd: *mut MIXERCONTROLDETAILS, fdwdetails: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mixerGetControlDetailsW(hmxobj: HMIXEROBJ, pmxcd: *mut MIXERCONTROLDETAILS, fdwdetails: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mixerGetDevCapsA(umxid: usize, pmxcaps: *mut MIXERCAPSA, cbmxcaps: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn mixerGetDevCapsW(umxid: usize, pmxcaps: *mut MIXERCAPSW, cbmxcaps: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn mixerGetID(hmxobj: HMIXEROBJ, pumxid: *mut u32, fdwid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mixerGetLineControlsA(hmxobj: HMIXEROBJ, pmxlc: *mut MIXERLINECONTROLSA, fdwcontrols: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn mixerGetLineControlsW(hmxobj: HMIXEROBJ, pmxlc: *mut MIXERLINECONTROLSW, fdwcontrols: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mixerGetLineInfoA(hmxobj: HMIXEROBJ, pmxl: *mut MIXERLINEA, fdwinfo: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn mixerGetLineInfoW(hmxobj: HMIXEROBJ, pmxl: *mut MIXERLINEW, fdwinfo: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn mixerGetNumDevs() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn mixerMessage(hmx: HMIXER, umsg: u32, dwparam1: usize, dwparam2: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn mixerOpen(phmx: *mut isize, umxid: u32, dwcallback: usize, dwinstance: usize, fdwopen: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mixerSetControlDetails(hmxobj: HMIXEROBJ, pmxcd: *const MIXERCONTROLDETAILS, fdwdetails: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn sndPlaySoundA(pszsound: ::windows_sys::core::PCSTR, fusound: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn sndPlaySoundW(pszsound: ::windows_sys::core::PCWSTR, fusound: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveInAddBuffer(hwi: HWAVEIN, pwh: *mut WAVEHDR, cbwh: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveInClose(hwi: HWAVEIN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn waveInGetDevCapsA(udeviceid: usize, pwic: *mut WAVEINCAPSA, cbwic: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveInGetDevCapsW(udeviceid: usize, pwic: *mut WAVEINCAPSW, cbwic: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveInGetErrorTextA(mmrerror: u32, psztext: ::windows_sys::core::PSTR, cchtext: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveInGetErrorTextW(mmrerror: u32, psztext: ::windows_sys::core::PWSTR, cchtext: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveInGetID(hwi: HWAVEIN, pudeviceid: *const u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveInGetNumDevs() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveInGetPosition(hwi: HWAVEIN, pmmt: *mut super::MMTIME, cbmmt: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveInMessage(hwi: HWAVEIN, umsg: u32, dw1: usize, dw2: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveInOpen(phwi: *mut HWAVEIN, udeviceid: u32, pwfx: *const WAVEFORMATEX, dwcallback: usize, dwinstance: usize, fdwopen: MIDI_WAVE_OPEN_TYPE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveInPrepareHeader(hwi: HWAVEIN, pwh: *mut WAVEHDR, cbwh: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveInReset(hwi: HWAVEIN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveInStart(hwi: HWAVEIN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveInStop(hwi: HWAVEIN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveInUnprepareHeader(hwi: HWAVEIN, pwh: *mut WAVEHDR, cbwh: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveOutBreakLoop(hwo: HWAVEOUT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveOutClose(hwo: HWAVEOUT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn waveOutGetDevCapsA(udeviceid: usize, pwoc: *mut WAVEOUTCAPSA, cbwoc: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveOutGetDevCapsW(udeviceid: usize, pwoc: *mut WAVEOUTCAPSW, cbwoc: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveOutGetErrorTextA(mmrerror: u32, psztext: ::windows_sys::core::PSTR, cchtext: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveOutGetErrorTextW(mmrerror: u32, psztext: ::windows_sys::core::PWSTR, cchtext: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveOutGetID(hwo: HWAVEOUT, pudeviceid: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveOutGetNumDevs() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveOutGetPitch(hwo: HWAVEOUT, pdwpitch: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveOutGetPlaybackRate(hwo: HWAVEOUT, pdwrate: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveOutGetPosition(hwo: HWAVEOUT, pmmt: *mut super::MMTIME, cbmmt: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveOutGetVolume(hwo: HWAVEOUT, pdwvolume: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveOutMessage(hwo: HWAVEOUT, umsg: u32, dw1: usize, dw2: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveOutOpen(phwo: *mut HWAVEOUT, udeviceid: u32, pwfx: *const WAVEFORMATEX, dwcallback: usize, dwinstance: usize, fdwopen: MIDI_WAVE_OPEN_TYPE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveOutPause(hwo: HWAVEOUT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveOutPrepareHeader(hwo: HWAVEOUT, pwh: *mut WAVEHDR, cbwh: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveOutReset(hwo: HWAVEOUT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveOutRestart(hwo: HWAVEOUT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveOutSetPitch(hwo: HWAVEOUT, dwpitch: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveOutSetPlaybackRate(hwo: HWAVEOUT, dwrate: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveOutSetVolume(hwo: HWAVEOUT, dwvolume: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveOutUnprepareHeader(hwo: HWAVEOUT, pwh: *mut WAVEHDR, cbwh: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub fn waveOutWrite(hwo: HWAVEOUT, pwh: *mut WAVEHDR, cbwh: u32) -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/Media/DirectShow/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/DirectShow/mod.rs index ba2596b652..9dc7a2b681 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/DirectShow/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/DirectShow/mod.rs @@ -4,6 +4,9 @@ pub mod Xml; extern "system" { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] pub fn AMGetErrorTextA(hr: ::windows_sys::core::HRESULT, pbuffer: ::windows_sys::core::PSTR, maxlen: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] pub fn AMGetErrorTextW(hr: ::windows_sys::core::HRESULT, pbuffer: ::windows_sys::core::PWSTR, maxlen: u32) -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/Media/DxMediaObjects/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/DxMediaObjects/mod.rs index 889457a470..a73a0dabd4 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/DxMediaObjects/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/DxMediaObjects/mod.rs @@ -2,29 +2,59 @@ extern "system" { #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`*"] pub fn DMOEnum(guidcategory: *const ::windows_sys::core::GUID, dwflags: u32, cintypes: u32, pintypes: *const DMO_PARTIAL_MEDIATYPE, couttypes: u32, pouttypes: *const DMO_PARTIAL_MEDIATYPE, ppenum: *mut IEnumDMO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`*"] pub fn DMOGetName(clsiddmo: *const ::windows_sys::core::GUID, szname: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`*"] pub fn DMOGetTypes(clsiddmo: *const ::windows_sys::core::GUID, ulinputtypesrequested: u32, pulinputtypessupplied: *mut u32, pinputtypes: *mut DMO_PARTIAL_MEDIATYPE, uloutputtypesrequested: u32, puloutputtypessupplied: *mut u32, poutputtypes: *mut DMO_PARTIAL_MEDIATYPE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`*"] pub fn DMORegister(szname: ::windows_sys::core::PCWSTR, clsiddmo: *const ::windows_sys::core::GUID, guidcategory: *const ::windows_sys::core::GUID, dwflags: u32, cintypes: u32, pintypes: *const DMO_PARTIAL_MEDIATYPE, couttypes: u32, pouttypes: *const DMO_PARTIAL_MEDIATYPE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`*"] pub fn DMOUnregister(clsiddmo: *const ::windows_sys::core::GUID, guidcategory: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MoCopyMediaType(pmtdest: *mut DMO_MEDIA_TYPE, pmtsrc: *const DMO_MEDIA_TYPE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MoCreateMediaType(ppmt: *mut *mut DMO_MEDIA_TYPE, cbformat: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MoDeleteMediaType(pmt: *mut DMO_MEDIA_TYPE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MoDuplicateMediaType(ppmtdest: *mut *mut DMO_MEDIA_TYPE, pmtsrc: *const DMO_MEDIA_TYPE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MoFreeMediaType(pmt: *mut DMO_MEDIA_TYPE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MoInitMediaType(pmt: *mut DMO_MEDIA_TYPE, cbformat: u32) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Media/KernelStreaming/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/KernelStreaming/mod.rs index 661b0407e5..713cd91eb5 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/KernelStreaming/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/KernelStreaming/mod.rs @@ -3,24 +3,45 @@ extern "system" { #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn KsCreateAllocator(connectionhandle: super::super::Foundation::HANDLE, allocatorframing: *const KSALLOCATOR_FRAMING, allocatorhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn KsCreateAllocator2(connectionhandle: super::super::Foundation::HANDLE, allocatorframing: *const KSALLOCATOR_FRAMING, allocatorhandle: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn KsCreateClock(connectionhandle: super::super::Foundation::HANDLE, clockcreate: *const KSCLOCK_CREATE, clockhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn KsCreateClock2(connectionhandle: super::super::Foundation::HANDLE, clockcreate: *const KSCLOCK_CREATE, clockhandle: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn KsCreatePin(filterhandle: super::super::Foundation::HANDLE, connect: *const KSPIN_CONNECT, desiredaccess: u32, connectionhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn KsCreatePin2(filterhandle: super::super::Foundation::HANDLE, connect: *const KSPIN_CONNECT, desiredaccess: u32, connectionhandle: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn KsCreateTopologyNode(parenthandle: super::super::Foundation::HANDLE, nodecreate: *const KSNODE_CREATE, desiredaccess: u32, nodehandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn KsCreateTopologyNode2(parenthandle: super::super::Foundation::HANDLE, nodecreate: *const KSNODE_CREATE, desiredaccess: u32, nodehandle: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Media/MediaFoundation/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/MediaFoundation/mod.rs index 13717cc6f6..4276dd200e 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/MediaFoundation/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/MediaFoundation/mod.rs @@ -3,543 +3,1266 @@ extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub fn CreateNamedPropertyStore(ppstore: *mut super::super::UI::Shell::PropertiesSystem::INamedPropertyStore) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub fn CreatePropertyStore(ppstore: *mut super::super::UI::Shell::PropertiesSystem::IPropertyStore) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn DXVA2CreateDirect3DDeviceManager9(presettoken: *mut u32, ppdevicemanager: *mut IDirect3DDeviceManager9) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D9\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D9")] pub fn DXVA2CreateVideoService(pdd: super::super::Graphics::Direct3D9::IDirect3DDevice9, riid: *const ::windows_sys::core::GUID, ppservice: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D9\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D9")] pub fn DXVAHD_CreateDevice(pd3ddevice: super::super::Graphics::Direct3D9::IDirect3DDevice9Ex, pcontentdesc: *const DXVAHD_CONTENT_DESC, usage: DXVAHD_DEVICE_USAGE, pplugin: PDXVAHDSW_Plugin, ppdevice: *mut IDXVAHD_Device) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFAddPeriodicCallback(callback: MFPERIODICCALLBACK, pcontext: ::windows_sys::core::IUnknown, pdwkey: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFAllocateSerialWorkQueue(dwworkqueue: u32, pdwworkqueue: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFAllocateWorkQueue(pdwworkqueue: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFAllocateWorkQueueEx(workqueuetype: MFASYNC_WORKQUEUE_TYPE, pdwworkqueue: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFAverageTimePerFrameToFrameRate(unaveragetimeperframe: u64, punnumerator: *mut u32, pundenominator: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFBeginCreateFile(accessmode: MF_FILE_ACCESSMODE, openmode: MF_FILE_OPENMODE, fflags: MF_FILE_FLAGS, pwszfilepath: ::windows_sys::core::PCWSTR, pcallback: IMFAsyncCallback, pstate: ::windows_sys::core::IUnknown, ppcancelcookie: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFBeginRegisterWorkQueueWithMMCSS(dwworkqueueid: u32, wszclass: ::windows_sys::core::PCWSTR, dwtaskid: u32, pdonecallback: IMFAsyncCallback, pdonestate: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFBeginRegisterWorkQueueWithMMCSSEx(dwworkqueueid: u32, wszclass: ::windows_sys::core::PCWSTR, dwtaskid: u32, lpriority: i32, pdonecallback: IMFAsyncCallback, pdonestate: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFBeginUnregisterWorkQueueWithMMCSS(dwworkqueueid: u32, pdonecallback: IMFAsyncCallback, pdonestate: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn MFCalculateBitmapImageSize(pbmih: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, cbbufsize: u32, pcbimagesize: *mut u32, pbknown: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCalculateImageSize(guidsubtype: *const ::windows_sys::core::GUID, unwidth: u32, unheight: u32, pcbimagesize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCancelCreateFile(pcancelcookie: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCancelWorkItem(key: u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFCombineSamples(psample: IMFSample, psampletoadd: IMFSample, dwmaxmergeddurationinms: u32, pmerged: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFCompareFullToPartialMediaType(pmftypefull: IMFMediaType, pmftypepartial: IMFMediaType) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFConvertColorInfoFromDXVA(ptoformat: *mut MFVIDEOFORMAT, dwfromdxva: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFConvertColorInfoToDXVA(pdwtodxva: *mut u32, pfromformat: *const MFVIDEOFORMAT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFConvertFromFP16Array(pdest: *mut f32, psrc: *const u16, dwcount: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFConvertToFP16Array(pdest: *mut u16, psrc: *const f32, dwcount: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCopyImage(pdest: *mut u8, ldeststride: i32, psrc: *const u8, lsrcstride: i32, dwwidthinbytes: u32, dwlines: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFCreate2DMediaBuffer(dwwidth: u32, dwheight: u32, dwfourcc: u32, fbottomup: super::super::Foundation::BOOL, ppbuffer: *mut IMFMediaBuffer) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreate3GPMediaSink(pibytestream: IMFByteStream, pvideomediatype: IMFMediaType, paudiomediatype: IMFMediaType, ppimediasink: *mut IMFMediaSink) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateAC3MediaSink(ptargetbytestream: IMFByteStream, paudiomediatype: IMFMediaType, ppmediasink: *mut IMFMediaSink) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateADTSMediaSink(ptargetbytestream: IMFByteStream, paudiomediatype: IMFMediaType, ppmediasink: *mut IMFMediaSink) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFCreateAMMediaTypeFromMFMediaType(pmftype: IMFMediaType, guidformatblocktype: ::windows_sys::core::GUID, ppamtype: *mut *mut AM_MEDIA_TYPE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateASFContentInfo(ppicontentinfo: *mut IMFASFContentInfo) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateASFIndexer(ppiindexer: *mut IMFASFIndexer) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateASFIndexerByteStream(picontentbytestream: IMFByteStream, cbindexstartoffset: u64, piindexbytestream: *mut IMFByteStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateASFMediaSink(pibytestream: IMFByteStream, ppimediasink: *mut IMFMediaSink) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateASFMediaSinkActivate(pwszfilename: ::windows_sys::core::PCWSTR, pcontentinfo: IMFASFContentInfo, ppiactivate: *mut IMFActivate) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateASFMultiplexer(ppimultiplexer: *mut IMFASFMultiplexer) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateASFProfile(ppiprofile: *mut IMFASFProfile) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateASFProfileFromPresentationDescriptor(pipd: IMFPresentationDescriptor, ppiprofile: *mut IMFASFProfile) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateASFSplitter(ppisplitter: *mut IMFASFSplitter) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateASFStreamSelector(piasfprofile: IMFASFProfile, ppselector: *mut IMFASFStreamSelector) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateASFStreamingMediaSink(pibytestream: IMFByteStream, ppimediasink: *mut IMFMediaSink) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateASFStreamingMediaSinkActivate(pbytestreamactivate: IMFActivate, pcontentinfo: IMFASFContentInfo, ppiactivate: *mut IMFActivate) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateAVIMediaSink(pibytestream: IMFByteStream, pvideomediatype: IMFMediaType, paudiomediatype: IMFMediaType, ppimediasink: *mut IMFMediaSink) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateAggregateSource(psourcecollection: IMFCollection, ppaggsource: *mut IMFMediaSource) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateAlignedMemoryBuffer(cbmaxlength: u32, cbaligment: u32, ppbuffer: *mut IMFMediaBuffer) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateAsyncResult(punkobject: ::windows_sys::core::IUnknown, pcallback: IMFAsyncCallback, punkstate: ::windows_sys::core::IUnknown, ppasyncresult: *mut IMFAsyncResult) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateAttributes(ppmfattributes: *mut IMFAttributes, cinitialsize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Media_Audio\"`*"] #[cfg(feature = "Win32_Media_Audio")] pub fn MFCreateAudioMediaType(paudioformat: *const super::Audio::WAVEFORMATEX, ppiaudiomediatype: *mut IMFAudioMediaType) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateAudioRenderer(paudioattributes: IMFAttributes, ppsink: *mut IMFMediaSink) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateAudioRendererActivate(ppactivate: *mut IMFActivate) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateCameraOcclusionStateMonitor(symboliclink: ::windows_sys::core::PCWSTR, callback: IMFCameraOcclusionStateReportCallback, occlusionstatemonitor: *mut IMFCameraOcclusionStateMonitor) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateCollection(ppimfcollection: *mut IMFCollection) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateContentDecryptorContext(guidmediaprotectionsystemid: *const ::windows_sys::core::GUID, pd3dmanager: IMFDXGIDeviceManager, pcontentprotectiondevice: IMFContentProtectionDevice, ppcontentdecryptorcontext: *mut IMFContentDecryptorContext) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateContentProtectionDevice(protectionsystemid: *const ::windows_sys::core::GUID, contentprotectiondevice: *mut IMFContentProtectionDevice) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateCredentialCache(ppcache: *mut IMFNetCredentialCache) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] pub fn MFCreateD3D12SynchronizationObject(pdevice: super::super::Graphics::Direct3D12::ID3D12Device, riid: *const ::windows_sys::core::GUID, ppvsyncobject: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateDXGIDeviceManager(resettoken: *mut u32, ppdevicemanager: *mut IMFDXGIDeviceManager) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFCreateDXGISurfaceBuffer(riid: *const ::windows_sys::core::GUID, punksurface: ::windows_sys::core::IUnknown, usubresourceindex: u32, fbottomupwhenlinear: super::super::Foundation::BOOL, ppbuffer: *mut IMFMediaBuffer) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFCreateDXSurfaceBuffer(riid: *const ::windows_sys::core::GUID, punksurface: ::windows_sys::core::IUnknown, fbottomupwhenlinear: super::super::Foundation::BOOL, ppbuffer: *mut IMFMediaBuffer) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateDeviceSource(pattributes: IMFAttributes, ppsource: *mut IMFMediaSource) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateDeviceSourceActivate(pattributes: IMFAttributes, ppactivate: *mut IMFActivate) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn MFCreateEncryptedMediaExtensionsStoreActivate(pmphost: IMFPMPHostApp, objectstream: super::super::System::Com::IStream, classid: ::windows_sys::core::PCWSTR, activate: *mut IMFActivate) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateEventQueue(ppmediaeventqueue: *mut IMFMediaEventQueue) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateExtendedCameraIntrinsicModel(distortionmodeltype: MFCameraIntrinsic_DistortionModelType, ppextendedcameraintrinsicmodel: *mut IMFExtendedCameraIntrinsicModel) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateExtendedCameraIntrinsics(ppextendedcameraintrinsics: *mut IMFExtendedCameraIntrinsics) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateFMPEG4MediaSink(pibytestream: IMFByteStream, pvideomediatype: IMFMediaType, paudiomediatype: IMFMediaType, ppimediasink: *mut IMFMediaSink) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateFile(accessmode: MF_FILE_ACCESSMODE, openmode: MF_FILE_OPENMODE, fflags: MF_FILE_FLAGS, pwszfileurl: ::windows_sys::core::PCWSTR, ppibytestream: *mut IMFByteStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Media_DxMediaObjects\"`*"] #[cfg(feature = "Win32_Media_DxMediaObjects")] pub fn MFCreateLegacyMediaBufferOnMFMediaBuffer(psample: IMFSample, pmfmediabuffer: IMFMediaBuffer, cboffset: u32, ppmediabuffer: *mut super::DxMediaObjects::IMediaBuffer) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn MFCreateMFByteStreamOnStream(pstream: super::super::System::Com::IStream, ppbytestream: *mut IMFByteStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateMFByteStreamOnStreamEx(punkstream: ::windows_sys::core::IUnknown, ppbytestream: *mut IMFByteStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateMFByteStreamWrapper(pstream: IMFByteStream, ppstreamwrapper: *mut IMFByteStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFCreateMFVideoFormatFromMFMediaType(pmftype: IMFMediaType, ppmfvf: *mut *mut MFVIDEOFORMAT, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateMP3MediaSink(ptargetbytestream: IMFByteStream, ppmediasink: *mut IMFMediaSink) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateMPEG4MediaSink(pibytestream: IMFByteStream, pvideomediatype: IMFMediaType, paudiomediatype: IMFMediaType, ppimediasink: *mut IMFMediaSink) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateMediaBufferFromMediaType(pmediatype: IMFMediaType, llduration: i64, dwminlength: u32, dwminalignment: u32, ppbuffer: *mut IMFMediaBuffer) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateMediaBufferWrapper(pbuffer: IMFMediaBuffer, cboffset: u32, dwlength: u32, ppbuffer: *mut IMFMediaBuffer) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn MFCreateMediaEvent(met: u32, guidextendedtype: *const ::windows_sys::core::GUID, hrstatus: ::windows_sys::core::HRESULT, pvvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT, ppevent: *mut IMFMediaEvent) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateMediaExtensionActivate(szactivatableclassid: ::windows_sys::core::PCWSTR, pconfiguration: ::windows_sys::core::IUnknown, riid: *const ::windows_sys::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateMediaSession(pconfiguration: IMFAttributes, ppmediasession: *mut IMFMediaSession) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateMediaType(ppmftype: *mut IMFMediaType) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateMediaTypeFromProperties(punkstream: ::windows_sys::core::IUnknown, ppmediatype: *mut IMFMediaType) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateMediaTypeFromRepresentation(guidrepresentation: ::windows_sys::core::GUID, pvrepresentation: *const ::core::ffi::c_void, ppimediatype: *mut IMFMediaType) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateMemoryBuffer(cbmaxlength: u32, ppbuffer: *mut IMFMediaBuffer) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateMuxSink(guidoutputsubtype: ::windows_sys::core::GUID, poutputattributes: IMFAttributes, poutputbytestream: IMFByteStream, ppmuxsink: *mut IMFMediaSink) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateMuxStreamAttributes(pattributestomux: IMFCollection, ppmuxattribs: *mut IMFAttributes) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateMuxStreamMediaType(pmediatypestomux: IMFCollection, ppmuxmediatype: *mut IMFMediaType) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateMuxStreamSample(psamplestomux: IMFCollection, ppmuxsample: *mut IMFSample) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateNetSchemePlugin(riid: *const ::windows_sys::core::GUID, ppvhandler: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreatePMPMediaSession(dwcreationflags: u32, pconfiguration: IMFAttributes, ppmediasession: *mut IMFMediaSession, ppenableractivate: *mut IMFActivate) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreatePMPServer(dwcreationflags: u32, pppmpserver: *mut IMFPMPServer) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreatePresentationClock(pppresentationclock: *mut IMFPresentationClock) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreatePresentationDescriptor(cstreamdescriptors: u32, apstreamdescriptors: *const IMFStreamDescriptor, pppresentationdescriptor: *mut IMFPresentationDescriptor) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreatePresentationDescriptorFromASFProfile(piprofile: IMFASFProfile, ppipd: *mut IMFPresentationDescriptor) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreatePropertiesFromMediaType(pmediatype: IMFMediaType, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateProtectedEnvironmentAccess(ppaccess: *mut IMFProtectedEnvironmentAccess) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub fn MFCreateProxyLocator(pszprotocol: ::windows_sys::core::PCWSTR, pproxyconfig: super::super::UI::Shell::PropertiesSystem::IPropertyStore, ppproxylocator: *mut IMFNetProxyLocator) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateRelativePanelWatcher(videodeviceid: ::windows_sys::core::PCWSTR, displaymonitordeviceid: ::windows_sys::core::PCWSTR, pprelativepanelwatcher: *mut IMFRelativePanelWatcher) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateRemoteDesktopPlugin(ppplugin: *mut IMFRemoteDesktopPlugin) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateSample(ppimfsample: *mut IMFSample) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateSampleCopierMFT(ppcopiermft: *mut IMFTransform) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateSampleGrabberSinkActivate(pimfmediatype: IMFMediaType, pimfsamplegrabbersinkcallback: IMFSampleGrabberSinkCallback, ppiactivate: *mut IMFActivate) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateSensorActivityMonitor(pcallback: IMFSensorActivitiesReportCallback, ppactivitymonitor: *mut IMFSensorActivityMonitor) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateSensorGroup(sensorgroupsymboliclink: ::windows_sys::core::PCWSTR, ppsensorgroup: *mut IMFSensorGroup) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateSensorProfile(profiletype: *const ::windows_sys::core::GUID, profileindex: u32, constraints: ::windows_sys::core::PCWSTR, ppprofile: *mut IMFSensorProfile) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateSensorProfileCollection(ppsensorprofile: *mut IMFSensorProfileCollection) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateSensorStream(streamid: u32, pattributes: IMFAttributes, pmediatypecollection: IMFCollection, ppstream: *mut IMFSensorStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn MFCreateSequencerSegmentOffset(dwid: u32, hnsoffset: i64, pvarsegmentoffset: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateSequencerSource(preserved: ::windows_sys::core::IUnknown, ppsequencersource: *mut IMFSequencerSource) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateSimpleTypeHandler(pphandler: *mut IMFMediaTypeHandler) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateSinkWriterFromMediaSink(pmediasink: IMFMediaSink, pattributes: IMFAttributes, ppsinkwriter: *mut IMFSinkWriter) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateSinkWriterFromURL(pwszoutputurl: ::windows_sys::core::PCWSTR, pbytestream: IMFByteStream, pattributes: IMFAttributes, ppsinkwriter: *mut IMFSinkWriter) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateSourceReaderFromByteStream(pbytestream: IMFByteStream, pattributes: IMFAttributes, ppsourcereader: *mut IMFSourceReader) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateSourceReaderFromMediaSource(pmediasource: IMFMediaSource, pattributes: IMFAttributes, ppsourcereader: *mut IMFSourceReader) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateSourceReaderFromURL(pwszurl: ::windows_sys::core::PCWSTR, pattributes: IMFAttributes, ppsourcereader: *mut IMFSourceReader) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateSourceResolver(ppisourceresolver: *mut IMFSourceResolver) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateStandardQualityManager(ppqualitymanager: *mut IMFQualityManager) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateStreamDescriptor(dwstreamidentifier: u32, cmediatypes: u32, apmediatypes: *const IMFMediaType, ppdescriptor: *mut IMFStreamDescriptor) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn MFCreateStreamOnMFByteStream(pbytestream: IMFByteStream, ppstream: *mut super::super::System::Com::IStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateStreamOnMFByteStreamEx(pbytestream: IMFByteStream, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateSystemTimeSource(ppsystemtimesource: *mut IMFPresentationTimeSource) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateTempFile(accessmode: MF_FILE_ACCESSMODE, openmode: MF_FILE_OPENMODE, fflags: MF_FILE_FLAGS, ppibytestream: *mut IMFByteStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateTopoLoader(ppobj: *mut IMFTopoLoader) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateTopology(pptopo: *mut IMFTopology) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateTopologyNode(nodetype: MF_TOPOLOGY_TYPE, ppnode: *mut IMFTopologyNode) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateTrackedSample(ppmfsample: *mut IMFTrackedSample) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateTranscodeProfile(pptranscodeprofile: *mut IMFTranscodeProfile) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateTranscodeSinkActivate(ppactivate: *mut IMFActivate) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateTranscodeTopology(psrc: IMFMediaSource, pwszoutputfilepath: ::windows_sys::core::PCWSTR, pprofile: IMFTranscodeProfile, pptranscodetopo: *mut IMFTopology) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateTranscodeTopologyFromByteStream(psrc: IMFMediaSource, poutputstream: IMFByteStream, pprofile: IMFTranscodeProfile, pptranscodetopo: *mut IMFTopology) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateTransformActivate(ppactivate: *mut IMFActivate) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFCreateVideoMediaType(pvideoformat: *const MFVIDEOFORMAT, ppivideomediatype: *mut IMFVideoMediaType) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn MFCreateVideoMediaTypeFromBitMapInfoHeader(pbmihbitmapinfoheader: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, dwpixelaspectratiox: u32, dwpixelaspectratioy: u32, interlacemode: MFVideoInterlaceMode, videoflags: u64, qwframespersecondnumerator: u64, qwframesperseconddenominator: u64, dwmaxbitrate: u32, ppivideomediatype: *mut IMFVideoMediaType) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn MFCreateVideoMediaTypeFromBitMapInfoHeaderEx(pbmihbitmapinfoheader: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, cbbitmapinfoheader: u32, dwpixelaspectratiox: u32, dwpixelaspectratioy: u32, interlacemode: MFVideoInterlaceMode, videoflags: u64, dwframespersecondnumerator: u32, dwframesperseconddenominator: u32, dwmaxbitrate: u32, ppivideomediatype: *mut IMFVideoMediaType) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateVideoMediaTypeFromSubtype(pamsubtype: *const ::windows_sys::core::GUID, ppivideomediatype: *mut IMFVideoMediaType) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateVideoMixer(powner: ::windows_sys::core::IUnknown, riiddevice: *const ::windows_sys::core::GUID, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateVideoMixerAndPresenter(pmixerowner: ::windows_sys::core::IUnknown, ppresenterowner: ::windows_sys::core::IUnknown, riidmixer: *const ::windows_sys::core::GUID, ppvvideomixer: *mut *mut ::core::ffi::c_void, riidpresenter: *const ::windows_sys::core::GUID, ppvvideopresenter: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateVideoPresenter(powner: ::windows_sys::core::IUnknown, riiddevice: *const ::windows_sys::core::GUID, riid: *const ::windows_sys::core::GUID, ppvideopresenter: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateVideoRenderer(riidrenderer: *const ::windows_sys::core::GUID, ppvideorenderer: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFCreateVideoRendererActivate(hwndvideo: super::super::Foundation::HWND, ppactivate: *mut IMFActivate) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateVideoSampleAllocator(riid: *const ::windows_sys::core::GUID, ppsampleallocator: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateVideoSampleAllocatorEx(riid: *const ::windows_sys::core::GUID, ppsampleallocator: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateVideoSampleFromSurface(punksurface: ::windows_sys::core::IUnknown, ppsample: *mut IMFSample) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateVirtualCamera(r#type: MFVirtualCameraType, lifetime: MFVirtualCameraLifetime, access: MFVirtualCameraAccess, friendlyname: ::windows_sys::core::PCWSTR, sourceid: ::windows_sys::core::PCWSTR, categories: *const ::windows_sys::core::GUID, categorycount: u32, virtualcamera: *mut IMFVirtualCamera) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateWAVEMediaSink(ptargetbytestream: IMFByteStream, paudiomediatype: IMFMediaType, ppmediasink: *mut IMFMediaSink) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFCreateWICBitmapBuffer(riid: *const ::windows_sys::core::GUID, punksurface: ::windows_sys::core::IUnknown, ppbuffer: *mut IMFMediaBuffer) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub fn MFCreateWMAEncoderActivate(pmediatype: IMFMediaType, pencodingconfigurationproperties: super::super::UI::Shell::PropertiesSystem::IPropertyStore, ppactivate: *mut IMFActivate) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub fn MFCreateWMVEncoderActivate(pmediatype: IMFMediaType, pencodingconfigurationproperties: super::super::UI::Shell::PropertiesSystem::IPropertyStore, ppactivate: *mut IMFActivate) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Media_Audio\"`*"] #[cfg(feature = "Win32_Media_Audio")] pub fn MFCreateWaveFormatExFromMFMediaType(pmftype: IMFMediaType, ppwf: *mut *mut super::Audio::WAVEFORMATEX, pcbsize: *mut u32, flags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn MFDeserializeAttributesFromStream(pattr: IMFAttributes, dwoptions: u32, pstm: super::super::System::Com::IStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFDeserializePresentationDescriptor(cbdata: u32, pbdata: *const u8, pppd: *mut IMFPresentationDescriptor) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFEndCreateFile(presult: IMFAsyncResult, ppfile: *mut IMFByteStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFEndRegisterWorkQueueWithMMCSS(presult: IMFAsyncResult, pdwtaskid: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFEndUnregisterWorkQueueWithMMCSS(presult: IMFAsyncResult) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFEnumDeviceSources(pattributes: IMFAttributes, pppsourceactivate: *mut *mut IMFActivate, pcsourceactivate: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFFrameRateToAverageTimePerFrame(unnumerator: u32, undenominator: u32, punaveragetimeperframe: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFGetAttributesAsBlob(pattributes: IMFAttributes, pbuf: *mut u8, cbbufsize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFGetAttributesAsBlobSize(pattributes: IMFAttributes, pcbbufsize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFGetContentProtectionSystemCLSID(guidprotectionsystemid: *const ::windows_sys::core::GUID, pclsid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFGetLocalId(verifier: *const u8, size: u32, id: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFGetMFTMerit(pmft: ::windows_sys::core::IUnknown, cbverifier: u32, verifier: *const u8, merit: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFGetPlaneSize(format: u32, dwwidth: u32, dwheight: u32, pdwplanesize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFGetPluginControl(ppplugincontrol: *mut IMFPluginControl) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFGetService(punkobject: ::windows_sys::core::IUnknown, guidservice: *const ::windows_sys::core::GUID, riid: *const ::windows_sys::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFGetStrideForBitmapInfoHeader(format: u32, dwwidth: u32, pstride: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn MFGetSupportedMimeTypes(ppropvarmimetypearray: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn MFGetSupportedSchemes(ppropvarschemearray: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFGetSystemId(ppid: *mut IMFSystemId) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFGetSystemTime() -> i64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFGetTimerPeriodicity(periodicity: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFGetTopoNodeCurrentType(pnode: IMFTopologyNode, dwstreamindex: u32, foutput: super::super::Foundation::BOOL, pptype: *mut IMFMediaType) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFGetUncompressedVideoFormat(pvideoformat: *const MFVIDEOFORMAT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFGetWorkQueueMMCSSClass(dwworkqueueid: u32, pwszclass: ::windows_sys::core::PWSTR, pcchclass: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFGetWorkQueueMMCSSPriority(dwworkqueueid: u32, lpriority: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFGetWorkQueueMMCSSTaskId(dwworkqueueid: u32, pdwtaskid: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFHeapAlloc(nsize: usize, dwflags: u32, pszfile: ::windows_sys::core::PCSTR, line: i32, eat: EAllocationType) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFHeapFree(pv: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFInitAMMediaTypeFromMFMediaType(pmftype: IMFMediaType, guidformatblocktype: ::windows_sys::core::GUID, pamtype: *mut AM_MEDIA_TYPE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFInitAttributesFromBlob(pattributes: IMFAttributes, pbuf: *const u8, cbbufsize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFInitMediaTypeFromAMMediaType(pmftype: IMFMediaType, pamtype: *const AM_MEDIA_TYPE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFInitMediaTypeFromMFVideoFormat(pmftype: IMFMediaType, pmfvf: *const MFVIDEOFORMAT, cbbufsize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn MFInitMediaTypeFromMPEG1VideoInfo(pmftype: IMFMediaType, pmp1vi: *const MPEG1VIDEOINFO, cbbufsize: u32, psubtype: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn MFInitMediaTypeFromMPEG2VideoInfo(pmftype: IMFMediaType, pmp2vi: *const MPEG2VIDEOINFO, cbbufsize: u32, psubtype: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn MFInitMediaTypeFromVideoInfoHeader(pmftype: IMFMediaType, pvih: *const VIDEOINFOHEADER, cbbufsize: u32, psubtype: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn MFInitMediaTypeFromVideoInfoHeader2(pmftype: IMFMediaType, pvih2: *const VIDEOINFOHEADER2, cbbufsize: u32, psubtype: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Media_Audio\"`*"] #[cfg(feature = "Win32_Media_Audio")] pub fn MFInitMediaTypeFromWaveFormatEx(pmftype: IMFMediaType, pwaveformat: *const super::Audio::WAVEFORMATEX, cbbufsize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFInitVideoFormat(pvideoformat: *const MFVIDEOFORMAT, r#type: MFStandardVideoFormat) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFInitVideoFormat_RGB(pvideoformat: *const MFVIDEOFORMAT, dwwidth: u32, dwheight: u32, d3dfmt: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFInvokeCallback(pasyncresult: IMFAsyncResult) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFIsContentProtectionDeviceSupported(protectionsystemid: *const ::windows_sys::core::GUID, issupported: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFIsFormatYUV(format: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFIsVirtualCameraTypeSupported(r#type: MFVirtualCameraType, supported: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFLoadSignedLibrary(pszname: ::windows_sys::core::PCWSTR, pplib: *mut IMFSignedLibrary) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFLockDXGIDeviceManager(presettoken: *mut u32, ppmanager: *mut IMFDXGIDeviceManager) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFLockPlatform() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFLockSharedWorkQueue(wszclass: ::windows_sys::core::PCWSTR, basepriority: i32, pdwtaskid: *mut u32, pid: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFLockWorkQueue(dwworkqueue: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub fn MFMapDX9FormatToDXGIFormat(dx9: u32) -> super::super::Graphics::Dxgi::Common::DXGI_FORMAT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub fn MFMapDXGIFormatToDX9Format(dx11: super::super::Graphics::Dxgi::Common::DXGI_FORMAT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFPCreateMediaPlayer(pwszurl: ::windows_sys::core::PCWSTR, fstartplayback: super::super::Foundation::BOOL, creationoptions: MFP_CREATION_OPTIONS, pcallback: IMFPMediaPlayerCallback, hwnd: super::super::Foundation::HWND, ppmediaplayer: *mut IMFPMediaPlayer) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MFPutWaitingWorkItem(hevent: super::super::Foundation::HANDLE, priority: i32, presult: IMFAsyncResult, pkey: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFPutWorkItem(dwqueue: u32, pcallback: IMFAsyncCallback, pstate: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFPutWorkItem2(dwqueue: u32, priority: i32, pcallback: IMFAsyncCallback, pstate: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFPutWorkItemEx(dwqueue: u32, presult: IMFAsyncResult) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFPutWorkItemEx2(dwqueue: u32, priority: i32, presult: IMFAsyncResult) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFRegisterLocalByteStreamHandler(szfileextension: ::windows_sys::core::PCWSTR, szmimetype: ::windows_sys::core::PCWSTR, pactivate: IMFActivate) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFRegisterLocalSchemeHandler(szscheme: ::windows_sys::core::PCWSTR, pactivate: IMFActivate) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFRegisterPlatformWithMMCSS(wszclass: ::windows_sys::core::PCWSTR, pdwtaskid: *mut u32, lpriority: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFRemovePeriodicCallback(dwkey: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFRequireProtectedEnvironment(ppresentationdescriptor: IMFPresentationDescriptor) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFScheduleWorkItem(pcallback: IMFAsyncCallback, pstate: ::windows_sys::core::IUnknown, timeout: i64, pkey: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFScheduleWorkItemEx(presult: IMFAsyncResult, timeout: i64, pkey: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn MFSerializeAttributesToStream(pattr: IMFAttributes, dwoptions: u32, pstm: super::super::System::Com::IStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFSerializePresentationDescriptor(ppd: IMFPresentationDescriptor, pcbdata: *mut u32, ppbdata: *mut *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFShutdown() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFShutdownObject(punk: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFSplitSample(psample: IMFSample, poutputsamples: *mut IMFSample, dwoutputsamplemaxcount: u32, pdwoutputsamplecount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFStartup(version: u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFTEnum(guidcategory: ::windows_sys::core::GUID, flags: u32, pinputtype: *const MFT_REGISTER_TYPE_INFO, poutputtype: *const MFT_REGISTER_TYPE_INFO, pattributes: IMFAttributes, ppclsidmft: *mut *mut ::windows_sys::core::GUID, pcmfts: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFTEnum2(guidcategory: ::windows_sys::core::GUID, flags: MFT_ENUM_FLAG, pinputtype: *const MFT_REGISTER_TYPE_INFO, poutputtype: *const MFT_REGISTER_TYPE_INFO, pattributes: IMFAttributes, pppmftactivate: *mut *mut IMFActivate, pnummftactivate: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFTEnumEx(guidcategory: ::windows_sys::core::GUID, flags: MFT_ENUM_FLAG, pinputtype: *const MFT_REGISTER_TYPE_INFO, poutputtype: *const MFT_REGISTER_TYPE_INFO, pppmftactivate: *mut *mut IMFActivate, pnummftactivate: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFTGetInfo(clsidmft: ::windows_sys::core::GUID, pszname: *mut ::windows_sys::core::PWSTR, ppinputtypes: *mut *mut MFT_REGISTER_TYPE_INFO, pcinputtypes: *mut u32, ppoutputtypes: *mut *mut MFT_REGISTER_TYPE_INFO, pcoutputtypes: *mut u32, ppattributes: *mut IMFAttributes) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFTRegister(clsidmft: ::windows_sys::core::GUID, guidcategory: ::windows_sys::core::GUID, pszname: ::windows_sys::core::PCWSTR, flags: u32, cinputtypes: u32, pinputtypes: *const MFT_REGISTER_TYPE_INFO, coutputtypes: u32, poutputtypes: *const MFT_REGISTER_TYPE_INFO, pattributes: IMFAttributes) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn MFTRegisterLocal(pclassfactory: super::super::System::Com::IClassFactory, guidcategory: *const ::windows_sys::core::GUID, pszname: ::windows_sys::core::PCWSTR, flags: u32, cinputtypes: u32, pinputtypes: *const MFT_REGISTER_TYPE_INFO, coutputtypes: u32, poutputtypes: *const MFT_REGISTER_TYPE_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFTRegisterLocalByCLSID(clisdmft: *const ::windows_sys::core::GUID, guidcategory: *const ::windows_sys::core::GUID, pszname: ::windows_sys::core::PCWSTR, flags: u32, cinputtypes: u32, pinputtypes: *const MFT_REGISTER_TYPE_INFO, coutputtypes: u32, poutputtypes: *const MFT_REGISTER_TYPE_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFTUnregister(clsidmft: ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn MFTUnregisterLocal(pclassfactory: super::super::System::Com::IClassFactory) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFTUnregisterLocalByCLSID(clsidmft: ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFTranscodeGetAudioOutputAvailableTypes(guidsubtype: *const ::windows_sys::core::GUID, dwmftflags: u32, pcodecconfig: IMFAttributes, ppavailabletypes: *mut IMFCollection) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFUnlockDXGIDeviceManager() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFUnlockPlatform() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFUnlockWorkQueue(dwworkqueue: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFUnregisterPlatformFromMMCSS() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFUnwrapMediaType(pwrap: IMFMediaType, pporig: *mut IMFMediaType) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFValidateMediaTypeSize(formattype: ::windows_sys::core::GUID, pblock: *const u8, cbsize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFWrapMediaType(porig: IMFMediaType, majortype: *const ::windows_sys::core::GUID, subtype: *const ::windows_sys::core::GUID, ppwrap: *mut IMFMediaType) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn MFllMulDiv(a: i64, b: i64, c: i64, d: i64) -> i64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OPMGetVideoOutputForTarget(padapterluid: *const super::super::Foundation::LUID, vidpntarget: u32, vos: OPM_VIDEO_OUTPUT_SEMANTICS, ppopmvideooutput: *mut IOPMVideoOutput) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn OPMGetVideoOutputsFromHMONITOR(hmonitor: super::super::Graphics::Gdi::HMONITOR, vos: OPM_VIDEO_OUTPUT_SEMANTICS, pulnumvideooutputs: *mut u32, pppopmvideooutputarray: *mut *mut IOPMVideoOutput) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D9\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D9")] pub fn OPMGetVideoOutputsFromIDirect3DDevice9Object(pdirect3ddevice9: super::super::Graphics::Direct3D9::IDirect3DDevice9, vos: OPM_VIDEO_OUTPUT_SEMANTICS, pulnumvideooutputs: *mut u32, pppopmvideooutputarray: *mut *mut IOPMVideoOutput) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn OPMXboxEnableHDCP(hdcptype: OPM_HDCP_TYPE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn OPMXboxGetHDCPStatus(phdcpstatus: *mut OPM_HDCP_STATUS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] pub fn OPMXboxGetHDCPStatusAndType(phdcpstatus: *mut OPM_HDCP_STATUS, phdcptype: *mut OPM_HDCP_TYPE) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/Media/Multimedia/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/Multimedia/mod.rs index c4d95e35c5..184f43aab1 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/Multimedia/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/Multimedia/mod.rs @@ -3,430 +3,937 @@ extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AVIBuildFilterA(lpszfilter: ::windows_sys::core::PSTR, cbfilter: i32, fsaving: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AVIBuildFilterW(lpszfilter: ::windows_sys::core::PWSTR, cbfilter: i32, fsaving: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIClearClipboard() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIFileAddRef(pfile: IAVIFile) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AVIFileCreateStreamA(pfile: IAVIFile, ppavi: *mut IAVIStream, psi: *const AVISTREAMINFOA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AVIFileCreateStreamW(pfile: IAVIFile, ppavi: *mut IAVIStream, psi: *const AVISTREAMINFOW) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIFileEndRecord(pfile: IAVIFile) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIFileExit(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIFileGetStream(pfile: IAVIFile, ppavi: *mut IAVIStream, fcctype: u32, lparam: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AVIFileInfoA(pfile: IAVIFile, pfi: *mut AVIFILEINFOA, lsize: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIFileInfoW(pfile: IAVIFile, pfi: *mut AVIFILEINFOW, lsize: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIFileInit(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIFileOpenA(ppfile: *mut IAVIFile, szfile: ::windows_sys::core::PCSTR, umode: u32, lphandler: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIFileOpenW(ppfile: *mut IAVIFile, szfile: ::windows_sys::core::PCWSTR, umode: u32, lphandler: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIFileReadData(pfile: IAVIFile, ckid: u32, lpdata: *mut ::core::ffi::c_void, lpcbdata: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIFileRelease(pfile: IAVIFile) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIFileWriteData(pfile: IAVIFile, ckid: u32, lpdata: *const ::core::ffi::c_void, cbdata: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIGetFromClipboard(lppf: *mut IAVIFile) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIMakeCompressedStream(ppscompressed: *mut IAVIStream, ppssource: IAVIStream, lpoptions: *const AVICOMPRESSOPTIONS, pclsidhandler: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIMakeFileFromStreams(ppfile: *mut IAVIFile, nstreams: i32, papstreams: *const IAVIStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AVIMakeStreamFromClipboard(cfformat: u32, hglobal: super::super::Foundation::HANDLE, ppstream: *mut IAVIStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIPutFileOnClipboard(pf: IAVIFile) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AVISaveA(szfile: ::windows_sys::core::PCSTR, pclsidhandler: *const ::windows_sys::core::GUID, lpfncallback: AVISAVECALLBACK, nstreams: i32, pfile: IAVIStream, lpoptions: *const AVICOMPRESSOPTIONS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AVISaveOptions(hwnd: super::super::Foundation::HWND, uiflags: u32, nstreams: i32, ppavi: *const IAVIStream, plpoptions: *mut *mut AVICOMPRESSOPTIONS) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVISaveOptionsFree(nstreams: i32, plpoptions: *const *const AVICOMPRESSOPTIONS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AVISaveVA(szfile: ::windows_sys::core::PCSTR, pclsidhandler: *const ::windows_sys::core::GUID, lpfncallback: AVISAVECALLBACK, nstreams: i32, ppavi: *const IAVIStream, plpoptions: *const *const AVICOMPRESSOPTIONS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AVISaveVW(szfile: ::windows_sys::core::PCWSTR, pclsidhandler: *const ::windows_sys::core::GUID, lpfncallback: AVISAVECALLBACK, nstreams: i32, ppavi: *const IAVIStream, plpoptions: *const *const AVICOMPRESSOPTIONS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AVISaveW(szfile: ::windows_sys::core::PCWSTR, pclsidhandler: *const ::windows_sys::core::GUID, lpfncallback: AVISAVECALLBACK, nstreams: i32, pfile: IAVIStream, lpoptions: *const AVICOMPRESSOPTIONS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIStreamAddRef(pavi: IAVIStream) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIStreamBeginStreaming(pavi: IAVIStream, lstart: i32, lend: i32, lrate: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIStreamCreate(ppavi: *mut IAVIStream, lparam1: i32, lparam2: i32, pclsidhandler: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIStreamEndStreaming(pavi: IAVIStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIStreamFindSample(pavi: IAVIStream, lpos: i32, lflags: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIStreamGetFrame(pg: IGetFrame, lpos: i32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIStreamGetFrameClose(pg: IGetFrame) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn AVIStreamGetFrameOpen(pavi: IAVIStream, lpbiwanted: *const super::super::Graphics::Gdi::BITMAPINFOHEADER) -> IGetFrame; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AVIStreamInfoA(pavi: IAVIStream, psi: *mut AVISTREAMINFOA, lsize: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AVIStreamInfoW(pavi: IAVIStream, psi: *mut AVISTREAMINFOW, lsize: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIStreamLength(pavi: IAVIStream) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIStreamOpenFromFileA(ppavi: *mut IAVIStream, szfile: ::windows_sys::core::PCSTR, fcctype: u32, lparam: i32, mode: u32, pclsidhandler: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIStreamOpenFromFileW(ppavi: *mut IAVIStream, szfile: ::windows_sys::core::PCWSTR, fcctype: u32, lparam: i32, mode: u32, pclsidhandler: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIStreamRead(pavi: IAVIStream, lstart: i32, lsamples: i32, lpbuffer: *mut ::core::ffi::c_void, cbbuffer: i32, plbytes: *mut i32, plsamples: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIStreamReadData(pavi: IAVIStream, fcc: u32, lp: *mut ::core::ffi::c_void, lpcb: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIStreamReadFormat(pavi: IAVIStream, lpos: i32, lpformat: *mut ::core::ffi::c_void, lpcbformat: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIStreamRelease(pavi: IAVIStream) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIStreamSampleToTime(pavi: IAVIStream, lsample: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIStreamSetFormat(pavi: IAVIStream, lpos: i32, lpformat: *const ::core::ffi::c_void, cbformat: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIStreamStart(pavi: IAVIStream) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIStreamTimeToSample(pavi: IAVIStream, ltime: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIStreamWrite(pavi: IAVIStream, lstart: i32, lsamples: i32, lpbuffer: *const ::core::ffi::c_void, cbbuffer: i32, dwflags: u32, plsampwritten: *mut i32, plbyteswritten: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn AVIStreamWriteData(pavi: IAVIStream, fcc: u32, lp: *const ::core::ffi::c_void, cb: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseDriver(hdriver: HDRVR, lparam1: super::super::Foundation::LPARAM, lparam2: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn CreateEditableStream(ppseditable: *mut IAVIStream, pssource: IAVIStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DefDriverProc(dwdriveridentifier: usize, hdrvr: HDRVR, umsg: u32, lparam1: super::super::Foundation::LPARAM, lparam2: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DrawDibBegin(hdd: isize, hdc: super::super::Graphics::Gdi::HDC, dxdst: i32, dydst: i32, lpbi: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, dxsrc: i32, dysrc: i32, wflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DrawDibChangePalette(hdd: isize, istart: i32, ilen: i32, lppe: *const super::super::Graphics::Gdi::PALETTEENTRY) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DrawDibClose(hdd: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DrawDibDraw(hdd: isize, hdc: super::super::Graphics::Gdi::HDC, xdst: i32, ydst: i32, dxdst: i32, dydst: i32, lpbi: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, lpbits: *const ::core::ffi::c_void, xsrc: i32, ysrc: i32, dxsrc: i32, dysrc: i32, wflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DrawDibEnd(hdd: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn DrawDibGetBuffer(hdd: isize, lpbi: *mut super::super::Graphics::Gdi::BITMAPINFOHEADER, dwsize: u32, dwflags: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn DrawDibGetPalette(hdd: isize) -> super::super::Graphics::Gdi::HPALETTE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn DrawDibOpen() -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DrawDibProfileDisplay(lpbi: *const super::super::Graphics::Gdi::BITMAPINFOHEADER) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DrawDibRealize(hdd: isize, hdc: super::super::Graphics::Gdi::HDC, fbackground: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DrawDibSetPalette(hdd: isize, hpal: super::super::Graphics::Gdi::HPALETTE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DrawDibStart(hdd: isize, rate: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DrawDibStop(hdd: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DrawDibTime(hdd: isize, lpddtime: *mut DRAWDIBTIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DriverCallback(dwcallback: usize, dwflags: u32, hdevice: HDRVR, dwmsg: u32, dwuser: usize, dwparam1: usize, dwparam2: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DrvGetModuleHandle(hdriver: HDRVR) -> super::super::Foundation::HINSTANCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn EditStreamClone(pavi: IAVIStream, ppresult: *mut IAVIStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn EditStreamCopy(pavi: IAVIStream, plstart: *mut i32, pllength: *mut i32, ppresult: *mut IAVIStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn EditStreamCut(pavi: IAVIStream, plstart: *mut i32, pllength: *mut i32, ppresult: *mut IAVIStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn EditStreamPaste(pavi: IAVIStream, plpos: *mut i32, pllength: *mut i32, pstream: IAVIStream, lstart: i32, lend: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EditStreamSetInfoA(pavi: IAVIStream, lpinfo: *const AVISTREAMINFOA, cbinfo: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EditStreamSetInfoW(pavi: IAVIStream, lpinfo: *const AVISTREAMINFOW, cbinfo: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn EditStreamSetNameA(pavi: IAVIStream, lpszname: ::windows_sys::core::PCSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn EditStreamSetNameW(pavi: IAVIStream, lpszname: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDriverModuleHandle(hdriver: HDRVR) -> super::super::Foundation::HINSTANCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls_Dialogs\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls_Dialogs"))] pub fn GetOpenFileNamePreviewA(lpofn: *mut super::super::UI::Controls::Dialogs::OPENFILENAMEA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls_Dialogs\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls_Dialogs"))] pub fn GetOpenFileNamePreviewW(lpofn: *mut super::super::UI::Controls::Dialogs::OPENFILENAMEW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls_Dialogs\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls_Dialogs"))] pub fn GetSaveFileNamePreviewA(lpofn: *mut super::super::UI::Controls::Dialogs::OPENFILENAMEA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls_Dialogs\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls_Dialogs"))] pub fn GetSaveFileNamePreviewW(lpofn: *mut super::super::UI::Controls::Dialogs::OPENFILENAMEW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ICClose(hic: HIC) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ICCompress(hic: HIC, dwflags: u32, lpbioutput: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, lpdata: *mut ::core::ffi::c_void, lpbiinput: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, lpbits: *const ::core::ffi::c_void, lpckid: *mut u32, lpdwflags: *mut u32, lframenum: i32, dwframesize: u32, dwquality: u32, lpbiprev: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, lpprev: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ICCompressorChoose(hwnd: super::super::Foundation::HWND, uiflags: u32, pvin: *const ::core::ffi::c_void, lpdata: *const ::core::ffi::c_void, pc: *mut COMPVARS, lpsztitle: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ICCompressorFree(pc: *const COMPVARS); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ICDecompress(hic: HIC, dwflags: u32, lpbiformat: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, lpdata: *const ::core::ffi::c_void, lpbi: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, lpbits: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn ICDraw(hic: HIC, dwflags: u32, lpformat: *const ::core::ffi::c_void, lpdata: *const ::core::ffi::c_void, cbdata: u32, ltime: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ICDrawBegin(hic: HIC, dwflags: u32, hpal: super::super::Graphics::Gdi::HPALETTE, hwnd: super::super::Foundation::HWND, hdc: super::super::Graphics::Gdi::HDC, xdst: i32, ydst: i32, dxdst: i32, dydst: i32, lpbi: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, xsrc: i32, ysrc: i32, dxsrc: i32, dysrc: i32, dwrate: u32, dwscale: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ICGetDisplayFormat(hic: HIC, lpbiin: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, lpbiout: *mut super::super::Graphics::Gdi::BITMAPINFOHEADER, bitdepth: i32, dx: i32, dy: i32) -> HIC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ICGetInfo(hic: HIC, picinfo: *mut ICINFO, cb: u32) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ICImageCompress(hic: HIC, uiflags: u32, lpbiin: *const super::super::Graphics::Gdi::BITMAPINFO, lpbits: *const ::core::ffi::c_void, lpbiout: *const super::super::Graphics::Gdi::BITMAPINFO, lquality: i32, plsize: *mut i32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ICImageDecompress(hic: HIC, uiflags: u32, lpbiin: *const super::super::Graphics::Gdi::BITMAPINFO, lpbits: *const ::core::ffi::c_void, lpbiout: *const super::super::Graphics::Gdi::BITMAPINFO) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ICInfo(fcctype: u32, fcchandler: u32, lpicinfo: *mut ICINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ICInstall(fcctype: u32, fcchandler: u32, lparam: super::super::Foundation::LPARAM, szdesc: ::windows_sys::core::PCSTR, wflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ICLocate(fcctype: u32, fcchandler: u32, lpbiin: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, lpbiout: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, wflags: u16) -> HIC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn ICOpen(fcctype: u32, fcchandler: u32, wmode: u32) -> HIC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ICOpenFunction(fcctype: u32, fcchandler: u32, wmode: u32, lpfnhandler: super::super::Foundation::FARPROC) -> HIC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ICRemove(fcctype: u32, fcchandler: u32, wflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ICSendMessage(hic: HIC, msg: u32, dw1: usize, dw2: usize) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ICSeqCompressFrame(pc: *const COMPVARS, uiflags: u32, lpbits: *const ::core::ffi::c_void, pfkey: *mut super::super::Foundation::BOOL, plsize: *mut i32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ICSeqCompressFrameEnd(pc: *const COMPVARS); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ICSeqCompressFrameStart(pc: *const COMPVARS, lpbiin: *const super::super::Graphics::Gdi::BITMAPINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MCIWndCreateA(hwndparent: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, dwstyle: u32, szfile: ::windows_sys::core::PCSTR) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MCIWndCreateW(hwndparent: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, dwstyle: u32, szfile: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MCIWndRegisterClass() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenDriver(szdrivername: ::windows_sys::core::PCWSTR, szsectionname: ::windows_sys::core::PCWSTR, lparam2: super::super::Foundation::LPARAM) -> HDRVR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SendDriverMessage(hdriver: HDRVR, message: u32, lparam1: super::super::Foundation::LPARAM, lparam2: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn VideoForWindowsVersion() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn capCreateCaptureWindowA(lpszwindowname: ::windows_sys::core::PCSTR, dwstyle: u32, x: i32, y: i32, nwidth: i32, nheight: i32, hwndparent: super::super::Foundation::HWND, nid: i32) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn capCreateCaptureWindowW(lpszwindowname: ::windows_sys::core::PCWSTR, dwstyle: u32, x: i32, y: i32, nwidth: i32, nheight: i32, hwndparent: super::super::Foundation::HWND, nid: i32) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn capGetDriverDescriptionA(wdriverindex: u32, lpszname: ::windows_sys::core::PSTR, cbname: i32, lpszver: ::windows_sys::core::PSTR, cbver: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn capGetDriverDescriptionW(wdriverindex: u32, lpszname: ::windows_sys::core::PWSTR, cbname: i32, lpszver: ::windows_sys::core::PWSTR, cbver: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn joyGetDevCapsA(ujoyid: usize, pjc: *mut JOYCAPSA, cbjc: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn joyGetDevCapsW(ujoyid: usize, pjc: *mut JOYCAPSW, cbjc: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn joyGetNumDevs() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn joyGetPos(ujoyid: u32, pji: *mut JOYINFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn joyGetPosEx(ujoyid: u32, pji: *mut JOYINFOEX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn joyGetThreshold(ujoyid: u32, puthreshold: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn joyReleaseCapture(ujoyid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn joySetCapture(hwnd: super::super::Foundation::HWND, ujoyid: u32, uperiod: u32, fchanged: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn joySetThreshold(ujoyid: u32, uthreshold: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mciDriverNotify(hwndcallback: super::super::Foundation::HANDLE, wdeviceid: u32, ustatus: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mciDriverYield(wdeviceid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mciFreeCommandResource(wtable: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mciGetCreatorTask(mciid: u32) -> super::HTASK; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mciGetDeviceIDA(pszdevice: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mciGetDeviceIDFromElementIDA(dwelementid: u32, lpstrtype: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mciGetDeviceIDFromElementIDW(dwelementid: u32, lpstrtype: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mciGetDeviceIDW(pszdevice: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mciGetDriverData(wdeviceid: u32) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mciGetErrorStringA(mcierr: u32, psztext: ::windows_sys::core::PSTR, cchtext: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mciGetErrorStringW(mcierr: u32, psztext: ::windows_sys::core::PWSTR, cchtext: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mciGetYieldProc(mciid: u32, pdwyielddata: *const u32) -> YIELDPROC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mciLoadCommandResource(hinstance: super::super::Foundation::HANDLE, lpresname: ::windows_sys::core::PCWSTR, wtype: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mciSendCommandA(mciid: u32, umsg: u32, dwparam1: usize, dwparam2: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mciSendCommandW(mciid: u32, umsg: u32, dwparam1: usize, dwparam2: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mciSendStringA(lpstrcommand: ::windows_sys::core::PCSTR, lpstrreturnstring: ::windows_sys::core::PSTR, ureturnlength: u32, hwndcallback: super::super::Foundation::HWND) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mciSendStringW(lpstrcommand: ::windows_sys::core::PCWSTR, lpstrreturnstring: ::windows_sys::core::PWSTR, ureturnlength: u32, hwndcallback: super::super::Foundation::HWND) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mciSetDriverData(wdeviceid: u32, dwdata: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mciSetYieldProc(mciid: u32, fpyieldproc: YIELDPROC, dwyielddata: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mmDrvInstall(hdriver: HDRVR, wszdrventry: ::windows_sys::core::PCWSTR, drvmessage: DRIVERMSGPROC, wflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mmGetCurrentTask() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mmTaskBlock(h: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mmTaskCreate(lpfn: LPTASKCALLBACK, lph: *mut super::super::Foundation::HANDLE, dwinst: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mmTaskSignal(h: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mmTaskYield(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mmioAdvance(hmmio: HMMIO, pmmioinfo: *const MMIOINFO, fuadvance: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mmioAscend(hmmio: HMMIO, pmmcki: *const MMCKINFO, fuascend: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mmioClose(hmmio: HMMIO, fuclose: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mmioCreateChunk(hmmio: HMMIO, pmmcki: *const MMCKINFO, fucreate: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mmioDescend(hmmio: HMMIO, pmmcki: *mut MMCKINFO, pmmckiparent: *const MMCKINFO, fudescend: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mmioFlush(hmmio: HMMIO, fuflush: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mmioGetInfo(hmmio: HMMIO, pmmioinfo: *mut MMIOINFO, fuinfo: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mmioInstallIOProcA(fccioproc: u32, pioproc: LPMMIOPROC, dwflags: u32) -> LPMMIOPROC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mmioInstallIOProcW(fccioproc: u32, pioproc: LPMMIOPROC, dwflags: u32) -> LPMMIOPROC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mmioOpenA(pszfilename: ::windows_sys::core::PSTR, pmmioinfo: *mut MMIOINFO, fdwopen: u32) -> HMMIO; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mmioOpenW(pszfilename: ::windows_sys::core::PWSTR, pmmioinfo: *mut MMIOINFO, fdwopen: u32) -> HMMIO; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mmioRead(hmmio: HMMIO, pch: *mut i8, cch: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mmioRenameA(pszfilename: ::windows_sys::core::PCSTR, psznewfilename: ::windows_sys::core::PCSTR, pmmioinfo: *const MMIOINFO, fdwrename: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mmioRenameW(pszfilename: ::windows_sys::core::PCWSTR, psznewfilename: ::windows_sys::core::PCWSTR, pmmioinfo: *const MMIOINFO, fdwrename: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mmioSeek(hmmio: HMMIO, loffset: i32, iorigin: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mmioSendMessage(hmmio: HMMIO, umsg: u32, lparam1: super::super::Foundation::LPARAM, lparam2: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mmioSetBuffer(hmmio: HMMIO, pchbuffer: ::windows_sys::core::PSTR, cchbuffer: i32, fubuffer: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn mmioSetInfo(hmmio: HMMIO, pmmioinfo: *const MMIOINFO, fuinfo: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mmioStringToFOURCCA(sz: ::windows_sys::core::PCSTR, uflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mmioStringToFOURCCW(sz: ::windows_sys::core::PCWSTR, uflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] pub fn mmioWrite(hmmio: HMMIO, pch: ::windows_sys::core::PCSTR, cch: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn sndOpenSound(eventname: ::windows_sys::core::PCWSTR, appname: ::windows_sys::core::PCWSTR, flags: i32, filehandle: *mut super::super::Foundation::HANDLE) -> i32; diff --git a/crates/libs/sys/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs index e9f23bca5c..963f799a4c 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs @@ -2,24 +2,54 @@ extern "system" { #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] pub fn WMCreateBackupRestorer(pcallback: ::windows_sys::core::IUnknown, ppbackup: *mut IWMLicenseBackup) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] pub fn WMCreateEditor(ppeditor: *mut IWMMetadataEditor) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] pub fn WMCreateIndexer(ppindexer: *mut IWMIndexer) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] pub fn WMCreateProfileManager(ppprofilemanager: *mut IWMProfileManager) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] pub fn WMCreateReader(punkcert: ::windows_sys::core::IUnknown, dwrights: u32, ppreader: *mut IWMReader) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] pub fn WMCreateSyncReader(punkcert: ::windows_sys::core::IUnknown, dwrights: u32, ppsyncreader: *mut IWMSyncReader) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] pub fn WMCreateWriter(punkcert: ::windows_sys::core::IUnknown, ppwriter: *mut IWMWriter) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] pub fn WMCreateWriterFileSink(ppsink: *mut IWMWriterFileSink) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] pub fn WMCreateWriterNetworkSink(ppsink: *mut IWMWriterNetworkSink) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] pub fn WMCreateWriterPushSink(ppsink: *mut IWMWriterPushSink) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WMIsContentProtected(pwszfilename: ::windows_sys::core::PCWSTR, pfisprotected: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Media/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/mod.rs index f8895e0018..d450aa4999 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/mod.rs @@ -28,16 +28,34 @@ pub mod WindowsMediaFormat; extern "system" { #[doc = "*Required features: `\"Win32_Media\"`*"] pub fn timeBeginPeriod(uperiod: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media\"`*"] pub fn timeEndPeriod(uperiod: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media\"`*"] pub fn timeGetDevCaps(ptc: *mut TIMECAPS, cbtc: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media\"`*"] pub fn timeGetSystemTime(pmmt: *mut MMTIME, cbmmt: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media\"`*"] pub fn timeGetTime() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media\"`*"] pub fn timeKillEvent(utimerid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Media\"`*"] pub fn timeSetEvent(udelay: u32, uresolution: u32, fptc: LPTIMECALLBACK, dwuser: usize, fuevent: u32) -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs index 13a7cc7c59..c5a9cb8e6f 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs @@ -3,492 +3,1119 @@ extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpAddFilterV4(serveripaddress: ::windows_sys::core::PCWSTR, addfilterinfo: *const DHCP_FILTER_ADD_INFO, forceflag: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpAddSecurityGroup(pserver: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpAddServer(flags: u32, idinfo: *mut ::core::ffi::c_void, newserver: *mut DHCPDS_SERVER, callbackfn: *mut ::core::ffi::c_void, callbackdata: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpAddSubnetElement(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, addelementinfo: *const DHCP_SUBNET_ELEMENT_DATA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpAddSubnetElementV4(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, addelementinfo: *const DHCP_SUBNET_ELEMENT_DATA_V4) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpAddSubnetElementV5(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, addelementinfo: *const DHCP_SUBNET_ELEMENT_DATA_V5) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpAddSubnetElementV6(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: DHCP_IPV6_ADDRESS, addelementinfo: *mut DHCP_SUBNET_ELEMENT_DATA_V6) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpAuditLogGetParams(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, auditlogdir: *mut ::windows_sys::core::PWSTR, diskcheckinterval: *mut u32, maxlogfilessize: *mut u32, minspaceondisk: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpAuditLogSetParams(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, auditlogdir: ::windows_sys::core::PCWSTR, diskcheckinterval: u32, maxlogfilessize: u32, minspaceondisk: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpCApiCleanup(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpCApiInitialize(version: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpCreateClass(serveripaddress: ::windows_sys::core::PCWSTR, reservedmustbezero: u32, classinfo: *mut DHCP_CLASS_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpCreateClassV6(serveripaddress: ::windows_sys::core::PCWSTR, reservedmustbezero: u32, classinfo: *mut DHCP_CLASS_INFO_V6) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpCreateClientInfo(serveripaddress: ::windows_sys::core::PCWSTR, clientinfo: *const DHCP_CLIENT_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpCreateClientInfoV4(serveripaddress: ::windows_sys::core::PCWSTR, clientinfo: *const DHCP_CLIENT_INFO_V4) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpCreateClientInfoVQ(serveripaddress: ::windows_sys::core::PCWSTR, clientinfo: *const DHCP_CLIENT_INFO_VQ) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpCreateOption(serveripaddress: ::windows_sys::core::PCWSTR, optionid: u32, optioninfo: *const DHCP_OPTION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpCreateOptionV5(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, optionid: u32, classname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR, optioninfo: *mut DHCP_OPTION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpCreateOptionV6(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, optionid: u32, classname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR, optioninfo: *mut DHCP_OPTION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpCreateSubnet(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, subnetinfo: *const DHCP_SUBNET_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpCreateSubnetV6(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: DHCP_IPV6_ADDRESS, subnetinfo: *mut DHCP_SUBNET_INFO_V6) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpCreateSubnetVQ(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, subnetinfo: *const DHCP_SUBNET_INFO_VQ) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpDeRegisterParamChange(flags: u32, reserved: *mut ::core::ffi::c_void, event: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpDeleteClass(serveripaddress: ::windows_sys::core::PCWSTR, reservedmustbezero: u32, classname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpDeleteClassV6(serveripaddress: ::windows_sys::core::PCWSTR, reservedmustbezero: u32, classname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpDeleteClientInfo(serveripaddress: ::windows_sys::core::PCWSTR, clientinfo: *const DHCP_SEARCH_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpDeleteClientInfoV6(serveripaddress: ::windows_sys::core::PCWSTR, clientinfo: *const DHCP_SEARCH_INFO_V6) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpDeleteFilterV4(serveripaddress: ::windows_sys::core::PCWSTR, deletefilterinfo: *const DHCP_ADDR_PATTERN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpDeleteServer(flags: u32, idinfo: *mut ::core::ffi::c_void, newserver: *mut DHCPDS_SERVER, callbackfn: *mut ::core::ffi::c_void, callbackdata: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpDeleteSubnet(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, forceflag: DHCP_FORCE_FLAG) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpDeleteSubnetV6(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: DHCP_IPV6_ADDRESS, forceflag: DHCP_FORCE_FLAG) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpDeleteSuperScopeV4(serveripaddress: ::windows_sys::core::PCWSTR, superscopename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpDsCleanup(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpDsInit() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpEnumClasses(serveripaddress: ::windows_sys::core::PCWSTR, reservedmustbezero: u32, resumehandle: *mut u32, preferredmaximum: u32, classinfoarray: *mut *mut DHCP_CLASS_INFO_ARRAY, nread: *mut u32, ntotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpEnumClassesV6(serveripaddress: ::windows_sys::core::PCWSTR, reservedmustbezero: u32, resumehandle: *mut u32, preferredmaximum: u32, classinfoarray: *mut *mut DHCP_CLASS_INFO_ARRAY_V6, nread: *mut u32, ntotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpEnumFilterV4(serveripaddress: ::windows_sys::core::PCWSTR, resumehandle: *mut DHCP_ADDR_PATTERN, preferredmaximum: u32, listtype: DHCP_FILTER_LIST_TYPE, enumfilterinfo: *mut *mut DHCP_FILTER_ENUM_INFO, elementsread: *mut u32, elementstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpEnumOptionValues(serveripaddress: ::windows_sys::core::PCWSTR, scopeinfo: *const DHCP_OPTION_SCOPE_INFO, resumehandle: *mut u32, preferredmaximum: u32, optionvalues: *mut *mut DHCP_OPTION_VALUE_ARRAY, optionsread: *mut u32, optionstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpEnumOptionValuesV5(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, classname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO, resumehandle: *mut u32, preferredmaximum: u32, optionvalues: *mut *mut DHCP_OPTION_VALUE_ARRAY, optionsread: *mut u32, optionstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpEnumOptionValuesV6(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, classname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO6, resumehandle: *mut u32, preferredmaximum: u32, optionvalues: *mut *mut DHCP_OPTION_VALUE_ARRAY, optionsread: *mut u32, optionstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpEnumOptions(serveripaddress: ::windows_sys::core::PCWSTR, resumehandle: *mut u32, preferredmaximum: u32, options: *mut *mut DHCP_OPTION_ARRAY, optionsread: *mut u32, optionstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpEnumOptionsV5(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, classname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR, resumehandle: *mut u32, preferredmaximum: u32, options: *mut *mut DHCP_OPTION_ARRAY, optionsread: *mut u32, optionstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpEnumOptionsV6(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, classname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR, resumehandle: *mut u32, preferredmaximum: u32, options: *mut *mut DHCP_OPTION_ARRAY, optionsread: *mut u32, optionstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpEnumServers(flags: u32, idinfo: *mut ::core::ffi::c_void, servers: *mut *mut DHCPDS_SERVERS, callbackfn: *mut ::core::ffi::c_void, callbackdata: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpEnumSubnetClients(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, resumehandle: *mut u32, preferredmaximum: u32, clientinfo: *mut *mut DHCP_CLIENT_INFO_ARRAY, clientsread: *mut u32, clientstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpEnumSubnetClientsFilterStatusInfo(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, resumehandle: *mut u32, preferredmaximum: u32, clientinfo: *mut *mut DHCP_CLIENT_FILTER_STATUS_INFO_ARRAY, clientsread: *mut u32, clientstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpEnumSubnetClientsV4(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, resumehandle: *mut u32, preferredmaximum: u32, clientinfo: *mut *mut DHCP_CLIENT_INFO_ARRAY_V4, clientsread: *mut u32, clientstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpEnumSubnetClientsV5(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, resumehandle: *mut u32, preferredmaximum: u32, clientinfo: *mut *mut DHCP_CLIENT_INFO_ARRAY_V5, clientsread: *mut u32, clientstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpEnumSubnetClientsV6(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: DHCP_IPV6_ADDRESS, resumehandle: *mut DHCP_IPV6_ADDRESS, preferredmaximum: u32, clientinfo: *mut *mut DHCP_CLIENT_INFO_ARRAY_V6, clientsread: *mut u32, clientstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpEnumSubnetClientsVQ(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, resumehandle: *mut u32, preferredmaximum: u32, clientinfo: *mut *mut DHCP_CLIENT_INFO_ARRAY_VQ, clientsread: *mut u32, clientstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpEnumSubnetElements(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, enumelementtype: DHCP_SUBNET_ELEMENT_TYPE, resumehandle: *mut u32, preferredmaximum: u32, enumelementinfo: *mut *mut DHCP_SUBNET_ELEMENT_INFO_ARRAY, elementsread: *mut u32, elementstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpEnumSubnetElementsV4(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, enumelementtype: DHCP_SUBNET_ELEMENT_TYPE, resumehandle: *mut u32, preferredmaximum: u32, enumelementinfo: *mut *mut DHCP_SUBNET_ELEMENT_INFO_ARRAY_V4, elementsread: *mut u32, elementstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpEnumSubnetElementsV5(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, enumelementtype: DHCP_SUBNET_ELEMENT_TYPE, resumehandle: *mut u32, preferredmaximum: u32, enumelementinfo: *mut *mut DHCP_SUBNET_ELEMENT_INFO_ARRAY_V5, elementsread: *mut u32, elementstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpEnumSubnetElementsV6(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: DHCP_IPV6_ADDRESS, enumelementtype: DHCP_SUBNET_ELEMENT_TYPE_V6, resumehandle: *mut u32, preferredmaximum: u32, enumelementinfo: *mut *mut DHCP_SUBNET_ELEMENT_INFO_ARRAY_V6, elementsread: *mut u32, elementstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpEnumSubnets(serveripaddress: ::windows_sys::core::PCWSTR, resumehandle: *mut u32, preferredmaximum: u32, enuminfo: *mut *mut DHCP_IP_ARRAY, elementsread: *mut u32, elementstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpEnumSubnetsV6(serveripaddress: ::windows_sys::core::PCWSTR, resumehandle: *mut u32, preferredmaximum: u32, enuminfo: *mut *mut DHCPV6_IP_ARRAY, elementsread: *mut u32, elementstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpGetAllOptionValues(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO, values: *mut *mut DHCP_ALL_OPTION_VALUES) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpGetAllOptionValuesV6(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO6, values: *mut *mut DHCP_ALL_OPTION_VALUES) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetAllOptions(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, optionstruct: *mut *mut DHCP_ALL_OPTIONS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetAllOptionsV6(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, optionstruct: *mut *mut DHCP_ALL_OPTIONS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpGetClassInfo(serveripaddress: ::windows_sys::core::PCWSTR, reservedmustbezero: u32, partialclassinfo: *mut DHCP_CLASS_INFO, filledclassinfo: *mut *mut DHCP_CLASS_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetClientInfo(serveripaddress: ::windows_sys::core::PCWSTR, searchinfo: *const DHCP_SEARCH_INFO, clientinfo: *mut *mut DHCP_CLIENT_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetClientInfoV4(serveripaddress: ::windows_sys::core::PCWSTR, searchinfo: *const DHCP_SEARCH_INFO, clientinfo: *mut *mut DHCP_CLIENT_INFO_V4) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetClientInfoV6(serveripaddress: ::windows_sys::core::PCWSTR, searchinfo: *const DHCP_SEARCH_INFO_V6, clientinfo: *mut *mut DHCP_CLIENT_INFO_V6) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpGetClientInfoVQ(serveripaddress: ::windows_sys::core::PCWSTR, searchinfo: *const DHCP_SEARCH_INFO, clientinfo: *mut *mut DHCP_CLIENT_INFO_VQ) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetClientOptions(serveripaddress: ::windows_sys::core::PCWSTR, clientipaddress: u32, clientsubnetmask: u32, clientoptions: *mut *mut DHCP_OPTION_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpGetFilterV4(serveripaddress: ::windows_sys::core::PCWSTR, globalfilterinfo: *mut DHCP_FILTER_GLOBAL_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetMibInfo(serveripaddress: ::windows_sys::core::PCWSTR, mibinfo: *mut *mut DHCP_MIB_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetMibInfoV5(serveripaddress: ::windows_sys::core::PCWSTR, mibinfo: *mut *mut DHCP_MIB_INFO_V5) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetMibInfoV6(serveripaddress: ::windows_sys::core::PCWSTR, mibinfo: *mut *mut DHCP_MIB_INFO_V6) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetOptionInfo(serveripaddress: ::windows_sys::core::PCWSTR, optionid: u32, optioninfo: *mut *mut DHCP_OPTION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetOptionInfoV5(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, optionid: u32, classname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR, optioninfo: *mut *mut DHCP_OPTION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetOptionInfoV6(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, optionid: u32, classname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR, optioninfo: *mut *mut DHCP_OPTION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetOptionValue(serveripaddress: ::windows_sys::core::PCWSTR, optionid: u32, scopeinfo: *const DHCP_OPTION_SCOPE_INFO, optionvalue: *mut *mut DHCP_OPTION_VALUE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetOptionValueV5(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, optionid: u32, classname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO, optionvalue: *mut *mut DHCP_OPTION_VALUE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetOptionValueV6(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, optionid: u32, classname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO6, optionvalue: *mut *mut DHCP_OPTION_VALUE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetOriginalSubnetMask(sadaptername: ::windows_sys::core::PCWSTR, dwsubnetmask: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpGetServerBindingInfo(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, bindelementsinfo: *mut *mut DHCP_BIND_ELEMENT_ARRAY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpGetServerBindingInfoV6(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, bindelementsinfo: *mut *mut DHCPV6_BIND_ELEMENT_ARRAY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetServerSpecificStrings(serveripaddress: ::windows_sys::core::PCWSTR, serverspecificstrings: *mut *mut DHCP_SERVER_SPECIFIC_STRINGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetSubnetDelayOffer(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, timedelayinmilliseconds: *mut u16) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetSubnetInfo(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, subnetinfo: *mut *mut DHCP_SUBNET_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetSubnetInfoV6(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: DHCP_IPV6_ADDRESS, subnetinfo: *mut *mut DHCP_SUBNET_INFO_V6) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetSubnetInfoVQ(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, subnetinfo: *mut *mut DHCP_SUBNET_INFO_VQ) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetSuperScopeInfoV4(serveripaddress: ::windows_sys::core::PCWSTR, superscopetable: *mut *mut DHCP_SUPER_SCOPE_TABLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetThreadOptions(pflags: *mut u32, reserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpGetVersion(serveripaddress: ::windows_sys::core::PCWSTR, majorversion: *mut u32, minorversion: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpHlprAddV4PolicyCondition(policy: *mut DHCP_POLICY, parentexpr: u32, r#type: DHCP_POL_ATTR_TYPE, optionid: u32, suboptionid: u32, vendorname: ::windows_sys::core::PCWSTR, operator: DHCP_POL_COMPARATOR, value: *const u8, valuelength: u32, conditionindex: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpHlprAddV4PolicyExpr(policy: *mut DHCP_POLICY, parentexpr: u32, operator: DHCP_POL_LOGIC_OPER, exprindex: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpHlprAddV4PolicyRange(policy: *mut DHCP_POLICY, range: *const DHCP_IP_RANGE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpHlprCreateV4Policy(policyname: ::windows_sys::core::PCWSTR, fglobalpolicy: super::super::Foundation::BOOL, subnet: u32, processingorder: u32, rootoperator: DHCP_POL_LOGIC_OPER, description: ::windows_sys::core::PCWSTR, enabled: super::super::Foundation::BOOL, policy: *mut *mut DHCP_POLICY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpHlprCreateV4PolicyEx(policyname: ::windows_sys::core::PCWSTR, fglobalpolicy: super::super::Foundation::BOOL, subnet: u32, processingorder: u32, rootoperator: DHCP_POL_LOGIC_OPER, description: ::windows_sys::core::PCWSTR, enabled: super::super::Foundation::BOOL, policy: *mut *mut DHCP_POLICY_EX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpHlprFindV4DhcpProperty(propertyarray: *const DHCP_PROPERTY_ARRAY, id: DHCP_PROPERTY_ID, r#type: DHCP_PROPERTY_TYPE) -> *mut DHCP_PROPERTY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpHlprFreeV4DhcpProperty(property: *mut DHCP_PROPERTY); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpHlprFreeV4DhcpPropertyArray(propertyarray: *mut DHCP_PROPERTY_ARRAY); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpHlprFreeV4Policy(policy: *mut DHCP_POLICY); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpHlprFreeV4PolicyArray(policyarray: *mut DHCP_POLICY_ARRAY); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpHlprFreeV4PolicyEx(policyex: *mut DHCP_POLICY_EX); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpHlprFreeV4PolicyExArray(policyexarray: *mut DHCP_POLICY_EX_ARRAY); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpHlprIsV4PolicySingleUC(policy: *const DHCP_POLICY) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpHlprIsV4PolicyValid(ppolicy: *const DHCP_POLICY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpHlprIsV4PolicyWellFormed(ppolicy: *const DHCP_POLICY) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpHlprModifyV4PolicyExpr(policy: *mut DHCP_POLICY, operator: DHCP_POL_LOGIC_OPER) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpHlprResetV4PolicyExpr(policy: *mut DHCP_POLICY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpModifyClass(serveripaddress: ::windows_sys::core::PCWSTR, reservedmustbezero: u32, classinfo: *mut DHCP_CLASS_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpModifyClassV6(serveripaddress: ::windows_sys::core::PCWSTR, reservedmustbezero: u32, classinfo: *mut DHCP_CLASS_INFO_V6) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpRegisterParamChange(flags: u32, reserved: *mut ::core::ffi::c_void, adaptername: ::windows_sys::core::PCWSTR, classid: *mut DHCPCAPI_CLASSID, params: DHCPCAPI_PARAMS_ARRAY, handle: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpRemoveDNSRegistrations() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpRemoveOption(serveripaddress: ::windows_sys::core::PCWSTR, optionid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpRemoveOptionV5(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, optionid: u32, classname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpRemoveOptionV6(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, optionid: u32, classname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpRemoveOptionValue(serveripaddress: ::windows_sys::core::PCWSTR, optionid: u32, scopeinfo: *const DHCP_OPTION_SCOPE_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpRemoveOptionValueV5(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, optionid: u32, classname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpRemoveOptionValueV6(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, optionid: u32, classname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO6) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpRemoveSubnetElement(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, removeelementinfo: *const DHCP_SUBNET_ELEMENT_DATA, forceflag: DHCP_FORCE_FLAG) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpRemoveSubnetElementV4(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, removeelementinfo: *const DHCP_SUBNET_ELEMENT_DATA_V4, forceflag: DHCP_FORCE_FLAG) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpRemoveSubnetElementV5(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, removeelementinfo: *const DHCP_SUBNET_ELEMENT_DATA_V5, forceflag: DHCP_FORCE_FLAG) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpRemoveSubnetElementV6(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: DHCP_IPV6_ADDRESS, removeelementinfo: *mut DHCP_SUBNET_ELEMENT_DATA_V6, forceflag: DHCP_FORCE_FLAG) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpRequestParams(flags: u32, reserved: *mut ::core::ffi::c_void, adaptername: ::windows_sys::core::PCWSTR, classid: *mut DHCPCAPI_CLASSID, sendparams: DHCPCAPI_PARAMS_ARRAY, recdparams: DHCPCAPI_PARAMS_ARRAY, buffer: *mut u8, psize: *mut u32, requestidstr: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpRpcFreeMemory(bufferpointer: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpScanDatabase(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, fixflag: u32, scanlist: *mut *mut DHCP_SCAN_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpServerAuditlogParamsFree(configinfo: *mut DHCP_SERVER_CONFIG_INFO_VQ); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpServerBackupDatabase(serveripaddress: ::windows_sys::core::PCWSTR, path: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpServerGetConfig(serveripaddress: ::windows_sys::core::PCWSTR, configinfo: *mut *mut DHCP_SERVER_CONFIG_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpServerGetConfigV4(serveripaddress: ::windows_sys::core::PCWSTR, configinfo: *mut *mut DHCP_SERVER_CONFIG_INFO_V4) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpServerGetConfigV6(serveripaddress: ::windows_sys::core::PCWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO6, configinfo: *mut *mut DHCP_SERVER_CONFIG_INFO_V6) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpServerGetConfigVQ(serveripaddress: ::windows_sys::core::PCWSTR, configinfo: *mut *mut DHCP_SERVER_CONFIG_INFO_VQ) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpServerQueryAttribute(serveripaddr: ::windows_sys::core::PCWSTR, dwreserved: u32, dhcpattribid: u32, pdhcpattrib: *mut *mut DHCP_ATTRIB) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpServerQueryAttributes(serveripaddr: ::windows_sys::core::PCWSTR, dwreserved: u32, dwattribcount: u32, pdhcpattribs: *mut u32, pdhcpattribarr: *mut *mut DHCP_ATTRIB_ARRAY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpServerQueryDnsRegCredentials(serveripaddress: ::windows_sys::core::PCWSTR, unamesize: u32, uname: ::windows_sys::core::PWSTR, domainsize: u32, domain: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpServerRedoAuthorization(serveripaddr: ::windows_sys::core::PCWSTR, dwreserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpServerRestoreDatabase(serveripaddress: ::windows_sys::core::PCWSTR, path: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpServerSetConfig(serveripaddress: ::windows_sys::core::PCWSTR, fieldstoset: u32, configinfo: *mut DHCP_SERVER_CONFIG_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpServerSetConfigV4(serveripaddress: ::windows_sys::core::PCWSTR, fieldstoset: u32, configinfo: *mut DHCP_SERVER_CONFIG_INFO_V4) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpServerSetConfigV6(serveripaddress: ::windows_sys::core::PCWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO6, fieldstoset: u32, configinfo: *mut DHCP_SERVER_CONFIG_INFO_V6) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpServerSetConfigVQ(serveripaddress: ::windows_sys::core::PCWSTR, fieldstoset: u32, configinfo: *mut DHCP_SERVER_CONFIG_INFO_VQ) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpServerSetDnsRegCredentials(serveripaddress: ::windows_sys::core::PCWSTR, uname: ::windows_sys::core::PCWSTR, domain: ::windows_sys::core::PCWSTR, passwd: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpServerSetDnsRegCredentialsV5(serveripaddress: ::windows_sys::core::PCWSTR, uname: ::windows_sys::core::PCWSTR, domain: ::windows_sys::core::PCWSTR, passwd: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpSetClientInfo(serveripaddress: ::windows_sys::core::PCWSTR, clientinfo: *const DHCP_CLIENT_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpSetClientInfoV4(serveripaddress: ::windows_sys::core::PCWSTR, clientinfo: *const DHCP_CLIENT_INFO_V4) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpSetClientInfoV6(serveripaddress: ::windows_sys::core::PCWSTR, clientinfo: *const DHCP_CLIENT_INFO_V6) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpSetClientInfoVQ(serveripaddress: ::windows_sys::core::PCWSTR, clientinfo: *const DHCP_CLIENT_INFO_VQ) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpSetFilterV4(serveripaddress: ::windows_sys::core::PCWSTR, globalfilterinfo: *const DHCP_FILTER_GLOBAL_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpSetOptionInfo(serveripaddress: ::windows_sys::core::PCWSTR, optionid: u32, optioninfo: *const DHCP_OPTION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpSetOptionInfoV5(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, optionid: u32, classname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR, optioninfo: *mut DHCP_OPTION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpSetOptionInfoV6(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, optionid: u32, classname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR, optioninfo: *mut DHCP_OPTION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpSetOptionValue(serveripaddress: ::windows_sys::core::PCWSTR, optionid: u32, scopeinfo: *const DHCP_OPTION_SCOPE_INFO, optionvalue: *const DHCP_OPTION_DATA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpSetOptionValueV5(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, optionid: u32, classname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO, optionvalue: *mut DHCP_OPTION_DATA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpSetOptionValueV6(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, optionid: u32, classname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO6, optionvalue: *mut DHCP_OPTION_DATA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpSetOptionValues(serveripaddress: ::windows_sys::core::PCWSTR, scopeinfo: *const DHCP_OPTION_SCOPE_INFO, optionvalues: *const DHCP_OPTION_VALUE_ARRAY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpSetOptionValuesV5(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, classname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO, optionvalues: *mut DHCP_OPTION_VALUE_ARRAY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpSetServerBindingInfo(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, bindelementinfo: *mut DHCP_BIND_ELEMENT_ARRAY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpSetServerBindingInfoV6(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, bindelementinfo: *mut DHCPV6_BIND_ELEMENT_ARRAY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpSetSubnetDelayOffer(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, timedelayinmilliseconds: u16) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpSetSubnetInfo(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, subnetinfo: *const DHCP_SUBNET_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpSetSubnetInfoV6(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: DHCP_IPV6_ADDRESS, subnetinfo: *mut DHCP_SUBNET_INFO_V6) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpSetSubnetInfoVQ(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, subnetinfo: *const DHCP_SUBNET_INFO_VQ) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpSetSuperScopeV4(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, superscopename: ::windows_sys::core::PCWSTR, changeexisting: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpSetThreadOptions(flags: u32, reserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpUndoRequestParams(flags: u32, reserved: *mut ::core::ffi::c_void, adaptername: ::windows_sys::core::PCWSTR, requestidstr: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV4AddPolicyRange(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, policyname: ::windows_sys::core::PCWSTR, range: *const DHCP_IP_RANGE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpV4CreateClientInfo(serveripaddress: ::windows_sys::core::PCWSTR, clientinfo: *const DHCP_CLIENT_INFO_PB) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpV4CreateClientInfoEx(serveripaddress: ::windows_sys::core::PCWSTR, clientinfo: *const DHCP_CLIENT_INFO_EX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpV4CreatePolicy(serveripaddress: ::windows_sys::core::PCWSTR, ppolicy: *const DHCP_POLICY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpV4CreatePolicyEx(serveripaddress: ::windows_sys::core::PCWSTR, policyex: *const DHCP_POLICY_EX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpV4DeletePolicy(serveripaddress: ::windows_sys::core::PCWSTR, fglobalpolicy: super::super::Foundation::BOOL, subnetaddress: u32, policyname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpV4EnumPolicies(serveripaddress: ::windows_sys::core::PCWSTR, resumehandle: *mut u32, preferredmaximum: u32, fglobalpolicy: super::super::Foundation::BOOL, subnetaddress: u32, enuminfo: *mut *mut DHCP_POLICY_ARRAY, elementsread: *mut u32, elementstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpV4EnumPoliciesEx(serveripaddress: ::windows_sys::core::PCWSTR, resumehandle: *mut u32, preferredmaximum: u32, globalpolicy: super::super::Foundation::BOOL, subnetaddress: u32, enuminfo: *mut *mut DHCP_POLICY_EX_ARRAY, elementsread: *mut u32, elementstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpV4EnumSubnetClients(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, resumehandle: *mut u32, preferredmaximum: u32, clientinfo: *mut *mut DHCP_CLIENT_INFO_PB_ARRAY, clientsread: *mut u32, clientstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpV4EnumSubnetClientsEx(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, resumehandle: *mut u32, preferredmaximum: u32, clientinfo: *mut *mut DHCP_CLIENT_INFO_EX_ARRAY, clientsread: *mut u32, clientstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV4EnumSubnetReservations(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, resumehandle: *mut u32, preferredmaximum: u32, enumelementinfo: *mut *mut DHCP_RESERVATION_INFO_ARRAY, elementsread: *mut u32, elementstotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV4FailoverAddScopeToRelationship(serveripaddress: ::windows_sys::core::PCWSTR, prelationship: *const DHCP_FAILOVER_RELATIONSHIP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV4FailoverCreateRelationship(serveripaddress: ::windows_sys::core::PCWSTR, prelationship: *const DHCP_FAILOVER_RELATIONSHIP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV4FailoverDeleteRelationship(serveripaddress: ::windows_sys::core::PCWSTR, prelationshipname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV4FailoverDeleteScopeFromRelationship(serveripaddress: ::windows_sys::core::PCWSTR, prelationship: *const DHCP_FAILOVER_RELATIONSHIP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV4FailoverEnumRelationship(serveripaddress: ::windows_sys::core::PCWSTR, resumehandle: *mut u32, preferredmaximum: u32, prelationship: *mut *mut DHCP_FAILOVER_RELATIONSHIP_ARRAY, relationshipread: *mut u32, relationshiptotal: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV4FailoverGetAddressStatus(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, pstatus: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpV4FailoverGetClientInfo(serveripaddress: ::windows_sys::core::PCWSTR, searchinfo: *const DHCP_SEARCH_INFO, clientinfo: *mut *mut DHCPV4_FAILOVER_CLIENT_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV4FailoverGetRelationship(serveripaddress: ::windows_sys::core::PCWSTR, prelationshipname: ::windows_sys::core::PCWSTR, prelationship: *mut *mut DHCP_FAILOVER_RELATIONSHIP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV4FailoverGetScopeRelationship(serveripaddress: ::windows_sys::core::PCWSTR, scopeid: u32, prelationship: *mut *mut DHCP_FAILOVER_RELATIONSHIP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV4FailoverGetScopeStatistics(serveripaddress: ::windows_sys::core::PCWSTR, scopeid: u32, pstats: *mut *mut DHCP_FAILOVER_STATISTICS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV4FailoverGetSystemTime(serveripaddress: ::windows_sys::core::PCWSTR, ptime: *mut u32, pmaxalloweddeltatime: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV4FailoverSetRelationship(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, prelationship: *const DHCP_FAILOVER_RELATIONSHIP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV4FailoverTriggerAddrAllocation(serveripaddress: ::windows_sys::core::PCWSTR, pfailrelname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpV4GetAllOptionValues(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO, values: *mut *mut DHCP_ALL_OPTION_VALUES_PB) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpV4GetClientInfo(serveripaddress: ::windows_sys::core::PCWSTR, searchinfo: *const DHCP_SEARCH_INFO, clientinfo: *mut *mut DHCP_CLIENT_INFO_PB) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpV4GetClientInfoEx(serveripaddress: ::windows_sys::core::PCWSTR, searchinfo: *const DHCP_SEARCH_INFO, clientinfo: *mut *mut DHCP_CLIENT_INFO_EX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV4GetFreeIPAddress(serveripaddress: ::windows_sys::core::PCWSTR, scopeid: u32, startip: u32, endip: u32, numfreeaddrreq: u32, ipaddrlist: *mut *mut DHCP_IP_ARRAY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV4GetOptionValue(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, optionid: u32, policyname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO, optionvalue: *mut *mut DHCP_OPTION_VALUE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpV4GetPolicy(serveripaddress: ::windows_sys::core::PCWSTR, fglobalpolicy: super::super::Foundation::BOOL, subnetaddress: u32, policyname: ::windows_sys::core::PCWSTR, policy: *mut *mut DHCP_POLICY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpV4GetPolicyEx(serveripaddress: ::windows_sys::core::PCWSTR, globalpolicy: super::super::Foundation::BOOL, subnetaddress: u32, policyname: ::windows_sys::core::PCWSTR, policy: *mut *mut DHCP_POLICY_EX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpV4QueryPolicyEnforcement(serveripaddress: ::windows_sys::core::PCWSTR, fglobalpolicy: super::super::Foundation::BOOL, subnetaddress: u32, enabled: *mut super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV4RemoveOptionValue(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, optionid: u32, policyname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV4RemovePolicyRange(serveripaddress: ::windows_sys::core::PCWSTR, subnetaddress: u32, policyname: ::windows_sys::core::PCWSTR, range: *const DHCP_IP_RANGE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV4SetOptionValue(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, optionid: u32, policyname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO, optionvalue: *mut DHCP_OPTION_DATA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV4SetOptionValues(serveripaddress: ::windows_sys::core::PCWSTR, flags: u32, policyname: ::windows_sys::core::PCWSTR, vendorname: ::windows_sys::core::PCWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO, optionvalues: *mut DHCP_OPTION_VALUE_ARRAY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpV4SetPolicy(serveripaddress: ::windows_sys::core::PCWSTR, fieldsmodified: u32, fglobalpolicy: super::super::Foundation::BOOL, subnetaddress: u32, policyname: ::windows_sys::core::PCWSTR, policy: *const DHCP_POLICY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpV4SetPolicyEnforcement(serveripaddress: ::windows_sys::core::PCWSTR, fglobalpolicy: super::super::Foundation::BOOL, subnetaddress: u32, enable: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpV4SetPolicyEx(serveripaddress: ::windows_sys::core::PCWSTR, fieldsmodified: u32, globalpolicy: super::super::Foundation::BOOL, subnetaddress: u32, policyname: ::windows_sys::core::PCWSTR, policy: *const DHCP_POLICY_EX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV6CreateClientInfo(serveripaddress: ::windows_sys::core::PCWSTR, clientinfo: *const DHCP_CLIENT_INFO_V6) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV6GetFreeIPAddress(serveripaddress: ::windows_sys::core::PCWSTR, scopeid: DHCP_IPV6_ADDRESS, startip: DHCP_IPV6_ADDRESS, endip: DHCP_IPV6_ADDRESS, numfreeaddrreq: u32, ipaddrlist: *mut *mut DHCPV6_IP_ARRAY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn DhcpV6GetStatelessStatistics(serveripaddress: ::windows_sys::core::PCWSTR, statelessstats: *mut *mut DHCPV6_STATELESS_STATS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpV6GetStatelessStoreParams(serveripaddress: ::windows_sys::core::PCWSTR, fserverlevel: super::super::Foundation::BOOL, subnetaddress: DHCP_IPV6_ADDRESS, params: *mut *mut DHCPV6_STATELESS_PARAMS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpV6SetStatelessStoreParams(serveripaddress: ::windows_sys::core::PCWSTR, fserverlevel: super::super::Foundation::BOOL, subnetaddress: DHCP_IPV6_ADDRESS, fieldmodified: u32, params: *const DHCPV6_STATELESS_PARAMS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn Dhcpv6CApiCleanup(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn Dhcpv6CApiInitialize(version: *mut u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn Dhcpv6ReleasePrefix(adaptername: ::windows_sys::core::PCWSTR, classid: *mut DHCPV6CAPI_CLASSID, leaseinfo: *mut DHCPV6PrefixLeaseInformation) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn Dhcpv6RenewPrefix(adaptername: ::windows_sys::core::PCWSTR, pclassid: *mut DHCPV6CAPI_CLASSID, prefixleaseinfo: *mut DHCPV6PrefixLeaseInformation, pdwtimetowait: *mut u32, bvalidateprefix: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Dhcpv6RequestParams(forcenewinform: super::super::Foundation::BOOL, reserved: *mut ::core::ffi::c_void, adaptername: ::windows_sys::core::PCWSTR, classid: *mut DHCPV6CAPI_CLASSID, recdparams: DHCPV6CAPI_PARAMS_ARRAY, buffer: *mut u8, psize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub fn Dhcpv6RequestPrefix(adaptername: ::windows_sys::core::PCWSTR, pclassid: *mut DHCPV6CAPI_CLASSID, prefixleaseinfo: *mut DHCPV6PrefixLeaseInformation, pdwtimetowait: *mut u32) -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/Dns/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/Dns/mod.rs index 39201ca452..05f1eec109 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/Dns/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/Dns/mod.rs @@ -2,153 +2,330 @@ extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsAcquireContextHandle_A(credentialflags: u32, credentials: *const ::core::ffi::c_void, pcontext: *mut DnsContextHandle) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsAcquireContextHandle_W(credentialflags: u32, credentials: *const ::core::ffi::c_void, pcontext: *mut DnsContextHandle) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsCancelQuery(pcancelhandle: *const DNS_QUERY_CANCEL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsConnectionDeletePolicyEntries(policyentrytag: DNS_CONNECTION_POLICY_TAG) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsConnectionDeleteProxyInfo(pwszconnectionname: ::windows_sys::core::PCWSTR, r#type: DNS_CONNECTION_PROXY_TYPE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsConnectionFreeNameList(pnamelist: *mut DNS_CONNECTION_NAME_LIST); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsConnectionFreeProxyInfo(pproxyinfo: *mut DNS_CONNECTION_PROXY_INFO); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsConnectionFreeProxyInfoEx(pproxyinfoex: *mut DNS_CONNECTION_PROXY_INFO_EX); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsConnectionFreeProxyList(pproxylist: *mut DNS_CONNECTION_PROXY_LIST); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsConnectionGetNameList(pnamelist: *mut DNS_CONNECTION_NAME_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsConnectionGetProxyInfo(pwszconnectionname: ::windows_sys::core::PCWSTR, r#type: DNS_CONNECTION_PROXY_TYPE, pproxyinfo: *mut DNS_CONNECTION_PROXY_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsConnectionGetProxyInfoForHostUrl(pwszhosturl: ::windows_sys::core::PCWSTR, pselectioncontext: *const u8, dwselectioncontextlength: u32, dwexplicitinterfaceindex: u32, pproxyinfoex: *mut DNS_CONNECTION_PROXY_INFO_EX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsConnectionGetProxyList(pwszconnectionname: ::windows_sys::core::PCWSTR, pproxylist: *mut DNS_CONNECTION_PROXY_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsConnectionSetPolicyEntries(policyentrytag: DNS_CONNECTION_POLICY_TAG, ppolicyentrylist: *const DNS_CONNECTION_POLICY_ENTRY_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsConnectionSetProxyInfo(pwszconnectionname: ::windows_sys::core::PCWSTR, r#type: DNS_CONNECTION_PROXY_TYPE, pproxyinfo: *const DNS_CONNECTION_PROXY_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsConnectionUpdateIfIndexTable(pconnectionifindexentries: *const DNS_CONNECTION_IFINDEX_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsExtractRecordsFromMessage_UTF8(pdnsbuffer: *const DNS_MESSAGE_BUFFER, wmessagelength: u16, pprecord: *mut *mut DNS_RECORDA) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsExtractRecordsFromMessage_W(pdnsbuffer: *const DNS_MESSAGE_BUFFER, wmessagelength: u16, pprecord: *mut *mut DNS_RECORDA) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsFree(pdata: *const ::core::ffi::c_void, freetype: DNS_FREE_TYPE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsFreeCustomServers(pcservers: *mut u32, ppservers: *mut *mut DNS_CUSTOM_SERVER); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsFreeProxyName(proxyname: ::windows_sys::core::PCWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsGetApplicationSettings(pcservers: *mut u32, ppdefaultservers: *mut *mut DNS_CUSTOM_SERVER, psettings: *mut DNS_APPLICATION_SETTINGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsGetProxyInformation(hostname: ::windows_sys::core::PCWSTR, proxyinformation: *mut DNS_PROXY_INFORMATION, defaultproxyinformation: *mut DNS_PROXY_INFORMATION, completionroutine: DNS_PROXY_COMPLETION_ROUTINE, completioncontext: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsModifyRecordsInSet_A(paddrecords: *const DNS_RECORDA, pdeleterecords: *const DNS_RECORDA, options: u32, hcredentials: super::super::Foundation::HANDLE, pextralist: *mut ::core::ffi::c_void, preserved: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsModifyRecordsInSet_UTF8(paddrecords: *const DNS_RECORDA, pdeleterecords: *const DNS_RECORDA, options: u32, hcredentials: super::super::Foundation::HANDLE, pextralist: *mut ::core::ffi::c_void, preserved: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsModifyRecordsInSet_W(paddrecords: *const DNS_RECORDA, pdeleterecords: *const DNS_RECORDA, options: u32, hcredentials: super::super::Foundation::HANDLE, pextralist: *mut ::core::ffi::c_void, preserved: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsNameCompare_A(pname1: ::windows_sys::core::PCSTR, pname2: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsNameCompare_W(pname1: ::windows_sys::core::PCWSTR, pname2: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsQueryConfig(config: DNS_CONFIG_TYPE, flag: u32, pwsadaptername: ::windows_sys::core::PCWSTR, preserved: *const ::core::ffi::c_void, pbuffer: *mut ::core::ffi::c_void, pbuflen: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsQueryEx(pqueryrequest: *const DNS_QUERY_REQUEST, pqueryresults: *mut DNS_QUERY_RESULT, pcancelhandle: *mut DNS_QUERY_CANCEL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsQuery_A(pszname: ::windows_sys::core::PCSTR, wtype: u16, options: u32, pextra: *mut ::core::ffi::c_void, ppqueryresults: *mut *mut DNS_RECORDA, preserved: *mut *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsQuery_UTF8(pszname: ::windows_sys::core::PCSTR, wtype: u16, options: u32, pextra: *mut ::core::ffi::c_void, ppqueryresults: *mut *mut DNS_RECORDA, preserved: *mut *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsQuery_W(pszname: ::windows_sys::core::PCWSTR, wtype: u16, options: u32, pextra: *mut ::core::ffi::c_void, ppqueryresults: *mut *mut DNS_RECORDA, preserved: *mut *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsRecordCompare(precord1: *const DNS_RECORDA, precord2: *const DNS_RECORDA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsRecordCopyEx(precord: *const DNS_RECORDA, charsetin: DNS_CHARSET, charsetout: DNS_CHARSET) -> *mut DNS_RECORDA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsRecordSetCompare(prr1: *mut DNS_RECORDA, prr2: *mut DNS_RECORDA, ppdiff1: *mut *mut DNS_RECORDA, ppdiff2: *mut *mut DNS_RECORDA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsRecordSetCopyEx(precordset: *const DNS_RECORDA, charsetin: DNS_CHARSET, charsetout: DNS_CHARSET) -> *mut DNS_RECORDA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsRecordSetDetach(precordlist: *mut DNS_RECORDA) -> *mut DNS_RECORDA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsReleaseContextHandle(hcontext: super::super::Foundation::HANDLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsReplaceRecordSetA(preplaceset: *const DNS_RECORDA, options: u32, hcontext: super::super::Foundation::HANDLE, pextrainfo: *mut ::core::ffi::c_void, preserved: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsReplaceRecordSetUTF8(preplaceset: *const DNS_RECORDA, options: u32, hcontext: super::super::Foundation::HANDLE, pextrainfo: *mut ::core::ffi::c_void, preserved: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsReplaceRecordSetW(preplaceset: *const DNS_RECORDA, options: u32, hcontext: super::super::Foundation::HANDLE, pextrainfo: *mut ::core::ffi::c_void, preserved: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsServiceBrowse(prequest: *const DNS_SERVICE_BROWSE_REQUEST, pcancel: *mut DNS_SERVICE_CANCEL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsServiceBrowseCancel(pcancelhandle: *const DNS_SERVICE_CANCEL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsServiceConstructInstance(pservicename: ::windows_sys::core::PCWSTR, phostname: ::windows_sys::core::PCWSTR, pip4: *const u32, pip6: *const IP6_ADDRESS, wport: u16, wpriority: u16, wweight: u16, dwpropertiescount: u32, keys: *const ::windows_sys::core::PWSTR, values: *const ::windows_sys::core::PWSTR) -> *mut DNS_SERVICE_INSTANCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsServiceCopyInstance(porig: *const DNS_SERVICE_INSTANCE) -> *mut DNS_SERVICE_INSTANCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsServiceDeRegister(prequest: *const DNS_SERVICE_REGISTER_REQUEST, pcancel: *mut DNS_SERVICE_CANCEL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsServiceFreeInstance(pinstance: *const DNS_SERVICE_INSTANCE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsServiceRegister(prequest: *const DNS_SERVICE_REGISTER_REQUEST, pcancel: *mut DNS_SERVICE_CANCEL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsServiceRegisterCancel(pcancelhandle: *const DNS_SERVICE_CANCEL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsServiceResolve(prequest: *const DNS_SERVICE_RESOLVE_REQUEST, pcancel: *mut DNS_SERVICE_CANCEL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsServiceResolveCancel(pcancelhandle: *const DNS_SERVICE_CANCEL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsSetApplicationSettings(cservers: u32, pservers: *const DNS_CUSTOM_SERVER, psettings: *const DNS_APPLICATION_SETTINGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsStartMulticastQuery(pqueryrequest: *const MDNS_QUERY_REQUEST, phandle: *mut MDNS_QUERY_HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsStopMulticastQuery(phandle: *mut MDNS_QUERY_HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsValidateName_A(pszname: ::windows_sys::core::PCSTR, format: DNS_NAME_FORMAT) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsValidateName_UTF8(pszname: ::windows_sys::core::PCSTR, format: DNS_NAME_FORMAT) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] pub fn DnsValidateName_W(pszname: ::windows_sys::core::PCWSTR, format: DNS_NAME_FORMAT) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsWriteQuestionToBuffer_UTF8(pdnsbuffer: *mut DNS_MESSAGE_BUFFER, pdwbuffersize: *mut u32, pszname: ::windows_sys::core::PCSTR, wtype: u16, xid: u16, frecursiondesired: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsWriteQuestionToBuffer_W(pdnsbuffer: *mut DNS_MESSAGE_BUFFER, pdwbuffersize: *mut u32, pszname: ::windows_sys::core::PCWSTR, wtype: u16, xid: u16, frecursiondesired: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs index eec43ab0f1..5b5fa4dab3 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs @@ -2,518 +2,1103 @@ extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn AddIPAddress(address: u32, ipmask: u32, ifindex: u32, ntecontext: *mut u32, nteinstance: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn CancelIPChangeNotify(notifyoverlapped: *const super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CancelMibChangeNotify2(notificationhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(feature = "Win32_NetworkManagement_Ndis")] pub fn CaptureInterfaceHardwareCrossTimestamp(interfaceluid: *const super::Ndis::NET_LUID_LH, crosstimestamp: *mut INTERFACE_HARDWARE_CROSSTIMESTAMP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ConvertCompartmentGuidToId(compartmentguid: *const ::windows_sys::core::GUID, compartmentid: *mut u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ConvertCompartmentIdToGuid(compartmentid: u32, compartmentguid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] pub fn ConvertInterfaceAliasToLuid(interfacealias: ::windows_sys::core::PCWSTR, interfaceluid: *mut super::Ndis::NET_LUID_LH) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] pub fn ConvertInterfaceGuidToLuid(interfaceguid: *const ::windows_sys::core::GUID, interfaceluid: *mut super::Ndis::NET_LUID_LH) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] pub fn ConvertInterfaceIndexToLuid(interfaceindex: u32, interfaceluid: *mut super::Ndis::NET_LUID_LH) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] pub fn ConvertInterfaceLuidToAlias(interfaceluid: *const super::Ndis::NET_LUID_LH, interfacealias: ::windows_sys::core::PWSTR, length: usize) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] pub fn ConvertInterfaceLuidToGuid(interfaceluid: *const super::Ndis::NET_LUID_LH, interfaceguid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] pub fn ConvertInterfaceLuidToIndex(interfaceluid: *const super::Ndis::NET_LUID_LH, interfaceindex: *mut u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] pub fn ConvertInterfaceLuidToNameA(interfaceluid: *const super::Ndis::NET_LUID_LH, interfacename: ::windows_sys::core::PSTR, length: usize) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] pub fn ConvertInterfaceLuidToNameW(interfaceluid: *const super::Ndis::NET_LUID_LH, interfacename: ::windows_sys::core::PWSTR, length: usize) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] pub fn ConvertInterfaceNameToLuidA(interfacename: ::windows_sys::core::PCSTR, interfaceluid: *mut super::Ndis::NET_LUID_LH) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] pub fn ConvertInterfaceNameToLuidW(interfacename: ::windows_sys::core::PCWSTR, interfaceluid: *mut super::Ndis::NET_LUID_LH) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ConvertIpv4MaskToLength(mask: u32, masklength: *mut u8) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ConvertLengthToIpv4Mask(masklength: u32, mask: *mut u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn CreateAnycastIpAddressEntry(row: *const MIB_ANYCASTIPADDRESS_ROW) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn CreateIpForwardEntry(proute: *const MIB_IPFORWARDROW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn CreateIpForwardEntry2(row: *const MIB_IPFORWARD_ROW2) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn CreateIpNetEntry(parpentry: *const MIB_IPNETROW_LH) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn CreateIpNetEntry2(row: *const MIB_IPNET_ROW2) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn CreatePersistentTcpPortReservation(startport: u16, numberofports: u16, token: *mut u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn CreatePersistentUdpPortReservation(startport: u16, numberofports: u16, token: *mut u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn CreateProxyArpEntry(dwaddress: u32, dwmask: u32, dwifindex: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn CreateSortedAddressPairs(sourceaddresslist: *const super::super::Networking::WinSock::SOCKADDR_IN6, sourceaddresscount: u32, destinationaddresslist: *const super::super::Networking::WinSock::SOCKADDR_IN6, destinationaddresscount: u32, addresssortoptions: u32, sortedaddresspairlist: *mut *mut super::super::Networking::WinSock::SOCKADDR_IN6_PAIR, sortedaddresspaircount: *mut u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn CreateUnicastIpAddressEntry(row: *const MIB_UNICASTIPADDRESS_ROW) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn DeleteAnycastIpAddressEntry(row: *const MIB_ANYCASTIPADDRESS_ROW) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn DeleteIPAddress(ntecontext: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn DeleteIpForwardEntry(proute: *const MIB_IPFORWARDROW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn DeleteIpForwardEntry2(row: *const MIB_IPFORWARD_ROW2) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn DeleteIpNetEntry(parpentry: *const MIB_IPNETROW_LH) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn DeleteIpNetEntry2(row: *const MIB_IPNET_ROW2) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn DeletePersistentTcpPortReservation(startport: u16, numberofports: u16) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn DeletePersistentUdpPortReservation(startport: u16, numberofports: u16) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn DeleteProxyArpEntry(dwaddress: u32, dwmask: u32, dwifindex: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn DeleteUnicastIpAddressEntry(row: *const MIB_UNICASTIPADDRESS_ROW) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn DisableMediaSense(phandle: *mut super::super::Foundation::HANDLE, poverlapped: *const super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn EnableRouter(phandle: *mut super::super::Foundation::HANDLE, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn FlushIpNetTable(dwifindex: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FlushIpNetTable2(family: u16, interfaceindex: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FlushIpPathTable(family: u16) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn FreeDnsSettings(settings: *mut DNS_SETTINGS); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn FreeInterfaceDnsSettings(settings: *mut DNS_INTERFACE_SETTINGS); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn FreeMibTable(memory: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetAdapterIndex(adaptername: ::windows_sys::core::PCWSTR, ifindex: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetAdapterOrderMap() -> *mut IP_ADAPTER_ORDER_MAP; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn GetAdaptersAddresses(family: super::super::Networking::WinSock::ADDRESS_FAMILY, flags: GET_ADAPTERS_ADDRESSES_FLAGS, reserved: *mut ::core::ffi::c_void, adapteraddresses: *mut IP_ADAPTER_ADDRESSES_LH, sizepointer: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetAdaptersInfo(adapterinfo: *mut IP_ADAPTER_INFO, sizepointer: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn GetAnycastIpAddressEntry(row: *mut MIB_ANYCASTIPADDRESS_ROW) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn GetAnycastIpAddressTable(family: u16, table: *mut *mut MIB_ANYCASTIPADDRESS_TABLE) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetBestInterface(dwdestaddr: u32, pdwbestifindex: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn GetBestInterfaceEx(pdestaddr: *const super::super::Networking::WinSock::SOCKADDR, pdwbestifindex: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn GetBestRoute(dwdestaddr: u32, dwsourceaddr: u32, pbestroute: *mut MIB_IPFORWARDROW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn GetBestRoute2(interfaceluid: *const super::Ndis::NET_LUID_LH, interfaceindex: u32, sourceaddress: *const super::super::Networking::WinSock::SOCKADDR_INET, destinationaddress: *const super::super::Networking::WinSock::SOCKADDR_INET, addresssortoptions: u32, bestroute: *mut MIB_IPFORWARD_ROW2, bestsourceaddress: *mut super::super::Networking::WinSock::SOCKADDR_INET) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetCurrentThreadCompartmentId() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetCurrentThreadCompartmentScope(compartmentscope: *mut u32, compartmentid: *mut u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetDefaultCompartmentId() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDnsSettings(settings: *mut DNS_SETTINGS) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetExtendedTcpTable(ptcptable: *mut ::core::ffi::c_void, pdwsize: *mut u32, border: super::super::Foundation::BOOL, ulaf: u32, tableclass: TCP_TABLE_CLASS, reserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetExtendedUdpTable(pudptable: *mut ::core::ffi::c_void, pdwsize: *mut u32, border: super::super::Foundation::BOOL, ulaf: u32, tableclass: UDP_TABLE_CLASS, reserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetFriendlyIfIndex(ifindex: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetIcmpStatistics(statistics: *mut MIB_ICMP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetIcmpStatisticsEx(statistics: *mut MIB_ICMP_EX_XPSP1, family: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetIfEntry(pifrow: *mut MIB_IFROW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] pub fn GetIfEntry2(row: *mut MIB_IF_ROW2) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] pub fn GetIfEntry2Ex(level: MIB_IF_ENTRY_LEVEL, row: *mut MIB_IF_ROW2) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetIfStackTable(table: *mut *mut MIB_IFSTACK_TABLE) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetIfTable(piftable: *mut MIB_IFTABLE, pdwsize: *mut u32, border: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] pub fn GetIfTable2(table: *mut *mut MIB_IF_TABLE2) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] pub fn GetIfTable2Ex(level: MIB_IF_TABLE_LEVEL, table: *mut *mut MIB_IF_TABLE2) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] pub fn GetInterfaceActiveTimestampCapabilities(interfaceluid: *const super::Ndis::NET_LUID_LH, timestampcapabilites: *mut INTERFACE_TIMESTAMP_CAPABILITIES) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetInterfaceDnsSettings(interface: ::windows_sys::core::GUID, settings: *mut DNS_INTERFACE_SETTINGS) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetInterfaceInfo(piftable: *mut IP_INTERFACE_INFO, dwoutbuflen: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] pub fn GetInterfaceSupportedTimestampCapabilities(interfaceluid: *const super::Ndis::NET_LUID_LH, timestampcapabilites: *mut INTERFACE_TIMESTAMP_CAPABILITIES) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetInvertedIfStackTable(table: *mut *mut MIB_INVERTEDIFSTACK_TABLE) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetIpAddrTable(pipaddrtable: *mut MIB_IPADDRTABLE, pdwsize: *mut u32, border: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetIpErrorString(errorcode: u32, buffer: ::windows_sys::core::PWSTR, size: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn GetIpForwardEntry2(row: *mut MIB_IPFORWARD_ROW2) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn GetIpForwardTable(pipforwardtable: *mut MIB_IPFORWARDTABLE, pdwsize: *mut u32, border: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn GetIpForwardTable2(family: u16, table: *mut *mut MIB_IPFORWARD_TABLE2) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn GetIpInterfaceEntry(row: *mut MIB_IPINTERFACE_ROW) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn GetIpInterfaceTable(family: u16, table: *mut *mut MIB_IPINTERFACE_TABLE) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn GetIpNetEntry2(row: *mut MIB_IPNET_ROW2) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetIpNetTable(ipnettable: *mut MIB_IPNETTABLE, sizepointer: *mut u32, order: super::super::Foundation::BOOL) -> u32; - #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn GetIpNetTable2(family: u16, table: *mut *mut MIB_IPNET_TABLE2) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn GetIpNetworkConnectionBandwidthEstimates(interfaceindex: u32, addressfamily: u16, bandwidthestimates: *mut MIB_IP_NETWORK_CONNECTION_BANDWIDTH_ESTIMATES) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn GetIpPathEntry(row: *mut MIB_IPPATH_ROW) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn GetIpPathTable(family: u16, table: *mut *mut MIB_IPPATH_TABLE) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetIpStatistics(statistics: *mut MIB_IPSTATS_LH) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn GetIpStatisticsEx(statistics: *mut MIB_IPSTATS_LH, family: super::super::Networking::WinSock::ADDRESS_FAMILY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetJobCompartmentId(jobhandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn GetMulticastIpAddressEntry(row: *mut MIB_MULTICASTIPADDRESS_ROW) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn GetMulticastIpAddressTable(family: u16, table: *mut *mut MIB_MULTICASTIPADDRESS_TABLE) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn GetNetworkConnectivityHint(connectivityhint: *mut super::super::Networking::WinSock::NL_NETWORK_CONNECTIVITY_HINT) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn GetNetworkConnectivityHintForInterface(interfaceindex: u32, connectivityhint: *mut super::super::Networking::WinSock::NL_NETWORK_CONNECTIVITY_HINT) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNetworkInformation(networkguid: *const ::windows_sys::core::GUID, compartmentid: *mut u32, siteid: *mut u32, networkname: ::windows_sys::core::PWSTR, length: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNetworkParams(pfixedinfo: *mut FIXED_INFO_W2KSP1, poutbuflen: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetNumberOfInterfaces(pdwnumif: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetOwnerModuleFromPidAndInfo(ulpid: u32, pinfo: *const u64, class: TCPIP_OWNER_MODULE_INFO_CLASS, pbuffer: *mut ::core::ffi::c_void, pdwsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetOwnerModuleFromTcp6Entry(ptcpentry: *const MIB_TCP6ROW_OWNER_MODULE, class: TCPIP_OWNER_MODULE_INFO_CLASS, pbuffer: *mut ::core::ffi::c_void, pdwsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetOwnerModuleFromTcpEntry(ptcpentry: *const MIB_TCPROW_OWNER_MODULE, class: TCPIP_OWNER_MODULE_INFO_CLASS, pbuffer: *mut ::core::ffi::c_void, pdwsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetOwnerModuleFromUdp6Entry(pudpentry: *const MIB_UDP6ROW_OWNER_MODULE, class: TCPIP_OWNER_MODULE_INFO_CLASS, pbuffer: *mut ::core::ffi::c_void, pdwsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetOwnerModuleFromUdpEntry(pudpentry: *const MIB_UDPROW_OWNER_MODULE, class: TCPIP_OWNER_MODULE_INFO_CLASS, pbuffer: *mut ::core::ffi::c_void, pdwsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPerAdapterInfo(ifindex: u32, pperadapterinfo: *mut IP_PER_ADAPTER_INFO_W2KSP1, poutbuflen: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn GetPerTcp6ConnectionEStats(row: *const MIB_TCP6ROW, estatstype: TCP_ESTATS_TYPE, rw: *mut u8, rwversion: u32, rwsize: u32, ros: *mut u8, rosversion: u32, rossize: u32, rod: *mut u8, rodversion: u32, rodsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetPerTcpConnectionEStats(row: *const MIB_TCPROW_LH, estatstype: TCP_ESTATS_TYPE, rw: *mut u8, rwversion: u32, rwsize: u32, ros: *mut u8, rosversion: u32, rossize: u32, rod: *mut u8, rodversion: u32, rodsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetRTTAndHopCount(destipaddress: u32, hopcount: *mut u32, maxhops: u32, rtt: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetSessionCompartmentId(sessionid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn GetTcp6Table(tcptable: *mut MIB_TCP6TABLE, sizepointer: *mut u32, order: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn GetTcp6Table2(tcptable: *mut MIB_TCP6TABLE2, sizepointer: *mut u32, order: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetTcpStatistics(statistics: *mut MIB_TCPSTATS_LH) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn GetTcpStatisticsEx(statistics: *mut MIB_TCPSTATS_LH, family: super::super::Networking::WinSock::ADDRESS_FAMILY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn GetTcpStatisticsEx2(statistics: *mut MIB_TCPSTATS2, family: super::super::Networking::WinSock::ADDRESS_FAMILY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTcpTable(tcptable: *mut MIB_TCPTABLE, sizepointer: *mut u32, order: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTcpTable2(tcptable: *mut MIB_TCPTABLE2, sizepointer: *mut u32, order: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTeredoPort(port: *mut u16) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn GetUdp6Table(udp6table: *mut MIB_UDP6TABLE, sizepointer: *mut u32, order: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetUdpStatistics(stats: *mut MIB_UDPSTATS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn GetUdpStatisticsEx(statistics: *mut MIB_UDPSTATS, family: super::super::Networking::WinSock::ADDRESS_FAMILY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn GetUdpStatisticsEx2(statistics: *mut MIB_UDPSTATS2, family: super::super::Networking::WinSock::ADDRESS_FAMILY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUdpTable(udptable: *mut MIB_UDPTABLE, sizepointer: *mut u32, order: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn GetUniDirectionalAdapterInfo(pipifinfo: *mut IP_UNIDIRECTIONAL_ADAPTER_ADDRESS, dwoutbuflen: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn GetUnicastIpAddressEntry(row: *mut MIB_UNICASTIPADDRESS_ROW) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn GetUnicastIpAddressTable(family: u16, table: *mut *mut MIB_UNICASTIPADDRESS_TABLE) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn Icmp6CreateFile() -> IcmpHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn Icmp6ParseReplies(replybuffer: *mut ::core::ffi::c_void, replysize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_System_WindowsProgramming"))] pub fn Icmp6SendEcho2(icmphandle: IcmpHandle, event: super::super::Foundation::HANDLE, apcroutine: super::super::System::WindowsProgramming::PIO_APC_ROUTINE, apccontext: *const ::core::ffi::c_void, sourceaddress: *const super::super::Networking::WinSock::SOCKADDR_IN6, destinationaddress: *const super::super::Networking::WinSock::SOCKADDR_IN6, requestdata: *const ::core::ffi::c_void, requestsize: u16, requestoptions: *const ip_option_information, replybuffer: *mut ::core::ffi::c_void, replysize: u32, timeout: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IcmpCloseHandle(icmphandle: IcmpHandle) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn IcmpCreateFile() -> IcmpHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn IcmpParseReplies(replybuffer: *mut ::core::ffi::c_void, replysize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn IcmpSendEcho(icmphandle: IcmpHandle, destinationaddress: u32, requestdata: *const ::core::ffi::c_void, requestsize: u16, requestoptions: *const ip_option_information, replybuffer: *mut ::core::ffi::c_void, replysize: u32, timeout: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] pub fn IcmpSendEcho2(icmphandle: IcmpHandle, event: super::super::Foundation::HANDLE, apcroutine: super::super::System::WindowsProgramming::PIO_APC_ROUTINE, apccontext: *const ::core::ffi::c_void, destinationaddress: u32, requestdata: *const ::core::ffi::c_void, requestsize: u16, requestoptions: *const ip_option_information, replybuffer: *mut ::core::ffi::c_void, replysize: u32, timeout: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] pub fn IcmpSendEcho2Ex(icmphandle: IcmpHandle, event: super::super::Foundation::HANDLE, apcroutine: super::super::System::WindowsProgramming::PIO_APC_ROUTINE, apccontext: *const ::core::ffi::c_void, sourceaddress: u32, destinationaddress: u32, requestdata: *const ::core::ffi::c_void, requestsize: u16, requestoptions: *const ip_option_information, replybuffer: *mut ::core::ffi::c_void, replysize: u32, timeout: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn InitializeIpForwardEntry(row: *mut MIB_IPFORWARD_ROW2); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn InitializeIpInterfaceEntry(row: *mut MIB_IPINTERFACE_ROW); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn InitializeUnicastIpAddressEntry(row: *mut MIB_UNICASTIPADDRESS_ROW); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn IpReleaseAddress(adapterinfo: *const IP_ADAPTER_INDEX_MAP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn IpRenewAddress(adapterinfo: *const IP_ADAPTER_INDEX_MAP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn LookupPersistentTcpPortReservation(startport: u16, numberofports: u16, token: *mut u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn LookupPersistentUdpPortReservation(startport: u16, numberofports: u16, token: *mut u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NhpAllocateAndGetInterfaceInfoFromStack(pptable: *mut *mut ip_interface_name_info_w2ksp1, pdwcount: *mut u32, border: super::super::Foundation::BOOL, hheap: super::super::Foundation::HANDLE, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn NotifyAddrChange(handle: *mut super::super::Foundation::HANDLE, overlapped: *const super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn NotifyIpInterfaceChange(family: u16, callback: PIPINTERFACE_CHANGE_CALLBACK, callercontext: *const ::core::ffi::c_void, initialnotification: super::super::Foundation::BOOLEAN, notificationhandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn NotifyNetworkConnectivityHintChange(callback: PNETWORK_CONNECTIVITY_HINT_CHANGE_CALLBACK, callercontext: *const ::core::ffi::c_void, initialnotification: super::super::Foundation::BOOLEAN, notificationhandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn NotifyRouteChange(handle: *mut super::super::Foundation::HANDLE, overlapped: *const super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn NotifyRouteChange2(addressfamily: u16, callback: PIPFORWARD_CHANGE_CALLBACK, callercontext: *const ::core::ffi::c_void, initialnotification: super::super::Foundation::BOOLEAN, notificationhandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn NotifyStableUnicastIpAddressTable(family: u16, table: *mut *mut MIB_UNICASTIPADDRESS_TABLE, callercallback: PSTABLE_UNICAST_IPADDRESS_TABLE_CALLBACK, callercontext: *const ::core::ffi::c_void, notificationhandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NotifyTeredoPortChange(callback: PTEREDO_PORT_CHANGE_CALLBACK, callercontext: *const ::core::ffi::c_void, initialnotification: super::super::Foundation::BOOLEAN, notificationhandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn NotifyUnicastIpAddressChange(family: u16, callback: PUNICAST_IPADDRESS_CHANGE_CALLBACK, callercontext: *const ::core::ffi::c_void, initialnotification: super::super::Foundation::BOOLEAN, notificationhandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn PfAddFiltersToInterface(ih: *mut ::core::ffi::c_void, cinfilters: u32, pfiltin: *mut PF_FILTER_DESCRIPTOR, coutfilters: u32, pfiltout: *mut PF_FILTER_DESCRIPTOR, pfhandle: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn PfAddGlobalFilterToInterface(pinterface: *mut ::core::ffi::c_void, gffilter: GLOBAL_FILTER) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn PfBindInterfaceToIPAddress(pinterface: *mut ::core::ffi::c_void, pfattype: PFADDRESSTYPE, ipaddress: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn PfBindInterfaceToIndex(pinterface: *mut ::core::ffi::c_void, dwindex: u32, pfatlinktype: PFADDRESSTYPE, linkipaddress: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PfCreateInterface(dwname: u32, inaction: PFFORWARD_ACTION, outaction: PFFORWARD_ACTION, buselog: super::super::Foundation::BOOL, bmustbeunique: super::super::Foundation::BOOL, ppinterface: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn PfDeleteInterface(pinterface: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn PfDeleteLog() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PfGetInterfaceStatistics(pinterface: *mut ::core::ffi::c_void, ppfstats: *mut PF_INTERFACE_STATS, pdwbuffersize: *mut u32, fresetcounters: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PfMakeLog(hevent: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn PfRebindFilters(pinterface: *mut ::core::ffi::c_void, platebindinfo: *mut PF_LATEBIND_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn PfRemoveFilterHandles(pinterface: *mut ::core::ffi::c_void, cfilters: u32, pvhandles: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn PfRemoveFiltersFromInterface(ih: *mut ::core::ffi::c_void, cinfilters: u32, pfiltin: *mut PF_FILTER_DESCRIPTOR, coutfilters: u32, pfiltout: *mut PF_FILTER_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn PfRemoveGlobalFilterFromInterface(pinterface: *mut ::core::ffi::c_void, gffilter: GLOBAL_FILTER) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn PfSetLogBuffer(pbbuffer: *mut u8, dwsize: u32, dwthreshold: u32, dwentries: u32, pdwloggedentries: *mut u32, pdwlostentries: *mut u32, pdwsizeused: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn PfTestPacket(pininterface: *mut ::core::ffi::c_void, poutinterface: *mut ::core::ffi::c_void, cbytes: u32, pbpacket: *mut u8, ppaction: *mut PFFORWARD_ACTION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn PfUnBindInterface(pinterface: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn RegisterInterfaceTimestampConfigChange(callback: PINTERFACE_TIMESTAMP_CONFIG_CHANGE_CALLBACK, callercontext: *const ::core::ffi::c_void, notificationhandle: *mut HIFTIMESTAMPCHANGE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn ResolveIpNetEntry2(row: *mut MIB_IPNET_ROW2, sourceaddress: *const super::super::Networking::WinSock::SOCKADDR_INET) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn ResolveNeighbor(networkaddress: *const super::super::Networking::WinSock::SOCKADDR, physicaladdress: *mut ::core::ffi::c_void, physicaladdresslength: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn RestoreMediaSense(poverlapped: *const super::super::System::IO::OVERLAPPED, lpdwenablecount: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn SendARP(destip: u32, srcip: u32, pmacaddr: *mut ::core::ffi::c_void, phyaddrlen: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetCurrentThreadCompartmentId(compartmentid: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetCurrentThreadCompartmentScope(compartmentscope: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetDnsSettings(settings: *const DNS_SETTINGS) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn SetIfEntry(pifrow: *const MIB_IFROW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetInterfaceDnsSettings(interface: ::windows_sys::core::GUID, settings: *const DNS_INTERFACE_SETTINGS) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn SetIpForwardEntry(proute: *const MIB_IPFORWARDROW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn SetIpForwardEntry2(route: *const MIB_IPFORWARD_ROW2) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn SetIpInterfaceEntry(row: *mut MIB_IPINTERFACE_ROW) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn SetIpNetEntry(parpentry: *const MIB_IPNETROW_LH) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn SetIpNetEntry2(row: *const MIB_IPNET_ROW2) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn SetIpStatistics(pipstats: *const MIB_IPSTATS_LH) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn SetIpStatisticsEx(statistics: *const MIB_IPSTATS_LH, family: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn SetIpTTL(nttl: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetJobCompartmentId(jobhandle: super::super::Foundation::HANDLE, compartmentid: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetNetworkInformation(networkguid: *const ::windows_sys::core::GUID, compartmentid: u32, networkname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn SetPerTcp6ConnectionEStats(row: *const MIB_TCP6ROW, estatstype: TCP_ESTATS_TYPE, rw: *const u8, rwversion: u32, rwsize: u32, offset: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn SetPerTcpConnectionEStats(row: *const MIB_TCPROW_LH, estatstype: TCP_ESTATS_TYPE, rw: *const u8, rwversion: u32, rwsize: u32, offset: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetSessionCompartmentId(sessionid: u32, compartmentid: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn SetTcpEntry(ptcprow: *const MIB_TCPROW_LH) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] pub fn SetUnicastIpAddressEntry(row: *const MIB_UNICASTIPADDRESS_ROW) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn UnenableRouter(poverlapped: *const super::super::System::IO::OVERLAPPED, lpdwenablecount: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn UnregisterInterfaceTimestampConfigChange(notificationhandle: HIFTIMESTAMPCHANGE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn if_indextoname(interfaceindex: u32, interfacename: ::windows_sys::core::PSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub fn if_nametoindex(interfacename: ::windows_sys::core::PCSTR) -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/Multicast/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/Multicast/mod.rs index 8fea3ea3a4..a12fc343bc 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/Multicast/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/Multicast/mod.rs @@ -2,17 +2,35 @@ extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Multicast\"`*"] pub fn McastApiCleanup(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Multicast\"`*"] pub fn McastApiStartup(version: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Multicast\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn McastEnumerateScopes(addrfamily: u16, requery: super::super::Foundation::BOOL, pscopelist: *mut MCAST_SCOPE_ENTRY, pscopelen: *mut u32, pscopecount: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Multicast\"`*"] pub fn McastGenUID(prequestid: *mut MCAST_CLIENT_UID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Multicast\"`*"] pub fn McastReleaseAddress(addrfamily: u16, prequestid: *mut MCAST_CLIENT_UID, preleaserequest: *mut MCAST_LEASE_REQUEST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Multicast\"`*"] pub fn McastRenewAddress(addrfamily: u16, prequestid: *mut MCAST_CLIENT_UID, prenewrequest: *mut MCAST_LEASE_REQUEST, prenewresponse: *mut MCAST_LEASE_RESPONSE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Multicast\"`*"] pub fn McastRequestAddress(addrfamily: u16, prequestid: *mut MCAST_CLIENT_UID, pscopectx: *mut MCAST_SCOPE_CTX, paddrrequest: *mut MCAST_LEASE_REQUEST, paddrresponse: *mut MCAST_LEASE_RESPONSE) -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs index c157e1c711..bd89089348 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs @@ -2,379 +2,901 @@ extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn GetNetScheduleAccountInformation(pwszservername: ::windows_sys::core::PCWSTR, ccaccount: u32, wszaccount: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn I_NetLogonControl2(servername: ::windows_sys::core::PCWSTR, functioncode: u32, querylevel: u32, data: *const u8, buffer: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn LogErrorA(dwmessageid: u32, cnumberofsubstrings: u32, plpwssubstrings: *const ::windows_sys::core::PSTR, dwerrorcode: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn LogErrorW(dwmessageid: u32, cnumberofsubstrings: u32, plpwssubstrings: *const ::windows_sys::core::PWSTR, dwerrorcode: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn LogEventA(weventtype: u32, dwmessageid: u32, cnumberofsubstrings: u32, plpwssubstrings: *const ::windows_sys::core::PSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn LogEventW(weventtype: u32, dwmessageid: u32, cnumberofsubstrings: u32, plpwssubstrings: *const ::windows_sys::core::PWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn MprSetupProtocolEnum(dwtransportid: u32, lplpbuffer: *mut *mut u8, lpdwentriesread: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn MprSetupProtocolFree(lpbuffer: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetAccessAdd(servername: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8, parm_err: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetAccessDel(servername: ::windows_sys::core::PCWSTR, resource: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetAccessEnum(servername: ::windows_sys::core::PCWSTR, basepath: ::windows_sys::core::PCWSTR, recursive: u32, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetAccessGetInfo(servername: ::windows_sys::core::PCWSTR, resource: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetAccessGetUserPerms(servername: ::windows_sys::core::PCWSTR, ugname: ::windows_sys::core::PCWSTR, resource: ::windows_sys::core::PCWSTR, perms: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetAccessSetInfo(servername: ::windows_sys::core::PCWSTR, resource: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8, parm_err: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetAddAlternateComputerName(server: ::windows_sys::core::PCWSTR, alternatename: ::windows_sys::core::PCWSTR, domainaccount: ::windows_sys::core::PCWSTR, domainaccountpassword: ::windows_sys::core::PCWSTR, reserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NetAddServiceAccount(servername: ::windows_sys::core::PCWSTR, accountname: ::windows_sys::core::PCWSTR, password: ::windows_sys::core::PCWSTR, flags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetAlertRaise(alerttype: ::windows_sys::core::PCWSTR, buffer: *const ::core::ffi::c_void, buffersize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetAlertRaiseEx(alerttype: ::windows_sys::core::PCWSTR, variableinfo: *const ::core::ffi::c_void, variableinfosize: u32, servicename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetApiBufferAllocate(bytecount: u32, buffer: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetApiBufferFree(buffer: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetApiBufferReallocate(oldbuffer: *const ::core::ffi::c_void, newbytecount: u32, newbuffer: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetApiBufferSize(buffer: *const ::core::ffi::c_void, bytecount: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetAuditClear(server: ::windows_sys::core::PCWSTR, backupfile: ::windows_sys::core::PCWSTR, service: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetAuditRead(server: ::windows_sys::core::PCWSTR, service: ::windows_sys::core::PCWSTR, auditloghandle: *mut HLOG, offset: u32, reserved1: *mut u32, reserved2: u32, offsetflag: u32, bufptr: *mut *mut u8, prefmaxlen: u32, bytesread: *mut u32, totalavailable: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetAuditWrite(r#type: u32, buf: *mut u8, numbytes: u32, service: ::windows_sys::core::PCWSTR, reserved: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetConfigGet(server: ::windows_sys::core::PCWSTR, component: ::windows_sys::core::PCWSTR, parameter: ::windows_sys::core::PCWSTR, bufptr: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetConfigGetAll(server: ::windows_sys::core::PCWSTR, component: ::windows_sys::core::PCWSTR, bufptr: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetConfigSet(server: ::windows_sys::core::PCWSTR, reserved1: ::windows_sys::core::PCWSTR, component: ::windows_sys::core::PCWSTR, level: u32, reserved2: u32, buf: *mut u8, reserved3: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetCreateProvisioningPackage(pprovisioningparams: *const NETSETUP_PROVISIONING_PARAMS, pppackagebindata: *mut *mut u8, pdwpackagebindatasize: *mut u32, pppackagetextdata: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetEnumerateComputerNames(server: ::windows_sys::core::PCWSTR, nametype: NET_COMPUTER_NAME_TYPE, reserved: u32, entrycount: *mut u32, computernames: *mut *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NetEnumerateServiceAccounts(servername: ::windows_sys::core::PCWSTR, flags: u32, accountscount: *mut u32, accounts: *mut *mut *mut u16) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetErrorLogClear(uncservername: ::windows_sys::core::PCWSTR, backupfile: ::windows_sys::core::PCWSTR, reserved: *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetErrorLogRead(uncservername: ::windows_sys::core::PCWSTR, reserved1: ::windows_sys::core::PCWSTR, errorloghandle: *const HLOG, offset: u32, reserved2: *const u32, reserved3: u32, offsetflag: u32, bufptr: *mut *mut u8, prefmaxsize: u32, bytesread: *mut u32, totalavailable: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetErrorLogWrite(reserved1: *const u8, code: u32, component: ::windows_sys::core::PCWSTR, buffer: *const u8, numbytes: u32, msgbuf: *const u8, strcount: u32, reserved2: *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub fn NetFreeAadJoinInformation(pjoininfo: *const DSREG_JOIN_INFO); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub fn NetGetAadJoinInformation(pcsztenantid: ::windows_sys::core::PCWSTR, ppjoininfo: *mut *mut DSREG_JOIN_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetGetAnyDCName(servername: ::windows_sys::core::PCWSTR, domainname: ::windows_sys::core::PCWSTR, buffer: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetGetDCName(servername: ::windows_sys::core::PCWSTR, domainname: ::windows_sys::core::PCWSTR, buffer: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetGetDisplayInformationIndex(servername: ::windows_sys::core::PCWSTR, level: u32, prefix: ::windows_sys::core::PCWSTR, index: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetGetJoinInformation(lpserver: ::windows_sys::core::PCWSTR, lpnamebuffer: *mut ::windows_sys::core::PWSTR, buffertype: *mut NETSETUP_JOIN_STATUS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetGetJoinableOUs(lpserver: ::windows_sys::core::PCWSTR, lpdomain: ::windows_sys::core::PCWSTR, lpaccount: ::windows_sys::core::PCWSTR, lppassword: ::windows_sys::core::PCWSTR, oucount: *mut u32, ous: *mut *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetGroupAdd(servername: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8, parm_err: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetGroupAddUser(servername: ::windows_sys::core::PCWSTR, groupname: ::windows_sys::core::PCWSTR, username: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetGroupDel(servername: ::windows_sys::core::PCWSTR, groupname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetGroupDelUser(servername: ::windows_sys::core::PCWSTR, groupname: ::windows_sys::core::PCWSTR, username: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetGroupEnum(servername: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetGroupGetInfo(servername: ::windows_sys::core::PCWSTR, groupname: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetGroupGetUsers(servername: ::windows_sys::core::PCWSTR, groupname: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resumehandle: *mut usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetGroupSetInfo(servername: ::windows_sys::core::PCWSTR, groupname: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8, parm_err: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetGroupSetUsers(servername: ::windows_sys::core::PCWSTR, groupname: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8, totalentries: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NetIsServiceAccount(servername: ::windows_sys::core::PCWSTR, accountname: ::windows_sys::core::PCWSTR, isservice: *mut super::super::Foundation::BOOL) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetJoinDomain(lpserver: ::windows_sys::core::PCWSTR, lpdomain: ::windows_sys::core::PCWSTR, lpmachineaccountou: ::windows_sys::core::PCWSTR, lpaccount: ::windows_sys::core::PCWSTR, lppassword: ::windows_sys::core::PCWSTR, fjoinoptions: NET_JOIN_DOMAIN_JOIN_OPTIONS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetLocalGroupAdd(servername: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8, parm_err: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NetLocalGroupAddMember(servername: ::windows_sys::core::PCWSTR, groupname: ::windows_sys::core::PCWSTR, membersid: super::super::Foundation::PSID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetLocalGroupAddMembers(servername: ::windows_sys::core::PCWSTR, groupname: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8, totalentries: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetLocalGroupDel(servername: ::windows_sys::core::PCWSTR, groupname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NetLocalGroupDelMember(servername: ::windows_sys::core::PCWSTR, groupname: ::windows_sys::core::PCWSTR, membersid: super::super::Foundation::PSID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetLocalGroupDelMembers(servername: ::windows_sys::core::PCWSTR, groupname: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8, totalentries: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetLocalGroupEnum(servername: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resumehandle: *mut usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetLocalGroupGetInfo(servername: ::windows_sys::core::PCWSTR, groupname: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetLocalGroupGetMembers(servername: ::windows_sys::core::PCWSTR, localgroupname: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resumehandle: *mut usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetLocalGroupSetInfo(servername: ::windows_sys::core::PCWSTR, groupname: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8, parm_err: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetLocalGroupSetMembers(servername: ::windows_sys::core::PCWSTR, groupname: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8, totalentries: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetMessageBufferSend(servername: ::windows_sys::core::PCWSTR, msgname: ::windows_sys::core::PCWSTR, fromname: ::windows_sys::core::PCWSTR, buf: *const u8, buflen: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetMessageNameAdd(servername: ::windows_sys::core::PCWSTR, msgname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetMessageNameDel(servername: ::windows_sys::core::PCWSTR, msgname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetMessageNameEnum(servername: ::windows_sys::core::PCWSTR, level: u32, bufptr: *const *const u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetMessageNameGetInfo(servername: ::windows_sys::core::PCWSTR, msgname: ::windows_sys::core::PCWSTR, level: u32, bufptr: *const *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetProvisionComputerAccount(lpdomain: ::windows_sys::core::PCWSTR, lpmachinename: ::windows_sys::core::PCWSTR, lpmachineaccountou: ::windows_sys::core::PCWSTR, lpdcname: ::windows_sys::core::PCWSTR, dwoptions: NETSETUP_PROVISION, pprovisionbindata: *mut *mut u8, pdwprovisionbindatasize: *mut u32, pprovisiontextdata: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetQueryDisplayInformation(servername: ::windows_sys::core::PCWSTR, level: u32, index: u32, entriesrequested: u32, preferredmaximumlength: u32, returnedentrycount: *mut u32, sortedbuffer: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NetQueryServiceAccount(servername: ::windows_sys::core::PCWSTR, accountname: ::windows_sys::core::PCWSTR, infolevel: u32, buffer: *mut *mut u8) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetRemoteComputerSupports(uncservername: ::windows_sys::core::PCWSTR, optionswanted: NET_REMOTE_COMPUTER_SUPPORTS_OPTIONS, optionssupported: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetRemoteTOD(uncservername: ::windows_sys::core::PCWSTR, bufferptr: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetRemoveAlternateComputerName(server: ::windows_sys::core::PCWSTR, alternatename: ::windows_sys::core::PCWSTR, domainaccount: ::windows_sys::core::PCWSTR, domainaccountpassword: ::windows_sys::core::PCWSTR, reserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NetRemoveServiceAccount(servername: ::windows_sys::core::PCWSTR, accountname: ::windows_sys::core::PCWSTR, flags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetRenameMachineInDomain(lpserver: ::windows_sys::core::PCWSTR, lpnewmachinename: ::windows_sys::core::PCWSTR, lpaccount: ::windows_sys::core::PCWSTR, lppassword: ::windows_sys::core::PCWSTR, frenameoptions: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetReplExportDirAdd(servername: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8, parm_err: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetReplExportDirDel(servername: ::windows_sys::core::PCWSTR, dirname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetReplExportDirEnum(servername: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resumehandle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetReplExportDirGetInfo(servername: ::windows_sys::core::PCWSTR, dirname: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetReplExportDirLock(servername: ::windows_sys::core::PCWSTR, dirname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetReplExportDirSetInfo(servername: ::windows_sys::core::PCWSTR, dirname: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8, parm_err: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetReplExportDirUnlock(servername: ::windows_sys::core::PCWSTR, dirname: ::windows_sys::core::PCWSTR, unlockforce: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetReplGetInfo(servername: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetReplImportDirAdd(servername: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8, parm_err: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetReplImportDirDel(servername: ::windows_sys::core::PCWSTR, dirname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetReplImportDirEnum(servername: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resumehandle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetReplImportDirGetInfo(servername: ::windows_sys::core::PCWSTR, dirname: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetReplImportDirLock(servername: ::windows_sys::core::PCWSTR, dirname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetReplImportDirUnlock(servername: ::windows_sys::core::PCWSTR, dirname: ::windows_sys::core::PCWSTR, unlockforce: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetReplSetInfo(servername: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8, parm_err: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetRequestOfflineDomainJoin(pprovisionbindata: *const u8, cbprovisionbindatasize: u32, dwoptions: NET_REQUEST_PROVISION_OPTIONS, lpwindowspath: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetRequestProvisioningPackageInstall(ppackagebindata: *const u8, dwpackagebindatasize: u32, dwprovisionoptions: NET_REQUEST_PROVISION_OPTIONS, lpwindowspath: ::windows_sys::core::PCWSTR, pvreserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetScheduleJobAdd(servername: ::windows_sys::core::PCWSTR, buffer: *mut u8, jobid: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetScheduleJobDel(servername: ::windows_sys::core::PCWSTR, minjobid: u32, maxjobid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetScheduleJobEnum(servername: ::windows_sys::core::PCWSTR, pointertobuffer: *mut *mut u8, prefferedmaximumlength: u32, entriesread: *mut u32, totalentries: *mut u32, resumehandle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetScheduleJobGetInfo(servername: ::windows_sys::core::PCWSTR, jobid: u32, pointertobuffer: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetServerComputerNameAdd(servername: ::windows_sys::core::PCWSTR, emulateddomainname: ::windows_sys::core::PCWSTR, emulatedservername: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetServerComputerNameDel(servername: ::windows_sys::core::PCWSTR, emulatedservername: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetServerDiskEnum(servername: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetServerEnum(servername: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, servertype: NET_SERVER_TYPE, domain: ::windows_sys::core::PCWSTR, resume_handle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetServerGetInfo(servername: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetServerSetInfo(servername: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8, parmerror: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetServerTransportAdd(servername: ::windows_sys::core::PCWSTR, level: u32, bufptr: *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetServerTransportAddEx(servername: ::windows_sys::core::PCWSTR, level: u32, bufptr: *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetServerTransportDel(servername: ::windows_sys::core::PCWSTR, level: u32, bufptr: *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetServerTransportEnum(servername: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetServiceControl(servername: ::windows_sys::core::PCWSTR, service: ::windows_sys::core::PCWSTR, opcode: u32, arg: u32, bufptr: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetServiceEnum(servername: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetServiceGetInfo(servername: ::windows_sys::core::PCWSTR, service: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetServiceInstall(servername: ::windows_sys::core::PCWSTR, service: ::windows_sys::core::PCWSTR, argc: u32, argv: *const ::windows_sys::core::PWSTR, bufptr: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetSetPrimaryComputerName(server: ::windows_sys::core::PCWSTR, primaryname: ::windows_sys::core::PCWSTR, domainaccount: ::windows_sys::core::PCWSTR, domainaccountpassword: ::windows_sys::core::PCWSTR, reserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetUnjoinDomain(lpserver: ::windows_sys::core::PCWSTR, lpaccount: ::windows_sys::core::PCWSTR, lppassword: ::windows_sys::core::PCWSTR, funjoinoptions: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetUseAdd(servername: *const i8, levelflags: u32, buf: *const u8, parm_err: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetUseDel(uncservername: ::windows_sys::core::PCWSTR, usename: ::windows_sys::core::PCWSTR, forcelevelflags: FORCE_LEVEL_FLAGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetUseEnum(uncservername: ::windows_sys::core::PCWSTR, levelflags: u32, bufptr: *mut *mut u8, preferedmaximumsize: u32, entriesread: *mut u32, totalentries: *mut u32, resumehandle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetUseGetInfo(uncservername: ::windows_sys::core::PCWSTR, usename: ::windows_sys::core::PCWSTR, levelflags: u32, bufptr: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetUserAdd(servername: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8, parm_err: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetUserChangePassword(domainname: ::windows_sys::core::PCWSTR, username: ::windows_sys::core::PCWSTR, oldpassword: ::windows_sys::core::PCWSTR, newpassword: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetUserDel(servername: ::windows_sys::core::PCWSTR, username: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetUserEnum(servername: ::windows_sys::core::PCWSTR, level: u32, filter: NET_USER_ENUM_FILTER_FLAGS, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetUserGetGroups(servername: ::windows_sys::core::PCWSTR, username: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetUserGetInfo(servername: ::windows_sys::core::PCWSTR, username: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetUserGetLocalGroups(servername: ::windows_sys::core::PCWSTR, username: ::windows_sys::core::PCWSTR, level: u32, flags: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetUserModalsGet(servername: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetUserModalsSet(servername: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8, parm_err: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetUserSetGroups(servername: ::windows_sys::core::PCWSTR, username: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8, num_entries: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetUserSetInfo(servername: ::windows_sys::core::PCWSTR, username: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8, parm_err: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetValidateName(lpserver: ::windows_sys::core::PCWSTR, lpname: ::windows_sys::core::PCWSTR, lpaccount: ::windows_sys::core::PCWSTR, lppassword: ::windows_sys::core::PCWSTR, nametype: NETSETUP_NAME_TYPE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetValidatePasswordPolicy(servername: ::windows_sys::core::PCWSTR, qualifier: *mut ::core::ffi::c_void, validationtype: NET_VALIDATE_PASSWORD_TYPE, inputarg: *mut ::core::ffi::c_void, outputarg: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetValidatePasswordPolicyFree(outputarg: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetWkstaGetInfo(servername: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetWkstaSetInfo(servername: ::windows_sys::core::PCWSTR, level: u32, buffer: *const u8, parm_err: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetWkstaTransportAdd(servername: *const i8, level: u32, buf: *const u8, parm_err: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetWkstaTransportDel(servername: ::windows_sys::core::PCWSTR, transportname: ::windows_sys::core::PCWSTR, ucond: FORCE_LEVEL_FLAGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetWkstaTransportEnum(servername: *const i8, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetWkstaUserEnum(servername: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resumehandle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetWkstaUserGetInfo(reserved: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn NetWkstaUserSetInfo(reserved: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8, parm_err: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn RouterAssert(pszfailedassertion: ::windows_sys::core::PCSTR, pszfilename: ::windows_sys::core::PCSTR, dwlinenumber: u32, pszmessage: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn RouterGetErrorStringA(dwerrorcode: u32, lplpszerrorstring: *mut ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn RouterGetErrorStringW(dwerrorcode: u32, lplpwszerrorstring: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RouterLogDeregisterA(hloghandle: super::super::Foundation::HANDLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RouterLogDeregisterW(hloghandle: super::super::Foundation::HANDLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RouterLogEventA(hloghandle: super::super::Foundation::HANDLE, dweventtype: u32, dwmessageid: u32, dwsubstringcount: u32, plpszsubstringarray: *const ::windows_sys::core::PSTR, dwerrorcode: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RouterLogEventDataA(hloghandle: super::super::Foundation::HANDLE, dweventtype: u32, dwmessageid: u32, dwsubstringcount: u32, plpszsubstringarray: *const ::windows_sys::core::PSTR, dwdatabytes: u32, lpdatabytes: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RouterLogEventDataW(hloghandle: super::super::Foundation::HANDLE, dweventtype: u32, dwmessageid: u32, dwsubstringcount: u32, plpszsubstringarray: *const ::windows_sys::core::PWSTR, dwdatabytes: u32, lpdatabytes: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RouterLogEventExA(hloghandle: super::super::Foundation::HANDLE, dweventtype: u32, dwerrorcode: u32, dwmessageid: u32, ptszformat: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RouterLogEventExW(hloghandle: super::super::Foundation::HANDLE, dweventtype: u32, dwerrorcode: u32, dwmessageid: u32, ptszformat: ::windows_sys::core::PCWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RouterLogEventStringA(hloghandle: super::super::Foundation::HANDLE, dweventtype: u32, dwmessageid: u32, dwsubstringcount: u32, plpszsubstringarray: *const ::windows_sys::core::PSTR, dwerrorcode: u32, dwerrorindex: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RouterLogEventStringW(hloghandle: super::super::Foundation::HANDLE, dweventtype: u32, dwmessageid: u32, dwsubstringcount: u32, plpszsubstringarray: *const ::windows_sys::core::PWSTR, dwerrorcode: u32, dwerrorindex: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RouterLogEventValistExA(hloghandle: super::super::Foundation::HANDLE, dweventtype: u32, dwerrorcode: u32, dwmessageid: u32, ptszformat: ::windows_sys::core::PCSTR, arglist: *mut i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RouterLogEventValistExW(hloghandle: super::super::Foundation::HANDLE, dweventtype: u32, dwerrorcode: u32, dwmessageid: u32, ptszformat: ::windows_sys::core::PCWSTR, arglist: *mut i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RouterLogEventW(hloghandle: super::super::Foundation::HANDLE, dweventtype: u32, dwmessageid: u32, dwsubstringcount: u32, plpszsubstringarray: *const ::windows_sys::core::PWSTR, dwerrorcode: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RouterLogRegisterA(lpszsource: ::windows_sys::core::PCSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RouterLogRegisterW(lpszsource: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn SetNetScheduleAccountInformation(pwszservername: ::windows_sys::core::PCWSTR, pwszaccount: ::windows_sys::core::PCWSTR, pwszpassword: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn TraceDeregisterA(dwtraceid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn TraceDeregisterExA(dwtraceid: u32, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn TraceDeregisterExW(dwtraceid: u32, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn TraceDeregisterW(dwtraceid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TraceDumpExA(dwtraceid: u32, dwflags: u32, lpbbytes: *mut u8, dwbytecount: u32, dwgroupsize: u32, baddressprefix: super::super::Foundation::BOOL, lpszprefix: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TraceDumpExW(dwtraceid: u32, dwflags: u32, lpbbytes: *mut u8, dwbytecount: u32, dwgroupsize: u32, baddressprefix: super::super::Foundation::BOOL, lpszprefix: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TraceGetConsoleA(dwtraceid: u32, lphconsole: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TraceGetConsoleW(dwtraceid: u32, lphconsole: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn TracePrintfA(dwtraceid: u32, lpszformat: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn TracePrintfExA(dwtraceid: u32, dwflags: u32, lpszformat: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn TracePrintfExW(dwtraceid: u32, dwflags: u32, lpszformat: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn TracePrintfW(dwtraceid: u32, lpszformat: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn TracePutsExA(dwtraceid: u32, dwflags: u32, lpszstring: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn TracePutsExW(dwtraceid: u32, dwflags: u32, lpszstring: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn TraceRegisterExA(lpszcallername: ::windows_sys::core::PCSTR, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn TraceRegisterExW(lpszcallername: ::windows_sys::core::PCWSTR, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn TraceVprintfExA(dwtraceid: u32, dwflags: u32, lpszformat: ::windows_sys::core::PCSTR, arglist: *mut i8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] pub fn TraceVprintfExW(dwtraceid: u32, dwflags: u32, lpszformat: ::windows_sys::core::PCWSTR, arglist: *mut i8) -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetShell/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetShell/mod.rs index f98e2a6c2f..088931c145 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetShell/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetShell/mod.rs @@ -3,23 +3,44 @@ extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetShell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MatchEnumTag(hmodule: super::super::Foundation::HANDLE, pwcarg: ::windows_sys::core::PCWSTR, dwnumarg: u32, penumtable: *const TOKEN_VALUE, pdwvalue: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetShell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MatchToken(pwszusertoken: ::windows_sys::core::PCWSTR, pwszcmdtoken: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetShell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PreprocessCommand(hmodule: super::super::Foundation::HANDLE, ppwcarguments: *mut ::windows_sys::core::PWSTR, dwcurrentindex: u32, dwargcount: u32, ptttags: *mut TAG_TYPE, dwtagcount: u32, dwminargs: u32, dwmaxargs: u32, pdwtagtype: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetShell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrintError(hmodule: super::super::Foundation::HANDLE, dwerrid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetShell\"`*"] pub fn PrintMessage(pwszformat: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetShell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrintMessageFromModule(hmodule: super::super::Foundation::HANDLE, dwmsgid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetShell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterContext(pchildcontext: *const NS_CONTEXT_ATTRIBUTES) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetShell\"`*"] pub fn RegisterHelper(pguidparentcontext: *const ::windows_sys::core::GUID, pfnregistersubcontext: *const NS_HELPER_ATTRIBUTES) -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs index 79a1aa6930..7b7383fa1f 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs @@ -2,40 +2,85 @@ extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] pub fn NdfCancelIncident(handle: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] pub fn NdfCloseIncident(handle: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] pub fn NdfCreateConnectivityIncident(handle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] pub fn NdfCreateDNSIncident(hostname: ::windows_sys::core::PCWSTR, querytype: u16, handle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn NdfCreateGroupingIncident(cloudname: ::windows_sys::core::PCWSTR, groupname: ::windows_sys::core::PCWSTR, identity: ::windows_sys::core::PCWSTR, invitation: ::windows_sys::core::PCWSTR, addresses: *const super::super::Networking::WinSock::SOCKET_ADDRESS_LIST, appid: ::windows_sys::core::PCWSTR, handle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NdfCreateIncident(helperclassname: ::windows_sys::core::PCWSTR, celt: u32, attributes: *const HELPER_ATTRIBUTE, handle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] pub fn NdfCreateNetConnectionIncident(handle: *mut *mut ::core::ffi::c_void, id: ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NdfCreatePnrpIncident(cloudname: ::windows_sys::core::PCWSTR, peername: ::windows_sys::core::PCWSTR, diagnosepublish: super::super::Foundation::BOOL, appid: ::windows_sys::core::PCWSTR, handle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] pub fn NdfCreateSharingIncident(uncpath: ::windows_sys::core::PCWSTR, handle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] pub fn NdfCreateWebIncident(url: ::windows_sys::core::PCWSTR, handle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NdfCreateWebIncidentEx(url: ::windows_sys::core::PCWSTR, usewinhttp: super::super::Foundation::BOOL, modulename: ::windows_sys::core::PCWSTR, handle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_Security"))] pub fn NdfCreateWinSockIncident(sock: super::super::Networking::WinSock::SOCKET, host: ::windows_sys::core::PCWSTR, port: u16, appid: ::windows_sys::core::PCWSTR, userid: *const super::super::Security::SID, handle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] pub fn NdfDiagnoseIncident(handle: *const ::core::ffi::c_void, rootcausecount: *mut u32, rootcauses: *mut *mut RootCauseInfo, dwwait: u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NdfExecuteDiagnosis(handle: *const ::core::ffi::c_void, hwnd: super::super::Foundation::HWND) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] pub fn NdfGetTraceFile(handle: *const ::core::ffi::c_void, tracefilelocation: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] pub fn NdfRepairIncident(handle: *const ::core::ffi::c_void, repairex: *const RepairInfoEx, dwwait: u32) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/P2P/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/P2P/mod.rs index d310f80bdc..00441e936f 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/P2P/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/P2P/mod.rs @@ -2,480 +2,1077 @@ extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn DrtClose(hdrt: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn DrtContinueSearch(hsearchcontext: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub fn DrtCreateDerivedKey(plocalcert: *const super::super::Security::Cryptography::CERT_CONTEXT, pkey: *mut DRT_DATA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub fn DrtCreateDerivedKeySecurityProvider(prootcert: *const super::super::Security::Cryptography::CERT_CONTEXT, plocalcert: *const super::super::Security::Cryptography::CERT_CONTEXT, ppsecurityprovider: *mut *mut DRT_SECURITY_PROVIDER) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn DrtCreateDnsBootstrapResolver(port: u16, pwszaddress: ::windows_sys::core::PCWSTR, ppmodule: *mut *mut DRT_BOOTSTRAP_PROVIDER) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn DrtCreateIpv6UdpTransport(scope: DRT_SCOPE, dwscopeid: u32, dwlocalitythreshold: u32, pwport: *mut u16, phtransport: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn DrtCreateNullSecurityProvider(ppsecurityprovider: *mut *mut DRT_SECURITY_PROVIDER) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DrtCreatePnrpBootstrapResolver(fpublish: super::super::Foundation::BOOL, pwzpeername: ::windows_sys::core::PCWSTR, pwzcloudname: ::windows_sys::core::PCWSTR, pwzpublishingidentity: ::windows_sys::core::PCWSTR, ppresolver: *mut *mut DRT_BOOTSTRAP_PROVIDER) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn DrtDeleteDerivedKeySecurityProvider(psecurityprovider: *const DRT_SECURITY_PROVIDER); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn DrtDeleteDnsBootstrapResolver(presolver: *const DRT_BOOTSTRAP_PROVIDER); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn DrtDeleteIpv6UdpTransport(htransport: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn DrtDeleteNullSecurityProvider(psecurityprovider: *const DRT_SECURITY_PROVIDER); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn DrtDeletePnrpBootstrapResolver(presolver: *const DRT_BOOTSTRAP_PROVIDER); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn DrtEndSearch(hsearchcontext: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn DrtGetEventData(hdrt: *const ::core::ffi::c_void, uleventdatalen: u32, peventdata: *mut DRT_EVENT_DATA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn DrtGetEventDataSize(hdrt: *const ::core::ffi::c_void, puleventdatalen: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn DrtGetInstanceName(hdrt: *const ::core::ffi::c_void, ulcbinstancenamesize: u32, pwzdrtinstancename: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn DrtGetInstanceNameSize(hdrt: *const ::core::ffi::c_void, pulcbinstancenamesize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn DrtGetSearchPath(hsearchcontext: *const ::core::ffi::c_void, ulsearchpathsize: u32, psearchpath: *mut DRT_ADDRESS_LIST) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn DrtGetSearchPathSize(hsearchcontext: *const ::core::ffi::c_void, pulsearchpathsize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn DrtGetSearchResult(hsearchcontext: *const ::core::ffi::c_void, ulsearchresultsize: u32, psearchresult: *mut DRT_SEARCH_RESULT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn DrtGetSearchResultSize(hsearchcontext: *const ::core::ffi::c_void, pulsearchresultsize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DrtOpen(psettings: *const DRT_SETTINGS, hevent: super::super::Foundation::HANDLE, pvcontext: *const ::core::ffi::c_void, phdrt: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn DrtRegisterKey(hdrt: *const ::core::ffi::c_void, pregistration: *const DRT_REGISTRATION, pvkeycontext: *const ::core::ffi::c_void, phkeyregistration: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DrtStartSearch(hdrt: *const ::core::ffi::c_void, pkey: *const DRT_DATA, pinfo: *const DRT_SEARCH_INFO, timeout: u32, hevent: super::super::Foundation::HANDLE, pvcontext: *const ::core::ffi::c_void, hsearchcontext: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn DrtUnregisterKey(hkeyregistration: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn DrtUpdateKey(hkeyregistration: *const ::core::ffi::c_void, pappdata: *const DRT_DATA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerCollabAddContact(pwzcontactdata: ::windows_sys::core::PCWSTR, ppcontact: *mut *mut PEER_CONTACT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn PeerCollabAsyncInviteContact(pccontact: *const PEER_CONTACT, pcendpoint: *const PEER_ENDPOINT, pcinvitation: *const PEER_INVITATION, hevent: super::super::Foundation::HANDLE, phinvitation: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn PeerCollabAsyncInviteEndpoint(pcendpoint: *const PEER_ENDPOINT, pcinvitation: *const PEER_INVITATION, hevent: super::super::Foundation::HANDLE, phinvitation: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerCollabCancelInvitation(hinvitation: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerCollabCloseHandle(hinvitation: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerCollabDeleteContact(pwzpeername: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn PeerCollabDeleteEndpointData(pcendpoint: *const PEER_ENDPOINT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerCollabDeleteObject(pobjectid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerCollabEnumApplicationRegistrationInfo(registrationtype: PEER_APPLICATION_REGISTRATION_TYPE, phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn PeerCollabEnumApplications(pcendpoint: *const PEER_ENDPOINT, papplicationid: *const ::windows_sys::core::GUID, phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerCollabEnumContacts(phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerCollabEnumEndpoints(pccontact: *const PEER_CONTACT, phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn PeerCollabEnumObjects(pcendpoint: *const PEER_ENDPOINT, pobjectid: *const ::windows_sys::core::GUID, phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerCollabEnumPeopleNearMe(phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerCollabExportContact(pwzpeername: ::windows_sys::core::PCWSTR, ppwzcontactdata: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn PeerCollabGetAppLaunchInfo(pplaunchinfo: *mut *mut PEER_APP_LAUNCH_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerCollabGetApplicationRegistrationInfo(papplicationid: *const ::windows_sys::core::GUID, registrationtype: PEER_APPLICATION_REGISTRATION_TYPE, ppapplication: *mut *mut PEER_APPLICATION_REGISTRATION_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerCollabGetContact(pwzpeername: ::windows_sys::core::PCWSTR, ppcontact: *mut *mut PEER_CONTACT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerCollabGetEndpointName(ppwzendpointname: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn PeerCollabGetEventData(hpeerevent: *const ::core::ffi::c_void, ppeventdata: *mut *mut PEER_COLLAB_EVENT_DATA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerCollabGetInvitationResponse(hinvitation: super::super::Foundation::HANDLE, ppinvitationresponse: *mut *mut PEER_INVITATION_RESPONSE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn PeerCollabGetPresenceInfo(pcendpoint: *const PEER_ENDPOINT, pppresenceinfo: *mut *mut PEER_PRESENCE_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerCollabGetSigninOptions(pdwsigninoptions: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn PeerCollabInviteContact(pccontact: *const PEER_CONTACT, pcendpoint: *const PEER_ENDPOINT, pcinvitation: *const PEER_INVITATION, ppresponse: *mut *mut PEER_INVITATION_RESPONSE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn PeerCollabInviteEndpoint(pcendpoint: *const PEER_ENDPOINT, pcinvitation: *const PEER_INVITATION, ppresponse: *mut *mut PEER_INVITATION_RESPONSE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerCollabParseContact(pwzcontactdata: ::windows_sys::core::PCWSTR, ppcontact: *mut *mut PEER_CONTACT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn PeerCollabQueryContactData(pcendpoint: *const PEER_ENDPOINT, ppwzcontactdata: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn PeerCollabRefreshEndpointData(pcendpoint: *const PEER_ENDPOINT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerCollabRegisterApplication(pcapplication: *const PEER_APPLICATION_REGISTRATION_INFO, registrationtype: PEER_APPLICATION_REGISTRATION_TYPE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerCollabRegisterEvent(hevent: super::super::Foundation::HANDLE, ceventregistration: u32, peventregistrations: *const PEER_COLLAB_EVENT_REGISTRATION, phpeerevent: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerCollabSetEndpointName(pwzendpointname: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerCollabSetObject(pcobject: *const PEER_OBJECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerCollabSetPresenceInfo(pcpresenceinfo: *const PEER_PRESENCE_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerCollabShutdown() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerCollabSignin(hwndparent: super::super::Foundation::HWND, dwsigninoptions: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerCollabSignout(dwsigninoptions: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerCollabStartup(wversionrequested: u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn PeerCollabSubscribeEndpointData(pcendpoint: *const PEER_ENDPOINT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerCollabUnregisterApplication(papplicationid: *const ::windows_sys::core::GUID, registrationtype: PEER_APPLICATION_REGISTRATION_TYPE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerCollabUnregisterEvent(hpeerevent: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn PeerCollabUnsubscribeEndpointData(pcendpoint: *const PEER_ENDPOINT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerCollabUpdateContact(pcontact: *const PEER_CONTACT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerCreatePeerName(pwzidentity: ::windows_sys::core::PCWSTR, pwzclassifier: ::windows_sys::core::PCWSTR, ppwzpeername: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn PeerDistClientAddContentInformation(hpeerdist: isize, hcontenthandle: isize, cbnumberofbytes: u32, pbuffer: *const u8, lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn PeerDistClientAddData(hpeerdist: isize, hcontenthandle: isize, cbnumberofbytes: u32, pbuffer: *const u8, lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn PeerDistClientBlockRead(hpeerdist: isize, hcontenthandle: isize, cbmaxnumberofbytes: u32, pbuffer: *mut u8, dwtimeoutinmilliseconds: u32, lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn PeerDistClientCancelAsyncOperation(hpeerdist: isize, hcontenthandle: isize, poverlapped: *const super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerDistClientCloseContent(hpeerdist: isize, hcontenthandle: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn PeerDistClientCompleteContentInformation(hpeerdist: isize, hcontenthandle: isize, lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn PeerDistClientFlushContent(hpeerdist: isize, pcontenttag: *const PEERDIST_CONTENT_TAG, hcompletionport: super::super::Foundation::HANDLE, ulcompletionkey: usize, lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerDistClientGetInformationByHandle(hpeerdist: isize, hcontenthandle: isize, peerdistclientinfoclass: PEERDIST_CLIENT_INFO_BY_HANDLE_CLASS, dwbuffersize: u32, lpinformation: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerDistClientOpenContent(hpeerdist: isize, pcontenttag: *const PEERDIST_CONTENT_TAG, hcompletionport: super::super::Foundation::HANDLE, ulcompletionkey: usize, phcontenthandle: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn PeerDistClientStreamRead(hpeerdist: isize, hcontenthandle: isize, cbmaxnumberofbytes: u32, pbuffer: *mut u8, dwtimeoutinmilliseconds: u32, lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn PeerDistGetOverlappedResult(lpoverlapped: *const super::super::System::IO::OVERLAPPED, lpnumberofbytestransferred: *mut u32, bwait: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerDistGetStatus(hpeerdist: isize, ppeerdiststatus: *mut PEERDIST_STATUS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerDistGetStatusEx(hpeerdist: isize, ppeerdiststatus: *mut PEERDIST_STATUS_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn PeerDistRegisterForStatusChangeNotification(hpeerdist: isize, hcompletionport: super::super::Foundation::HANDLE, ulcompletionkey: usize, lpoverlapped: *const super::super::System::IO::OVERLAPPED, ppeerdiststatus: *mut PEERDIST_STATUS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn PeerDistRegisterForStatusChangeNotificationEx(hpeerdist: isize, hcompletionport: super::super::Foundation::HANDLE, ulcompletionkey: usize, lpoverlapped: *const super::super::System::IO::OVERLAPPED, ppeerdiststatus: *mut PEERDIST_STATUS_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn PeerDistServerCancelAsyncOperation(hpeerdist: isize, cbcontentidentifier: u32, pcontentidentifier: *const u8, poverlapped: *const super::super::System::IO::OVERLAPPED) -> u32; - #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerDistServerCloseContentInformation(hpeerdist: isize, hcontentinfo: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerDistServerCloseStreamHandle(hpeerdist: isize, hstream: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerDistServerOpenContentInformation(hpeerdist: isize, cbcontentidentifier: u32, pcontentidentifier: *const u8, ullcontentoffset: u64, cbcontentlength: u64, hcompletionport: super::super::Foundation::HANDLE, ulcompletionkey: usize, phcontentinfo: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerDistServerOpenContentInformationEx(hpeerdist: isize, cbcontentidentifier: u32, pcontentidentifier: *const u8, ullcontentoffset: u64, cbcontentlength: u64, pretrievaloptions: *const PEERDIST_RETRIEVAL_OPTIONS, hcompletionport: super::super::Foundation::HANDLE, ulcompletionkey: usize, phcontentinfo: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn PeerDistServerPublishAddToStream(hpeerdist: isize, hstream: isize, cbnumberofbytes: u32, pbuffer: *const u8, lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn PeerDistServerPublishCompleteStream(hpeerdist: isize, hstream: isize, lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerDistServerPublishStream(hpeerdist: isize, cbcontentidentifier: u32, pcontentidentifier: *const u8, cbcontentlength: u64, ppublishoptions: *const PEERDIST_PUBLICATION_OPTIONS, hcompletionport: super::super::Foundation::HANDLE, ulcompletionkey: usize, phstream: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn PeerDistServerRetrieveContentInformation(hpeerdist: isize, hcontentinfo: isize, cbmaxnumberofbytes: u32, pbuffer: *mut u8, lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerDistServerUnpublish(hpeerdist: isize, cbcontentidentifier: u32, pcontentidentifier: *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerDistShutdown(hpeerdist: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerDistStartup(dwversionrequested: u32, phpeerdist: *mut isize, pdwsupportedversion: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerDistUnregisterForStatusChangeNotification(hpeerdist: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerEndEnumeration(hpeerenum: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerEnumGroups(pwzidentity: ::windows_sys::core::PCWSTR, phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerEnumIdentities(phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerFreeData(pvdata: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGetItemCount(hpeerenum: *const ::core::ffi::c_void, pcount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGetNextItem(hpeerenum: *const ::core::ffi::c_void, pcount: *mut u32, pppvitems: *mut *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerGraphAddRecord(hgraph: *const ::core::ffi::c_void, precord: *const PEER_RECORD, precordid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphClose(hgraph: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphCloseDirectConnection(hgraph: *const ::core::ffi::c_void, ullconnectionid: u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn PeerGraphConnect(hgraph: *const ::core::ffi::c_void, pwzpeerid: ::windows_sys::core::PCWSTR, paddress: *const PEER_ADDRESS, pullconnectionid: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerGraphCreate(pgraphproperties: *const PEER_GRAPH_PROPERTIES, pwzdatabasename: ::windows_sys::core::PCWSTR, psecurityinterface: *const PEER_SECURITY_INTERFACE, phgraph: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphDelete(pwzgraphid: ::windows_sys::core::PCWSTR, pwzpeerid: ::windows_sys::core::PCWSTR, pwzdatabasename: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerGraphDeleteRecord(hgraph: *const ::core::ffi::c_void, precordid: *const ::windows_sys::core::GUID, flocal: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphEndEnumeration(hpeerenum: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphEnumConnections(hgraph: *const ::core::ffi::c_void, dwflags: u32, phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphEnumNodes(hgraph: *const ::core::ffi::c_void, pwzpeerid: ::windows_sys::core::PCWSTR, phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphEnumRecords(hgraph: *const ::core::ffi::c_void, precordtype: *const ::windows_sys::core::GUID, pwzpeerid: ::windows_sys::core::PCWSTR, phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphExportDatabase(hgraph: *const ::core::ffi::c_void, pwzfilepath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphFreeData(pvdata: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphGetEventData(hpeerevent: *const ::core::ffi::c_void, ppeventdata: *mut *mut PEER_GRAPH_EVENT_DATA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphGetItemCount(hpeerenum: *const ::core::ffi::c_void, pcount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphGetNextItem(hpeerenum: *const ::core::ffi::c_void, pcount: *mut u32, pppvitems: *mut *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn PeerGraphGetNodeInfo(hgraph: *const ::core::ffi::c_void, ullnodeid: u64, ppnodeinfo: *mut *mut PEER_NODE_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphGetProperties(hgraph: *const ::core::ffi::c_void, ppgraphproperties: *mut *mut PEER_GRAPH_PROPERTIES) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerGraphGetRecord(hgraph: *const ::core::ffi::c_void, precordid: *const ::windows_sys::core::GUID, pprecord: *mut *mut PEER_RECORD) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphGetStatus(hgraph: *const ::core::ffi::c_void, pdwstatus: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphImportDatabase(hgraph: *const ::core::ffi::c_void, pwzfilepath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphListen(hgraph: *const ::core::ffi::c_void, dwscope: u32, dwscopeid: u32, wport: u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerGraphOpen(pwzgraphid: ::windows_sys::core::PCWSTR, pwzpeerid: ::windows_sys::core::PCWSTR, pwzdatabasename: ::windows_sys::core::PCWSTR, psecurityinterface: *const PEER_SECURITY_INTERFACE, crecordtypesyncprecedence: u32, precordtypesyncprecedence: *const ::windows_sys::core::GUID, phgraph: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn PeerGraphOpenDirectConnection(hgraph: *const ::core::ffi::c_void, pwzpeerid: ::windows_sys::core::PCWSTR, paddress: *const PEER_ADDRESS, pullconnectionid: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerGraphPeerTimeToUniversalTime(hgraph: *const ::core::ffi::c_void, pftpeertime: *const super::super::Foundation::FILETIME, pftuniversaltime: *mut super::super::Foundation::FILETIME) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerGraphRegisterEvent(hgraph: *const ::core::ffi::c_void, hevent: super::super::Foundation::HANDLE, ceventregistrations: u32, peventregistrations: *const PEER_GRAPH_EVENT_REGISTRATION, phpeerevent: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphSearchRecords(hgraph: *const ::core::ffi::c_void, pwzcriteria: ::windows_sys::core::PCWSTR, phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphSendData(hgraph: *const ::core::ffi::c_void, ullconnectionid: u64, ptype: *const ::windows_sys::core::GUID, cbdata: u32, pvdata: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphSetNodeAttributes(hgraph: *const ::core::ffi::c_void, pwzattributes: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerGraphSetPresence(hgraph: *const ::core::ffi::c_void, fpresent: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphSetProperties(hgraph: *const ::core::ffi::c_void, pgraphproperties: *const PEER_GRAPH_PROPERTIES) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphShutdown() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphStartup(wversionrequested: u16, pversiondata: *mut PEER_VERSION_DATA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerGraphUniversalTimeToPeerTime(hgraph: *const ::core::ffi::c_void, pftuniversaltime: *const super::super::Foundation::FILETIME, pftpeertime: *mut super::super::Foundation::FILETIME) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphUnregisterEvent(hpeerevent: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerGraphUpdateRecord(hgraph: *const ::core::ffi::c_void, precord: *const PEER_RECORD) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGraphValidateDeferredRecords(hgraph: *const ::core::ffi::c_void, crecordids: u32, precordids: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerGroupAddRecord(hgroup: *const ::core::ffi::c_void, precord: *const PEER_RECORD, precordid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupClose(hgroup: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupCloseDirectConnection(hgroup: *const ::core::ffi::c_void, ullconnectionid: u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupConnect(hgroup: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn PeerGroupConnectByAddress(hgroup: *const ::core::ffi::c_void, caddresses: u32, paddresses: *const PEER_ADDRESS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupCreate(pproperties: *const PEER_GROUP_PROPERTIES, phgroup: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerGroupCreateInvitation(hgroup: *const ::core::ffi::c_void, pwzidentityinfo: ::windows_sys::core::PCWSTR, pftexpiration: *const super::super::Foundation::FILETIME, croles: u32, proles: *const ::windows_sys::core::GUID, ppwzinvitation: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupCreatePasswordInvitation(hgroup: *const ::core::ffi::c_void, ppwzinvitation: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupDelete(pwzidentity: ::windows_sys::core::PCWSTR, pwzgrouppeername: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupDeleteRecord(hgroup: *const ::core::ffi::c_void, precordid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupEnumConnections(hgroup: *const ::core::ffi::c_void, dwflags: u32, phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupEnumMembers(hgroup: *const ::core::ffi::c_void, dwflags: u32, pwzidentity: ::windows_sys::core::PCWSTR, phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupEnumRecords(hgroup: *const ::core::ffi::c_void, precordtype: *const ::windows_sys::core::GUID, phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupExportConfig(hgroup: *const ::core::ffi::c_void, pwzpassword: ::windows_sys::core::PCWSTR, ppwzxml: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupExportDatabase(hgroup: *const ::core::ffi::c_void, pwzfilepath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupGetEventData(hpeerevent: *const ::core::ffi::c_void, ppeventdata: *mut *mut PEER_GROUP_EVENT_DATA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupGetProperties(hgroup: *const ::core::ffi::c_void, ppproperties: *mut *mut PEER_GROUP_PROPERTIES) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerGroupGetRecord(hgroup: *const ::core::ffi::c_void, precordid: *const ::windows_sys::core::GUID, pprecord: *mut *mut PEER_RECORD) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupGetStatus(hgroup: *const ::core::ffi::c_void, pdwstatus: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerGroupImportConfig(pwzxml: ::windows_sys::core::PCWSTR, pwzpassword: ::windows_sys::core::PCWSTR, foverwrite: super::super::Foundation::BOOL, ppwzidentity: *mut ::windows_sys::core::PWSTR, ppwzgroup: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupImportDatabase(hgroup: *const ::core::ffi::c_void, pwzfilepath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub fn PeerGroupIssueCredentials(hgroup: *const ::core::ffi::c_void, pwzsubjectidentity: ::windows_sys::core::PCWSTR, pcredentialinfo: *const PEER_CREDENTIAL_INFO, dwflags: u32, ppwzinvitation: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupJoin(pwzidentity: ::windows_sys::core::PCWSTR, pwzinvitation: ::windows_sys::core::PCWSTR, pwzcloud: ::windows_sys::core::PCWSTR, phgroup: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupOpen(pwzidentity: ::windows_sys::core::PCWSTR, pwzgrouppeername: ::windows_sys::core::PCWSTR, pwzcloud: ::windows_sys::core::PCWSTR, phgroup: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn PeerGroupOpenDirectConnection(hgroup: *const ::core::ffi::c_void, pwzidentity: ::windows_sys::core::PCWSTR, paddress: *const PEER_ADDRESS, pullconnectionid: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub fn PeerGroupParseInvitation(pwzinvitation: ::windows_sys::core::PCWSTR, ppinvitationinfo: *mut *mut PEER_INVITATION_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupPasswordJoin(pwzidentity: ::windows_sys::core::PCWSTR, pwzinvitation: ::windows_sys::core::PCWSTR, pwzpassword: ::windows_sys::core::PCWSTR, pwzcloud: ::windows_sys::core::PCWSTR, phgroup: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerGroupPeerTimeToUniversalTime(hgroup: *const ::core::ffi::c_void, pftpeertime: *const super::super::Foundation::FILETIME, pftuniversaltime: *mut super::super::Foundation::FILETIME) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerGroupRegisterEvent(hgroup: *const ::core::ffi::c_void, hevent: super::super::Foundation::HANDLE, ceventregistration: u32, peventregistrations: *const PEER_GROUP_EVENT_REGISTRATION, phpeerevent: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupResumePasswordAuthentication(hgroup: *const ::core::ffi::c_void, hpeereventhandle: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupSearchRecords(hgroup: *const ::core::ffi::c_void, pwzcriteria: ::windows_sys::core::PCWSTR, phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupSendData(hgroup: *const ::core::ffi::c_void, ullconnectionid: u64, ptype: *const ::windows_sys::core::GUID, cbdata: u32, pvdata: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupSetProperties(hgroup: *const ::core::ffi::c_void, pproperties: *const PEER_GROUP_PROPERTIES) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupShutdown() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupStartup(wversionrequested: u16, pversiondata: *mut PEER_VERSION_DATA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerGroupUniversalTimeToPeerTime(hgroup: *const ::core::ffi::c_void, pftuniversaltime: *const super::super::Foundation::FILETIME, pftpeertime: *mut super::super::Foundation::FILETIME) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerGroupUnregisterEvent(hpeerevent: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerGroupUpdateRecord(hgroup: *const ::core::ffi::c_void, precord: *const PEER_RECORD) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerHostNameToPeerName(pwzhostname: ::windows_sys::core::PCWSTR, ppwzpeername: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerIdentityCreate(pwzclassifier: ::windows_sys::core::PCWSTR, pwzfriendlyname: ::windows_sys::core::PCWSTR, hcryptprov: usize, ppwzidentity: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerIdentityDelete(pwzidentity: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerIdentityExport(pwzidentity: ::windows_sys::core::PCWSTR, pwzpassword: ::windows_sys::core::PCWSTR, ppwzexportxml: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerIdentityGetCryptKey(pwzidentity: ::windows_sys::core::PCWSTR, phcryptprov: *mut usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerIdentityGetDefault(ppwzpeername: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerIdentityGetFriendlyName(pwzidentity: ::windows_sys::core::PCWSTR, ppwzfriendlyname: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerIdentityGetXML(pwzidentity: ::windows_sys::core::PCWSTR, ppwzidentityxml: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerIdentityImport(pwzimportxml: ::windows_sys::core::PCWSTR, pwzpassword: ::windows_sys::core::PCWSTR, ppwzidentity: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerIdentitySetFriendlyName(pwzidentity: ::windows_sys::core::PCWSTR, pwzfriendlyname: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerNameToPeerHostName(pwzpeername: ::windows_sys::core::PCWSTR, ppwzhostname: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerPnrpEndResolve(hresolve: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerPnrpGetCloudInfo(pcnumclouds: *mut u32, ppcloudinfo: *mut *mut PEER_PNRP_CLOUD_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn PeerPnrpGetEndpoint(hresolve: *const ::core::ffi::c_void, ppendpoint: *mut *mut PEER_PNRP_ENDPOINT_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn PeerPnrpRegister(pcwzpeername: ::windows_sys::core::PCWSTR, pregistrationinfo: *const PEER_PNRP_REGISTRATION_INFO, phregistration: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn PeerPnrpResolve(pcwzpeername: ::windows_sys::core::PCWSTR, pcwzcloudname: ::windows_sys::core::PCWSTR, pcendpoints: *mut u32, ppendpoints: *mut *mut PEER_PNRP_ENDPOINT_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerPnrpShutdown() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeerPnrpStartResolve(pcwzpeername: ::windows_sys::core::PCWSTR, pcwzcloudname: ::windows_sys::core::PCWSTR, cmaxendpoints: u32, hevent: super::super::Foundation::HANDLE, phresolve: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerPnrpStartup(wversionrequested: u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] pub fn PeerPnrpUnregister(hregistration: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn PeerPnrpUpdateRegistration(hregistration: *const ::core::ffi::c_void, pregistrationinfo: *const PEER_PNRP_REGISTRATION_INFO) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/QoS/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/QoS/mod.rs index 69ca8bc551..577379f9f9 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/QoS/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/QoS/mod.rs @@ -3,89 +3,179 @@ extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn QOSAddSocketToFlow(qoshandle: super::super::Foundation::HANDLE, socket: super::super::Networking::WinSock::SOCKET, destaddr: *const super::super::Networking::WinSock::SOCKADDR, traffictype: QOS_TRAFFIC_TYPE, flags: u32, flowid: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn QOSCancel(qoshandle: super::super::Foundation::HANDLE, overlapped: *const super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QOSCloseHandle(qoshandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QOSCreateHandle(version: *const QOS_VERSION, qoshandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QOSEnumerateFlows(qoshandle: super::super::Foundation::HANDLE, size: *mut u32, buffer: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn QOSNotifyFlow(qoshandle: super::super::Foundation::HANDLE, flowid: u32, operation: QOS_NOTIFY_FLOW, size: *mut u32, buffer: *mut ::core::ffi::c_void, flags: u32, overlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn QOSQueryFlow(qoshandle: super::super::Foundation::HANDLE, flowid: u32, operation: QOS_QUERY_FLOW, size: *mut u32, buffer: *mut ::core::ffi::c_void, flags: u32, overlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn QOSRemoveSocketFromFlow(qoshandle: super::super::Foundation::HANDLE, socket: super::super::Networking::WinSock::SOCKET, flowid: u32, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn QOSSetFlow(qoshandle: super::super::Foundation::HANDLE, flowid: u32, operation: QOS_SET_FLOW, size: u32, buffer: *const ::core::ffi::c_void, flags: u32, overlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn QOSStartTrackingClient(qoshandle: super::super::Foundation::HANDLE, destaddr: *const super::super::Networking::WinSock::SOCKADDR, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn QOSStopTrackingClient(qoshandle: super::super::Foundation::HANDLE, destaddr: *const super::super::Networking::WinSock::SOCKADDR, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TcAddFilter(flowhandle: super::super::Foundation::HANDLE, pgenericfilter: *const TC_GEN_FILTER, pfilterhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn TcAddFlow(ifchandle: super::super::Foundation::HANDLE, clflowctx: super::super::Foundation::HANDLE, flags: u32, pgenericflow: *const TC_GEN_FLOW, pflowhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TcCloseInterface(ifchandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TcDeleteFilter(filterhandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TcDeleteFlow(flowhandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TcDeregisterClient(clienthandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn TcEnumerateFlows(ifchandle: super::super::Foundation::HANDLE, penumhandle: *mut super::super::Foundation::HANDLE, pflowcount: *mut u32, pbufsize: *mut u32, buffer: *mut ENUMERATION_BUFFER) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] pub fn TcEnumerateInterfaces(clienthandle: super::super::Foundation::HANDLE, pbuffersize: *mut u32, interfacebuffer: *mut TC_IFC_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TcGetFlowNameA(flowhandle: super::super::Foundation::HANDLE, strsize: u32, pflowname: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TcGetFlowNameW(flowhandle: super::super::Foundation::HANDLE, strsize: u32, pflowname: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn TcModifyFlow(flowhandle: super::super::Foundation::HANDLE, pgenericflow: *const TC_GEN_FLOW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TcOpenInterfaceA(pinterfacename: ::windows_sys::core::PCSTR, clienthandle: super::super::Foundation::HANDLE, clifcctx: super::super::Foundation::HANDLE, pifchandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TcOpenInterfaceW(pinterfacename: ::windows_sys::core::PCWSTR, clienthandle: super::super::Foundation::HANDLE, clifcctx: super::super::Foundation::HANDLE, pifchandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`*"] pub fn TcQueryFlowA(pflowname: ::windows_sys::core::PCSTR, pguidparam: *const ::windows_sys::core::GUID, pbuffersize: *mut u32, buffer: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`*"] pub fn TcQueryFlowW(pflowname: ::windows_sys::core::PCWSTR, pguidparam: *const ::windows_sys::core::GUID, pbuffersize: *mut u32, buffer: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TcQueryInterface(ifchandle: super::super::Foundation::HANDLE, pguidparam: *const ::windows_sys::core::GUID, notifychange: super::super::Foundation::BOOLEAN, pbuffersize: *mut u32, buffer: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TcRegisterClient(tciversion: u32, clregctx: super::super::Foundation::HANDLE, clienthandlerlist: *const TCI_CLIENT_FUNC_LIST, pclienthandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`*"] pub fn TcSetFlowA(pflowname: ::windows_sys::core::PCSTR, pguidparam: *const ::windows_sys::core::GUID, buffersize: u32, buffer: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`*"] pub fn TcSetFlowW(pflowname: ::windows_sys::core::PCWSTR, pguidparam: *const ::windows_sys::core::GUID, buffersize: u32, buffer: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TcSetInterface(ifchandle: super::super::Foundation::HANDLE, pguidparam: *const ::windows_sys::core::GUID, buffersize: u32, buffer: *const ::core::ffi::c_void) -> u32; diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/Rras/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/Rras/mod.rs index 9e77bab15f..6313ae5e56 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/Rras/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/Rras/mod.rs @@ -1,708 +1,1536 @@ #[cfg_attr(windows, link(name = "windows"))] -extern "system" { +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MgmAddGroupMembershipEntry(hprotocol: super::super::Foundation::HANDLE, dwsourceaddr: u32, dwsourcemask: u32, dwgroupaddr: u32, dwgroupmask: u32, dwifindex: u32, dwifnexthopipaddr: u32, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MgmDeRegisterMProtocol(hprotocol: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MgmDeleteGroupMembershipEntry(hprotocol: super::super::Foundation::HANDLE, dwsourceaddr: u32, dwsourcemask: u32, dwgroupaddr: u32, dwgroupmask: u32, dwifindex: u32, dwifnexthopipaddr: u32, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MgmGetFirstMfe(pdwbuffersize: *mut u32, pbbuffer: *mut u8, pdwnumentries: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MgmGetFirstMfeStats(pdwbuffersize: *mut u32, pbbuffer: *mut u8, pdwnumentries: *mut u32, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_NetworkManagement_IpHelper\"`*"] #[cfg(feature = "Win32_NetworkManagement_IpHelper")] pub fn MgmGetMfe(pimm: *mut super::IpHelper::MIB_IPMCAST_MFE, pdwbuffersize: *mut u32, pbbuffer: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_NetworkManagement_IpHelper\"`*"] #[cfg(feature = "Win32_NetworkManagement_IpHelper")] pub fn MgmGetMfeStats(pimm: *mut super::IpHelper::MIB_IPMCAST_MFE, pdwbuffersize: *mut u32, pbbuffer: *mut u8, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_NetworkManagement_IpHelper\"`*"] #[cfg(feature = "Win32_NetworkManagement_IpHelper")] pub fn MgmGetNextMfe(pimmstart: *mut super::IpHelper::MIB_IPMCAST_MFE, pdwbuffersize: *mut u32, pbbuffer: *mut u8, pdwnumentries: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_NetworkManagement_IpHelper\"`*"] #[cfg(feature = "Win32_NetworkManagement_IpHelper")] pub fn MgmGetNextMfeStats(pimmstart: *mut super::IpHelper::MIB_IPMCAST_MFE, pdwbuffersize: *mut u32, pbbuffer: *mut u8, pdwnumentries: *mut u32, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MgmGetProtocolOnInterface(dwifindex: u32, dwifnexthopaddr: u32, pdwifprotocolid: *mut u32, pdwifcomponentid: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MgmGroupEnumerationEnd(henum: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MgmGroupEnumerationGetNext(henum: super::super::Foundation::HANDLE, pdwbuffersize: *mut u32, pbbuffer: *mut u8, pdwnumentries: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MgmGroupEnumerationStart(hprotocol: super::super::Foundation::HANDLE, metenumtype: MGM_ENUM_TYPES, phenumhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MgmRegisterMProtocol(prpiinfo: *mut ROUTING_PROTOCOL_CONFIG, dwprotocolid: u32, dwcomponentid: u32, phprotocol: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MgmReleaseInterfaceOwnership(hprotocol: super::super::Foundation::HANDLE, dwifindex: u32, dwifnexthopaddr: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MgmTakeInterfaceOwnership(hprotocol: super::super::Foundation::HANDLE, dwifindex: u32, dwifnexthopaddr: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminBufferFree(pbuffer: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminConnectionClearStats(hrasserver: isize, hrasconnection: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminConnectionEnum(hrasserver: isize, dwlevel: u32, lplpbbuffer: *mut *mut u8, dwprefmaxlen: u32, lpdwentriesread: *mut u32, lpdwtotalentries: *mut u32, lpdwresumehandle: *const u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminConnectionEnumEx(hrasserver: isize, pobjectheader: *const MPRAPI_OBJECT_HEADER, dwpreferedmaxlen: u32, lpdwentriesread: *mut u32, lpdwtotalentries: *mut u32, pprasconn: *mut *mut RAS_CONNECTION_EX, lpdwresumehandle: *const u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminConnectionGetInfo(hrasserver: isize, dwlevel: u32, hrasconnection: super::super::Foundation::HANDLE, lplpbbuffer: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminConnectionGetInfoEx(hrasserver: isize, hrasconnection: super::super::Foundation::HANDLE, prasconnection: *mut RAS_CONNECTION_EX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminConnectionRemoveQuarantine(hrasserver: super::super::Foundation::HANDLE, hrasconnection: super::super::Foundation::HANDLE, fisipaddress: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminDeregisterConnectionNotification(hmprserver: isize, heventnotification: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminDeviceEnum(hmprserver: isize, dwlevel: u32, lplpbbuffer: *mut *mut u8, lpdwtotalentries: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminEstablishDomainRasServer(pszdomain: ::windows_sys::core::PCWSTR, pszmachine: ::windows_sys::core::PCWSTR, benable: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminGetErrorString(dwerror: u32, lplpwserrorstring: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminGetPDCServer(lpszdomain: ::windows_sys::core::PCWSTR, lpszserver: ::windows_sys::core::PCWSTR, lpszpdcserver: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminInterfaceConnect(hmprserver: isize, hinterface: super::super::Foundation::HANDLE, hevent: super::super::Foundation::HANDLE, fsynchronous: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminInterfaceCreate(hmprserver: isize, dwlevel: u32, lpbbuffer: *const u8, phinterface: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminInterfaceDelete(hmprserver: isize, hinterface: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminInterfaceDeviceGetInfo(hmprserver: isize, hinterface: super::super::Foundation::HANDLE, dwindex: u32, dwlevel: u32, lplpbuffer: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminInterfaceDeviceSetInfo(hmprserver: isize, hinterface: super::super::Foundation::HANDLE, dwindex: u32, dwlevel: u32, lpbbuffer: *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminInterfaceDisconnect(hmprserver: isize, hinterface: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminInterfaceEnum(hmprserver: isize, dwlevel: u32, lplpbbuffer: *mut *mut u8, dwprefmaxlen: u32, lpdwentriesread: *mut u32, lpdwtotalentries: *mut u32, lpdwresumehandle: *const u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminInterfaceGetCredentials(lpwsserver: ::windows_sys::core::PCWSTR, lpwsinterfacename: ::windows_sys::core::PCWSTR, lpwsusername: ::windows_sys::core::PWSTR, lpwspassword: ::windows_sys::core::PWSTR, lpwsdomainname: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminInterfaceGetCredentialsEx(hmprserver: isize, hinterface: super::super::Foundation::HANDLE, dwlevel: u32, lplpbbuffer: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))] pub fn MprAdminInterfaceGetCustomInfoEx(hmprserver: isize, hinterface: super::super::Foundation::HANDLE, pcustominfo: *mut MPR_IF_CUSTOMINFOEX2) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminInterfaceGetHandle(hmprserver: isize, lpwsinterfacename: ::windows_sys::core::PCWSTR, phinterface: *mut super::super::Foundation::HANDLE, fincludeclientinterfaces: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminInterfaceGetInfo(hmprserver: isize, hinterface: super::super::Foundation::HANDLE, dwlevel: u32, lplpbbuffer: *const *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminInterfaceQueryUpdateResult(hmprserver: isize, hinterface: super::super::Foundation::HANDLE, dwprotocolid: u32, lpdwupdateresult: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminInterfaceSetCredentials(lpwsserver: ::windows_sys::core::PCWSTR, lpwsinterfacename: ::windows_sys::core::PCWSTR, lpwsusername: ::windows_sys::core::PCWSTR, lpwsdomainname: ::windows_sys::core::PCWSTR, lpwspassword: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminInterfaceSetCredentialsEx(hmprserver: isize, hinterface: super::super::Foundation::HANDLE, dwlevel: u32, lpbbuffer: *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))] pub fn MprAdminInterfaceSetCustomInfoEx(hmprserver: isize, hinterface: super::super::Foundation::HANDLE, pcustominfo: *const MPR_IF_CUSTOMINFOEX2) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminInterfaceSetInfo(hmprserver: isize, hinterface: super::super::Foundation::HANDLE, dwlevel: u32, lpbbuffer: *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminInterfaceTransportAdd(hmprserver: isize, hinterface: super::super::Foundation::HANDLE, dwtransportid: u32, pinterfaceinfo: *const u8, dwinterfaceinfosize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminInterfaceTransportGetInfo(hmprserver: isize, hinterface: super::super::Foundation::HANDLE, dwtransportid: u32, ppinterfaceinfo: *mut *mut u8, lpdwinterfaceinfosize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminInterfaceTransportRemove(hmprserver: isize, hinterface: super::super::Foundation::HANDLE, dwtransportid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminInterfaceTransportSetInfo(hmprserver: isize, hinterface: super::super::Foundation::HANDLE, dwtransportid: u32, pinterfaceinfo: *const u8, dwinterfaceinfosize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminInterfaceUpdatePhonebookInfo(hmprserver: isize, hinterface: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminInterfaceUpdateRoutes(hmprserver: isize, hinterface: super::super::Foundation::HANDLE, dwprotocolid: u32, hevent: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminIsDomainRasServer(pszdomain: ::windows_sys::core::PCWSTR, pszmachine: ::windows_sys::core::PCWSTR, pbisrasserver: *mut super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminIsServiceInitialized(lpwsservername: ::windows_sys::core::PCWSTR, fisserviceinitialized: *const super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminIsServiceRunning(lpwsservername: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminMIBBufferFree(pbuffer: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminMIBEntryCreate(hmibserver: isize, dwpid: u32, dwroutingpid: u32, lpentry: *const ::core::ffi::c_void, dwentrysize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminMIBEntryDelete(hmibserver: isize, dwprotocolid: u32, dwroutingpid: u32, lpentry: *const ::core::ffi::c_void, dwentrysize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminMIBEntryGet(hmibserver: isize, dwprotocolid: u32, dwroutingpid: u32, lpinentry: *const ::core::ffi::c_void, dwinentrysize: u32, lplpoutentry: *mut *mut ::core::ffi::c_void, lpoutentrysize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminMIBEntryGetFirst(hmibserver: isize, dwprotocolid: u32, dwroutingpid: u32, lpinentry: *const ::core::ffi::c_void, dwinentrysize: u32, lplpoutentry: *mut *mut ::core::ffi::c_void, lpoutentrysize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminMIBEntryGetNext(hmibserver: isize, dwprotocolid: u32, dwroutingpid: u32, lpinentry: *const ::core::ffi::c_void, dwinentrysize: u32, lplpoutentry: *mut *mut ::core::ffi::c_void, lpoutentrysize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminMIBEntrySet(hmibserver: isize, dwprotocolid: u32, dwroutingpid: u32, lpentry: *const ::core::ffi::c_void, dwentrysize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminMIBServerConnect(lpwsservername: ::windows_sys::core::PCWSTR, phmibserver: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminMIBServerDisconnect(hmibserver: isize); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminPortClearStats(hrasserver: isize, hport: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminPortDisconnect(hrasserver: isize, hport: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminPortEnum(hrasserver: isize, dwlevel: u32, hrasconnection: super::super::Foundation::HANDLE, lplpbbuffer: *mut *mut u8, dwprefmaxlen: u32, lpdwentriesread: *mut u32, lpdwtotalentries: *mut u32, lpdwresumehandle: *const u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminPortGetInfo(hrasserver: isize, dwlevel: u32, hport: super::super::Foundation::HANDLE, lplpbbuffer: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminPortReset(hrasserver: isize, hport: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminRegisterConnectionNotification(hmprserver: isize, heventnotification: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminSendUserMessage(hmprserver: isize, hconnection: super::super::Foundation::HANDLE, lpwszmessage: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminServerConnect(lpwsservername: ::windows_sys::core::PCWSTR, phmprserver: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminServerDisconnect(hmprserver: isize); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminServerGetCredentials(hmprserver: isize, dwlevel: u32, lplpbbuffer: *const *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminServerGetInfo(hmprserver: isize, dwlevel: u32, lplpbbuffer: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub fn MprAdminServerGetInfoEx(hmprserver: isize, pserverinfo: *mut MPR_SERVER_EX1) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminServerSetCredentials(hmprserver: isize, dwlevel: u32, lpbbuffer: *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminServerSetInfo(hmprserver: isize, dwlevel: u32, lpbbuffer: *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub fn MprAdminServerSetInfoEx(hmprserver: isize, pserverinfo: *const MPR_SERVER_SET_CONFIG_EX1) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminTransportCreate(hmprserver: isize, dwtransportid: u32, lpwstransportname: ::windows_sys::core::PCWSTR, pglobalinfo: *const u8, dwglobalinfosize: u32, pclientinterfaceinfo: *const u8, dwclientinterfaceinfosize: u32, lpwsdllpath: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminTransportGetInfo(hmprserver: isize, dwtransportid: u32, ppglobalinfo: *mut *mut u8, lpdwglobalinfosize: *mut u32, ppclientinterfaceinfo: *mut *mut u8, lpdwclientinterfaceinfosize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminTransportSetInfo(hmprserver: isize, dwtransportid: u32, pglobalinfo: *const u8, dwglobalinfosize: u32, pclientinterfaceinfo: *const u8, dwclientinterfaceinfosize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprAdminUpdateConnection(hrasserver: isize, hrasconnection: super::super::Foundation::HANDLE, prasupdateconnection: *const RAS_UPDATE_CONNECTION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminUserGetInfo(lpszserver: ::windows_sys::core::PCWSTR, lpszuser: ::windows_sys::core::PCWSTR, dwlevel: u32, lpbbuffer: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprAdminUserSetInfo(lpszserver: ::windows_sys::core::PCWSTR, lpszuser: ::windows_sys::core::PCWSTR, dwlevel: u32, lpbbuffer: *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprConfigBufferFree(pbuffer: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigFilterGetInfo(hmprconfig: super::super::Foundation::HANDLE, dwlevel: u32, dwtransportid: u32, lpbuffer: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigFilterSetInfo(hmprconfig: super::super::Foundation::HANDLE, dwlevel: u32, dwtransportid: u32, lpbuffer: *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigGetFriendlyName(hmprconfig: super::super::Foundation::HANDLE, pszguidname: ::windows_sys::core::PCWSTR, pszbuffer: ::windows_sys::core::PWSTR, dwbuffersize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigGetGuidName(hmprconfig: super::super::Foundation::HANDLE, pszfriendlyname: ::windows_sys::core::PCWSTR, pszbuffer: ::windows_sys::core::PWSTR, dwbuffersize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigInterfaceCreate(hmprconfig: super::super::Foundation::HANDLE, dwlevel: u32, lpbbuffer: *const u8, phrouterinterface: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigInterfaceDelete(hmprconfig: super::super::Foundation::HANDLE, hrouterinterface: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigInterfaceEnum(hmprconfig: super::super::Foundation::HANDLE, dwlevel: u32, lplpbuffer: *mut *mut u8, dwprefmaxlen: u32, lpdwentriesread: *mut u32, lpdwtotalentries: *mut u32, lpdwresumehandle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))] pub fn MprConfigInterfaceGetCustomInfoEx(hmprconfig: super::super::Foundation::HANDLE, hrouterinterface: super::super::Foundation::HANDLE, pcustominfo: *mut MPR_IF_CUSTOMINFOEX2) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigInterfaceGetHandle(hmprconfig: super::super::Foundation::HANDLE, lpwsinterfacename: ::windows_sys::core::PCWSTR, phrouterinterface: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigInterfaceGetInfo(hmprconfig: super::super::Foundation::HANDLE, hrouterinterface: super::super::Foundation::HANDLE, dwlevel: u32, lplpbuffer: *mut *mut u8, lpdwbuffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))] pub fn MprConfigInterfaceSetCustomInfoEx(hmprconfig: super::super::Foundation::HANDLE, hrouterinterface: super::super::Foundation::HANDLE, pcustominfo: *const MPR_IF_CUSTOMINFOEX2) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigInterfaceSetInfo(hmprconfig: super::super::Foundation::HANDLE, hrouterinterface: super::super::Foundation::HANDLE, dwlevel: u32, lpbbuffer: *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigInterfaceTransportAdd(hmprconfig: super::super::Foundation::HANDLE, hrouterinterface: super::super::Foundation::HANDLE, dwtransportid: u32, lpwstransportname: ::windows_sys::core::PCWSTR, pinterfaceinfo: *const u8, dwinterfaceinfosize: u32, phrouteriftransport: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigInterfaceTransportEnum(hmprconfig: super::super::Foundation::HANDLE, hrouterinterface: super::super::Foundation::HANDLE, dwlevel: u32, lplpbuffer: *mut *mut u8, dwprefmaxlen: u32, lpdwentriesread: *mut u32, lpdwtotalentries: *mut u32, lpdwresumehandle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigInterfaceTransportGetHandle(hmprconfig: super::super::Foundation::HANDLE, hrouterinterface: super::super::Foundation::HANDLE, dwtransportid: u32, phrouteriftransport: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigInterfaceTransportGetInfo(hmprconfig: super::super::Foundation::HANDLE, hrouterinterface: super::super::Foundation::HANDLE, hrouteriftransport: super::super::Foundation::HANDLE, ppinterfaceinfo: *mut *mut u8, lpdwinterfaceinfosize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigInterfaceTransportRemove(hmprconfig: super::super::Foundation::HANDLE, hrouterinterface: super::super::Foundation::HANDLE, hrouteriftransport: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigInterfaceTransportSetInfo(hmprconfig: super::super::Foundation::HANDLE, hrouterinterface: super::super::Foundation::HANDLE, hrouteriftransport: super::super::Foundation::HANDLE, pinterfaceinfo: *const u8, dwinterfaceinfosize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigServerBackup(hmprconfig: super::super::Foundation::HANDLE, lpwspath: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigServerConnect(lpwsservername: ::windows_sys::core::PCWSTR, phmprconfig: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigServerDisconnect(hmprconfig: super::super::Foundation::HANDLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigServerGetInfo(hmprconfig: super::super::Foundation::HANDLE, dwlevel: u32, lplpbbuffer: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub fn MprConfigServerGetInfoEx(hmprconfig: super::super::Foundation::HANDLE, pserverinfo: *mut MPR_SERVER_EX1) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprConfigServerInstall(dwlevel: u32, pbuffer: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigServerRefresh(hmprconfig: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigServerRestore(hmprconfig: super::super::Foundation::HANDLE, lpwspath: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprConfigServerSetInfo(hmprserver: isize, dwlevel: u32, lpbbuffer: *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub fn MprConfigServerSetInfoEx(hmprconfig: super::super::Foundation::HANDLE, psetserverconfig: *const MPR_SERVER_SET_CONFIG_EX1) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigTransportCreate(hmprconfig: super::super::Foundation::HANDLE, dwtransportid: u32, lpwstransportname: ::windows_sys::core::PCWSTR, pglobalinfo: *const u8, dwglobalinfosize: u32, pclientinterfaceinfo: *const u8, dwclientinterfaceinfosize: u32, lpwsdllpath: ::windows_sys::core::PCWSTR, phroutertransport: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigTransportDelete(hmprconfig: super::super::Foundation::HANDLE, hroutertransport: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigTransportEnum(hmprconfig: super::super::Foundation::HANDLE, dwlevel: u32, lplpbuffer: *mut *mut u8, dwprefmaxlen: u32, lpdwentriesread: *mut u32, lpdwtotalentries: *mut u32, lpdwresumehandle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigTransportGetHandle(hmprconfig: super::super::Foundation::HANDLE, dwtransportid: u32, phroutertransport: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigTransportGetInfo(hmprconfig: super::super::Foundation::HANDLE, hroutertransport: super::super::Foundation::HANDLE, ppglobalinfo: *mut *mut u8, lpdwglobalinfosize: *mut u32, ppclientinterfaceinfo: *mut *mut u8, lpdwclientinterfaceinfosize: *mut u32, lplpwsdllpath: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MprConfigTransportSetInfo(hmprconfig: super::super::Foundation::HANDLE, hroutertransport: super::super::Foundation::HANDLE, pglobalinfo: *const u8, dwglobalinfosize: u32, pclientinterfaceinfo: *const u8, dwclientinterfaceinfosize: u32, lpwsdllpath: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprInfoBlockAdd(lpheader: *const ::core::ffi::c_void, dwinfotype: u32, dwitemsize: u32, dwitemcount: u32, lpitemdata: *const u8, lplpnewheader: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprInfoBlockFind(lpheader: *const ::core::ffi::c_void, dwinfotype: u32, lpdwitemsize: *mut u32, lpdwitemcount: *mut u32, lplpitemdata: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprInfoBlockQuerySize(lpheader: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprInfoBlockRemove(lpheader: *const ::core::ffi::c_void, dwinfotype: u32, lplpnewheader: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprInfoBlockSet(lpheader: *const ::core::ffi::c_void, dwinfotype: u32, dwitemsize: u32, dwitemcount: u32, lpitemdata: *const u8, lplpnewheader: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprInfoCreate(dwversion: u32, lplpnewheader: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprInfoDelete(lpheader: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprInfoDuplicate(lpheader: *const ::core::ffi::c_void, lplpnewheader: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn MprInfoRemoveAll(lpheader: *const ::core::ffi::c_void, lplpnewheader: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasClearConnectionStatistics(hrasconn: HRASCONN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasClearLinkStatistics(hrasconn: HRASCONN, dwsubentry: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasConnectionNotificationA(param0: HRASCONN, param1: super::super::Foundation::HANDLE, param2: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasConnectionNotificationW(param0: HRASCONN, param1: super::super::Foundation::HANDLE, param2: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasCreatePhonebookEntryA(param0: super::super::Foundation::HWND, param1: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasCreatePhonebookEntryW(param0: super::super::Foundation::HWND, param1: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasDeleteEntryA(param0: ::windows_sys::core::PCSTR, param1: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasDeleteEntryW(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasDeleteSubEntryA(pszphonebook: ::windows_sys::core::PCSTR, pszentry: ::windows_sys::core::PCSTR, dwsubentryid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasDeleteSubEntryW(pszphonebook: ::windows_sys::core::PCWSTR, pszentry: ::windows_sys::core::PCWSTR, dwsubentryid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasDialA(param0: *const RASDIALEXTENSIONS, param1: ::windows_sys::core::PCSTR, param2: *const RASDIALPARAMSA, param3: u32, param4: *const ::core::ffi::c_void, param5: *mut HRASCONN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasDialDlgA(lpszphonebook: ::windows_sys::core::PCSTR, lpszentry: ::windows_sys::core::PCSTR, lpszphonenumber: ::windows_sys::core::PCSTR, lpinfo: *mut RASDIALDLG) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasDialDlgW(lpszphonebook: ::windows_sys::core::PCWSTR, lpszentry: ::windows_sys::core::PCWSTR, lpszphonenumber: ::windows_sys::core::PCWSTR, lpinfo: *mut RASDIALDLG) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasDialW(param0: *const RASDIALEXTENSIONS, param1: ::windows_sys::core::PCWSTR, param2: *const RASDIALPARAMSW, param3: u32, param4: *const ::core::ffi::c_void, param5: *mut HRASCONN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasEditPhonebookEntryA(param0: super::super::Foundation::HWND, param1: ::windows_sys::core::PCSTR, param2: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasEditPhonebookEntryW(param0: super::super::Foundation::HWND, param1: ::windows_sys::core::PCWSTR, param2: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasEntryDlgA(lpszphonebook: ::windows_sys::core::PCSTR, lpszentry: ::windows_sys::core::PCSTR, lpinfo: *mut RASENTRYDLGA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasEntryDlgW(lpszphonebook: ::windows_sys::core::PCWSTR, lpszentry: ::windows_sys::core::PCWSTR, lpinfo: *mut RASENTRYDLGW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasEnumAutodialAddressesA(lpprasautodialaddresses: *mut ::windows_sys::core::PSTR, lpdwcbrasautodialaddresses: *mut u32, lpdwcrasautodialaddresses: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasEnumAutodialAddressesW(lpprasautodialaddresses: *mut ::windows_sys::core::PWSTR, lpdwcbrasautodialaddresses: *mut u32, lpdwcrasautodialaddresses: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasEnumConnectionsA(param0: *mut RASCONNA, param1: *mut u32, param2: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasEnumConnectionsW(param0: *mut RASCONNW, param1: *mut u32, param2: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasEnumDevicesA(param0: *mut RASDEVINFOA, param1: *mut u32, param2: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasEnumDevicesW(param0: *mut RASDEVINFOW, param1: *mut u32, param2: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasEnumEntriesA(param0: ::windows_sys::core::PCSTR, param1: ::windows_sys::core::PCSTR, param2: *mut RASENTRYNAMEA, param3: *mut u32, param4: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasEnumEntriesW(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR, param2: *mut RASENTRYNAMEW, param3: *mut u32, param4: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasFreeEapUserIdentityA(praseapuseridentity: *const RASEAPUSERIDENTITYA); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasFreeEapUserIdentityW(praseapuseridentity: *const RASEAPUSERIDENTITYW); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasGetAutodialAddressA(param0: ::windows_sys::core::PCSTR, param1: *const u32, param2: *mut RASAUTODIALENTRYA, param3: *mut u32, param4: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasGetAutodialAddressW(param0: ::windows_sys::core::PCWSTR, param1: *const u32, param2: *mut RASAUTODIALENTRYW, param3: *mut u32, param4: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasGetAutodialEnableA(param0: u32, param1: *mut i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasGetAutodialEnableW(param0: u32, param1: *mut i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasGetAutodialParamA(param0: u32, param1: *mut ::core::ffi::c_void, param2: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasGetAutodialParamW(param0: u32, param1: *mut ::core::ffi::c_void, param2: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn RasGetConnectStatusA(param0: HRASCONN, param1: *mut RASCONNSTATUSA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn RasGetConnectStatusW(param0: HRASCONN, param1: *mut RASCONNSTATUSW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasGetConnectionStatistics(hrasconn: HRASCONN, lpstatistics: *mut RAS_STATS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasGetCountryInfoA(param0: *mut RASCTRYINFO, param1: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasGetCountryInfoW(param0: *mut RASCTRYINFO, param1: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasGetCredentialsA(param0: ::windows_sys::core::PCSTR, param1: ::windows_sys::core::PCSTR, param2: *mut RASCREDENTIALSA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasGetCredentialsW(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR, param2: *mut RASCREDENTIALSW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasGetCustomAuthDataA(pszphonebook: ::windows_sys::core::PCSTR, pszentry: ::windows_sys::core::PCSTR, pbcustomauthdata: *mut u8, pdwsizeofcustomauthdata: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasGetCustomAuthDataW(pszphonebook: ::windows_sys::core::PCWSTR, pszentry: ::windows_sys::core::PCWSTR, pbcustomauthdata: *mut u8, pdwsizeofcustomauthdata: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasGetEapUserDataA(htoken: super::super::Foundation::HANDLE, pszphonebook: ::windows_sys::core::PCSTR, pszentry: ::windows_sys::core::PCSTR, pbeapdata: *mut u8, pdwsizeofeapdata: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasGetEapUserDataW(htoken: super::super::Foundation::HANDLE, pszphonebook: ::windows_sys::core::PCWSTR, pszentry: ::windows_sys::core::PCWSTR, pbeapdata: *mut u8, pdwsizeofeapdata: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasGetEapUserIdentityA(pszphonebook: ::windows_sys::core::PCSTR, pszentry: ::windows_sys::core::PCSTR, dwflags: u32, hwnd: super::super::Foundation::HWND, ppraseapuseridentity: *mut *mut RASEAPUSERIDENTITYA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasGetEapUserIdentityW(pszphonebook: ::windows_sys::core::PCWSTR, pszentry: ::windows_sys::core::PCWSTR, dwflags: u32, hwnd: super::super::Foundation::HWND, ppraseapuseridentity: *mut *mut RASEAPUSERIDENTITYW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasGetEntryDialParamsA(param0: ::windows_sys::core::PCSTR, param1: *mut RASDIALPARAMSA, param2: *mut i32) -> u32; - #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasGetEntryDialParamsW(param0: ::windows_sys::core::PCWSTR, param1: *mut RASDIALPARAMSW, param2: *mut i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn RasGetEntryPropertiesA(param0: ::windows_sys::core::PCSTR, param1: ::windows_sys::core::PCSTR, param2: *mut RASENTRYA, param3: *mut u32, param4: *mut u8, param5: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn RasGetEntryPropertiesW(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR, param2: *mut RASENTRYW, param3: *mut u32, param4: *mut u8, param5: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasGetErrorStringA(resourceid: u32, lpszstring: ::windows_sys::core::PSTR, inbufsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasGetErrorStringW(resourceid: u32, lpszstring: ::windows_sys::core::PWSTR, inbufsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasGetLinkStatistics(hrasconn: HRASCONN, dwsubentry: u32, lpstatistics: *mut RAS_STATS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasGetPCscf(lpszpcscf: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasGetProjectionInfoA(param0: HRASCONN, param1: RASPROJECTION, param2: *mut ::core::ffi::c_void, param3: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn RasGetProjectionInfoEx(hrasconn: HRASCONN, prasprojection: *mut RAS_PROJECTION_INFO, lpdwsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasGetProjectionInfoW(param0: HRASCONN, param1: RASPROJECTION, param2: *mut ::core::ffi::c_void, param3: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasGetSubEntryHandleA(param0: HRASCONN, param1: u32, param2: *mut HRASCONN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasGetSubEntryHandleW(param0: HRASCONN, param1: u32, param2: *mut HRASCONN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasGetSubEntryPropertiesA(param0: ::windows_sys::core::PCSTR, param1: ::windows_sys::core::PCSTR, param2: u32, param3: *mut RASSUBENTRYA, param4: *mut u32, param5: *mut u8, param6: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasGetSubEntryPropertiesW(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR, param2: u32, param3: *mut RASSUBENTRYW, param4: *mut u32, param5: *mut u8, param6: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasHangUpA(param0: HRASCONN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasHangUpW(param0: HRASCONN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasInvokeEapUI(param0: HRASCONN, param1: u32, param2: *const RASDIALEXTENSIONS, param3: super::super::Foundation::HWND) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasPhonebookDlgA(lpszphonebook: ::windows_sys::core::PCSTR, lpszentry: ::windows_sys::core::PCSTR, lpinfo: *mut RASPBDLGA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasPhonebookDlgW(lpszphonebook: ::windows_sys::core::PCWSTR, lpszentry: ::windows_sys::core::PCWSTR, lpinfo: *mut RASPBDLGW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasRenameEntryA(param0: ::windows_sys::core::PCSTR, param1: ::windows_sys::core::PCSTR, param2: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasRenameEntryW(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR, param2: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasSetAutodialAddressA(param0: ::windows_sys::core::PCSTR, param1: u32, param2: *const RASAUTODIALENTRYA, param3: u32, param4: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasSetAutodialAddressW(param0: ::windows_sys::core::PCWSTR, param1: u32, param2: *const RASAUTODIALENTRYW, param3: u32, param4: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasSetAutodialEnableA(param0: u32, param1: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasSetAutodialEnableW(param0: u32, param1: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasSetAutodialParamA(param0: u32, param1: *const ::core::ffi::c_void, param2: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasSetAutodialParamW(param0: u32, param1: *const ::core::ffi::c_void, param2: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasSetCredentialsA(param0: ::windows_sys::core::PCSTR, param1: ::windows_sys::core::PCSTR, param2: *const RASCREDENTIALSA, param3: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasSetCredentialsW(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR, param2: *const RASCREDENTIALSW, param3: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasSetCustomAuthDataA(pszphonebook: ::windows_sys::core::PCSTR, pszentry: ::windows_sys::core::PCSTR, pbcustomauthdata: *const u8, dwsizeofcustomauthdata: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasSetCustomAuthDataW(pszphonebook: ::windows_sys::core::PCWSTR, pszentry: ::windows_sys::core::PCWSTR, pbcustomauthdata: *const u8, dwsizeofcustomauthdata: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasSetEapUserDataA(htoken: super::super::Foundation::HANDLE, pszphonebook: ::windows_sys::core::PCSTR, pszentry: ::windows_sys::core::PCSTR, pbeapdata: *const u8, dwsizeofeapdata: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasSetEapUserDataW(htoken: super::super::Foundation::HANDLE, pszphonebook: ::windows_sys::core::PCWSTR, pszentry: ::windows_sys::core::PCWSTR, pbeapdata: *const u8, dwsizeofeapdata: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasSetEntryDialParamsA(param0: ::windows_sys::core::PCSTR, param1: *const RASDIALPARAMSA, param2: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasSetEntryDialParamsW(param0: ::windows_sys::core::PCWSTR, param1: *const RASDIALPARAMSW, param2: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn RasSetEntryPropertiesA(param0: ::windows_sys::core::PCSTR, param1: ::windows_sys::core::PCSTR, param2: *const RASENTRYA, param3: u32, param4: *const u8, param5: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn RasSetEntryPropertiesW(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR, param2: *const RASENTRYW, param3: u32, param4: *const u8, param5: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RasSetSubEntryPropertiesA(param0: ::windows_sys::core::PCSTR, param1: ::windows_sys::core::PCSTR, param2: u32, param3: *const RASSUBENTRYA, param4: u32, param5: *const u8, param6: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasSetSubEntryPropertiesW(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR, param2: u32, param3: *const RASSUBENTRYW, param4: u32, param5: *const u8, param6: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn RasUpdateConnection(hrasconn: HRASCONN, lprasupdateconn: *const RASUPDATECONN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasValidateEntryNameA(param0: ::windows_sys::core::PCSTR, param1: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RasValidateEntryNameW(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmAddNextHop(rtmreghandle: isize, nexthopinfo: *mut RTM_NEXTHOP_INFO, nexthophandle: *mut isize, changeflags: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmAddRouteToDest(rtmreghandle: isize, routehandle: *mut isize, destaddress: *mut RTM_NET_ADDRESS, routeinfo: *mut RTM_ROUTE_INFO, timetolive: u32, routelisthandle: isize, notifytype: u32, notifyhandle: isize, changeflags: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtmBlockMethods(rtmreghandle: isize, targethandle: super::super::Foundation::HANDLE, targettype: u8, blockingflag: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn RtmConvertIpv6AddressAndLengthToNetAddress(pnetaddress: *mut RTM_NET_ADDRESS, address: super::super::Networking::WinSock::IN6_ADDR, dwlength: u32, dwaddresssize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] pub fn RtmConvertNetAddressToIpv6AddressAndLength(pnetaddress: *mut RTM_NET_ADDRESS, paddress: *mut super::super::Networking::WinSock::IN6_ADDR, plength: *mut u32, dwaddresssize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmCreateDestEnum(rtmreghandle: isize, targetviews: u32, enumflags: u32, netaddress: *mut RTM_NET_ADDRESS, protocolid: u32, rtmenumhandle: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmCreateNextHopEnum(rtmreghandle: isize, enumflags: u32, netaddress: *mut RTM_NET_ADDRESS, rtmenumhandle: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmCreateRouteEnum(rtmreghandle: isize, desthandle: isize, targetviews: u32, enumflags: u32, startdest: *mut RTM_NET_ADDRESS, matchingflags: u32, criteriaroute: *mut RTM_ROUTE_INFO, criteriainterface: u32, rtmenumhandle: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmCreateRouteList(rtmreghandle: isize, routelisthandle: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmCreateRouteListEnum(rtmreghandle: isize, routelisthandle: isize, rtmenumhandle: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmDeleteEnumHandle(rtmreghandle: isize, enumhandle: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmDeleteNextHop(rtmreghandle: isize, nexthophandle: isize, nexthopinfo: *mut RTM_NEXTHOP_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmDeleteRouteList(rtmreghandle: isize, routelisthandle: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmDeleteRouteToDest(rtmreghandle: isize, routehandle: isize, changeflags: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmDeregisterEntity(rtmreghandle: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmDeregisterFromChangeNotification(rtmreghandle: isize, notifyhandle: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmFindNextHop(rtmreghandle: isize, nexthopinfo: *mut RTM_NEXTHOP_INFO, nexthophandle: *mut isize, nexthoppointer: *mut *mut RTM_NEXTHOP_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtmGetChangeStatus(rtmreghandle: isize, notifyhandle: isize, desthandle: isize, changestatus: *mut super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtmGetChangedDests(rtmreghandle: isize, notifyhandle: isize, numdests: *mut u32, changeddests: *mut RTM_DEST_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtmGetDestInfo(rtmreghandle: isize, desthandle: isize, protocolid: u32, targetviews: u32, destinfo: *mut RTM_DEST_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmGetEntityInfo(rtmreghandle: isize, entityhandle: isize, entityinfo: *mut RTM_ENTITY_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmGetEntityMethods(rtmreghandle: isize, entityhandle: isize, nummethods: *mut u32, exptmethods: *mut RTM_ENTITY_EXPORT_METHOD) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtmGetEnumDests(rtmreghandle: isize, enumhandle: isize, numdests: *mut u32, destinfos: *mut RTM_DEST_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmGetEnumNextHops(rtmreghandle: isize, enumhandle: isize, numnexthops: *mut u32, nexthophandles: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmGetEnumRoutes(rtmreghandle: isize, enumhandle: isize, numroutes: *mut u32, routehandles: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtmGetExactMatchDestination(rtmreghandle: isize, destaddress: *mut RTM_NET_ADDRESS, protocolid: u32, targetviews: u32, destinfo: *mut RTM_DEST_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmGetExactMatchRoute(rtmreghandle: isize, destaddress: *mut RTM_NET_ADDRESS, matchingflags: u32, routeinfo: *mut RTM_ROUTE_INFO, interfaceindex: u32, targetviews: u32, routehandle: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtmGetLessSpecificDestination(rtmreghandle: isize, desthandle: isize, protocolid: u32, targetviews: u32, destinfo: *mut RTM_DEST_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmGetListEnumRoutes(rtmreghandle: isize, enumhandle: isize, numroutes: *mut u32, routehandles: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtmGetMostSpecificDestination(rtmreghandle: isize, destaddress: *mut RTM_NET_ADDRESS, protocolid: u32, targetviews: u32, destinfo: *mut RTM_DEST_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmGetNextHopInfo(rtmreghandle: isize, nexthophandle: isize, nexthopinfo: *mut RTM_NEXTHOP_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmGetNextHopPointer(rtmreghandle: isize, nexthophandle: isize, nexthoppointer: *mut *mut RTM_NEXTHOP_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmGetOpaqueInformationPointer(rtmreghandle: isize, desthandle: isize, opaqueinfopointer: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmGetRegisteredEntities(rtmreghandle: isize, numentities: *mut u32, entityhandles: *mut isize, entityinfos: *mut RTM_ENTITY_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmGetRouteInfo(rtmreghandle: isize, routehandle: isize, routeinfo: *mut RTM_ROUTE_INFO, destaddress: *mut RTM_NET_ADDRESS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmGetRoutePointer(rtmreghandle: isize, routehandle: isize, routepointer: *mut *mut RTM_ROUTE_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmHoldDestination(rtmreghandle: isize, desthandle: isize, targetviews: u32, holdtime: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmIgnoreChangedDests(rtmreghandle: isize, notifyhandle: isize, numdests: u32, changeddests: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmInsertInRouteList(rtmreghandle: isize, routelisthandle: isize, numroutes: u32, routehandles: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmInvokeMethod(rtmreghandle: isize, entityhandle: isize, input: *mut RTM_ENTITY_METHOD_INPUT, outputsize: *mut u32, output: *mut RTM_ENTITY_METHOD_OUTPUT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmIsBestRoute(rtmreghandle: isize, routehandle: isize, bestinviews: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtmIsMarkedForChangeNotification(rtmreghandle: isize, notifyhandle: isize, desthandle: isize, destmarked: *mut super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtmLockDestination(rtmreghandle: isize, desthandle: isize, exclusive: super::super::Foundation::BOOL, lockdest: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtmLockNextHop(rtmreghandle: isize, nexthophandle: isize, exclusive: super::super::Foundation::BOOL, locknexthop: super::super::Foundation::BOOL, nexthoppointer: *mut *mut RTM_NEXTHOP_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtmLockRoute(rtmreghandle: isize, routehandle: isize, exclusive: super::super::Foundation::BOOL, lockroute: super::super::Foundation::BOOL, routepointer: *mut *mut RTM_ROUTE_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtmMarkDestForChangeNotification(rtmreghandle: isize, notifyhandle: isize, desthandle: isize, markdest: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtmReferenceHandles(rtmreghandle: isize, numhandles: u32, rtmhandles: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtmRegisterEntity(rtmentityinfo: *mut RTM_ENTITY_INFO, exportmethods: *mut RTM_ENTITY_EXPORT_METHODS, eventcallback: RTM_EVENT_CALLBACK, reserveopaquepointer: super::super::Foundation::BOOL, rtmregprofile: *mut RTM_REGN_PROFILE, rtmreghandle: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmRegisterForChangeNotification(rtmreghandle: isize, targetviews: u32, notifyflags: u32, notifycontext: *mut ::core::ffi::c_void, notifyhandle: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtmReleaseChangedDests(rtmreghandle: isize, notifyhandle: isize, numdests: u32, changeddests: *mut RTM_DEST_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtmReleaseDestInfo(rtmreghandle: isize, destinfo: *mut RTM_DEST_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtmReleaseDests(rtmreghandle: isize, numdests: u32, destinfos: *mut RTM_DEST_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmReleaseEntities(rtmreghandle: isize, numentities: u32, entityhandles: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmReleaseEntityInfo(rtmreghandle: isize, entityinfo: *mut RTM_ENTITY_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmReleaseNextHopInfo(rtmreghandle: isize, nexthopinfo: *mut RTM_NEXTHOP_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmReleaseNextHops(rtmreghandle: isize, numnexthops: u32, nexthophandles: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmReleaseRouteInfo(rtmreghandle: isize, routeinfo: *mut RTM_ROUTE_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmReleaseRoutes(rtmreghandle: isize, numroutes: u32, routehandles: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] pub fn RtmUpdateAndUnlockRoute(rtmreghandle: isize, routehandle: isize, timetolive: u32, routelisthandle: isize, notifytype: u32, notifyhandle: isize, changeflags: *mut u32) -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/Snmp/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/Snmp/mod.rs index 93e5cf3241..e820b57d88 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/Snmp/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/Snmp/mod.rs @@ -2,191 +2,440 @@ extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpCancelMsg(session: isize, reqid: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpCleanup() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpCleanupEx() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpClose(session: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpContextToStr(context: isize, string: *mut smiOCTETS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpCountVbl(vbl: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpCreatePdu(session: isize, pdu_type: SNMP_PDU_TYPE, request_id: i32, error_status: i32, error_index: i32, varbindlist: isize) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SnmpCreateSession(hwnd: super::super::Foundation::HWND, wmsg: u32, fcallback: SNMPAPI_CALLBACK, lpclientdata: *mut ::core::ffi::c_void) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpCreateVbl(session: isize, name: *mut smiOID, value: *mut smiVALUE) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpDecodeMsg(session: isize, srcentity: *mut isize, dstentity: *mut isize, context: *mut isize, pdu: *mut isize, msgbufdesc: *mut smiOCTETS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpDeleteVb(vbl: isize, index: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpDuplicatePdu(session: isize, pdu: isize) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpDuplicateVbl(session: isize, vbl: isize) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpEncodeMsg(session: isize, srcentity: isize, dstentity: isize, context: isize, pdu: isize, msgbufdesc: *mut smiOCTETS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpEntityToStr(entity: isize, size: u32, string: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpFreeContext(context: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpFreeDescriptor(syntax: u32, descriptor: *mut smiOCTETS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpFreeEntity(entity: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpFreePdu(pdu: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpFreeVbl(vbl: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpGetLastError(session: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpGetPduData(pdu: isize, pdu_type: *mut SNMP_PDU_TYPE, request_id: *mut i32, error_status: *mut SNMP_ERROR, error_index: *mut i32, varbindlist: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpGetRetransmitMode(nretransmitmode: *mut SNMP_STATUS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpGetRetry(hentity: isize, npolicyretry: *mut u32, nactualretry: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpGetTimeout(hentity: isize, npolicytimeout: *mut u32, nactualtimeout: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpGetTranslateMode(ntranslatemode: *mut SNMP_API_TRANSLATE_MODE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpGetVb(vbl: isize, index: u32, name: *mut smiOID, value: *mut smiVALUE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SnmpGetVendorInfo(vendorinfo: *mut smiVENDORINFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpListen(hentity: isize, lstatus: SNMP_STATUS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpListenEx(hentity: isize, lstatus: u32, nuseentityaddr: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SnmpMgrClose(session: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SnmpMgrCtl(session: *mut ::core::ffi::c_void, dwctlcode: u32, lpvinbuffer: *mut ::core::ffi::c_void, cbinbuffer: u32, lpvoutbuffer: *mut ::core::ffi::c_void, cboutbuffer: u32, lpcbbytesreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SnmpMgrGetTrap(enterprise: *mut AsnObjectIdentifier, ipaddress: *mut AsnOctetString, generictrap: *mut SNMP_GENERICTRAP, specifictrap: *mut i32, timestamp: *mut u32, variablebindings: *mut SnmpVarBindList) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SnmpMgrGetTrapEx(enterprise: *mut AsnObjectIdentifier, agentaddress: *mut AsnOctetString, sourceaddress: *mut AsnOctetString, generictrap: *mut SNMP_GENERICTRAP, specifictrap: *mut i32, community: *mut AsnOctetString, timestamp: *mut u32, variablebindings: *mut SnmpVarBindList) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SnmpMgrOidToStr(oid: *mut AsnObjectIdentifier, string: *mut ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpMgrOpen(lpagentaddress: ::windows_sys::core::PCSTR, lpagentcommunity: ::windows_sys::core::PCSTR, ntimeout: i32, nretries: i32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SnmpMgrRequest(session: *mut ::core::ffi::c_void, requesttype: u8, variablebindings: *mut SnmpVarBindList, errorstatus: *mut SNMP_ERROR_STATUS, errorindex: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SnmpMgrStrToOid(string: ::windows_sys::core::PCSTR, oid: *mut AsnObjectIdentifier) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SnmpMgrTrapListen(phtrapavailable: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpOidCompare(xoid: *mut smiOID, yoid: *mut smiOID, maxlen: u32, result: *mut i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpOidCopy(srcoid: *mut smiOID, dstoid: *mut smiOID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpOidToStr(srcoid: *const smiOID, size: u32, string: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SnmpOpen(hwnd: super::super::Foundation::HWND, wmsg: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpRecvMsg(session: isize, srcentity: *mut isize, dstentity: *mut isize, context: *mut isize, pdu: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpRegister(session: isize, srcentity: isize, dstentity: isize, context: isize, notification: *mut smiOID, state: SNMP_STATUS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpSendMsg(session: isize, srcentity: isize, dstentity: isize, context: isize, pdu: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpSetPduData(pdu: isize, pdu_type: *const i32, request_id: *const i32, non_repeaters: *const i32, max_repetitions: *const i32, varbindlist: *const isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpSetPort(hentity: isize, nport: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpSetRetransmitMode(nretransmitmode: SNMP_STATUS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpSetRetry(hentity: isize, npolicyretry: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpSetTimeout(hentity: isize, npolicytimeout: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpSetTranslateMode(ntranslatemode: SNMP_API_TRANSLATE_MODE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpSetVb(vbl: isize, index: u32, name: *mut smiOID, value: *mut smiVALUE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpStartup(nmajorversion: *mut u32, nminorversion: *mut u32, nlevel: *mut u32, ntranslatemode: *mut SNMP_API_TRANSLATE_MODE, nretransmitmode: *mut SNMP_STATUS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpStartupEx(nmajorversion: *mut u32, nminorversion: *mut u32, nlevel: *mut u32, ntranslatemode: *mut SNMP_API_TRANSLATE_MODE, nretransmitmode: *mut SNMP_STATUS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpStrToContext(session: isize, string: *mut smiOCTETS) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpStrToEntity(session: isize, string: ::windows_sys::core::PCSTR) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpStrToOid(string: ::windows_sys::core::PCSTR, dstoid: *mut smiOID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpSvcGetUptime() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpSvcSetLogLevel(nloglevel: SNMP_LOG); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpSvcSetLogType(nlogtype: SNMP_OUTPUT_LOG_TYPE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SnmpUtilAsnAnyCpy(panydst: *mut AsnAny, panysrc: *mut AsnAny) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SnmpUtilAsnAnyFree(pany: *mut AsnAny); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpUtilDbgPrint(nloglevel: SNMP_LOG, szformat: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpUtilIdsToA(ids: *mut u32, idlength: u32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpUtilMemAlloc(nbytes: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpUtilMemFree(pmem: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpUtilMemReAlloc(pmem: *mut ::core::ffi::c_void, nbytes: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SnmpUtilOctetsCmp(poctets1: *mut AsnOctetString, poctets2: *mut AsnOctetString) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SnmpUtilOctetsCpy(poctetsdst: *mut AsnOctetString, poctetssrc: *mut AsnOctetString) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SnmpUtilOctetsFree(poctets: *mut AsnOctetString); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SnmpUtilOctetsNCmp(poctets1: *mut AsnOctetString, poctets2: *mut AsnOctetString, nchars: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpUtilOidAppend(poiddst: *mut AsnObjectIdentifier, poidsrc: *mut AsnObjectIdentifier) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpUtilOidCmp(poid1: *mut AsnObjectIdentifier, poid2: *mut AsnObjectIdentifier) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpUtilOidCpy(poiddst: *mut AsnObjectIdentifier, poidsrc: *mut AsnObjectIdentifier) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpUtilOidFree(poid: *mut AsnObjectIdentifier); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpUtilOidNCmp(poid1: *mut AsnObjectIdentifier, poid2: *mut AsnObjectIdentifier, nsubids: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpUtilOidToA(oid: *mut AsnObjectIdentifier) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SnmpUtilPrintAsnAny(pany: *mut AsnAny); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] pub fn SnmpUtilPrintOid(oid: *mut AsnObjectIdentifier); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SnmpUtilVarBindCpy(pvbdst: *mut SnmpVarBind, pvbsrc: *mut SnmpVarBind) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SnmpUtilVarBindFree(pvb: *mut SnmpVarBind); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SnmpUtilVarBindListCpy(pvbldst: *mut SnmpVarBindList, pvblsrc: *mut SnmpVarBindList) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SnmpUtilVarBindListFree(pvbl: *mut SnmpVarBindList); diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WNet/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WNet/mod.rs index 035babf957..ab90329342 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WNet/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WNet/mod.rs @@ -2,161 +2,353 @@ extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn MultinetGetConnectionPerformanceA(lpnetresource: *const NETRESOURCEA, lpnetconnectinfostruct: *mut NETCONNECTINFOSTRUCT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn MultinetGetConnectionPerformanceW(lpnetresource: *const NETRESOURCEW, lpnetconnectinfostruct: *mut NETCONNECTINFOSTRUCT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn NPAddConnection(lpnetresource: *const NETRESOURCEW, lppassword: ::windows_sys::core::PCWSTR, lpusername: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NPAddConnection3(hwndowner: super::super::Foundation::HWND, lpnetresource: *const NETRESOURCEW, lppassword: ::windows_sys::core::PCWSTR, lpusername: ::windows_sys::core::PCWSTR, dwflags: NET_USE_CONNECT_FLAGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NPAddConnection4(hwndowner: super::super::Foundation::HWND, lpnetresource: *const NETRESOURCEW, lpauthbuffer: *const ::core::ffi::c_void, cbauthbuffer: u32, dwflags: u32, lpuseoptions: *const u8, cbuseoptions: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NPCancelConnection(lpname: ::windows_sys::core::PCWSTR, fforce: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NPCancelConnection2(lpname: ::windows_sys::core::PCWSTR, fforce: super::super::Foundation::BOOL, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NPCloseEnum(henum: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NPEnumResource(henum: super::super::Foundation::HANDLE, lpccount: *mut u32, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn NPFormatNetworkName(lpremotename: ::windows_sys::core::PCWSTR, lpformattedname: ::windows_sys::core::PWSTR, lpnlength: *mut u32, dwflags: NETWORK_NAME_FORMAT_FLAGS, dwavecharperline: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn NPGetCaps(ndex: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn NPGetConnection(lplocalname: ::windows_sys::core::PCWSTR, lpremotename: ::windows_sys::core::PWSTR, lpnbufferlen: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn NPGetConnection3(lplocalname: ::windows_sys::core::PCWSTR, dwlevel: u32, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn NPGetConnectionPerformance(lpremotename: ::windows_sys::core::PCWSTR, lpnetconnectinfo: *mut NETCONNECTINFOSTRUCT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn NPGetPersistentUseOptionsForConnection(lpremotepath: ::windows_sys::core::PCWSTR, lpreaduseoptions: *const u8, cbreaduseoptions: u32, lpwriteuseoptions: *mut u8, lpsizewriteuseoptions: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn NPGetResourceInformation(lpnetresource: *const NETRESOURCEW, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32, lplpsystem: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn NPGetResourceParent(lpnetresource: *const NETRESOURCEW, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn NPGetUniversalName(lplocalpath: ::windows_sys::core::PCWSTR, dwinfolevel: UNC_INFO_LEVEL, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn NPGetUser(lpname: ::windows_sys::core::PCWSTR, lpusername: ::windows_sys::core::PWSTR, lpnbufferlen: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NPOpenEnum(dwscope: u32, dwtype: u32, dwusage: u32, lpnetresource: *const NETRESOURCEW, lphenum: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn WNetAddConnection2A(lpnetresource: *const NETRESOURCEA, lppassword: ::windows_sys::core::PCSTR, lpusername: ::windows_sys::core::PCSTR, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn WNetAddConnection2W(lpnetresource: *const NETRESOURCEW, lppassword: ::windows_sys::core::PCWSTR, lpusername: ::windows_sys::core::PCWSTR, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetAddConnection3A(hwndowner: super::super::Foundation::HWND, lpnetresource: *const NETRESOURCEA, lppassword: ::windows_sys::core::PCSTR, lpusername: ::windows_sys::core::PCSTR, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetAddConnection3W(hwndowner: super::super::Foundation::HWND, lpnetresource: *const NETRESOURCEW, lppassword: ::windows_sys::core::PCWSTR, lpusername: ::windows_sys::core::PCWSTR, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetAddConnection4A(hwndowner: super::super::Foundation::HWND, lpnetresource: *const NETRESOURCEA, pauthbuffer: *const ::core::ffi::c_void, cbauthbuffer: u32, dwflags: u32, lpuseoptions: *const u8, cbuseoptions: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetAddConnection4W(hwndowner: super::super::Foundation::HWND, lpnetresource: *const NETRESOURCEW, pauthbuffer: *const ::core::ffi::c_void, cbauthbuffer: u32, dwflags: u32, lpuseoptions: *const u8, cbuseoptions: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn WNetAddConnectionA(lpremotename: ::windows_sys::core::PCSTR, lppassword: ::windows_sys::core::PCSTR, lplocalname: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn WNetAddConnectionW(lpremotename: ::windows_sys::core::PCWSTR, lppassword: ::windows_sys::core::PCWSTR, lplocalname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetCancelConnection2A(lpname: ::windows_sys::core::PCSTR, dwflags: u32, fforce: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetCancelConnection2W(lpname: ::windows_sys::core::PCWSTR, dwflags: u32, fforce: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetCancelConnectionA(lpname: ::windows_sys::core::PCSTR, fforce: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetCancelConnectionW(lpname: ::windows_sys::core::PCWSTR, fforce: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetCloseEnum(henum: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetConnectionDialog(hwnd: super::super::Foundation::HWND, dwtype: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetConnectionDialog1A(lpconndlgstruct: *mut CONNECTDLGSTRUCTA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetConnectionDialog1W(lpconndlgstruct: *mut CONNECTDLGSTRUCTW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetDisconnectDialog(hwnd: super::super::Foundation::HWND, dwtype: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetDisconnectDialog1A(lpconndlgstruct: *const DISCDLGSTRUCTA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetDisconnectDialog1W(lpconndlgstruct: *const DISCDLGSTRUCTW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetEnumResourceA(henum: super::super::Foundation::HANDLE, lpccount: *mut u32, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetEnumResourceW(henum: super::super::Foundation::HANDLE, lpccount: *mut u32, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn WNetGetConnectionA(lplocalname: ::windows_sys::core::PCSTR, lpremotename: ::windows_sys::core::PSTR, lpnlength: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn WNetGetConnectionW(lplocalname: ::windows_sys::core::PCWSTR, lpremotename: ::windows_sys::core::PWSTR, lpnlength: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn WNetGetLastErrorA(lperror: *mut u32, lperrorbuf: ::windows_sys::core::PSTR, nerrorbufsize: u32, lpnamebuf: ::windows_sys::core::PSTR, nnamebufsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn WNetGetLastErrorW(lperror: *mut u32, lperrorbuf: ::windows_sys::core::PWSTR, nerrorbufsize: u32, lpnamebuf: ::windows_sys::core::PWSTR, nnamebufsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetGetNetworkInformationA(lpprovider: ::windows_sys::core::PCSTR, lpnetinfostruct: *mut NETINFOSTRUCT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetGetNetworkInformationW(lpprovider: ::windows_sys::core::PCWSTR, lpnetinfostruct: *mut NETINFOSTRUCT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn WNetGetProviderNameA(dwnettype: u32, lpprovidername: ::windows_sys::core::PSTR, lpbuffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn WNetGetProviderNameW(dwnettype: u32, lpprovidername: ::windows_sys::core::PWSTR, lpbuffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn WNetGetResourceInformationA(lpnetresource: *const NETRESOURCEA, lpbuffer: *mut ::core::ffi::c_void, lpcbbuffer: *mut u32, lplpsystem: *mut ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn WNetGetResourceInformationW(lpnetresource: *const NETRESOURCEW, lpbuffer: *mut ::core::ffi::c_void, lpcbbuffer: *mut u32, lplpsystem: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn WNetGetResourceParentA(lpnetresource: *const NETRESOURCEA, lpbuffer: *mut ::core::ffi::c_void, lpcbbuffer: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn WNetGetResourceParentW(lpnetresource: *const NETRESOURCEW, lpbuffer: *mut ::core::ffi::c_void, lpcbbuffer: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn WNetGetUniversalNameA(lplocalpath: ::windows_sys::core::PCSTR, dwinfolevel: UNC_INFO_LEVEL, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn WNetGetUniversalNameW(lplocalpath: ::windows_sys::core::PCWSTR, dwinfolevel: UNC_INFO_LEVEL, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn WNetGetUserA(lpname: ::windows_sys::core::PCSTR, lpusername: ::windows_sys::core::PSTR, lpnlength: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn WNetGetUserW(lpname: ::windows_sys::core::PCWSTR, lpusername: ::windows_sys::core::PWSTR, lpnlength: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn WNetOpenEnumA(dwscope: NET_RESOURCE_SCOPE, dwtype: NET_RESOURCE_TYPE, dwusage: WNET_OPEN_ENUM_USAGE, lpnetresource: *const NETRESOURCEA, lphenum: *mut NetEnumHandle) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn WNetOpenEnumW(dwscope: NET_RESOURCE_SCOPE, dwtype: NET_RESOURCE_TYPE, dwusage: WNET_OPEN_ENUM_USAGE, lpnetresource: *const NETRESOURCEW, lphenum: *mut NetEnumHandle) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn WNetSetLastErrorA(err: u32, lperror: ::windows_sys::core::PCSTR, lpproviders: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub fn WNetSetLastErrorW(err: u32, lperror: ::windows_sys::core::PCWSTR, lpproviders: ::windows_sys::core::PCWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetUseConnection4A(hwndowner: super::super::Foundation::HWND, lpnetresource: *const NETRESOURCEA, pauthbuffer: *const ::core::ffi::c_void, cbauthbuffer: u32, dwflags: u32, lpuseoptions: *const u8, cbuseoptions: u32, lpaccessname: ::windows_sys::core::PSTR, lpbuffersize: *mut u32, lpresult: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetUseConnection4W(hwndowner: super::super::Foundation::HWND, lpnetresource: *const NETRESOURCEW, pauthbuffer: *const ::core::ffi::c_void, cbauthbuffer: u32, dwflags: u32, lpuseoptions: *const u8, cbuseoptions: u32, lpaccessname: ::windows_sys::core::PWSTR, lpbuffersize: *mut u32, lpresult: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetUseConnectionA(hwndowner: super::super::Foundation::HWND, lpnetresource: *const NETRESOURCEA, lppassword: ::windows_sys::core::PCSTR, lpuserid: ::windows_sys::core::PCSTR, dwflags: NET_USE_CONNECT_FLAGS, lpaccessname: ::windows_sys::core::PSTR, lpbuffersize: *mut u32, lpresult: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WNetUseConnectionW(hwndowner: super::super::Foundation::HWND, lpnetresource: *const NETRESOURCEW, lppassword: ::windows_sys::core::PCWSTR, lpuserid: ::windows_sys::core::PCWSTR, dwflags: NET_USE_CONNECT_FLAGS, lpaccessname: ::windows_sys::core::PWSTR, lpbuffersize: *mut u32, lpresult: *mut u32) -> u32; diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WebDav/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WebDav/mod.rs index 275a659210..7827cff17f 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WebDav/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WebDav/mod.rs @@ -3,29 +3,59 @@ extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DavAddConnection(connectionhandle: *mut super::super::Foundation::HANDLE, remotename: ::windows_sys::core::PCWSTR, username: ::windows_sys::core::PCWSTR, password: ::windows_sys::core::PCWSTR, clientcert: *const u8, certsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DavCancelConnectionsToServer(lpname: ::windows_sys::core::PCWSTR, fforce: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DavDeleteConnection(connectionhandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DavFlushFile(hfile: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DavGetExtendedError(hfile: super::super::Foundation::HANDLE, exterror: *mut u32, exterrorstring: ::windows_sys::core::PWSTR, cchsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] pub fn DavGetHTTPFromUNCPath(uncpath: ::windows_sys::core::PCWSTR, url: ::windows_sys::core::PWSTR, lpsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] pub fn DavGetTheLockOwnerOfTheFile(filename: ::windows_sys::core::PCWSTR, lockownername: ::windows_sys::core::PWSTR, lockownernamelengthinbytes: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] pub fn DavGetUNCFromHTTPPath(url: ::windows_sys::core::PCWSTR, uncpath: ::windows_sys::core::PWSTR, lpsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] pub fn DavInvalidateCache(urlname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DavRegisterAuthCallback(callback: PFNDAVAUTHCALLBACK, version: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] pub fn DavUnregisterAuthCallback(hcallback: u32); } diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WiFi/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WiFi/mod.rs index 1373c4c2fb..126b385b1e 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WiFi/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WiFi/mod.rs @@ -3,179 +3,359 @@ extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WFDCancelOpenSession(hsessionhandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WFDCloseHandle(hclienthandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WFDCloseSession(hsessionhandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WFDOpenHandle(dwclientversion: u32, pdwnegotiatedversion: *mut u32, phclienthandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WFDOpenLegacySession(hclienthandle: super::super::Foundation::HANDLE, plegacymacaddress: *const *const u8, phsessionhandle: *mut super::super::Foundation::HANDLE, pguidsessioninterface: *mut ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WFDStartOpenSession(hclienthandle: super::super::Foundation::HANDLE, pdeviceaddress: *const *const u8, pvcontext: *const ::core::ffi::c_void, pfncallback: WFD_OPEN_SESSION_COMPLETE_CALLBACK, phsessionhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] pub fn WFDUpdateDeviceVisibility(pdeviceaddress: *const *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] pub fn WlanAllocateMemory(dwmemorysize: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanCloseHandle(hclienthandle: super::super::Foundation::HANDLE, preserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] pub fn WlanConnect(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, pconnectionparameters: *const WLAN_CONNECTION_PARAMETERS, preserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] pub fn WlanConnect2(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, pconnectionparameters: *const WLAN_CONNECTION_PARAMETERS_V2, preserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanDeleteProfile(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, strprofilename: ::windows_sys::core::PCWSTR, preserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanDeviceServiceCommand(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, pdeviceserviceguid: *const ::windows_sys::core::GUID, dwopcode: u32, dwinbuffersize: u32, pinbuffer: *const ::core::ffi::c_void, dwoutbuffersize: u32, poutbuffer: *mut ::core::ffi::c_void, pdwbytesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanDisconnect(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, preserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanEnumInterfaces(hclienthandle: super::super::Foundation::HANDLE, preserved: *mut ::core::ffi::c_void, ppinterfacelist: *mut *mut WLAN_INTERFACE_INFO_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanExtractPsdIEDataList(hclienthandle: super::super::Foundation::HANDLE, dwiedatasize: u32, prawiedata: *const u8, strformat: ::windows_sys::core::PCWSTR, preserved: *mut ::core::ffi::c_void, pppsdiedatalist: *mut *mut WLAN_RAW_DATA_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] pub fn WlanFreeMemory(pmemory: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanGetAvailableNetworkList(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, dwflags: u32, preserved: *mut ::core::ffi::c_void, ppavailablenetworklist: *mut *mut WLAN_AVAILABLE_NETWORK_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanGetAvailableNetworkList2(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, dwflags: u32, preserved: *mut ::core::ffi::c_void, ppavailablenetworklist: *mut *mut WLAN_AVAILABLE_NETWORK_LIST_V2) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanGetFilterList(hclienthandle: super::super::Foundation::HANDLE, wlanfilterlisttype: WLAN_FILTER_LIST_TYPE, preserved: *mut ::core::ffi::c_void, ppnetworklist: *mut *mut DOT11_NETWORK_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanGetInterfaceCapability(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, preserved: *mut ::core::ffi::c_void, ppcapability: *mut *mut WLAN_INTERFACE_CAPABILITY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanGetNetworkBssList(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, pdot11ssid: *const DOT11_SSID, dot11bsstype: DOT11_BSS_TYPE, bsecurityenabled: super::super::Foundation::BOOL, preserved: *mut ::core::ffi::c_void, ppwlanbsslist: *mut *mut WLAN_BSS_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanGetProfile(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, strprofilename: ::windows_sys::core::PCWSTR, preserved: *mut ::core::ffi::c_void, pstrprofilexml: *mut ::windows_sys::core::PWSTR, pdwflags: *mut u32, pdwgrantedaccess: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanGetProfileCustomUserData(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, strprofilename: ::windows_sys::core::PCWSTR, preserved: *mut ::core::ffi::c_void, pdwdatasize: *mut u32, ppdata: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanGetProfileList(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, preserved: *mut ::core::ffi::c_void, ppprofilelist: *mut *mut WLAN_PROFILE_INFO_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanGetSecuritySettings(hclienthandle: super::super::Foundation::HANDLE, securableobject: WLAN_SECURABLE_OBJECT, pvaluetype: *mut WLAN_OPCODE_VALUE_TYPE, pstrcurrentsddl: *mut ::windows_sys::core::PWSTR, pdwgrantedaccess: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanGetSupportedDeviceServices(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, ppdevsvcguidlist: *mut *mut WLAN_DEVICE_SERVICE_GUID_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanHostedNetworkForceStart(hclienthandle: super::super::Foundation::HANDLE, pfailreason: *mut WLAN_HOSTED_NETWORK_REASON, pvreserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanHostedNetworkForceStop(hclienthandle: super::super::Foundation::HANDLE, pfailreason: *mut WLAN_HOSTED_NETWORK_REASON, pvreserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanHostedNetworkInitSettings(hclienthandle: super::super::Foundation::HANDLE, pfailreason: *mut WLAN_HOSTED_NETWORK_REASON, pvreserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanHostedNetworkQueryProperty(hclienthandle: super::super::Foundation::HANDLE, opcode: WLAN_HOSTED_NETWORK_OPCODE, pdwdatasize: *mut u32, ppvdata: *mut *mut ::core::ffi::c_void, pwlanopcodevaluetype: *mut WLAN_OPCODE_VALUE_TYPE, pvreserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanHostedNetworkQuerySecondaryKey(hclienthandle: super::super::Foundation::HANDLE, pdwkeylength: *mut u32, ppuckeydata: *mut *mut u8, pbispassphrase: *mut super::super::Foundation::BOOL, pbpersistent: *mut super::super::Foundation::BOOL, pfailreason: *mut WLAN_HOSTED_NETWORK_REASON, pvreserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanHostedNetworkQueryStatus(hclienthandle: super::super::Foundation::HANDLE, ppwlanhostednetworkstatus: *mut *mut WLAN_HOSTED_NETWORK_STATUS, pvreserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanHostedNetworkRefreshSecuritySettings(hclienthandle: super::super::Foundation::HANDLE, pfailreason: *mut WLAN_HOSTED_NETWORK_REASON, pvreserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanHostedNetworkSetProperty(hclienthandle: super::super::Foundation::HANDLE, opcode: WLAN_HOSTED_NETWORK_OPCODE, dwdatasize: u32, pvdata: *const ::core::ffi::c_void, pfailreason: *mut WLAN_HOSTED_NETWORK_REASON, pvreserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanHostedNetworkSetSecondaryKey(hclienthandle: super::super::Foundation::HANDLE, dwkeylength: u32, puckeydata: *const u8, bispassphrase: super::super::Foundation::BOOL, bpersistent: super::super::Foundation::BOOL, pfailreason: *mut WLAN_HOSTED_NETWORK_REASON, pvreserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanHostedNetworkStartUsing(hclienthandle: super::super::Foundation::HANDLE, pfailreason: *mut WLAN_HOSTED_NETWORK_REASON, pvreserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanHostedNetworkStopUsing(hclienthandle: super::super::Foundation::HANDLE, pfailreason: *mut WLAN_HOSTED_NETWORK_REASON, pvreserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanIhvControl(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, r#type: WLAN_IHV_CONTROL_TYPE, dwinbuffersize: u32, pinbuffer: *const ::core::ffi::c_void, dwoutbuffersize: u32, poutbuffer: *mut ::core::ffi::c_void, pdwbytesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanOpenHandle(dwclientversion: u32, preserved: *mut ::core::ffi::c_void, pdwnegotiatedversion: *mut u32, phclienthandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanQueryAutoConfigParameter(hclienthandle: super::super::Foundation::HANDLE, opcode: WLAN_AUTOCONF_OPCODE, preserved: *mut ::core::ffi::c_void, pdwdatasize: *mut u32, ppdata: *mut *mut ::core::ffi::c_void, pwlanopcodevaluetype: *mut WLAN_OPCODE_VALUE_TYPE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanQueryInterface(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, opcode: WLAN_INTF_OPCODE, preserved: *mut ::core::ffi::c_void, pdwdatasize: *mut u32, ppdata: *mut *mut ::core::ffi::c_void, pwlanopcodevaluetype: *mut WLAN_OPCODE_VALUE_TYPE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] pub fn WlanReasonCodeToString(dwreasoncode: u32, dwbuffersize: u32, pstringbuffer: ::windows_sys::core::PCWSTR, preserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanRegisterDeviceServiceNotification(hclienthandle: super::super::Foundation::HANDLE, pdevsvcguidlist: *const WLAN_DEVICE_SERVICE_GUID_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanRegisterNotification(hclienthandle: super::super::Foundation::HANDLE, dwnotifsource: u32, bignoreduplicate: super::super::Foundation::BOOL, funccallback: WLAN_NOTIFICATION_CALLBACK, pcallbackcontext: *const ::core::ffi::c_void, preserved: *mut ::core::ffi::c_void, pdwprevnotifsource: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanRegisterVirtualStationNotification(hclienthandle: super::super::Foundation::HANDLE, bregister: super::super::Foundation::BOOL, preserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanRenameProfile(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, stroldprofilename: ::windows_sys::core::PCWSTR, strnewprofilename: ::windows_sys::core::PCWSTR, preserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanSaveTemporaryProfile(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, strprofilename: ::windows_sys::core::PCWSTR, stralluserprofilesecurity: ::windows_sys::core::PCWSTR, dwflags: u32, boverwrite: super::super::Foundation::BOOL, preserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanScan(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, pdot11ssid: *const DOT11_SSID, piedata: *const WLAN_RAW_DATA, preserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanSetAutoConfigParameter(hclienthandle: super::super::Foundation::HANDLE, opcode: WLAN_AUTOCONF_OPCODE, dwdatasize: u32, pdata: *const ::core::ffi::c_void, preserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanSetFilterList(hclienthandle: super::super::Foundation::HANDLE, wlanfilterlisttype: WLAN_FILTER_LIST_TYPE, pnetworklist: *const DOT11_NETWORK_LIST, preserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanSetInterface(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, opcode: WLAN_INTF_OPCODE, dwdatasize: u32, pdata: *const ::core::ffi::c_void, preserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanSetProfile(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, dwflags: u32, strprofilexml: ::windows_sys::core::PCWSTR, stralluserprofilesecurity: ::windows_sys::core::PCWSTR, boverwrite: super::super::Foundation::BOOL, preserved: *mut ::core::ffi::c_void, pdwreasoncode: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanSetProfileCustomUserData(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, strprofilename: ::windows_sys::core::PCWSTR, dwdatasize: u32, pdata: *const u8, preserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`, `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] pub fn WlanSetProfileEapUserData(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, strprofilename: ::windows_sys::core::PCWSTR, eaptype: super::super::Security::ExtensibleAuthenticationProtocol::EAP_METHOD_TYPE, dwflags: WLAN_SET_EAPHOST_FLAGS, dweapuserdatasize: u32, pbeapuserdata: *const u8, preserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanSetProfileEapXmlUserData(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, strprofilename: ::windows_sys::core::PCWSTR, dwflags: WLAN_SET_EAPHOST_FLAGS, streapxmluserdata: ::windows_sys::core::PCWSTR, preserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanSetProfileList(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, dwitems: u32, strprofilenames: *const ::windows_sys::core::PWSTR, preserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanSetProfilePosition(hclienthandle: super::super::Foundation::HANDLE, pinterfaceguid: *const ::windows_sys::core::GUID, strprofilename: ::windows_sys::core::PCWSTR, dwposition: u32, preserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanSetPsdIEDataList(hclienthandle: super::super::Foundation::HANDLE, strformat: ::windows_sys::core::PCWSTR, ppsdiedatalist: *const WLAN_RAW_DATA_LIST, preserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanSetSecuritySettings(hclienthandle: super::super::Foundation::HANDLE, securableobject: WLAN_SECURABLE_OBJECT, strmodifiedsddl: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WlanUIEditProfile(dwclientversion: u32, wstrprofilename: ::windows_sys::core::PCWSTR, pinterfaceguid: *const ::windows_sys::core::GUID, hwnd: super::super::Foundation::HWND, wlstartpage: WL_DISPLAY_PAGES, preserved: *mut ::core::ffi::c_void, pwlanreasoncode: *mut u32) -> u32; diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs index aeb3062ac1..749bf1bcd2 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs @@ -3,26 +3,53 @@ extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreeInterfaceContextTable(interfacecontexttable: *const NET_INTERFACE_CONTEXT_TABLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetInterfaceContextTableForHostName(hostname: ::windows_sys::core::PCWSTR, proxyname: ::windows_sys::core::PCWSTR, flags: u32, connectionprofilefilterrawdata: *const u8, connectionprofilefilterrawdatasize: u32, interfacecontexttable: *mut *mut NET_INTERFACE_CONTEXT_TABLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"] pub fn OnDemandGetRoutingHint(destinationhostname: ::windows_sys::core::PCWSTR, interfaceindex: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OnDemandRegisterNotification(callback: ONDEMAND_NOTIFICATION_CALLBACK, callbackcontext: *const ::core::ffi::c_void, registrationhandle: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OnDemandUnRegisterNotification(registrationhandle: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"] pub fn WcmFreeMemory(pmemory: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"] pub fn WcmGetProfileList(preserved: *mut ::core::ffi::c_void, ppprofilelist: *mut *mut WCM_PROFILE_INFO_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"] pub fn WcmQueryProperty(pinterface: *const ::windows_sys::core::GUID, strprofilename: ::windows_sys::core::PCWSTR, property: WCM_PROPERTY, preserved: *mut ::core::ffi::c_void, pdwdatasize: *mut u32, ppdata: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WcmSetProfileList(pprofilelist: *const WCM_PROFILE_INFO_LIST, dwposition: u32, fignoreunknownprofiles: super::super::Foundation::BOOL, preserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"] pub fn WcmSetProperty(pinterface: *const ::windows_sys::core::GUID, strprofilename: ::windows_sys::core::PCWSTR, property: WCM_PROPERTY, preserved: *mut ::core::ffi::c_void, dwdatasize: u32, pbdata: *const u8) -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs index c11d4f6e3b..e6de2c9700 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs @@ -3,556 +3,1111 @@ extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmCalloutAdd0(enginehandle: super::super::Foundation::HANDLE, callout: *const FWPM_CALLOUT0, sd: super::super::Security::PSECURITY_DESCRIPTOR, id: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmCalloutCreateEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumtemplate: *const FWPM_CALLOUT_ENUM_TEMPLATE0, enumhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmCalloutDeleteById0(enginehandle: super::super::Foundation::HANDLE, id: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmCalloutDeleteByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmCalloutDestroyEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmCalloutEnum0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut FWPM_CALLOUT0, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmCalloutGetById0(enginehandle: super::super::Foundation::HANDLE, id: u32, callout: *mut *mut FWPM_CALLOUT0) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmCalloutGetByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID, callout: *mut *mut FWPM_CALLOUT0) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmCalloutGetSecurityInfoByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID, securityinfo: u32, sidowner: *mut super::super::Foundation::PSID, sidgroup: *mut super::super::Foundation::PSID, dacl: *mut *mut super::super::Security::ACL, sacl: *mut *mut super::super::Security::ACL, securitydescriptor: *mut super::super::Security::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmCalloutSetSecurityInfoByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID, securityinfo: u32, sidowner: *const super::super::Security::SID, sidgroup: *const super::super::Security::SID, dacl: *const super::super::Security::ACL, sacl: *const super::super::Security::ACL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmCalloutSubscribeChanges0(enginehandle: super::super::Foundation::HANDLE, subscription: *const FWPM_CALLOUT_SUBSCRIPTION0, callback: FWPM_CALLOUT_CHANGE_CALLBACK0, context: *const ::core::ffi::c_void, changehandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmCalloutSubscriptionsGet0(enginehandle: super::super::Foundation::HANDLE, entries: *mut *mut *mut FWPM_CALLOUT_SUBSCRIPTION0, numentries: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmCalloutUnsubscribeChanges0(enginehandle: super::super::Foundation::HANDLE, changehandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmConnectionCreateEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumtemplate: *const FWPM_CONNECTION_ENUM_TEMPLATE0, enumhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmConnectionDestroyEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmConnectionEnum0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut FWPM_CONNECTION0, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmConnectionGetById0(enginehandle: super::super::Foundation::HANDLE, id: u64, connection: *mut *mut FWPM_CONNECTION0) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmConnectionGetSecurityInfo0(enginehandle: super::super::Foundation::HANDLE, securityinfo: u32, sidowner: *mut super::super::Foundation::PSID, sidgroup: *mut super::super::Foundation::PSID, dacl: *mut *mut super::super::Security::ACL, sacl: *mut *mut super::super::Security::ACL, securitydescriptor: *mut super::super::Security::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmConnectionSetSecurityInfo0(enginehandle: super::super::Foundation::HANDLE, securityinfo: u32, sidowner: *const super::super::Security::SID, sidgroup: *const super::super::Security::SID, dacl: *const super::super::Security::ACL, sacl: *const super::super::Security::ACL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmConnectionSubscribe0(enginehandle: super::super::Foundation::HANDLE, subscription: *const FWPM_CONNECTION_SUBSCRIPTION0, callback: FWPM_CONNECTION_CALLBACK0, context: *const ::core::ffi::c_void, eventshandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmConnectionUnsubscribe0(enginehandle: super::super::Foundation::HANDLE, eventshandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmDynamicKeywordSubscribe0(flags: u32, callback: FWPM_DYNAMIC_KEYWORD_CALLBACK0, context: *const ::core::ffi::c_void, subscriptionhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmDynamicKeywordUnsubscribe0(subscriptionhandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmEngineClose0(enginehandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmEngineGetOption0(enginehandle: super::super::Foundation::HANDLE, option: FWPM_ENGINE_OPTION, value: *mut *mut FWP_VALUE0) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmEngineGetSecurityInfo0(enginehandle: super::super::Foundation::HANDLE, securityinfo: u32, sidowner: *mut super::super::Foundation::PSID, sidgroup: *mut super::super::Foundation::PSID, dacl: *mut *mut super::super::Security::ACL, sacl: *mut *mut super::super::Security::ACL, securitydescriptor: *mut super::super::Security::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_Rpc\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_Rpc"))] pub fn FwpmEngineOpen0(servername: ::windows_sys::core::PCWSTR, authnservice: u32, authidentity: *const super::super::System::Rpc::SEC_WINNT_AUTH_IDENTITY_W, session: *const FWPM_SESSION0, enginehandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmEngineSetOption0(enginehandle: super::super::Foundation::HANDLE, option: FWPM_ENGINE_OPTION, newvalue: *const FWP_VALUE0) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmEngineSetSecurityInfo0(enginehandle: super::super::Foundation::HANDLE, securityinfo: u32, sidowner: *const super::super::Security::SID, sidgroup: *const super::super::Security::SID, dacl: *const super::super::Security::ACL, sacl: *const super::super::Security::ACL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmFilterAdd0(enginehandle: super::super::Foundation::HANDLE, filter: *const FWPM_FILTER0, sd: super::super::Security::PSECURITY_DESCRIPTOR, id: *mut u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmFilterCreateEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumtemplate: *const FWPM_FILTER_ENUM_TEMPLATE0, enumhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmFilterDeleteById0(enginehandle: super::super::Foundation::HANDLE, id: u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmFilterDeleteByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmFilterDestroyEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmFilterEnum0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut FWPM_FILTER0, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmFilterGetById0(enginehandle: super::super::Foundation::HANDLE, id: u64, filter: *mut *mut FWPM_FILTER0) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmFilterGetByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID, filter: *mut *mut FWPM_FILTER0) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmFilterGetSecurityInfoByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID, securityinfo: u32, sidowner: *mut super::super::Foundation::PSID, sidgroup: *mut super::super::Foundation::PSID, dacl: *mut *mut super::super::Security::ACL, sacl: *mut *mut super::super::Security::ACL, securitydescriptor: *mut super::super::Security::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmFilterSetSecurityInfoByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID, securityinfo: u32, sidowner: *const super::super::Security::SID, sidgroup: *const super::super::Security::SID, dacl: *const super::super::Security::ACL, sacl: *const super::super::Security::ACL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmFilterSubscribeChanges0(enginehandle: super::super::Foundation::HANDLE, subscription: *const FWPM_FILTER_SUBSCRIPTION0, callback: FWPM_FILTER_CHANGE_CALLBACK0, context: *const ::core::ffi::c_void, changehandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmFilterSubscriptionsGet0(enginehandle: super::super::Foundation::HANDLE, entries: *mut *mut *mut FWPM_FILTER_SUBSCRIPTION0, numentries: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmFilterUnsubscribeChanges0(enginehandle: super::super::Foundation::HANDLE, changehandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] pub fn FwpmFreeMemory0(p: *mut *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] pub fn FwpmGetAppIdFromFileName0(filename: ::windows_sys::core::PCWSTR, appid: *mut *mut FWP_BYTE_BLOB) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmIPsecTunnelAdd0(enginehandle: super::super::Foundation::HANDLE, flags: u32, mainmodepolicy: *const FWPM_PROVIDER_CONTEXT0, tunnelpolicy: *const FWPM_PROVIDER_CONTEXT0, numfilterconditions: u32, filterconditions: *const FWPM_FILTER_CONDITION0, sd: super::super::Security::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmIPsecTunnelAdd1(enginehandle: super::super::Foundation::HANDLE, flags: u32, mainmodepolicy: *const FWPM_PROVIDER_CONTEXT1, tunnelpolicy: *const FWPM_PROVIDER_CONTEXT1, numfilterconditions: u32, filterconditions: *const FWPM_FILTER_CONDITION0, keymodkey: *const ::windows_sys::core::GUID, sd: super::super::Security::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmIPsecTunnelAdd2(enginehandle: super::super::Foundation::HANDLE, flags: u32, mainmodepolicy: *const FWPM_PROVIDER_CONTEXT2, tunnelpolicy: *const FWPM_PROVIDER_CONTEXT2, numfilterconditions: u32, filterconditions: *const FWPM_FILTER_CONDITION0, keymodkey: *const ::windows_sys::core::GUID, sd: super::super::Security::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmIPsecTunnelAdd3(enginehandle: super::super::Foundation::HANDLE, flags: u32, mainmodepolicy: *const FWPM_PROVIDER_CONTEXT3_, tunnelpolicy: *const FWPM_PROVIDER_CONTEXT3_, numfilterconditions: u32, filterconditions: *const FWPM_FILTER_CONDITION0, keymodkey: *const ::windows_sys::core::GUID, sd: super::super::Security::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmIPsecTunnelDeleteByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmLayerCreateEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumtemplate: *const FWPM_LAYER_ENUM_TEMPLATE0, enumhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmLayerDestroyEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmLayerEnum0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut FWPM_LAYER0, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmLayerGetById0(enginehandle: super::super::Foundation::HANDLE, id: u16, layer: *mut *mut FWPM_LAYER0) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmLayerGetByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID, layer: *mut *mut FWPM_LAYER0) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmLayerGetSecurityInfoByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID, securityinfo: u32, sidowner: *mut super::super::Foundation::PSID, sidgroup: *mut super::super::Foundation::PSID, dacl: *mut *mut super::super::Security::ACL, sacl: *mut *mut super::super::Security::ACL, securitydescriptor: *mut super::super::Security::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmLayerSetSecurityInfoByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID, securityinfo: u32, sidowner: *const super::super::Security::SID, sidgroup: *const super::super::Security::SID, dacl: *const super::super::Security::ACL, sacl: *const super::super::Security::ACL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmNetEventCreateEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumtemplate: *const FWPM_NET_EVENT_ENUM_TEMPLATE0, enumhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmNetEventDestroyEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmNetEventEnum0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut FWPM_NET_EVENT0, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmNetEventEnum1(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut FWPM_NET_EVENT1, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmNetEventEnum2(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut FWPM_NET_EVENT2, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmNetEventEnum3(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut FWPM_NET_EVENT3, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmNetEventEnum4(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut FWPM_NET_EVENT4_, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmNetEventEnum5(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut FWPM_NET_EVENT5_, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmNetEventSubscribe0(enginehandle: super::super::Foundation::HANDLE, subscription: *const FWPM_NET_EVENT_SUBSCRIPTION0, callback: FWPM_NET_EVENT_CALLBACK0, context: *const ::core::ffi::c_void, eventshandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmNetEventSubscribe1(enginehandle: super::super::Foundation::HANDLE, subscription: *const FWPM_NET_EVENT_SUBSCRIPTION0, callback: FWPM_NET_EVENT_CALLBACK1, context: *const ::core::ffi::c_void, eventshandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmNetEventSubscribe2(enginehandle: super::super::Foundation::HANDLE, subscription: *const FWPM_NET_EVENT_SUBSCRIPTION0, callback: FWPM_NET_EVENT_CALLBACK2, context: *const ::core::ffi::c_void, eventshandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmNetEventSubscribe3(enginehandle: super::super::Foundation::HANDLE, subscription: *const FWPM_NET_EVENT_SUBSCRIPTION0, callback: FWPM_NET_EVENT_CALLBACK3, context: *const ::core::ffi::c_void, eventshandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmNetEventSubscribe4(enginehandle: super::super::Foundation::HANDLE, subscription: *const FWPM_NET_EVENT_SUBSCRIPTION0, callback: FWPM_NET_EVENT_CALLBACK4, context: *const ::core::ffi::c_void, eventshandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmNetEventSubscriptionsGet0(enginehandle: super::super::Foundation::HANDLE, entries: *mut *mut *mut FWPM_NET_EVENT_SUBSCRIPTION0, numentries: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmNetEventUnsubscribe0(enginehandle: super::super::Foundation::HANDLE, eventshandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmNetEventsGetSecurityInfo0(enginehandle: super::super::Foundation::HANDLE, securityinfo: u32, sidowner: *mut super::super::Foundation::PSID, sidgroup: *mut super::super::Foundation::PSID, dacl: *mut *mut super::super::Security::ACL, sacl: *mut *mut super::super::Security::ACL, securitydescriptor: *mut super::super::Security::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmNetEventsSetSecurityInfo0(enginehandle: super::super::Foundation::HANDLE, securityinfo: u32, sidowner: *const super::super::Security::SID, sidgroup: *const super::super::Security::SID, dacl: *const super::super::Security::ACL, sacl: *const super::super::Security::ACL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmProviderAdd0(enginehandle: super::super::Foundation::HANDLE, provider: *const FWPM_PROVIDER0, sd: super::super::Security::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmProviderContextAdd0(enginehandle: super::super::Foundation::HANDLE, providercontext: *const FWPM_PROVIDER_CONTEXT0, sd: super::super::Security::PSECURITY_DESCRIPTOR, id: *mut u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmProviderContextAdd1(enginehandle: super::super::Foundation::HANDLE, providercontext: *const FWPM_PROVIDER_CONTEXT1, sd: super::super::Security::PSECURITY_DESCRIPTOR, id: *mut u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmProviderContextAdd2(enginehandle: super::super::Foundation::HANDLE, providercontext: *const FWPM_PROVIDER_CONTEXT2, sd: super::super::Security::PSECURITY_DESCRIPTOR, id: *mut u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmProviderContextAdd3(enginehandle: super::super::Foundation::HANDLE, providercontext: *const FWPM_PROVIDER_CONTEXT3_, sd: super::super::Security::PSECURITY_DESCRIPTOR, id: *mut u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmProviderContextCreateEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumtemplate: *const FWPM_PROVIDER_CONTEXT_ENUM_TEMPLATE0, enumhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmProviderContextDeleteById0(enginehandle: super::super::Foundation::HANDLE, id: u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmProviderContextDeleteByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmProviderContextDestroyEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmProviderContextEnum0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut FWPM_PROVIDER_CONTEXT0, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmProviderContextEnum1(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut FWPM_PROVIDER_CONTEXT1, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmProviderContextEnum2(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut FWPM_PROVIDER_CONTEXT2, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmProviderContextEnum3(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut FWPM_PROVIDER_CONTEXT3_, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmProviderContextGetById0(enginehandle: super::super::Foundation::HANDLE, id: u64, providercontext: *mut *mut FWPM_PROVIDER_CONTEXT0) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmProviderContextGetById1(enginehandle: super::super::Foundation::HANDLE, id: u64, providercontext: *mut *mut FWPM_PROVIDER_CONTEXT1) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmProviderContextGetById2(enginehandle: super::super::Foundation::HANDLE, id: u64, providercontext: *mut *mut FWPM_PROVIDER_CONTEXT2) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmProviderContextGetById3(enginehandle: super::super::Foundation::HANDLE, id: u64, providercontext: *mut *mut FWPM_PROVIDER_CONTEXT3_) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmProviderContextGetByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID, providercontext: *mut *mut FWPM_PROVIDER_CONTEXT0) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmProviderContextGetByKey1(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID, providercontext: *mut *mut FWPM_PROVIDER_CONTEXT1) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmProviderContextGetByKey2(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID, providercontext: *mut *mut FWPM_PROVIDER_CONTEXT2) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmProviderContextGetByKey3(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID, providercontext: *mut *mut FWPM_PROVIDER_CONTEXT3_) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmProviderContextGetSecurityInfoByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID, securityinfo: u32, sidowner: *mut super::super::Foundation::PSID, sidgroup: *mut super::super::Foundation::PSID, dacl: *mut *mut super::super::Security::ACL, sacl: *mut *mut super::super::Security::ACL, securitydescriptor: *mut super::super::Security::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmProviderContextSetSecurityInfoByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID, securityinfo: u32, sidowner: *const super::super::Security::SID, sidgroup: *const super::super::Security::SID, dacl: *const super::super::Security::ACL, sacl: *const super::super::Security::ACL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmProviderContextSubscribeChanges0(enginehandle: super::super::Foundation::HANDLE, subscription: *const FWPM_PROVIDER_CONTEXT_SUBSCRIPTION0, callback: FWPM_PROVIDER_CONTEXT_CHANGE_CALLBACK0, context: *const ::core::ffi::c_void, changehandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmProviderContextSubscriptionsGet0(enginehandle: super::super::Foundation::HANDLE, entries: *mut *mut *mut FWPM_PROVIDER_CONTEXT_SUBSCRIPTION0, numentries: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmProviderContextUnsubscribeChanges0(enginehandle: super::super::Foundation::HANDLE, changehandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmProviderCreateEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumtemplate: *const FWPM_PROVIDER_ENUM_TEMPLATE0, enumhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmProviderDeleteByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmProviderDestroyEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmProviderEnum0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut FWPM_PROVIDER0, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmProviderGetByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID, provider: *mut *mut FWPM_PROVIDER0) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmProviderGetSecurityInfoByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID, securityinfo: u32, sidowner: *mut super::super::Foundation::PSID, sidgroup: *mut super::super::Foundation::PSID, dacl: *mut *mut super::super::Security::ACL, sacl: *mut *mut super::super::Security::ACL, securitydescriptor: *mut super::super::Security::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmProviderSetSecurityInfoByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID, securityinfo: u32, sidowner: *const super::super::Security::SID, sidgroup: *const super::super::Security::SID, dacl: *const super::super::Security::ACL, sacl: *const super::super::Security::ACL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmProviderSubscribeChanges0(enginehandle: super::super::Foundation::HANDLE, subscription: *const FWPM_PROVIDER_SUBSCRIPTION0, callback: FWPM_PROVIDER_CHANGE_CALLBACK0, context: *const ::core::ffi::c_void, changehandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmProviderSubscriptionsGet0(enginehandle: super::super::Foundation::HANDLE, entries: *mut *mut *mut FWPM_PROVIDER_SUBSCRIPTION0, numentries: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmProviderUnsubscribeChanges0(enginehandle: super::super::Foundation::HANDLE, changehandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmSessionCreateEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumtemplate: *const FWPM_SESSION_ENUM_TEMPLATE0, enumhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmSessionDestroyEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmSessionEnum0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut FWPM_SESSION0, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmSubLayerAdd0(enginehandle: super::super::Foundation::HANDLE, sublayer: *const FWPM_SUBLAYER0, sd: super::super::Security::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmSubLayerCreateEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumtemplate: *const FWPM_SUBLAYER_ENUM_TEMPLATE0, enumhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmSubLayerDeleteByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmSubLayerDestroyEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmSubLayerEnum0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut FWPM_SUBLAYER0, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmSubLayerGetByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID, sublayer: *mut *mut FWPM_SUBLAYER0) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmSubLayerGetSecurityInfoByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID, securityinfo: u32, sidowner: *mut super::super::Foundation::PSID, sidgroup: *mut super::super::Foundation::PSID, dacl: *mut *mut super::super::Security::ACL, sacl: *mut *mut super::super::Security::ACL, securitydescriptor: *mut super::super::Security::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmSubLayerSetSecurityInfoByKey0(enginehandle: super::super::Foundation::HANDLE, key: *const ::windows_sys::core::GUID, securityinfo: u32, sidowner: *const super::super::Security::SID, sidgroup: *const super::super::Security::SID, dacl: *const super::super::Security::ACL, sacl: *const super::super::Security::ACL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmSubLayerSubscribeChanges0(enginehandle: super::super::Foundation::HANDLE, subscription: *const FWPM_SUBLAYER_SUBSCRIPTION0, callback: FWPM_SUBLAYER_CHANGE_CALLBACK0, context: *const ::core::ffi::c_void, changehandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmSubLayerSubscriptionsGet0(enginehandle: super::super::Foundation::HANDLE, entries: *mut *mut *mut FWPM_SUBLAYER_SUBSCRIPTION0, numentries: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmSubLayerUnsubscribeChanges0(enginehandle: super::super::Foundation::HANDLE, changehandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmSystemPortsGet0(enginehandle: super::super::Foundation::HANDLE, sysports: *mut *mut FWPM_SYSTEM_PORTS0) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmSystemPortsSubscribe0(enginehandle: super::super::Foundation::HANDLE, reserved: *mut ::core::ffi::c_void, callback: FWPM_SYSTEM_PORTS_CALLBACK0, context: *const ::core::ffi::c_void, sysportshandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmSystemPortsUnsubscribe0(enginehandle: super::super::Foundation::HANDLE, sysportshandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmTransactionAbort0(enginehandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmTransactionBegin0(enginehandle: super::super::Foundation::HANDLE, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmTransactionCommit0(enginehandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmvSwitchEventSubscribe0(enginehandle: super::super::Foundation::HANDLE, subscription: *const FWPM_VSWITCH_EVENT_SUBSCRIPTION0, callback: FWPM_VSWITCH_EVENT_CALLBACK0, context: *const ::core::ffi::c_void, subscriptionhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FwpmvSwitchEventUnsubscribe0(enginehandle: super::super::Foundation::HANDLE, subscriptionhandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmvSwitchEventsGetSecurityInfo0(enginehandle: super::super::Foundation::HANDLE, securityinfo: u32, sidowner: *mut super::super::Foundation::PSID, sidgroup: *mut super::super::Foundation::PSID, dacl: *mut *mut super::super::Security::ACL, sacl: *mut *mut super::super::Security::ACL, securitydescriptor: *mut super::super::Security::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FwpmvSwitchEventsSetSecurityInfo0(enginehandle: super::super::Foundation::HANDLE, securityinfo: u32, sidowner: *const super::super::Security::SID, sidgroup: *const super::super::Security::SID, dacl: *const super::super::Security::ACL, sacl: *const super::super::Security::ACL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn IPsecDospGetSecurityInfo0(enginehandle: super::super::Foundation::HANDLE, securityinfo: u32, sidowner: *mut super::super::Foundation::PSID, sidgroup: *mut super::super::Foundation::PSID, dacl: *mut *mut super::super::Security::ACL, sacl: *mut *mut super::super::Security::ACL, securitydescriptor: *mut super::super::Security::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecDospGetStatistics0(enginehandle: super::super::Foundation::HANDLE, idpstatistics: *mut IPSEC_DOSP_STATISTICS0) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn IPsecDospSetSecurityInfo0(enginehandle: super::super::Foundation::HANDLE, securityinfo: u32, sidowner: *const super::super::Security::SID, sidgroup: *const super::super::Security::SID, dacl: *const super::super::Security::ACL, sacl: *const super::super::Security::ACL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecDospStateCreateEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumtemplate: *const IPSEC_DOSP_STATE_ENUM_TEMPLATE0, enumhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecDospStateDestroyEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecDospStateEnum0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut IPSEC_DOSP_STATE0, numentries: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecGetStatistics0(enginehandle: super::super::Foundation::HANDLE, ipsecstatistics: *mut IPSEC_STATISTICS0) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecGetStatistics1(enginehandle: super::super::Foundation::HANDLE, ipsecstatistics: *mut IPSEC_STATISTICS1) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn IPsecKeyManagerAddAndRegister0(enginehandle: super::super::Foundation::HANDLE, keymanager: *const IPSEC_KEY_MANAGER0, keymanagercallbacks: *const IPSEC_KEY_MANAGER_CALLBACKS0, keymgmthandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn IPsecKeyManagerGetSecurityInfoByKey0(enginehandle: super::super::Foundation::HANDLE, reserved: *const ::core::ffi::c_void, securityinfo: u32, sidowner: *mut super::super::Foundation::PSID, sidgroup: *mut super::super::Foundation::PSID, dacl: *mut *mut super::super::Security::ACL, sacl: *mut *mut super::super::Security::ACL, securitydescriptor: *mut super::super::Security::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn IPsecKeyManagerSetSecurityInfoByKey0(enginehandle: super::super::Foundation::HANDLE, reserved: *const ::core::ffi::c_void, securityinfo: u32, sidowner: *const super::super::Security::SID, sidgroup: *const super::super::Security::SID, dacl: *const super::super::Security::ACL, sacl: *const super::super::Security::ACL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecKeyManagerUnregisterAndDelete0(enginehandle: super::super::Foundation::HANDLE, keymgmthandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecKeyManagersGet0(enginehandle: super::super::Foundation::HANDLE, entries: *mut *mut *mut IPSEC_KEY_MANAGER0, numentries: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecSaContextAddInbound0(enginehandle: super::super::Foundation::HANDLE, id: u64, inboundbundle: *const IPSEC_SA_BUNDLE0) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecSaContextAddInbound1(enginehandle: super::super::Foundation::HANDLE, id: u64, inboundbundle: *const IPSEC_SA_BUNDLE1) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecSaContextAddOutbound0(enginehandle: super::super::Foundation::HANDLE, id: u64, outboundbundle: *const IPSEC_SA_BUNDLE0) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecSaContextAddOutbound1(enginehandle: super::super::Foundation::HANDLE, id: u64, outboundbundle: *const IPSEC_SA_BUNDLE1) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecSaContextCreate0(enginehandle: super::super::Foundation::HANDLE, outboundtraffic: *const IPSEC_TRAFFIC0, inboundfilterid: *mut u64, id: *mut u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecSaContextCreate1(enginehandle: super::super::Foundation::HANDLE, outboundtraffic: *const IPSEC_TRAFFIC1, virtualiftunnelinfo: *const IPSEC_VIRTUAL_IF_TUNNEL_INFO0, inboundfilterid: *mut u64, id: *mut u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn IPsecSaContextCreateEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumtemplate: *const IPSEC_SA_CONTEXT_ENUM_TEMPLATE0, enumhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecSaContextDeleteById0(enginehandle: super::super::Foundation::HANDLE, id: u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecSaContextDestroyEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn IPsecSaContextEnum0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut IPSEC_SA_CONTEXT0, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn IPsecSaContextEnum1(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut IPSEC_SA_CONTEXT1, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecSaContextExpire0(enginehandle: super::super::Foundation::HANDLE, id: u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn IPsecSaContextGetById0(enginehandle: super::super::Foundation::HANDLE, id: u64, sacontext: *mut *mut IPSEC_SA_CONTEXT0) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn IPsecSaContextGetById1(enginehandle: super::super::Foundation::HANDLE, id: u64, sacontext: *mut *mut IPSEC_SA_CONTEXT1) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecSaContextGetSpi0(enginehandle: super::super::Foundation::HANDLE, id: u64, getspi: *const IPSEC_GETSPI0, inboundspi: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecSaContextGetSpi1(enginehandle: super::super::Foundation::HANDLE, id: u64, getspi: *const IPSEC_GETSPI1, inboundspi: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecSaContextSetSpi0(enginehandle: super::super::Foundation::HANDLE, id: u64, getspi: *const IPSEC_GETSPI1, inboundspi: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn IPsecSaContextSubscribe0(enginehandle: super::super::Foundation::HANDLE, subscription: *const IPSEC_SA_CONTEXT_SUBSCRIPTION0, callback: IPSEC_SA_CONTEXT_CALLBACK0, context: *const ::core::ffi::c_void, eventshandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn IPsecSaContextSubscriptionsGet0(enginehandle: super::super::Foundation::HANDLE, entries: *mut *mut *mut IPSEC_SA_CONTEXT_SUBSCRIPTION0, numentries: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecSaContextUnsubscribe0(enginehandle: super::super::Foundation::HANDLE, eventshandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn IPsecSaContextUpdate0(enginehandle: super::super::Foundation::HANDLE, flags: u64, newvalues: *const IPSEC_SA_CONTEXT1) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecSaCreateEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumtemplate: *const IPSEC_SA_ENUM_TEMPLATE0, enumhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn IPsecSaDbGetSecurityInfo0(enginehandle: super::super::Foundation::HANDLE, securityinfo: u32, sidowner: *mut super::super::Foundation::PSID, sidgroup: *mut super::super::Foundation::PSID, dacl: *mut *mut super::super::Security::ACL, sacl: *mut *mut super::super::Security::ACL, securitydescriptor: *mut super::super::Security::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn IPsecSaDbSetSecurityInfo0(enginehandle: super::super::Foundation::HANDLE, securityinfo: u32, sidowner: *const super::super::Security::SID, sidgroup: *const super::super::Security::SID, dacl: *const super::super::Security::ACL, sacl: *const super::super::Security::ACL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IPsecSaDestroyEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn IPsecSaEnum0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut IPSEC_SA_DETAILS0, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn IPsecSaEnum1(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut IPSEC_SA_DETAILS1, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IkeextGetStatistics0(enginehandle: super::super::Foundation::HANDLE, ikeextstatistics: *mut IKEEXT_STATISTICS0) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IkeextGetStatistics1(enginehandle: super::super::Foundation::HANDLE, ikeextstatistics: *mut IKEEXT_STATISTICS1) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn IkeextSaCreateEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumtemplate: *const IKEEXT_SA_ENUM_TEMPLATE0, enumhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn IkeextSaDbGetSecurityInfo0(enginehandle: super::super::Foundation::HANDLE, securityinfo: u32, sidowner: *mut super::super::Foundation::PSID, sidgroup: *mut super::super::Foundation::PSID, dacl: *mut *mut super::super::Security::ACL, sacl: *mut *mut super::super::Security::ACL, securitydescriptor: *mut super::super::Security::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn IkeextSaDbSetSecurityInfo0(enginehandle: super::super::Foundation::HANDLE, securityinfo: u32, sidowner: *const super::super::Security::SID, sidgroup: *const super::super::Security::SID, dacl: *const super::super::Security::ACL, sacl: *const super::super::Security::ACL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IkeextSaDeleteById0(enginehandle: super::super::Foundation::HANDLE, id: u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IkeextSaDestroyEnumHandle0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IkeextSaEnum0(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut IKEEXT_SA_DETAILS0, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IkeextSaEnum1(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut IKEEXT_SA_DETAILS1, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IkeextSaEnum2(enginehandle: super::super::Foundation::HANDLE, enumhandle: super::super::Foundation::HANDLE, numentriesrequested: u32, entries: *mut *mut *mut IKEEXT_SA_DETAILS2, numentriesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IkeextSaGetById0(enginehandle: super::super::Foundation::HANDLE, id: u64, sa: *mut *mut IKEEXT_SA_DETAILS0) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IkeextSaGetById1(enginehandle: super::super::Foundation::HANDLE, id: u64, salookupcontext: *const ::windows_sys::core::GUID, sa: *mut *mut IKEEXT_SA_DETAILS1) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IkeextSaGetById2(enginehandle: super::super::Foundation::HANDLE, id: u64, salookupcontext: *const ::windows_sys::core::GUID, sa: *mut *mut IKEEXT_SA_DETAILS2) -> u32; diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs index b96c0400e3..5bf9175530 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs @@ -1,25 +1,46 @@ #[cfg_attr(windows, link(name = "windows"))] -extern "system" { +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`*"] pub fn NetworkIsolationDiagnoseConnectFailureAndGetInfo(wszservername: ::windows_sys::core::PCWSTR, netisoerror: *mut NETISO_ERROR_TYPE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn NetworkIsolationEnumAppContainers(flags: u32, pdwnumpublicappcs: *mut u32, pppublicappcs: *mut *mut INET_FIREWALL_APP_CONTAINER) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn NetworkIsolationFreeAppContainers(ppublicappcs: *const INET_FIREWALL_APP_CONTAINER) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn NetworkIsolationGetAppContainerConfig(pdwnumpublicappcs: *mut u32, appcontainersids: *mut *mut super::super::Security::SID_AND_ATTRIBUTES) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn NetworkIsolationRegisterForAppContainerChanges(flags: u32, callback: PAC_CHANGES_CALLBACK_FN, context: *const ::core::ffi::c_void, registrationobject: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn NetworkIsolationSetAppContainerConfig(dwnumpublicappcs: u32, appcontainersids: *const super::super::Security::SID_AND_ATTRIBUTES) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NetworkIsolationSetupAppContainerBinaries(applicationcontainersid: super::super::Foundation::PSID, packagefullname: ::windows_sys::core::PCWSTR, packagefolder: ::windows_sys::core::PCWSTR, displayname: ::windows_sys::core::PCWSTR, bbinariesfullycomputed: super::super::Foundation::BOOL, binaries: *const ::windows_sys::core::PWSTR, binariescount: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NetworkIsolationUnregisterForAppContainerChanges(registrationobject: super::super::Foundation::HANDLE) -> u32; diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization/mod.rs index 589ff59655..4fa2f942d7 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization/mod.rs @@ -3,6 +3,9 @@ extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WnvOpen() -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WnvRequestNotification(wnvhandle: super::super::Foundation::HANDLE, notificationparam: *mut WNV_NOTIFICATION_PARAM, overlapped: *mut super::super::System::IO::OVERLAPPED, bytestransferred: *mut u32) -> u32; diff --git a/crates/libs/sys/src/Windows/Win32/Networking/ActiveDirectory/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/ActiveDirectory/mod.rs index d75a920991..6975fbed50 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/ActiveDirectory/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/ActiveDirectory/mod.rs @@ -3,417 +3,888 @@ extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn ADsBuildEnumerator(padscontainer: IADsContainer, ppenumvariant: *mut super::super::System::Ole::IEnumVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn ADsBuildVarArrayInt(lpdwobjecttypes: *mut u32, dwobjecttypes: u32, pvar: *mut super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn ADsBuildVarArrayStr(lpppathnames: *const ::windows_sys::core::PWSTR, dwpathnames: u32, pvar: *mut super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn ADsDecodeBinaryData(szsrcdata: ::windows_sys::core::PCWSTR, ppbdestdata: *mut *mut u8, pdwdestlen: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn ADsEncodeBinaryData(pbsrcdata: *mut u8, dwsrclen: u32, ppszdestdata: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn ADsEnumerateNext(penumvariant: super::super::System::Ole::IEnumVARIANT, celements: u32, pvar: *mut super::super::System::Com::VARIANT, pcelementsfetched: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub fn ADsFreeEnumerator(penumvariant: super::super::System::Ole::IEnumVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn ADsGetLastError(lperror: *mut u32, lperrorbuf: ::windows_sys::core::PWSTR, dwerrorbuflen: u32, lpnamebuf: ::windows_sys::core::PWSTR, dwnamebuflen: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn ADsGetObject(lpszpathname: ::windows_sys::core::PCWSTR, riid: *const ::windows_sys::core::GUID, ppobject: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn ADsOpenObject(lpszpathname: ::windows_sys::core::PCWSTR, lpszusername: ::windows_sys::core::PCWSTR, lpszpassword: ::windows_sys::core::PCWSTR, dwreserved: ADS_AUTHENTICATION_ENUM, riid: *const ::windows_sys::core::GUID, ppobject: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ADsPropCheckIfWritable(pwzattr: ::windows_sys::core::PCWSTR, pwritableattrs: *const ADS_ATTR_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn ADsPropCreateNotifyObj(pappthddataobj: super::super::System::Com::IDataObject, pwzadsobjname: ::windows_sys::core::PCWSTR, phnotifyobj: *mut super::super::Foundation::HWND) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ADsPropGetInitInfo(hnotifyobj: super::super::Foundation::HWND, pinitparams: *mut ADSPROPINITPARAMS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ADsPropSendErrorMessage(hnotifyobj: super::super::Foundation::HWND, perror: *mut ADSPROPERROR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ADsPropSetHwnd(hnotifyobj: super::super::Foundation::HWND, hpage: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ADsPropSetHwndWithTitle(hnotifyobj: super::super::Foundation::HWND, hpage: super::super::Foundation::HWND, ptztitle: *const i8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ADsPropShowErrorDialog(hnotifyobj: super::super::Foundation::HWND, hpage: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn ADsSetLastError(dwerr: u32, pszerror: ::windows_sys::core::PCWSTR, pszprovider: ::windows_sys::core::PCWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AdsFreeAdsValues(padsvalues: *mut ADSVALUE, dwnumvalues: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn AdsTypeToPropVariant(padsvalues: *mut ADSVALUE, dwnumvalues: u32, pvariant: *mut super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn AllocADsMem(cb: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn AllocADsStr(pstr: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn BinarySDToSecurityDescriptor(psecuritydescriptor: super::super::Security::PSECURITY_DESCRIPTOR, pvarsec: *mut super::super::System::Com::VARIANT, pszservername: ::windows_sys::core::PCWSTR, username: ::windows_sys::core::PCWSTR, password: ::windows_sys::core::PCWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsAddSidHistoryA(hds: super::super::Foundation::HANDLE, flags: u32, srcdomain: ::windows_sys::core::PCSTR, srcprincipal: ::windows_sys::core::PCSTR, srcdomaincontroller: ::windows_sys::core::PCSTR, srcdomaincreds: *const ::core::ffi::c_void, dstdomain: ::windows_sys::core::PCSTR, dstprincipal: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsAddSidHistoryW(hds: super::super::Foundation::HANDLE, flags: u32, srcdomain: ::windows_sys::core::PCWSTR, srcprincipal: ::windows_sys::core::PCWSTR, srcdomaincontroller: ::windows_sys::core::PCWSTR, srcdomaincreds: *const ::core::ffi::c_void, dstdomain: ::windows_sys::core::PCWSTR, dstprincipal: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn DsAddressToSiteNamesA(computername: ::windows_sys::core::PCSTR, entrycount: u32, socketaddresses: *const super::WinSock::SOCKET_ADDRESS, sitenames: *mut *mut ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn DsAddressToSiteNamesExA(computername: ::windows_sys::core::PCSTR, entrycount: u32, socketaddresses: *const super::WinSock::SOCKET_ADDRESS, sitenames: *mut *mut ::windows_sys::core::PSTR, subnetnames: *mut *mut ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn DsAddressToSiteNamesExW(computername: ::windows_sys::core::PCWSTR, entrycount: u32, socketaddresses: *const super::WinSock::SOCKET_ADDRESS, sitenames: *mut *mut ::windows_sys::core::PWSTR, subnetnames: *mut *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn DsAddressToSiteNamesW(computername: ::windows_sys::core::PCWSTR, entrycount: u32, socketaddresses: *const super::WinSock::SOCKET_ADDRESS, sitenames: *mut *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsBindA(domaincontrollername: ::windows_sys::core::PCSTR, dnsdomainname: ::windows_sys::core::PCSTR, phds: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsBindByInstanceA(servername: ::windows_sys::core::PCSTR, annotation: ::windows_sys::core::PCSTR, instanceguid: *const ::windows_sys::core::GUID, dnsdomainname: ::windows_sys::core::PCSTR, authidentity: *const ::core::ffi::c_void, serviceprincipalname: ::windows_sys::core::PCSTR, bindflags: u32, phds: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsBindByInstanceW(servername: ::windows_sys::core::PCWSTR, annotation: ::windows_sys::core::PCWSTR, instanceguid: *const ::windows_sys::core::GUID, dnsdomainname: ::windows_sys::core::PCWSTR, authidentity: *const ::core::ffi::c_void, serviceprincipalname: ::windows_sys::core::PCWSTR, bindflags: u32, phds: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsBindToISTGA(sitename: ::windows_sys::core::PCSTR, phds: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsBindToISTGW(sitename: ::windows_sys::core::PCWSTR, phds: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsBindW(domaincontrollername: ::windows_sys::core::PCWSTR, dnsdomainname: ::windows_sys::core::PCWSTR, phds: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsBindWithCredA(domaincontrollername: ::windows_sys::core::PCSTR, dnsdomainname: ::windows_sys::core::PCSTR, authidentity: *const ::core::ffi::c_void, phds: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsBindWithCredW(domaincontrollername: ::windows_sys::core::PCWSTR, dnsdomainname: ::windows_sys::core::PCWSTR, authidentity: *const ::core::ffi::c_void, phds: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsBindWithSpnA(domaincontrollername: ::windows_sys::core::PCSTR, dnsdomainname: ::windows_sys::core::PCSTR, authidentity: *const ::core::ffi::c_void, serviceprincipalname: ::windows_sys::core::PCSTR, phds: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsBindWithSpnExA(domaincontrollername: ::windows_sys::core::PCSTR, dnsdomainname: ::windows_sys::core::PCSTR, authidentity: *const ::core::ffi::c_void, serviceprincipalname: ::windows_sys::core::PCSTR, bindflags: u32, phds: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsBindWithSpnExW(domaincontrollername: ::windows_sys::core::PCWSTR, dnsdomainname: ::windows_sys::core::PCWSTR, authidentity: *const ::core::ffi::c_void, serviceprincipalname: ::windows_sys::core::PCWSTR, bindflags: u32, phds: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsBindWithSpnW(domaincontrollername: ::windows_sys::core::PCWSTR, dnsdomainname: ::windows_sys::core::PCWSTR, authidentity: *const ::core::ffi::c_void, serviceprincipalname: ::windows_sys::core::PCWSTR, phds: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsBindingSetTimeout(hds: super::super::Foundation::HANDLE, ctimeoutsecs: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell"))] pub fn DsBrowseForContainerA(pinfo: *mut DSBROWSEINFOA) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell"))] pub fn DsBrowseForContainerW(pinfo: *mut DSBROWSEINFOW) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsClientMakeSpnForTargetServerA(serviceclass: ::windows_sys::core::PCSTR, servicename: ::windows_sys::core::PCSTR, pcspnlength: *mut u32, pszspn: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsClientMakeSpnForTargetServerW(serviceclass: ::windows_sys::core::PCWSTR, servicename: ::windows_sys::core::PCWSTR, pcspnlength: *mut u32, pszspn: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsCrackNamesA(hds: super::super::Foundation::HANDLE, flags: DS_NAME_FLAGS, formatoffered: DS_NAME_FORMAT, formatdesired: DS_NAME_FORMAT, cnames: u32, rpnames: *const ::windows_sys::core::PSTR, ppresult: *mut *mut DS_NAME_RESULTA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsCrackNamesW(hds: super::super::Foundation::HANDLE, flags: DS_NAME_FLAGS, formatoffered: DS_NAME_FORMAT, formatdesired: DS_NAME_FORMAT, cnames: u32, rpnames: *const ::windows_sys::core::PWSTR, ppresult: *mut *mut DS_NAME_RESULTW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsCrackSpn2A(pszspn: ::windows_sys::core::PCSTR, cspn: u32, pcserviceclass: *mut u32, serviceclass: ::windows_sys::core::PSTR, pcservicename: *mut u32, servicename: ::windows_sys::core::PSTR, pcinstancename: *mut u32, instancename: ::windows_sys::core::PSTR, pinstanceport: *mut u16) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsCrackSpn2W(pszspn: ::windows_sys::core::PCWSTR, cspn: u32, pcserviceclass: *mut u32, serviceclass: ::windows_sys::core::PWSTR, pcservicename: *mut u32, servicename: ::windows_sys::core::PWSTR, pcinstancename: *mut u32, instancename: ::windows_sys::core::PWSTR, pinstanceport: *mut u16) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsCrackSpn3W(pszspn: ::windows_sys::core::PCWSTR, cspn: u32, pchostname: *mut u32, hostname: ::windows_sys::core::PWSTR, pcinstancename: *mut u32, instancename: ::windows_sys::core::PWSTR, pportnumber: *mut u16, pcdomainname: *mut u32, domainname: ::windows_sys::core::PWSTR, pcrealmname: *mut u32, realmname: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsCrackSpn4W(pszspn: ::windows_sys::core::PCWSTR, cspn: u32, pchostname: *mut u32, hostname: ::windows_sys::core::PWSTR, pcinstancename: *mut u32, instancename: ::windows_sys::core::PWSTR, pcportname: *mut u32, portname: ::windows_sys::core::PWSTR, pcdomainname: *mut u32, domainname: ::windows_sys::core::PWSTR, pcrealmname: *mut u32, realmname: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsCrackSpnA(pszspn: ::windows_sys::core::PCSTR, pcserviceclass: *mut u32, serviceclass: ::windows_sys::core::PSTR, pcservicename: *mut u32, servicename: ::windows_sys::core::PSTR, pcinstancename: *mut u32, instancename: ::windows_sys::core::PSTR, pinstanceport: *mut u16) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsCrackSpnW(pszspn: ::windows_sys::core::PCWSTR, pcserviceclass: *mut u32, serviceclass: ::windows_sys::core::PWSTR, pcservicename: *mut u32, servicename: ::windows_sys::core::PWSTR, pcinstancename: *mut u32, instancename: ::windows_sys::core::PWSTR, pinstanceport: *mut u16) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsCrackUnquotedMangledRdnA(pszrdn: ::windows_sys::core::PCSTR, cchrdn: u32, pguid: *mut ::windows_sys::core::GUID, pedsmanglefor: *mut DS_MANGLE_FOR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsCrackUnquotedMangledRdnW(pszrdn: ::windows_sys::core::PCWSTR, cchrdn: u32, pguid: *mut ::windows_sys::core::GUID, pedsmanglefor: *mut DS_MANGLE_FOR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsDeregisterDnsHostRecordsA(servername: ::windows_sys::core::PCSTR, dnsdomainname: ::windows_sys::core::PCSTR, domainguid: *const ::windows_sys::core::GUID, dsaguid: *const ::windows_sys::core::GUID, dnshostname: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsDeregisterDnsHostRecordsW(servername: ::windows_sys::core::PCWSTR, dnsdomainname: ::windows_sys::core::PCWSTR, domainguid: *const ::windows_sys::core::GUID, dsaguid: *const ::windows_sys::core::GUID, dnshostname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsEnumerateDomainTrustsA(servername: ::windows_sys::core::PCSTR, flags: u32, domains: *mut *mut DS_DOMAIN_TRUSTSA, domaincount: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsEnumerateDomainTrustsW(servername: ::windows_sys::core::PCWSTR, flags: u32, domains: *mut *mut DS_DOMAIN_TRUSTSW, domaincount: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsFreeDomainControllerInfoA(infolevel: u32, cinfo: u32, pinfo: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsFreeDomainControllerInfoW(infolevel: u32, cinfo: u32, pinfo: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsFreeNameResultA(presult: *const DS_NAME_RESULTA); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsFreeNameResultW(presult: *const DS_NAME_RESULTW); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsFreePasswordCredentials(authidentity: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsFreeSchemaGuidMapA(pguidmap: *const DS_SCHEMA_GUID_MAPA); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsFreeSchemaGuidMapW(pguidmap: *const DS_SCHEMA_GUID_MAPW); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsFreeSpnArrayA(cspn: u32, rpszspn: *mut ::windows_sys::core::PSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsFreeSpnArrayW(cspn: u32, rpszspn: *mut ::windows_sys::core::PWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsGetDcCloseW(getdccontexthandle: GetDcContextHandle); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsGetDcNameA(computername: ::windows_sys::core::PCSTR, domainname: ::windows_sys::core::PCSTR, domainguid: *const ::windows_sys::core::GUID, sitename: ::windows_sys::core::PCSTR, flags: u32, domaincontrollerinfo: *mut *mut DOMAIN_CONTROLLER_INFOA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsGetDcNameW(computername: ::windows_sys::core::PCWSTR, domainname: ::windows_sys::core::PCWSTR, domainguid: *const ::windows_sys::core::GUID, sitename: ::windows_sys::core::PCWSTR, flags: u32, domaincontrollerinfo: *mut *mut DOMAIN_CONTROLLER_INFOW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn DsGetDcNextA(getdccontexthandle: super::super::Foundation::HANDLE, sockaddresscount: *mut u32, sockaddresses: *mut *mut super::WinSock::SOCKET_ADDRESS, dnshostname: *mut ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn DsGetDcNextW(getdccontexthandle: super::super::Foundation::HANDLE, sockaddresscount: *mut u32, sockaddresses: *mut *mut super::WinSock::SOCKET_ADDRESS, dnshostname: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsGetDcOpenA(dnsname: ::windows_sys::core::PCSTR, optionflags: u32, sitename: ::windows_sys::core::PCSTR, domainguid: *const ::windows_sys::core::GUID, dnsforestname: ::windows_sys::core::PCSTR, dcflags: u32, retgetdccontext: *mut GetDcContextHandle) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsGetDcOpenW(dnsname: ::windows_sys::core::PCWSTR, optionflags: u32, sitename: ::windows_sys::core::PCWSTR, domainguid: *const ::windows_sys::core::GUID, dnsforestname: ::windows_sys::core::PCWSTR, dcflags: u32, retgetdccontext: *mut GetDcContextHandle) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsGetDcSiteCoverageA(servername: ::windows_sys::core::PCSTR, entrycount: *mut u32, sitenames: *mut *mut ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsGetDcSiteCoverageW(servername: ::windows_sys::core::PCWSTR, entrycount: *mut u32, sitenames: *mut *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsGetDomainControllerInfoA(hds: super::super::Foundation::HANDLE, domainname: ::windows_sys::core::PCSTR, infolevel: u32, pcout: *mut u32, ppinfo: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsGetDomainControllerInfoW(hds: super::super::Foundation::HANDLE, domainname: ::windows_sys::core::PCWSTR, infolevel: u32, pcout: *mut u32, ppinfo: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] pub fn DsGetForestTrustInformationW(servername: ::windows_sys::core::PCWSTR, trusteddomainname: ::windows_sys::core::PCWSTR, flags: u32, foresttrustinfo: *mut *mut super::super::Security::Authentication::Identity::LSA_FOREST_TRUST_INFORMATION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsGetFriendlyClassName(pszobjectclass: ::windows_sys::core::PCWSTR, pszbuffer: ::windows_sys::core::PWSTR, cchbuffer: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn DsGetIcon(dwflags: u32, pszobjectclass: ::windows_sys::core::PCWSTR, cximage: i32, cyimage: i32) -> super::super::UI::WindowsAndMessaging::HICON; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsGetRdnW(ppdn: *mut ::windows_sys::core::PWSTR, pcdn: *mut u32, ppkey: *mut ::windows_sys::core::PWSTR, pckey: *mut u32, ppval: *mut ::windows_sys::core::PWSTR, pcval: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsGetSiteNameA(computername: ::windows_sys::core::PCSTR, sitename: *mut ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsGetSiteNameW(computername: ::windows_sys::core::PCWSTR, sitename: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsGetSpnA(servicetype: DS_SPN_NAME_TYPE, serviceclass: ::windows_sys::core::PCSTR, servicename: ::windows_sys::core::PCSTR, instanceport: u16, cinstancenames: u16, pinstancenames: *const ::windows_sys::core::PSTR, pinstanceports: *const u16, pcspn: *mut u32, prpszspn: *mut *mut ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsGetSpnW(servicetype: DS_SPN_NAME_TYPE, serviceclass: ::windows_sys::core::PCWSTR, servicename: ::windows_sys::core::PCWSTR, instanceport: u16, cinstancenames: u16, pinstancenames: *const ::windows_sys::core::PWSTR, pinstanceports: *const u16, pcspn: *mut u32, prpszspn: *mut *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsInheritSecurityIdentityA(hds: super::super::Foundation::HANDLE, flags: u32, srcprincipal: ::windows_sys::core::PCSTR, dstprincipal: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsInheritSecurityIdentityW(hds: super::super::Foundation::HANDLE, flags: u32, srcprincipal: ::windows_sys::core::PCWSTR, dstprincipal: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsIsMangledDnA(pszdn: ::windows_sys::core::PCSTR, edsmanglefor: DS_MANGLE_FOR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsIsMangledDnW(pszdn: ::windows_sys::core::PCWSTR, edsmanglefor: DS_MANGLE_FOR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsIsMangledRdnValueA(pszrdn: ::windows_sys::core::PCSTR, crdn: u32, edsmanglefordesired: DS_MANGLE_FOR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsIsMangledRdnValueW(pszrdn: ::windows_sys::core::PCWSTR, crdn: u32, edsmanglefordesired: DS_MANGLE_FOR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsListDomainsInSiteA(hds: super::super::Foundation::HANDLE, site: ::windows_sys::core::PCSTR, ppdomains: *mut *mut DS_NAME_RESULTA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsListDomainsInSiteW(hds: super::super::Foundation::HANDLE, site: ::windows_sys::core::PCWSTR, ppdomains: *mut *mut DS_NAME_RESULTW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsListInfoForServerA(hds: super::super::Foundation::HANDLE, server: ::windows_sys::core::PCSTR, ppinfo: *mut *mut DS_NAME_RESULTA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsListInfoForServerW(hds: super::super::Foundation::HANDLE, server: ::windows_sys::core::PCWSTR, ppinfo: *mut *mut DS_NAME_RESULTW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsListRolesA(hds: super::super::Foundation::HANDLE, pproles: *mut *mut DS_NAME_RESULTA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsListRolesW(hds: super::super::Foundation::HANDLE, pproles: *mut *mut DS_NAME_RESULTW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsListServersForDomainInSiteA(hds: super::super::Foundation::HANDLE, domain: ::windows_sys::core::PCSTR, site: ::windows_sys::core::PCSTR, ppservers: *mut *mut DS_NAME_RESULTA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsListServersForDomainInSiteW(hds: super::super::Foundation::HANDLE, domain: ::windows_sys::core::PCWSTR, site: ::windows_sys::core::PCWSTR, ppservers: *mut *mut DS_NAME_RESULTW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsListServersInSiteA(hds: super::super::Foundation::HANDLE, site: ::windows_sys::core::PCSTR, ppservers: *mut *mut DS_NAME_RESULTA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsListServersInSiteW(hds: super::super::Foundation::HANDLE, site: ::windows_sys::core::PCWSTR, ppservers: *mut *mut DS_NAME_RESULTW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsListSitesA(hds: super::super::Foundation::HANDLE, ppsites: *mut *mut DS_NAME_RESULTA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsListSitesW(hds: super::super::Foundation::HANDLE, ppsites: *mut *mut DS_NAME_RESULTW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsMakePasswordCredentialsA(user: ::windows_sys::core::PCSTR, domain: ::windows_sys::core::PCSTR, password: ::windows_sys::core::PCSTR, pauthidentity: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsMakePasswordCredentialsW(user: ::windows_sys::core::PCWSTR, domain: ::windows_sys::core::PCWSTR, password: ::windows_sys::core::PCWSTR, pauthidentity: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsMakeSpnA(serviceclass: ::windows_sys::core::PCSTR, servicename: ::windows_sys::core::PCSTR, instancename: ::windows_sys::core::PCSTR, instanceport: u16, referrer: ::windows_sys::core::PCSTR, pcspnlength: *mut u32, pszspn: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsMakeSpnW(serviceclass: ::windows_sys::core::PCWSTR, servicename: ::windows_sys::core::PCWSTR, instancename: ::windows_sys::core::PCWSTR, instanceport: u16, referrer: ::windows_sys::core::PCWSTR, pcspnlength: *mut u32, pszspn: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsMapSchemaGuidsA(hds: super::super::Foundation::HANDLE, cguids: u32, rguids: *const ::windows_sys::core::GUID, ppguidmap: *mut *mut DS_SCHEMA_GUID_MAPA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsMapSchemaGuidsW(hds: super::super::Foundation::HANDLE, cguids: u32, rguids: *const ::windows_sys::core::GUID, ppguidmap: *mut *mut DS_SCHEMA_GUID_MAPW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] pub fn DsMergeForestTrustInformationW(domainname: ::windows_sys::core::PCWSTR, newforesttrustinfo: *const super::super::Security::Authentication::Identity::LSA_FOREST_TRUST_INFORMATION, oldforesttrustinfo: *const super::super::Security::Authentication::Identity::LSA_FOREST_TRUST_INFORMATION, mergedforesttrustinfo: *mut *mut super::super::Security::Authentication::Identity::LSA_FOREST_TRUST_INFORMATION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsQuerySitesByCostA(hds: super::super::Foundation::HANDLE, pszfromsite: ::windows_sys::core::PCSTR, rgsztosites: *const ::windows_sys::core::PSTR, ctosites: u32, dwflags: u32, prgsiteinfo: *mut *mut DS_SITE_COST_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsQuerySitesByCostW(hds: super::super::Foundation::HANDLE, pwszfromsite: ::windows_sys::core::PCWSTR, rgwsztosites: *const ::windows_sys::core::PWSTR, ctosites: u32, dwflags: u32, prgsiteinfo: *mut *mut DS_SITE_COST_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsQuerySitesFree(rgsiteinfo: *const DS_SITE_COST_INFO); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsQuoteRdnValueA(cunquotedrdnvaluelength: u32, psunquotedrdnvalue: ::windows_sys::core::PCSTR, pcquotedrdnvaluelength: *mut u32, psquotedrdnvalue: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsQuoteRdnValueW(cunquotedrdnvaluelength: u32, psunquotedrdnvalue: ::windows_sys::core::PCWSTR, pcquotedrdnvaluelength: *mut u32, psquotedrdnvalue: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsRemoveDsDomainA(hds: super::super::Foundation::HANDLE, domaindn: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsRemoveDsDomainW(hds: super::super::Foundation::HANDLE, domaindn: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsRemoveDsServerA(hds: super::super::Foundation::HANDLE, serverdn: ::windows_sys::core::PCSTR, domaindn: ::windows_sys::core::PCSTR, flastdcindomain: *mut super::super::Foundation::BOOL, fcommit: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsRemoveDsServerW(hds: super::super::Foundation::HANDLE, serverdn: ::windows_sys::core::PCWSTR, domaindn: ::windows_sys::core::PCWSTR, flastdcindomain: *mut super::super::Foundation::BOOL, fcommit: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsReplicaAddA(hds: super::super::Foundation::HANDLE, namecontext: ::windows_sys::core::PCSTR, sourcedsadn: ::windows_sys::core::PCSTR, transportdn: ::windows_sys::core::PCSTR, sourcedsaaddress: ::windows_sys::core::PCSTR, pschedule: *const SCHEDULE, options: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsReplicaAddW(hds: super::super::Foundation::HANDLE, namecontext: ::windows_sys::core::PCWSTR, sourcedsadn: ::windows_sys::core::PCWSTR, transportdn: ::windows_sys::core::PCWSTR, sourcedsaaddress: ::windows_sys::core::PCWSTR, pschedule: *const SCHEDULE, options: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsReplicaConsistencyCheck(hds: super::super::Foundation::HANDLE, taskid: DS_KCC_TASKID, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsReplicaDelA(hds: super::super::Foundation::HANDLE, namecontext: ::windows_sys::core::PCSTR, dsasrc: ::windows_sys::core::PCSTR, options: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsReplicaDelW(hds: super::super::Foundation::HANDLE, namecontext: ::windows_sys::core::PCWSTR, dsasrc: ::windows_sys::core::PCWSTR, options: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsReplicaFreeInfo(infotype: DS_REPL_INFO_TYPE, pinfo: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsReplicaGetInfo2W(hds: super::super::Foundation::HANDLE, infotype: DS_REPL_INFO_TYPE, pszobject: ::windows_sys::core::PCWSTR, puuidforsourcedsaobjguid: *const ::windows_sys::core::GUID, pszattributename: ::windows_sys::core::PCWSTR, pszvalue: ::windows_sys::core::PCWSTR, dwflags: u32, dwenumerationcontext: u32, ppinfo: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsReplicaGetInfoW(hds: super::super::Foundation::HANDLE, infotype: DS_REPL_INFO_TYPE, pszobject: ::windows_sys::core::PCWSTR, puuidforsourcedsaobjguid: *const ::windows_sys::core::GUID, ppinfo: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsReplicaModifyA(hds: super::super::Foundation::HANDLE, namecontext: ::windows_sys::core::PCSTR, puuidsourcedsa: *const ::windows_sys::core::GUID, transportdn: ::windows_sys::core::PCSTR, sourcedsaaddress: ::windows_sys::core::PCSTR, pschedule: *const SCHEDULE, replicaflags: u32, modifyfields: u32, options: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsReplicaModifyW(hds: super::super::Foundation::HANDLE, namecontext: ::windows_sys::core::PCWSTR, puuidsourcedsa: *const ::windows_sys::core::GUID, transportdn: ::windows_sys::core::PCWSTR, sourcedsaaddress: ::windows_sys::core::PCWSTR, pschedule: *const SCHEDULE, replicaflags: u32, modifyfields: u32, options: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsReplicaSyncA(hds: super::super::Foundation::HANDLE, namecontext: ::windows_sys::core::PCSTR, puuiddsasrc: *const ::windows_sys::core::GUID, options: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsReplicaSyncAllA(hds: super::super::Foundation::HANDLE, psznamecontext: ::windows_sys::core::PCSTR, ulflags: u32, pfncallback: isize, pcallbackdata: *const ::core::ffi::c_void, perrors: *mut *mut *mut DS_REPSYNCALL_ERRINFOA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsReplicaSyncAllW(hds: super::super::Foundation::HANDLE, psznamecontext: ::windows_sys::core::PCWSTR, ulflags: u32, pfncallback: isize, pcallbackdata: *const ::core::ffi::c_void, perrors: *mut *mut *mut DS_REPSYNCALL_ERRINFOW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsReplicaSyncW(hds: super::super::Foundation::HANDLE, namecontext: ::windows_sys::core::PCWSTR, puuiddsasrc: *const ::windows_sys::core::GUID, options: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsReplicaUpdateRefsA(hds: super::super::Foundation::HANDLE, namecontext: ::windows_sys::core::PCSTR, dsadest: ::windows_sys::core::PCSTR, puuiddsadest: *const ::windows_sys::core::GUID, options: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsReplicaUpdateRefsW(hds: super::super::Foundation::HANDLE, namecontext: ::windows_sys::core::PCWSTR, dsadest: ::windows_sys::core::PCWSTR, puuiddsadest: *const ::windows_sys::core::GUID, options: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsReplicaVerifyObjectsA(hds: super::super::Foundation::HANDLE, namecontext: ::windows_sys::core::PCSTR, puuiddsasrc: *const ::windows_sys::core::GUID, uloptions: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsReplicaVerifyObjectsW(hds: super::super::Foundation::HANDLE, namecontext: ::windows_sys::core::PCWSTR, puuiddsasrc: *const ::windows_sys::core::GUID, uloptions: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsRoleFreeMemory(buffer: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsRoleGetPrimaryDomainInformation(lpserver: ::windows_sys::core::PCWSTR, infolevel: DSROLE_PRIMARY_DOMAIN_INFO_LEVEL, buffer: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsServerRegisterSpnA(operation: DS_SPN_WRITE_OP, serviceclass: ::windows_sys::core::PCSTR, userobjectdn: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsServerRegisterSpnW(operation: DS_SPN_WRITE_OP, serviceclass: ::windows_sys::core::PCWSTR, userobjectdn: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsUnBindA(phds: *const super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsUnBindW(phds: *const super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsUnquoteRdnValueA(cquotedrdnvaluelength: u32, psquotedrdnvalue: ::windows_sys::core::PCSTR, pcunquotedrdnvaluelength: *mut u32, psunquotedrdnvalue: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsUnquoteRdnValueW(cquotedrdnvaluelength: u32, psquotedrdnvalue: ::windows_sys::core::PCWSTR, pcunquotedrdnvaluelength: *mut u32, psunquotedrdnvalue: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsValidateSubnetNameA(subnetname: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn DsValidateSubnetNameW(subnetname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsWriteAccountSpnA(hds: super::super::Foundation::HANDLE, operation: DS_SPN_WRITE_OP, pszaccount: ::windows_sys::core::PCSTR, cspn: u32, rpszspn: *const ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DsWriteAccountSpnW(hds: super::super::Foundation::HANDLE, operation: DS_SPN_WRITE_OP, pszaccount: ::windows_sys::core::PCWSTR, cspn: u32, rpszspn: *const ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreeADsMem(pmem: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreeADsStr(pstr: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn PropVariantToAdsType(pvariant: *mut super::super::System::Com::VARIANT, dwnumvariant: u32, ppadsvalues: *mut *mut ADSVALUE, pdwnumvalues: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] pub fn ReallocADsMem(poldmem: *mut ::core::ffi::c_void, cbold: u32, cbnew: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReallocADsStr(ppstr: *mut ::windows_sys::core::PWSTR, pstr: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn SecurityDescriptorToBinarySD(vvarsecdes: super::super::System::Com::VARIANT, ppsecuritydescriptor: *mut super::super::Security::PSECURITY_DESCRIPTOR, pdwsdlength: *mut u32, pszservername: ::windows_sys::core::PCWSTR, username: ::windows_sys::core::PCWSTR, password: ::windows_sys::core::PCWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Networking/Clustering/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/Clustering/mod.rs index a061b7605d..95ab2d2790 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/Clustering/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/Clustering/mod.rs @@ -2,816 +2,1866 @@ extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn AddClusterGroupDependency(hdependentgroup: *const _HGROUP, hprovidergroup: *const _HGROUP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn AddClusterGroupSetDependency(hdependentgroupset: *const _HGROUPSET, hprovidergroupset: *const _HGROUPSET) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn AddClusterGroupToGroupSetDependency(hdependentgroup: *const _HGROUP, hprovidergroupset: *const _HGROUPSET) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddClusterNode(hcluster: *const _HCLUSTER, lpsznodename: ::windows_sys::core::PCWSTR, pfnprogresscallback: PCLUSTER_SETUP_PROGRESS_CALLBACK, pvcallbackarg: *const ::core::ffi::c_void) -> *mut _HNODE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddClusterNodeEx(hcluster: *const _HCLUSTER, lpsznodename: ::windows_sys::core::PCWSTR, dwflags: u32, pfnprogresscallback: PCLUSTER_SETUP_PROGRESS_CALLBACK, pvcallbackarg: *const ::core::ffi::c_void) -> *mut _HNODE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn AddClusterResourceDependency(hresource: *const _HRESOURCE, hdependson: *const _HRESOURCE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn AddClusterResourceNode(hresource: *const _HRESOURCE, hnode: *const _HNODE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddClusterStorageNode(hcluster: *const _HCLUSTER, lpsznodename: ::windows_sys::core::PCWSTR, pfnprogresscallback: PCLUSTER_SETUP_PROGRESS_CALLBACK, pvcallbackarg: *const ::core::ffi::c_void, lpszclusterstoragenodedescription: ::windows_sys::core::PCWSTR, lpszclusterstoragenodelocation: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn AddCrossClusterGroupSetDependency(hdependentgroupset: *const _HGROUPSET, lpremoteclustername: ::windows_sys::core::PCWSTR, lpremotegroupsetname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn AddResourceToClusterSharedVolumes(hresource: *const _HRESOURCE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn BackupClusterDatabase(hcluster: *const _HCLUSTER, lpszpathname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CanResourceBeDependent(hresource: *const _HRESOURCE, hresourcedependent: *const _HRESOURCE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn CancelClusterGroupOperation(hgroup: *const _HGROUP, dwcancelflags_reserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ChangeClusterResourceGroup(hresource: *const _HRESOURCE, hgroup: *const _HGROUP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ChangeClusterResourceGroupEx(hresource: *const _HRESOURCE, hgroup: *const _HGROUP, flags: u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseCluster(hcluster: *const _HCLUSTER) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn CloseClusterCryptProvider(hcluscryptprovider: *const _HCLUSCRYPTPROVIDER) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseClusterGroup(hgroup: *const _HGROUP) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseClusterGroupSet(hgroupset: *const _HGROUPSET) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseClusterNetInterface(hnetinterface: *const _HNETINTERFACE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseClusterNetwork(hnetwork: *const _HNETWORK) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseClusterNode(hnode: *const _HNODE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseClusterNotifyPort(hchange: *const _HCHANGE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseClusterResource(hresource: *const _HRESOURCE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusAddClusterHealthFault(hcluster: *const _HCLUSTER, failure: *const CLUSTER_HEALTH_FAULT, param2: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusGetClusterHealthFaults(hcluster: *const _HCLUSTER, objects: *mut CLUSTER_HEALTH_FAULT_ARRAY, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusRemoveClusterHealthFault(hcluster: *const _HCLUSTER, id: ::windows_sys::core::PCWSTR, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ClusWorkerCheckTerminate(lpworker: *mut CLUS_WORKER) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ClusWorkerCreate(lpworker: *mut CLUS_WORKER, lpstartaddress: PWORKER_START_ROUTINE, lpparameter: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ClusWorkerTerminate(lpworker: *const CLUS_WORKER); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ClusWorkerTerminateEx(clusworker: *mut CLUS_WORKER, timeoutinmilliseconds: u32, waitonly: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ClusWorkersTerminate(clusworkers: *mut *mut CLUS_WORKER, clusworkerscount: usize, timeoutinmilliseconds: u32, waitonly: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterAddGroupToAffinityRule(hcluster: *const _HCLUSTER, rulename: ::windows_sys::core::PCWSTR, hgroup: *const _HGROUP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterAddGroupToGroupSet(hgroupset: *const _HGROUPSET, hgroup: *const _HGROUP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterAddGroupToGroupSetWithDomains(hgroupset: *const _HGROUPSET, hgroup: *const _HGROUP, faultdomain: u32, updatedomain: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterAffinityRuleControl(hcluster: *const _HCLUSTER, affinityrulename: ::windows_sys::core::PCWSTR, hhostnode: *const _HNODE, dwcontrolcode: u32, lpinbuffer: *const ::core::ffi::c_void, cbinbuffersize: u32, lpoutbuffer: *mut ::core::ffi::c_void, cboutbuffersize: u32, lpbytesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterClearBackupStateForSharedVolume(lpszvolumepathname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterCloseEnum(henum: *const _HCLUSENUM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterCloseEnumEx(hclusterenum: *const _HCLUSENUMEX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterControl(hcluster: *const _HCLUSTER, hhostnode: *const _HNODE, dwcontrolcode: u32, lpinbuffer: *const ::core::ffi::c_void, ninbuffersize: u32, lpoutbuffer: *mut ::core::ffi::c_void, noutbuffersize: u32, lpbytesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterCreateAffinityRule(hcluster: *const _HCLUSTER, rulename: ::windows_sys::core::PCWSTR, ruletype: CLUS_AFFINITY_RULE_TYPE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterDecrypt(hcluscryptprovider: *const _HCLUSCRYPTPROVIDER, pcryptinput: *const u8, cbcryptinput: u32, ppcryptoutput: *mut *mut u8, pcbcryptoutput: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterEncrypt(hcluscryptprovider: *const _HCLUSCRYPTPROVIDER, pdata: *const u8, cbdata: u32, ppdata: *mut *mut u8, pcbdata: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterEnum(henum: *const _HCLUSENUM, dwindex: u32, lpdwtype: *mut u32, lpszname: ::windows_sys::core::PWSTR, lpcchname: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterEnumEx(hclusterenum: *const _HCLUSENUMEX, dwindex: u32, pitem: *mut CLUSTER_ENUM_ITEM, cbitem: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterGetEnumCount(henum: *const _HCLUSENUM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterGetEnumCountEx(hclusterenum: *const _HCLUSENUMEX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ClusterGetVolumeNameForVolumeMountPoint(lpszvolumemountpoint: ::windows_sys::core::PCWSTR, lpszvolumename: ::windows_sys::core::PWSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ClusterGetVolumePathName(lpszfilename: ::windows_sys::core::PCWSTR, lpszvolumepathname: ::windows_sys::core::PWSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterGroupCloseEnum(hgroupenum: *const _HGROUPENUM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterGroupCloseEnumEx(hgroupenumex: *const _HGROUPENUMEX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterGroupControl(hgroup: *const _HGROUP, hhostnode: *const _HNODE, dwcontrolcode: u32, lpinbuffer: *const ::core::ffi::c_void, ninbuffersize: u32, lpoutbuffer: *mut ::core::ffi::c_void, noutbuffersize: u32, lpbytesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterGroupEnum(hgroupenum: *const _HGROUPENUM, dwindex: u32, lpdwtype: *mut u32, lpszresourcename: ::windows_sys::core::PWSTR, lpcchname: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterGroupEnumEx(hgroupenumex: *const _HGROUPENUMEX, dwindex: u32, pitem: *mut CLUSTER_GROUP_ENUM_ITEM, cbitem: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterGroupGetEnumCount(hgroupenum: *const _HGROUPENUM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterGroupGetEnumCountEx(hgroupenumex: *const _HGROUPENUMEX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterGroupOpenEnum(hgroup: *const _HGROUP, dwtype: u32) -> *mut _HGROUPENUM; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterGroupOpenEnumEx(hcluster: *const _HCLUSTER, lpszproperties: ::windows_sys::core::PCWSTR, cbproperties: u32, lpszroproperties: ::windows_sys::core::PCWSTR, cbroproperties: u32, dwflags: u32) -> *mut _HGROUPENUMEX; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterGroupSetCloseEnum(hgroupsetenum: *mut _HGROUPSETENUM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterGroupSetControl(hgroupset: *const _HGROUPSET, hhostnode: *const _HNODE, dwcontrolcode: u32, lpinbuffer: *const ::core::ffi::c_void, cbinbuffersize: u32, lpoutbuffer: *mut ::core::ffi::c_void, cboutbuffersize: u32, lpbytesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterGroupSetEnum(hgroupsetenum: *const _HGROUPSETENUM, dwindex: u32, lpszname: ::windows_sys::core::PWSTR, lpcchname: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterGroupSetGetEnumCount(hgroupsetenum: *mut _HGROUPSETENUM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterGroupSetOpenEnum(hcluster: *mut _HCLUSTER) -> *mut _HGROUPSETENUM; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ClusterIsPathOnSharedVolume(lpszpathname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterNetInterfaceCloseEnum(hnetinterfaceenum: *const _HNETINTERFACEENUM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterNetInterfaceControl(hnetinterface: *const _HNETINTERFACE, hhostnode: *const _HNODE, dwcontrolcode: u32, lpinbuffer: *const ::core::ffi::c_void, ninbuffersize: u32, lpoutbuffer: *mut ::core::ffi::c_void, noutbuffersize: u32, lpbytesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterNetInterfaceEnum(hnetinterfaceenum: *const _HNETINTERFACEENUM, dwindex: u32, lpszname: ::windows_sys::core::PWSTR, lpcchname: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterNetInterfaceOpenEnum(hcluster: *const _HCLUSTER, lpsznodename: ::windows_sys::core::PCWSTR, lpsznetworkname: ::windows_sys::core::PCWSTR) -> *mut _HNETINTERFACEENUM; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterNetworkCloseEnum(hnetworkenum: *const _HNETWORKENUM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterNetworkControl(hnetwork: *const _HNETWORK, hhostnode: *const _HNODE, dwcontrolcode: u32, lpinbuffer: *const ::core::ffi::c_void, ninbuffersize: u32, lpoutbuffer: *mut ::core::ffi::c_void, noutbuffersize: u32, lpbytesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterNetworkEnum(hnetworkenum: *const _HNETWORKENUM, dwindex: u32, lpdwtype: *mut u32, lpszname: ::windows_sys::core::PWSTR, lpcchname: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterNetworkGetEnumCount(hnetworkenum: *const _HNETWORKENUM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterNetworkOpenEnum(hnetwork: *const _HNETWORK, dwtype: u32) -> *mut _HNETWORKENUM; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterNodeCloseEnum(hnodeenum: *const _HNODEENUM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterNodeCloseEnumEx(hnodeenum: *const _HNODEENUMEX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterNodeControl(hnode: *const _HNODE, hhostnode: *const _HNODE, dwcontrolcode: u32, lpinbuffer: *const ::core::ffi::c_void, ninbuffersize: u32, lpoutbuffer: *mut ::core::ffi::c_void, noutbuffersize: u32, lpbytesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterNodeEnum(hnodeenum: *const _HNODEENUM, dwindex: u32, lpdwtype: *mut u32, lpszname: ::windows_sys::core::PWSTR, lpcchname: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterNodeEnumEx(hnodeenum: *const _HNODEENUMEX, dwindex: u32, pitem: *mut CLUSTER_ENUM_ITEM, cbitem: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterNodeGetEnumCount(hnodeenum: *const _HNODEENUM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterNodeGetEnumCountEx(hnodeenum: *const _HNODEENUMEX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterNodeOpenEnum(hnode: *const _HNODE, dwtype: u32) -> *mut _HNODEENUM; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterNodeOpenEnumEx(hnode: *const _HNODE, dwtype: u32, poptions: *const ::core::ffi::c_void) -> *mut _HNODEENUMEX; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterNodeReplacement(hcluster: *const _HCLUSTER, lpsznodenamecurrent: ::windows_sys::core::PCWSTR, lpsznodenamenew: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterOpenEnum(hcluster: *const _HCLUSTER, dwtype: u32) -> *mut _HCLUSENUM; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterOpenEnumEx(hcluster: *const _HCLUSTER, dwtype: u32, poptions: *const ::core::ffi::c_void) -> *mut _HCLUSENUMEX; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterPrepareSharedVolumeForBackup(lpszfilename: ::windows_sys::core::PCWSTR, lpszvolumepathname: ::windows_sys::core::PWSTR, lpcchvolumepathname: *mut u32, lpszvolumename: ::windows_sys::core::PWSTR, lpcchvolumename: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterRegBatchAddCommand(hregbatch: *const _HREGBATCH, dwcommand: CLUSTER_REG_COMMAND, wzname: ::windows_sys::core::PCWSTR, dwoptions: u32, lpdata: *const ::core::ffi::c_void, cbdata: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterRegBatchCloseNotification(hbatchnotification: *const _HREGBATCHNOTIFICATION) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterRegBatchReadCommand(hbatchnotification: *const _HREGBATCHNOTIFICATION, pbatchcommand: *mut CLUSTER_BATCH_COMMAND) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ClusterRegCloseBatch(hregbatch: *const _HREGBATCH, bcommit: super::super::Foundation::BOOL, failedcommandnumber: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterRegCloseBatchEx(hregbatch: *const _HREGBATCH, flags: u32, failedcommandnumber: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterRegCloseBatchNotifyPort(hbatchnotifyport: *const _HREGBATCHPORT) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ClusterRegCloseKey(hkey: super::super::System::Registry::HKEY) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterRegCloseReadBatch(hregreadbatch: *const _HREGREADBATCH, phregreadbatchreply: *mut *mut _HREGREADBATCHREPLY) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterRegCloseReadBatchEx(hregreadbatch: *const _HREGREADBATCH, flags: u32, phregreadbatchreply: *mut *mut _HREGREADBATCHREPLY) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterRegCloseReadBatchReply(hregreadbatchreply: *const _HREGREADBATCHREPLY) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ClusterRegCreateBatch(hkey: super::super::System::Registry::HKEY, phregbatch: *mut *mut _HREGBATCH) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ClusterRegCreateBatchNotifyPort(hkey: super::super::System::Registry::HKEY, phbatchnotifyport: *mut *mut _HREGBATCHPORT) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_Registry"))] pub fn ClusterRegCreateKey(hkey: super::super::System::Registry::HKEY, lpszsubkey: ::windows_sys::core::PCWSTR, dwoptions: u32, samdesired: u32, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, phkresult: *mut super::super::System::Registry::HKEY, lpdwdisposition: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ClusterRegCreateReadBatch(hkey: super::super::System::Registry::HKEY, phregreadbatch: *mut *mut _HREGREADBATCH) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ClusterRegDeleteKey(hkey: super::super::System::Registry::HKEY, lpszsubkey: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ClusterRegDeleteValue(hkey: super::super::System::Registry::HKEY, lpszvaluename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn ClusterRegEnumKey(hkey: super::super::System::Registry::HKEY, dwindex: u32, lpszname: ::windows_sys::core::PWSTR, lpcchname: *mut u32, lpftlastwritetime: *mut super::super::Foundation::FILETIME) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ClusterRegEnumValue(hkey: super::super::System::Registry::HKEY, dwindex: u32, lpszvaluename: ::windows_sys::core::PWSTR, lpcchvaluename: *mut u32, lpdwtype: *mut u32, lpdata: *mut u8, lpcbdata: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterRegGetBatchNotification(hbatchnotify: *const _HREGBATCHPORT, phbatchnotification: *mut *mut _HREGBATCHNOTIFICATION) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Security\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Security", feature = "Win32_System_Registry"))] pub fn ClusterRegGetKeySecurity(hkey: super::super::System::Registry::HKEY, requestedinformation: u32, psecuritydescriptor: super::super::Security::PSECURITY_DESCRIPTOR, lpcbsecuritydescriptor: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ClusterRegOpenKey(hkey: super::super::System::Registry::HKEY, lpszsubkey: ::windows_sys::core::PCWSTR, samdesired: u32, phkresult: *mut super::super::System::Registry::HKEY) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn ClusterRegQueryInfoKey(hkey: super::super::System::Registry::HKEY, lpcsubkeys: *const u32, lpcchmaxsubkeylen: *const u32, lpcvalues: *const u32, lpcchmaxvaluenamelen: *const u32, lpcbmaxvaluelen: *const u32, lpcbsecuritydescriptor: *const u32, lpftlastwritetime: *const super::super::Foundation::FILETIME) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ClusterRegQueryValue(hkey: super::super::System::Registry::HKEY, lpszvaluename: ::windows_sys::core::PCWSTR, lpdwvaluetype: *mut u32, lpdata: *mut u8, lpcbdata: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterRegReadBatchAddCommand(hregreadbatch: *const _HREGREADBATCH, wzsubkeyname: ::windows_sys::core::PCWSTR, wzvaluename: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterRegReadBatchReplyNextCommand(hregreadbatchreply: *const _HREGREADBATCHREPLY, pbatchcommand: *mut CLUSTER_READ_BATCH_COMMAND) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Security\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Security", feature = "Win32_System_Registry"))] pub fn ClusterRegSetKeySecurity(hkey: super::super::System::Registry::HKEY, securityinformation: u32, psecuritydescriptor: super::super::Security::PSECURITY_DESCRIPTOR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ClusterRegSetValue(hkey: super::super::System::Registry::HKEY, lpszvaluename: ::windows_sys::core::PCWSTR, dwtype: u32, lpdata: *const u8, cbdata: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterRegSyncDatabase(hcluster: *const _HCLUSTER, flags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterRemoveAffinityRule(hcluster: *const _HCLUSTER, rulename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterRemoveGroupFromAffinityRule(hcluster: *const _HCLUSTER, rulename: ::windows_sys::core::PCWSTR, hgroup: *const _HGROUP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterRemoveGroupFromGroupSet(hgroup: *const _HGROUP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterResourceCloseEnum(hresenum: *const _HRESENUM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterResourceCloseEnumEx(hresourceenumex: *const _HRESENUMEX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterResourceControl(hresource: *const _HRESOURCE, hhostnode: *const _HNODE, dwcontrolcode: u32, lpinbuffer: *const ::core::ffi::c_void, cbinbuffersize: u32, lpoutbuffer: *mut ::core::ffi::c_void, cboutbuffersize: u32, lpbytesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterResourceControlAsUser(hresource: *const _HRESOURCE, hhostnode: *const _HNODE, dwcontrolcode: u32, lpinbuffer: *const ::core::ffi::c_void, cbinbuffersize: u32, lpoutbuffer: *mut ::core::ffi::c_void, cboutbuffersize: u32, lpbytesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterResourceEnum(hresenum: *const _HRESENUM, dwindex: u32, lpdwtype: *mut u32, lpszname: ::windows_sys::core::PWSTR, lpcchname: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterResourceEnumEx(hresourceenumex: *const _HRESENUMEX, dwindex: u32, pitem: *mut CLUSTER_RESOURCE_ENUM_ITEM, cbitem: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterResourceGetEnumCount(hresenum: *const _HRESENUM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterResourceGetEnumCountEx(hresourceenumex: *const _HRESENUMEX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterResourceOpenEnum(hresource: *const _HRESOURCE, dwtype: u32) -> *mut _HRESENUM; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterResourceOpenEnumEx(hcluster: *const _HCLUSTER, lpszproperties: ::windows_sys::core::PCWSTR, cbproperties: u32, lpszroproperties: ::windows_sys::core::PCWSTR, cbroproperties: u32, dwflags: u32) -> *mut _HRESENUMEX; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterResourceTypeCloseEnum(hrestypeenum: *const _HRESTYPEENUM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterResourceTypeControl(hcluster: *const _HCLUSTER, lpszresourcetypename: ::windows_sys::core::PCWSTR, hhostnode: *const _HNODE, dwcontrolcode: u32, lpinbuffer: *const ::core::ffi::c_void, ninbuffersize: u32, lpoutbuffer: *mut ::core::ffi::c_void, noutbuffersize: u32, lpbytesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterResourceTypeControlAsUser(hcluster: *const _HCLUSTER, lpszresourcetypename: ::windows_sys::core::PCWSTR, hhostnode: *const _HNODE, dwcontrolcode: u32, lpinbuffer: *const ::core::ffi::c_void, ninbuffersize: u32, lpoutbuffer: *mut ::core::ffi::c_void, noutbuffersize: u32, lpbytesreturned: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterResourceTypeEnum(hrestypeenum: *const _HRESTYPEENUM, dwindex: u32, lpdwtype: *mut u32, lpszname: ::windows_sys::core::PWSTR, lpcchname: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterResourceTypeGetEnumCount(hrestypeenum: *const _HRESTYPEENUM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterResourceTypeOpenEnum(hcluster: *const _HCLUSTER, lpszresourcetypename: ::windows_sys::core::PCWSTR, dwtype: u32) -> *mut _HRESTYPEENUM; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterSetAccountAccess(hcluster: *const _HCLUSTER, szaccountsid: ::windows_sys::core::PCWSTR, dwaccess: u32, dwcontroltype: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ClusterSharedVolumeSetSnapshotState(guidsnapshotset: ::windows_sys::core::GUID, lpszvolumename: ::windows_sys::core::PCWSTR, state: CLUSTER_SHARED_VOLUME_SNAPSHOT_STATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ClusterUpgradeFunctionalLevel(hcluster: *const _HCLUSTER, perform: super::super::Foundation::BOOL, pfnprogresscallback: PCLUSTER_UPGRADE_PROGRESS_CALLBACK, pvcallbackarg: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateCluster(pconfig: *const CREATE_CLUSTER_CONFIG, pfnprogresscallback: PCLUSTER_SETUP_PROGRESS_CALLBACK, pvcallbackarg: *const ::core::ffi::c_void) -> *mut _HCLUSTER; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateClusterAvailabilitySet(hcluster: *const _HCLUSTER, lpavailabilitysetname: ::windows_sys::core::PCWSTR, pavailabilitysetconfig: *const CLUSTER_AVAILABILITY_SET_CONFIG) -> *mut _HGROUPSET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn CreateClusterGroup(hcluster: *const _HCLUSTER, lpszgroupname: ::windows_sys::core::PCWSTR) -> *mut _HGROUP; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn CreateClusterGroupEx(hcluster: *const _HCLUSTER, lpszgroupname: ::windows_sys::core::PCWSTR, pgroupinfo: *const CLUSTER_CREATE_GROUP_INFO) -> *mut _HGROUP; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn CreateClusterGroupSet(hcluster: *const _HCLUSTER, groupsetname: ::windows_sys::core::PCWSTR) -> *mut _HGROUPSET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateClusterNameAccount(hcluster: *const _HCLUSTER, pconfig: *const CREATE_CLUSTER_NAME_ACCOUNT, pfnprogresscallback: PCLUSTER_SETUP_PROGRESS_CALLBACK, pvcallbackarg: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn CreateClusterNotifyPort(hchange: *const _HCHANGE, hcluster: *const _HCLUSTER, dwfilter: u32, dwnotifykey: usize) -> *mut _HCHANGE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn CreateClusterNotifyPortV2(hchange: *const _HCHANGE, hcluster: *const _HCLUSTER, filters: *const NOTIFY_FILTER_AND_TYPE, dwfiltercount: u32, dwnotifykey: usize) -> *mut _HCHANGE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn CreateClusterResource(hgroup: *const _HGROUP, lpszresourcename: ::windows_sys::core::PCWSTR, lpszresourcetype: ::windows_sys::core::PCWSTR, dwflags: u32) -> *mut _HRESOURCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn CreateClusterResourceType(hcluster: *const _HCLUSTER, lpszresourcetypename: ::windows_sys::core::PCWSTR, lpszdisplayname: ::windows_sys::core::PCWSTR, lpszresourcetypedll: ::windows_sys::core::PCWSTR, dwlooksalivepollinterval: u32, dwisalivepollinterval: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn DeleteClusterGroup(hgroup: *const _HGROUP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn DeleteClusterGroupSet(hgroupset: *const _HGROUPSET) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn DeleteClusterResource(hresource: *const _HRESOURCE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn DeleteClusterResourceType(hcluster: *const _HCLUSTER, lpszresourcetypename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DestroyCluster(hcluster: *const _HCLUSTER, pfnprogresscallback: PCLUSTER_SETUP_PROGRESS_CALLBACK, pvcallbackarg: *const ::core::ffi::c_void, fdeletevirtualcomputerobjects: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn DestroyClusterGroup(hgroup: *const _HGROUP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn DetermineCNOResTypeFromCluster(hcluster: *const _HCLUSTER, pcnorestype: *mut CLUSTER_MGMT_POINT_RESTYPE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn DetermineCNOResTypeFromNodelist(cnodes: u32, ppsznodenames: *const ::windows_sys::core::PWSTR, pcnorestype: *mut CLUSTER_MGMT_POINT_RESTYPE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn DetermineClusterCloudTypeFromCluster(hcluster: *const _HCLUSTER, pcloudtype: *mut CLUSTER_CLOUD_TYPE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn DetermineClusterCloudTypeFromNodelist(cnodes: u32, ppsznodenames: *const ::windows_sys::core::PWSTR, pcloudtype: *mut CLUSTER_CLOUD_TYPE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn EvictClusterNode(hnode: *const _HNODE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn EvictClusterNodeEx(hnode: *const _HNODE, dwtimeout: u32, phrcleanupstatus: *mut ::windows_sys::core::HRESULT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn FailClusterResource(hresource: *const _HRESOURCE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn FreeClusterCrypt(pcryptinfo: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn FreeClusterHealthFault(clusterhealthfault: *mut CLUSTER_HEALTH_FAULT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn FreeClusterHealthFaultArray(clusterhealthfaultarray: *mut CLUSTER_HEALTH_FAULT_ARRAY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn GetClusterFromGroup(hgroup: *const _HGROUP) -> *mut _HCLUSTER; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn GetClusterFromNetInterface(hnetinterface: *const _HNETINTERFACE) -> *mut _HCLUSTER; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn GetClusterFromNetwork(hnetwork: *const _HNETWORK) -> *mut _HCLUSTER; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn GetClusterFromNode(hnode: *const _HNODE) -> *mut _HCLUSTER; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn GetClusterFromResource(hresource: *const _HRESOURCE) -> *mut _HCLUSTER; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn GetClusterGroupKey(hgroup: *const _HGROUP, samdesired: u32) -> super::super::System::Registry::HKEY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn GetClusterGroupState(hgroup: *const _HGROUP, lpsznodename: ::windows_sys::core::PWSTR, lpcchnodename: *mut u32) -> CLUSTER_GROUP_STATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn GetClusterInformation(hcluster: *const _HCLUSTER, lpszclustername: ::windows_sys::core::PWSTR, lpcchclustername: *mut u32, lpclusterinfo: *mut CLUSTERVERSIONINFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn GetClusterKey(hcluster: *const _HCLUSTER, samdesired: u32) -> super::super::System::Registry::HKEY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn GetClusterNetInterface(hcluster: *const _HCLUSTER, lpsznodename: ::windows_sys::core::PCWSTR, lpsznetworkname: ::windows_sys::core::PCWSTR, lpszinterfacename: ::windows_sys::core::PWSTR, lpcchinterfacename: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn GetClusterNetInterfaceKey(hnetinterface: *const _HNETINTERFACE, samdesired: u32) -> super::super::System::Registry::HKEY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn GetClusterNetInterfaceState(hnetinterface: *const _HNETINTERFACE) -> CLUSTER_NETINTERFACE_STATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn GetClusterNetworkId(hnetwork: *const _HNETWORK, lpsznetworkid: ::windows_sys::core::PWSTR, lpcchname: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn GetClusterNetworkKey(hnetwork: *const _HNETWORK, samdesired: u32) -> super::super::System::Registry::HKEY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn GetClusterNetworkState(hnetwork: *const _HNETWORK) -> CLUSTER_NETWORK_STATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn GetClusterNodeId(hnode: *const _HNODE, lpsznodeid: ::windows_sys::core::PWSTR, lpcchname: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn GetClusterNodeKey(hnode: *const _HNODE, samdesired: u32) -> super::super::System::Registry::HKEY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn GetClusterNodeState(hnode: *const _HNODE) -> CLUSTER_NODE_STATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn GetClusterNotify(hchange: *const _HCHANGE, lpdwnotifykey: *mut usize, lpdwfiltertype: *mut u32, lpszname: ::windows_sys::core::PWSTR, lpcchname: *mut u32, dwmilliseconds: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn GetClusterNotifyV2(hchange: *const _HCHANGE, lpdwnotifykey: *mut usize, pfilterandtype: *mut NOTIFY_FILTER_AND_TYPE, buffer: *mut u8, lpbbuffersize: *mut u32, lpszobjectid: ::windows_sys::core::PWSTR, lpcchobjectid: *mut u32, lpszparentid: ::windows_sys::core::PWSTR, lpcchparentid: *mut u32, lpszname: ::windows_sys::core::PWSTR, lpcchname: *mut u32, lpsztype: ::windows_sys::core::PWSTR, lpcchtype: *mut u32, dwmilliseconds: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn GetClusterQuorumResource(hcluster: *const _HCLUSTER, lpszresourcename: ::windows_sys::core::PWSTR, lpcchresourcename: *mut u32, lpszdevicename: ::windows_sys::core::PWSTR, lpcchdevicename: *mut u32, lpdwmaxquorumlogsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn GetClusterResourceDependencyExpression(hresource: *const _HRESOURCE, lpszdependencyexpression: ::windows_sys::core::PWSTR, lpcchdependencyexpression: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn GetClusterResourceKey(hresource: *const _HRESOURCE, samdesired: u32) -> super::super::System::Registry::HKEY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetClusterResourceNetworkName(hresource: *const _HRESOURCE, lpbuffer: ::windows_sys::core::PWSTR, nsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn GetClusterResourceState(hresource: *const _HRESOURCE, lpsznodename: ::windows_sys::core::PWSTR, lpcchnodename: *mut u32, lpszgroupname: ::windows_sys::core::PWSTR, lpcchgroupname: *mut u32) -> CLUSTER_RESOURCE_STATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn GetClusterResourceTypeKey(hcluster: *const _HCLUSTER, lpsztypename: ::windows_sys::core::PCWSTR, samdesired: u32) -> super::super::System::Registry::HKEY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn GetNodeCloudTypeDW(ppsznodename: ::windows_sys::core::PCWSTR, nodecloudtype: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn GetNodeClusterState(lpsznodename: ::windows_sys::core::PCWSTR, pdwclusterstate: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNotifyEventHandle(hchange: *const _HCHANGE, lphtargetevent: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn InitializeClusterHealthFault(clusterhealthfault: *mut CLUSTER_HEALTH_FAULT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn InitializeClusterHealthFaultArray(clusterhealthfaultarray: *mut CLUSTER_HEALTH_FAULT_ARRAY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsFileOnClusterSharedVolume(lpszpathname: ::windows_sys::core::PCWSTR, pbfileisonsharedvolume: *mut super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn MoveClusterGroup(hgroup: *const _HGROUP, hdestinationnode: *const _HNODE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn MoveClusterGroupEx(hgroup: *const _HGROUP, hdestinationnode: *const _HNODE, dwmoveflags: u32, lpinbuffer: *const u8, cbinbuffersize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OfflineClusterGroup(hgroup: *const _HGROUP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OfflineClusterGroupEx(hgroup: *const _HGROUP, dwofflineflags: u32, lpinbuffer: *const u8, cbinbuffersize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OfflineClusterResource(hresource: *const _HRESOURCE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OfflineClusterResourceEx(hresource: *const _HRESOURCE, dwofflineflags: u32, lpinbuffer: *const u8, cbinbuffersize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OnlineClusterGroup(hgroup: *const _HGROUP, hdestinationnode: *const _HNODE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OnlineClusterGroupEx(hgroup: *const _HGROUP, hdestinationnode: *const _HNODE, dwonlineflags: u32, lpinbuffer: *const u8, cbinbuffersize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OnlineClusterResource(hresource: *const _HRESOURCE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OnlineClusterResourceEx(hresource: *const _HRESOURCE, dwonlineflags: u32, lpinbuffer: *const u8, cbinbuffersize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OpenCluster(lpszclustername: ::windows_sys::core::PCWSTR) -> *mut _HCLUSTER; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OpenClusterCryptProvider(lpszresource: ::windows_sys::core::PCWSTR, lpszprovider: *const i8, dwtype: u32, dwflags: u32) -> *mut _HCLUSCRYPTPROVIDER; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OpenClusterCryptProviderEx(lpszresource: ::windows_sys::core::PCWSTR, lpszkeyname: ::windows_sys::core::PCWSTR, lpszprovider: *const i8, dwtype: u32, dwflags: u32) -> *mut _HCLUSCRYPTPROVIDER; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OpenClusterEx(lpszclustername: ::windows_sys::core::PCWSTR, desiredaccess: u32, grantedaccess: *mut u32) -> *mut _HCLUSTER; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OpenClusterGroup(hcluster: *const _HCLUSTER, lpszgroupname: ::windows_sys::core::PCWSTR) -> *mut _HGROUP; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OpenClusterGroupEx(hcluster: *const _HCLUSTER, lpszgroupname: ::windows_sys::core::PCWSTR, dwdesiredaccess: u32, lpdwgrantedaccess: *mut u32) -> *mut _HGROUP; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OpenClusterGroupSet(hcluster: *const _HCLUSTER, lpszgroupsetname: ::windows_sys::core::PCWSTR) -> *mut _HGROUPSET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OpenClusterNetInterface(hcluster: *const _HCLUSTER, lpszinterfacename: ::windows_sys::core::PCWSTR) -> *mut _HNETINTERFACE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OpenClusterNetInterfaceEx(hcluster: *const _HCLUSTER, lpszinterfacename: ::windows_sys::core::PCWSTR, dwdesiredaccess: u32, lpdwgrantedaccess: *mut u32) -> *mut _HNETINTERFACE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OpenClusterNetwork(hcluster: *const _HCLUSTER, lpsznetworkname: ::windows_sys::core::PCWSTR) -> *mut _HNETWORK; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OpenClusterNetworkEx(hcluster: *const _HCLUSTER, lpsznetworkname: ::windows_sys::core::PCWSTR, dwdesiredaccess: u32, lpdwgrantedaccess: *mut u32) -> *mut _HNETWORK; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OpenClusterNode(hcluster: *const _HCLUSTER, lpsznodename: ::windows_sys::core::PCWSTR) -> *mut _HNODE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OpenClusterNodeById(hcluster: *const _HCLUSTER, nodeid: u32) -> *mut _HNODE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OpenClusterNodeEx(hcluster: *const _HCLUSTER, lpsznodename: ::windows_sys::core::PCWSTR, dwdesiredaccess: u32, lpdwgrantedaccess: *mut u32) -> *mut _HNODE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OpenClusterResource(hcluster: *const _HCLUSTER, lpszresourcename: ::windows_sys::core::PCWSTR) -> *mut _HRESOURCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn OpenClusterResourceEx(hcluster: *const _HCLUSTER, lpszresourcename: ::windows_sys::core::PCWSTR, dwdesiredaccess: u32, lpdwgrantedaccess: *mut u32) -> *mut _HRESOURCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn PauseClusterNode(hnode: *const _HNODE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PauseClusterNodeEx(hnode: *const _HNODE, bdrainnode: super::super::Foundation::BOOL, dwpauseflags: u32, hnodedraintarget: *const _HNODE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryAppInstanceVersion(appinstanceid: *const ::windows_sys::core::GUID, instanceversionhigh: *mut u64, instanceversionlow: *mut u64, versionstatus: *mut super::super::Foundation::NTSTATUS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterAppInstance(processhandle: super::super::Foundation::HANDLE, appinstanceid: *const ::windows_sys::core::GUID, childreninheritappinstance: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn RegisterAppInstanceVersion(appinstanceid: *const ::windows_sys::core::GUID, instanceversionhigh: u64, instanceversionlow: u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterClusterNotify(hchange: *const _HCHANGE, dwfiltertype: u32, hobject: super::super::Foundation::HANDLE, dwnotifykey: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterClusterNotifyV2(hchange: *const _HCHANGE, filter: NOTIFY_FILTER_AND_TYPE, hobject: super::super::Foundation::HANDLE, dwnotifykey: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn RegisterClusterResourceTypeNotifyV2(hchange: *const _HCHANGE, hcluster: *const _HCLUSTER, flags: i64, restypename: ::windows_sys::core::PCWSTR, dwnotifykey: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn RemoveClusterGroupDependency(hgroup: *const _HGROUP, hdependson: *const _HGROUP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn RemoveClusterGroupSetDependency(hgroupset: *const _HGROUPSET, hdependson: *const _HGROUPSET) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn RemoveClusterGroupToGroupSetDependency(hgroup: *const _HGROUP, hdependson: *const _HGROUPSET) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveClusterNameAccount(hcluster: *const _HCLUSTER, bdeletecomputerobjects: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn RemoveClusterResourceDependency(hresource: *const _HRESOURCE, hdependson: *const _HRESOURCE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn RemoveClusterResourceNode(hresource: *const _HRESOURCE, hnode: *const _HNODE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn RemoveClusterStorageNode(hcluster: *const _HCLUSTER, lpszclusterstorageenclosurename: ::windows_sys::core::PCWSTR, dwtimeout: u32, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn RemoveCrossClusterGroupSetDependency(hdependentgroupset: *const _HGROUPSET, lpremoteclustername: ::windows_sys::core::PCWSTR, lpremotegroupsetname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn RemoveResourceFromClusterSharedVolumes(hresource: *const _HRESOURCE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn ResUtilAddUnknownProperties(hkeyclusterkey: super::super::System::Registry::HKEY, ppropertytable: *const RESUTIL_PROPERTY_ITEM, poutpropertylist: *mut ::core::ffi::c_void, pcboutpropertylistsize: u32, pcbbytesreturned: *mut u32, pcbrequired: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilCreateDirectoryTree(pszpath: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilDupGroup(group: *mut _HGROUP, copy: *mut *mut _HGROUP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResUtilDupParameterBlock(poutparams: *mut u8, pinparams: *const u8, ppropertytable: *const RESUTIL_PROPERTY_ITEM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilDupResource(group: *mut _HRESOURCE, copy: *mut *mut _HRESOURCE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilDupString(pszinstring: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilEnumGroups(hcluster: *mut _HCLUSTER, hself: *mut _HGROUP, prescallback: LPGROUP_CALLBACK_EX, pparameter: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilEnumGroupsEx(hcluster: *mut _HCLUSTER, hself: *mut _HGROUP, grouptype: CLUSGROUP_TYPE, prescallback: LPGROUP_CALLBACK_EX, pparameter: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ResUtilEnumPrivateProperties(hkeyclusterkey: super::super::System::Registry::HKEY, pszoutproperties: ::windows_sys::core::PWSTR, cboutpropertiessize: u32, pcbbytesreturned: *mut u32, pcbrequired: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResUtilEnumProperties(ppropertytable: *const RESUTIL_PROPERTY_ITEM, pszoutproperties: ::windows_sys::core::PWSTR, cboutpropertiessize: u32, pcbbytesreturned: *mut u32, pcbrequired: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilEnumResources(hself: *mut _HRESOURCE, lpszrestypename: ::windows_sys::core::PCWSTR, prescallback: LPRESOURCE_CALLBACK, pparameter: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilEnumResourcesEx(hcluster: *mut _HCLUSTER, hself: *mut _HRESOURCE, lpszrestypename: ::windows_sys::core::PCWSTR, prescallback: LPRESOURCE_CALLBACK_EX, pparameter: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilEnumResourcesEx2(hcluster: *mut _HCLUSTER, hself: *mut _HRESOURCE, lpszrestypename: ::windows_sys::core::PCWSTR, prescallback: LPRESOURCE_CALLBACK_EX, pparameter: *mut ::core::ffi::c_void, dwdesiredaccess: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilExpandEnvironmentStrings(pszsrc: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilFindBinaryProperty(ppropertylist: *const ::core::ffi::c_void, cbpropertylistsize: u32, pszpropertyname: ::windows_sys::core::PCWSTR, pbpropertyvalue: *mut *mut u8, pcbpropertyvaluesize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilFindDependentDiskResourceDriveLetter(hcluster: *const _HCLUSTER, hresource: *const _HRESOURCE, pszdriveletter: ::windows_sys::core::PWSTR, pcchdriveletter: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilFindDwordProperty(ppropertylist: *const ::core::ffi::c_void, cbpropertylistsize: u32, pszpropertyname: ::windows_sys::core::PCWSTR, pdwpropertyvalue: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilFindExpandSzProperty(ppropertylist: *const ::core::ffi::c_void, cbpropertylistsize: u32, pszpropertyname: ::windows_sys::core::PCWSTR, pszpropertyvalue: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilFindExpandedSzProperty(ppropertylist: *const ::core::ffi::c_void, cbpropertylistsize: u32, pszpropertyname: ::windows_sys::core::PCWSTR, pszpropertyvalue: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResUtilFindFileTimeProperty(ppropertylist: *const ::core::ffi::c_void, cbpropertylistsize: u32, pszpropertyname: ::windows_sys::core::PCWSTR, pftpropertyvalue: *mut super::super::Foundation::FILETIME) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilFindLongProperty(ppropertylist: *const ::core::ffi::c_void, cbpropertylistsize: u32, pszpropertyname: ::windows_sys::core::PCWSTR, plpropertyvalue: *mut i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilFindMultiSzProperty(ppropertylist: *const ::core::ffi::c_void, cbpropertylistsize: u32, pszpropertyname: ::windows_sys::core::PCWSTR, pszpropertyvalue: *mut ::windows_sys::core::PWSTR, pcbpropertyvaluesize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilFindSzProperty(ppropertylist: *const ::core::ffi::c_void, cbpropertylistsize: u32, pszpropertyname: ::windows_sys::core::PCWSTR, pszpropertyvalue: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilFindULargeIntegerProperty(ppropertylist: *const ::core::ffi::c_void, cbpropertylistsize: u32, pszpropertyname: ::windows_sys::core::PCWSTR, plpropertyvalue: *mut u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilFreeEnvironment(lpenvironment: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResUtilFreeParameterBlock(poutparams: *mut u8, pinparams: *const u8, ppropertytable: *const RESUTIL_PROPERTY_ITEM); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn ResUtilGetAllProperties(hkeyclusterkey: super::super::System::Registry::HKEY, ppropertytable: *const RESUTIL_PROPERTY_ITEM, poutpropertylist: *mut ::core::ffi::c_void, cboutpropertylistsize: u32, pcbbytesreturned: *mut u32, pcbrequired: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilGetBinaryProperty(ppboutvalue: *mut *mut u8, pcboutvaluesize: *mut u32, pvaluestruct: *const CLUSPROP_BINARY, pboldvalue: *const u8, cboldvaluesize: u32, pppropertylist: *mut *mut u8, pcbpropertylistsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ResUtilGetBinaryValue(hkeyclusterkey: super::super::System::Registry::HKEY, pszvaluename: ::windows_sys::core::PCWSTR, ppboutvalue: *mut *mut u8, pcboutvaluesize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilGetClusterGroupType(hgroup: *mut _HGROUP, grouptype: *mut CLUSGROUP_TYPE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilGetClusterId(hcluster: *mut _HCLUSTER, guid: *mut ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilGetClusterRoleState(hcluster: *const _HCLUSTER, eclusterrole: CLUSTER_ROLE) -> CLUSTER_ROLE_STATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilGetCoreClusterResources(hcluster: *const _HCLUSTER, phclusternameresource: *mut *mut _HRESOURCE, phclusteripaddressresource: *mut *mut _HRESOURCE, phclusterquorumresource: *mut *mut _HRESOURCE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilGetCoreClusterResourcesEx(hclusterin: *const _HCLUSTER, phclusternameresourceout: *mut *mut _HRESOURCE, phclusterquorumresourceout: *mut *mut _HRESOURCE, dwdesiredaccess: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilGetCoreGroup(hcluster: *mut _HCLUSTER) -> *mut _HGROUP; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilGetDwordProperty(pdwoutvalue: *mut u32, pvaluestruct: *const CLUSPROP_DWORD, dwoldvalue: u32, dwminimum: u32, dwmaximum: u32, pppropertylist: *mut *mut u8, pcbpropertylistsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ResUtilGetDwordValue(hkeyclusterkey: super::super::System::Registry::HKEY, pszvaluename: ::windows_sys::core::PCWSTR, pdwoutvalue: *mut u32, dwdefaultvalue: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilGetEnvironmentWithNetName(hresource: *const _HRESOURCE) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResUtilGetFileTimeProperty(pftoutvalue: *mut super::super::Foundation::FILETIME, pvaluestruct: *const CLUSPROP_FILETIME, ftoldvalue: super::super::Foundation::FILETIME, ftminimum: super::super::Foundation::FILETIME, ftmaximum: super::super::Foundation::FILETIME, pppropertylist: *mut *mut u8, pcbpropertylistsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilGetLongProperty(ploutvalue: *mut i32, pvaluestruct: *const CLUSPROP_LONG, loldvalue: i32, lminimum: i32, lmaximum: i32, pppropertylist: *mut *mut u8, pcbpropertylistsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilGetMultiSzProperty(ppszoutvalue: *mut ::windows_sys::core::PWSTR, pcboutvaluesize: *mut u32, pvaluestruct: *const CLUSPROP_SZ, pszoldvalue: ::windows_sys::core::PCWSTR, cboldvaluesize: u32, pppropertylist: *mut *mut u8, pcbpropertylistsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ResUtilGetPrivateProperties(hkeyclusterkey: super::super::System::Registry::HKEY, poutpropertylist: *mut ::core::ffi::c_void, cboutpropertylistsize: u32, pcbbytesreturned: *mut u32, pcbrequired: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn ResUtilGetProperties(hkeyclusterkey: super::super::System::Registry::HKEY, ppropertytable: *const RESUTIL_PROPERTY_ITEM, poutpropertylist: *mut ::core::ffi::c_void, cboutpropertylistsize: u32, pcbbytesreturned: *mut u32, pcbrequired: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn ResUtilGetPropertiesToParameterBlock(hkeyclusterkey: super::super::System::Registry::HKEY, ppropertytable: *const RESUTIL_PROPERTY_ITEM, poutparams: *mut u8, bcheckforrequiredproperties: super::super::Foundation::BOOL, psznameofpropinerror: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn ResUtilGetProperty(hkeyclusterkey: super::super::System::Registry::HKEY, ppropertytableitem: *const RESUTIL_PROPERTY_ITEM, poutpropertyitem: *mut *mut ::core::ffi::c_void, pcboutpropertyitemsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResUtilGetPropertyFormats(ppropertytable: *const RESUTIL_PROPERTY_ITEM, poutpropertyformatlist: *mut ::core::ffi::c_void, cbpropertyformatlistsize: u32, pcbbytesreturned: *mut u32, pcbrequired: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn ResUtilGetPropertySize(hkeyclusterkey: super::super::System::Registry::HKEY, ppropertytableitem: *const RESUTIL_PROPERTY_ITEM, pcboutpropertylistsize: *mut u32, pnpropertycount: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ResUtilGetQwordValue(hkeyclusterkey: super::super::System::Registry::HKEY, pszvaluename: ::windows_sys::core::PCWSTR, pqwoutvalue: *mut u64, qwdefaultvalue: u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResUtilGetResourceDependency(hself: super::super::Foundation::HANDLE, lpszresourcetype: ::windows_sys::core::PCWSTR) -> *mut _HRESOURCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResUtilGetResourceDependencyByClass(hcluster: *mut _HCLUSTER, hself: super::super::Foundation::HANDLE, prci: *mut CLUS_RESOURCE_CLASS_INFO, brecurse: super::super::Foundation::BOOL) -> *mut _HRESOURCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResUtilGetResourceDependencyByClassEx(hcluster: *mut _HCLUSTER, hself: super::super::Foundation::HANDLE, prci: *mut CLUS_RESOURCE_CLASS_INFO, brecurse: super::super::Foundation::BOOL, dwdesiredaccess: u32) -> *mut _HRESOURCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResUtilGetResourceDependencyByName(hcluster: *mut _HCLUSTER, hself: super::super::Foundation::HANDLE, lpszresourcetype: ::windows_sys::core::PCWSTR, brecurse: super::super::Foundation::BOOL) -> *mut _HRESOURCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResUtilGetResourceDependencyByNameEx(hcluster: *mut _HCLUSTER, hself: super::super::Foundation::HANDLE, lpszresourcetype: ::windows_sys::core::PCWSTR, brecurse: super::super::Foundation::BOOL, dwdesiredaccess: u32) -> *mut _HRESOURCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResUtilGetResourceDependencyEx(hself: super::super::Foundation::HANDLE, lpszresourcetype: ::windows_sys::core::PCWSTR, dwdesiredaccess: u32) -> *mut _HRESOURCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilGetResourceDependentIPAddressProps(hresource: *const _HRESOURCE, pszaddress: ::windows_sys::core::PWSTR, pcchaddress: *mut u32, pszsubnetmask: ::windows_sys::core::PWSTR, pcchsubnetmask: *mut u32, psznetwork: ::windows_sys::core::PWSTR, pcchnetwork: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilGetResourceName(hresource: *const _HRESOURCE, pszresourcename: ::windows_sys::core::PWSTR, pcchresourcenameinout: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilGetResourceNameDependency(lpszresourcename: ::windows_sys::core::PCWSTR, lpszresourcetype: ::windows_sys::core::PCWSTR) -> *mut _HRESOURCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilGetResourceNameDependencyEx(lpszresourcename: ::windows_sys::core::PCWSTR, lpszresourcetype: ::windows_sys::core::PCWSTR, dwdesiredaccess: u32) -> *mut _HRESOURCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilGetSzProperty(ppszoutvalue: *mut ::windows_sys::core::PWSTR, pvaluestruct: *const CLUSPROP_SZ, pszoldvalue: ::windows_sys::core::PCWSTR, pppropertylist: *mut *mut u8, pcbpropertylistsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ResUtilGetSzValue(hkeyclusterkey: super::super::System::Registry::HKEY, pszvaluename: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResUtilGroupsEqual(hself: *mut _HGROUP, hgroup: *mut _HGROUP, pequal: *mut super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResUtilIsPathValid(pszpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResUtilIsResourceClassEqual(prci: *mut CLUS_RESOURCE_CLASS_INFO, hresource: *mut _HRESOURCE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResUtilLeftPaxosIsLessThanRight(left: *const PaxosTagCStruct, right: *const PaxosTagCStruct) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilNodeEnum(hcluster: *mut _HCLUSTER, pnodecallback: LPNODE_CALLBACK, pparameter: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResUtilPaxosComparer(left: *const PaxosTagCStruct, right: *const PaxosTagCStruct) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResUtilPropertyListFromParameterBlock(ppropertytable: *const RESUTIL_PROPERTY_ITEM, poutpropertylist: *mut ::core::ffi::c_void, pcboutpropertylistsize: *mut u32, pinparams: *const u8, pcbbytesreturned: *mut u32, pcbrequired: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilRemoveResourceServiceEnvironment(pszservicename: ::windows_sys::core::PCWSTR, pfnlogevent: PLOG_EVENT_ROUTINE, hresourcehandle: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilResourceDepEnum(hself: *mut _HRESOURCE, enumtype: u32, prescallback: LPRESOURCE_CALLBACK_EX, pparameter: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResUtilResourceTypesEqual(lpszresourcetypename: ::windows_sys::core::PCWSTR, hresource: *mut _HRESOURCE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResUtilResourcesEqual(hself: *mut _HRESOURCE, hresource: *mut _HRESOURCE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ResUtilSetBinaryValue(hkeyclusterkey: super::super::System::Registry::HKEY, pszvaluename: ::windows_sys::core::PCWSTR, pbnewvalue: *const u8, cbnewvaluesize: u32, ppboutvalue: *mut *mut u8, pcboutvaluesize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ResUtilSetDwordValue(hkeyclusterkey: super::super::System::Registry::HKEY, pszvaluename: ::windows_sys::core::PCWSTR, dwnewvalue: u32, pdwoutvalue: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ResUtilSetExpandSzValue(hkeyclusterkey: super::super::System::Registry::HKEY, pszvaluename: ::windows_sys::core::PCWSTR, psznewvalue: ::windows_sys::core::PCWSTR, ppszoutstring: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ResUtilSetMultiSzValue(hkeyclusterkey: super::super::System::Registry::HKEY, pszvaluename: ::windows_sys::core::PCWSTR, psznewvalue: ::windows_sys::core::PCWSTR, cbnewvaluesize: u32, ppszoutvalue: *mut ::windows_sys::core::PWSTR, pcboutvaluesize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ResUtilSetPrivatePropertyList(hkeyclusterkey: super::super::System::Registry::HKEY, pinpropertylist: *const ::core::ffi::c_void, cbinpropertylistsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn ResUtilSetPropertyParameterBlock(hkeyclusterkey: super::super::System::Registry::HKEY, ppropertytable: *const RESUTIL_PROPERTY_ITEM, reserved: *mut ::core::ffi::c_void, pinparams: *const u8, pinpropertylist: *const ::core::ffi::c_void, cbinpropertylistsize: u32, poutparams: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn ResUtilSetPropertyParameterBlockEx(hkeyclusterkey: super::super::System::Registry::HKEY, ppropertytable: *const RESUTIL_PROPERTY_ITEM, reserved: *mut ::core::ffi::c_void, pinparams: *const u8, pinpropertylist: *const ::core::ffi::c_void, cbinpropertylistsize: u32, bforcewrite: super::super::Foundation::BOOL, poutparams: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn ResUtilSetPropertyTable(hkeyclusterkey: super::super::System::Registry::HKEY, ppropertytable: *const RESUTIL_PROPERTY_ITEM, reserved: *mut ::core::ffi::c_void, ballowunknownproperties: super::super::Foundation::BOOL, pinpropertylist: *const ::core::ffi::c_void, cbinpropertylistsize: u32, poutparams: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn ResUtilSetPropertyTableEx(hkeyclusterkey: super::super::System::Registry::HKEY, ppropertytable: *const RESUTIL_PROPERTY_ITEM, reserved: *mut ::core::ffi::c_void, ballowunknownproperties: super::super::Foundation::BOOL, pinpropertylist: *const ::core::ffi::c_void, cbinpropertylistsize: u32, bforcewrite: super::super::Foundation::BOOL, poutparams: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ResUtilSetQwordValue(hkeyclusterkey: super::super::System::Registry::HKEY, pszvaluename: ::windows_sys::core::PCWSTR, qwnewvalue: u64, pqwoutvalue: *mut u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilSetResourceServiceEnvironment(pszservicename: ::windows_sys::core::PCWSTR, hresource: *mut _HRESOURCE, pfnlogevent: PLOG_EVENT_ROUTINE, hresourcehandle: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn ResUtilSetResourceServiceStartParameters(pszservicename: ::windows_sys::core::PCWSTR, schscmhandle: super::super::Security::SC_HANDLE, phservice: *mut isize, pfnlogevent: PLOG_EVENT_ROUTINE, hresourcehandle: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn ResUtilSetResourceServiceStartParametersEx(pszservicename: ::windows_sys::core::PCWSTR, schscmhandle: super::super::Security::SC_HANDLE, phservice: *mut isize, dwdesiredaccess: u32, pfnlogevent: PLOG_EVENT_ROUTINE, hresourcehandle: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ResUtilSetSzValue(hkeyclusterkey: super::super::System::Registry::HKEY, pszvaluename: ::windows_sys::core::PCWSTR, psznewvalue: ::windows_sys::core::PCWSTR, ppszoutstring: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn ResUtilSetUnknownProperties(hkeyclusterkey: super::super::System::Registry::HKEY, ppropertytable: *const RESUTIL_PROPERTY_ITEM, pinpropertylist: *const ::core::ffi::c_void, cbinpropertylistsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ResUtilSetValueEx(hkeyclusterkey: super::super::System::Registry::HKEY, valuename: ::windows_sys::core::PCWSTR, valuetype: u32, valuedata: *const u8, valuesize: u32, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilStartResourceService(pszservicename: ::windows_sys::core::PCWSTR, phservicehandle: *mut isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilStopResourceService(pszservicename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn ResUtilStopService(hservicehandle: super::super::Security::SC_HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResUtilTerminateServiceProcessFromResDll(dwservicepid: u32, boffline: super::super::Foundation::BOOL, pdwresourcestate: *mut u32, pfnlogevent: PLOG_EVENT_ROUTINE, hresourcehandle: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilVerifyPrivatePropertyList(pinpropertylist: *const ::core::ffi::c_void, cbinpropertylistsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResUtilVerifyPropertyTable(ppropertytable: *const RESUTIL_PROPERTY_ITEM, reserved: *mut ::core::ffi::c_void, ballowunknownproperties: super::super::Foundation::BOOL, pinpropertylist: *const ::core::ffi::c_void, cbinpropertylistsize: u32, poutparams: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilVerifyResourceService(pszservicename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn ResUtilVerifyService(hservicehandle: super::super::Security::SC_HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResUtilVerifyShutdownSafe(flags: u32, reason: u32, presult: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn ResUtilsDeleteKeyTree(key: super::super::System::Registry::HKEY, keyname: ::windows_sys::core::PCWSTR, treatnokeyaserror: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResetAllAppInstanceVersions() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn RestartClusterResource(hresource: *const _HRESOURCE, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RestoreClusterDatabase(lpszpathname: ::windows_sys::core::PCWSTR, bforce: super::super::Foundation::BOOL, lpszquorumdriveletter: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResumeClusterNode(hnode: *const _HNODE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn ResumeClusterNodeEx(hnode: *const _HNODE, eresumefailbacktype: CLUSTER_NODE_RESUME_FAILBACK_TYPE, dwresumeflagsreserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetAppInstanceCsvFlags(processhandle: super::super::Foundation::HANDLE, mask: u32, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn SetClusterGroupName(hgroup: *const _HGROUP, lpszgroupname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn SetClusterGroupNodeList(hgroup: *const _HGROUP, nodecount: u32, nodelist: *const *const _HNODE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn SetClusterGroupSetDependencyExpression(hgroupset: *const _HGROUPSET, lpszdependencyexprssion: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn SetClusterName(hcluster: *const _HCLUSTER, lpsznewclustername: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn SetClusterNetworkName(hnetwork: *const _HNETWORK, lpszname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn SetClusterNetworkPriorityOrder(hcluster: *const _HCLUSTER, networkcount: u32, networklist: *const *const _HNETWORK) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn SetClusterQuorumResource(hresource: *const _HRESOURCE, lpszdevicename: ::windows_sys::core::PCWSTR, dwmaxquologsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn SetClusterResourceDependencyExpression(hresource: *const _HRESOURCE, lpszdependencyexpression: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn SetClusterResourceName(hresource: *const _HRESOURCE, lpszresourcename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetClusterServiceAccountPassword(lpszclustername: ::windows_sys::core::PCWSTR, lpsznewpassword: ::windows_sys::core::PCWSTR, dwflags: u32, lpreturnstatusbuffer: *mut CLUSTER_SET_PASSWORD_STATUS, lpcbreturnstatusbuffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] pub fn SetGroupDependencyExpression(hgroup: *const _HGROUP, lpszdependencyexpression: ::windows_sys::core::PCWSTR) -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/Networking/HttpServer/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/HttpServer/mod.rs index 3f999282e3..b15a077fb0 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/HttpServer/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/HttpServer/mod.rs @@ -3,115 +3,241 @@ extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn HttpAddFragmentToCache(requestqueuehandle: super::super::Foundation::HANDLE, urlprefix: ::windows_sys::core::PCWSTR, datachunk: *mut HTTP_DATA_CHUNK, cachepolicy: *mut HTTP_CACHE_POLICY, overlapped: *mut super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpAddUrl(requestqueuehandle: super::super::Foundation::HANDLE, fullyqualifiedurl: ::windows_sys::core::PCWSTR, reserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] pub fn HttpAddUrlToUrlGroup(urlgroupid: u64, pfullyqualifiedurl: ::windows_sys::core::PCWSTR, urlcontext: u64, reserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn HttpCancelHttpRequest(requestqueuehandle: super::super::Foundation::HANDLE, requestid: u64, overlapped: *mut super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpCloseRequestQueue(requestqueuehandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] pub fn HttpCloseServerSession(serversessionid: u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] pub fn HttpCloseUrlGroup(urlgroupid: u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpCreateHttpHandle(requestqueuehandle: *mut super::super::Foundation::HANDLE, reserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn HttpCreateRequestQueue(version: HTTPAPI_VERSION, name: ::windows_sys::core::PCWSTR, securityattributes: *mut super::super::Security::SECURITY_ATTRIBUTES, flags: u32, requestqueuehandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] pub fn HttpCreateServerSession(version: HTTPAPI_VERSION, serversessionid: *mut u64, reserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] pub fn HttpCreateUrlGroup(serversessionid: u64, purlgroupid: *mut u64, reserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpDeclarePush(requestqueuehandle: super::super::Foundation::HANDLE, requestid: u64, verb: HTTP_VERB, path: ::windows_sys::core::PCWSTR, query: ::windows_sys::core::PCSTR, headers: *const HTTP_REQUEST_HEADERS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpDelegateRequestEx(requestqueuehandle: super::super::Foundation::HANDLE, delegatequeuehandle: super::super::Foundation::HANDLE, requestid: u64, delegateurlgroupid: u64, propertyinfosetsize: u32, propertyinfoset: *const HTTP_DELEGATE_REQUEST_PROPERTY_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn HttpDeleteServiceConfiguration(servicehandle: super::super::Foundation::HANDLE, configid: HTTP_SERVICE_CONFIG_ID, pconfiginformation: *const ::core::ffi::c_void, configinformationlength: u32, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpFindUrlGroupId(fullyqualifiedurl: ::windows_sys::core::PCWSTR, requestqueuehandle: super::super::Foundation::HANDLE, urlgroupid: *mut u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn HttpFlushResponseCache(requestqueuehandle: super::super::Foundation::HANDLE, urlprefix: ::windows_sys::core::PCWSTR, flags: u32, overlapped: *mut super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] pub fn HttpGetExtension(version: HTTPAPI_VERSION, extension: u32, buffer: *mut ::core::ffi::c_void, buffersize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] pub fn HttpInitialize(version: HTTPAPI_VERSION, flags: HTTP_INITIALIZE, preserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpIsFeatureSupported(featureid: HTTP_FEATURE_ID) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] pub fn HttpPrepareUrl(reserved: *mut ::core::ffi::c_void, flags: u32, url: ::windows_sys::core::PCWSTR, preparedurl: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpQueryRequestQueueProperty(requestqueuehandle: super::super::Foundation::HANDLE, property: HTTP_SERVER_PROPERTY, propertyinformation: *mut ::core::ffi::c_void, propertyinformationlength: u32, reserved1: u32, returnlength: *mut u32, reserved2: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] pub fn HttpQueryServerSessionProperty(serversessionid: u64, property: HTTP_SERVER_PROPERTY, propertyinformation: *mut ::core::ffi::c_void, propertyinformationlength: u32, returnlength: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn HttpQueryServiceConfiguration(servicehandle: super::super::Foundation::HANDLE, configid: HTTP_SERVICE_CONFIG_ID, pinput: *const ::core::ffi::c_void, inputlength: u32, poutput: *mut ::core::ffi::c_void, outputlength: u32, preturnlength: *mut u32, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] pub fn HttpQueryUrlGroupProperty(urlgroupid: u64, property: HTTP_SERVER_PROPERTY, propertyinformation: *mut ::core::ffi::c_void, propertyinformationlength: u32, returnlength: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn HttpReadFragmentFromCache(requestqueuehandle: super::super::Foundation::HANDLE, urlprefix: ::windows_sys::core::PCWSTR, byterange: *mut HTTP_BYTE_RANGE, buffer: *mut ::core::ffi::c_void, bufferlength: u32, bytesread: *mut u32, overlapped: *mut super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn HttpReceiveClientCertificate(requestqueuehandle: super::super::Foundation::HANDLE, connectionid: u64, flags: u32, sslclientcertinfo: *mut HTTP_SSL_CLIENT_CERT_INFO, sslclientcertinfosize: u32, bytesreceived: *mut u32, overlapped: *mut super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_System_IO"))] pub fn HttpReceiveHttpRequest(requestqueuehandle: super::super::Foundation::HANDLE, requestid: u64, flags: HTTP_RECEIVE_HTTP_REQUEST_FLAGS, requestbuffer: *mut HTTP_REQUEST_V2, requestbufferlength: u32, bytesreturned: *mut u32, overlapped: *mut super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn HttpReceiveRequestEntityBody(requestqueuehandle: super::super::Foundation::HANDLE, requestid: u64, flags: u32, entitybuffer: *mut ::core::ffi::c_void, entitybufferlength: u32, bytesreturned: *mut u32, overlapped: *mut super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpRemoveUrl(requestqueuehandle: super::super::Foundation::HANDLE, fullyqualifiedurl: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] pub fn HttpRemoveUrlFromUrlGroup(urlgroupid: u64, pfullyqualifiedurl: ::windows_sys::core::PCWSTR, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn HttpSendHttpResponse(requestqueuehandle: super::super::Foundation::HANDLE, requestid: u64, flags: u32, httpresponse: *mut HTTP_RESPONSE_V2, cachepolicy: *mut HTTP_CACHE_POLICY, bytessent: *mut u32, reserved1: *mut ::core::ffi::c_void, reserved2: u32, overlapped: *mut super::super::System::IO::OVERLAPPED, logdata: *mut HTTP_LOG_DATA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn HttpSendResponseEntityBody(requestqueuehandle: super::super::Foundation::HANDLE, requestid: u64, flags: u32, entitychunkcount: u16, entitychunks: *const HTTP_DATA_CHUNK, bytessent: *mut u32, reserved1: *mut ::core::ffi::c_void, reserved2: u32, overlapped: *mut super::super::System::IO::OVERLAPPED, logdata: *mut HTTP_LOG_DATA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn HttpSetRequestProperty(requestqueuehandle: super::super::Foundation::HANDLE, id: u64, propertyid: HTTP_REQUEST_PROPERTY, input: *const ::core::ffi::c_void, inputpropertysize: u32, overlapped: *const super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpSetRequestQueueProperty(requestqueuehandle: super::super::Foundation::HANDLE, property: HTTP_SERVER_PROPERTY, propertyinformation: *const ::core::ffi::c_void, propertyinformationlength: u32, reserved1: u32, reserved2: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] pub fn HttpSetServerSessionProperty(serversessionid: u64, property: HTTP_SERVER_PROPERTY, propertyinformation: *const ::core::ffi::c_void, propertyinformationlength: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn HttpSetServiceConfiguration(servicehandle: super::super::Foundation::HANDLE, configid: HTTP_SERVICE_CONFIG_ID, pconfiginformation: *const ::core::ffi::c_void, configinformationlength: u32, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] pub fn HttpSetUrlGroupProperty(urlgroupid: u64, property: HTTP_SERVER_PROPERTY, propertyinformation: *const ::core::ffi::c_void, propertyinformationlength: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpShutdownRequestQueue(requestqueuehandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] pub fn HttpTerminate(flags: HTTP_INITIALIZE, preserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn HttpUpdateServiceConfiguration(handle: super::super::Foundation::HANDLE, configid: HTTP_SERVICE_CONFIG_ID, configinfo: *const ::core::ffi::c_void, configinfolength: u32, overlapped: *mut super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn HttpWaitForDemandStart(requestqueuehandle: super::super::Foundation::HANDLE, overlapped: *mut super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn HttpWaitForDisconnect(requestqueuehandle: super::super::Foundation::HANDLE, connectionid: u64, overlapped: *mut super::super::System::IO::OVERLAPPED) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn HttpWaitForDisconnectEx(requestqueuehandle: super::super::Foundation::HANDLE, connectionid: u64, reserved: u32, overlapped: *mut super::super::System::IO::OVERLAPPED) -> u32; diff --git a/crates/libs/sys/src/Windows/Win32/Networking/Ldap/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/Ldap/mod.rs index 25fc89e48c..26ba735f0d 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/Ldap/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/Ldap/mod.rs @@ -1,611 +1,1337 @@ #[cfg_attr(windows, link(name = "windows"))] -extern "system" { +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn LdapGetLastError() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn LdapMapErrorToWin32(ldaperror: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn LdapUTF8ToUnicode(lpsrcstr: ::windows_sys::core::PCSTR, cchsrc: i32, lpdeststr: ::windows_sys::core::PWSTR, cchdest: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn LdapUnicodeToUTF8(lpsrcstr: ::windows_sys::core::PCWSTR, cchsrc: i32, lpdeststr: ::windows_sys::core::PSTR, cchdest: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ber_alloc_t(options: i32) -> *mut berelement; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ber_bvdup(pberval: *mut LDAP_BERVAL) -> *mut LDAP_BERVAL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ber_bvecfree(pberval: *mut *mut LDAP_BERVAL); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ber_bvfree(bv: *mut LDAP_BERVAL); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ber_first_element(pberelement: *mut berelement, plen: *mut u32, ppopaque: *mut *mut super::super::Foundation::CHAR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ber_flatten(pberelement: *mut berelement, pberval: *mut *mut LDAP_BERVAL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ber_free(pberelement: *mut berelement, fbuf: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ber_init(pberval: *mut LDAP_BERVAL) -> *mut berelement; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ber_next_element(pberelement: *mut berelement, plen: *mut u32, opaque: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ber_peek_tag(pberelement: *mut berelement, plen: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ber_printf(pberelement: *mut berelement, fmt: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ber_scanf(pberelement: *mut berelement, fmt: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ber_skip_tag(pberelement: *mut berelement, plen: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn cldap_open(hostname: ::windows_sys::core::PCSTR, portnumber: u32) -> *mut ldap; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn cldap_openA(hostname: ::windows_sys::core::PCSTR, portnumber: u32) -> *mut ldap; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn cldap_openW(hostname: ::windows_sys::core::PCWSTR, portnumber: u32) -> *mut ldap; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_abandon(ld: *mut ldap, msgid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_add(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, attrs: *mut *mut ldapmodA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_addA(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, attrs: *mut *mut ldapmodA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_addW(ld: *mut ldap, dn: ::windows_sys::core::PCWSTR, attrs: *mut *mut ldapmodW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_add_ext(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, attrs: *mut *mut ldapmodA, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_add_extA(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, attrs: *mut *mut ldapmodA, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_add_extW(ld: *mut ldap, dn: ::windows_sys::core::PCWSTR, attrs: *mut *mut ldapmodW, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW, messagenumber: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_add_ext_s(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, attrs: *mut *mut ldapmodA, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_add_ext_sA(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, attrs: *mut *mut ldapmodA, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_add_ext_sW(ld: *mut ldap, dn: ::windows_sys::core::PCWSTR, attrs: *mut *mut ldapmodW, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_add_s(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, attrs: *mut *mut ldapmodA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_add_sA(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, attrs: *mut *mut ldapmodA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_add_sW(ld: *mut ldap, dn: ::windows_sys::core::PCWSTR, attrs: *mut *mut ldapmodW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_bind(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, cred: ::windows_sys::core::PCSTR, method: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_bindA(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, cred: ::windows_sys::core::PCSTR, method: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_bindW(ld: *mut ldap, dn: ::windows_sys::core::PCWSTR, cred: ::windows_sys::core::PCWSTR, method: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_bind_s(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, cred: ::windows_sys::core::PCSTR, method: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_bind_sA(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, cred: ::windows_sys::core::PCSTR, method: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_bind_sW(ld: *mut ldap, dn: ::windows_sys::core::PCWSTR, cred: ::windows_sys::core::PCWSTR, method: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_check_filterA(ld: *mut ldap, searchfilter: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_check_filterW(ld: *mut ldap, searchfilter: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_cleanup(hinstance: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_close_extended_op(ld: *mut ldap, messagenumber: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_compare(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, attr: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_compareA(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, attr: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_compareW(ld: *mut ldap, dn: ::windows_sys::core::PCWSTR, attr: ::windows_sys::core::PCWSTR, value: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_compare_ext(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, attr: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR, data: *mut LDAP_BERVAL, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_compare_extA(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, attr: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR, data: *const LDAP_BERVAL, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_compare_extW(ld: *mut ldap, dn: ::windows_sys::core::PCWSTR, attr: ::windows_sys::core::PCWSTR, value: ::windows_sys::core::PCWSTR, data: *const LDAP_BERVAL, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW, messagenumber: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_compare_ext_s(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, attr: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR, data: *mut LDAP_BERVAL, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_compare_ext_sA(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, attr: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR, data: *const LDAP_BERVAL, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_compare_ext_sW(ld: *mut ldap, dn: ::windows_sys::core::PCWSTR, attr: ::windows_sys::core::PCWSTR, value: ::windows_sys::core::PCWSTR, data: *const LDAP_BERVAL, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_compare_s(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, attr: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_compare_sA(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, attr: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_compare_sW(ld: *mut ldap, dn: ::windows_sys::core::PCWSTR, attr: ::windows_sys::core::PCWSTR, value: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_conn_from_msg(primaryconn: *mut ldap, res: *mut LDAPMessage) -> *mut ldap; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_connect(ld: *mut ldap, timeout: *mut LDAP_TIMEVAL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_control_free(control: *mut ldapcontrolA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_control_freeA(controls: *mut ldapcontrolA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_control_freeW(control: *mut ldapcontrolW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_controls_free(controls: *mut *mut ldapcontrolA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_controls_freeA(controls: *mut *mut ldapcontrolA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_controls_freeW(control: *mut *mut ldapcontrolW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_count_entries(ld: *mut ldap, res: *mut LDAPMessage) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_count_references(ld: *mut ldap, res: *mut LDAPMessage) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_count_values(vals: *const ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_count_valuesA(vals: *const ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_count_valuesW(vals: *const ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_count_values_len(vals: *mut *mut LDAP_BERVAL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_create_page_control(externalhandle: *mut ldap, pagesize: u32, cookie: *mut LDAP_BERVAL, iscritical: u8, control: *mut *mut ldapcontrolA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_create_page_controlA(externalhandle: *mut ldap, pagesize: u32, cookie: *mut LDAP_BERVAL, iscritical: u8, control: *mut *mut ldapcontrolA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_create_page_controlW(externalhandle: *mut ldap, pagesize: u32, cookie: *mut LDAP_BERVAL, iscritical: u8, control: *mut *mut ldapcontrolW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_create_sort_control(externalhandle: *mut ldap, sortkeys: *mut *mut ldapsortkeyA, iscritical: u8, control: *mut *mut ldapcontrolA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_create_sort_controlA(externalhandle: *mut ldap, sortkeys: *mut *mut ldapsortkeyA, iscritical: u8, control: *mut *mut ldapcontrolA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_create_sort_controlW(externalhandle: *mut ldap, sortkeys: *mut *mut ldapsortkeyW, iscritical: u8, control: *mut *mut ldapcontrolW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_create_vlv_controlA(externalhandle: *mut ldap, vlvinfo: *mut ldapvlvinfo, iscritical: u8, control: *mut *mut ldapcontrolA) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_create_vlv_controlW(externalhandle: *mut ldap, vlvinfo: *mut ldapvlvinfo, iscritical: u8, control: *mut *mut ldapcontrolW) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_delete(ld: *mut ldap, dn: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_deleteA(ld: *mut ldap, dn: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_deleteW(ld: *mut ldap, dn: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_delete_ext(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_delete_extA(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_delete_extW(ld: *mut ldap, dn: ::windows_sys::core::PCWSTR, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW, messagenumber: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_delete_ext_s(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_delete_ext_sA(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_delete_ext_sW(ld: *mut ldap, dn: ::windows_sys::core::PCWSTR, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_delete_s(ld: *mut ldap, dn: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_delete_sA(ld: *mut ldap, dn: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_delete_sW(ld: *mut ldap, dn: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_dn2ufn(dn: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_dn2ufnA(dn: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_dn2ufnW(dn: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_encode_sort_controlA(externalhandle: *mut ldap, sortkeys: *mut *mut ldapsortkeyA, control: *mut ldapcontrolA, criticality: super::super::Foundation::BOOLEAN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_encode_sort_controlW(externalhandle: *mut ldap, sortkeys: *mut *mut ldapsortkeyW, control: *mut ldapcontrolW, criticality: super::super::Foundation::BOOLEAN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_err2string(err: u32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_err2stringA(err: u32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_err2stringW(err: u32) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_escape_filter_element(sourcefilterelement: ::windows_sys::core::PCSTR, sourcelength: u32, destfilterelement: ::windows_sys::core::PSTR, destlength: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_escape_filter_elementA(sourcefilterelement: ::windows_sys::core::PCSTR, sourcelength: u32, destfilterelement: ::windows_sys::core::PSTR, destlength: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_escape_filter_elementW(sourcefilterelement: ::windows_sys::core::PCSTR, sourcelength: u32, destfilterelement: ::windows_sys::core::PWSTR, destlength: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_explode_dn(dn: ::windows_sys::core::PCSTR, notypes: u32) -> *mut ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_explode_dnA(dn: ::windows_sys::core::PCSTR, notypes: u32) -> *mut ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_explode_dnW(dn: ::windows_sys::core::PCWSTR, notypes: u32) -> *mut ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_extended_operation(ld: *mut ldap, oid: ::windows_sys::core::PCSTR, data: *mut LDAP_BERVAL, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_extended_operationA(ld: *mut ldap, oid: ::windows_sys::core::PCSTR, data: *mut LDAP_BERVAL, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_extended_operationW(ld: *mut ldap, oid: ::windows_sys::core::PCWSTR, data: *mut LDAP_BERVAL, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW, messagenumber: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_extended_operation_sA(externalhandle: *mut ldap, oid: ::windows_sys::core::PCSTR, data: *mut LDAP_BERVAL, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, returnedoid: *mut ::windows_sys::core::PSTR, returneddata: *mut *mut LDAP_BERVAL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_extended_operation_sW(externalhandle: *mut ldap, oid: ::windows_sys::core::PCWSTR, data: *mut LDAP_BERVAL, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW, returnedoid: *mut ::windows_sys::core::PWSTR, returneddata: *mut *mut LDAP_BERVAL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_first_attribute(ld: *mut ldap, entry: *mut LDAPMessage, ptr: *mut *mut berelement) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_first_attributeA(ld: *mut ldap, entry: *mut LDAPMessage, ptr: *mut *mut berelement) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_first_attributeW(ld: *mut ldap, entry: *mut LDAPMessage, ptr: *mut *mut berelement) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_first_entry(ld: *mut ldap, res: *mut LDAPMessage) -> *mut LDAPMessage; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_first_reference(ld: *mut ldap, res: *mut LDAPMessage) -> *mut LDAPMessage; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_free_controls(controls: *mut *mut ldapcontrolA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_free_controlsA(controls: *mut *mut ldapcontrolA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_free_controlsW(controls: *mut *mut ldapcontrolW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_get_dn(ld: *mut ldap, entry: *mut LDAPMessage) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_get_dnA(ld: *mut ldap, entry: *mut LDAPMessage) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_get_dnW(ld: *mut ldap, entry: *mut LDAPMessage) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_get_next_page(externalhandle: *mut ldap, searchhandle: *mut ldapsearch, pagesize: u32, messagenumber: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_get_next_page_s(externalhandle: *mut ldap, searchhandle: *mut ldapsearch, timeout: *mut LDAP_TIMEVAL, pagesize: u32, totalcount: *mut u32, results: *mut *mut LDAPMessage) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_get_option(ld: *mut ldap, option: i32, outvalue: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_get_optionW(ld: *mut ldap, option: i32, outvalue: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_get_paged_count(externalhandle: *mut ldap, searchblock: *mut ldapsearch, totalcount: *mut u32, results: *mut LDAPMessage) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_get_values(ld: *mut ldap, entry: *mut LDAPMessage, attr: ::windows_sys::core::PCSTR) -> *mut ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_get_valuesA(ld: *mut ldap, entry: *mut LDAPMessage, attr: ::windows_sys::core::PCSTR) -> *mut ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_get_valuesW(ld: *mut ldap, entry: *mut LDAPMessage, attr: ::windows_sys::core::PCWSTR) -> *mut ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_get_values_len(externalhandle: *mut ldap, message: *mut LDAPMessage, attr: ::windows_sys::core::PCSTR) -> *mut *mut LDAP_BERVAL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_get_values_lenA(externalhandle: *mut ldap, message: *mut LDAPMessage, attr: ::windows_sys::core::PCSTR) -> *mut *mut LDAP_BERVAL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_get_values_lenW(externalhandle: *mut ldap, message: *mut LDAPMessage, attr: ::windows_sys::core::PCWSTR) -> *mut *mut LDAP_BERVAL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_init(hostname: ::windows_sys::core::PCSTR, portnumber: u32) -> *mut ldap; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_initA(hostname: ::windows_sys::core::PCSTR, portnumber: u32) -> *mut ldap; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_initW(hostname: ::windows_sys::core::PCWSTR, portnumber: u32) -> *mut ldap; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_memfree(block: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_memfreeA(block: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_memfreeW(block: ::windows_sys::core::PCWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_modify(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, mods: *mut *mut ldapmodA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_modifyA(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, mods: *mut *mut ldapmodA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_modifyW(ld: *mut ldap, dn: ::windows_sys::core::PCWSTR, mods: *mut *mut ldapmodW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_modify_ext(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, mods: *mut *mut ldapmodA, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_modify_extA(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, mods: *mut *mut ldapmodA, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_modify_extW(ld: *mut ldap, dn: ::windows_sys::core::PCWSTR, mods: *mut *mut ldapmodW, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW, messagenumber: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_modify_ext_s(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, mods: *mut *mut ldapmodA, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_modify_ext_sA(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, mods: *mut *mut ldapmodA, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_modify_ext_sW(ld: *mut ldap, dn: ::windows_sys::core::PCWSTR, mods: *mut *mut ldapmodW, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_modify_s(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, mods: *mut *mut ldapmodA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_modify_sA(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, mods: *mut *mut ldapmodA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_modify_sW(ld: *mut ldap, dn: ::windows_sys::core::PCWSTR, mods: *mut *mut ldapmodW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_modrdn(externalhandle: *mut ldap, distinguishedname: ::windows_sys::core::PCSTR, newdistinguishedname: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_modrdn2(externalhandle: *mut ldap, distinguishedname: ::windows_sys::core::PCSTR, newdistinguishedname: ::windows_sys::core::PCSTR, deleteoldrdn: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_modrdn2A(externalhandle: *mut ldap, distinguishedname: ::windows_sys::core::PCSTR, newdistinguishedname: ::windows_sys::core::PCSTR, deleteoldrdn: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_modrdn2W(externalhandle: *mut ldap, distinguishedname: ::windows_sys::core::PCWSTR, newdistinguishedname: ::windows_sys::core::PCWSTR, deleteoldrdn: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_modrdn2_s(externalhandle: *mut ldap, distinguishedname: ::windows_sys::core::PCSTR, newdistinguishedname: ::windows_sys::core::PCSTR, deleteoldrdn: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_modrdn2_sA(externalhandle: *mut ldap, distinguishedname: ::windows_sys::core::PCSTR, newdistinguishedname: ::windows_sys::core::PCSTR, deleteoldrdn: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_modrdn2_sW(externalhandle: *mut ldap, distinguishedname: ::windows_sys::core::PCWSTR, newdistinguishedname: ::windows_sys::core::PCWSTR, deleteoldrdn: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_modrdnA(externalhandle: *mut ldap, distinguishedname: ::windows_sys::core::PCSTR, newdistinguishedname: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_modrdnW(externalhandle: *mut ldap, distinguishedname: ::windows_sys::core::PCWSTR, newdistinguishedname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_modrdn_s(externalhandle: *mut ldap, distinguishedname: ::windows_sys::core::PCSTR, newdistinguishedname: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_modrdn_sA(externalhandle: *mut ldap, distinguishedname: ::windows_sys::core::PCSTR, newdistinguishedname: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_modrdn_sW(externalhandle: *mut ldap, distinguishedname: ::windows_sys::core::PCWSTR, newdistinguishedname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_msgfree(res: *mut LDAPMessage) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_next_attribute(ld: *mut ldap, entry: *mut LDAPMessage, ptr: *mut berelement) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_next_attributeA(ld: *mut ldap, entry: *mut LDAPMessage, ptr: *mut berelement) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_next_attributeW(ld: *mut ldap, entry: *mut LDAPMessage, ptr: *mut berelement) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_next_entry(ld: *mut ldap, entry: *mut LDAPMessage) -> *mut LDAPMessage; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_next_reference(ld: *mut ldap, entry: *mut LDAPMessage) -> *mut LDAPMessage; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_open(hostname: ::windows_sys::core::PCSTR, portnumber: u32) -> *mut ldap; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_openA(hostname: ::windows_sys::core::PCSTR, portnumber: u32) -> *mut ldap; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_openW(hostname: ::windows_sys::core::PCWSTR, portnumber: u32) -> *mut ldap; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_parse_extended_resultA(connection: *mut ldap, resultmessage: *mut LDAPMessage, resultoid: *mut ::windows_sys::core::PSTR, resultdata: *mut *mut LDAP_BERVAL, freeit: super::super::Foundation::BOOLEAN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_parse_extended_resultW(connection: *mut ldap, resultmessage: *mut LDAPMessage, resultoid: *mut ::windows_sys::core::PWSTR, resultdata: *mut *mut LDAP_BERVAL, freeit: super::super::Foundation::BOOLEAN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_parse_page_control(externalhandle: *mut ldap, servercontrols: *mut *mut ldapcontrolA, totalcount: *mut u32, cookie: *mut *mut LDAP_BERVAL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_parse_page_controlA(externalhandle: *mut ldap, servercontrols: *mut *mut ldapcontrolA, totalcount: *mut u32, cookie: *mut *mut LDAP_BERVAL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_parse_page_controlW(externalhandle: *mut ldap, servercontrols: *mut *mut ldapcontrolW, totalcount: *mut u32, cookie: *mut *mut LDAP_BERVAL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_parse_reference(connection: *mut ldap, resultmessage: *mut LDAPMessage, referrals: *mut *mut ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_parse_referenceA(connection: *mut ldap, resultmessage: *mut LDAPMessage, referrals: *mut *mut ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_parse_referenceW(connection: *mut ldap, resultmessage: *mut LDAPMessage, referrals: *mut *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_parse_result(connection: *mut ldap, resultmessage: *mut LDAPMessage, returncode: *mut u32, matcheddns: *mut ::windows_sys::core::PSTR, errormessage: *mut ::windows_sys::core::PSTR, referrals: *mut *mut ::windows_sys::core::PSTR, servercontrols: *mut *mut *mut ldapcontrolA, freeit: super::super::Foundation::BOOLEAN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_parse_resultA(connection: *mut ldap, resultmessage: *mut LDAPMessage, returncode: *mut u32, matcheddns: *mut ::windows_sys::core::PSTR, errormessage: *mut ::windows_sys::core::PSTR, referrals: *mut *mut *mut i8, servercontrols: *mut *mut *mut ldapcontrolA, freeit: super::super::Foundation::BOOLEAN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_parse_resultW(connection: *mut ldap, resultmessage: *mut LDAPMessage, returncode: *mut u32, matcheddns: *mut ::windows_sys::core::PWSTR, errormessage: *mut ::windows_sys::core::PWSTR, referrals: *mut *mut *mut u16, servercontrols: *mut *mut *mut ldapcontrolW, freeit: super::super::Foundation::BOOLEAN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_parse_sort_control(externalhandle: *mut ldap, control: *mut *mut ldapcontrolA, result: *mut u32, attribute: *mut ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_parse_sort_controlA(externalhandle: *mut ldap, control: *mut *mut ldapcontrolA, result: *mut u32, attribute: *mut ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_parse_sort_controlW(externalhandle: *mut ldap, control: *mut *mut ldapcontrolW, result: *mut u32, attribute: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_parse_vlv_controlA(externalhandle: *mut ldap, control: *mut *mut ldapcontrolA, targetpos: *mut u32, listcount: *mut u32, context: *mut *mut LDAP_BERVAL, errcode: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_parse_vlv_controlW(externalhandle: *mut ldap, control: *mut *mut ldapcontrolW, targetpos: *mut u32, listcount: *mut u32, context: *mut *mut LDAP_BERVAL, errcode: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_perror(ld: *mut ldap, msg: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_rename_ext(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, newrdn: ::windows_sys::core::PCSTR, newparent: ::windows_sys::core::PCSTR, deleteoldrdn: i32, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_rename_extA(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, newrdn: ::windows_sys::core::PCSTR, newparent: ::windows_sys::core::PCSTR, deleteoldrdn: i32, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_rename_extW(ld: *mut ldap, dn: ::windows_sys::core::PCWSTR, newrdn: ::windows_sys::core::PCWSTR, newparent: ::windows_sys::core::PCWSTR, deleteoldrdn: i32, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW, messagenumber: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_rename_ext_s(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, newrdn: ::windows_sys::core::PCSTR, newparent: ::windows_sys::core::PCSTR, deleteoldrdn: i32, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_rename_ext_sA(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, newrdn: ::windows_sys::core::PCSTR, newparent: ::windows_sys::core::PCSTR, deleteoldrdn: i32, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_rename_ext_sW(ld: *mut ldap, dn: ::windows_sys::core::PCWSTR, newrdn: ::windows_sys::core::PCWSTR, newparent: ::windows_sys::core::PCWSTR, deleteoldrdn: i32, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_result(ld: *mut ldap, msgid: u32, all: u32, timeout: *const LDAP_TIMEVAL, res: *mut *mut LDAPMessage) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_result2error(ld: *mut ldap, res: *mut LDAPMessage, freeit: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_sasl_bindA(externalhandle: *mut ldap, distname: ::windows_sys::core::PCSTR, authmechanism: ::windows_sys::core::PCSTR, cred: *const LDAP_BERVAL, serverctrls: *mut *mut ldapcontrolA, clientctrls: *mut *mut ldapcontrolA, messagenumber: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_sasl_bindW(externalhandle: *mut ldap, distname: ::windows_sys::core::PCWSTR, authmechanism: ::windows_sys::core::PCWSTR, cred: *const LDAP_BERVAL, serverctrls: *mut *mut ldapcontrolW, clientctrls: *mut *mut ldapcontrolW, messagenumber: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_sasl_bind_sA(externalhandle: *mut ldap, distname: ::windows_sys::core::PCSTR, authmechanism: ::windows_sys::core::PCSTR, cred: *const LDAP_BERVAL, serverctrls: *mut *mut ldapcontrolA, clientctrls: *mut *mut ldapcontrolA, serverdata: *mut *mut LDAP_BERVAL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_sasl_bind_sW(externalhandle: *mut ldap, distname: ::windows_sys::core::PCWSTR, authmechanism: ::windows_sys::core::PCWSTR, cred: *const LDAP_BERVAL, serverctrls: *mut *mut ldapcontrolW, clientctrls: *mut *mut ldapcontrolW, serverdata: *mut *mut LDAP_BERVAL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_search(ld: *mut ldap, base: ::windows_sys::core::PCSTR, scope: u32, filter: ::windows_sys::core::PCSTR, attrs: *const *const i8, attrsonly: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_searchA(ld: *mut ldap, base: ::windows_sys::core::PCSTR, scope: u32, filter: ::windows_sys::core::PCSTR, attrs: *const *const i8, attrsonly: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_searchW(ld: *mut ldap, base: ::windows_sys::core::PCWSTR, scope: u32, filter: ::windows_sys::core::PCWSTR, attrs: *const *const u16, attrsonly: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_search_abandon_page(externalhandle: *mut ldap, searchblock: *mut ldapsearch) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_search_ext(ld: *mut ldap, base: ::windows_sys::core::PCSTR, scope: u32, filter: ::windows_sys::core::PCSTR, attrs: *const *const i8, attrsonly: u32, servercontrols: *const *const ldapcontrolA, clientcontrols: *const *const ldapcontrolA, timelimit: u32, sizelimit: u32, messagenumber: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_search_extA(ld: *mut ldap, base: ::windows_sys::core::PCSTR, scope: u32, filter: ::windows_sys::core::PCSTR, attrs: *const *const i8, attrsonly: u32, servercontrols: *const *const ldapcontrolA, clientcontrols: *const *const ldapcontrolA, timelimit: u32, sizelimit: u32, messagenumber: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_search_extW(ld: *mut ldap, base: ::windows_sys::core::PCWSTR, scope: u32, filter: ::windows_sys::core::PCWSTR, attrs: *const *const u16, attrsonly: u32, servercontrols: *const *const ldapcontrolW, clientcontrols: *const *const ldapcontrolW, timelimit: u32, sizelimit: u32, messagenumber: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_search_ext_s(ld: *mut ldap, base: ::windows_sys::core::PCSTR, scope: u32, filter: ::windows_sys::core::PCSTR, attrs: *const *const i8, attrsonly: u32, servercontrols: *const *const ldapcontrolA, clientcontrols: *const *const ldapcontrolA, timeout: *mut LDAP_TIMEVAL, sizelimit: u32, res: *mut *mut LDAPMessage) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_search_ext_sA(ld: *mut ldap, base: ::windows_sys::core::PCSTR, scope: u32, filter: ::windows_sys::core::PCSTR, attrs: *const *const i8, attrsonly: u32, servercontrols: *const *const ldapcontrolA, clientcontrols: *const *const ldapcontrolA, timeout: *mut LDAP_TIMEVAL, sizelimit: u32, res: *mut *mut LDAPMessage) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_search_ext_sW(ld: *mut ldap, base: ::windows_sys::core::PCWSTR, scope: u32, filter: ::windows_sys::core::PCWSTR, attrs: *const *const u16, attrsonly: u32, servercontrols: *const *const ldapcontrolW, clientcontrols: *const *const ldapcontrolW, timeout: *mut LDAP_TIMEVAL, sizelimit: u32, res: *mut *mut LDAPMessage) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_search_init_page(externalhandle: *mut ldap, distinguishedname: ::windows_sys::core::PCSTR, scopeofsearch: u32, searchfilter: ::windows_sys::core::PCSTR, attributelist: *mut *mut i8, attributesonly: u32, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, pagetimelimit: u32, totalsizelimit: u32, sortkeys: *mut *mut ldapsortkeyA) -> *mut ldapsearch; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_search_init_pageA(externalhandle: *mut ldap, distinguishedname: ::windows_sys::core::PCSTR, scopeofsearch: u32, searchfilter: ::windows_sys::core::PCSTR, attributelist: *const *const i8, attributesonly: u32, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, pagetimelimit: u32, totalsizelimit: u32, sortkeys: *mut *mut ldapsortkeyA) -> *mut ldapsearch; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_search_init_pageW(externalhandle: *mut ldap, distinguishedname: ::windows_sys::core::PCWSTR, scopeofsearch: u32, searchfilter: ::windows_sys::core::PCWSTR, attributelist: *const *const u16, attributesonly: u32, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW, pagetimelimit: u32, totalsizelimit: u32, sortkeys: *mut *mut ldapsortkeyW) -> *mut ldapsearch; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_search_s(ld: *mut ldap, base: ::windows_sys::core::PCSTR, scope: u32, filter: ::windows_sys::core::PCSTR, attrs: *const *const i8, attrsonly: u32, res: *mut *mut LDAPMessage) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_search_sA(ld: *mut ldap, base: ::windows_sys::core::PCSTR, scope: u32, filter: ::windows_sys::core::PCSTR, attrs: *const *const i8, attrsonly: u32, res: *mut *mut LDAPMessage) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_search_sW(ld: *mut ldap, base: ::windows_sys::core::PCWSTR, scope: u32, filter: ::windows_sys::core::PCWSTR, attrs: *const *const u16, attrsonly: u32, res: *mut *mut LDAPMessage) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_search_st(ld: *mut ldap, base: ::windows_sys::core::PCSTR, scope: u32, filter: ::windows_sys::core::PCSTR, attrs: *const *const i8, attrsonly: u32, timeout: *mut LDAP_TIMEVAL, res: *mut *mut LDAPMessage) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_search_stA(ld: *mut ldap, base: ::windows_sys::core::PCSTR, scope: u32, filter: ::windows_sys::core::PCSTR, attrs: *const *const i8, attrsonly: u32, timeout: *mut LDAP_TIMEVAL, res: *mut *mut LDAPMessage) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_search_stW(ld: *mut ldap, base: ::windows_sys::core::PCWSTR, scope: u32, filter: ::windows_sys::core::PCWSTR, attrs: *const *const u16, attrsonly: u32, timeout: *mut LDAP_TIMEVAL, res: *mut *mut LDAPMessage) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_set_dbg_flags(newflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_set_dbg_routine(debugprintroutine: DBGPRINT); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_set_option(ld: *mut ldap, option: i32, invalue: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_set_optionW(ld: *mut ldap, option: i32, invalue: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_simple_bind(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, passwd: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_simple_bindA(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, passwd: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_simple_bindW(ld: *mut ldap, dn: ::windows_sys::core::PCWSTR, passwd: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_simple_bind_s(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, passwd: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_simple_bind_sA(ld: *mut ldap, dn: ::windows_sys::core::PCSTR, passwd: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_simple_bind_sW(ld: *mut ldap, dn: ::windows_sys::core::PCWSTR, passwd: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_sslinit(hostname: ::windows_sys::core::PCSTR, portnumber: u32, secure: i32) -> *mut ldap; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_sslinitA(hostname: ::windows_sys::core::PCSTR, portnumber: u32, secure: i32) -> *mut ldap; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_sslinitW(hostname: ::windows_sys::core::PCWSTR, portnumber: u32, secure: i32) -> *mut ldap; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_start_tls_sA(externalhandle: *mut ldap, serverreturnvalue: *mut u32, result: *mut *mut LDAPMessage, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_start_tls_sW(externalhandle: *mut ldap, serverreturnvalue: *mut u32, result: *mut *mut LDAPMessage, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_startup(version: *mut ldap_version_info, instance: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ldap_stop_tls_s(externalhandle: *mut ldap) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_ufn2dn(ufn: ::windows_sys::core::PCSTR, pdn: *mut ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_ufn2dnA(ufn: ::windows_sys::core::PCSTR, pdn: *mut ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_ufn2dnW(ufn: ::windows_sys::core::PCWSTR, pdn: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_unbind(ld: *mut ldap) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_unbind_s(ld: *mut ldap) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_value_free(vals: *const ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_value_freeA(vals: *const ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_value_freeW(vals: *const ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] pub fn ldap_value_free_len(vals: *mut *mut LDAP_BERVAL) -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/Networking/WebSocket/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/WebSocket/mod.rs index 2055247372..be62fa8b92 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/WebSocket/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/WebSocket/mod.rs @@ -2,28 +2,64 @@ extern "system" { #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] pub fn WebSocketAbortHandle(hwebsocket: WEB_SOCKET_HANDLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] pub fn WebSocketBeginClientHandshake(hwebsocket: WEB_SOCKET_HANDLE, pszsubprotocols: *const ::windows_sys::core::PSTR, ulsubprotocolcount: u32, pszextensions: *const ::windows_sys::core::PSTR, ulextensioncount: u32, pinitialheaders: *const WEB_SOCKET_HTTP_HEADER, ulinitialheadercount: u32, padditionalheaders: *mut *mut WEB_SOCKET_HTTP_HEADER, puladditionalheadercount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] pub fn WebSocketBeginServerHandshake(hwebsocket: WEB_SOCKET_HANDLE, pszsubprotocolselected: ::windows_sys::core::PCSTR, pszextensionselected: *const ::windows_sys::core::PSTR, ulextensionselectedcount: u32, prequestheaders: *const WEB_SOCKET_HTTP_HEADER, ulrequestheadercount: u32, presponseheaders: *mut *mut WEB_SOCKET_HTTP_HEADER, pulresponseheadercount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] pub fn WebSocketCompleteAction(hwebsocket: WEB_SOCKET_HANDLE, pvactioncontext: *const ::core::ffi::c_void, ulbytestransferred: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] pub fn WebSocketCreateClientHandle(pproperties: *const WEB_SOCKET_PROPERTY, ulpropertycount: u32, phwebsocket: *mut WEB_SOCKET_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] pub fn WebSocketCreateServerHandle(pproperties: *const WEB_SOCKET_PROPERTY, ulpropertycount: u32, phwebsocket: *mut WEB_SOCKET_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] pub fn WebSocketDeleteHandle(hwebsocket: WEB_SOCKET_HANDLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] pub fn WebSocketEndClientHandshake(hwebsocket: WEB_SOCKET_HANDLE, presponseheaders: *const WEB_SOCKET_HTTP_HEADER, ulreponseheadercount: u32, pulselectedextensions: *mut u32, pulselectedextensioncount: *mut u32, pulselectedsubprotocol: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] pub fn WebSocketEndServerHandshake(hwebsocket: WEB_SOCKET_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] pub fn WebSocketGetAction(hwebsocket: WEB_SOCKET_HANDLE, eactionqueue: WEB_SOCKET_ACTION_QUEUE, pdatabuffers: *mut WEB_SOCKET_BUFFER, puldatabuffercount: *mut u32, paction: *mut WEB_SOCKET_ACTION, pbuffertype: *mut WEB_SOCKET_BUFFER_TYPE, pvapplicationcontext: *mut *mut ::core::ffi::c_void, pvactioncontext: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] pub fn WebSocketGetGlobalProperty(etype: WEB_SOCKET_PROPERTY_TYPE, pvvalue: *mut ::core::ffi::c_void, ulsize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] pub fn WebSocketReceive(hwebsocket: WEB_SOCKET_HANDLE, pbuffer: *const WEB_SOCKET_BUFFER, pvcontext: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] pub fn WebSocketSend(hwebsocket: WEB_SOCKET_HANDLE, buffertype: WEB_SOCKET_BUFFER_TYPE, pbuffer: *const WEB_SOCKET_BUFFER, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/Networking/WinHttp/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/WinHttp/mod.rs index bad17a011f..b2411510d2 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/WinHttp/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/WinHttp/mod.rs @@ -3,135 +3,285 @@ extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpAddRequestHeaders(hrequest: *mut ::core::ffi::c_void, lpszheaders: ::windows_sys::core::PCWSTR, dwheaderslength: u32, dwmodifiers: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub fn WinHttpAddRequestHeadersEx(hrequest: *mut ::core::ffi::c_void, dwmodifiers: u32, ullflags: u64, ullextra: u64, cheaders: u32, pheaders: *const WINHTTP_EXTENDED_HEADER) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpCheckPlatform() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpCloseHandle(hinternet: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub fn WinHttpConnect(hsession: *mut ::core::ffi::c_void, pswzservername: ::windows_sys::core::PCWSTR, nserverport: INTERNET_PORT, dwreserved: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpCrackUrl(pwszurl: ::windows_sys::core::PCWSTR, dwurllength: u32, dwflags: u32, lpurlcomponents: *mut URL_COMPONENTS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub fn WinHttpCreateProxyResolver(hsession: *const ::core::ffi::c_void, phresolver: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpCreateUrl(lpurlcomponents: *const URL_COMPONENTS, dwflags: WIN_HTTP_CREATE_URL_FLAGS, pwszurl: ::windows_sys::core::PWSTR, pdwurllength: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpDetectAutoProxyConfigUrl(dwautodetectflags: u32, ppwstrautoconfigurl: *mut ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpFreeProxyResult(pproxyresult: *mut WINHTTP_PROXY_RESULT); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpFreeProxyResultEx(pproxyresultex: *mut WINHTTP_PROXY_RESULT_EX); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpFreeProxySettings(pwinhttpproxysettings: *const WINHTTP_PROXY_SETTINGS); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub fn WinHttpFreeQueryConnectionGroupResult(presult: *mut WINHTTP_QUERY_CONNECTION_GROUP_RESULT); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpGetDefaultProxyConfiguration(pproxyinfo: *mut WINHTTP_PROXY_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpGetIEProxyConfigForCurrentUser(pproxyconfig: *mut WINHTTP_CURRENT_USER_IE_PROXY_CONFIG) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpGetProxyForUrl(hsession: *mut ::core::ffi::c_void, lpcwszurl: ::windows_sys::core::PCWSTR, pautoproxyoptions: *mut WINHTTP_AUTOPROXY_OPTIONS, pproxyinfo: *mut WINHTTP_PROXY_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpGetProxyForUrlEx(hresolver: *const ::core::ffi::c_void, pcwszurl: ::windows_sys::core::PCWSTR, pautoproxyoptions: *const WINHTTP_AUTOPROXY_OPTIONS, pcontext: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpGetProxyForUrlEx2(hresolver: *const ::core::ffi::c_void, pcwszurl: ::windows_sys::core::PCWSTR, pautoproxyoptions: *const WINHTTP_AUTOPROXY_OPTIONS, cbinterfaceselectioncontext: u32, pinterfaceselectioncontext: *const u8, pcontext: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpGetProxyResult(hresolver: *const ::core::ffi::c_void, pproxyresult: *mut WINHTTP_PROXY_RESULT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpGetProxyResultEx(hresolver: *const ::core::ffi::c_void, pproxyresultex: *mut WINHTTP_PROXY_RESULT_EX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub fn WinHttpGetProxySettingsVersion(hsession: *const ::core::ffi::c_void, pdwproxysettingsversion: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub fn WinHttpOpen(pszagentw: ::windows_sys::core::PCWSTR, dwaccesstype: WINHTTP_ACCESS_TYPE, pszproxyw: ::windows_sys::core::PCWSTR, pszproxybypassw: ::windows_sys::core::PCWSTR, dwflags: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub fn WinHttpOpenRequest(hconnect: *mut ::core::ffi::c_void, pwszverb: ::windows_sys::core::PCWSTR, pwszobjectname: ::windows_sys::core::PCWSTR, pwszversion: ::windows_sys::core::PCWSTR, pwszreferrer: ::windows_sys::core::PCWSTR, ppwszaccepttypes: *mut ::windows_sys::core::PWSTR, dwflags: WINHTTP_OPEN_REQUEST_FLAGS) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpQueryAuthSchemes(hrequest: *mut ::core::ffi::c_void, lpdwsupportedschemes: *mut u32, lpdwfirstscheme: *mut u32, pdwauthtarget: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub fn WinHttpQueryConnectionGroup(hinternet: *const ::core::ffi::c_void, pguidconnection: *const ::windows_sys::core::GUID, ullflags: u64, ppresult: *mut *mut WINHTTP_QUERY_CONNECTION_GROUP_RESULT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpQueryDataAvailable(hrequest: *mut ::core::ffi::c_void, lpdwnumberofbytesavailable: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpQueryHeaders(hrequest: *mut ::core::ffi::c_void, dwinfolevel: u32, pwszname: ::windows_sys::core::PCWSTR, lpbuffer: *mut ::core::ffi::c_void, lpdwbufferlength: *mut u32, lpdwindex: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub fn WinHttpQueryHeadersEx(hrequest: *const ::core::ffi::c_void, dwinfolevel: u32, ullflags: u64, uicodepage: u32, pdwindex: *mut u32, pheadername: *const WINHTTP_HEADER_NAME, pbuffer: *mut ::core::ffi::c_void, pdwbufferlength: *mut u32, ppheaders: *mut *mut WINHTTP_EXTENDED_HEADER, pdwheaderscount: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpQueryOption(hinternet: *mut ::core::ffi::c_void, dwoption: u32, lpbuffer: *mut ::core::ffi::c_void, lpdwbufferlength: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpReadData(hrequest: *mut ::core::ffi::c_void, lpbuffer: *mut ::core::ffi::c_void, dwnumberofbytestoread: u32, lpdwnumberofbytesread: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub fn WinHttpReadDataEx(hrequest: *mut ::core::ffi::c_void, lpbuffer: *mut ::core::ffi::c_void, dwnumberofbytestoread: u32, lpdwnumberofbytesread: *mut u32, ullflags: u64, cbproperty: u32, pvproperty: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpReadProxySettings(hsession: *const ::core::ffi::c_void, pcwszconnectionname: ::windows_sys::core::PCWSTR, ffallbacktodefaultsettings: super::super::Foundation::BOOL, fsetautodiscoverfordefaultsettings: super::super::Foundation::BOOL, pdwsettingsversion: *mut u32, pfdefaultsettingsarereturned: *mut super::super::Foundation::BOOL, pwinhttpproxysettings: *mut WINHTTP_PROXY_SETTINGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpReceiveResponse(hrequest: *mut ::core::ffi::c_void, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub fn WinHttpResetAutoProxy(hsession: *const ::core::ffi::c_void, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpSendRequest(hrequest: *mut ::core::ffi::c_void, lpszheaders: ::windows_sys::core::PCWSTR, dwheaderslength: u32, lpoptional: *const ::core::ffi::c_void, dwoptionallength: u32, dwtotallength: u32, dwcontext: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpSetCredentials(hrequest: *mut ::core::ffi::c_void, authtargets: u32, authscheme: u32, pwszusername: ::windows_sys::core::PCWSTR, pwszpassword: ::windows_sys::core::PCWSTR, pauthparams: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpSetDefaultProxyConfiguration(pproxyinfo: *mut WINHTTP_PROXY_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpSetOption(hinternet: *const ::core::ffi::c_void, dwoption: u32, lpbuffer: *const ::core::ffi::c_void, dwbufferlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpSetProxySettingsPerUser(fproxysettingsperuser: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub fn WinHttpSetStatusCallback(hinternet: *mut ::core::ffi::c_void, lpfninternetcallback: WINHTTP_STATUS_CALLBACK, dwnotificationflags: u32, dwreserved: usize) -> WINHTTP_STATUS_CALLBACK; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpSetTimeouts(hinternet: *mut ::core::ffi::c_void, nresolvetimeout: i32, nconnecttimeout: i32, nsendtimeout: i32, nreceivetimeout: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpTimeFromSystemTime(pst: *const super::super::Foundation::SYSTEMTIME, pwsztime: ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpTimeToSystemTime(pwsztime: ::windows_sys::core::PCWSTR, pst: *mut super::super::Foundation::SYSTEMTIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub fn WinHttpWebSocketClose(hwebsocket: *const ::core::ffi::c_void, usstatus: u16, pvreason: *const ::core::ffi::c_void, dwreasonlength: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub fn WinHttpWebSocketCompleteUpgrade(hrequest: *const ::core::ffi::c_void, pcontext: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub fn WinHttpWebSocketQueryCloseStatus(hwebsocket: *const ::core::ffi::c_void, pusstatus: *mut u16, pvreason: *mut ::core::ffi::c_void, dwreasonlength: u32, pdwreasonlengthconsumed: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub fn WinHttpWebSocketReceive(hwebsocket: *const ::core::ffi::c_void, pvbuffer: *mut ::core::ffi::c_void, dwbufferlength: u32, pdwbytesread: *mut u32, pebuffertype: *mut WINHTTP_WEB_SOCKET_BUFFER_TYPE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub fn WinHttpWebSocketSend(hwebsocket: *const ::core::ffi::c_void, ebuffertype: WINHTTP_WEB_SOCKET_BUFFER_TYPE, pvbuffer: *const ::core::ffi::c_void, dwbufferlength: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub fn WinHttpWebSocketShutdown(hwebsocket: *const ::core::ffi::c_void, usstatus: u16, pvreason: *const ::core::ffi::c_void, dwreasonlength: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpWriteData(hrequest: *mut ::core::ffi::c_void, lpbuffer: *const ::core::ffi::c_void, dwnumberofbytestowrite: u32, lpdwnumberofbyteswritten: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHttpWriteProxySettings(hsession: *const ::core::ffi::c_void, fforceupdate: super::super::Foundation::BOOL, pwinhttpproxysettings: *const WINHTTP_PROXY_SETTINGS) -> u32; diff --git a/crates/libs/sys/src/Windows/Win32/Networking/WinInet/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/WinInet/mod.rs index f589d4db73..c1a93327f4 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/WinInet/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/WinInet/mod.rs @@ -2,832 +2,1717 @@ extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn AppCacheCheckManifest(pwszmasterurl: ::windows_sys::core::PCWSTR, pwszmanifesturl: ::windows_sys::core::PCWSTR, pbmanifestdata: *const u8, dwmanifestdatasize: u32, pbmanifestresponseheaders: *const u8, dwmanifestresponseheaderssize: u32, pestate: *mut APP_CACHE_STATE, phnewappcache: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn AppCacheCloseHandle(happcache: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn AppCacheCreateAndCommitFile(happcache: *const ::core::ffi::c_void, pwszsourcefilepath: ::windows_sys::core::PCWSTR, pwszurl: ::windows_sys::core::PCWSTR, pbresponseheaders: *const u8, dwresponseheaderssize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn AppCacheDeleteGroup(pwszmanifesturl: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn AppCacheDeleteIEGroup(pwszmanifesturl: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn AppCacheDuplicateHandle(happcache: *const ::core::ffi::c_void, phduplicatedappcache: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn AppCacheFinalize(happcache: *const ::core::ffi::c_void, pbmanifestdata: *const u8, dwmanifestdatasize: u32, pestate: *mut APP_CACHE_FINALIZE_STATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn AppCacheFreeDownloadList(pdownloadlist: *mut APP_CACHE_DOWNLOAD_LIST); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AppCacheFreeGroupList(pappcachegrouplist: *mut APP_CACHE_GROUP_LIST); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AppCacheFreeIESpace(ftcutoff: super::super::Foundation::FILETIME) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AppCacheFreeSpace(ftcutoff: super::super::Foundation::FILETIME) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn AppCacheGetDownloadList(happcache: *const ::core::ffi::c_void, pdownloadlist: *mut APP_CACHE_DOWNLOAD_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn AppCacheGetFallbackUrl(happcache: *const ::core::ffi::c_void, pwszurl: ::windows_sys::core::PCWSTR, ppwszfallbackurl: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AppCacheGetGroupList(pappcachegrouplist: *mut APP_CACHE_GROUP_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AppCacheGetIEGroupList(pappcachegrouplist: *mut APP_CACHE_GROUP_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AppCacheGetInfo(happcache: *const ::core::ffi::c_void, pappcacheinfo: *mut APP_CACHE_GROUP_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn AppCacheGetManifestUrl(happcache: *const ::core::ffi::c_void, ppwszmanifesturl: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn AppCacheLookup(pwszurl: ::windows_sys::core::PCWSTR, dwflags: u32, phappcache: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CommitUrlCacheEntryA(lpszurlname: ::windows_sys::core::PCSTR, lpszlocalfilename: ::windows_sys::core::PCSTR, expiretime: super::super::Foundation::FILETIME, lastmodifiedtime: super::super::Foundation::FILETIME, cacheentrytype: u32, lpheaderinfo: *const u8, cchheaderinfo: u32, lpszfileextension: ::windows_sys::core::PCSTR, lpszoriginalurl: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CommitUrlCacheEntryBinaryBlob(pwszurlname: ::windows_sys::core::PCWSTR, dwtype: u32, ftexpiretime: super::super::Foundation::FILETIME, ftmodifiedtime: super::super::Foundation::FILETIME, pbblob: *const u8, cbblob: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CommitUrlCacheEntryW(lpszurlname: ::windows_sys::core::PCWSTR, lpszlocalfilename: ::windows_sys::core::PCWSTR, expiretime: super::super::Foundation::FILETIME, lastmodifiedtime: super::super::Foundation::FILETIME, cacheentrytype: u32, lpszheaderinfo: ::windows_sys::core::PCWSTR, cchheaderinfo: u32, lpszfileextension: ::windows_sys::core::PCWSTR, lpszoriginalurl: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateMD5SSOHash(pszchallengeinfo: ::windows_sys::core::PCWSTR, pwszrealm: ::windows_sys::core::PCWSTR, pwsztarget: ::windows_sys::core::PCWSTR, pbhexhash: *mut u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateUrlCacheContainerA(name: ::windows_sys::core::PCSTR, lpcacheprefix: ::windows_sys::core::PCSTR, lpszcachepath: ::windows_sys::core::PCSTR, kbcachelimit: u32, dwcontainertype: u32, dwoptions: u32, pvbuffer: *mut ::core::ffi::c_void, cbbuffer: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateUrlCacheContainerW(name: ::windows_sys::core::PCWSTR, lpcacheprefix: ::windows_sys::core::PCWSTR, lpszcachepath: ::windows_sys::core::PCWSTR, kbcachelimit: u32, dwcontainertype: u32, dwoptions: u32, pvbuffer: *mut ::core::ffi::c_void, cbbuffer: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateUrlCacheEntryA(lpszurlname: ::windows_sys::core::PCSTR, dwexpectedfilesize: u32, lpszfileextension: ::windows_sys::core::PCSTR, lpszfilename: ::windows_sys::core::PSTR, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateUrlCacheEntryExW(lpszurlname: ::windows_sys::core::PCWSTR, dwexpectedfilesize: u32, lpszfileextension: ::windows_sys::core::PCWSTR, lpszfilename: ::windows_sys::core::PWSTR, dwreserved: u32, fpreserveincomingfilename: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateUrlCacheEntryW(lpszurlname: ::windows_sys::core::PCWSTR, dwexpectedfilesize: u32, lpszfileextension: ::windows_sys::core::PCWSTR, lpszfilename: ::windows_sys::core::PWSTR, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn CreateUrlCacheGroup(dwflags: u32, lpreserved: *mut ::core::ffi::c_void) -> i64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteIE3Cache(hwnd: super::super::Foundation::HWND, hinst: super::super::Foundation::HINSTANCE, lpszcmd: ::windows_sys::core::PCSTR, ncmdshow: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteUrlCacheContainerA(name: ::windows_sys::core::PCSTR, dwoptions: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteUrlCacheContainerW(name: ::windows_sys::core::PCWSTR, dwoptions: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteUrlCacheEntry(lpszurlname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteUrlCacheEntryA(lpszurlname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteUrlCacheEntryW(lpszurlname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteUrlCacheGroup(groupid: i64, dwflags: u32, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteWpadCacheForNetworks(param0: WPAD_CACHE_DELETE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DetectAutoProxyUrl(pszautoproxyurl: ::windows_sys::core::PSTR, cchautoproxyurl: u32, dwdetectflags: PROXY_AUTO_DETECT_TYPE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DoConnectoidsExist() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ExportCookieFileA(szfilename: ::windows_sys::core::PCSTR, fappend: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ExportCookieFileW(szfilename: ::windows_sys::core::PCWSTR, fappend: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindCloseUrlCache(henumhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindFirstUrlCacheContainerA(pdwmodified: *mut u32, lpcontainerinfo: *mut INTERNET_CACHE_CONTAINER_INFOA, lpcbcontainerinfo: *mut u32, dwoptions: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindFirstUrlCacheContainerW(pdwmodified: *mut u32, lpcontainerinfo: *mut INTERNET_CACHE_CONTAINER_INFOW, lpcbcontainerinfo: *mut u32, dwoptions: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindFirstUrlCacheEntryA(lpszurlsearchpattern: ::windows_sys::core::PCSTR, lpfirstcacheentryinfo: *mut INTERNET_CACHE_ENTRY_INFOA, lpcbcacheentryinfo: *mut u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindFirstUrlCacheEntryExA(lpszurlsearchpattern: ::windows_sys::core::PCSTR, dwflags: u32, dwfilter: u32, groupid: i64, lpfirstcacheentryinfo: *mut INTERNET_CACHE_ENTRY_INFOA, lpcbcacheentryinfo: *mut u32, lpgroupattributes: *mut ::core::ffi::c_void, lpcbgroupattributes: *mut u32, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindFirstUrlCacheEntryExW(lpszurlsearchpattern: ::windows_sys::core::PCWSTR, dwflags: u32, dwfilter: u32, groupid: i64, lpfirstcacheentryinfo: *mut INTERNET_CACHE_ENTRY_INFOW, lpcbcacheentryinfo: *mut u32, lpgroupattributes: *mut ::core::ffi::c_void, lpcbgroupattributes: *mut u32, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindFirstUrlCacheEntryW(lpszurlsearchpattern: ::windows_sys::core::PCWSTR, lpfirstcacheentryinfo: *mut INTERNET_CACHE_ENTRY_INFOW, lpcbcacheentryinfo: *mut u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindFirstUrlCacheGroup(dwflags: u32, dwfilter: u32, lpsearchcondition: *mut ::core::ffi::c_void, dwsearchcondition: u32, lpgroupid: *mut i64, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindNextUrlCacheContainerA(henumhandle: super::super::Foundation::HANDLE, lpcontainerinfo: *mut INTERNET_CACHE_CONTAINER_INFOA, lpcbcontainerinfo: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindNextUrlCacheContainerW(henumhandle: super::super::Foundation::HANDLE, lpcontainerinfo: *mut INTERNET_CACHE_CONTAINER_INFOW, lpcbcontainerinfo: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindNextUrlCacheEntryA(henumhandle: super::super::Foundation::HANDLE, lpnextcacheentryinfo: *mut INTERNET_CACHE_ENTRY_INFOA, lpcbcacheentryinfo: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindNextUrlCacheEntryExA(henumhandle: super::super::Foundation::HANDLE, lpnextcacheentryinfo: *mut INTERNET_CACHE_ENTRY_INFOA, lpcbcacheentryinfo: *mut u32, lpgroupattributes: *mut ::core::ffi::c_void, lpcbgroupattributes: *mut u32, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindNextUrlCacheEntryExW(henumhandle: super::super::Foundation::HANDLE, lpnextcacheentryinfo: *mut INTERNET_CACHE_ENTRY_INFOW, lpcbcacheentryinfo: *mut u32, lpgroupattributes: *mut ::core::ffi::c_void, lpcbgroupattributes: *mut u32, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindNextUrlCacheEntryW(henumhandle: super::super::Foundation::HANDLE, lpnextcacheentryinfo: *mut INTERNET_CACHE_ENTRY_INFOW, lpcbcacheentryinfo: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindNextUrlCacheGroup(hfind: super::super::Foundation::HANDLE, lpgroupid: *mut i64, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn FindP3PPolicySymbol(pszsymbol: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreeUrlCacheSpaceA(lpszcachepath: ::windows_sys::core::PCSTR, dwsize: u32, dwfilter: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreeUrlCacheSpaceW(lpszcachepath: ::windows_sys::core::PCWSTR, dwsize: u32, dwfilter: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtpCommandA(hconnect: *const ::core::ffi::c_void, fexpectresponse: super::super::Foundation::BOOL, dwflags: FTP_FLAGS, lpszcommand: ::windows_sys::core::PCSTR, dwcontext: usize, phftpcommand: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtpCommandW(hconnect: *const ::core::ffi::c_void, fexpectresponse: super::super::Foundation::BOOL, dwflags: FTP_FLAGS, lpszcommand: ::windows_sys::core::PCWSTR, dwcontext: usize, phftpcommand: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtpCreateDirectoryA(hconnect: *const ::core::ffi::c_void, lpszdirectory: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtpCreateDirectoryW(hconnect: *const ::core::ffi::c_void, lpszdirectory: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtpDeleteFileA(hconnect: *const ::core::ffi::c_void, lpszfilename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtpDeleteFileW(hconnect: *const ::core::ffi::c_void, lpszfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] pub fn FtpFindFirstFileA(hconnect: *const ::core::ffi::c_void, lpszsearchfile: ::windows_sys::core::PCSTR, lpfindfiledata: *mut super::super::Storage::FileSystem::WIN32_FIND_DATAA, dwflags: u32, dwcontext: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] pub fn FtpFindFirstFileW(hconnect: *const ::core::ffi::c_void, lpszsearchfile: ::windows_sys::core::PCWSTR, lpfindfiledata: *mut super::super::Storage::FileSystem::WIN32_FIND_DATAW, dwflags: u32, dwcontext: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtpGetCurrentDirectoryA(hconnect: *const ::core::ffi::c_void, lpszcurrentdirectory: ::windows_sys::core::PSTR, lpdwcurrentdirectory: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtpGetCurrentDirectoryW(hconnect: *const ::core::ffi::c_void, lpszcurrentdirectory: ::windows_sys::core::PWSTR, lpdwcurrentdirectory: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtpGetFileA(hconnect: *const ::core::ffi::c_void, lpszremotefile: ::windows_sys::core::PCSTR, lpsznewfile: ::windows_sys::core::PCSTR, ffailifexists: super::super::Foundation::BOOL, dwflagsandattributes: u32, dwflags: u32, dwcontext: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtpGetFileEx(hftpsession: *const ::core::ffi::c_void, lpszremotefile: ::windows_sys::core::PCSTR, lpsznewfile: ::windows_sys::core::PCWSTR, ffailifexists: super::super::Foundation::BOOL, dwflagsandattributes: u32, dwflags: u32, dwcontext: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn FtpGetFileSize(hfile: *const ::core::ffi::c_void, lpdwfilesizehigh: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtpGetFileW(hconnect: *const ::core::ffi::c_void, lpszremotefile: ::windows_sys::core::PCWSTR, lpsznewfile: ::windows_sys::core::PCWSTR, ffailifexists: super::super::Foundation::BOOL, dwflagsandattributes: u32, dwflags: u32, dwcontext: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn FtpOpenFileA(hconnect: *const ::core::ffi::c_void, lpszfilename: ::windows_sys::core::PCSTR, dwaccess: u32, dwflags: FTP_FLAGS, dwcontext: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn FtpOpenFileW(hconnect: *const ::core::ffi::c_void, lpszfilename: ::windows_sys::core::PCWSTR, dwaccess: u32, dwflags: FTP_FLAGS, dwcontext: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtpPutFileA(hconnect: *const ::core::ffi::c_void, lpszlocalfile: ::windows_sys::core::PCSTR, lpsznewremotefile: ::windows_sys::core::PCSTR, dwflags: FTP_FLAGS, dwcontext: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtpPutFileEx(hftpsession: *const ::core::ffi::c_void, lpszlocalfile: ::windows_sys::core::PCWSTR, lpsznewremotefile: ::windows_sys::core::PCSTR, dwflags: u32, dwcontext: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtpPutFileW(hconnect: *const ::core::ffi::c_void, lpszlocalfile: ::windows_sys::core::PCWSTR, lpsznewremotefile: ::windows_sys::core::PCWSTR, dwflags: FTP_FLAGS, dwcontext: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtpRemoveDirectoryA(hconnect: *const ::core::ffi::c_void, lpszdirectory: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtpRemoveDirectoryW(hconnect: *const ::core::ffi::c_void, lpszdirectory: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtpRenameFileA(hconnect: *const ::core::ffi::c_void, lpszexisting: ::windows_sys::core::PCSTR, lpsznew: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtpRenameFileW(hconnect: *const ::core::ffi::c_void, lpszexisting: ::windows_sys::core::PCWSTR, lpsznew: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtpSetCurrentDirectoryA(hconnect: *const ::core::ffi::c_void, lpszdirectory: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtpSetCurrentDirectoryW(hconnect: *const ::core::ffi::c_void, lpszdirectory: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDiskInfoA(pszpath: ::windows_sys::core::PCSTR, pdwclustersize: *mut u32, pdlavail: *mut u64, pdltotal: *mut u64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUrlCacheConfigInfoA(lpcacheconfiginfo: *mut INTERNET_CACHE_CONFIG_INFOA, lpcbcacheconfiginfo: *mut u32, dwfieldcontrol: CACHE_CONFIG) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUrlCacheConfigInfoW(lpcacheconfiginfo: *mut INTERNET_CACHE_CONFIG_INFOW, lpcbcacheconfiginfo: *mut u32, dwfieldcontrol: CACHE_CONFIG) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] + #[cfg(feature = "Win32_Foundation")] pub fn GetUrlCacheEntryBinaryBlob(pwszurlname: ::windows_sys::core::PCWSTR, dwtype: *mut u32, pftexpiretime: *mut super::super::Foundation::FILETIME, pftaccesstime: *mut super::super::Foundation::FILETIME, pftmodifiedtime: *mut super::super::Foundation::FILETIME, ppbblob: *mut *mut u8, pcbblob: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUrlCacheEntryInfoA(lpszurlname: ::windows_sys::core::PCSTR, lpcacheentryinfo: *mut INTERNET_CACHE_ENTRY_INFOA, lpcbcacheentryinfo: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUrlCacheEntryInfoExA(lpszurl: ::windows_sys::core::PCSTR, lpcacheentryinfo: *mut INTERNET_CACHE_ENTRY_INFOA, lpcbcacheentryinfo: *mut u32, lpszredirecturl: ::windows_sys::core::PCSTR, lpcbredirecturl: *mut u32, lpreserved: *mut ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUrlCacheEntryInfoExW(lpszurl: ::windows_sys::core::PCWSTR, lpcacheentryinfo: *mut INTERNET_CACHE_ENTRY_INFOW, lpcbcacheentryinfo: *mut u32, lpszredirecturl: ::windows_sys::core::PCWSTR, lpcbredirecturl: *mut u32, lpreserved: *mut ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUrlCacheEntryInfoW(lpszurlname: ::windows_sys::core::PCWSTR, lpcacheentryinfo: *mut INTERNET_CACHE_ENTRY_INFOW, lpcbcacheentryinfo: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUrlCacheGroupAttributeA(gid: i64, dwflags: u32, dwattributes: u32, lpgroupinfo: *mut INTERNET_CACHE_GROUP_INFOA, lpcbgroupinfo: *mut u32, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUrlCacheGroupAttributeW(gid: i64, dwflags: u32, dwattributes: u32, lpgroupinfo: *mut INTERNET_CACHE_GROUP_INFOW, lpcbgroupinfo: *mut u32, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUrlCacheHeaderData(nidx: u32, lpdwdata: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GopherCreateLocatorA(lpszhost: ::windows_sys::core::PCSTR, nserverport: u16, lpszdisplaystring: ::windows_sys::core::PCSTR, lpszselectorstring: ::windows_sys::core::PCSTR, dwgophertype: u32, lpszlocator: ::windows_sys::core::PSTR, lpdwbufferlength: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GopherCreateLocatorW(lpszhost: ::windows_sys::core::PCWSTR, nserverport: u16, lpszdisplaystring: ::windows_sys::core::PCWSTR, lpszselectorstring: ::windows_sys::core::PCWSTR, dwgophertype: u32, lpszlocator: ::windows_sys::core::PWSTR, lpdwbufferlength: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GopherFindFirstFileA(hconnect: *const ::core::ffi::c_void, lpszlocator: ::windows_sys::core::PCSTR, lpszsearchstring: ::windows_sys::core::PCSTR, lpfinddata: *mut GOPHER_FIND_DATAA, dwflags: u32, dwcontext: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GopherFindFirstFileW(hconnect: *const ::core::ffi::c_void, lpszlocator: ::windows_sys::core::PCWSTR, lpszsearchstring: ::windows_sys::core::PCWSTR, lpfinddata: *mut GOPHER_FIND_DATAW, dwflags: u32, dwcontext: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GopherGetAttributeA(hconnect: *const ::core::ffi::c_void, lpszlocator: ::windows_sys::core::PCSTR, lpszattributename: ::windows_sys::core::PCSTR, lpbuffer: *mut u8, dwbufferlength: u32, lpdwcharactersreturned: *mut u32, lpfnenumerator: GOPHER_ATTRIBUTE_ENUMERATOR, dwcontext: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GopherGetAttributeW(hconnect: *const ::core::ffi::c_void, lpszlocator: ::windows_sys::core::PCWSTR, lpszattributename: ::windows_sys::core::PCWSTR, lpbuffer: *mut u8, dwbufferlength: u32, lpdwcharactersreturned: *mut u32, lpfnenumerator: GOPHER_ATTRIBUTE_ENUMERATOR, dwcontext: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GopherGetLocatorTypeA(lpszlocator: ::windows_sys::core::PCSTR, lpdwgophertype: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GopherGetLocatorTypeW(lpszlocator: ::windows_sys::core::PCWSTR, lpdwgophertype: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn GopherOpenFileA(hconnect: *const ::core::ffi::c_void, lpszlocator: ::windows_sys::core::PCSTR, lpszview: ::windows_sys::core::PCSTR, dwflags: u32, dwcontext: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn GopherOpenFileW(hconnect: *const ::core::ffi::c_void, lpszlocator: ::windows_sys::core::PCWSTR, lpszview: ::windows_sys::core::PCWSTR, dwflags: u32, dwcontext: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpAddRequestHeadersA(hrequest: *const ::core::ffi::c_void, lpszheaders: ::windows_sys::core::PCSTR, dwheaderslength: u32, dwmodifiers: HTTP_ADDREQ_FLAG) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpAddRequestHeadersW(hrequest: *const ::core::ffi::c_void, lpszheaders: ::windows_sys::core::PCWSTR, dwheaderslength: u32, dwmodifiers: HTTP_ADDREQ_FLAG) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpCheckDavComplianceA(lpszurl: ::windows_sys::core::PCSTR, lpszcompliancetoken: ::windows_sys::core::PCSTR, lpffound: *mut i32, hwnd: super::super::Foundation::HWND, lpvreserved: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpCheckDavComplianceW(lpszurl: ::windows_sys::core::PCWSTR, lpszcompliancetoken: ::windows_sys::core::PCWSTR, lpffound: *mut i32, hwnd: super::super::Foundation::HWND, lpvreserved: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn HttpCloseDependencyHandle(hdependencyhandle: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn HttpDuplicateDependencyHandle(hdependencyhandle: *const ::core::ffi::c_void, phduplicateddependencyhandle: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpEndRequestA(hrequest: *const ::core::ffi::c_void, lpbuffersout: *mut INTERNET_BUFFERSA, dwflags: u32, dwcontext: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpEndRequestW(hrequest: *const ::core::ffi::c_void, lpbuffersout: *mut INTERNET_BUFFERSW, dwflags: u32, dwcontext: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn HttpGetServerCredentials(pwszurl: ::windows_sys::core::PCWSTR, ppwszusername: *mut ::windows_sys::core::PWSTR, ppwszpassword: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn HttpIndicatePageLoadComplete(hdependencyhandle: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpIsHostHstsEnabled(pcwszurl: ::windows_sys::core::PCWSTR, pfishsts: *mut super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpOpenDependencyHandle(hrequesthandle: *const ::core::ffi::c_void, fbackground: super::super::Foundation::BOOL, phdependencyhandle: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn HttpOpenRequestA(hconnect: *const ::core::ffi::c_void, lpszverb: ::windows_sys::core::PCSTR, lpszobjectname: ::windows_sys::core::PCSTR, lpszversion: ::windows_sys::core::PCSTR, lpszreferrer: ::windows_sys::core::PCSTR, lplpszaccepttypes: *const ::windows_sys::core::PSTR, dwflags: u32, dwcontext: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn HttpOpenRequestW(hconnect: *const ::core::ffi::c_void, lpszverb: ::windows_sys::core::PCWSTR, lpszobjectname: ::windows_sys::core::PCWSTR, lpszversion: ::windows_sys::core::PCWSTR, lpszreferrer: ::windows_sys::core::PCWSTR, lplpszaccepttypes: *const ::windows_sys::core::PWSTR, dwflags: u32, dwcontext: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn HttpPushClose(hwait: HTTP_PUSH_WAIT_HANDLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn HttpPushEnable(hrequest: *const ::core::ffi::c_void, ptransportsetting: *const HTTP_PUSH_TRANSPORT_SETTING, phwait: *mut HTTP_PUSH_WAIT_HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpPushWait(hwait: HTTP_PUSH_WAIT_HANDLE, etype: HTTP_PUSH_WAIT_TYPE, pnotificationstatus: *mut HTTP_PUSH_NOTIFICATION_STATUS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpQueryInfoA(hrequest: *const ::core::ffi::c_void, dwinfolevel: u32, lpbuffer: *mut ::core::ffi::c_void, lpdwbufferlength: *mut u32, lpdwindex: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpQueryInfoW(hrequest: *const ::core::ffi::c_void, dwinfolevel: u32, lpbuffer: *mut ::core::ffi::c_void, lpdwbufferlength: *mut u32, lpdwindex: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpSendRequestA(hrequest: *const ::core::ffi::c_void, lpszheaders: ::windows_sys::core::PCSTR, dwheaderslength: u32, lpoptional: *const ::core::ffi::c_void, dwoptionallength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpSendRequestExA(hrequest: *const ::core::ffi::c_void, lpbuffersin: *const INTERNET_BUFFERSA, lpbuffersout: *mut INTERNET_BUFFERSA, dwflags: u32, dwcontext: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpSendRequestExW(hrequest: *const ::core::ffi::c_void, lpbuffersin: *const INTERNET_BUFFERSW, lpbuffersout: *mut INTERNET_BUFFERSW, dwflags: u32, dwcontext: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpSendRequestW(hrequest: *const ::core::ffi::c_void, lpszheaders: ::windows_sys::core::PCWSTR, dwheaderslength: u32, lpoptional: *const ::core::ffi::c_void, dwoptionallength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpWebSocketClose(hwebsocket: *const ::core::ffi::c_void, usstatus: u16, pvreason: *const ::core::ffi::c_void, dwreasonlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn HttpWebSocketCompleteUpgrade(hrequest: *const ::core::ffi::c_void, dwcontext: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpWebSocketQueryCloseStatus(hwebsocket: *const ::core::ffi::c_void, pusstatus: *mut u16, pvreason: *mut ::core::ffi::c_void, dwreasonlength: u32, pdwreasonlengthconsumed: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpWebSocketReceive(hwebsocket: *const ::core::ffi::c_void, pvbuffer: *mut ::core::ffi::c_void, dwbufferlength: u32, pdwbytesread: *mut u32, pbuffertype: *mut HTTP_WEB_SOCKET_BUFFER_TYPE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpWebSocketSend(hwebsocket: *const ::core::ffi::c_void, buffertype: HTTP_WEB_SOCKET_BUFFER_TYPE, pvbuffer: *const ::core::ffi::c_void, dwbufferlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpWebSocketShutdown(hwebsocket: *const ::core::ffi::c_void, usstatus: u16, pvreason: *const ::core::ffi::c_void, dwreasonlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImportCookieFileA(szfilename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImportCookieFileW(szfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IncrementUrlCacheHeaderData(nidx: u32, lpdwdata: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn InternalInternetGetCookie(lpszurl: ::windows_sys::core::PCSTR, lpszcookiedata: ::windows_sys::core::PSTR, lpdwdatasize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetAlgIdToStringA(ai: u32, lpstr: ::windows_sys::core::PSTR, lpdwstrlength: *mut u32, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetAlgIdToStringW(ai: u32, lpstr: ::windows_sys::core::PWSTR, lpdwstrlength: *mut u32, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn InternetAttemptConnect(dwreserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetAutodial(dwflags: INTERNET_AUTODIAL, hwndparent: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetAutodialHangup(dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetCanonicalizeUrlA(lpszurl: ::windows_sys::core::PCSTR, lpszbuffer: ::windows_sys::core::PSTR, lpdwbufferlength: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetCanonicalizeUrlW(lpszurl: ::windows_sys::core::PCWSTR, lpszbuffer: ::windows_sys::core::PWSTR, lpdwbufferlength: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetCheckConnectionA(lpszurl: ::windows_sys::core::PCSTR, dwflags: u32, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetCheckConnectionW(lpszurl: ::windows_sys::core::PCWSTR, dwflags: u32, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetClearAllPerSiteCookieDecisions() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetCloseHandle(hinternet: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetCombineUrlA(lpszbaseurl: ::windows_sys::core::PCSTR, lpszrelativeurl: ::windows_sys::core::PCSTR, lpszbuffer: ::windows_sys::core::PSTR, lpdwbufferlength: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetCombineUrlW(lpszbaseurl: ::windows_sys::core::PCWSTR, lpszrelativeurl: ::windows_sys::core::PCWSTR, lpszbuffer: ::windows_sys::core::PWSTR, lpdwbufferlength: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetConfirmZoneCrossing(hwnd: super::super::Foundation::HWND, szurlprev: ::windows_sys::core::PCSTR, szurlnew: ::windows_sys::core::PCSTR, bpost: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetConfirmZoneCrossingA(hwnd: super::super::Foundation::HWND, szurlprev: ::windows_sys::core::PCSTR, szurlnew: ::windows_sys::core::PCSTR, bpost: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetConfirmZoneCrossingW(hwnd: super::super::Foundation::HWND, szurlprev: ::windows_sys::core::PCWSTR, szurlnew: ::windows_sys::core::PCWSTR, bpost: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn InternetConnectA(hinternet: *const ::core::ffi::c_void, lpszservername: ::windows_sys::core::PCSTR, nserverport: u16, lpszusername: ::windows_sys::core::PCSTR, lpszpassword: ::windows_sys::core::PCSTR, dwservice: u32, dwflags: u32, dwcontext: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn InternetConnectW(hinternet: *const ::core::ffi::c_void, lpszservername: ::windows_sys::core::PCWSTR, nserverport: u16, lpszusername: ::windows_sys::core::PCWSTR, lpszpassword: ::windows_sys::core::PCWSTR, dwservice: u32, dwflags: u32, dwcontext: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetConvertUrlFromWireToWideChar(pcszurl: ::windows_sys::core::PCSTR, cchurl: u32, pcwszbaseurl: ::windows_sys::core::PCWSTR, dwcodepagehost: u32, dwcodepagepath: u32, fencodepathextra: super::super::Foundation::BOOL, dwcodepageextra: u32, ppwszconvertedurl: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinHttp\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinHttp"))] pub fn InternetCrackUrlA(lpszurl: ::windows_sys::core::PCSTR, dwurllength: u32, dwflags: super::WinHttp::WIN_HTTP_CREATE_URL_FLAGS, lpurlcomponents: *mut URL_COMPONENTSA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinHttp\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinHttp"))] pub fn InternetCrackUrlW(lpszurl: ::windows_sys::core::PCWSTR, dwurllength: u32, dwflags: super::WinHttp::WIN_HTTP_CREATE_URL_FLAGS, lpurlcomponents: *mut URL_COMPONENTSW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetCreateUrlA(lpurlcomponents: *const URL_COMPONENTSA, dwflags: u32, lpszurl: ::windows_sys::core::PSTR, lpdwurllength: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetCreateUrlW(lpurlcomponents: *const URL_COMPONENTSW, dwflags: u32, lpszurl: ::windows_sys::core::PWSTR, lpdwurllength: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetDial(hwndparent: super::super::Foundation::HWND, lpszconnectoid: ::windows_sys::core::PCSTR, dwflags: u32, lpdwconnection: *mut u32, dwreserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetDialA(hwndparent: super::super::Foundation::HWND, lpszconnectoid: ::windows_sys::core::PCSTR, dwflags: u32, lpdwconnection: *mut usize, dwreserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetDialW(hwndparent: super::super::Foundation::HWND, lpszconnectoid: ::windows_sys::core::PCWSTR, dwflags: u32, lpdwconnection: *mut usize, dwreserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetEnumPerSiteCookieDecisionA(pszsitename: ::windows_sys::core::PSTR, pcsitenamesize: *mut u32, pdwdecision: *mut u32, dwindex: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetEnumPerSiteCookieDecisionW(pszsitename: ::windows_sys::core::PWSTR, pcsitenamesize: *mut u32, pdwdecision: *mut u32, dwindex: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetErrorDlg(hwnd: super::super::Foundation::HWND, hrequest: *mut ::core::ffi::c_void, dwerror: u32, dwflags: u32, lppvdata: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetFindNextFileA(hfind: *const ::core::ffi::c_void, lpvfinddata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetFindNextFileW(hfind: *const ::core::ffi::c_void, lpvfinddata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetFortezzaCommand(dwcommand: u32, hwnd: super::super::Foundation::HWND, dwreserved: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetFreeCookies(pcookies: *mut INTERNET_COOKIE2, dwcookiecount: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetFreeProxyInfoList(pproxyinfolist: *mut WININET_PROXY_INFO_LIST); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetGetConnectedState(lpdwflags: *mut INTERNET_CONNECTION, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetGetConnectedStateEx(lpdwflags: *mut INTERNET_CONNECTION, lpszconnectionname: ::windows_sys::core::PSTR, dwnamelen: u32, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetGetConnectedStateExA(lpdwflags: *mut INTERNET_CONNECTION, lpszconnectionname: ::windows_sys::core::PSTR, cchnamelen: u32, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetGetConnectedStateExW(lpdwflags: *mut INTERNET_CONNECTION, lpszconnectionname: ::windows_sys::core::PWSTR, cchnamelen: u32, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetGetCookieA(lpszurl: ::windows_sys::core::PCSTR, lpszcookiename: ::windows_sys::core::PCSTR, lpszcookiedata: ::windows_sys::core::PSTR, lpdwsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetGetCookieEx2(pcwszurl: ::windows_sys::core::PCWSTR, pcwszcookiename: ::windows_sys::core::PCWSTR, dwflags: u32, ppcookies: *mut *mut INTERNET_COOKIE2, pdwcookiecount: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetGetCookieExA(lpszurl: ::windows_sys::core::PCSTR, lpszcookiename: ::windows_sys::core::PCSTR, lpszcookiedata: ::windows_sys::core::PCSTR, lpdwsize: *mut u32, dwflags: INTERNET_COOKIE_FLAGS, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetGetCookieExW(lpszurl: ::windows_sys::core::PCWSTR, lpszcookiename: ::windows_sys::core::PCWSTR, lpszcookiedata: ::windows_sys::core::PCWSTR, lpdwsize: *mut u32, dwflags: INTERNET_COOKIE_FLAGS, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetGetCookieW(lpszurl: ::windows_sys::core::PCWSTR, lpszcookiename: ::windows_sys::core::PCWSTR, lpszcookiedata: ::windows_sys::core::PWSTR, lpdwsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetGetLastResponseInfoA(lpdwerror: *mut u32, lpszbuffer: ::windows_sys::core::PSTR, lpdwbufferlength: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetGetLastResponseInfoW(lpdwerror: *mut u32, lpszbuffer: ::windows_sys::core::PWSTR, lpdwbufferlength: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetGetPerSiteCookieDecisionA(pchhostname: ::windows_sys::core::PCSTR, presult: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetGetPerSiteCookieDecisionW(pchhostname: ::windows_sys::core::PCWSTR, presult: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetGetProxyForUrl(hinternet: *const ::core::ffi::c_void, pcwszurl: ::windows_sys::core::PCWSTR, pproxyinfolist: *mut WININET_PROXY_INFO_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub fn InternetGetSecurityInfoByURL(lpszurl: ::windows_sys::core::PCSTR, ppcertchain: *mut *mut super::super::Security::Cryptography::CERT_CHAIN_CONTEXT, pdwsecureflags: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub fn InternetGetSecurityInfoByURLA(lpszurl: ::windows_sys::core::PCSTR, ppcertchain: *mut *mut super::super::Security::Cryptography::CERT_CHAIN_CONTEXT, pdwsecureflags: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub fn InternetGetSecurityInfoByURLW(lpszurl: ::windows_sys::core::PCWSTR, ppcertchain: *mut *mut super::super::Security::Cryptography::CERT_CHAIN_CONTEXT, pdwsecureflags: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetGoOnline(lpszurl: ::windows_sys::core::PCSTR, hwndparent: super::super::Foundation::HWND, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetGoOnlineA(lpszurl: ::windows_sys::core::PCSTR, hwndparent: super::super::Foundation::HWND, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetGoOnlineW(lpszurl: ::windows_sys::core::PCWSTR, hwndparent: super::super::Foundation::HWND, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn InternetHangUp(dwconnection: usize, dwreserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetInitializeAutoProxyDll(dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetLockRequestFile(hinternet: *const ::core::ffi::c_void, lphlockrequestinfo: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn InternetOpenA(lpszagent: ::windows_sys::core::PCSTR, dwaccesstype: u32, lpszproxy: ::windows_sys::core::PCSTR, lpszproxybypass: ::windows_sys::core::PCSTR, dwflags: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn InternetOpenUrlA(hinternet: *const ::core::ffi::c_void, lpszurl: ::windows_sys::core::PCSTR, lpszheaders: ::windows_sys::core::PCSTR, dwheaderslength: u32, dwflags: u32, dwcontext: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn InternetOpenUrlW(hinternet: *const ::core::ffi::c_void, lpszurl: ::windows_sys::core::PCWSTR, lpszheaders: ::windows_sys::core::PCWSTR, dwheaderslength: u32, dwflags: u32, dwcontext: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn InternetOpenW(lpszagent: ::windows_sys::core::PCWSTR, dwaccesstype: u32, lpszproxy: ::windows_sys::core::PCWSTR, lpszproxybypass: ::windows_sys::core::PCWSTR, dwflags: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetQueryDataAvailable(hfile: *const ::core::ffi::c_void, lpdwnumberofbytesavailable: *mut u32, dwflags: u32, dwcontext: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetQueryFortezzaStatus(pdwstatus: *mut u32, dwreserved: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetQueryOptionA(hinternet: *const ::core::ffi::c_void, dwoption: u32, lpbuffer: *mut ::core::ffi::c_void, lpdwbufferlength: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetQueryOptionW(hinternet: *const ::core::ffi::c_void, dwoption: u32, lpbuffer: *mut ::core::ffi::c_void, lpdwbufferlength: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetReadFile(hfile: *const ::core::ffi::c_void, lpbuffer: *mut ::core::ffi::c_void, dwnumberofbytestoread: u32, lpdwnumberofbytesread: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetReadFileExA(hfile: *const ::core::ffi::c_void, lpbuffersout: *mut INTERNET_BUFFERSA, dwflags: u32, dwcontext: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetReadFileExW(hfile: *const ::core::ffi::c_void, lpbuffersout: *mut INTERNET_BUFFERSW, dwflags: u32, dwcontext: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetSecurityProtocolToStringA(dwprotocol: u32, lpstr: ::windows_sys::core::PSTR, lpdwstrlength: *mut u32, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetSecurityProtocolToStringW(dwprotocol: u32, lpstr: ::windows_sys::core::PWSTR, lpdwstrlength: *mut u32, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetSetCookieA(lpszurl: ::windows_sys::core::PCSTR, lpszcookiename: ::windows_sys::core::PCSTR, lpszcookiedata: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetSetCookieEx2(pcwszurl: ::windows_sys::core::PCWSTR, pcookie: *const INTERNET_COOKIE2, pcwszp3ppolicy: ::windows_sys::core::PCWSTR, dwflags: u32, pdwcookiestate: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn InternetSetCookieExA(lpszurl: ::windows_sys::core::PCSTR, lpszcookiename: ::windows_sys::core::PCSTR, lpszcookiedata: ::windows_sys::core::PCSTR, dwflags: u32, dwreserved: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn InternetSetCookieExW(lpszurl: ::windows_sys::core::PCWSTR, lpszcookiename: ::windows_sys::core::PCWSTR, lpszcookiedata: ::windows_sys::core::PCWSTR, dwflags: u32, dwreserved: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetSetCookieW(lpszurl: ::windows_sys::core::PCWSTR, lpszcookiename: ::windows_sys::core::PCWSTR, lpszcookiedata: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetSetDialState(lpszconnectoid: ::windows_sys::core::PCSTR, dwstate: u32, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetSetDialStateA(lpszconnectoid: ::windows_sys::core::PCSTR, dwstate: u32, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetSetDialStateW(lpszconnectoid: ::windows_sys::core::PCWSTR, dwstate: u32, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn InternetSetFilePointer(hfile: *const ::core::ffi::c_void, ldistancetomove: i32, lpdistancetomovehigh: *mut i32, dwmovemethod: u32, dwcontext: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetSetOptionA(hinternet: *const ::core::ffi::c_void, dwoption: u32, lpbuffer: *const ::core::ffi::c_void, dwbufferlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetSetOptionExA(hinternet: *const ::core::ffi::c_void, dwoption: u32, lpbuffer: *const ::core::ffi::c_void, dwbufferlength: u32, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetSetOptionExW(hinternet: *const ::core::ffi::c_void, dwoption: u32, lpbuffer: *const ::core::ffi::c_void, dwbufferlength: u32, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetSetOptionW(hinternet: *const ::core::ffi::c_void, dwoption: u32, lpbuffer: *const ::core::ffi::c_void, dwbufferlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetSetPerSiteCookieDecisionA(pchhostname: ::windows_sys::core::PCSTR, dwdecision: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetSetPerSiteCookieDecisionW(pchhostname: ::windows_sys::core::PCWSTR, dwdecision: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn InternetSetStatusCallback(hinternet: *const ::core::ffi::c_void, lpfninternetcallback: LPINTERNET_STATUS_CALLBACK) -> LPINTERNET_STATUS_CALLBACK; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn InternetSetStatusCallbackA(hinternet: *const ::core::ffi::c_void, lpfninternetcallback: LPINTERNET_STATUS_CALLBACK) -> LPINTERNET_STATUS_CALLBACK; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn InternetSetStatusCallbackW(hinternet: *const ::core::ffi::c_void, lpfninternetcallback: LPINTERNET_STATUS_CALLBACK) -> LPINTERNET_STATUS_CALLBACK; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetShowSecurityInfoByURL(lpszurl: ::windows_sys::core::PCSTR, hwndparent: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetShowSecurityInfoByURLA(lpszurl: ::windows_sys::core::PCSTR, hwndparent: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetShowSecurityInfoByURLW(lpszurl: ::windows_sys::core::PCWSTR, hwndparent: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetTimeFromSystemTime(pst: *const super::super::Foundation::SYSTEMTIME, dwrfc: u32, lpsztime: ::windows_sys::core::PSTR, cbtime: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetTimeFromSystemTimeA(pst: *const super::super::Foundation::SYSTEMTIME, dwrfc: u32, lpsztime: ::windows_sys::core::PSTR, cbtime: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetTimeFromSystemTimeW(pst: *const super::super::Foundation::SYSTEMTIME, dwrfc: u32, lpsztime: ::windows_sys::core::PWSTR, cbtime: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetTimeToSystemTime(lpsztime: ::windows_sys::core::PCSTR, pst: *mut super::super::Foundation::SYSTEMTIME, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetTimeToSystemTimeA(lpsztime: ::windows_sys::core::PCSTR, pst: *mut super::super::Foundation::SYSTEMTIME, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetTimeToSystemTimeW(lpsztime: ::windows_sys::core::PCWSTR, pst: *mut super::super::Foundation::SYSTEMTIME, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetUnlockRequestFile(hlockrequestinfo: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetWriteFile(hfile: *const ::core::ffi::c_void, lpbuffer: *const ::core::ffi::c_void, dwnumberofbytestowrite: u32, lpdwnumberofbyteswritten: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetWriteFileExA(hfile: *const ::core::ffi::c_void, lpbuffersin: *const INTERNET_BUFFERSA, dwflags: u32, dwcontext: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternetWriteFileExW(hfile: *const ::core::ffi::c_void, lpbuffersin: *const INTERNET_BUFFERSW, dwflags: u32, dwcontext: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsDomainLegalCookieDomainA(pchdomain: ::windows_sys::core::PCSTR, pchfulldomain: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsDomainLegalCookieDomainW(pchdomain: ::windows_sys::core::PCWSTR, pchfulldomain: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsHostInProxyBypassList(tscheme: INTERNET_SCHEME, lpszhost: ::windows_sys::core::PCSTR, cchhost: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsProfilesEnabled() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsUrlCacheEntryExpiredA(lpszurlname: ::windows_sys::core::PCSTR, dwflags: u32, pftlastmodified: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsUrlCacheEntryExpiredW(lpszurlname: ::windows_sys::core::PCWSTR, dwflags: u32, pftlastmodified: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadUrlCacheContent() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn ParseX509EncodedCertificateForListBoxEntry(lpcert: *const u8, cbcert: u32, lpszlistboxentry: ::windows_sys::core::PSTR, lpdwlistboxentry: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PerformOperationOverUrlCacheA(pszurlsearchpattern: ::windows_sys::core::PCSTR, dwflags: u32, dwfilter: u32, groupid: i64, preserved1: *mut ::core::ffi::c_void, pdwreserved2: *mut u32, preserved3: *mut ::core::ffi::c_void, op: CACHE_OPERATOR, poperatordata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn PrivacyGetZonePreferenceW(dwzone: u32, dwtype: u32, pdwtemplate: *mut u32, pszbuffer: ::windows_sys::core::PWSTR, pdwbufferlength: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn PrivacySetZonePreferenceW(dwzone: u32, dwtype: u32, dwtemplate: u32, pszpreference: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadGuidsForConnectedNetworks(pcnetworks: *mut u32, pppwsznetworkguids: *mut *mut ::windows_sys::core::PWSTR, pppbstrnetworknames: *mut *mut super::super::Foundation::BSTR, pppwszgwmacs: *mut *mut ::windows_sys::core::PWSTR, pcgatewaymacs: *mut u32, pdwflags: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadUrlCacheEntryStream(hurlcachestream: super::super::Foundation::HANDLE, dwlocation: u32, lpbuffer: *mut ::core::ffi::c_void, lpdwlen: *mut u32, reserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadUrlCacheEntryStreamEx(hurlcachestream: super::super::Foundation::HANDLE, qwlocation: u64, lpbuffer: *mut ::core::ffi::c_void, lpdwlen: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterUrlCacheNotification(hwnd: super::super::Foundation::HWND, umsg: u32, gid: i64, dwopsfilter: u32, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResumeSuspendedDownload(hrequest: *const ::core::ffi::c_void, dwresultcode: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RetrieveUrlCacheEntryFileA(lpszurlname: ::windows_sys::core::PCSTR, lpcacheentryinfo: *mut INTERNET_CACHE_ENTRY_INFOA, lpcbcacheentryinfo: *mut u32, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RetrieveUrlCacheEntryFileW(lpszurlname: ::windows_sys::core::PCWSTR, lpcacheentryinfo: *mut INTERNET_CACHE_ENTRY_INFOW, lpcbcacheentryinfo: *mut u32, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RetrieveUrlCacheEntryStreamA(lpszurlname: ::windows_sys::core::PCSTR, lpcacheentryinfo: *mut INTERNET_CACHE_ENTRY_INFOA, lpcbcacheentryinfo: *mut u32, frandomread: super::super::Foundation::BOOL, dwreserved: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RetrieveUrlCacheEntryStreamW(lpszurlname: ::windows_sys::core::PCWSTR, lpcacheentryinfo: *mut INTERNET_CACHE_ENTRY_INFOW, lpcbcacheentryinfo: *mut u32, frandomread: super::super::Foundation::BOOL, dwreserved: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RunOnceUrlCache(hwnd: super::super::Foundation::HWND, hinst: super::super::Foundation::HINSTANCE, lpszcmd: ::windows_sys::core::PCSTR, ncmdshow: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetUrlCacheConfigInfoA(lpcacheconfiginfo: *const INTERNET_CACHE_CONFIG_INFOA, dwfieldcontrol: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetUrlCacheConfigInfoW(lpcacheconfiginfo: *const INTERNET_CACHE_CONFIG_INFOW, dwfieldcontrol: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetUrlCacheEntryGroup(lpszurlname: ::windows_sys::core::PCSTR, dwflags: u32, groupid: i64, pbgroupattributes: *mut u8, cbgroupattributes: u32, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetUrlCacheEntryGroupA(lpszurlname: ::windows_sys::core::PCSTR, dwflags: u32, groupid: i64, pbgroupattributes: *mut u8, cbgroupattributes: u32, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetUrlCacheEntryGroupW(lpszurlname: ::windows_sys::core::PCWSTR, dwflags: u32, groupid: i64, pbgroupattributes: *mut u8, cbgroupattributes: u32, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetUrlCacheEntryInfoA(lpszurlname: ::windows_sys::core::PCSTR, lpcacheentryinfo: *const INTERNET_CACHE_ENTRY_INFOA, dwfieldcontrol: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetUrlCacheEntryInfoW(lpszurlname: ::windows_sys::core::PCWSTR, lpcacheentryinfo: *const INTERNET_CACHE_ENTRY_INFOW, dwfieldcontrol: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetUrlCacheGroupAttributeA(gid: i64, dwflags: u32, dwattributes: u32, lpgroupinfo: *const INTERNET_CACHE_GROUP_INFOA, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetUrlCacheGroupAttributeW(gid: i64, dwflags: u32, dwattributes: u32, lpgroupinfo: *const INTERNET_CACHE_GROUP_INFOW, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetUrlCacheHeaderData(nidx: u32, dwdata: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ShowClientAuthCerts(hwndparent: super::super::Foundation::HWND) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity", feature = "Win32_Security_Cryptography"))] pub fn ShowSecurityInfo(hwndparent: super::super::Foundation::HWND, psecurityinfo: *const INTERNET_SECURITY_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ShowX509EncodedCertificate(hwndparent: super::super::Foundation::HWND, lpcert: *const u8, cbcert: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnlockUrlCacheEntryFile(lpszurlname: ::windows_sys::core::PCSTR, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnlockUrlCacheEntryFileA(lpszurlname: ::windows_sys::core::PCSTR, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnlockUrlCacheEntryFileW(lpszurlname: ::windows_sys::core::PCWSTR, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnlockUrlCacheEntryStream(hurlcachestream: super::super::Foundation::HANDLE, reserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UpdateUrlCacheContentPath(sznewpath: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UrlCacheCheckEntriesExist(rgpwszurls: *const ::windows_sys::core::PWSTR, centries: u32, rgfexist: *mut super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn UrlCacheCloseEntryHandle(hentryfile: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn UrlCacheContainerSetEntryMaximumAge(pwszprefix: ::windows_sys::core::PCWSTR, dwentrymaxage: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn UrlCacheCreateContainer(pwszname: ::windows_sys::core::PCWSTR, pwszprefix: ::windows_sys::core::PCWSTR, pwszdirectory: ::windows_sys::core::PCWSTR, ulllimit: u64, dwoptions: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UrlCacheFindFirstEntry(pwszprefix: ::windows_sys::core::PCWSTR, dwflags: u32, dwfilter: u32, groupid: i64, pcacheentryinfo: *mut URLCACHE_ENTRY_INFO, phfind: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UrlCacheFindNextEntry(hfind: super::super::Foundation::HANDLE, pcacheentryinfo: *mut URLCACHE_ENTRY_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UrlCacheFreeEntryInfo(pcacheentryinfo: *mut URLCACHE_ENTRY_INFO); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn UrlCacheFreeGlobalSpace(ulltargetsize: u64, dwfilter: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn UrlCacheGetContentPaths(pppwszdirectories: *mut *mut ::windows_sys::core::PWSTR, pcdirectories: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UrlCacheGetEntryInfo(happcache: *const ::core::ffi::c_void, pcwszurl: ::windows_sys::core::PCWSTR, pcacheentryinfo: *mut URLCACHE_ENTRY_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn UrlCacheGetGlobalCacheSize(dwfilter: u32, pullsize: *mut u64, pulllimit: *mut u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn UrlCacheGetGlobalLimit(limittype: URL_CACHE_LIMIT_TYPE, pulllimit: *mut u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn UrlCacheReadEntryStream(hurlcachestream: *const ::core::ffi::c_void, ulllocation: u64, pbuffer: *mut ::core::ffi::c_void, dwbufferlen: u32, pdwbufferlen: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn UrlCacheReloadSettings() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UrlCacheRetrieveEntryFile(happcache: *const ::core::ffi::c_void, pcwszurl: ::windows_sys::core::PCWSTR, pcacheentryinfo: *mut URLCACHE_ENTRY_INFO, phentryfile: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UrlCacheRetrieveEntryStream(happcache: *const ::core::ffi::c_void, pcwszurl: ::windows_sys::core::PCWSTR, frandomread: super::super::Foundation::BOOL, pcacheentryinfo: *mut URLCACHE_ENTRY_INFO, phentrystream: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn UrlCacheServer() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn UrlCacheSetGlobalLimit(limittype: URL_CACHE_LIMIT_TYPE, ulllimit: u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] pub fn UrlCacheUpdateEntryExtraData(happcache: *const ::core::ffi::c_void, pcwszurl: ::windows_sys::core::PCWSTR, pbextradata: *const u8, cbextradata: u32) -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/Networking/WinSock/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/WinSock/mod.rs index 1418defcb6..ea47521928 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/WinSock/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/WinSock/mod.rs @@ -3,525 +3,1131 @@ extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn AcceptEx(slistensocket: SOCKET, sacceptsocket: SOCKET, lpoutputbuffer: *mut ::core::ffi::c_void, dwreceivedatalength: u32, dwlocaladdresslength: u32, dwremoteaddresslength: u32, lpdwbytesreceived: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn EnumProtocolsA(lpiprotocols: *const i32, lpprotocolbuffer: *mut ::core::ffi::c_void, lpdwbufferlength: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn EnumProtocolsW(lpiprotocols: *const i32, lpprotocolbuffer: *mut ::core::ffi::c_void, lpdwbufferlength: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreeAddrInfoEx(paddrinfoex: *const ADDRINFOEXA); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreeAddrInfoExW(paddrinfoex: *const ADDRINFOEXW); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreeAddrInfoW(paddrinfo: *const ADDRINFOW); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetAcceptExSockaddrs(lpoutputbuffer: *const ::core::ffi::c_void, dwreceivedatalength: u32, dwlocaladdresslength: u32, dwremoteaddresslength: u32, localsockaddr: *mut *mut SOCKADDR, localsockaddrlength: *mut i32, remotesockaddr: *mut *mut SOCKADDR, remotesockaddrlength: *mut i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn GetAddrInfoExA(pname: ::windows_sys::core::PCSTR, pservicename: ::windows_sys::core::PCSTR, dwnamespace: u32, lpnspid: *const ::windows_sys::core::GUID, hints: *const ADDRINFOEXA, ppresult: *mut *mut ADDRINFOEXA, timeout: *const timeval, lpoverlapped: *const super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPLOOKUPSERVICE_COMPLETION_ROUTINE, lpnamehandle: *mut super::super::Foundation::HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetAddrInfoExCancel(lphandle: *const super::super::Foundation::HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn GetAddrInfoExOverlappedResult(lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn GetAddrInfoExW(pname: ::windows_sys::core::PCWSTR, pservicename: ::windows_sys::core::PCWSTR, dwnamespace: u32, lpnspid: *const ::windows_sys::core::GUID, hints: *const ADDRINFOEXW, ppresult: *mut *mut ADDRINFOEXW, timeout: *const timeval, lpoverlapped: *const super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPLOOKUPSERVICE_COMPLETION_ROUTINE, lphandle: *mut super::super::Foundation::HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetAddrInfoW(pnodename: ::windows_sys::core::PCWSTR, pservicename: ::windows_sys::core::PCWSTR, phints: *const ADDRINFOW, ppresult: *mut *mut ADDRINFOW) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetAddressByNameA(dwnamespace: u32, lpservicetype: *const ::windows_sys::core::GUID, lpservicename: ::windows_sys::core::PCSTR, lpiprotocols: *const i32, dwresolution: u32, lpserviceasyncinfo: *const SERVICE_ASYNC_INFO, lpcsaddrbuffer: *mut ::core::ffi::c_void, lpdwbufferlength: *mut u32, lpaliasbuffer: ::windows_sys::core::PSTR, lpdwaliasbufferlength: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetAddressByNameW(dwnamespace: u32, lpservicetype: *const ::windows_sys::core::GUID, lpservicename: ::windows_sys::core::PCWSTR, lpiprotocols: *const i32, dwresolution: u32, lpserviceasyncinfo: *const SERVICE_ASYNC_INFO, lpcsaddrbuffer: *mut ::core::ffi::c_void, lpdwbufferlength: *mut u32, lpaliasbuffer: ::windows_sys::core::PWSTR, lpdwaliasbufferlength: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn GetHostNameW(name: ::windows_sys::core::PWSTR, namelen: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn GetNameByTypeA(lpservicetype: *const ::windows_sys::core::GUID, lpservicename: ::windows_sys::core::PSTR, dwnamelength: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn GetNameByTypeW(lpservicetype: *const ::windows_sys::core::GUID, lpservicename: ::windows_sys::core::PWSTR, dwnamelength: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNameInfoW(psockaddr: *const SOCKADDR, sockaddrlength: i32, pnodebuffer: ::windows_sys::core::PWSTR, nodebuffersize: u32, pservicebuffer: ::windows_sys::core::PWSTR, servicebuffersize: u32, flags: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetServiceA(dwnamespace: u32, lpguid: *const ::windows_sys::core::GUID, lpservicename: ::windows_sys::core::PCSTR, dwproperties: u32, lpbuffer: *mut ::core::ffi::c_void, lpdwbuffersize: *mut u32, lpserviceasyncinfo: *const SERVICE_ASYNC_INFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetServiceW(dwnamespace: u32, lpguid: *const ::windows_sys::core::GUID, lpservicename: ::windows_sys::core::PCWSTR, dwproperties: u32, lpbuffer: *mut ::core::ffi::c_void, lpdwbuffersize: *mut u32, lpserviceasyncinfo: *const SERVICE_ASYNC_INFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn GetTypeByNameA(lpservicename: ::windows_sys::core::PCSTR, lpservicetype: *mut ::windows_sys::core::GUID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn GetTypeByNameW(lpservicename: ::windows_sys::core::PCWSTR, lpservicetype: *mut ::windows_sys::core::GUID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn InetNtopW(family: i32, paddr: *const ::core::ffi::c_void, pstringbuf: ::windows_sys::core::PWSTR, stringbufsize: usize) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn InetPtonW(family: i32, pszaddrstring: ::windows_sys::core::PCWSTR, paddrbuf: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn ProcessSocketNotifications(completionport: super::super::Foundation::HANDLE, registrationcount: u32, registrationinfos: *mut SOCK_NOTIFY_REGISTRATION, timeoutms: u32, completioncount: u32, completionportentries: *mut super::super::System::IO::OVERLAPPED_ENTRY, receivedentrycount: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn RtlEthernetAddressToStringA(addr: *const DL_EUI48, s: ::windows_sys::core::PSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn RtlEthernetAddressToStringW(addr: *const DL_EUI48, s: ::windows_sys::core::PWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn RtlEthernetStringToAddressA(s: ::windows_sys::core::PCSTR, terminator: *mut ::windows_sys::core::PSTR, addr: *mut DL_EUI48) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn RtlEthernetStringToAddressW(s: ::windows_sys::core::PCWSTR, terminator: *mut ::windows_sys::core::PWSTR, addr: *mut DL_EUI48) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn RtlIpv4AddressToStringA(addr: *const IN_ADDR, s: ::windows_sys::core::PSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn RtlIpv4AddressToStringExA(address: *const IN_ADDR, port: u16, addressstring: ::windows_sys::core::PSTR, addressstringlength: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn RtlIpv4AddressToStringExW(address: *const IN_ADDR, port: u16, addressstring: ::windows_sys::core::PWSTR, addressstringlength: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn RtlIpv4AddressToStringW(addr: *const IN_ADDR, s: ::windows_sys::core::PWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtlIpv4StringToAddressA(s: ::windows_sys::core::PCSTR, strict: super::super::Foundation::BOOLEAN, terminator: *mut ::windows_sys::core::PSTR, addr: *mut IN_ADDR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtlIpv4StringToAddressExA(addressstring: ::windows_sys::core::PCSTR, strict: super::super::Foundation::BOOLEAN, address: *mut IN_ADDR, port: *mut u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtlIpv4StringToAddressExW(addressstring: ::windows_sys::core::PCWSTR, strict: super::super::Foundation::BOOLEAN, address: *mut IN_ADDR, port: *mut u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtlIpv4StringToAddressW(s: ::windows_sys::core::PCWSTR, strict: super::super::Foundation::BOOLEAN, terminator: *mut ::windows_sys::core::PWSTR, addr: *mut IN_ADDR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn RtlIpv6AddressToStringA(addr: *const IN6_ADDR, s: ::windows_sys::core::PSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn RtlIpv6AddressToStringExA(address: *const IN6_ADDR, scopeid: u32, port: u16, addressstring: ::windows_sys::core::PSTR, addressstringlength: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn RtlIpv6AddressToStringExW(address: *const IN6_ADDR, scopeid: u32, port: u16, addressstring: ::windows_sys::core::PWSTR, addressstringlength: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn RtlIpv6AddressToStringW(addr: *const IN6_ADDR, s: ::windows_sys::core::PWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn RtlIpv6StringToAddressA(s: ::windows_sys::core::PCSTR, terminator: *mut ::windows_sys::core::PSTR, addr: *mut IN6_ADDR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn RtlIpv6StringToAddressExA(addressstring: ::windows_sys::core::PCSTR, address: *mut IN6_ADDR, scopeid: *mut u32, port: *mut u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn RtlIpv6StringToAddressExW(addressstring: ::windows_sys::core::PCWSTR, address: *mut IN6_ADDR, scopeid: *mut u32, port: *mut u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn RtlIpv6StringToAddressW(s: ::windows_sys::core::PCWSTR, terminator: *mut ::windows_sys::core::PWSTR, addr: *mut IN6_ADDR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_IO"))] pub fn SetAddrInfoExA(pname: ::windows_sys::core::PCSTR, pservicename: ::windows_sys::core::PCSTR, paddresses: *const SOCKET_ADDRESS, dwaddresscount: u32, lpblob: *const super::super::System::Com::BLOB, dwflags: u32, dwnamespace: u32, lpnspid: *const ::windows_sys::core::GUID, timeout: *const timeval, lpoverlapped: *const super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPLOOKUPSERVICE_COMPLETION_ROUTINE, lpnamehandle: *mut super::super::Foundation::HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_IO"))] pub fn SetAddrInfoExW(pname: ::windows_sys::core::PCWSTR, pservicename: ::windows_sys::core::PCWSTR, paddresses: *const SOCKET_ADDRESS, dwaddresscount: u32, lpblob: *const super::super::System::Com::BLOB, dwflags: u32, dwnamespace: u32, lpnspid: *const ::windows_sys::core::GUID, timeout: *const timeval, lpoverlapped: *const super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPLOOKUPSERVICE_COMPLETION_ROUTINE, lpnamehandle: *mut super::super::Foundation::HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn SetServiceA(dwnamespace: u32, dwoperation: SET_SERVICE_OPERATION, dwflags: u32, lpserviceinfo: *const SERVICE_INFOA, lpserviceasyncinfo: *const SERVICE_ASYNC_INFO, lpdwstatusflags: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn SetServiceW(dwnamespace: u32, dwoperation: SET_SERVICE_OPERATION, dwflags: u32, lpserviceinfo: *const SERVICE_INFOW, lpserviceasyncinfo: *const SERVICE_ASYNC_INFO, lpdwstatusflags: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetSocketMediaStreamingMode(value: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn TransmitFile(hsocket: SOCKET, hfile: super::super::Foundation::HANDLE, nnumberofbytestowrite: u32, nnumberofbytespersend: u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lptransmitbuffers: *const TRANSMIT_FILE_BUFFERS, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WPUCompleteOverlappedRequest(s: SOCKET, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, dwerror: u32, cbtransferred: u32, lperrno: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAAccept(s: SOCKET, addr: *mut SOCKADDR, addrlen: *mut i32, lpfncondition: LPCONDITIONPROC, dwcallbackdata: usize) -> SOCKET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAAddressToStringA(lpsaaddress: *const SOCKADDR, dwaddresslength: u32, lpprotocolinfo: *const WSAPROTOCOL_INFOA, lpszaddressstring: ::windows_sys::core::PSTR, lpdwaddressstringlength: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAAddressToStringW(lpsaaddress: *const SOCKADDR, dwaddresslength: u32, lpprotocolinfo: *const WSAPROTOCOL_INFOW, lpszaddressstring: ::windows_sys::core::PWSTR, lpdwaddressstringlength: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn WSAAdvertiseProvider(puuidproviderid: *const ::windows_sys::core::GUID, pnspv2routine: *const NSPV2_ROUTINE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAAsyncGetHostByAddr(hwnd: super::super::Foundation::HWND, wmsg: u32, addr: ::windows_sys::core::PCSTR, len: i32, r#type: i32, buf: ::windows_sys::core::PSTR, buflen: i32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAAsyncGetHostByName(hwnd: super::super::Foundation::HWND, wmsg: u32, name: ::windows_sys::core::PCSTR, buf: ::windows_sys::core::PSTR, buflen: i32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAAsyncGetProtoByName(hwnd: super::super::Foundation::HWND, wmsg: u32, name: ::windows_sys::core::PCSTR, buf: ::windows_sys::core::PSTR, buflen: i32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAAsyncGetProtoByNumber(hwnd: super::super::Foundation::HWND, wmsg: u32, number: i32, buf: ::windows_sys::core::PSTR, buflen: i32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAAsyncGetServByName(hwnd: super::super::Foundation::HWND, wmsg: u32, name: ::windows_sys::core::PCSTR, proto: ::windows_sys::core::PCSTR, buf: ::windows_sys::core::PSTR, buflen: i32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAAsyncGetServByPort(hwnd: super::super::Foundation::HWND, wmsg: u32, port: i32, proto: ::windows_sys::core::PCSTR, buf: ::windows_sys::core::PSTR, buflen: i32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAAsyncSelect(s: SOCKET, hwnd: super::super::Foundation::HWND, wmsg: u32, levent: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSACancelAsyncRequest(hasynctaskhandle: super::super::Foundation::HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSACancelBlockingCall() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSACleanup() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSACloseEvent(hevent: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAConnect(s: SOCKET, name: *const SOCKADDR, namelen: i32, lpcallerdata: *const WSABUF, lpcalleedata: *mut WSABUF, lpsqos: *const QOS, lpgqos: *const QOS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WSAConnectByList(s: SOCKET, socketaddress: *const SOCKET_ADDRESS_LIST, localaddresslength: *mut u32, localaddress: *mut SOCKADDR, remoteaddresslength: *mut u32, remoteaddress: *mut SOCKADDR, timeout: *const timeval, reserved: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WSAConnectByNameA(s: SOCKET, nodename: ::windows_sys::core::PCSTR, servicename: ::windows_sys::core::PCSTR, localaddresslength: *mut u32, localaddress: *mut SOCKADDR, remoteaddresslength: *mut u32, remoteaddress: *mut SOCKADDR, timeout: *const timeval, reserved: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WSAConnectByNameW(s: SOCKET, nodename: ::windows_sys::core::PCWSTR, servicename: ::windows_sys::core::PCWSTR, localaddresslength: *mut u32, localaddress: *mut SOCKADDR, remoteaddresslength: *mut u32, remoteaddress: *mut SOCKADDR, timeout: *const timeval, reserved: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSACreateEvent() -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WSADeleteSocketPeerTargetName(socket: SOCKET, peeraddr: *const SOCKADDR, peeraddrlen: u32, overlapped: *const super::super::System::IO::OVERLAPPED, completionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSADuplicateSocketA(s: SOCKET, dwprocessid: u32, lpprotocolinfo: *mut WSAPROTOCOL_INFOA) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSADuplicateSocketW(s: SOCKET, dwprocessid: u32, lpprotocolinfo: *mut WSAPROTOCOL_INFOW) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAEnumNameSpaceProvidersA(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOA) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn WSAEnumNameSpaceProvidersExA(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOEXA) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn WSAEnumNameSpaceProvidersExW(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOEXW) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAEnumNameSpaceProvidersW(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOW) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAEnumNetworkEvents(s: SOCKET, heventobject: super::super::Foundation::HANDLE, lpnetworkevents: *mut WSANETWORKEVENTS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAEnumProtocolsA(lpiprotocols: *const i32, lpprotocolbuffer: *mut WSAPROTOCOL_INFOA, lpdwbufferlength: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSAEnumProtocolsW(lpiprotocols: *const i32, lpprotocolbuffer: *mut WSAPROTOCOL_INFOW, lpdwbufferlength: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAEventSelect(s: SOCKET, heventobject: super::super::Foundation::HANDLE, lnetworkevents: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSAGetLastError() -> WSA_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WSAGetOverlappedResult(s: SOCKET, lpoverlapped: *const super::super::System::IO::OVERLAPPED, lpcbtransfer: *mut u32, fwait: super::super::Foundation::BOOL, lpdwflags: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAGetQOSByName(s: SOCKET, lpqosname: *const WSABUF, lpqos: *mut QOS) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSAGetServiceClassInfoA(lpproviderid: *const ::windows_sys::core::GUID, lpserviceclassid: *const ::windows_sys::core::GUID, lpdwbufsize: *mut u32, lpserviceclassinfo: *mut WSASERVICECLASSINFOA) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSAGetServiceClassInfoW(lpproviderid: *const ::windows_sys::core::GUID, lpserviceclassid: *const ::windows_sys::core::GUID, lpdwbufsize: *mut u32, lpserviceclassinfo: *mut WSASERVICECLASSINFOW) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSAGetServiceClassNameByClassIdA(lpserviceclassid: *const ::windows_sys::core::GUID, lpszserviceclassname: ::windows_sys::core::PSTR, lpdwbufferlength: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSAGetServiceClassNameByClassIdW(lpserviceclassid: *const ::windows_sys::core::GUID, lpszserviceclassname: ::windows_sys::core::PWSTR, lpdwbufferlength: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSAHtonl(s: SOCKET, hostlong: u32, lpnetlong: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSAHtons(s: SOCKET, hostshort: u16, lpnetshort: *mut u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAImpersonateSocketPeer(socket: SOCKET, peeraddr: *const SOCKADDR, peeraddrlen: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSAInstallServiceClassA(lpserviceclassinfo: *const WSASERVICECLASSINFOA) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSAInstallServiceClassW(lpserviceclassinfo: *const WSASERVICECLASSINFOW) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WSAIoctl(s: SOCKET, dwiocontrolcode: u32, lpvinbuffer: *const ::core::ffi::c_void, cbinbuffer: u32, lpvoutbuffer: *mut ::core::ffi::c_void, cboutbuffer: u32, lpcbbytesreturned: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAIsBlocking() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAJoinLeaf(s: SOCKET, name: *const SOCKADDR, namelen: i32, lpcallerdata: *const WSABUF, lpcalleedata: *mut WSABUF, lpsqos: *const QOS, lpgqos: *const QOS, dwflags: u32) -> SOCKET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn WSALookupServiceBeginA(lpqsrestrictions: *const WSAQUERYSETA, dwcontrolflags: u32, lphlookup: *mut super::super::Foundation::HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn WSALookupServiceBeginW(lpqsrestrictions: *const WSAQUERYSETW, dwcontrolflags: u32, lphlookup: *mut super::super::Foundation::HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSALookupServiceEnd(hlookup: super::super::Foundation::HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn WSALookupServiceNextA(hlookup: super::super::Foundation::HANDLE, dwcontrolflags: u32, lpdwbufferlength: *mut u32, lpqsresults: *mut WSAQUERYSETA) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn WSALookupServiceNextW(hlookup: super::super::Foundation::HANDLE, dwcontrolflags: u32, lpdwbufferlength: *mut u32, lpqsresults: *mut WSAQUERYSETW) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WSANSPIoctl(hlookup: super::super::Foundation::HANDLE, dwcontrolcode: u32, lpvinbuffer: *const ::core::ffi::c_void, cbinbuffer: u32, lpvoutbuffer: *mut ::core::ffi::c_void, cboutbuffer: u32, lpcbbytesreturned: *mut u32, lpcompletion: *const WSACOMPLETION) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSANtohl(s: SOCKET, netlong: u32, lphostlong: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSANtohs(s: SOCKET, netshort: u16, lphostshort: *mut u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSAPoll(fdarray: *mut WSAPOLLFD, fds: u32, timeout: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAProviderCompleteAsyncCall(hasynccall: super::super::Foundation::HANDLE, iretcode: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WSAProviderConfigChange(lpnotificationhandle: *mut super::super::Foundation::HANDLE, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WSAQuerySocketSecurity(socket: SOCKET, securityquerytemplate: *const SOCKET_SECURITY_QUERY_TEMPLATE, securityquerytemplatelen: u32, securityqueryinfo: *mut SOCKET_SECURITY_QUERY_INFO, securityqueryinfolen: *mut u32, overlapped: *const super::super::System::IO::OVERLAPPED, completionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WSARecv(s: SOCKET, lpbuffers: *const WSABUF, dwbuffercount: u32, lpnumberofbytesrecvd: *mut u32, lpflags: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSARecvDisconnect(s: SOCKET, lpinbounddisconnectdata: *const WSABUF) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSARecvEx(s: SOCKET, buf: ::windows_sys::core::PSTR, len: i32, flags: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WSARecvFrom(s: SOCKET, lpbuffers: *const WSABUF, dwbuffercount: u32, lpnumberofbytesrecvd: *mut u32, lpflags: *mut u32, lpfrom: *mut SOCKADDR, lpfromlen: *mut i32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSARemoveServiceClass(lpserviceclassid: *const ::windows_sys::core::GUID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAResetEvent(hevent: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSARevertImpersonation() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WSASend(s: SOCKET, lpbuffers: *const WSABUF, dwbuffercount: u32, lpnumberofbytessent: *mut u32, dwflags: u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSASendDisconnect(s: SOCKET, lpoutbounddisconnectdata: *const WSABUF) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WSASendMsg(handle: SOCKET, lpmsg: *const WSAMSG, dwflags: u32, lpnumberofbytessent: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WSASendTo(s: SOCKET, lpbuffers: *const WSABUF, dwbuffercount: u32, lpnumberofbytessent: *mut u32, dwflags: u32, lpto: *const SOCKADDR, itolen: i32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSASetBlockingHook(lpblockfunc: super::super::Foundation::FARPROC) -> super::super::Foundation::FARPROC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSASetEvent(hevent: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSASetLastError(ierror: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn WSASetServiceA(lpqsreginfo: *const WSAQUERYSETA, essoperation: WSAESETSERVICEOP, dwcontrolflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn WSASetServiceW(lpqsreginfo: *const WSAQUERYSETW, essoperation: WSAESETSERVICEOP, dwcontrolflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WSASetSocketPeerTargetName(socket: SOCKET, peertargetname: *const SOCKET_PEER_TARGET_NAME, peertargetnamelen: u32, overlapped: *const super::super::System::IO::OVERLAPPED, completionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WSASetSocketSecurity(socket: SOCKET, securitysettings: *const SOCKET_SECURITY_SETTINGS, securitysettingslen: u32, overlapped: *const super::super::System::IO::OVERLAPPED, completionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSASocketA(af: i32, r#type: i32, protocol: i32, lpprotocolinfo: *const WSAPROTOCOL_INFOA, g: u32, dwflags: u32) -> SOCKET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSASocketW(af: i32, r#type: i32, protocol: i32, lpprotocolinfo: *const WSAPROTOCOL_INFOW, g: u32, dwflags: u32) -> SOCKET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAStartup(wversionrequested: u16, lpwsadata: *mut WSAData) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAStringToAddressA(addressstring: ::windows_sys::core::PCSTR, addressfamily: i32, lpprotocolinfo: *const WSAPROTOCOL_INFOA, lpaddress: *mut SOCKADDR, lpaddresslength: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAStringToAddressW(addressstring: ::windows_sys::core::PCWSTR, addressfamily: i32, lpprotocolinfo: *const WSAPROTOCOL_INFOW, lpaddress: *mut SOCKADDR, lpaddresslength: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSAUnadvertiseProvider(puuidproviderid: *const ::windows_sys::core::GUID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSAUnhookBlockingHook() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSAWaitForMultipleEvents(cevents: u32, lphevents: *const super::super::Foundation::HANDLE, fwaitall: super::super::Foundation::BOOL, dwtimeout: u32, falertable: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSCDeinstallProvider(lpproviderid: *const ::windows_sys::core::GUID, lperrno: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn WSCDeinstallProvider32(lpproviderid: *const ::windows_sys::core::GUID, lperrno: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSCEnableNSProvider(lpproviderid: *const ::windows_sys::core::GUID, fenable: super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_Foundation")] pub fn WSCEnableNSProvider32(lpproviderid: *const ::windows_sys::core::GUID, fenable: super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_Foundation")] pub fn WSCEnumNameSpaceProviders32(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOW) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn WSCEnumNameSpaceProvidersEx32(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOEXW) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSCEnumProtocols(lpiprotocols: *const i32, lpprotocolbuffer: *mut WSAPROTOCOL_INFOW, lpdwbufferlength: *mut u32, lperrno: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn WSCEnumProtocols32(lpiprotocols: *const i32, lpprotocolbuffer: *mut WSAPROTOCOL_INFOW, lpdwbufferlength: *mut u32, lperrno: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSCGetApplicationCategory(path: ::windows_sys::core::PCWSTR, pathlength: u32, extra: ::windows_sys::core::PCWSTR, extralength: u32, ppermittedlspcategories: *mut u32, lperrno: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSCGetProviderInfo(lpproviderid: *const ::windows_sys::core::GUID, infotype: WSC_PROVIDER_INFO_TYPE, info: *mut u8, infosize: *mut usize, flags: u32, lperrno: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn WSCGetProviderInfo32(lpproviderid: *const ::windows_sys::core::GUID, infotype: WSC_PROVIDER_INFO_TYPE, info: *mut u8, infosize: *mut usize, flags: u32, lperrno: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSCGetProviderPath(lpproviderid: *const ::windows_sys::core::GUID, lpszproviderdllpath: ::windows_sys::core::PWSTR, lpproviderdllpathlen: *mut i32, lperrno: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn WSCGetProviderPath32(lpproviderid: *const ::windows_sys::core::GUID, lpszproviderdllpath: ::windows_sys::core::PWSTR, lpproviderdllpathlen: *mut i32, lperrno: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSCInstallNameSpace(lpszidentifier: ::windows_sys::core::PCWSTR, lpszpathname: ::windows_sys::core::PCWSTR, dwnamespace: u32, dwversion: u32, lpproviderid: *const ::windows_sys::core::GUID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn WSCInstallNameSpace32(lpszidentifier: ::windows_sys::core::PCWSTR, lpszpathname: ::windows_sys::core::PCWSTR, dwnamespace: u32, dwversion: u32, lpproviderid: *const ::windows_sys::core::GUID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn WSCInstallNameSpaceEx(lpszidentifier: ::windows_sys::core::PCWSTR, lpszpathname: ::windows_sys::core::PCWSTR, dwnamespace: u32, dwversion: u32, lpproviderid: *const ::windows_sys::core::GUID, lpproviderspecific: *const super::super::System::Com::BLOB) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_System_Com")] pub fn WSCInstallNameSpaceEx32(lpszidentifier: ::windows_sys::core::PCWSTR, lpszpathname: ::windows_sys::core::PCWSTR, dwnamespace: u32, dwversion: u32, lpproviderid: *const ::windows_sys::core::GUID, lpproviderspecific: *const super::super::System::Com::BLOB) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSCInstallProvider(lpproviderid: *const ::windows_sys::core::GUID, lpszproviderdllpath: ::windows_sys::core::PCWSTR, lpprotocolinfolist: *const WSAPROTOCOL_INFOW, dwnumberofentries: u32, lperrno: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn WSCInstallProvider64_32(lpproviderid: *const ::windows_sys::core::GUID, lpszproviderdllpath: ::windows_sys::core::PCWSTR, lpprotocolinfolist: *const WSAPROTOCOL_INFOW, dwnumberofentries: u32, lperrno: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn WSCInstallProviderAndChains64_32(lpproviderid: *const ::windows_sys::core::GUID, lpszproviderdllpath: ::windows_sys::core::PCWSTR, lpszproviderdllpath32: ::windows_sys::core::PCWSTR, lpszlspname: ::windows_sys::core::PCWSTR, dwserviceflags: u32, lpprotocolinfolist: *mut WSAPROTOCOL_INFOW, dwnumberofentries: u32, lpdwcatalogentryid: *mut u32, lperrno: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSCSetApplicationCategory(path: ::windows_sys::core::PCWSTR, pathlength: u32, extra: ::windows_sys::core::PCWSTR, extralength: u32, permittedlspcategories: u32, pprevpermlspcat: *mut u32, lperrno: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSCSetProviderInfo(lpproviderid: *const ::windows_sys::core::GUID, infotype: WSC_PROVIDER_INFO_TYPE, info: *const u8, infosize: usize, flags: u32, lperrno: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn WSCSetProviderInfo32(lpproviderid: *const ::windows_sys::core::GUID, infotype: WSC_PROVIDER_INFO_TYPE, info: *const u8, infosize: usize, flags: u32, lperrno: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSCUnInstallNameSpace(lpproviderid: *const ::windows_sys::core::GUID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn WSCUnInstallNameSpace32(lpproviderid: *const ::windows_sys::core::GUID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSCUpdateProvider(lpproviderid: *const ::windows_sys::core::GUID, lpszproviderdllpath: ::windows_sys::core::PCWSTR, lpprotocolinfolist: *const WSAPROTOCOL_INFOW, dwnumberofentries: u32, lperrno: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn WSCUpdateProvider32(lpproviderid: *const ::windows_sys::core::GUID, lpszproviderdllpath: ::windows_sys::core::PCWSTR, lpprotocolinfolist: *const WSAPROTOCOL_INFOW, dwnumberofentries: u32, lperrno: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSCWriteNameSpaceOrder(lpproviderid: *mut ::windows_sys::core::GUID, dwnumberofentries: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn WSCWriteNameSpaceOrder32(lpproviderid: *mut ::windows_sys::core::GUID, dwnumberofentries: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn WSCWriteProviderOrder(lpwdcatalogentryid: *mut u32, dwnumberofentries: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn WSCWriteProviderOrder32(lpwdcatalogentryid: *mut u32, dwnumberofentries: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn __WSAFDIsSet(fd: SOCKET, param1: *mut fd_set) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn accept(s: SOCKET, addr: *mut SOCKADDR, addrlen: *mut i32) -> SOCKET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn bind(s: SOCKET, name: *const SOCKADDR, namelen: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn closesocket(s: SOCKET) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn connect(s: SOCKET, name: *const SOCKADDR, namelen: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn freeaddrinfo(paddrinfo: *const ADDRINFOA); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn getaddrinfo(pnodename: ::windows_sys::core::PCSTR, pservicename: ::windows_sys::core::PCSTR, phints: *const ADDRINFOA, ppresult: *mut *mut ADDRINFOA) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn gethostbyaddr(addr: ::windows_sys::core::PCSTR, len: i32, r#type: i32) -> *mut hostent; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn gethostbyname(name: ::windows_sys::core::PCSTR) -> *mut hostent; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn gethostname(name: ::windows_sys::core::PSTR, namelen: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn getnameinfo(psockaddr: *const SOCKADDR, sockaddrlength: i32, pnodebuffer: ::windows_sys::core::PSTR, nodebuffersize: u32, pservicebuffer: ::windows_sys::core::PSTR, servicebuffersize: u32, flags: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn getpeername(s: SOCKET, name: *mut SOCKADDR, namelen: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn getprotobyname(name: ::windows_sys::core::PCSTR) -> *mut protoent; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn getprotobynumber(number: i32) -> *mut protoent; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn getservbyname(name: ::windows_sys::core::PCSTR, proto: ::windows_sys::core::PCSTR) -> *mut servent; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn getservbyport(port: i32, proto: ::windows_sys::core::PCSTR) -> *mut servent; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn getsockname(s: SOCKET, name: *mut SOCKADDR, namelen: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn getsockopt(s: SOCKET, level: i32, optname: i32, optval: ::windows_sys::core::PSTR, optlen: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn htonl(hostlong: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn htons(hostshort: u16) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn inet_addr(cp: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn inet_ntoa(r#in: IN_ADDR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn inet_ntop(family: i32, paddr: *const ::core::ffi::c_void, pstringbuf: ::windows_sys::core::PSTR, stringbufsize: usize) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn inet_pton(family: i32, pszaddrstring: ::windows_sys::core::PCSTR, paddrbuf: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn ioctlsocket(s: SOCKET, cmd: i32, argp: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn listen(s: SOCKET, backlog: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn ntohl(netlong: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn ntohs(netshort: u16) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn recv(s: SOCKET, buf: ::windows_sys::core::PSTR, len: i32, flags: SEND_RECV_FLAGS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn recvfrom(s: SOCKET, buf: ::windows_sys::core::PSTR, len: i32, flags: i32, from: *mut SOCKADDR, fromlen: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn select(nfds: i32, readfds: *mut fd_set, writefds: *mut fd_set, exceptfds: *mut fd_set, timeout: *const timeval) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn send(s: SOCKET, buf: ::windows_sys::core::PCSTR, len: i32, flags: SEND_RECV_FLAGS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn sendto(s: SOCKET, buf: ::windows_sys::core::PCSTR, len: i32, flags: i32, to: *const SOCKADDR, tolen: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn setsockopt(s: SOCKET, level: i32, optname: i32, optval: ::windows_sys::core::PCSTR, optlen: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn shutdown(s: SOCKET, how: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub fn socket(af: i32, r#type: i32, protocol: i32) -> SOCKET; } diff --git a/crates/libs/sys/src/Windows/Win32/Networking/WindowsWebServices/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/WindowsWebServices/mod.rs index e179c1cf61..94842b0e23 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/WindowsWebServices/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/WindowsWebServices/mod.rs @@ -3,452 +3,1058 @@ extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WebAuthNAuthenticatorGetAssertion(hwnd: super::super::Foundation::HWND, pwszrpid: ::windows_sys::core::PCWSTR, pwebauthnclientdata: *const WEBAUTHN_CLIENT_DATA, pwebauthngetassertionoptions: *const WEBAUTHN_AUTHENTICATOR_GET_ASSERTION_OPTIONS, ppwebauthnassertion: *mut *mut WEBAUTHN_ASSERTION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WebAuthNAuthenticatorMakeCredential(hwnd: super::super::Foundation::HWND, prpinformation: *const WEBAUTHN_RP_ENTITY_INFORMATION, puserinformation: *const WEBAUTHN_USER_ENTITY_INFORMATION, ppubkeycredparams: *const WEBAUTHN_COSE_CREDENTIAL_PARAMETERS, pwebauthnclientdata: *const WEBAUTHN_CLIENT_DATA, pwebauthnmakecredentialoptions: *const WEBAUTHN_AUTHENTICATOR_MAKE_CREDENTIAL_OPTIONS, ppwebauthncredentialattestation: *mut *mut WEBAUTHN_CREDENTIAL_ATTESTATION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WebAuthNCancelCurrentOperation(pcancellationid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WebAuthNFreeAssertion(pwebauthnassertion: *const WEBAUTHN_ASSERTION); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WebAuthNFreeCredentialAttestation(pwebauthncredentialattestation: *const WEBAUTHN_CREDENTIAL_ATTESTATION); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WebAuthNGetApiVersionNumber() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WebAuthNGetCancellationId(pcancellationid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WebAuthNGetErrorName(hr: ::windows_sys::core::HRESULT) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WebAuthNGetW3CExceptionDOMError(hr: ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WebAuthNIsUserVerifyingPlatformAuthenticatorAvailable(pbisuserverifyingplatformauthenticatoravailable: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsAbandonCall(serviceproxy: *const WS_SERVICE_PROXY, callid: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsAbandonMessage(channel: *const WS_CHANNEL, message: *const WS_MESSAGE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsAbortChannel(channel: *const WS_CHANNEL, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsAbortListener(listener: *const WS_LISTENER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsAbortServiceHost(servicehost: *const WS_SERVICE_HOST, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsAbortServiceProxy(serviceproxy: *const WS_SERVICE_PROXY, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsAcceptChannel(listener: *const WS_LISTENER, channel: *const WS_CHANNEL, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsAddCustomHeader(message: *const WS_MESSAGE, headerdescription: *const WS_ELEMENT_DESCRIPTION, writeoption: WS_WRITE_OPTION, value: *const ::core::ffi::c_void, valuesize: u32, headerattributes: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsAddErrorString(error: *const WS_ERROR, string: *const WS_STRING) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsAddMappedHeader(message: *const WS_MESSAGE, headername: *const WS_XML_STRING, valuetype: WS_TYPE, writeoption: WS_WRITE_OPTION, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsAddressMessage(message: *const WS_MESSAGE, address: *const WS_ENDPOINT_ADDRESS, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsAlloc(heap: *const WS_HEAP, size: usize, ptr: *mut *mut ::core::ffi::c_void, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsAsyncExecute(asyncstate: *const WS_ASYNC_STATE, operation: WS_ASYNC_FUNCTION, callbackmodel: WS_CALLBACK_MODEL, callbackstate: *const ::core::ffi::c_void, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsCall(serviceproxy: *const WS_SERVICE_PROXY, operation: *const WS_OPERATION_DESCRIPTION, arguments: *const *const ::core::ffi::c_void, heap: *const WS_HEAP, callproperties: *const WS_CALL_PROPERTY, callpropertycount: u32, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsCheckMustUnderstandHeaders(message: *const WS_MESSAGE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsCloseChannel(channel: *const WS_CHANNEL, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsCloseListener(listener: *const WS_LISTENER, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsCloseServiceHost(servicehost: *const WS_SERVICE_HOST, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsCloseServiceProxy(serviceproxy: *const WS_SERVICE_PROXY, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsCombineUrl(baseurl: *const WS_STRING, referenceurl: *const WS_STRING, flags: u32, heap: *const WS_HEAP, resulturl: *mut WS_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsCopyError(source: *const WS_ERROR, destination: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsCopyNode(writer: *const WS_XML_WRITER, reader: *const WS_XML_READER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsCreateChannel(channeltype: WS_CHANNEL_TYPE, channelbinding: WS_CHANNEL_BINDING, properties: *const WS_CHANNEL_PROPERTY, propertycount: u32, securitydescription: *const WS_SECURITY_DESCRIPTION, channel: *mut *mut WS_CHANNEL, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsCreateChannelForListener(listener: *const WS_LISTENER, properties: *const WS_CHANNEL_PROPERTY, propertycount: u32, channel: *mut *mut WS_CHANNEL, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsCreateError(properties: *const WS_ERROR_PROPERTY, propertycount: u32, error: *mut *mut WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsCreateFaultFromError(error: *const WS_ERROR, faulterrorcode: ::windows_sys::core::HRESULT, faultdisclosure: WS_FAULT_DISCLOSURE, heap: *const WS_HEAP, fault: *mut WS_FAULT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsCreateHeap(maxsize: usize, trimsize: usize, properties: *const WS_HEAP_PROPERTY, propertycount: u32, heap: *mut *mut WS_HEAP, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsCreateListener(channeltype: WS_CHANNEL_TYPE, channelbinding: WS_CHANNEL_BINDING, properties: *const WS_LISTENER_PROPERTY, propertycount: u32, securitydescription: *const WS_SECURITY_DESCRIPTION, listener: *mut *mut WS_LISTENER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsCreateMessage(envelopeversion: WS_ENVELOPE_VERSION, addressingversion: WS_ADDRESSING_VERSION, properties: *const WS_MESSAGE_PROPERTY, propertycount: u32, message: *mut *mut WS_MESSAGE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsCreateMessageForChannel(channel: *const WS_CHANNEL, properties: *const WS_MESSAGE_PROPERTY, propertycount: u32, message: *mut *mut WS_MESSAGE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsCreateMetadata(properties: *const WS_METADATA_PROPERTY, propertycount: u32, metadata: *mut *mut WS_METADATA, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsCreateReader(properties: *const WS_XML_READER_PROPERTY, propertycount: u32, reader: *mut *mut WS_XML_READER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsCreateServiceEndpointFromTemplate(channeltype: WS_CHANNEL_TYPE, properties: *const WS_SERVICE_ENDPOINT_PROPERTY, propertycount: u32, addressurl: *const WS_STRING, contract: *const WS_SERVICE_CONTRACT, authorizationcallback: WS_SERVICE_SECURITY_CALLBACK, heap: *const WS_HEAP, templatetype: WS_BINDING_TEMPLATE_TYPE, templatevalue: *const ::core::ffi::c_void, templatesize: u32, templatedescription: *const ::core::ffi::c_void, templatedescriptionsize: u32, serviceendpoint: *mut *mut WS_SERVICE_ENDPOINT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsCreateServiceHost(endpoints: *const *const WS_SERVICE_ENDPOINT, endpointcount: u16, serviceproperties: *const WS_SERVICE_PROPERTY, servicepropertycount: u32, servicehost: *mut *mut WS_SERVICE_HOST, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsCreateServiceProxy(channeltype: WS_CHANNEL_TYPE, channelbinding: WS_CHANNEL_BINDING, securitydescription: *const WS_SECURITY_DESCRIPTION, properties: *const WS_PROXY_PROPERTY, propertycount: u32, channelproperties: *const WS_CHANNEL_PROPERTY, channelpropertycount: u32, serviceproxy: *mut *mut WS_SERVICE_PROXY, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsCreateServiceProxyFromTemplate(channeltype: WS_CHANNEL_TYPE, properties: *const WS_PROXY_PROPERTY, propertycount: u32, templatetype: WS_BINDING_TEMPLATE_TYPE, templatevalue: *const ::core::ffi::c_void, templatesize: u32, templatedescription: *const ::core::ffi::c_void, templatedescriptionsize: u32, serviceproxy: *mut *mut WS_SERVICE_PROXY, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsCreateWriter(properties: *const WS_XML_WRITER_PROPERTY, propertycount: u32, writer: *mut *mut WS_XML_WRITER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsCreateXmlBuffer(heap: *const WS_HEAP, properties: *const WS_XML_BUFFER_PROPERTY, propertycount: u32, buffer: *mut *mut WS_XML_BUFFER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsCreateXmlSecurityToken(tokenxml: *const WS_XML_BUFFER, tokenkey: *const WS_SECURITY_KEY_HANDLE, properties: *const WS_XML_SECURITY_TOKEN_PROPERTY, propertycount: u32, token: *mut *mut WS_SECURITY_TOKEN, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsDateTimeToFileTime(datetime: *const WS_DATETIME, filetime: *mut super::super::Foundation::FILETIME, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsDecodeUrl(url: *const WS_STRING, flags: u32, heap: *const WS_HEAP, outurl: *mut *mut WS_URL, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsEncodeUrl(url: *const WS_URL, flags: u32, heap: *const WS_HEAP, outurl: *mut WS_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsEndReaderCanonicalization(reader: *const WS_XML_READER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsEndWriterCanonicalization(writer: *const WS_XML_WRITER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsFileTimeToDateTime(filetime: *const super::super::Foundation::FILETIME, datetime: *mut WS_DATETIME, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsFillBody(message: *const WS_MESSAGE, minsize: u32, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsFillReader(reader: *const WS_XML_READER, minsize: u32, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsFindAttribute(reader: *const WS_XML_READER, localname: *const WS_XML_STRING, ns: *const WS_XML_STRING, required: super::super::Foundation::BOOL, attributeindex: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsFlushBody(message: *const WS_MESSAGE, minsize: u32, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsFlushWriter(writer: *const WS_XML_WRITER, minsize: u32, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsFreeChannel(channel: *const WS_CHANNEL); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsFreeError(error: *const WS_ERROR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsFreeHeap(heap: *const WS_HEAP); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsFreeListener(listener: *const WS_LISTENER); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsFreeMessage(message: *const WS_MESSAGE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsFreeMetadata(metadata: *const WS_METADATA); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsFreeReader(reader: *const WS_XML_READER); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsFreeSecurityToken(token: *const WS_SECURITY_TOKEN); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsFreeServiceHost(servicehost: *const WS_SERVICE_HOST); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsFreeServiceProxy(serviceproxy: *const WS_SERVICE_PROXY); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsFreeWriter(writer: *const WS_XML_WRITER); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetChannelProperty(channel: *const WS_CHANNEL, id: WS_CHANNEL_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsGetCustomHeader(message: *const WS_MESSAGE, customheaderdescription: *const WS_ELEMENT_DESCRIPTION, repeatingoption: WS_REPEATING_HEADER_OPTION, headerindex: u32, readoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32, headerattributes: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsGetDictionary(encoding: WS_ENCODING, dictionary: *mut *mut WS_XML_DICTIONARY, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetErrorProperty(error: *const WS_ERROR, id: WS_ERROR_PROPERTY_ID, buffer: *mut ::core::ffi::c_void, buffersize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetErrorString(error: *const WS_ERROR, index: u32, string: *mut WS_STRING) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsGetFaultErrorDetail(error: *const WS_ERROR, faultdetaildescription: *const WS_FAULT_DETAIL_DESCRIPTION, readoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetFaultErrorProperty(error: *const WS_ERROR, id: WS_FAULT_ERROR_PROPERTY_ID, buffer: *mut ::core::ffi::c_void, buffersize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetHeader(message: *const WS_MESSAGE, headertype: WS_HEADER_TYPE, valuetype: WS_TYPE, readoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetHeaderAttributes(message: *const WS_MESSAGE, reader: *const WS_XML_READER, headerattributes: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetHeapProperty(heap: *const WS_HEAP, id: WS_HEAP_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetListenerProperty(listener: *const WS_LISTENER, id: WS_LISTENER_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsGetMappedHeader(message: *const WS_MESSAGE, headername: *const WS_XML_STRING, repeatingoption: WS_REPEATING_HEADER_OPTION, headerindex: u32, valuetype: WS_TYPE, readoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetMessageProperty(message: *const WS_MESSAGE, id: WS_MESSAGE_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsGetMetadataEndpoints(metadata: *const WS_METADATA, endpoints: *mut WS_METADATA_ENDPOINTS, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetMetadataProperty(metadata: *const WS_METADATA, id: WS_METADATA_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetMissingMetadataDocumentAddress(metadata: *const WS_METADATA, address: *mut *mut WS_ENDPOINT_ADDRESS, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsGetNamespaceFromPrefix(reader: *const WS_XML_READER, prefix: *const WS_XML_STRING, required: super::super::Foundation::BOOL, ns: *mut *mut WS_XML_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetOperationContextProperty(context: *const WS_OPERATION_CONTEXT, id: WS_OPERATION_CONTEXT_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetPolicyAlternativeCount(policy: *const WS_POLICY, count: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetPolicyProperty(policy: *const WS_POLICY, id: WS_POLICY_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsGetPrefixFromNamespace(writer: *const WS_XML_WRITER, ns: *const WS_XML_STRING, required: super::super::Foundation::BOOL, prefix: *mut *mut WS_XML_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetReaderNode(xmlreader: *const WS_XML_READER, node: *mut *mut WS_XML_NODE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetReaderPosition(reader: *const WS_XML_READER, nodeposition: *mut WS_XML_NODE_POSITION, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetReaderProperty(reader: *const WS_XML_READER, id: WS_XML_READER_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetSecurityContextProperty(securitycontext: *const WS_SECURITY_CONTEXT, id: WS_SECURITY_CONTEXT_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetSecurityTokenProperty(securitytoken: *const WS_SECURITY_TOKEN, id: WS_SECURITY_TOKEN_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, heap: *const WS_HEAP, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetServiceHostProperty(servicehost: *const WS_SERVICE_HOST, id: WS_SERVICE_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetServiceProxyProperty(serviceproxy: *const WS_SERVICE_PROXY, id: WS_PROXY_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetWriterPosition(writer: *const WS_XML_WRITER, nodeposition: *mut WS_XML_NODE_POSITION, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsGetWriterProperty(writer: *const WS_XML_WRITER, id: WS_XML_WRITER_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsGetXmlAttribute(reader: *const WS_XML_READER, localname: *const WS_XML_STRING, heap: *const WS_HEAP, valuechars: *mut *mut u16, valuecharcount: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsInitializeMessage(message: *const WS_MESSAGE, initialization: WS_MESSAGE_INITIALIZATION, sourcemessage: *const WS_MESSAGE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsMarkHeaderAsUnderstood(message: *const WS_MESSAGE, headerposition: *const WS_XML_NODE_POSITION, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsMatchPolicyAlternative(policy: *const WS_POLICY, alternativeindex: u32, policyconstraints: *const WS_POLICY_CONSTRAINTS, matchrequired: super::super::Foundation::BOOL, heap: *const WS_HEAP, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsMoveReader(reader: *const WS_XML_READER, moveto: WS_MOVE_TO, found: *mut super::super::Foundation::BOOL, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsMoveWriter(writer: *const WS_XML_WRITER, moveto: WS_MOVE_TO, found: *mut super::super::Foundation::BOOL, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsOpenChannel(channel: *const WS_CHANNEL, endpointaddress: *const WS_ENDPOINT_ADDRESS, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsOpenListener(listener: *const WS_LISTENER, url: *const WS_STRING, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsOpenServiceHost(servicehost: *const WS_SERVICE_HOST, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsOpenServiceProxy(serviceproxy: *const WS_SERVICE_PROXY, address: *const WS_ENDPOINT_ADDRESS, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsPullBytes(writer: *const WS_XML_WRITER, callback: WS_PULL_BYTES_CALLBACK, callbackstate: *const ::core::ffi::c_void, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsPushBytes(writer: *const WS_XML_WRITER, callback: WS_PUSH_BYTES_CALLBACK, callbackstate: *const ::core::ffi::c_void, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsReadArray(reader: *const WS_XML_READER, localname: *const WS_XML_STRING, ns: *const WS_XML_STRING, valuetype: WS_VALUE_TYPE, array: *mut ::core::ffi::c_void, arraysize: u32, itemoffset: u32, itemcount: u32, actualitemcount: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsReadAttribute(reader: *const WS_XML_READER, attributedescription: *const WS_ATTRIBUTE_DESCRIPTION, readoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsReadBody(message: *const WS_MESSAGE, bodydescription: *const WS_ELEMENT_DESCRIPTION, readoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsReadBytes(reader: *const WS_XML_READER, bytes: *mut ::core::ffi::c_void, maxbytecount: u32, actualbytecount: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsReadChars(reader: *const WS_XML_READER, chars: ::windows_sys::core::PWSTR, maxcharcount: u32, actualcharcount: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsReadCharsUtf8(reader: *const WS_XML_READER, bytes: *mut u8, maxbytecount: u32, actualbytecount: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsReadElement(reader: *const WS_XML_READER, elementdescription: *const WS_ELEMENT_DESCRIPTION, readoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsReadEndAttribute(reader: *const WS_XML_READER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsReadEndElement(reader: *const WS_XML_READER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsReadEndpointAddressExtension(reader: *const WS_XML_READER, endpointaddress: *const WS_ENDPOINT_ADDRESS, extensiontype: WS_ENDPOINT_ADDRESS_EXTENSION_TYPE, readoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsReadEnvelopeEnd(message: *const WS_MESSAGE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsReadEnvelopeStart(message: *const WS_MESSAGE, reader: *const WS_XML_READER, donecallback: WS_MESSAGE_DONE_CALLBACK, donecallbackstate: *const ::core::ffi::c_void, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsReadMessageEnd(channel: *const WS_CHANNEL, message: *const WS_MESSAGE, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsReadMessageStart(channel: *const WS_CHANNEL, message: *const WS_MESSAGE, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsReadMetadata(metadata: *const WS_METADATA, reader: *const WS_XML_READER, url: *const WS_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsReadNode(reader: *const WS_XML_READER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsReadQualifiedName(reader: *const WS_XML_READER, heap: *const WS_HEAP, prefix: *mut WS_XML_STRING, localname: *mut WS_XML_STRING, ns: *mut WS_XML_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsReadStartAttribute(reader: *const WS_XML_READER, attributeindex: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsReadStartElement(reader: *const WS_XML_READER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsReadToStartElement(reader: *const WS_XML_READER, localname: *const WS_XML_STRING, ns: *const WS_XML_STRING, found: *mut super::super::Foundation::BOOL, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsReadType(reader: *const WS_XML_READER, typemapping: WS_TYPE_MAPPING, r#type: WS_TYPE, typedescription: *const ::core::ffi::c_void, readoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsReadValue(reader: *const WS_XML_READER, valuetype: WS_VALUE_TYPE, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsReadXmlBuffer(reader: *const WS_XML_READER, heap: *const WS_HEAP, xmlbuffer: *mut *mut WS_XML_BUFFER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsReadXmlBufferFromBytes(reader: *const WS_XML_READER, encoding: *const WS_XML_READER_ENCODING, properties: *const WS_XML_READER_PROPERTY, propertycount: u32, bytes: *const ::core::ffi::c_void, bytecount: u32, heap: *const WS_HEAP, xmlbuffer: *mut *mut WS_XML_BUFFER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsReceiveMessage(channel: *const WS_CHANNEL, message: *const WS_MESSAGE, messagedescriptions: *const *const WS_MESSAGE_DESCRIPTION, messagedescriptioncount: u32, receiveoption: WS_RECEIVE_OPTION, readbodyoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32, index: *mut u32, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsRegisterOperationForCancel(context: *const WS_OPERATION_CONTEXT, cancelcallback: WS_OPERATION_CANCEL_CALLBACK, freestatecallback: WS_OPERATION_FREE_STATE_CALLBACK, userstate: *const ::core::ffi::c_void, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsRemoveCustomHeader(message: *const WS_MESSAGE, headername: *const WS_XML_STRING, headerns: *const WS_XML_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsRemoveHeader(message: *const WS_MESSAGE, headertype: WS_HEADER_TYPE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsRemoveMappedHeader(message: *const WS_MESSAGE, headername: *const WS_XML_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsRemoveNode(nodeposition: *const WS_XML_NODE_POSITION, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsRequestReply(channel: *const WS_CHANNEL, requestmessage: *const WS_MESSAGE, requestmessagedescription: *const WS_MESSAGE_DESCRIPTION, writeoption: WS_WRITE_OPTION, requestbodyvalue: *const ::core::ffi::c_void, requestbodyvaluesize: u32, replymessage: *const WS_MESSAGE, replymessagedescription: *const WS_MESSAGE_DESCRIPTION, readoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsRequestSecurityToken(channel: *const WS_CHANNEL, properties: *const WS_REQUEST_SECURITY_TOKEN_PROPERTY, propertycount: u32, token: *mut *mut WS_SECURITY_TOKEN, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsResetChannel(channel: *const WS_CHANNEL, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsResetError(error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsResetHeap(heap: *const WS_HEAP, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsResetListener(listener: *const WS_LISTENER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsResetMessage(message: *const WS_MESSAGE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsResetMetadata(metadata: *const WS_METADATA, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsResetServiceHost(servicehost: *const WS_SERVICE_HOST, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsResetServiceProxy(serviceproxy: *const WS_SERVICE_PROXY, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsRevokeSecurityContext(securitycontext: *const WS_SECURITY_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsSendFaultMessageForError(channel: *const WS_CHANNEL, replymessage: *const WS_MESSAGE, faulterror: *const WS_ERROR, faulterrorcode: ::windows_sys::core::HRESULT, faultdisclosure: WS_FAULT_DISCLOSURE, requestmessage: *const WS_MESSAGE, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsSendMessage(channel: *const WS_CHANNEL, message: *const WS_MESSAGE, messagedescription: *const WS_MESSAGE_DESCRIPTION, writeoption: WS_WRITE_OPTION, bodyvalue: *const ::core::ffi::c_void, bodyvaluesize: u32, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsSendReplyMessage(channel: *const WS_CHANNEL, replymessage: *const WS_MESSAGE, replymessagedescription: *const WS_MESSAGE_DESCRIPTION, writeoption: WS_WRITE_OPTION, replybodyvalue: *const ::core::ffi::c_void, replybodyvaluesize: u32, requestmessage: *const WS_MESSAGE, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsSetChannelProperty(channel: *const WS_CHANNEL, id: WS_CHANNEL_PROPERTY_ID, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsSetErrorProperty(error: *const WS_ERROR, id: WS_ERROR_PROPERTY_ID, value: *const ::core::ffi::c_void, valuesize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsSetFaultErrorDetail(error: *const WS_ERROR, faultdetaildescription: *const WS_FAULT_DETAIL_DESCRIPTION, writeoption: WS_WRITE_OPTION, value: *const ::core::ffi::c_void, valuesize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsSetFaultErrorProperty(error: *const WS_ERROR, id: WS_FAULT_ERROR_PROPERTY_ID, value: *const ::core::ffi::c_void, valuesize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsSetHeader(message: *const WS_MESSAGE, headertype: WS_HEADER_TYPE, valuetype: WS_TYPE, writeoption: WS_WRITE_OPTION, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsSetInput(reader: *const WS_XML_READER, encoding: *const WS_XML_READER_ENCODING, input: *const WS_XML_READER_INPUT, properties: *const WS_XML_READER_PROPERTY, propertycount: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsSetInputToBuffer(reader: *const WS_XML_READER, buffer: *const WS_XML_BUFFER, properties: *const WS_XML_READER_PROPERTY, propertycount: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsSetListenerProperty(listener: *const WS_LISTENER, id: WS_LISTENER_PROPERTY_ID, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsSetMessageProperty(message: *const WS_MESSAGE, id: WS_MESSAGE_PROPERTY_ID, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsSetOutput(writer: *const WS_XML_WRITER, encoding: *const WS_XML_WRITER_ENCODING, output: *const WS_XML_WRITER_OUTPUT, properties: *const WS_XML_WRITER_PROPERTY, propertycount: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsSetOutputToBuffer(writer: *const WS_XML_WRITER, buffer: *const WS_XML_BUFFER, properties: *const WS_XML_WRITER_PROPERTY, propertycount: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsSetReaderPosition(reader: *const WS_XML_READER, nodeposition: *const WS_XML_NODE_POSITION, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsSetWriterPosition(writer: *const WS_XML_WRITER, nodeposition: *const WS_XML_NODE_POSITION, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsShutdownSessionChannel(channel: *const WS_CHANNEL, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsSkipNode(reader: *const WS_XML_READER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsStartReaderCanonicalization(reader: *const WS_XML_READER, writecallback: WS_WRITE_CALLBACK, writecallbackstate: *const ::core::ffi::c_void, properties: *const WS_XML_CANONICALIZATION_PROPERTY, propertycount: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsStartWriterCanonicalization(writer: *const WS_XML_WRITER, writecallback: WS_WRITE_CALLBACK, writecallbackstate: *const ::core::ffi::c_void, properties: *const WS_XML_CANONICALIZATION_PROPERTY, propertycount: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsTrimXmlWhitespace(chars: ::windows_sys::core::PCWSTR, charcount: u32, trimmedchars: *mut *mut u16, trimmedcount: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsVerifyXmlNCName(ncnamechars: ::windows_sys::core::PCWSTR, ncnamecharcount: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsWriteArray(writer: *const WS_XML_WRITER, localname: *const WS_XML_STRING, ns: *const WS_XML_STRING, valuetype: WS_VALUE_TYPE, array: *const ::core::ffi::c_void, arraysize: u32, itemoffset: u32, itemcount: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsWriteAttribute(writer: *const WS_XML_WRITER, attributedescription: *const WS_ATTRIBUTE_DESCRIPTION, writeoption: WS_WRITE_OPTION, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsWriteBody(message: *const WS_MESSAGE, bodydescription: *const WS_ELEMENT_DESCRIPTION, writeoption: WS_WRITE_OPTION, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsWriteBytes(writer: *const WS_XML_WRITER, bytes: *const ::core::ffi::c_void, bytecount: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsWriteChars(writer: *const WS_XML_WRITER, chars: ::windows_sys::core::PCWSTR, charcount: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsWriteCharsUtf8(writer: *const WS_XML_WRITER, bytes: *const u8, bytecount: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsWriteElement(writer: *const WS_XML_WRITER, elementdescription: *const WS_ELEMENT_DESCRIPTION, writeoption: WS_WRITE_OPTION, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsWriteEndAttribute(writer: *const WS_XML_WRITER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsWriteEndCData(writer: *const WS_XML_WRITER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsWriteEndElement(writer: *const WS_XML_WRITER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsWriteEndStartElement(writer: *const WS_XML_WRITER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsWriteEnvelopeEnd(message: *const WS_MESSAGE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsWriteEnvelopeStart(message: *const WS_MESSAGE, writer: *const WS_XML_WRITER, donecallback: WS_MESSAGE_DONE_CALLBACK, donecallbackstate: *const ::core::ffi::c_void, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsWriteMessageEnd(channel: *const WS_CHANNEL, message: *const WS_MESSAGE, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsWriteMessageStart(channel: *const WS_CHANNEL, message: *const WS_MESSAGE, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsWriteNode(writer: *const WS_XML_WRITER, node: *const WS_XML_NODE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsWriteQualifiedName(writer: *const WS_XML_WRITER, prefix: *const WS_XML_STRING, localname: *const WS_XML_STRING, ns: *const WS_XML_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsWriteStartAttribute(writer: *const WS_XML_WRITER, prefix: *const WS_XML_STRING, localname: *const WS_XML_STRING, ns: *const WS_XML_STRING, singlequote: super::super::Foundation::BOOL, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsWriteStartCData(writer: *const WS_XML_WRITER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsWriteStartElement(writer: *const WS_XML_WRITER, prefix: *const WS_XML_STRING, localname: *const WS_XML_STRING, ns: *const WS_XML_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsWriteText(writer: *const WS_XML_WRITER, text: *const WS_XML_TEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsWriteType(writer: *const WS_XML_WRITER, typemapping: WS_TYPE_MAPPING, r#type: WS_TYPE, typedescription: *const ::core::ffi::c_void, writeoption: WS_WRITE_OPTION, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsWriteValue(writer: *const WS_XML_WRITER, valuetype: WS_VALUE_TYPE, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsWriteXmlBuffer(writer: *const WS_XML_WRITER, xmlbuffer: *const WS_XML_BUFFER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] pub fn WsWriteXmlBufferToBytes(writer: *const WS_XML_WRITER, xmlbuffer: *const WS_XML_BUFFER, encoding: *const WS_XML_WRITER_ENCODING, properties: *const WS_XML_WRITER_PROPERTY, propertycount: u32, heap: *const WS_HEAP, bytes: *mut *mut ::core::ffi::c_void, bytecount: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsWriteXmlnsAttribute(writer: *const WS_XML_WRITER, prefix: *const WS_XML_STRING, ns: *const WS_XML_STRING, singlequote: super::super::Foundation::BOOL, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WsXmlStringEquals(string1: *const WS_XML_STRING, string2: *const WS_XML_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Security/AppLocker/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/AppLocker/mod.rs index ab83f96078..d735ffe55c 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/AppLocker/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/AppLocker/mod.rs @@ -3,30 +3,57 @@ extern "system" { #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SaferCloseLevel(hlevelhandle: super::SAFER_LEVEL_HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SaferComputeTokenFromLevel(levelhandle: super::SAFER_LEVEL_HANDLE, inaccesstoken: super::super::Foundation::HANDLE, outaccesstoken: *mut super::super::Foundation::HANDLE, dwflags: SAFER_COMPUTE_TOKEN_FROM_LEVEL_FLAGS, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SaferCreateLevel(dwscopeid: u32, dwlevelid: u32, openflags: u32, plevelhandle: *mut super::SAFER_LEVEL_HANDLE, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SaferGetLevelInformation(levelhandle: super::SAFER_LEVEL_HANDLE, dwinfotype: SAFER_OBJECT_INFO_CLASS, lpquerybuffer: *mut ::core::ffi::c_void, dwinbuffersize: u32, lpdwoutbuffersize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SaferGetPolicyInformation(dwscopeid: u32, saferpolicyinfoclass: SAFER_POLICY_INFO_CLASS, infobuffersize: u32, infobuffer: *mut ::core::ffi::c_void, infobufferretsize: *mut u32, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SaferIdentifyLevel(dwnumproperties: u32, pcodeproperties: *const SAFER_CODE_PROPERTIES_V2, plevelhandle: *mut super::SAFER_LEVEL_HANDLE, lpreserved: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SaferRecordEventLogEntry(hlevel: super::SAFER_LEVEL_HANDLE, sztargetpath: ::windows_sys::core::PCWSTR, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SaferSetLevelInformation(levelhandle: super::SAFER_LEVEL_HANDLE, dwinfotype: SAFER_OBJECT_INFO_CLASS, lpquerybuffer: *const ::core::ffi::c_void, dwinbuffersize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SaferSetPolicyInformation(dwscopeid: u32, saferpolicyinfoclass: SAFER_POLICY_INFO_CLASS, infobuffersize: u32, infobuffer: *const ::core::ffi::c_void, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SaferiIsExecutableFileType(szfullpathname: ::windows_sys::core::PCWSTR, bfromshellexecute: super::super::Foundation::BOOLEAN) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs index cde45763f7..06f8284f95 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs @@ -5,548 +5,1178 @@ extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn AcceptSecurityContext(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, pinput: *const SecBufferDesc, fcontextreq: ASC_REQ_FLAGS, targetdatarep: u32, phnewcontext: *mut super::super::Credentials::SecHandle, poutput: *mut SecBufferDesc, pfcontextattr: *mut u32, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn AcquireCredentialsHandleA(pszprincipal: ::windows_sys::core::PCSTR, pszpackage: ::windows_sys::core::PCSTR, fcredentialuse: SECPKG_CRED, pvlogonid: *const ::core::ffi::c_void, pauthdata: *const ::core::ffi::c_void, pgetkeyfn: SEC_GET_KEY_FN, pvgetkeyargument: *const ::core::ffi::c_void, phcredential: *mut super::super::Credentials::SecHandle, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn AcquireCredentialsHandleW(pszprincipal: ::windows_sys::core::PCWSTR, pszpackage: ::windows_sys::core::PCWSTR, fcredentialuse: SECPKG_CRED, pvlogonid: *const ::core::ffi::c_void, pauthdata: *const ::core::ffi::c_void, pgetkeyfn: SEC_GET_KEY_FN, pvgetkeyargument: *const ::core::ffi::c_void, phcredential: *mut super::super::Credentials::SecHandle, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn AddCredentialsA(hcredentials: *const super::super::Credentials::SecHandle, pszprincipal: ::windows_sys::core::PCSTR, pszpackage: ::windows_sys::core::PCSTR, fcredentialuse: u32, pauthdata: *const ::core::ffi::c_void, pgetkeyfn: SEC_GET_KEY_FN, pvgetkeyargument: *const ::core::ffi::c_void, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn AddCredentialsW(hcredentials: *const super::super::Credentials::SecHandle, pszprincipal: ::windows_sys::core::PCWSTR, pszpackage: ::windows_sys::core::PCWSTR, fcredentialuse: u32, pauthdata: *const ::core::ffi::c_void, pgetkeyfn: SEC_GET_KEY_FN, pvgetkeyargument: *const ::core::ffi::c_void, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn AddSecurityPackageA(pszpackagename: ::windows_sys::core::PCSTR, poptions: *const SECURITY_PACKAGE_OPTIONS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn AddSecurityPackageW(pszpackagename: ::windows_sys::core::PCWSTR, poptions: *const SECURITY_PACKAGE_OPTIONS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn ApplyControlToken(phcontext: *const super::super::Credentials::SecHandle, pinput: *const SecBufferDesc) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuditComputeEffectivePolicyBySid(psid: super::super::super::Foundation::PSID, psubcategoryguids: *const ::windows_sys::core::GUID, dwpolicycount: u32, ppauditpolicy: *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuditComputeEffectivePolicyByToken(htokenhandle: super::super::super::Foundation::HANDLE, psubcategoryguids: *const ::windows_sys::core::GUID, dwpolicycount: u32, ppauditpolicy: *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuditEnumerateCategories(ppauditcategoriesarray: *mut *mut ::windows_sys::core::GUID, pdwcountreturned: *mut u32) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuditEnumeratePerUserPolicy(ppauditsidarray: *mut *mut POLICY_AUDIT_SID_ARRAY) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuditEnumerateSubCategories(pauditcategoryguid: *const ::windows_sys::core::GUID, bretrieveallsubcategories: super::super::super::Foundation::BOOLEAN, ppauditsubcategoriesarray: *mut *mut ::windows_sys::core::GUID, pdwcountreturned: *mut u32) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn AuditFree(buffer: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuditLookupCategoryGuidFromCategoryId(auditcategoryid: POLICY_AUDIT_EVENT_TYPE, pauditcategoryguid: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuditLookupCategoryIdFromCategoryGuid(pauditcategoryguid: *const ::windows_sys::core::GUID, pauditcategoryid: *mut POLICY_AUDIT_EVENT_TYPE) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuditLookupCategoryNameA(pauditcategoryguid: *const ::windows_sys::core::GUID, ppszcategoryname: *mut ::windows_sys::core::PSTR) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuditLookupCategoryNameW(pauditcategoryguid: *const ::windows_sys::core::GUID, ppszcategoryname: *mut ::windows_sys::core::PWSTR) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuditLookupSubCategoryNameA(pauditsubcategoryguid: *const ::windows_sys::core::GUID, ppszsubcategoryname: *mut ::windows_sys::core::PSTR) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuditLookupSubCategoryNameW(pauditsubcategoryguid: *const ::windows_sys::core::GUID, ppszsubcategoryname: *mut ::windows_sys::core::PWSTR) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuditQueryGlobalSaclA(objecttypename: ::windows_sys::core::PCSTR, acl: *mut *mut super::super::ACL) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuditQueryGlobalSaclW(objecttypename: ::windows_sys::core::PCWSTR, acl: *mut *mut super::super::ACL) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuditQueryPerUserPolicy(psid: super::super::super::Foundation::PSID, psubcategoryguids: *const ::windows_sys::core::GUID, dwpolicycount: u32, ppauditpolicy: *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuditQuerySecurity(securityinformation: u32, ppsecuritydescriptor: *mut super::super::PSECURITY_DESCRIPTOR) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuditQuerySystemPolicy(psubcategoryguids: *const ::windows_sys::core::GUID, dwpolicycount: u32, ppauditpolicy: *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuditSetGlobalSaclA(objecttypename: ::windows_sys::core::PCSTR, acl: *const super::super::ACL) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuditSetGlobalSaclW(objecttypename: ::windows_sys::core::PCWSTR, acl: *const super::super::ACL) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuditSetPerUserPolicy(psid: super::super::super::Foundation::PSID, pauditpolicy: *const AUDIT_POLICY_INFORMATION, dwpolicycount: u32) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuditSetSecurity(securityinformation: u32, psecuritydescriptor: super::super::PSECURITY_DESCRIPTOR) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuditSetSystemPolicy(pauditpolicy: *const AUDIT_POLICY_INFORMATION, dwpolicycount: u32) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ChangeAccountPasswordA(pszpackagename: *const i8, pszdomainname: *const i8, pszaccountname: *const i8, pszoldpassword: *const i8, psznewpassword: *const i8, bimpersonating: super::super::super::Foundation::BOOLEAN, dwreserved: u32, poutput: *mut SecBufferDesc) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ChangeAccountPasswordW(pszpackagename: *const u16, pszdomainname: *const u16, pszaccountname: *const u16, pszoldpassword: *const u16, psznewpassword: *const u16, bimpersonating: super::super::super::Foundation::BOOLEAN, dwreserved: u32, poutput: *mut SecBufferDesc) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn CompleteAuthToken(phcontext: *const super::super::Credentials::SecHandle, ptoken: *const SecBufferDesc) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] pub fn CredMarshalTargetInfo(intargetinfo: *const super::super::Credentials::CREDENTIAL_TARGET_INFORMATIONW, buffer: *mut *mut u16, buffersize: *mut u32) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] pub fn CredUnmarshalTargetInfo(buffer: *const u16, buffersize: u32, rettargetinfo: *mut *mut super::super::Credentials::CREDENTIAL_TARGET_INFORMATIONW, retactualsize: *mut u32) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn DecryptMessage(phcontext: *const super::super::Credentials::SecHandle, pmessage: *const SecBufferDesc, messageseqno: u32, pfqop: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn DeleteSecurityContext(phcontext: *const super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn DeleteSecurityPackageA(pszpackagename: ::windows_sys::core::PCSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn DeleteSecurityPackageW(pszpackagename: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn EncryptMessage(phcontext: *const super::super::Credentials::SecHandle, fqop: u32, pmessage: *const SecBufferDesc, messageseqno: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn EnumerateSecurityPackagesA(pcpackages: *mut u32, pppackageinfo: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn EnumerateSecurityPackagesW(pcpackages: *mut u32, pppackageinfo: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn ExportSecurityContext(phcontext: *const super::super::Credentials::SecHandle, fflags: EXPORT_SECURITY_CONTEXT_FLAGS, ppackedcontext: *mut SecBuffer, ptoken: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn FreeContextBuffer(pvcontextbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn FreeCredentialsHandle(phcredential: *const super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetComputerObjectNameA(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows_sys::core::PSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetComputerObjectNameW(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows_sys::core::PWSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUserNameExA(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows_sys::core::PSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUserNameExW(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows_sys::core::PWSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn ImpersonateSecurityContext(phcontext: *const super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn ImportSecurityContextA(pszpackage: ::windows_sys::core::PCSTR, ppackedcontext: *const SecBuffer, token: *const ::core::ffi::c_void, phcontext: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn ImportSecurityContextW(pszpackage: ::windows_sys::core::PCWSTR, ppackedcontext: *const SecBuffer, token: *const ::core::ffi::c_void, phcontext: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] pub fn InitSecurityInterfaceA() -> *mut SecurityFunctionTableA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] pub fn InitSecurityInterfaceW() -> *mut SecurityFunctionTableW; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn InitializeSecurityContextA(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, psztargetname: *const i8, fcontextreq: ISC_REQ_FLAGS, reserved1: u32, targetdatarep: u32, pinput: *const SecBufferDesc, reserved2: u32, phnewcontext: *mut super::super::Credentials::SecHandle, poutput: *mut SecBufferDesc, pfcontextattr: *mut u32, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn InitializeSecurityContextW(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, psztargetname: *const u16, fcontextreq: ISC_REQ_FLAGS, reserved1: u32, targetdatarep: u32, pinput: *const SecBufferDesc, reserved2: u32, phnewcontext: *mut super::super::Credentials::SecHandle, poutput: *mut SecBufferDesc, pfcontextattr: *mut u32, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaAddAccountRights(policyhandle: *const ::core::ffi::c_void, accountsid: super::super::super::Foundation::PSID, userrights: *const super::super::super::Foundation::UNICODE_STRING, countofrights: u32) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaCallAuthenticationPackage(lsahandle: super::super::super::Foundation::HANDLE, authenticationpackage: u32, protocolsubmitbuffer: *const ::core::ffi::c_void, submitbufferlength: u32, protocolreturnbuffer: *mut *mut ::core::ffi::c_void, returnbufferlength: *mut u32, protocolstatus: *mut i32) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaClose(objecthandle: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaConnectUntrusted(lsahandle: *mut super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaCreateTrustedDomainEx(policyhandle: *const ::core::ffi::c_void, trusteddomaininformation: *const TRUSTED_DOMAIN_INFORMATION_EX, authenticationinformation: *const TRUSTED_DOMAIN_AUTH_INFORMATION, desiredaccess: u32, trusteddomainhandle: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaDeleteTrustedDomain(policyhandle: *const ::core::ffi::c_void, trusteddomainsid: super::super::super::Foundation::PSID) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaDeregisterLogonProcess(lsahandle: LsaHandle) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaEnumerateAccountRights(policyhandle: *const ::core::ffi::c_void, accountsid: super::super::super::Foundation::PSID, userrights: *mut *mut super::super::super::Foundation::UNICODE_STRING, countofrights: *mut u32) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaEnumerateAccountsWithUserRight(policyhandle: *const ::core::ffi::c_void, userright: *const super::super::super::Foundation::UNICODE_STRING, buffer: *mut *mut ::core::ffi::c_void, countreturned: *mut u32) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaEnumerateLogonSessions(logonsessioncount: *mut u32, logonsessionlist: *mut *mut super::super::super::Foundation::LUID) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaEnumerateTrustedDomains(policyhandle: *const ::core::ffi::c_void, enumerationcontext: *mut u32, buffer: *mut *mut ::core::ffi::c_void, preferedmaximumlength: u32, countreturned: *mut u32) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaEnumerateTrustedDomainsEx(policyhandle: *const ::core::ffi::c_void, enumerationcontext: *mut u32, buffer: *mut *mut ::core::ffi::c_void, preferedmaximumlength: u32, countreturned: *mut u32) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaFreeMemory(buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaFreeReturnBuffer(buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaGetAppliedCAPIDs(systemname: *const super::super::super::Foundation::UNICODE_STRING, capids: *mut *mut super::super::super::Foundation::PSID, capidcount: *mut u32) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaGetLogonSessionData(logonid: *const super::super::super::Foundation::LUID, pplogonsessiondata: *mut *mut SECURITY_LOGON_SESSION_DATA) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn LsaLogonUser(lsahandle: super::super::super::Foundation::HANDLE, originname: *const super::super::super::System::Kernel::STRING, logontype: SECURITY_LOGON_TYPE, authenticationpackage: u32, authenticationinformation: *const ::core::ffi::c_void, authenticationinformationlength: u32, localgroups: *const super::super::TOKEN_GROUPS, sourcecontext: *const super::super::TOKEN_SOURCE, profilebuffer: *mut *mut ::core::ffi::c_void, profilebufferlength: *mut u32, logonid: *mut super::super::super::Foundation::LUID, token: *mut super::super::super::Foundation::HANDLE, quotas: *mut super::super::QUOTA_LIMITS, substatus: *mut i32) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn LsaLookupAuthenticationPackage(lsahandle: super::super::super::Foundation::HANDLE, packagename: *const super::super::super::System::Kernel::STRING, authenticationpackage: *mut u32) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaLookupNames(policyhandle: *const ::core::ffi::c_void, count: u32, names: *const super::super::super::Foundation::UNICODE_STRING, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, sids: *mut *mut LSA_TRANSLATED_SID) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaLookupNames2(policyhandle: *const ::core::ffi::c_void, flags: u32, count: u32, names: *const super::super::super::Foundation::UNICODE_STRING, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, sids: *mut *mut LSA_TRANSLATED_SID2) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaLookupSids(policyhandle: *const ::core::ffi::c_void, count: u32, sids: *const super::super::super::Foundation::PSID, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, names: *mut *mut LSA_TRANSLATED_NAME) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaLookupSids2(policyhandle: *const ::core::ffi::c_void, lookupoptions: u32, count: u32, sids: *const super::super::super::Foundation::PSID, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, names: *mut *mut LSA_TRANSLATED_NAME) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaNtStatusToWinError(status: super::super::super::Foundation::NTSTATUS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] pub fn LsaOpenPolicy(systemname: *const super::super::super::Foundation::UNICODE_STRING, objectattributes: *const super::super::super::System::WindowsProgramming::OBJECT_ATTRIBUTES, desiredaccess: u32, policyhandle: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaOpenTrustedDomainByName(policyhandle: *const ::core::ffi::c_void, trusteddomainname: *const super::super::super::Foundation::UNICODE_STRING, desiredaccess: u32, trusteddomainhandle: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaQueryCAPs(capids: *const super::super::super::Foundation::PSID, capidcount: u32, caps: *mut *mut CENTRAL_ACCESS_POLICY, capcount: *mut u32) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaQueryDomainInformationPolicy(policyhandle: *const ::core::ffi::c_void, informationclass: POLICY_DOMAIN_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaQueryForestTrustInformation(policyhandle: *const ::core::ffi::c_void, trusteddomainname: *const super::super::super::Foundation::UNICODE_STRING, foresttrustinfo: *mut *mut LSA_FOREST_TRUST_INFORMATION) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaQueryInformationPolicy(policyhandle: *const ::core::ffi::c_void, informationclass: POLICY_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaQueryTrustedDomainInfo(policyhandle: *const ::core::ffi::c_void, trusteddomainsid: super::super::super::Foundation::PSID, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaQueryTrustedDomainInfoByName(policyhandle: *const ::core::ffi::c_void, trusteddomainname: *const super::super::super::Foundation::UNICODE_STRING, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn LsaRegisterLogonProcess(logonprocessname: *const super::super::super::System::Kernel::STRING, lsahandle: *mut LsaHandle, securitymode: *mut u32) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaRegisterPolicyChangeNotification(informationclass: POLICY_NOTIFICATION_INFORMATION_CLASS, notificationeventhandle: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaRemoveAccountRights(policyhandle: *const ::core::ffi::c_void, accountsid: super::super::super::Foundation::PSID, allrights: super::super::super::Foundation::BOOLEAN, userrights: *const super::super::super::Foundation::UNICODE_STRING, countofrights: u32) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaRetrievePrivateData(policyhandle: *const ::core::ffi::c_void, keyname: *const super::super::super::Foundation::UNICODE_STRING, privatedata: *mut *mut super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaSetCAPs(capdns: *const super::super::super::Foundation::UNICODE_STRING, capdncount: u32, flags: u32) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaSetDomainInformationPolicy(policyhandle: *const ::core::ffi::c_void, informationclass: POLICY_DOMAIN_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaSetForestTrustInformation(policyhandle: *const ::core::ffi::c_void, trusteddomainname: *const super::super::super::Foundation::UNICODE_STRING, foresttrustinfo: *const LSA_FOREST_TRUST_INFORMATION, checkonly: super::super::super::Foundation::BOOLEAN, collisioninfo: *mut *mut LSA_FOREST_TRUST_COLLISION_INFORMATION) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaSetInformationPolicy(policyhandle: *const ::core::ffi::c_void, informationclass: POLICY_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaSetTrustedDomainInfoByName(policyhandle: *const ::core::ffi::c_void, trusteddomainname: *const super::super::super::Foundation::UNICODE_STRING, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaSetTrustedDomainInformation(policyhandle: *const ::core::ffi::c_void, trusteddomainsid: super::super::super::Foundation::PSID, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaStorePrivateData(policyhandle: *const ::core::ffi::c_void, keyname: *const super::super::super::Foundation::UNICODE_STRING, privatedata: *const super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsaUnregisterPolicyChangeNotification(informationclass: POLICY_NOTIFICATION_INFORMATION_CLASS, notificationeventhandle: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn MakeSignature(phcontext: *const super::super::Credentials::SecHandle, fqop: u32, pmessage: *const SecBufferDesc, messageseqno: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn QueryContextAttributesA(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn QueryContextAttributesExA(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn QueryContextAttributesExW(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn QueryContextAttributesW(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn QueryCredentialsAttributesA(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn QueryCredentialsAttributesExA(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn QueryCredentialsAttributesExW(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn QueryCredentialsAttributesW(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn QuerySecurityContextToken(phcontext: *const super::super::Credentials::SecHandle, token: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn QuerySecurityPackageInfoA(pszpackagename: ::windows_sys::core::PCSTR, pppackageinfo: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn QuerySecurityPackageInfoW(pszpackagename: ::windows_sys::core::PCWSTR, pppackageinfo: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn RevertSecurityContext(phcontext: *const super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLAcquireGenuineTicket(ppticketblob: *mut *mut ::core::ffi::c_void, pcbticketblob: *mut u32, pwsztemplateid: ::windows_sys::core::PCWSTR, pwszserverurl: ::windows_sys::core::PCWSTR, pwszclienttoken: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLActivateProduct(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, cbappspecificdata: u32, pvappspecificdata: *const ::core::ffi::c_void, pactivationinfo: *const SL_ACTIVATION_INFO_HEADER, pwszproxyserver: ::windows_sys::core::PCWSTR, wproxyport: u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLClose(hslc: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLConsumeRight(hslc: *const ::core::ffi::c_void, pappid: *const ::windows_sys::core::GUID, pproductskuid: *const ::windows_sys::core::GUID, pwszrightname: ::windows_sys::core::PCWSTR, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLDepositOfflineConfirmationId(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pwszinstallationid: ::windows_sys::core::PCWSTR, pwszconfirmationid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLDepositOfflineConfirmationIdEx(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pactivationinfo: *const SL_ACTIVATION_INFO_HEADER, pwszinstallationid: ::windows_sys::core::PCWSTR, pwszconfirmationid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLFireEvent(hslc: *const ::core::ffi::c_void, pwszeventid: ::windows_sys::core::PCWSTR, papplicationid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLGenerateOfflineInstallationId(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, ppwszinstallationid: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLGenerateOfflineInstallationIdEx(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pactivationinfo: *const SL_ACTIVATION_INFO_HEADER, ppwszinstallationid: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLGetApplicationInformation(hslc: *const ::core::ffi::c_void, papplicationid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLGetGenuineInformation(pqueryid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLGetInstalledProductKeyIds(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pnproductkeyids: *mut u32, ppproductkeyids: *mut *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLGetLicense(hslc: *const ::core::ffi::c_void, plicensefileid: *const ::windows_sys::core::GUID, pcblicensefile: *mut u32, ppblicensefile: *mut *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLGetLicenseFileId(hslc: *const ::core::ffi::c_void, cblicenseblob: u32, pblicenseblob: *const u8, plicensefileid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLGetLicenseInformation(hslc: *const ::core::ffi::c_void, psllicenseid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLGetLicensingStatusInformation(hslc: *const ::core::ffi::c_void, pappid: *const ::windows_sys::core::GUID, pproductskuid: *const ::windows_sys::core::GUID, pwszrightname: ::windows_sys::core::PCWSTR, pnstatuscount: *mut u32, pplicensingstatus: *mut *mut SL_LICENSING_STATUS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLGetPKeyId(hslc: *const ::core::ffi::c_void, pwszpkeyalgorithm: ::windows_sys::core::PCWSTR, pwszpkeystring: ::windows_sys::core::PCWSTR, cbpkeyspecificdata: u32, pbpkeyspecificdata: *const u8, ppkeyid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLGetPKeyInformation(hslc: *const ::core::ffi::c_void, ppkeyid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLGetPolicyInformation(hslc: *const ::core::ffi::c_void, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLGetPolicyInformationDWORD(hslc: *const ::core::ffi::c_void, pwszvaluename: ::windows_sys::core::PCWSTR, pdwvalue: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLGetProductSkuInformation(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLGetReferralInformation(hslc: *const ::core::ffi::c_void, ereferraltype: SLREFERRALTYPE, pskuorappid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, ppwszvalue: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLGetSLIDList(hslc: *const ::core::ffi::c_void, equeryidtype: SLIDTYPE, pqueryid: *const ::windows_sys::core::GUID, ereturnidtype: SLIDTYPE, pnreturnids: *mut u32, ppreturnids: *mut *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLGetServerStatus(pwszserverurl: ::windows_sys::core::PCWSTR, pwszacquisitiontype: ::windows_sys::core::PCWSTR, pwszproxyserver: ::windows_sys::core::PCWSTR, wproxyport: u16, phrstatus: *mut ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLGetServiceInformation(hslc: *const ::core::ffi::c_void, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLGetWindowsInformation(pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLGetWindowsInformationDWORD(pwszvaluename: ::windows_sys::core::PCWSTR, pdwvalue: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLInstallLicense(hslc: *const ::core::ffi::c_void, cblicenseblob: u32, pblicenseblob: *const u8, plicensefileid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLInstallProofOfPurchase(hslc: *const ::core::ffi::c_void, pwszpkeyalgorithm: ::windows_sys::core::PCWSTR, pwszpkeystring: ::windows_sys::core::PCWSTR, cbpkeyspecificdata: u32, pbpkeyspecificdata: *const u8, ppkeyid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLIsGenuineLocal(pappid: *const ::windows_sys::core::GUID, pgenuinestate: *mut SL_GENUINE_STATE, puioptions: *mut SL_NONGENUINE_UI_OPTIONS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLOpen(phslc: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLQueryLicenseValueFromApp(valuename: ::windows_sys::core::PCWSTR, valuetype: *mut u32, databuffer: *mut ::core::ffi::c_void, datasize: u32, resultdatasize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SLRegisterEvent(hslc: *const ::core::ffi::c_void, pwszeventid: ::windows_sys::core::PCWSTR, papplicationid: *const ::windows_sys::core::GUID, hevent: super::super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLSetCurrentProductKey(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pproductkeyid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLSetGenuineInformation(pqueryid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, edatatype: SLDATATYPE, cbvalue: u32, pbvalue: *const u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLUninstallLicense(hslc: *const ::core::ffi::c_void, plicensefileid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SLUninstallProofOfPurchase(hslc: *const ::core::ffi::c_void, ppkeyid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SLUnregisterEvent(hslc: *const ::core::ffi::c_void, pwszeventid: ::windows_sys::core::PCWSTR, papplicationid: *const ::windows_sys::core::GUID, hevent: super::super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn SaslAcceptSecurityContext(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, pinput: *const SecBufferDesc, fcontextreq: ASC_REQ_FLAGS, targetdatarep: u32, phnewcontext: *mut super::super::Credentials::SecHandle, poutput: *mut SecBufferDesc, pfcontextattr: *mut u32, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SaslEnumerateProfilesA(profilelist: *mut ::windows_sys::core::PSTR, profilecount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SaslEnumerateProfilesW(profilelist: *mut ::windows_sys::core::PWSTR, profilecount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn SaslGetContextOption(contexthandle: *const super::super::Credentials::SecHandle, option: u32, value: *mut ::core::ffi::c_void, size: u32, needed: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SaslGetProfilePackageA(profilename: ::windows_sys::core::PCSTR, packageinfo: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SaslGetProfilePackageW(profilename: ::windows_sys::core::PCWSTR, packageinfo: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SaslIdentifyPackageA(pinput: *const SecBufferDesc, packageinfo: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SaslIdentifyPackageW(pinput: *const SecBufferDesc, packageinfo: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn SaslInitializeSecurityContextA(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, psztargetname: ::windows_sys::core::PCSTR, fcontextreq: ISC_REQ_FLAGS, reserved1: u32, targetdatarep: u32, pinput: *const SecBufferDesc, reserved2: u32, phnewcontext: *mut super::super::Credentials::SecHandle, poutput: *mut SecBufferDesc, pfcontextattr: *mut u32, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn SaslInitializeSecurityContextW(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, psztargetname: ::windows_sys::core::PCWSTR, fcontextreq: ISC_REQ_FLAGS, reserved1: u32, targetdatarep: u32, pinput: *const SecBufferDesc, reserved2: u32, phnewcontext: *mut super::super::Credentials::SecHandle, poutput: *mut SecBufferDesc, pfcontextattr: *mut u32, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn SaslSetContextOption(contexthandle: *const super::super::Credentials::SecHandle, option: u32, value: *const ::core::ffi::c_void, size: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn SetContextAttributesA(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn SetContextAttributesW(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn SetCredentialsAttributesA(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn SetCredentialsAttributesW(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SslCrackCertificate(pbcertificate: *mut u8, cbcertificate: u32, dwflags: u32, ppcertificate: *mut *mut X509Certificate) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SslEmptyCacheA(psztargetname: ::windows_sys::core::PCSTR, dwflags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SslEmptyCacheW(psztargetname: ::windows_sys::core::PCWSTR, dwflags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SslFreeCertificate(pcertificate: *mut X509Certificate); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SslGenerateRandomBits(prandomdata: *mut u8, crandomdata: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SslGetExtensions(clienthello: *const u8, clienthellobytesize: u32, genericextensions: *mut SCH_EXTENSION_DATA, genericextensionscount: u8, bytestoread: *mut u32, flags: SchGetExtensionsOptions) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SslGetMaximumKeySize(reserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SslGetServerIdentity(clienthello: *const u8, clienthellosize: u32, serveridentity: *mut *mut u8, serveridentitysize: *mut u32, flags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SspiCompareAuthIdentities(authidentity1: *const ::core::ffi::c_void, authidentity2: *const ::core::ffi::c_void, samesupplieduser: *mut super::super::super::Foundation::BOOLEAN, samesuppliedidentity: *mut super::super::super::Foundation::BOOLEAN) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SspiCopyAuthIdentity(authdata: *const ::core::ffi::c_void, authdatacopy: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SspiDecryptAuthIdentity(encryptedauthdata: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SspiDecryptAuthIdentityEx(options: u32, encryptedauthdata: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SspiEncodeAuthIdentityAsStrings(pauthidentity: *const ::core::ffi::c_void, ppszusername: *mut ::windows_sys::core::PWSTR, ppszdomainname: *mut ::windows_sys::core::PWSTR, ppszpackedcredentialsstring: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SspiEncodeStringsAsAuthIdentity(pszusername: ::windows_sys::core::PCWSTR, pszdomainname: ::windows_sys::core::PCWSTR, pszpackedcredentialsstring: ::windows_sys::core::PCWSTR, ppauthidentity: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SspiEncryptAuthIdentity(authdata: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SspiEncryptAuthIdentityEx(options: u32, authdata: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SspiExcludePackage(authidentity: *const ::core::ffi::c_void, pszpackagename: ::windows_sys::core::PCWSTR, ppnewauthidentity: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SspiFreeAuthIdentity(authdata: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SspiGetTargetHostName(psztargetname: ::windows_sys::core::PCWSTR, pszhostname: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SspiIsAuthIdentityEncrypted(encryptedauthdata: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SspiIsPromptingNeeded(errororntstatus: u32) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SspiLocalFree(databuffer: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SspiMarshalAuthIdentity(authidentity: *const ::core::ffi::c_void, authidentitylength: *mut u32, authidentitybytearray: *mut *mut i8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SspiPrepareForCredRead(authidentity: *const ::core::ffi::c_void, psztargetname: ::windows_sys::core::PCWSTR, pcredmancredentialtype: *mut u32, ppszcredmantargetname: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SspiPrepareForCredWrite(authidentity: *const ::core::ffi::c_void, psztargetname: ::windows_sys::core::PCWSTR, pcredmancredentialtype: *mut u32, ppszcredmantargetname: *mut ::windows_sys::core::PWSTR, ppszcredmanusername: *mut ::windows_sys::core::PWSTR, ppcredentialblob: *mut *mut u8, pcredentialblobsize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SspiPromptForCredentialsA(psztargetname: ::windows_sys::core::PCSTR, puiinfo: *const ::core::ffi::c_void, dwautherror: u32, pszpackage: ::windows_sys::core::PCSTR, pinputauthidentity: *const ::core::ffi::c_void, ppauthidentity: *mut *mut ::core::ffi::c_void, pfsave: *mut i32, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SspiPromptForCredentialsW(psztargetname: ::windows_sys::core::PCWSTR, puiinfo: *const ::core::ffi::c_void, dwautherror: u32, pszpackage: ::windows_sys::core::PCWSTR, pinputauthidentity: *const ::core::ffi::c_void, ppauthidentity: *mut *mut ::core::ffi::c_void, pfsave: *mut i32, dwflags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SspiUnmarshalAuthIdentity(authidentitylength: u32, authidentitybytearray: ::windows_sys::core::PCSTR, ppauthidentity: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SspiValidateAuthIdentity(authdata: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn SspiZeroAuthIdentity(authdata: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SystemFunction036(randombuffer: *mut ::core::ffi::c_void, randombufferlength: u32) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SystemFunction040(memory: *mut ::core::ffi::c_void, memorysize: u32, optionflags: u32) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SystemFunction041(memory: *mut ::core::ffi::c_void, memorysize: u32, optionflags: u32) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn TokenBindingDeleteAllBindings() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn TokenBindingDeleteBinding(targeturl: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn TokenBindingGenerateBinding(keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, targeturl: ::windows_sys::core::PCWSTR, bindingtype: TOKENBINDING_TYPE, tlsekm: *const ::core::ffi::c_void, tlsekmsize: u32, extensionformat: TOKENBINDING_EXTENSION_FORMAT, extensiondata: *const ::core::ffi::c_void, tokenbinding: *mut *mut ::core::ffi::c_void, tokenbindingsize: *mut u32, resultdata: *mut *mut TOKENBINDING_RESULT_DATA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn TokenBindingGenerateID(keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, publickey: *const ::core::ffi::c_void, publickeysize: u32, resultdata: *mut *mut TOKENBINDING_RESULT_DATA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn TokenBindingGenerateIDForUri(keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, targeturi: ::windows_sys::core::PCWSTR, resultdata: *mut *mut TOKENBINDING_RESULT_DATA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn TokenBindingGenerateMessage(tokenbindings: *const *const ::core::ffi::c_void, tokenbindingssize: *const u32, tokenbindingscount: u32, tokenbindingmessage: *mut *mut ::core::ffi::c_void, tokenbindingmessagesize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn TokenBindingGetHighestSupportedVersion(majorversion: *mut u8, minorversion: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn TokenBindingGetKeyTypesClient(keytypes: *mut *mut TOKENBINDING_KEY_TYPES) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn TokenBindingGetKeyTypesServer(keytypes: *mut *mut TOKENBINDING_KEY_TYPES) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub fn TokenBindingVerifyMessage(tokenbindingmessage: *const ::core::ffi::c_void, tokenbindingmessagesize: u32, keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, tlsekm: *const ::core::ffi::c_void, tlsekmsize: u32, resultlist: *mut *mut TOKENBINDING_RESULT_LIST) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TranslateNameA(lpaccountname: ::windows_sys::core::PCSTR, accountnameformat: EXTENDED_NAME_FORMAT, desirednameformat: EXTENDED_NAME_FORMAT, lptranslatedname: ::windows_sys::core::PSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TranslateNameW(lpaccountname: ::windows_sys::core::PCWSTR, accountnameformat: EXTENDED_NAME_FORMAT, desirednameformat: EXTENDED_NAME_FORMAT, lptranslatedname: ::windows_sys::core::PWSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub fn VerifySignature(phcontext: *const super::super::Credentials::SecHandle, pmessage: *const SecBufferDesc, messageseqno: u32, pfqop: *mut u32) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Security/Authorization/UI/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/Authorization/UI/mod.rs index 3e83dbbdff..d2e06983ad 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/Authorization/UI/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/Authorization/UI/mod.rs @@ -3,9 +3,15 @@ extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_UI_Controls\"`*"] #[cfg(feature = "Win32_UI_Controls")] pub fn CreateSecurityPage(psi: ISecurityInformation) -> super::super::super::UI::Controls::HPROPSHEETPAGE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EditSecurity(hwndowner: super::super::super::Foundation::HWND, psi: ISecurityInformation) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EditSecurityAdvanced(hwndowner: super::super::super::Foundation::HWND, psi: ISecurityInformation, usipage: SI_PAGE_TYPE) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Security/Authorization/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/Authorization/mod.rs index a266103ee5..b9364f0881 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/Authorization/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/Authorization/mod.rs @@ -5,237 +5,504 @@ extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzAccessCheck(flags: AUTHZ_ACCESS_CHECK_FLAGS, hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, prequest: *const AUTHZ_ACCESS_REQUEST, hauditevent: AUTHZ_AUDIT_EVENT_HANDLE, psecuritydescriptor: super::PSECURITY_DESCRIPTOR, optionalsecuritydescriptorarray: *const super::PSECURITY_DESCRIPTOR, optionalsecuritydescriptorcount: u32, preply: *mut AUTHZ_ACCESS_REPLY, phaccesscheckresults: *mut isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzAddSidsToContext(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, sids: *const super::SID_AND_ATTRIBUTES, sidcount: u32, restrictedsids: *const super::SID_AND_ATTRIBUTES, restrictedsidcount: u32, phnewauthzclientcontext: *mut AUTHZ_CLIENT_CONTEXT_HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzCachedAccessCheck(flags: u32, haccesscheckresults: AUTHZ_ACCESS_CHECK_RESULTS_HANDLE, prequest: *const AUTHZ_ACCESS_REQUEST, hauditevent: AUTHZ_AUDIT_EVENT_HANDLE, preply: *mut AUTHZ_ACCESS_REPLY) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzEnumerateSecurityEventSources(dwflags: u32, buffer: *mut AUTHZ_SOURCE_SCHEMA_REGISTRATION, pdwcount: *mut u32, pdwlength: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzEvaluateSacl(authzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, prequest: *const AUTHZ_ACCESS_REQUEST, sacl: *const super::ACL, grantedaccess: u32, accessgranted: super::super::Foundation::BOOL, pbgenerateaudit: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzFreeAuditEvent(hauditevent: AUTHZ_AUDIT_EVENT_HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzFreeCentralAccessPolicyCache() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzFreeContext(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzFreeHandle(haccesscheckresults: AUTHZ_ACCESS_CHECK_RESULTS_HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzFreeResourceManager(hauthzresourcemanager: AUTHZ_RESOURCE_MANAGER_HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzGetInformationFromContext(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, infoclass: AUTHZ_CONTEXT_INFORMATION_CLASS, buffersize: u32, psizerequired: *mut u32, buffer: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzInitializeCompoundContext(usercontext: AUTHZ_CLIENT_CONTEXT_HANDLE, devicecontext: AUTHZ_CLIENT_CONTEXT_HANDLE, phcompoundcontext: *mut AUTHZ_CLIENT_CONTEXT_HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzInitializeContextFromAuthzContext(flags: u32, hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, pexpirationtime: *const i64, identifier: super::super::Foundation::LUID, dynamicgroupargs: *const ::core::ffi::c_void, phnewauthzclientcontext: *mut AUTHZ_CLIENT_CONTEXT_HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzInitializeContextFromSid(flags: u32, usersid: super::super::Foundation::PSID, hauthzresourcemanager: AUTHZ_RESOURCE_MANAGER_HANDLE, pexpirationtime: *const i64, identifier: super::super::Foundation::LUID, dynamicgroupargs: *const ::core::ffi::c_void, phauthzclientcontext: *mut AUTHZ_CLIENT_CONTEXT_HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzInitializeContextFromToken(flags: u32, tokenhandle: super::super::Foundation::HANDLE, hauthzresourcemanager: AUTHZ_RESOURCE_MANAGER_HANDLE, pexpirationtime: *const i64, identifier: super::super::Foundation::LUID, dynamicgroupargs: *const ::core::ffi::c_void, phauthzclientcontext: *mut AUTHZ_CLIENT_CONTEXT_HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzInitializeObjectAccessAuditEvent(flags: AUTHZ_INITIALIZE_OBJECT_ACCESS_AUDIT_EVENT_FLAGS, hauditeventtype: AUTHZ_AUDIT_EVENT_TYPE_HANDLE, szoperationtype: ::windows_sys::core::PCWSTR, szobjecttype: ::windows_sys::core::PCWSTR, szobjectname: ::windows_sys::core::PCWSTR, szadditionalinfo: ::windows_sys::core::PCWSTR, phauditevent: *mut isize, dwadditionalparametercount: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzInitializeObjectAccessAuditEvent2(flags: u32, hauditeventtype: AUTHZ_AUDIT_EVENT_TYPE_HANDLE, szoperationtype: ::windows_sys::core::PCWSTR, szobjecttype: ::windows_sys::core::PCWSTR, szobjectname: ::windows_sys::core::PCWSTR, szadditionalinfo: ::windows_sys::core::PCWSTR, szadditionalinfo2: ::windows_sys::core::PCWSTR, phauditevent: *mut isize, dwadditionalparametercount: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzInitializeRemoteResourceManager(prpcinitinfo: *const AUTHZ_RPC_INIT_INFO_CLIENT, phauthzresourcemanager: *mut AUTHZ_RESOURCE_MANAGER_HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzInitializeResourceManager(flags: u32, pfndynamicaccesscheck: PFN_AUTHZ_DYNAMIC_ACCESS_CHECK, pfncomputedynamicgroups: PFN_AUTHZ_COMPUTE_DYNAMIC_GROUPS, pfnfreedynamicgroups: PFN_AUTHZ_FREE_DYNAMIC_GROUPS, szresourcemanagername: ::windows_sys::core::PCWSTR, phauthzresourcemanager: *mut AUTHZ_RESOURCE_MANAGER_HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzInitializeResourceManagerEx(flags: AUTHZ_RESOURCE_MANAGER_FLAGS, pauthzinitinfo: *const AUTHZ_INIT_INFO, phauthzresourcemanager: *mut AUTHZ_RESOURCE_MANAGER_HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzInstallSecurityEventSource(dwflags: u32, pregistration: *const AUTHZ_SOURCE_SCHEMA_REGISTRATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzModifyClaims(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, claimclass: AUTHZ_CONTEXT_INFORMATION_CLASS, pclaimoperations: *const AUTHZ_SECURITY_ATTRIBUTE_OPERATION, pclaims: *const AUTHZ_SECURITY_ATTRIBUTES_INFORMATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzModifySecurityAttributes(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, poperations: *const AUTHZ_SECURITY_ATTRIBUTE_OPERATION, pattributes: *const AUTHZ_SECURITY_ATTRIBUTES_INFORMATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzModifySids(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, sidclass: AUTHZ_CONTEXT_INFORMATION_CLASS, psidoperations: *const AUTHZ_SID_OPERATION, psids: *const super::TOKEN_GROUPS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzOpenObjectAudit(flags: u32, hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, prequest: *const AUTHZ_ACCESS_REQUEST, hauditevent: AUTHZ_AUDIT_EVENT_HANDLE, psecuritydescriptor: super::PSECURITY_DESCRIPTOR, optionalsecuritydescriptorarray: *const super::PSECURITY_DESCRIPTOR, optionalsecuritydescriptorcount: u32, preply: *const AUTHZ_ACCESS_REPLY) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] pub fn AuthzRegisterCapChangeNotification(phcapchangesubscription: *mut *mut AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE__, pfncapchangecallback: super::super::System::Threading::LPTHREAD_START_ROUTINE, pcallbackcontext: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzRegisterSecurityEventSource(dwflags: u32, szeventsourcename: ::windows_sys::core::PCWSTR, pheventprovider: *mut isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzReportSecurityEvent(dwflags: u32, heventprovider: AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE, dwauditid: u32, pusersid: super::super::Foundation::PSID, dwcount: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzReportSecurityEventFromParams(dwflags: u32, heventprovider: AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE, dwauditid: u32, pusersid: super::super::Foundation::PSID, pparams: *const AUDIT_PARAMS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzSetAppContainerInformation(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, pappcontainersid: super::super::Foundation::PSID, capabilitycount: u32, pcapabilitysids: *const super::SID_AND_ATTRIBUTES) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzUninstallSecurityEventSource(dwflags: u32, szeventsourcename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzUnregisterCapChangeNotification(hcapchangesubscription: *const AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE__) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AuthzUnregisterSecurityEventSource(dwflags: u32, pheventprovider: *mut isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn BuildExplicitAccessWithNameA(pexplicitaccess: *mut EXPLICIT_ACCESS_A, ptrusteename: ::windows_sys::core::PCSTR, accesspermissions: u32, accessmode: ACCESS_MODE, inheritance: super::ACE_FLAGS); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn BuildExplicitAccessWithNameW(pexplicitaccess: *mut EXPLICIT_ACCESS_W, ptrusteename: ::windows_sys::core::PCWSTR, accesspermissions: u32, accessmode: ACCESS_MODE, inheritance: super::ACE_FLAGS); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn BuildImpersonateExplicitAccessWithNameA(pexplicitaccess: *mut EXPLICIT_ACCESS_A, ptrusteename: ::windows_sys::core::PCSTR, ptrustee: *const TRUSTEE_A, accesspermissions: u32, accessmode: ACCESS_MODE, inheritance: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn BuildImpersonateExplicitAccessWithNameW(pexplicitaccess: *mut EXPLICIT_ACCESS_W, ptrusteename: ::windows_sys::core::PCWSTR, ptrustee: *const TRUSTEE_W, accesspermissions: u32, accessmode: ACCESS_MODE, inheritance: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn BuildImpersonateTrusteeA(ptrustee: *mut TRUSTEE_A, pimpersonatetrustee: *const TRUSTEE_A); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn BuildImpersonateTrusteeW(ptrustee: *mut TRUSTEE_W, pimpersonatetrustee: *const TRUSTEE_W); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn BuildSecurityDescriptorA(powner: *const TRUSTEE_A, pgroup: *const TRUSTEE_A, ccountofaccessentries: u32, plistofaccessentries: *const EXPLICIT_ACCESS_A, ccountofauditentries: u32, plistofauditentries: *const EXPLICIT_ACCESS_A, poldsd: super::PSECURITY_DESCRIPTOR, psizenewsd: *mut u32, pnewsd: *mut super::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn BuildSecurityDescriptorW(powner: *const TRUSTEE_W, pgroup: *const TRUSTEE_W, ccountofaccessentries: u32, plistofaccessentries: *const EXPLICIT_ACCESS_W, ccountofauditentries: u32, plistofauditentries: *const EXPLICIT_ACCESS_W, poldsd: super::PSECURITY_DESCRIPTOR, psizenewsd: *mut u32, pnewsd: *mut super::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn BuildTrusteeWithNameA(ptrustee: *mut TRUSTEE_A, pname: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn BuildTrusteeWithNameW(ptrustee: *mut TRUSTEE_W, pname: ::windows_sys::core::PCWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn BuildTrusteeWithObjectsAndNameA(ptrustee: *mut TRUSTEE_A, pobjname: *const OBJECTS_AND_NAME_A, objecttype: SE_OBJECT_TYPE, objecttypename: ::windows_sys::core::PCSTR, inheritedobjecttypename: ::windows_sys::core::PCSTR, name: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn BuildTrusteeWithObjectsAndNameW(ptrustee: *mut TRUSTEE_W, pobjname: *const OBJECTS_AND_NAME_W, objecttype: SE_OBJECT_TYPE, objecttypename: ::windows_sys::core::PCWSTR, inheritedobjecttypename: ::windows_sys::core::PCWSTR, name: ::windows_sys::core::PCWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BuildTrusteeWithObjectsAndSidA(ptrustee: *mut TRUSTEE_A, pobjsid: *const OBJECTS_AND_SID, pobjectguid: *const ::windows_sys::core::GUID, pinheritedobjectguid: *const ::windows_sys::core::GUID, psid: super::super::Foundation::PSID); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BuildTrusteeWithObjectsAndSidW(ptrustee: *mut TRUSTEE_W, pobjsid: *const OBJECTS_AND_SID, pobjectguid: *const ::windows_sys::core::GUID, pinheritedobjectguid: *const ::windows_sys::core::GUID, psid: super::super::Foundation::PSID); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BuildTrusteeWithSidA(ptrustee: *mut TRUSTEE_A, psid: super::super::Foundation::PSID); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BuildTrusteeWithSidW(ptrustee: *mut TRUSTEE_W, psid: super::super::Foundation::PSID); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ConvertSecurityDescriptorToStringSecurityDescriptorA(securitydescriptor: super::PSECURITY_DESCRIPTOR, requestedstringsdrevision: u32, securityinformation: u32, stringsecuritydescriptor: *mut ::windows_sys::core::PSTR, stringsecuritydescriptorlen: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ConvertSecurityDescriptorToStringSecurityDescriptorW(securitydescriptor: super::PSECURITY_DESCRIPTOR, requestedstringsdrevision: u32, securityinformation: u32, stringsecuritydescriptor: *mut ::windows_sys::core::PWSTR, stringsecuritydescriptorlen: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ConvertSidToStringSidA(sid: super::super::Foundation::PSID, stringsid: *mut ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ConvertSidToStringSidW(sid: super::super::Foundation::PSID, stringsid: *mut ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ConvertStringSecurityDescriptorToSecurityDescriptorA(stringsecuritydescriptor: ::windows_sys::core::PCSTR, stringsdrevision: u32, securitydescriptor: *mut super::PSECURITY_DESCRIPTOR, securitydescriptorsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ConvertStringSecurityDescriptorToSecurityDescriptorW(stringsecuritydescriptor: ::windows_sys::core::PCWSTR, stringsdrevision: u32, securitydescriptor: *mut super::PSECURITY_DESCRIPTOR, securitydescriptorsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ConvertStringSidToSidA(stringsid: ::windows_sys::core::PCSTR, sid: *mut super::super::Foundation::PSID) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ConvertStringSidToSidW(stringsid: ::windows_sys::core::PCWSTR, sid: *mut super::super::Foundation::PSID) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn FreeInheritedFromArray(pinheritarray: *const INHERITED_FROMW, acecnt: u16, pfnarray: *const FN_OBJECT_MGR_FUNCTIONS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn GetAuditedPermissionsFromAclA(pacl: *const super::ACL, ptrustee: *const TRUSTEE_A, psuccessfulauditedrights: *mut u32, pfailedauditrights: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn GetAuditedPermissionsFromAclW(pacl: *const super::ACL, ptrustee: *const TRUSTEE_W, psuccessfulauditedrights: *mut u32, pfailedauditrights: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn GetEffectiveRightsFromAclA(pacl: *const super::ACL, ptrustee: *const TRUSTEE_A, paccessrights: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn GetEffectiveRightsFromAclW(pacl: *const super::ACL, ptrustee: *const TRUSTEE_W, paccessrights: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn GetExplicitEntriesFromAclA(pacl: *const super::ACL, pccountofexplicitentries: *mut u32, plistofexplicitentries: *mut *mut EXPLICIT_ACCESS_A) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn GetExplicitEntriesFromAclW(pacl: *const super::ACL, pccountofexplicitentries: *mut u32, plistofexplicitentries: *mut *mut EXPLICIT_ACCESS_W) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetInheritanceSourceA(pobjectname: ::windows_sys::core::PCSTR, objecttype: SE_OBJECT_TYPE, securityinfo: u32, container: super::super::Foundation::BOOL, pobjectclassguids: *const *const ::windows_sys::core::GUID, guidcount: u32, pacl: *const super::ACL, pfnarray: *const FN_OBJECT_MGR_FUNCTIONS, pgenericmapping: *const super::GENERIC_MAPPING, pinheritarray: *mut INHERITED_FROMA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetInheritanceSourceW(pobjectname: ::windows_sys::core::PCWSTR, objecttype: SE_OBJECT_TYPE, securityinfo: u32, container: super::super::Foundation::BOOL, pobjectclassguids: *const *const ::windows_sys::core::GUID, guidcount: u32, pacl: *const super::ACL, pfnarray: *const FN_OBJECT_MGR_FUNCTIONS, pgenericmapping: *const super::GENERIC_MAPPING, pinheritarray: *mut INHERITED_FROMW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn GetMultipleTrusteeA(ptrustee: *const TRUSTEE_A) -> *mut TRUSTEE_A; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn GetMultipleTrusteeOperationA(ptrustee: *const TRUSTEE_A) -> MULTIPLE_TRUSTEE_OPERATION; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn GetMultipleTrusteeOperationW(ptrustee: *const TRUSTEE_W) -> MULTIPLE_TRUSTEE_OPERATION; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn GetMultipleTrusteeW(ptrustee: *const TRUSTEE_W) -> *mut TRUSTEE_W; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNamedSecurityInfoA(pobjectname: ::windows_sys::core::PCSTR, objecttype: SE_OBJECT_TYPE, securityinfo: super::OBJECT_SECURITY_INFORMATION, ppsidowner: *mut super::super::Foundation::PSID, ppsidgroup: *mut super::super::Foundation::PSID, ppdacl: *mut *mut super::ACL, ppsacl: *mut *mut super::ACL, ppsecuritydescriptor: *mut super::PSECURITY_DESCRIPTOR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNamedSecurityInfoW(pobjectname: ::windows_sys::core::PCWSTR, objecttype: SE_OBJECT_TYPE, securityinfo: super::OBJECT_SECURITY_INFORMATION, ppsidowner: *mut super::super::Foundation::PSID, ppsidgroup: *mut super::super::Foundation::PSID, ppdacl: *mut *mut super::ACL, ppsacl: *mut *mut super::ACL, ppsecuritydescriptor: *mut super::PSECURITY_DESCRIPTOR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSecurityInfo(handle: super::super::Foundation::HANDLE, objecttype: SE_OBJECT_TYPE, securityinfo: u32, ppsidowner: *mut super::super::Foundation::PSID, ppsidgroup: *mut super::super::Foundation::PSID, ppdacl: *mut *mut super::ACL, ppsacl: *mut *mut super::ACL, ppsecuritydescriptor: *mut super::PSECURITY_DESCRIPTOR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn GetTrusteeFormA(ptrustee: *const TRUSTEE_A) -> TRUSTEE_FORM; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn GetTrusteeFormW(ptrustee: *const TRUSTEE_W) -> TRUSTEE_FORM; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn GetTrusteeNameA(ptrustee: *const TRUSTEE_A) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn GetTrusteeNameW(ptrustee: *const TRUSTEE_W) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn GetTrusteeTypeA(ptrustee: *const TRUSTEE_A) -> TRUSTEE_TYPE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn GetTrusteeTypeW(ptrustee: *const TRUSTEE_W) -> TRUSTEE_TYPE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn LookupSecurityDescriptorPartsA(ppowner: *mut *mut TRUSTEE_A, ppgroup: *mut *mut TRUSTEE_A, pccountofaccessentries: *mut u32, pplistofaccessentries: *mut *mut EXPLICIT_ACCESS_A, pccountofauditentries: *mut u32, pplistofauditentries: *mut *mut EXPLICIT_ACCESS_A, psd: super::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn LookupSecurityDescriptorPartsW(ppowner: *mut *mut TRUSTEE_W, ppgroup: *mut *mut TRUSTEE_W, pccountofaccessentries: *mut u32, pplistofaccessentries: *mut *mut EXPLICIT_ACCESS_W, pccountofauditentries: *mut u32, pplistofauditentries: *mut *mut EXPLICIT_ACCESS_W, psd: super::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn SetEntriesInAclA(ccountofexplicitentries: u32, plistofexplicitentries: *const EXPLICIT_ACCESS_A, oldacl: *const super::ACL, newacl: *mut *mut super::ACL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub fn SetEntriesInAclW(ccountofexplicitentries: u32, plistofexplicitentries: *const EXPLICIT_ACCESS_W, oldacl: *const super::ACL, newacl: *mut *mut super::ACL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetNamedSecurityInfoA(pobjectname: ::windows_sys::core::PCSTR, objecttype: SE_OBJECT_TYPE, securityinfo: super::OBJECT_SECURITY_INFORMATION, psidowner: super::super::Foundation::PSID, psidgroup: super::super::Foundation::PSID, pdacl: *const super::ACL, psacl: *const super::ACL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetNamedSecurityInfoW(pobjectname: ::windows_sys::core::PCWSTR, objecttype: SE_OBJECT_TYPE, securityinfo: super::OBJECT_SECURITY_INFORMATION, psidowner: super::super::Foundation::PSID, psidgroup: super::super::Foundation::PSID, pdacl: *const super::ACL, psacl: *const super::ACL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetSecurityInfo(handle: super::super::Foundation::HANDLE, objecttype: SE_OBJECT_TYPE, securityinfo: u32, psidowner: super::super::Foundation::PSID, psidgroup: super::super::Foundation::PSID, pdacl: *const super::ACL, psacl: *const super::ACL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TreeResetNamedSecurityInfoA(pobjectname: ::windows_sys::core::PCSTR, objecttype: SE_OBJECT_TYPE, securityinfo: u32, powner: super::super::Foundation::PSID, pgroup: super::super::Foundation::PSID, pdacl: *const super::ACL, psacl: *const super::ACL, keepexplicit: super::super::Foundation::BOOL, fnprogress: FN_PROGRESS, progressinvokesetting: PROG_INVOKE_SETTING, args: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TreeResetNamedSecurityInfoW(pobjectname: ::windows_sys::core::PCWSTR, objecttype: SE_OBJECT_TYPE, securityinfo: u32, powner: super::super::Foundation::PSID, pgroup: super::super::Foundation::PSID, pdacl: *const super::ACL, psacl: *const super::ACL, keepexplicit: super::super::Foundation::BOOL, fnprogress: FN_PROGRESS, progressinvokesetting: PROG_INVOKE_SETTING, args: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TreeSetNamedSecurityInfoA(pobjectname: ::windows_sys::core::PCSTR, objecttype: SE_OBJECT_TYPE, securityinfo: u32, powner: super::super::Foundation::PSID, pgroup: super::super::Foundation::PSID, pdacl: *const super::ACL, psacl: *const super::ACL, dwaction: TREE_SEC_INFO, fnprogress: FN_PROGRESS, progressinvokesetting: PROG_INVOKE_SETTING, args: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TreeSetNamedSecurityInfoW(pobjectname: ::windows_sys::core::PCWSTR, objecttype: SE_OBJECT_TYPE, securityinfo: u32, powner: super::super::Foundation::PSID, pgroup: super::super::Foundation::PSID, pdacl: *const super::ACL, psacl: *const super::ACL, dwaction: TREE_SEC_INFO, fnprogress: FN_PROGRESS, progressinvokesetting: PROG_INVOKE_SETTING, args: *const ::core::ffi::c_void) -> u32; diff --git a/crates/libs/sys/src/Windows/Win32/Security/Credentials/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/Credentials/mod.rs index 11be03b9b6..117a103603 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/Credentials/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/Credentials/mod.rs @@ -3,306 +3,684 @@ extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredDeleteA(targetname: ::windows_sys::core::PCSTR, r#type: u32, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredDeleteW(targetname: ::windows_sys::core::PCWSTR, r#type: u32, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredEnumerateA(filter: ::windows_sys::core::PCSTR, flags: CRED_ENUMERATE_FLAGS, count: *mut u32, credential: *mut *mut *mut CREDENTIALA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredEnumerateW(filter: ::windows_sys::core::PCWSTR, flags: CRED_ENUMERATE_FLAGS, count: *mut u32, credential: *mut *mut *mut CREDENTIALW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredFindBestCredentialA(targetname: ::windows_sys::core::PCSTR, r#type: u32, flags: u32, credential: *mut *mut CREDENTIALA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredFindBestCredentialW(targetname: ::windows_sys::core::PCWSTR, r#type: u32, flags: u32, credential: *mut *mut CREDENTIALW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn CredFree(buffer: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredGetSessionTypes(maximumpersistcount: u32, maximumpersist: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredGetTargetInfoA(targetname: ::windows_sys::core::PCSTR, flags: u32, targetinfo: *mut *mut CREDENTIAL_TARGET_INFORMATIONA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredGetTargetInfoW(targetname: ::windows_sys::core::PCWSTR, flags: u32, targetinfo: *mut *mut CREDENTIAL_TARGET_INFORMATIONW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredIsMarshaledCredentialA(marshaledcredential: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredIsMarshaledCredentialW(marshaledcredential: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredIsProtectedA(pszprotectedcredentials: ::windows_sys::core::PCSTR, pprotectiontype: *mut CRED_PROTECTION_TYPE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredIsProtectedW(pszprotectedcredentials: ::windows_sys::core::PCWSTR, pprotectiontype: *mut CRED_PROTECTION_TYPE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredMarshalCredentialA(credtype: CRED_MARSHAL_TYPE, credential: *const ::core::ffi::c_void, marshaledcredential: *mut ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredMarshalCredentialW(credtype: CRED_MARSHAL_TYPE, credential: *const ::core::ffi::c_void, marshaledcredential: *mut ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredPackAuthenticationBufferA(dwflags: CRED_PACK_FLAGS, pszusername: ::windows_sys::core::PCSTR, pszpassword: ::windows_sys::core::PCSTR, ppackedcredentials: *mut u8, pcbpackedcredentials: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredPackAuthenticationBufferW(dwflags: CRED_PACK_FLAGS, pszusername: ::windows_sys::core::PCWSTR, pszpassword: ::windows_sys::core::PCWSTR, ppackedcredentials: *mut u8, pcbpackedcredentials: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredProtectA(fasself: super::super::Foundation::BOOL, pszcredentials: ::windows_sys::core::PCSTR, cchcredentials: u32, pszprotectedcredentials: ::windows_sys::core::PSTR, pcchmaxchars: *mut u32, protectiontype: *mut CRED_PROTECTION_TYPE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredProtectW(fasself: super::super::Foundation::BOOL, pszcredentials: ::windows_sys::core::PCWSTR, cchcredentials: u32, pszprotectedcredentials: ::windows_sys::core::PWSTR, pcchmaxchars: *mut u32, protectiontype: *mut CRED_PROTECTION_TYPE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredReadA(targetname: ::windows_sys::core::PCSTR, r#type: u32, flags: u32, credential: *mut *mut CREDENTIALA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredReadDomainCredentialsA(targetinfo: *const CREDENTIAL_TARGET_INFORMATIONA, flags: u32, count: *mut u32, credential: *mut *mut *mut CREDENTIALA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredReadDomainCredentialsW(targetinfo: *const CREDENTIAL_TARGET_INFORMATIONW, flags: u32, count: *mut u32, credential: *mut *mut *mut CREDENTIALW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredReadW(targetname: ::windows_sys::core::PCWSTR, r#type: u32, flags: u32, credential: *mut *mut CREDENTIALW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredRenameA(oldtargetname: ::windows_sys::core::PCSTR, newtargetname: ::windows_sys::core::PCSTR, r#type: u32, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredRenameW(oldtargetname: ::windows_sys::core::PCWSTR, newtargetname: ::windows_sys::core::PCWSTR, r#type: u32, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredUICmdLinePromptForCredentialsA(psztargetname: ::windows_sys::core::PCSTR, pcontext: *mut SecHandle, dwautherror: u32, username: ::windows_sys::core::PSTR, uluserbuffersize: u32, pszpassword: ::windows_sys::core::PSTR, ulpasswordbuffersize: u32, pfsave: *mut super::super::Foundation::BOOL, dwflags: CREDUI_FLAGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredUICmdLinePromptForCredentialsW(psztargetname: ::windows_sys::core::PCWSTR, pcontext: *mut SecHandle, dwautherror: u32, username: ::windows_sys::core::PWSTR, uluserbuffersize: u32, pszpassword: ::windows_sys::core::PWSTR, ulpasswordbuffersize: u32, pfsave: *mut super::super::Foundation::BOOL, dwflags: CREDUI_FLAGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredUIConfirmCredentialsA(psztargetname: ::windows_sys::core::PCSTR, bconfirm: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredUIConfirmCredentialsW(psztargetname: ::windows_sys::core::PCWSTR, bconfirm: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn CredUIParseUserNameA(username: ::windows_sys::core::PCSTR, user: ::windows_sys::core::PSTR, userbuffersize: u32, domain: ::windows_sys::core::PSTR, domainbuffersize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn CredUIParseUserNameW(username: ::windows_sys::core::PCWSTR, user: ::windows_sys::core::PWSTR, userbuffersize: u32, domain: ::windows_sys::core::PWSTR, domainbuffersize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn CredUIPromptForCredentialsA(puiinfo: *const CREDUI_INFOA, psztargetname: ::windows_sys::core::PCSTR, pcontext: *mut SecHandle, dwautherror: u32, pszusername: ::windows_sys::core::PSTR, ulusernamebuffersize: u32, pszpassword: ::windows_sys::core::PSTR, ulpasswordbuffersize: u32, save: *mut super::super::Foundation::BOOL, dwflags: CREDUI_FLAGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn CredUIPromptForCredentialsW(puiinfo: *const CREDUI_INFOW, psztargetname: ::windows_sys::core::PCWSTR, pcontext: *mut SecHandle, dwautherror: u32, pszusername: ::windows_sys::core::PWSTR, ulusernamebuffersize: u32, pszpassword: ::windows_sys::core::PWSTR, ulpasswordbuffersize: u32, save: *mut super::super::Foundation::BOOL, dwflags: CREDUI_FLAGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn CredUIPromptForWindowsCredentialsA(puiinfo: *const CREDUI_INFOA, dwautherror: u32, pulauthpackage: *mut u32, pvinauthbuffer: *const ::core::ffi::c_void, ulinauthbuffersize: u32, ppvoutauthbuffer: *mut *mut ::core::ffi::c_void, puloutauthbuffersize: *mut u32, pfsave: *mut super::super::Foundation::BOOL, dwflags: CREDUIWIN_FLAGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn CredUIPromptForWindowsCredentialsW(puiinfo: *const CREDUI_INFOW, dwautherror: u32, pulauthpackage: *mut u32, pvinauthbuffer: *const ::core::ffi::c_void, ulinauthbuffersize: u32, ppvoutauthbuffer: *mut *mut ::core::ffi::c_void, puloutauthbuffersize: *mut u32, pfsave: *mut super::super::Foundation::BOOL, dwflags: CREDUIWIN_FLAGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn CredUIReadSSOCredW(pszrealm: ::windows_sys::core::PCWSTR, ppszusername: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredUIStoreSSOCredW(pszrealm: ::windows_sys::core::PCWSTR, pszusername: ::windows_sys::core::PCWSTR, pszpassword: ::windows_sys::core::PCWSTR, bpersist: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredUnPackAuthenticationBufferA(dwflags: CRED_PACK_FLAGS, pauthbuffer: *const ::core::ffi::c_void, cbauthbuffer: u32, pszusername: ::windows_sys::core::PSTR, pcchlmaxusername: *mut u32, pszdomainname: ::windows_sys::core::PSTR, pcchmaxdomainname: *mut u32, pszpassword: ::windows_sys::core::PSTR, pcchmaxpassword: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredUnPackAuthenticationBufferW(dwflags: CRED_PACK_FLAGS, pauthbuffer: *const ::core::ffi::c_void, cbauthbuffer: u32, pszusername: ::windows_sys::core::PWSTR, pcchmaxusername: *mut u32, pszdomainname: ::windows_sys::core::PWSTR, pcchmaxdomainname: *mut u32, pszpassword: ::windows_sys::core::PWSTR, pcchmaxpassword: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredUnmarshalCredentialA(marshaledcredential: ::windows_sys::core::PCSTR, credtype: *mut CRED_MARSHAL_TYPE, credential: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredUnmarshalCredentialW(marshaledcredential: ::windows_sys::core::PCWSTR, credtype: *mut CRED_MARSHAL_TYPE, credential: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredUnprotectA(fasself: super::super::Foundation::BOOL, pszprotectedcredentials: ::windows_sys::core::PCSTR, cchprotectedcredentials: u32, pszcredentials: ::windows_sys::core::PSTR, pcchmaxchars: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredUnprotectW(fasself: super::super::Foundation::BOOL, pszprotectedcredentials: ::windows_sys::core::PCWSTR, cchprotectedcredentials: u32, pszcredentials: ::windows_sys::core::PWSTR, pcchmaxchars: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredWriteA(credential: *const CREDENTIALA, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredWriteDomainCredentialsA(targetinfo: *const CREDENTIAL_TARGET_INFORMATIONA, credential: *const CREDENTIALA, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredWriteDomainCredentialsW(targetinfo: *const CREDENTIAL_TARGET_INFORMATIONW, credential: *const CREDENTIALW, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CredWriteW(credential: *const CREDENTIALW, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetOpenCardNameA(param0: *mut OPENCARDNAMEA) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetOpenCardNameW(param0: *mut OPENCARDNAMEW) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn KeyCredentialManagerFreeInformation(keycredentialmanagerinfo: *const KeyCredentialManagerInfo); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn KeyCredentialManagerGetInformation(keycredentialmanagerinfo: *mut *mut KeyCredentialManagerInfo) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn KeyCredentialManagerGetOperationErrorStates(keycredentialmanageroperationtype: KeyCredentialManagerOperationType, isready: *mut super::super::Foundation::BOOL, keycredentialmanageroperationerrorstates: *mut KeyCredentialManagerOperationErrorStates) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn KeyCredentialManagerShowUIOperation(hwndowner: super::super::Foundation::HWND, keycredentialmanageroperationtype: KeyCredentialManagerOperationType) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SCardAccessStartedEvent() -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardAddReaderToGroupA(hcontext: usize, szreadername: ::windows_sys::core::PCSTR, szgroupname: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardAddReaderToGroupW(hcontext: usize, szreadername: ::windows_sys::core::PCWSTR, szgroupname: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardAudit(hcontext: usize, dwevent: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardBeginTransaction(hcard: usize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardCancel(hcontext: usize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardConnectA(hcontext: usize, szreader: ::windows_sys::core::PCSTR, dwsharemode: u32, dwpreferredprotocols: u32, phcard: *mut usize, pdwactiveprotocol: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardConnectW(hcontext: usize, szreader: ::windows_sys::core::PCWSTR, dwsharemode: u32, dwpreferredprotocols: u32, phcard: *mut usize, pdwactiveprotocol: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardControl(hcard: usize, dwcontrolcode: u32, lpinbuffer: *const ::core::ffi::c_void, cbinbuffersize: u32, lpoutbuffer: *mut ::core::ffi::c_void, cboutbuffersize: u32, lpbytesreturned: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardDisconnect(hcard: usize, dwdisposition: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardDlgExtendedError() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardEndTransaction(hcard: usize, dwdisposition: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardEstablishContext(dwscope: SCARD_SCOPE, pvreserved1: *const ::core::ffi::c_void, pvreserved2: *const ::core::ffi::c_void, phcontext: *mut usize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardForgetCardTypeA(hcontext: usize, szcardname: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardForgetCardTypeW(hcontext: usize, szcardname: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardForgetReaderA(hcontext: usize, szreadername: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardForgetReaderGroupA(hcontext: usize, szgroupname: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardForgetReaderGroupW(hcontext: usize, szgroupname: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardForgetReaderW(hcontext: usize, szreadername: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardFreeMemory(hcontext: usize, pvmem: *const ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardGetAttrib(hcard: usize, dwattrid: u32, pbattr: *mut u8, pcbattrlen: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardGetCardTypeProviderNameA(hcontext: usize, szcardname: ::windows_sys::core::PCSTR, dwproviderid: u32, szprovider: ::windows_sys::core::PSTR, pcchprovider: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardGetCardTypeProviderNameW(hcontext: usize, szcardname: ::windows_sys::core::PCWSTR, dwproviderid: u32, szprovider: ::windows_sys::core::PWSTR, pcchprovider: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardGetDeviceTypeIdA(hcontext: usize, szreadername: ::windows_sys::core::PCSTR, pdwdevicetypeid: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardGetDeviceTypeIdW(hcontext: usize, szreadername: ::windows_sys::core::PCWSTR, pdwdevicetypeid: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardGetProviderIdA(hcontext: usize, szcard: ::windows_sys::core::PCSTR, pguidproviderid: *mut ::windows_sys::core::GUID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardGetProviderIdW(hcontext: usize, szcard: ::windows_sys::core::PCWSTR, pguidproviderid: *mut ::windows_sys::core::GUID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardGetReaderDeviceInstanceIdA(hcontext: usize, szreadername: ::windows_sys::core::PCSTR, szdeviceinstanceid: ::windows_sys::core::PSTR, pcchdeviceinstanceid: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardGetReaderDeviceInstanceIdW(hcontext: usize, szreadername: ::windows_sys::core::PCWSTR, szdeviceinstanceid: ::windows_sys::core::PWSTR, pcchdeviceinstanceid: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardGetReaderIconA(hcontext: usize, szreadername: ::windows_sys::core::PCSTR, pbicon: *mut u8, pcbicon: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardGetReaderIconW(hcontext: usize, szreadername: ::windows_sys::core::PCWSTR, pbicon: *mut u8, pcbicon: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardGetStatusChangeA(hcontext: usize, dwtimeout: u32, rgreaderstates: *mut SCARD_READERSTATEA, creaders: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardGetStatusChangeW(hcontext: usize, dwtimeout: u32, rgreaderstates: *mut SCARD_READERSTATEW, creaders: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardGetTransmitCount(hcard: usize, pctransmitcount: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardIntroduceCardTypeA(hcontext: usize, szcardname: ::windows_sys::core::PCSTR, pguidprimaryprovider: *const ::windows_sys::core::GUID, rgguidinterfaces: *const ::windows_sys::core::GUID, dwinterfacecount: u32, pbatr: *const u8, pbatrmask: *const u8, cbatrlen: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardIntroduceCardTypeW(hcontext: usize, szcardname: ::windows_sys::core::PCWSTR, pguidprimaryprovider: *const ::windows_sys::core::GUID, rgguidinterfaces: *const ::windows_sys::core::GUID, dwinterfacecount: u32, pbatr: *const u8, pbatrmask: *const u8, cbatrlen: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardIntroduceReaderA(hcontext: usize, szreadername: ::windows_sys::core::PCSTR, szdevicename: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardIntroduceReaderGroupA(hcontext: usize, szgroupname: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardIntroduceReaderGroupW(hcontext: usize, szgroupname: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardIntroduceReaderW(hcontext: usize, szreadername: ::windows_sys::core::PCWSTR, szdevicename: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardIsValidContext(hcontext: usize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardListCardsA(hcontext: usize, pbatr: *const u8, rgquidinterfaces: *const ::windows_sys::core::GUID, cguidinterfacecount: u32, mszcards: ::windows_sys::core::PSTR, pcchcards: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardListCardsW(hcontext: usize, pbatr: *const u8, rgquidinterfaces: *const ::windows_sys::core::GUID, cguidinterfacecount: u32, mszcards: ::windows_sys::core::PWSTR, pcchcards: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardListInterfacesA(hcontext: usize, szcard: ::windows_sys::core::PCSTR, pguidinterfaces: *mut ::windows_sys::core::GUID, pcguidinterfaces: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardListInterfacesW(hcontext: usize, szcard: ::windows_sys::core::PCWSTR, pguidinterfaces: *mut ::windows_sys::core::GUID, pcguidinterfaces: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardListReaderGroupsA(hcontext: usize, mszgroups: ::windows_sys::core::PSTR, pcchgroups: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardListReaderGroupsW(hcontext: usize, mszgroups: ::windows_sys::core::PWSTR, pcchgroups: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardListReadersA(hcontext: usize, mszgroups: ::windows_sys::core::PCSTR, mszreaders: ::windows_sys::core::PSTR, pcchreaders: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardListReadersW(hcontext: usize, mszgroups: ::windows_sys::core::PCWSTR, mszreaders: ::windows_sys::core::PWSTR, pcchreaders: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardListReadersWithDeviceInstanceIdA(hcontext: usize, szdeviceinstanceid: ::windows_sys::core::PCSTR, mszreaders: ::windows_sys::core::PSTR, pcchreaders: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardListReadersWithDeviceInstanceIdW(hcontext: usize, szdeviceinstanceid: ::windows_sys::core::PCWSTR, mszreaders: ::windows_sys::core::PWSTR, pcchreaders: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardLocateCardsA(hcontext: usize, mszcards: ::windows_sys::core::PCSTR, rgreaderstates: *mut SCARD_READERSTATEA, creaders: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardLocateCardsByATRA(hcontext: usize, rgatrmasks: *const SCARD_ATRMASK, catrs: u32, rgreaderstates: *mut SCARD_READERSTATEA, creaders: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardLocateCardsByATRW(hcontext: usize, rgatrmasks: *const SCARD_ATRMASK, catrs: u32, rgreaderstates: *mut SCARD_READERSTATEW, creaders: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardLocateCardsW(hcontext: usize, mszcards: ::windows_sys::core::PCWSTR, rgreaderstates: *mut SCARD_READERSTATEW, creaders: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardReadCacheA(hcontext: usize, cardidentifier: *const ::windows_sys::core::GUID, freshnesscounter: u32, lookupname: ::windows_sys::core::PCSTR, data: *mut u8, datalen: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardReadCacheW(hcontext: usize, cardidentifier: *const ::windows_sys::core::GUID, freshnesscounter: u32, lookupname: ::windows_sys::core::PCWSTR, data: *mut u8, datalen: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardReconnect(hcard: usize, dwsharemode: u32, dwpreferredprotocols: u32, dwinitialization: u32, pdwactiveprotocol: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardReleaseContext(hcontext: usize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardReleaseStartedEvent(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardRemoveReaderFromGroupA(hcontext: usize, szreadername: ::windows_sys::core::PCSTR, szgroupname: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardRemoveReaderFromGroupW(hcontext: usize, szreadername: ::windows_sys::core::PCWSTR, szgroupname: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardSetAttrib(hcard: usize, dwattrid: u32, pbattr: *const u8, cbattrlen: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardSetCardTypeProviderNameA(hcontext: usize, szcardname: ::windows_sys::core::PCSTR, dwproviderid: u32, szprovider: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardSetCardTypeProviderNameW(hcontext: usize, szcardname: ::windows_sys::core::PCWSTR, dwproviderid: u32, szprovider: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardState(hcard: usize, pdwstate: *mut u32, pdwprotocol: *mut u32, pbatr: *mut u8, pcbatrlen: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardStatusA(hcard: usize, mszreadernames: ::windows_sys::core::PSTR, pcchreaderlen: *mut u32, pdwstate: *mut u32, pdwprotocol: *mut u32, pbatr: *mut u8, pcbatrlen: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardStatusW(hcard: usize, mszreadernames: ::windows_sys::core::PWSTR, pcchreaderlen: *mut u32, pdwstate: *mut u32, pdwprotocol: *mut u32, pbatr: *mut u8, pcbatrlen: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardTransmit(hcard: usize, piosendpci: *const SCARD_IO_REQUEST, pbsendbuffer: *const u8, cbsendlength: u32, piorecvpci: *mut SCARD_IO_REQUEST, pbrecvbuffer: *mut u8, pcbrecvlength: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn SCardUIDlgSelectCardA(param0: *mut OPENCARDNAME_EXA) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn SCardUIDlgSelectCardW(param0: *mut OPENCARDNAME_EXW) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardWriteCacheA(hcontext: usize, cardidentifier: *const ::windows_sys::core::GUID, freshnesscounter: u32, lookupname: ::windows_sys::core::PCSTR, data: *const u8, datalen: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub fn SCardWriteCacheW(hcontext: usize, cardidentifier: *const ::windows_sys::core::GUID, freshnesscounter: u32, lookupname: ::windows_sys::core::PCWSTR, data: *const u8, datalen: u32) -> i32; } diff --git a/crates/libs/sys/src/Windows/Win32/Security/Cryptography/Catalog/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/Cryptography/Catalog/mod.rs index 136a9d120c..db4a1df624 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/Cryptography/Catalog/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/Cryptography/Catalog/mod.rs @@ -3,100 +3,199 @@ extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCATAdminAcquireContext(phcatadmin: *mut isize, pgsubsystem: *const ::windows_sys::core::GUID, dwflags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCATAdminAcquireContext2(phcatadmin: *mut isize, pgsubsystem: *const ::windows_sys::core::GUID, pwszhashalgorithm: ::windows_sys::core::PCWSTR, pstronghashpolicy: *const super::CERT_STRONG_SIGN_PARA, dwflags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"] pub fn CryptCATAdminAddCatalog(hcatadmin: isize, pwszcatalogfile: ::windows_sys::core::PCWSTR, pwszselectbasename: ::windows_sys::core::PCWSTR, dwflags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCATAdminCalcHashFromFileHandle(hfile: super::super::super::Foundation::HANDLE, pcbhash: *mut u32, pbhash: *mut u8, dwflags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCATAdminCalcHashFromFileHandle2(hcatadmin: isize, hfile: super::super::super::Foundation::HANDLE, pcbhash: *mut u32, pbhash: *mut u8, dwflags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"] pub fn CryptCATAdminEnumCatalogFromHash(hcatadmin: isize, pbhash: *const u8, cbhash: u32, dwflags: u32, phprevcatinfo: *mut isize) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCATAdminPauseServiceForBackup(dwflags: u32, fresume: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCATAdminReleaseCatalogContext(hcatadmin: isize, hcatinfo: isize, dwflags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCATAdminReleaseContext(hcatadmin: isize, dwflags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCATAdminRemoveCatalog(hcatadmin: isize, pwszcatalogfile: ::windows_sys::core::PCWSTR, dwflags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCATAdminResolveCatalogPath(hcatadmin: isize, pwszcatalogfile: ::windows_sys::core::PCWSTR, pscatinfo: *mut CATALOG_INFO, dwflags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] pub fn CryptCATAllocSortedMemberInfo(hcatalog: super::super::super::Foundation::HANDLE, pwszreferencetag: ::windows_sys::core::PCWSTR) -> *mut CRYPTCATMEMBER; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCATCDFClose(pcdf: *mut CRYPTCATCDF) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] pub fn CryptCATCDFEnumAttributes(pcdf: *mut CRYPTCATCDF, pmember: *mut CRYPTCATMEMBER, pprevattr: *mut CRYPTCATATTRIBUTE, pfnparseerror: PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATATTRIBUTE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCATCDFEnumCatAttributes(pcdf: *mut CRYPTCATCDF, pprevattr: *mut CRYPTCATATTRIBUTE, pfnparseerror: PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATATTRIBUTE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] pub fn CryptCATCDFEnumMembers(pcdf: *mut CRYPTCATCDF, pprevmember: *mut CRYPTCATMEMBER, pfnparseerror: PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATMEMBER; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCATCDFOpen(pwszfilepath: ::windows_sys::core::PCWSTR, pfnparseerror: PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATCDF; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCATCatalogInfoFromContext(hcatinfo: isize, pscatinfo: *mut CATALOG_INFO, dwflags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCATClose(hcatalog: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] pub fn CryptCATEnumerateAttr(hcatalog: super::super::super::Foundation::HANDLE, pcatmember: *mut CRYPTCATMEMBER, pprevattr: *mut CRYPTCATATTRIBUTE) -> *mut CRYPTCATATTRIBUTE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCATEnumerateCatAttr(hcatalog: super::super::super::Foundation::HANDLE, pprevattr: *mut CRYPTCATATTRIBUTE) -> *mut CRYPTCATATTRIBUTE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] pub fn CryptCATEnumerateMember(hcatalog: super::super::super::Foundation::HANDLE, pprevmember: *mut CRYPTCATMEMBER) -> *mut CRYPTCATMEMBER; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] pub fn CryptCATFreeSortedMemberInfo(hcatalog: super::super::super::Foundation::HANDLE, pcatmember: *mut CRYPTCATMEMBER); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] pub fn CryptCATGetAttrInfo(hcatalog: super::super::super::Foundation::HANDLE, pcatmember: *mut CRYPTCATMEMBER, pwszreferencetag: ::windows_sys::core::PCWSTR) -> *mut CRYPTCATATTRIBUTE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCATGetCatAttrInfo(hcatalog: super::super::super::Foundation::HANDLE, pwszreferencetag: ::windows_sys::core::PCWSTR) -> *mut CRYPTCATATTRIBUTE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] pub fn CryptCATGetMemberInfo(hcatalog: super::super::super::Foundation::HANDLE, pwszreferencetag: ::windows_sys::core::PCWSTR) -> *mut CRYPTCATMEMBER; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCATHandleFromStore(pcatstore: *mut CRYPTCATSTORE) -> super::super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCATOpen(pwszfilename: ::windows_sys::core::PCWSTR, fdwopenflags: CRYPTCAT_OPEN_FLAGS, hprov: usize, dwpublicversion: CRYPTCAT_VERSION, dwencodingtype: u32) -> super::super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCATPersistStore(hcatalog: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] pub fn CryptCATPutAttrInfo(hcatalog: super::super::super::Foundation::HANDLE, pcatmember: *mut CRYPTCATMEMBER, pwszreferencetag: ::windows_sys::core::PCWSTR, dwattrtypeandaction: u32, cbdata: u32, pbdata: *mut u8) -> *mut CRYPTCATATTRIBUTE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCATPutCatAttrInfo(hcatalog: super::super::super::Foundation::HANDLE, pwszreferencetag: ::windows_sys::core::PCWSTR, dwattrtypeandaction: u32, cbdata: u32, pbdata: *mut u8) -> *mut CRYPTCATATTRIBUTE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] pub fn CryptCATPutMemberInfo(hcatalog: super::super::super::Foundation::HANDLE, pwszfilename: ::windows_sys::core::PCWSTR, pwszreferencetag: ::windows_sys::core::PCWSTR, pgsubjecttype: *mut ::windows_sys::core::GUID, dwcertversion: u32, cbsipindirectdata: u32, pbsipindirectdata: *mut u8) -> *mut CRYPTCATMEMBER; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCATStoreFromHandle(hcatalog: super::super::super::Foundation::HANDLE) -> *mut CRYPTCATSTORE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsCatalogFile(hfile: super::super::super::Foundation::HANDLE, pwszfilename: ::windows_sys::core::PCWSTR) -> super::super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs index 5dcfb955d5..360600d4db 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs @@ -2,62 +2,137 @@ extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub fn CertSrvBackupClose(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub fn CertSrvBackupEnd(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub fn CertSrvBackupFree(pv: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub fn CertSrvBackupGetBackupLogsW(hbc: *const ::core::ffi::c_void, ppwszzbackuplogfiles: *mut ::windows_sys::core::PWSTR, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub fn CertSrvBackupGetDatabaseNamesW(hbc: *const ::core::ffi::c_void, ppwszzattachmentinformation: *mut ::windows_sys::core::PWSTR, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub fn CertSrvBackupGetDynamicFileListW(hbc: *const ::core::ffi::c_void, ppwszzfilelist: *mut ::windows_sys::core::PWSTR, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub fn CertSrvBackupOpenFileW(hbc: *mut ::core::ffi::c_void, pwszattachmentname: ::windows_sys::core::PCWSTR, cbreadhintsize: u32, plifilesize: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub fn CertSrvBackupPrepareW(pwszservername: ::windows_sys::core::PCWSTR, grbitjet: u32, dwbackupflags: CSBACKUP_TYPE, phbc: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub fn CertSrvBackupRead(hbc: *mut ::core::ffi::c_void, pvbuffer: *mut ::core::ffi::c_void, cbbuffer: u32, pcbread: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub fn CertSrvBackupTruncateLogs(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertSrvIsServerOnlineW(pwszservername: ::windows_sys::core::PCWSTR, pfserveronline: *mut super::super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub fn CertSrvRestoreEnd(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub fn CertSrvRestoreGetDatabaseLocationsW(hbc: *const ::core::ffi::c_void, ppwszzdatabaselocationlist: *mut ::windows_sys::core::PWSTR, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub fn CertSrvRestorePrepareW(pwszservername: ::windows_sys::core::PCWSTR, dwrestoreflags: u32, phbc: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub fn CertSrvRestoreRegisterComplete(hbc: *mut ::core::ffi::c_void, hrrestorestate: ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub fn CertSrvRestoreRegisterThroughFile(hbc: *mut ::core::ffi::c_void, pwszcheckpointfilepath: ::windows_sys::core::PCWSTR, pwszlogpath: ::windows_sys::core::PCWSTR, rgrstmap: *mut CSEDB_RSTMAPW, crstmap: i32, pwszbackuplogpath: ::windows_sys::core::PCWSTR, genlow: u32, genhigh: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub fn CertSrvRestoreRegisterW(hbc: *mut ::core::ffi::c_void, pwszcheckpointfilepath: ::windows_sys::core::PCWSTR, pwszlogpath: ::windows_sys::core::PCWSTR, rgrstmap: *mut CSEDB_RSTMAPW, crstmap: i32, pwszbackuplogpath: ::windows_sys::core::PCWSTR, genlow: u32, genhigh: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub fn CertSrvServerControlW(pwszservername: ::windows_sys::core::PCWSTR, dwcontrolflags: u32, pcbout: *mut u32, ppbout: *mut *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PstAcquirePrivateKey(pcert: *const super::CERT_CONTEXT) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] pub fn PstGetCertificateChain(pcert: *const super::CERT_CONTEXT, ptrustedissuers: *const super::super::Authentication::Identity::SecPkgContext_IssuerListInfoEx, ppcertchaincontext: *mut *mut super::CERT_CHAIN_CONTEXT) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PstGetCertificates(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, ccriteria: u32, rgpcriteria: *const super::CERT_SELECT_CRITERIA, bisclient: super::super::super::Foundation::BOOL, pdwcertchaincontextcount: *mut u32, ppcertchaincontexts: *mut *mut *mut super::CERT_CHAIN_CONTEXT) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] pub fn PstGetTrustAnchors(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, ccriteria: u32, rgpcriteria: *const super::CERT_SELECT_CRITERIA, pptrustedissuers: *mut *mut super::super::Authentication::Identity::SecPkgContext_IssuerListInfoEx) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] pub fn PstGetTrustAnchorsEx(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, ccriteria: u32, rgpcriteria: *const super::CERT_SELECT_CRITERIA, pcertcontext: *const super::CERT_CONTEXT, pptrustedissuers: *mut *mut super::super::Authentication::Identity::SecPkgContext_IssuerListInfoEx) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PstGetUserNameForCertificate(pcertcontext: *const super::CERT_CONTEXT, username: *mut super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] pub fn PstMapCertificate(pcert: *const super::CERT_CONTEXT, ptokeninformationtype: *mut super::super::Authentication::Identity::LSA_TOKEN_INFORMATION_TYPE, pptokeninformation: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PstValidate(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, bisclient: super::super::super::Foundation::BOOL, prequestedissuancepolicy: *const super::CERT_USAGE_MATCH, phadditionalcertstore: *const super::HCERTSTORE, pcert: *const super::CERT_CONTEXT, pprovguid: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::NTSTATUS; diff --git a/crates/libs/sys/src/Windows/Win32/Security/Cryptography/Sip/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/Cryptography/Sip/mod.rs index 51603e64d8..fb0e959b43 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/Cryptography/Sip/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/Cryptography/Sip/mod.rs @@ -3,36 +3,69 @@ extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptSIPAddProvider(psnewprov: *mut SIP_ADD_NEWPROVIDER) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] pub fn CryptSIPCreateIndirectData(psubjectinfo: *mut SIP_SUBJECTINFO, pcbindirectdata: *mut u32, pindirectdata: *mut SIP_INDIRECT_DATA) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] pub fn CryptSIPGetCaps(psubjinfo: *const SIP_SUBJECTINFO, pcaps: *mut SIP_CAP_SET_V3) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] pub fn CryptSIPGetSealedDigest(psubjectinfo: *const SIP_SUBJECTINFO, psig: *const u8, dwsig: u32, pbdigest: *mut u8, pcbdigest: *mut u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] pub fn CryptSIPGetSignedDataMsg(psubjectinfo: *mut SIP_SUBJECTINFO, pdwencodingtype: *mut super::CERT_QUERY_ENCODING_TYPE, dwindex: u32, pcbsigneddatamsg: *mut u32, pbsigneddatamsg: *mut u8) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] pub fn CryptSIPLoad(pgsubject: *const ::windows_sys::core::GUID, dwflags: u32, psipdispatch: *mut SIP_DISPATCH_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] pub fn CryptSIPPutSignedDataMsg(psubjectinfo: *mut SIP_SUBJECTINFO, dwencodingtype: super::CERT_QUERY_ENCODING_TYPE, pdwindex: *mut u32, cbsigneddatamsg: u32, pbsigneddatamsg: *mut u8) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptSIPRemoveProvider(pgprov: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] pub fn CryptSIPRemoveSignedDataMsg(psubjectinfo: *mut SIP_SUBJECTINFO, dwindex: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptSIPRetrieveSubjectGuid(filename: ::windows_sys::core::PCWSTR, hfilein: super::super::super::Foundation::HANDLE, pgsubject: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptSIPRetrieveSubjectGuidForCatalogFile(filename: ::windows_sys::core::PCWSTR, hfilein: super::super::super::Foundation::HANDLE, pgsubject: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] pub fn CryptSIPVerifyIndirectData(psubjectinfo: *mut SIP_SUBJECTINFO, pindirectdata: *mut SIP_INDIRECT_DATA) -> super::super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/Security/Cryptography/UI/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/Cryptography/UI/mod.rs index 854ed33bc5..c0bd3973d9 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/Cryptography/UI/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/Cryptography/UI/mod.rs @@ -3,30 +3,57 @@ extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertSelectionGetSerializedBlob(pcsi: *const CERT_SELECTUI_INPUT, ppoutbuffer: *mut *mut ::core::ffi::c_void, puloutbuffersize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptUIDlgCertMgr(pcryptuicertmgr: *const CRYPTUI_CERT_MGR_STRUCT) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptUIDlgSelectCertificateFromStore(hcertstore: super::HCERTSTORE, hwnd: super::super::super::Foundation::HWND, pwsztitle: ::windows_sys::core::PCWSTR, pwszdisplaystring: ::windows_sys::core::PCWSTR, dwdontusecolumn: u32, dwflags: u32, pvreserved: *const ::core::ffi::c_void) -> *mut super::CERT_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] pub fn CryptUIDlgViewCertificateA(pcertviewinfo: *const CRYPTUI_VIEWCERTIFICATE_STRUCTA, pfpropertieschanged: *mut super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] pub fn CryptUIDlgViewCertificateW(pcertviewinfo: *const CRYPTUI_VIEWCERTIFICATE_STRUCTW, pfpropertieschanged: *mut super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptUIDlgViewContext(dwcontexttype: u32, pvcontext: *const ::core::ffi::c_void, hwnd: super::super::super::Foundation::HWND, pwsztitle: ::windows_sys::core::PCWSTR, dwflags: u32, pvreserved: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptUIWizDigitalSign(dwflags: u32, hwndparent: super::super::super::Foundation::HWND, pwszwizardtitle: ::windows_sys::core::PCWSTR, pdigitalsigninfo: *const CRYPTUI_WIZ_DIGITAL_SIGN_INFO, ppsigncontext: *mut *mut CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptUIWizExport(dwflags: CRYPTUI_WIZ_FLAGS, hwndparent: super::super::super::Foundation::HWND, pwszwizardtitle: ::windows_sys::core::PCWSTR, pexportinfo: *const CRYPTUI_WIZ_EXPORT_INFO, pvoid: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptUIWizFreeDigitalSignContext(psigncontext: *const CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptUIWizImport(dwflags: CRYPTUI_WIZ_FLAGS, hwndparent: super::super::super::Foundation::HWND, pwszwizardtitle: ::windows_sys::core::PCWSTR, pimportsrc: *const CRYPTUI_WIZ_IMPORT_SRC_INFO, hdestcertstore: super::HCERTSTORE) -> super::super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/Security/Cryptography/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/Cryptography/mod.rs index cb88f7c67f..4052931168 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/Cryptography/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/Cryptography/mod.rs @@ -11,1097 +11,2285 @@ extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptAddContextFunction(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pszfunction: ::windows_sys::core::PCWSTR, dwposition: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptCloseAlgorithmProvider(halgorithm: BCRYPT_ALG_HANDLE, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptConfigureContext(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, pconfig: *const CRYPT_CONTEXT_CONFIG) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptConfigureContextFunction(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pszfunction: ::windows_sys::core::PCWSTR, pconfig: *const CRYPT_CONTEXT_FUNCTION_CONFIG) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptCreateContext(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, pconfig: *const CRYPT_CONTEXT_CONFIG) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptCreateHash(halgorithm: BCRYPT_ALG_HANDLE, phhash: *mut BCRYPT_HASH_HANDLE, pbhashobject: *mut u8, cbhashobject: u32, pbsecret: *const u8, cbsecret: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptCreateMultiHash(halgorithm: BCRYPT_ALG_HANDLE, phhash: *mut BCRYPT_HASH_HANDLE, nhashes: u32, pbhashobject: *mut u8, cbhashobject: u32, pbsecret: *const u8, cbsecret: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptDecrypt(hkey: BCRYPT_KEY_HANDLE, pbinput: *const u8, cbinput: u32, ppaddinginfo: *const ::core::ffi::c_void, pbiv: *mut u8, cbiv: u32, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: NCRYPT_FLAGS) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptDeleteContext(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptDeriveKey(hsharedsecret: BCRYPT_SECRET_HANDLE, pwszkdf: ::windows_sys::core::PCWSTR, pparameterlist: *const BCryptBufferDesc, pbderivedkey: *mut u8, cbderivedkey: u32, pcbresult: *mut u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptDeriveKeyCapi(hhash: BCRYPT_HASH_HANDLE, htargetalg: BCRYPT_ALG_HANDLE, pbderivedkey: *mut u8, cbderivedkey: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptDeriveKeyPBKDF2(hprf: BCRYPT_ALG_HANDLE, pbpassword: *const u8, cbpassword: u32, pbsalt: *const u8, cbsalt: u32, citerations: u64, pbderivedkey: *mut u8, cbderivedkey: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptDestroyHash(hhash: BCRYPT_HASH_HANDLE) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptDestroyKey(hkey: BCRYPT_KEY_HANDLE) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptDestroySecret(hsecret: BCRYPT_SECRET_HANDLE) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptDuplicateHash(hhash: BCRYPT_HASH_HANDLE, phnewhash: *mut BCRYPT_HASH_HANDLE, pbhashobject: *mut u8, cbhashobject: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptDuplicateKey(hkey: BCRYPT_KEY_HANDLE, phnewkey: *mut BCRYPT_KEY_HANDLE, pbkeyobject: *mut u8, cbkeyobject: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptEncrypt(hkey: BCRYPT_KEY_HANDLE, pbinput: *const u8, cbinput: u32, ppaddinginfo: *const ::core::ffi::c_void, pbiv: *mut u8, cbiv: u32, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: NCRYPT_FLAGS) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptEnumAlgorithms(dwalgoperations: BCRYPT_OPERATION, palgcount: *mut u32, ppalglist: *mut *mut BCRYPT_ALGORITHM_IDENTIFIER, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptEnumContextFunctionProviders(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pszfunction: ::windows_sys::core::PCWSTR, pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_CONTEXT_FUNCTION_PROVIDERS) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptEnumContextFunctions(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_CONTEXT_FUNCTIONS) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptEnumContexts(dwtable: BCRYPT_TABLE, pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_CONTEXTS) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptEnumProviders(pszalgid: ::windows_sys::core::PCWSTR, pimplcount: *mut u32, ppimpllist: *mut *mut BCRYPT_PROVIDER_NAME, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptEnumRegisteredProviders(pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_PROVIDERS) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptExportKey(hkey: BCRYPT_KEY_HANDLE, hexportkey: BCRYPT_KEY_HANDLE, pszblobtype: ::windows_sys::core::PCWSTR, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptFinalizeKeyPair(hkey: BCRYPT_KEY_HANDLE, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptFinishHash(hhash: BCRYPT_HASH_HANDLE, pboutput: *mut u8, cboutput: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn BCryptFreeBuffer(pvbuffer: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptGenRandom(halgorithm: BCRYPT_ALG_HANDLE, pbbuffer: *mut u8, cbbuffer: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptGenerateKeyPair(halgorithm: BCRYPT_ALG_HANDLE, phkey: *mut BCRYPT_KEY_HANDLE, dwlength: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptGenerateSymmetricKey(halgorithm: BCRYPT_ALG_HANDLE, phkey: *mut BCRYPT_KEY_HANDLE, pbkeyobject: *mut u8, cbkeyobject: u32, pbsecret: *const u8, cbsecret: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptGetFipsAlgorithmMode(pfenabled: *mut u8) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptGetProperty(hobject: BCRYPT_HANDLE, pszproperty: ::windows_sys::core::PCWSTR, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptHash(halgorithm: BCRYPT_ALG_HANDLE, pbsecret: *const u8, cbsecret: u32, pbinput: *const u8, cbinput: u32, pboutput: *mut u8, cboutput: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptHashData(hhash: BCRYPT_HASH_HANDLE, pbinput: *const u8, cbinput: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptImportKey(halgorithm: BCRYPT_ALG_HANDLE, himportkey: BCRYPT_KEY_HANDLE, pszblobtype: ::windows_sys::core::PCWSTR, phkey: *mut BCRYPT_KEY_HANDLE, pbkeyobject: *mut u8, cbkeyobject: u32, pbinput: *const u8, cbinput: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptImportKeyPair(halgorithm: BCRYPT_ALG_HANDLE, himportkey: BCRYPT_KEY_HANDLE, pszblobtype: ::windows_sys::core::PCWSTR, phkey: *mut BCRYPT_KEY_HANDLE, pbinput: *const u8, cbinput: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptKeyDerivation(hkey: BCRYPT_KEY_HANDLE, pparameterlist: *const BCryptBufferDesc, pbderivedkey: *mut u8, cbderivedkey: u32, pcbresult: *mut u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptOpenAlgorithmProvider(phalgorithm: *mut BCRYPT_ALG_HANDLE, pszalgid: ::windows_sys::core::PCWSTR, pszimplementation: ::windows_sys::core::PCWSTR, dwflags: BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptProcessMultiOperations(hobject: BCRYPT_HANDLE, operationtype: BCRYPT_MULTI_OPERATION_TYPE, poperations: *const ::core::ffi::c_void, cboperations: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptQueryContextConfiguration(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_CONTEXT_CONFIG) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptQueryContextFunctionConfiguration(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pszfunction: ::windows_sys::core::PCWSTR, pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_CONTEXT_FUNCTION_CONFIG) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptQueryContextFunctionProperty(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pszfunction: ::windows_sys::core::PCWSTR, pszproperty: ::windows_sys::core::PCWSTR, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptQueryProviderRegistration(pszprovider: ::windows_sys::core::PCWSTR, dwmode: BCRYPT_QUERY_PROVIDER_MODE, dwinterface: BCRYPT_INTERFACE, pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_PROVIDER_REG) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptRegisterConfigChangeNotify(phevent: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptRemoveContextFunction(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pszfunction: ::windows_sys::core::PCWSTR) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptResolveProviders(pszcontext: ::windows_sys::core::PCWSTR, dwinterface: u32, pszfunction: ::windows_sys::core::PCWSTR, pszprovider: ::windows_sys::core::PCWSTR, dwmode: BCRYPT_QUERY_PROVIDER_MODE, dwflags: BCRYPT_RESOLVE_PROVIDERS_FLAGS, pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_PROVIDER_REFS) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptSecretAgreement(hprivkey: BCRYPT_KEY_HANDLE, hpubkey: BCRYPT_KEY_HANDLE, phagreedsecret: *mut BCRYPT_SECRET_HANDLE, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptSetContextFunctionProperty(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pszfunction: ::windows_sys::core::PCWSTR, pszproperty: ::windows_sys::core::PCWSTR, cbvalue: u32, pbvalue: *const u8) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptSetProperty(hobject: BCRYPT_HANDLE, pszproperty: ::windows_sys::core::PCWSTR, pbinput: *const u8, cbinput: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptSignHash(hkey: BCRYPT_KEY_HANDLE, ppaddinginfo: *const ::core::ffi::c_void, pbinput: *const u8, cbinput: u32, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: NCRYPT_FLAGS) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptUnregisterConfigChangeNotify(hevent: super::super::Foundation::HANDLE) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BCryptVerifySignature(hkey: BCRYPT_KEY_HANDLE, ppaddinginfo: *const ::core::ffi::c_void, pbhash: *const u8, cbhash: u32, pbsignature: *const u8, cbsignature: u32, dwflags: NCRYPT_FLAGS) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertAddCRLContextToStore(hcertstore: HCERTSTORE, pcrlcontext: *const CRL_CONTEXT, dwadddisposition: u32, ppstorecontext: *mut *mut CRL_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertAddCRLLinkToStore(hcertstore: HCERTSTORE, pcrlcontext: *const CRL_CONTEXT, dwadddisposition: u32, ppstorecontext: *mut *mut CRL_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertAddCTLContextToStore(hcertstore: HCERTSTORE, pctlcontext: *const CTL_CONTEXT, dwadddisposition: u32, ppstorecontext: *mut *mut CTL_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertAddCTLLinkToStore(hcertstore: HCERTSTORE, pctlcontext: *const CTL_CONTEXT, dwadddisposition: u32, ppstorecontext: *mut *mut CTL_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertAddCertificateContextToStore(hcertstore: HCERTSTORE, pcertcontext: *const CERT_CONTEXT, dwadddisposition: u32, ppstorecontext: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertAddCertificateLinkToStore(hcertstore: HCERTSTORE, pcertcontext: *const CERT_CONTEXT, dwadddisposition: u32, ppstorecontext: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertAddEncodedCRLToStore(hcertstore: HCERTSTORE, dwcertencodingtype: u32, pbcrlencoded: *const u8, cbcrlencoded: u32, dwadddisposition: u32, ppcrlcontext: *mut *mut CRL_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertAddEncodedCTLToStore(hcertstore: HCERTSTORE, dwmsgandcertencodingtype: u32, pbctlencoded: *const u8, cbctlencoded: u32, dwadddisposition: u32, ppctlcontext: *mut *mut CTL_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertAddEncodedCertificateToStore(hcertstore: HCERTSTORE, dwcertencodingtype: u32, pbcertencoded: *const u8, cbcertencoded: u32, dwadddisposition: u32, ppcertcontext: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertAddEncodedCertificateToSystemStoreA(szcertstorename: ::windows_sys::core::PCSTR, pbcertencoded: *const u8, cbcertencoded: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertAddEncodedCertificateToSystemStoreW(szcertstorename: ::windows_sys::core::PCWSTR, pbcertencoded: *const u8, cbcertencoded: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertAddEnhancedKeyUsageIdentifier(pcertcontext: *const CERT_CONTEXT, pszusageidentifier: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CertAddRefServerOcspResponse(hserverocspresponse: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CertAddRefServerOcspResponseContext(pserverocspresponsecontext: *const CERT_SERVER_OCSP_RESPONSE_CONTEXT); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertAddSerializedElementToStore(hcertstore: HCERTSTORE, pbelement: *const u8, cbelement: u32, dwadddisposition: u32, dwflags: u32, dwcontexttypeflags: u32, pdwcontexttype: *mut u32, ppvcontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertAddStoreToCollection(hcollectionstore: HCERTSTORE, hsiblingstore: HCERTSTORE, dwupdateflags: u32, dwpriority: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CertAlgIdToOID(dwalgid: u32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CertCloseServerOcspResponse(hserverocspresponse: *const ::core::ffi::c_void, dwflags: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertCloseStore(hcertstore: HCERTSTORE, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertCompareCertificate(dwcertencodingtype: u32, pcertid1: *const CERT_INFO, pcertid2: *const CERT_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertCompareCertificateName(dwcertencodingtype: u32, pcertname1: *const CRYPTOAPI_BLOB, pcertname2: *const CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertCompareIntegerBlob(pint1: *const CRYPTOAPI_BLOB, pint2: *const CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertComparePublicKeyInfo(dwcertencodingtype: u32, ppublickey1: *const CERT_PUBLIC_KEY_INFO, ppublickey2: *const CERT_PUBLIC_KEY_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertControlStore(hcertstore: HCERTSTORE, dwflags: CERT_CONTROL_STORE_FLAGS, dwctrltype: u32, pvctrlpara: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertCreateCRLContext(dwcertencodingtype: u32, pbcrlencoded: *const u8, cbcrlencoded: u32) -> *mut CRL_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertCreateCTLContext(dwmsgandcertencodingtype: u32, pbctlencoded: *const u8, cbctlencoded: u32) -> *mut CTL_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertCreateCTLEntryFromCertificateContextProperties(pcertcontext: *const CERT_CONTEXT, coptattr: u32, rgoptattr: *const CRYPT_ATTRIBUTE, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, pctlentry: *mut CTL_ENTRY, pcbctlentry: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertCreateCertificateChainEngine(pconfig: *const CERT_CHAIN_ENGINE_CONFIG, phchainengine: *mut HCERTCHAINENGINE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertCreateCertificateContext(dwcertencodingtype: u32, pbcertencoded: *const u8, cbcertencoded: u32) -> *mut CERT_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertCreateContext(dwcontexttype: u32, dwencodingtype: u32, pbencoded: *const u8, cbencoded: u32, dwflags: u32, pcreatepara: *const CERT_CREATE_CONTEXT_PARA) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertCreateSelfSignCertificate(hcryptprovorncryptkey: HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, psubjectissuerblob: *const CRYPTOAPI_BLOB, dwflags: CERT_CREATE_SELFSIGN_FLAGS, pkeyprovinfo: *const CRYPT_KEY_PROV_INFO, psignaturealgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, pstarttime: *const super::super::Foundation::SYSTEMTIME, pendtime: *const super::super::Foundation::SYSTEMTIME, pextensions: *const CERT_EXTENSIONS) -> *mut CERT_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertDeleteCRLFromStore(pcrlcontext: *const CRL_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertDeleteCTLFromStore(pctlcontext: *const CTL_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertDeleteCertificateFromStore(pcertcontext: *const CERT_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertDuplicateCRLContext(pcrlcontext: *const CRL_CONTEXT) -> *mut CRL_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertDuplicateCTLContext(pctlcontext: *const CTL_CONTEXT) -> *mut CTL_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertDuplicateCertificateChain(pchaincontext: *const CERT_CHAIN_CONTEXT) -> *mut CERT_CHAIN_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertDuplicateCertificateContext(pcertcontext: *const CERT_CONTEXT) -> *mut CERT_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CertDuplicateStore(hcertstore: HCERTSTORE) -> HCERTSTORE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertEnumCRLContextProperties(pcrlcontext: *const CRL_CONTEXT, dwpropid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertEnumCRLsInStore(hcertstore: HCERTSTORE, pprevcrlcontext: *const CRL_CONTEXT) -> *mut CRL_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertEnumCTLContextProperties(pctlcontext: *const CTL_CONTEXT, dwpropid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertEnumCTLsInStore(hcertstore: HCERTSTORE, pprevctlcontext: *const CTL_CONTEXT) -> *mut CTL_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertEnumCertificateContextProperties(pcertcontext: *const CERT_CONTEXT, dwpropid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertEnumCertificatesInStore(hcertstore: HCERTSTORE, pprevcertcontext: *const CERT_CONTEXT) -> *mut CERT_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertEnumPhysicalStore(pvsystemstore: *const ::core::ffi::c_void, dwflags: u32, pvarg: *mut ::core::ffi::c_void, pfnenum: PFN_CERT_ENUM_PHYSICAL_STORE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertEnumSubjectInSortedCTL(pctlcontext: *const CTL_CONTEXT, ppvnextsubject: *mut *mut ::core::ffi::c_void, psubjectidentifier: *mut CRYPTOAPI_BLOB, pencodedattributes: *mut CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertEnumSystemStore(dwflags: u32, pvsystemstorelocationpara: *const ::core::ffi::c_void, pvarg: *mut ::core::ffi::c_void, pfnenum: PFN_CERT_ENUM_SYSTEM_STORE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertEnumSystemStoreLocation(dwflags: u32, pvarg: *mut ::core::ffi::c_void, pfnenum: PFN_CERT_ENUM_SYSTEM_STORE_LOCATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CertFindAttribute(pszobjid: ::windows_sys::core::PCSTR, cattr: u32, rgattr: *const CRYPT_ATTRIBUTE) -> *mut CRYPT_ATTRIBUTE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertFindCRLInStore(hcertstore: HCERTSTORE, dwcertencodingtype: u32, dwfindflags: u32, dwfindtype: u32, pvfindpara: *const ::core::ffi::c_void, pprevcrlcontext: *const CRL_CONTEXT) -> *mut CRL_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertFindCTLInStore(hcertstore: HCERTSTORE, dwmsgandcertencodingtype: u32, dwfindflags: u32, dwfindtype: CERT_FIND_TYPE, pvfindpara: *const ::core::ffi::c_void, pprevctlcontext: *const CTL_CONTEXT) -> *mut CTL_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertFindCertificateInCRL(pcert: *const CERT_CONTEXT, pcrlcontext: *const CRL_CONTEXT, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, ppcrlentry: *mut *mut CRL_ENTRY) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertFindCertificateInStore(hcertstore: HCERTSTORE, dwcertencodingtype: u32, dwfindflags: u32, dwfindtype: CERT_FIND_FLAGS, pvfindpara: *const ::core::ffi::c_void, pprevcertcontext: *const CERT_CONTEXT) -> *mut CERT_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertFindChainInStore(hcertstore: HCERTSTORE, dwcertencodingtype: u32, dwfindflags: CERT_FIND_CHAIN_IN_STORE_FLAGS, dwfindtype: u32, pvfindpara: *const ::core::ffi::c_void, pprevchaincontext: *const CERT_CHAIN_CONTEXT) -> *mut CERT_CHAIN_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertFindExtension(pszobjid: ::windows_sys::core::PCSTR, cextensions: u32, rgextensions: *const CERT_EXTENSION) -> *mut CERT_EXTENSION; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CertFindRDNAttr(pszobjid: ::windows_sys::core::PCSTR, pname: *const CERT_NAME_INFO) -> *mut CERT_RDN_ATTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertFindSubjectInCTL(dwencodingtype: u32, dwsubjecttype: u32, pvsubject: *const ::core::ffi::c_void, pctlcontext: *const CTL_CONTEXT, dwflags: u32) -> *mut CTL_ENTRY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertFindSubjectInSortedCTL(psubjectidentifier: *const CRYPTOAPI_BLOB, pctlcontext: *const CTL_CONTEXT, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, pencodedattributes: *mut CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertFreeCRLContext(pcrlcontext: *const CRL_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertFreeCTLContext(pctlcontext: *const CTL_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertFreeCertificateChain(pchaincontext: *const CERT_CHAIN_CONTEXT); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CertFreeCertificateChainEngine(hchainengine: HCERTCHAINENGINE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertFreeCertificateChainList(prgpselection: *const *const CERT_CHAIN_CONTEXT); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertFreeCertificateContext(pcertcontext: *const CERT_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CertFreeServerOcspResponseContext(pserverocspresponsecontext: *const CERT_SERVER_OCSP_RESPONSE_CONTEXT); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertGetCRLContextProperty(pcrlcontext: *const CRL_CONTEXT, dwpropid: u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertGetCRLFromStore(hcertstore: HCERTSTORE, pissuercontext: *const CERT_CONTEXT, pprevcrlcontext: *const CRL_CONTEXT, pdwflags: *mut u32) -> *mut CRL_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertGetCTLContextProperty(pctlcontext: *const CTL_CONTEXT, dwpropid: u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertGetCertificateChain(hchainengine: HCERTCHAINENGINE, pcertcontext: *const CERT_CONTEXT, ptime: *const super::super::Foundation::FILETIME, hadditionalstore: HCERTSTORE, pchainpara: *const CERT_CHAIN_PARA, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, ppchaincontext: *mut *mut CERT_CHAIN_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertGetCertificateContextProperty(pcertcontext: *const CERT_CONTEXT, dwpropid: u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertGetEnhancedKeyUsage(pcertcontext: *const CERT_CONTEXT, dwflags: u32, pusage: *mut CTL_USAGE, pcbusage: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertGetIntendedKeyUsage(dwcertencodingtype: u32, pcertinfo: *const CERT_INFO, pbkeyusage: *mut u8, cbkeyusage: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertGetIssuerCertificateFromStore(hcertstore: HCERTSTORE, psubjectcontext: *const CERT_CONTEXT, pprevissuercontext: *const CERT_CONTEXT, pdwflags: *mut u32) -> *mut CERT_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertGetNameStringA(pcertcontext: *const CERT_CONTEXT, dwtype: u32, dwflags: u32, pvtypepara: *const ::core::ffi::c_void, psznamestring: ::windows_sys::core::PSTR, cchnamestring: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertGetNameStringW(pcertcontext: *const CERT_CONTEXT, dwtype: u32, dwflags: u32, pvtypepara: *const ::core::ffi::c_void, psznamestring: ::windows_sys::core::PWSTR, cchnamestring: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CertGetPublicKeyLength(dwcertencodingtype: u32, ppublickey: *const CERT_PUBLIC_KEY_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CertGetServerOcspResponseContext(hserverocspresponse: *const ::core::ffi::c_void, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> *mut CERT_SERVER_OCSP_RESPONSE_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertGetStoreProperty(hcertstore: HCERTSTORE, dwpropid: u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertGetSubjectCertificateFromStore(hcertstore: HCERTSTORE, dwcertencodingtype: u32, pcertid: *const CERT_INFO) -> *mut CERT_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertGetValidUsages(ccerts: u32, rghcerts: *const *const CERT_CONTEXT, cnumoids: *mut i32, rghoids: *mut ::windows_sys::core::PSTR, pcboids: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertIsRDNAttrsInCertificateName(dwcertencodingtype: u32, dwflags: u32, pcertname: *const CRYPTOAPI_BLOB, prdn: *const CERT_RDN) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertIsStrongHashToSign(pstrongsignpara: *const CERT_STRONG_SIGN_PARA, pwszcnghashalgid: ::windows_sys::core::PCWSTR, psigningcert: *const CERT_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertIsValidCRLForCertificate(pcert: *const CERT_CONTEXT, pcrl: *const CRL_CONTEXT, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertIsWeakHash(dwhashusetype: u32, pwszcnghashalgid: ::windows_sys::core::PCWSTR, dwchainflags: u32, psignerchaincontext: *const CERT_CHAIN_CONTEXT, ptimestamp: *const super::super::Foundation::FILETIME, pwszfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CertNameToStrA(dwcertencodingtype: u32, pname: *const CRYPTOAPI_BLOB, dwstrtype: CERT_STRING_TYPE, psz: ::windows_sys::core::PSTR, csz: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CertNameToStrW(dwcertencodingtype: u32, pname: *const CRYPTOAPI_BLOB, dwstrtype: CERT_STRING_TYPE, psz: ::windows_sys::core::PWSTR, csz: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CertOIDToAlgId(pszobjid: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertOpenServerOcspResponse(pchaincontext: *const CERT_CHAIN_CONTEXT, dwflags: u32, popenpara: *const CERT_SERVER_OCSP_RESPONSE_OPEN_PARA) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CertOpenStore(lpszstoreprovider: ::windows_sys::core::PCSTR, dwencodingtype: CERT_QUERY_ENCODING_TYPE, hcryptprov: HCRYPTPROV_LEGACY, dwflags: CERT_OPEN_STORE_FLAGS, pvpara: *const ::core::ffi::c_void) -> HCERTSTORE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CertOpenSystemStoreA(hprov: HCRYPTPROV_LEGACY, szsubsystemprotocol: ::windows_sys::core::PCSTR) -> HCERTSTORE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CertOpenSystemStoreW(hprov: HCRYPTPROV_LEGACY, szsubsystemprotocol: ::windows_sys::core::PCWSTR) -> HCERTSTORE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CertRDNValueToStrA(dwvaluetype: u32, pvalue: *const CRYPTOAPI_BLOB, psz: ::windows_sys::core::PSTR, csz: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CertRDNValueToStrW(dwvaluetype: u32, pvalue: *const CRYPTOAPI_BLOB, psz: ::windows_sys::core::PWSTR, csz: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertRegisterPhysicalStore(pvsystemstore: *const ::core::ffi::c_void, dwflags: u32, pwszstorename: ::windows_sys::core::PCWSTR, pstoreinfo: *const CERT_PHYSICAL_STORE_INFO, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertRegisterSystemStore(pvsystemstore: *const ::core::ffi::c_void, dwflags: u32, pstoreinfo: *const CERT_SYSTEM_STORE_INFO, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertRemoveEnhancedKeyUsageIdentifier(pcertcontext: *const CERT_CONTEXT, pszusageidentifier: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CertRemoveStoreFromCollection(hcollectionstore: HCERTSTORE, hsiblingstore: HCERTSTORE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertResyncCertificateChainEngine(hchainengine: HCERTCHAINENGINE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertRetrieveLogoOrBiometricInfo(pcertcontext: *const CERT_CONTEXT, lpszlogoorbiometrictype: ::windows_sys::core::PCSTR, dwretrievalflags: u32, dwtimeout: u32, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, ppbdata: *mut *mut u8, pcbdata: *mut u32, ppwszmimetype: *mut ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertSaveStore(hcertstore: HCERTSTORE, dwencodingtype: CERT_QUERY_ENCODING_TYPE, dwsaveas: CERT_STORE_SAVE_AS, dwsaveto: CERT_STORE_SAVE_TO, pvsavetopara: *mut ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertSelectCertificateChains(pselectioncontext: *const ::windows_sys::core::GUID, dwflags: u32, pchainparameters: *const CERT_SELECT_CHAIN_PARA, ccriteria: u32, rgpcriteria: *const CERT_SELECT_CRITERIA, hstore: HCERTSTORE, pcselection: *mut u32, pprgpselection: *mut *mut *mut CERT_CHAIN_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertSerializeCRLStoreElement(pcrlcontext: *const CRL_CONTEXT, dwflags: u32, pbelement: *mut u8, pcbelement: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertSerializeCTLStoreElement(pctlcontext: *const CTL_CONTEXT, dwflags: u32, pbelement: *mut u8, pcbelement: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertSerializeCertificateStoreElement(pcertcontext: *const CERT_CONTEXT, dwflags: u32, pbelement: *mut u8, pcbelement: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertSetCRLContextProperty(pcrlcontext: *const CRL_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertSetCTLContextProperty(pctlcontext: *const CTL_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertSetCertificateContextPropertiesFromCTLEntry(pcertcontext: *const CERT_CONTEXT, pctlentry: *const CTL_ENTRY, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertSetCertificateContextProperty(pcertcontext: *const CERT_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertSetEnhancedKeyUsage(pcertcontext: *const CERT_CONTEXT, pusage: *const CTL_USAGE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertSetStoreProperty(hcertstore: HCERTSTORE, dwpropid: u32, dwflags: u32, pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertStrToNameA(dwcertencodingtype: u32, pszx500: ::windows_sys::core::PCSTR, dwstrtype: CERT_STRING_TYPE, pvreserved: *mut ::core::ffi::c_void, pbencoded: *mut u8, pcbencoded: *mut u32, ppszerror: *mut ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertStrToNameW(dwcertencodingtype: u32, pszx500: ::windows_sys::core::PCWSTR, dwstrtype: CERT_STRING_TYPE, pvreserved: *mut ::core::ffi::c_void, pbencoded: *mut u8, pcbencoded: *mut u32, ppszerror: *mut ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertUnregisterPhysicalStore(pvsystemstore: *const ::core::ffi::c_void, dwflags: u32, pwszstorename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertUnregisterSystemStore(pvsystemstore: *const ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertVerifyCRLRevocation(dwcertencodingtype: u32, pcertid: *const CERT_INFO, ccrlinfo: u32, rgpcrlinfo: *const *const CRL_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertVerifyCRLTimeValidity(ptimetoverify: *const super::super::Foundation::FILETIME, pcrlinfo: *const CRL_INFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertVerifyCTLUsage(dwencodingtype: u32, dwsubjecttype: u32, pvsubject: *const ::core::ffi::c_void, psubjectusage: *const CTL_USAGE, dwflags: u32, pverifyusagepara: *const CTL_VERIFY_USAGE_PARA, pverifyusagestatus: *mut CTL_VERIFY_USAGE_STATUS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertVerifyCertificateChainPolicy(pszpolicyoid: ::windows_sys::core::PCSTR, pchaincontext: *const CERT_CHAIN_CONTEXT, ppolicypara: *const CERT_CHAIN_POLICY_PARA, ppolicystatus: *mut CERT_CHAIN_POLICY_STATUS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertVerifyRevocation(dwencodingtype: u32, dwrevtype: u32, ccontext: u32, rgpvcontext: *const *const ::core::ffi::c_void, dwflags: u32, prevpara: *const CERT_REVOCATION_PARA, prevstatus: *mut CERT_REVOCATION_STATUS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertVerifySubjectCertificateContext(psubject: *const CERT_CONTEXT, pissuer: *const CERT_CONTEXT, pdwflags: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertVerifyTimeValidity(ptimetoverify: *const super::super::Foundation::FILETIME, pcertinfo: *const CERT_INFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CertVerifyValidityNesting(psubjectinfo: *const CERT_INFO, pissuerinfo: *const CERT_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CloseCryptoHandle(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptAcquireCertificatePrivateKey(pcert: *const CERT_CONTEXT, dwflags: CRYPT_ACQUIRE_FLAGS, pvparameters: *const ::core::ffi::c_void, phcryptprovorncryptkey: *mut HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, pdwkeyspec: *mut CERT_KEY_SPEC, pfcallerfreeprovorncryptkey: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptAcquireContextA(phprov: *mut usize, szcontainer: ::windows_sys::core::PCSTR, szprovider: ::windows_sys::core::PCSTR, dwprovtype: u32, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptAcquireContextW(phprov: *mut usize, szcontainer: ::windows_sys::core::PCWSTR, szprovider: ::windows_sys::core::PCWSTR, dwprovtype: u32, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptBinaryToStringA(pbbinary: *const u8, cbbinary: u32, dwflags: CRYPT_STRING, pszstring: ::windows_sys::core::PSTR, pcchstring: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptBinaryToStringW(pbbinary: *const u8, cbbinary: u32, dwflags: CRYPT_STRING, pszstring: ::windows_sys::core::PWSTR, pcchstring: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCloseAsyncHandle(hasync: HCRYPTASYNC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptContextAddRef(hprov: usize, pdwreserved: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCreateAsyncHandle(dwflags: u32, phasync: *mut HCRYPTASYNC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCreateHash(hprov: usize, algid: u32, hkey: usize, dwflags: u32, phhash: *mut usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptCreateKeyIdentifierFromCSP(dwcertencodingtype: u32, pszpubkeyoid: ::windows_sys::core::PCSTR, ppubkeystruc: *const PUBLICKEYSTRUC, cbpubkeystruc: u32, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, pbhash: *mut u8, pcbhash: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptDecodeMessage(dwmsgtypeflags: u32, pdecryptpara: *const CRYPT_DECRYPT_MESSAGE_PARA, pverifypara: *const CRYPT_VERIFY_MESSAGE_PARA, dwsignerindex: u32, pbencodedblob: *const u8, cbencodedblob: u32, dwprevinnercontenttype: u32, pdwmsgtype: *mut u32, pdwinnercontenttype: *mut u32, pbdecoded: *mut u8, pcbdecoded: *mut u32, ppxchgcert: *mut *mut CERT_CONTEXT, ppsignercert: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptDecodeObject(dwcertencodingtype: u32, lpszstructtype: ::windows_sys::core::PCSTR, pbencoded: *const u8, cbencoded: u32, dwflags: u32, pvstructinfo: *mut ::core::ffi::c_void, pcbstructinfo: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptDecodeObjectEx(dwcertencodingtype: u32, lpszstructtype: ::windows_sys::core::PCSTR, pbencoded: *const u8, cbencoded: u32, dwflags: u32, pdecodepara: *const CRYPT_DECODE_PARA, pvstructinfo: *mut ::core::ffi::c_void, pcbstructinfo: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptDecrypt(hkey: usize, hhash: usize, r#final: super::super::Foundation::BOOL, dwflags: u32, pbdata: *mut u8, pdwdatalen: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptDecryptAndVerifyMessageSignature(pdecryptpara: *const CRYPT_DECRYPT_MESSAGE_PARA, pverifypara: *const CRYPT_VERIFY_MESSAGE_PARA, dwsignerindex: u32, pbencryptedblob: *const u8, cbencryptedblob: u32, pbdecrypted: *mut u8, pcbdecrypted: *mut u32, ppxchgcert: *mut *mut CERT_CONTEXT, ppsignercert: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptDecryptMessage(pdecryptpara: *const CRYPT_DECRYPT_MESSAGE_PARA, pbencryptedblob: *const u8, cbencryptedblob: u32, pbdecrypted: *mut u8, pcbdecrypted: *mut u32, ppxchgcert: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptDeriveKey(hprov: usize, algid: u32, hbasedata: usize, dwflags: u32, phkey: *mut usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptDestroyHash(hhash: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptDestroyKey(hkey: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptDuplicateHash(hhash: usize, pdwreserved: *mut u32, dwflags: u32, phhash: *mut usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptDuplicateKey(hkey: usize, pdwreserved: *mut u32, dwflags: u32, phkey: *mut usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptEncodeObject(dwcertencodingtype: u32, lpszstructtype: ::windows_sys::core::PCSTR, pvstructinfo: *const ::core::ffi::c_void, pbencoded: *mut u8, pcbencoded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptEncodeObjectEx(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, lpszstructtype: ::windows_sys::core::PCSTR, pvstructinfo: *const ::core::ffi::c_void, dwflags: CRYPT_ENCODE_OBJECT_FLAGS, pencodepara: *const CRYPT_ENCODE_PARA, pvencoded: *mut ::core::ffi::c_void, pcbencoded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptEncrypt(hkey: usize, hhash: usize, r#final: super::super::Foundation::BOOL, dwflags: u32, pbdata: *mut u8, pdwdatalen: *mut u32, dwbuflen: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptEncryptMessage(pencryptpara: *const CRYPT_ENCRYPT_MESSAGE_PARA, crecipientcert: u32, rgprecipientcert: *const *const CERT_CONTEXT, pbtobeencrypted: *const u8, cbtobeencrypted: u32, pbencryptedblob: *mut u8, pcbencryptedblob: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptEnumKeyIdentifierProperties(pkeyidentifier: *const CRYPTOAPI_BLOB, dwpropid: u32, dwflags: u32, pwszcomputername: ::windows_sys::core::PCWSTR, pvreserved: *mut ::core::ffi::c_void, pvarg: *mut ::core::ffi::c_void, pfnenum: PFN_CRYPT_ENUM_KEYID_PROP) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptEnumOIDFunction(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, pszoid: ::windows_sys::core::PCSTR, dwflags: u32, pvarg: *mut ::core::ffi::c_void, pfnenumoidfunc: PFN_CRYPT_ENUM_OID_FUNC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptEnumOIDInfo(dwgroupid: u32, dwflags: u32, pvarg: *mut ::core::ffi::c_void, pfnenumoidinfo: PFN_CRYPT_ENUM_OID_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptEnumProviderTypesA(dwindex: u32, pdwreserved: *mut u32, dwflags: u32, pdwprovtype: *mut u32, sztypename: ::windows_sys::core::PSTR, pcbtypename: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptEnumProviderTypesW(dwindex: u32, pdwreserved: *mut u32, dwflags: u32, pdwprovtype: *mut u32, sztypename: ::windows_sys::core::PWSTR, pcbtypename: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptEnumProvidersA(dwindex: u32, pdwreserved: *mut u32, dwflags: u32, pdwprovtype: *mut u32, szprovname: ::windows_sys::core::PSTR, pcbprovname: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptEnumProvidersW(dwindex: u32, pdwreserved: *mut u32, dwflags: u32, pdwprovtype: *mut u32, szprovname: ::windows_sys::core::PWSTR, pcbprovname: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptExportKey(hkey: usize, hexpkey: usize, dwblobtype: u32, dwflags: CRYPT_KEY_FLAGS, pbdata: *mut u8, pdwdatalen: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptExportPKCS8(hcryptprov: usize, dwkeyspec: u32, pszprivatekeyobjid: ::windows_sys::core::PCSTR, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, pbprivatekeyblob: *mut u8, pcbprivatekeyblob: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptExportPublicKeyInfo(hcryptprovorncryptkey: HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec: u32, dwcertencodingtype: u32, pinfo: *mut CERT_PUBLIC_KEY_INFO, pcbinfo: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptExportPublicKeyInfoEx(hcryptprovorncryptkey: HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec: u32, dwcertencodingtype: u32, pszpublickeyobjid: ::windows_sys::core::PCSTR, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, pinfo: *mut CERT_PUBLIC_KEY_INFO, pcbinfo: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptExportPublicKeyInfoFromBCryptKeyHandle(hbcryptkey: BCRYPT_KEY_HANDLE, dwcertencodingtype: u32, pszpublickeyobjid: ::windows_sys::core::PCSTR, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, pinfo: *mut CERT_PUBLIC_KEY_INFO, pcbinfo: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptFindCertificateKeyProvInfo(pcert: *const CERT_CONTEXT, dwflags: CRYPT_FIND_FLAGS, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptFindLocalizedName(pwszcryptname: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptFindOIDInfo(dwkeytype: u32, pvkey: *const ::core::ffi::c_void, dwgroupid: u32) -> *mut CRYPT_OID_INFO; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptFormatObject(dwcertencodingtype: u32, dwformattype: u32, dwformatstrtype: u32, pformatstruct: *const ::core::ffi::c_void, lpszstructtype: ::windows_sys::core::PCSTR, pbencoded: *const u8, cbencoded: u32, pbformat: *mut ::core::ffi::c_void, pcbformat: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptFreeOIDFunctionAddress(hfuncaddr: *const ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptGenKey(hprov: usize, algid: u32, dwflags: CRYPT_KEY_FLAGS, phkey: *mut usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptGenRandom(hprov: usize, dwlen: u32, pbbuffer: *mut u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptGetAsyncParam(hasync: HCRYPTASYNC, pszparamoid: ::windows_sys::core::PCSTR, ppvparam: *mut *mut ::core::ffi::c_void, ppfnfree: *mut PFN_CRYPT_ASYNC_PARAM_FREE_FUNC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptGetDefaultOIDDllList(hfuncset: *const ::core::ffi::c_void, dwencodingtype: u32, pwszdlllist: ::windows_sys::core::PWSTR, pcchdlllist: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptGetDefaultOIDFunctionAddress(hfuncset: *const ::core::ffi::c_void, dwencodingtype: u32, pwszdll: ::windows_sys::core::PCWSTR, dwflags: u32, ppvfuncaddr: *mut *mut ::core::ffi::c_void, phfuncaddr: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptGetDefaultProviderA(dwprovtype: u32, pdwreserved: *mut u32, dwflags: u32, pszprovname: ::windows_sys::core::PSTR, pcbprovname: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptGetDefaultProviderW(dwprovtype: u32, pdwreserved: *mut u32, dwflags: u32, pszprovname: ::windows_sys::core::PWSTR, pcbprovname: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptGetHashParam(hhash: usize, dwparam: u32, pbdata: *mut u8, pdwdatalen: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptGetKeyIdentifierProperty(pkeyidentifier: *const CRYPTOAPI_BLOB, dwpropid: u32, dwflags: u32, pwszcomputername: ::windows_sys::core::PCWSTR, pvreserved: *mut ::core::ffi::c_void, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptGetKeyParam(hkey: usize, dwparam: CRYPT_KEY_PARAM_ID, pbdata: *mut u8, pdwdatalen: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptGetMessageCertificates(dwmsgandcertencodingtype: u32, hcryptprov: HCRYPTPROV_LEGACY, dwflags: u32, pbsignedblob: *const u8, cbsignedblob: u32) -> HCERTSTORE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptGetMessageSignerCount(dwmsgencodingtype: u32, pbsignedblob: *const u8, cbsignedblob: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptGetOIDFunctionAddress(hfuncset: *const ::core::ffi::c_void, dwencodingtype: u32, pszoid: ::windows_sys::core::PCSTR, dwflags: u32, ppvfuncaddr: *mut *mut ::core::ffi::c_void, phfuncaddr: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptGetOIDFunctionValue(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, pszoid: ::windows_sys::core::PCSTR, pwszvaluename: ::windows_sys::core::PCWSTR, pdwvaluetype: *mut u32, pbvaluedata: *mut u8, pcbvaluedata: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptGetObjectUrl(pszurloid: ::windows_sys::core::PCSTR, pvpara: *const ::core::ffi::c_void, dwflags: CRYPT_GET_URL_FLAGS, purlarray: *mut CRYPT_URL_ARRAY, pcburlarray: *mut u32, purlinfo: *mut CRYPT_URL_INFO, pcburlinfo: *mut u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptGetProvParam(hprov: usize, dwparam: u32, pbdata: *mut u8, pdwdatalen: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptGetUserKey(hprov: usize, dwkeyspec: u32, phuserkey: *mut usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptHashCertificate(hcryptprov: HCRYPTPROV_LEGACY, algid: u32, dwflags: u32, pbencoded: *const u8, cbencoded: u32, pbcomputedhash: *mut u8, pcbcomputedhash: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptHashCertificate2(pwszcnghashalgid: ::windows_sys::core::PCWSTR, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, pbencoded: *const u8, cbencoded: u32, pbcomputedhash: *mut u8, pcbcomputedhash: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptHashData(hhash: usize, pbdata: *const u8, dwdatalen: u32, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptHashMessage(phashpara: *const CRYPT_HASH_MESSAGE_PARA, fdetachedhash: super::super::Foundation::BOOL, ctobehashed: u32, rgpbtobehashed: *const *const u8, rgcbtobehashed: *const u32, pbhashedblob: *mut u8, pcbhashedblob: *mut u32, pbcomputedhash: *mut u8, pcbcomputedhash: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptHashPublicKeyInfo(hcryptprov: HCRYPTPROV_LEGACY, algid: u32, dwflags: u32, dwcertencodingtype: u32, pinfo: *const CERT_PUBLIC_KEY_INFO, pbcomputedhash: *mut u8, pcbcomputedhash: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptHashSessionKey(hhash: usize, hkey: usize, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptHashToBeSigned(hcryptprov: HCRYPTPROV_LEGACY, dwcertencodingtype: u32, pbencoded: *const u8, cbencoded: u32, pbcomputedhash: *mut u8, pcbcomputedhash: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptImportKey(hprov: usize, pbdata: *const u8, dwdatalen: u32, hpubkey: usize, dwflags: CRYPT_KEY_FLAGS, phkey: *mut usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptImportPKCS8(sprivatekeyandparams: CRYPT_PKCS8_IMPORT_PARAMS, dwflags: CRYPT_KEY_FLAGS, phcryptprov: *mut usize, pvauxinfo: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptImportPublicKeyInfo(hcryptprov: usize, dwcertencodingtype: u32, pinfo: *const CERT_PUBLIC_KEY_INFO, phkey: *mut usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptImportPublicKeyInfoEx(hcryptprov: usize, dwcertencodingtype: u32, pinfo: *const CERT_PUBLIC_KEY_INFO, aikeyalg: u32, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, phkey: *mut usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptImportPublicKeyInfoEx2(dwcertencodingtype: u32, pinfo: *const CERT_PUBLIC_KEY_INFO, dwflags: CRYPT_IMPORT_PUBLIC_KEY_FLAGS, pvauxinfo: *const ::core::ffi::c_void, phkey: *mut BCRYPT_KEY_HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptInitOIDFunctionSet(pszfuncname: ::windows_sys::core::PCSTR, dwflags: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptInstallCancelRetrieval(pfncancel: PFN_CRYPT_CANCEL_RETRIEVAL, pvarg: *const ::core::ffi::c_void, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptInstallDefaultContext(hcryptprov: usize, dwdefaulttype: CRYPT_DEFAULT_CONTEXT_TYPE, pvdefaultpara: *const ::core::ffi::c_void, dwflags: CRYPT_DEFAULT_CONTEXT_FLAGS, pvreserved: *mut ::core::ffi::c_void, phdefaultcontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptInstallOIDFunctionAddress(hmodule: super::super::Foundation::HINSTANCE, dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, cfuncentry: u32, rgfuncentry: *const CRYPT_OID_FUNC_ENTRY, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptMemAlloc(cbsize: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptMemFree(pv: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptMemRealloc(pv: *const ::core::ffi::c_void, cbsize: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptMsgCalculateEncodedLength(dwmsgencodingtype: u32, dwflags: u32, dwmsgtype: u32, pvmsgencodeinfo: *const ::core::ffi::c_void, pszinnercontentobjid: ::windows_sys::core::PCSTR, cbdata: u32) -> u32; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptMsgClose(hcryptmsg: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptMsgControl(hcryptmsg: *const ::core::ffi::c_void, dwflags: u32, dwctrltype: u32, pvctrlpara: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptMsgCountersign(hcryptmsg: *const ::core::ffi::c_void, dwindex: u32, ccountersigners: u32, rgcountersigners: *const CMSG_SIGNER_ENCODE_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptMsgCountersignEncoded(dwencodingtype: u32, pbsignerinfo: *const u8, cbsignerinfo: u32, ccountersigners: u32, rgcountersigners: *const CMSG_SIGNER_ENCODE_INFO, pbcountersignature: *mut u8, pcbcountersignature: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptMsgDuplicate(hcryptmsg: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptMsgEncodeAndSignCTL(dwmsgencodingtype: u32, pctlinfo: *const CTL_INFO, psigninfo: *const CMSG_SIGNED_ENCODE_INFO, dwflags: u32, pbencoded: *mut u8, pcbencoded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptMsgGetAndVerifySigner(hcryptmsg: *const ::core::ffi::c_void, csignerstore: u32, rghsignerstore: *const HCERTSTORE, dwflags: u32, ppsigner: *mut *mut CERT_CONTEXT, pdwsignerindex: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptMsgGetParam(hcryptmsg: *const ::core::ffi::c_void, dwparamtype: u32, dwindex: u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptMsgOpenToDecode(dwmsgencodingtype: u32, dwflags: u32, dwmsgtype: u32, hcryptprov: HCRYPTPROV_LEGACY, precipientinfo: *mut CERT_INFO, pstreaminfo: *const CMSG_STREAM_INFO) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptMsgOpenToEncode(dwmsgencodingtype: u32, dwflags: u32, dwmsgtype: CRYPT_MSG_TYPE, pvmsgencodeinfo: *const ::core::ffi::c_void, pszinnercontentobjid: ::windows_sys::core::PCSTR, pstreaminfo: *const CMSG_STREAM_INFO) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptMsgSignCTL(dwmsgencodingtype: u32, pbctlcontent: *const u8, cbctlcontent: u32, psigninfo: *const CMSG_SIGNED_ENCODE_INFO, dwflags: u32, pbencoded: *mut u8, pcbencoded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptMsgUpdate(hcryptmsg: *const ::core::ffi::c_void, pbdata: *const u8, cbdata: u32, ffinal: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptMsgVerifyCountersignatureEncoded(hcryptprov: HCRYPTPROV_LEGACY, dwencodingtype: u32, pbsignerinfo: *const u8, cbsignerinfo: u32, pbsignerinfocountersignature: *const u8, cbsignerinfocountersignature: u32, pcicountersigner: *const CERT_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptMsgVerifyCountersignatureEncodedEx(hcryptprov: HCRYPTPROV_LEGACY, dwencodingtype: u32, pbsignerinfo: *const u8, cbsignerinfo: u32, pbsignerinfocountersignature: *const u8, cbsignerinfocountersignature: u32, dwsignertype: u32, pvsigner: *const ::core::ffi::c_void, dwflags: u32, pvextra: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptProtectData(pdatain: *const CRYPTOAPI_BLOB, szdatadescr: ::windows_sys::core::PCWSTR, poptionalentropy: *const CRYPTOAPI_BLOB, pvreserved: *mut ::core::ffi::c_void, ppromptstruct: *const CRYPTPROTECT_PROMPTSTRUCT, dwflags: u32, pdataout: *mut CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptProtectMemory(pdatain: *mut ::core::ffi::c_void, cbdatain: u32, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptQueryObject(dwobjecttype: CERT_QUERY_OBJECT_TYPE, pvobject: *const ::core::ffi::c_void, dwexpectedcontenttypeflags: CERT_QUERY_CONTENT_TYPE_FLAGS, dwexpectedformattypeflags: CERT_QUERY_FORMAT_TYPE_FLAGS, dwflags: u32, pdwmsgandcertencodingtype: *mut CERT_QUERY_ENCODING_TYPE, pdwcontenttype: *mut CERT_QUERY_CONTENT_TYPE, pdwformattype: *mut CERT_QUERY_FORMAT_TYPE, phcertstore: *mut HCERTSTORE, phmsg: *mut *mut ::core::ffi::c_void, ppvcontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptRegisterDefaultOIDFunction(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, dwindex: u32, pwszdll: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptRegisterOIDFunction(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, pszoid: ::windows_sys::core::PCSTR, pwszdll: ::windows_sys::core::PCWSTR, pszoverridefuncname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptRegisterOIDInfo(pinfo: *const CRYPT_OID_INFO, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptReleaseContext(hprov: usize, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptRetrieveObjectByUrlA(pszurl: ::windows_sys::core::PCSTR, pszobjectoid: ::windows_sys::core::PCSTR, dwretrievalflags: u32, dwtimeout: u32, ppvobject: *mut *mut ::core::ffi::c_void, hasyncretrieve: HCRYPTASYNC, pcredentials: *const CRYPT_CREDENTIALS, pvverify: *const ::core::ffi::c_void, pauxinfo: *mut CRYPT_RETRIEVE_AUX_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptRetrieveObjectByUrlW(pszurl: ::windows_sys::core::PCWSTR, pszobjectoid: ::windows_sys::core::PCSTR, dwretrievalflags: u32, dwtimeout: u32, ppvobject: *mut *mut ::core::ffi::c_void, hasyncretrieve: HCRYPTASYNC, pcredentials: *const CRYPT_CREDENTIALS, pvverify: *const ::core::ffi::c_void, pauxinfo: *mut CRYPT_RETRIEVE_AUX_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptRetrieveTimeStamp(wszurl: ::windows_sys::core::PCWSTR, dwretrievalflags: u32, dwtimeout: u32, pszhashid: ::windows_sys::core::PCSTR, ppara: *const CRYPT_TIMESTAMP_PARA, pbdata: *const u8, cbdata: u32, pptscontext: *mut *mut CRYPT_TIMESTAMP_CONTEXT, pptssigner: *mut *mut CERT_CONTEXT, phstore: *mut HCERTSTORE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptSetAsyncParam(hasync: HCRYPTASYNC, pszparamoid: ::windows_sys::core::PCSTR, pvparam: *const ::core::ffi::c_void, pfnfree: PFN_CRYPT_ASYNC_PARAM_FREE_FUNC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptSetHashParam(hhash: usize, dwparam: CRYPT_SET_HASH_PARAM, pbdata: *const u8, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptSetKeyIdentifierProperty(pkeyidentifier: *const CRYPTOAPI_BLOB, dwpropid: u32, dwflags: u32, pwszcomputername: ::windows_sys::core::PCWSTR, pvreserved: *mut ::core::ffi::c_void, pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptSetKeyParam(hkey: usize, dwparam: CRYPT_KEY_PARAM_ID, pbdata: *const u8, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn CryptSetOIDFunctionValue(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, pszoid: ::windows_sys::core::PCSTR, pwszvaluename: ::windows_sys::core::PCWSTR, dwvaluetype: super::super::System::Registry::REG_VALUE_TYPE, pbvaluedata: *const u8, cbvaluedata: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptSetProvParam(hprov: usize, dwparam: CRYPT_SET_PROV_PARAM_ID, pbdata: *const u8, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptSetProviderA(pszprovname: ::windows_sys::core::PCSTR, dwprovtype: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptSetProviderExA(pszprovname: ::windows_sys::core::PCSTR, dwprovtype: u32, pdwreserved: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptSetProviderExW(pszprovname: ::windows_sys::core::PCWSTR, dwprovtype: u32, pdwreserved: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptSetProviderW(pszprovname: ::windows_sys::core::PCWSTR, dwprovtype: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptSignAndEncodeCertificate(hcryptprovorncryptkey: HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec: CERT_KEY_SPEC, dwcertencodingtype: u32, lpszstructtype: ::windows_sys::core::PCSTR, pvstructinfo: *const ::core::ffi::c_void, psignaturealgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, pvhashauxinfo: *const ::core::ffi::c_void, pbencoded: *mut u8, pcbencoded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptSignAndEncryptMessage(psignpara: *const CRYPT_SIGN_MESSAGE_PARA, pencryptpara: *const CRYPT_ENCRYPT_MESSAGE_PARA, crecipientcert: u32, rgprecipientcert: *const *const CERT_CONTEXT, pbtobesignedandencrypted: *const u8, cbtobesignedandencrypted: u32, pbsignedandencryptedblob: *mut u8, pcbsignedandencryptedblob: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptSignCertificate(hcryptprovorncryptkey: HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec: u32, dwcertencodingtype: u32, pbencodedtobesigned: *const u8, cbencodedtobesigned: u32, psignaturealgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, pvhashauxinfo: *const ::core::ffi::c_void, pbsignature: *mut u8, pcbsignature: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptSignHashA(hhash: usize, dwkeyspec: u32, szdescription: ::windows_sys::core::PCSTR, dwflags: u32, pbsignature: *mut u8, pdwsiglen: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptSignHashW(hhash: usize, dwkeyspec: u32, szdescription: ::windows_sys::core::PCWSTR, dwflags: u32, pbsignature: *mut u8, pdwsiglen: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptSignMessage(psignpara: *const CRYPT_SIGN_MESSAGE_PARA, fdetachedsignature: super::super::Foundation::BOOL, ctobesigned: u32, rgpbtobesigned: *const *const u8, rgcbtobesigned: *const u32, pbsignedblob: *mut u8, pcbsignedblob: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptSignMessageWithKey(psignpara: *const CRYPT_KEY_SIGN_MESSAGE_PARA, pbtobesigned: *const u8, cbtobesigned: u32, pbsignedblob: *mut u8, pcbsignedblob: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptStringToBinaryA(pszstring: ::windows_sys::core::PCSTR, cchstring: u32, dwflags: CRYPT_STRING, pbbinary: *mut u8, pcbbinary: *mut u32, pdwskip: *mut u32, pdwflags: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptStringToBinaryW(pszstring: ::windows_sys::core::PCWSTR, cchstring: u32, dwflags: CRYPT_STRING, pbbinary: *mut u8, pcbbinary: *mut u32, pdwskip: *mut u32, pdwflags: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptUninstallCancelRetrieval(dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptUninstallDefaultContext(hdefaultcontext: *const ::core::ffi::c_void, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptUnprotectData(pdatain: *const CRYPTOAPI_BLOB, ppszdatadescr: *mut ::windows_sys::core::PWSTR, poptionalentropy: *const CRYPTOAPI_BLOB, pvreserved: *mut ::core::ffi::c_void, ppromptstruct: *const CRYPTPROTECT_PROMPTSTRUCT, dwflags: u32, pdataout: *mut CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptUnprotectMemory(pdatain: *mut ::core::ffi::c_void, cbdatain: u32, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptUnregisterDefaultOIDFunction(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, pwszdll: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptUnregisterOIDFunction(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, pszoid: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptUnregisterOIDInfo(pinfo: *const CRYPT_OID_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptUpdateProtectedState(poldsid: super::super::Foundation::PSID, pwszoldpassword: ::windows_sys::core::PCWSTR, dwflags: u32, pdwsuccesscount: *mut u32, pdwfailurecount: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptVerifyCertificateSignature(hcryptprov: HCRYPTPROV_LEGACY, dwcertencodingtype: u32, pbencoded: *const u8, cbencoded: u32, ppublickey: *const CERT_PUBLIC_KEY_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptVerifyCertificateSignatureEx(hcryptprov: HCRYPTPROV_LEGACY, dwcertencodingtype: u32, dwsubjecttype: u32, pvsubject: *const ::core::ffi::c_void, dwissuertype: u32, pvissuer: *const ::core::ffi::c_void, dwflags: CRYPT_VERIFY_CERT_FLAGS, pvextra: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptVerifyDetachedMessageHash(phashpara: *const CRYPT_HASH_MESSAGE_PARA, pbdetachedhashblob: *const u8, cbdetachedhashblob: u32, ctobehashed: u32, rgpbtobehashed: *const *const u8, rgcbtobehashed: *const u32, pbcomputedhash: *mut u8, pcbcomputedhash: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptVerifyDetachedMessageSignature(pverifypara: *const CRYPT_VERIFY_MESSAGE_PARA, dwsignerindex: u32, pbdetachedsignblob: *const u8, cbdetachedsignblob: u32, ctobesigned: u32, rgpbtobesigned: *const *const u8, rgcbtobesigned: *const u32, ppsignercert: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptVerifyMessageHash(phashpara: *const CRYPT_HASH_MESSAGE_PARA, pbhashedblob: *const u8, cbhashedblob: u32, pbtobehashed: *mut u8, pcbtobehashed: *mut u32, pbcomputedhash: *mut u8, pcbcomputedhash: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptVerifyMessageSignature(pverifypara: *const CRYPT_VERIFY_MESSAGE_PARA, dwsignerindex: u32, pbsignedblob: *const u8, cbsignedblob: u32, pbdecoded: *mut u8, pcbdecoded: *mut u32, ppsignercert: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptVerifyMessageSignatureWithKey(pverifypara: *const CRYPT_KEY_VERIFY_MESSAGE_PARA, ppublickeyinfo: *const CERT_PUBLIC_KEY_INFO, pbsignedblob: *const u8, cbsignedblob: u32, pbdecoded: *mut u8, pcbdecoded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptVerifySignatureA(hhash: usize, pbsignature: *const u8, dwsiglen: u32, hpubkey: usize, szdescription: ::windows_sys::core::PCSTR, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptVerifySignatureW(hhash: usize, pbsignature: *const u8, dwsiglen: u32, hpubkey: usize, szdescription: ::windows_sys::core::PCWSTR, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptVerifyTimeStampSignature(pbtscontentinfo: *const u8, cbtscontentinfo: u32, pbdata: *const u8, cbdata: u32, hadditionalstore: HCERTSTORE, pptscontext: *mut *mut CRYPT_TIMESTAMP_CONTEXT, pptssigner: *mut *mut CERT_CONTEXT, phstore: *mut HCERTSTORE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptXmlAddObject(hsignatureorobject: *const ::core::ffi::c_void, dwflags: u32, rgproperty: *const CRYPT_XML_PROPERTY, cproperty: u32, pencoded: *const CRYPT_XML_BLOB, ppobject: *mut *mut CRYPT_XML_OBJECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptXmlClose(hcryptxml: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptXmlCreateReference(hcryptxml: *const ::core::ffi::c_void, dwflags: u32, wszid: ::windows_sys::core::PCWSTR, wszuri: ::windows_sys::core::PCWSTR, wsztype: ::windows_sys::core::PCWSTR, pdigestmethod: *const CRYPT_XML_ALGORITHM, ctransform: u32, rgtransform: *const CRYPT_XML_ALGORITHM, phreference: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptXmlDigestReference(hreference: *const ::core::ffi::c_void, dwflags: u32, pdataproviderin: *const CRYPT_XML_DATA_PROVIDER) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptXmlEncode(hcryptxml: *const ::core::ffi::c_void, dwcharset: CRYPT_XML_CHARSET, rgproperty: *const CRYPT_XML_PROPERTY, cproperty: u32, pvcallbackstate: *mut ::core::ffi::c_void, pfnwrite: PFN_CRYPT_XML_WRITE_CALLBACK) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CryptXmlEnumAlgorithmInfo(dwgroupid: u32, dwflags: u32, pvarg: *mut ::core::ffi::c_void, pfnenumalginfo: PFN_CRYPT_XML_ENUM_ALG_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptXmlFindAlgorithmInfo(dwfindbytype: u32, pvfindby: *const ::core::ffi::c_void, dwgroupid: u32, dwflags: u32) -> *mut CRYPT_XML_ALGORITHM_INFO; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptXmlGetAlgorithmInfo(pxmlalgorithm: *const CRYPT_XML_ALGORITHM, dwflags: CRYPT_XML_FLAGS, ppalginfo: *mut *mut CRYPT_XML_ALGORITHM_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptXmlGetDocContext(hcryptxml: *const ::core::ffi::c_void, ppstruct: *mut *mut CRYPT_XML_DOC_CTXT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptXmlGetReference(hcryptxml: *const ::core::ffi::c_void, ppstruct: *mut *mut CRYPT_XML_REFERENCE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptXmlGetSignature(hcryptxml: *const ::core::ffi::c_void, ppstruct: *mut *mut CRYPT_XML_SIGNATURE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptXmlGetStatus(hcryptxml: *const ::core::ffi::c_void, pstatus: *mut CRYPT_XML_STATUS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptXmlGetTransforms(ppconfig: *mut *mut CRYPT_XML_TRANSFORM_CHAIN_CONFIG) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptXmlImportPublicKey(dwflags: CRYPT_XML_FLAGS, pkeyvalue: *const CRYPT_XML_KEY_VALUE, phkey: *mut BCRYPT_KEY_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptXmlOpenToDecode(pconfig: *const CRYPT_XML_TRANSFORM_CHAIN_CONFIG, dwflags: CRYPT_XML_FLAGS, rgproperty: *const CRYPT_XML_PROPERTY, cproperty: u32, pencoded: *const CRYPT_XML_BLOB, phcryptxml: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptXmlOpenToEncode(pconfig: *const CRYPT_XML_TRANSFORM_CHAIN_CONFIG, dwflags: CRYPT_XML_FLAGS, wszid: ::windows_sys::core::PCWSTR, rgproperty: *const CRYPT_XML_PROPERTY, cproperty: u32, pencoded: *const CRYPT_XML_BLOB, phsignature: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptXmlSetHMACSecret(hsignature: *const ::core::ffi::c_void, pbsecret: *const u8, cbsecret: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptXmlSign(hsignature: *const ::core::ffi::c_void, hkey: HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec: CERT_KEY_SPEC, dwflags: CRYPT_XML_FLAGS, dwkeyinfospec: CRYPT_XML_KEYINFO_SPEC, pvkeyinfospec: *const ::core::ffi::c_void, psignaturemethod: *const CRYPT_XML_ALGORITHM, pcanonicalization: *const CRYPT_XML_ALGORITHM) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn CryptXmlVerifySignature(hsignature: *const ::core::ffi::c_void, hkey: BCRYPT_KEY_HANDLE, dwflags: CRYPT_XML_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Decrypt(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, foaep: super::super::Foundation::BOOL, cbindata: u32, pindata: *const u8, pcboutdata: *mut u32, ppoutdata: *mut *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Encrypt(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, foaep: super::super::Foundation::BOOL, cbindata: u32, pindata: *const u8, pcboutdata: *mut u32, ppoutdata: *mut *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn FindCertsByIssuer(pcertchains: *mut CERT_CHAIN, pcbcertchains: *mut u32, pccertchains: *mut u32, pbencodedissuername: *const u8, cbencodedissuername: u32, pwszpurpose: ::windows_sys::core::PCWSTR, dwkeyspec: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreeToken(pallocmemory: *const GENERIC_XML_TOKEN) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn GenerateDerivedKey(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, cblabel: u32, plabel: *const u8, cbnonce: u32, pnonce: *const u8, derivedkeylength: u32, offset: u32, algid: ::windows_sys::core::PCWSTR, pcbkey: *mut u32, ppkey: *mut *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn GetBrowserToken(dwparamtype: u32, pparam: *const ::core::ffi::c_void, pcbtoken: *mut u32, pptoken: *mut *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn GetCryptoTransform(hsymmetriccrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, mode: u32, padding: PaddingMode, feedbacksize: u32, direction: Direction, cbiv: u32, piv: *const u8, pphtransform: *mut *mut INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn GetKeyedHash(hsymmetriccrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, pphhash: *mut *mut INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetToken(cpolicychain: u32, ppolicychain: *const POLICY_ELEMENT, securitytoken: *mut *mut GENERIC_XML_TOKEN, phprooftokencrypto: *mut *mut INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn HashCore(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, cbindata: u32, pindata: *const u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn HashFinal(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, cbindata: u32, pindata: *const u8, pcboutdata: *mut u32, ppoutdata: *mut *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn ImportInformationCard(filename: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn ManageCardSpace() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptCloseProtectionDescriptor(hdescriptor: super::NCRYPT_DESCRIPTOR_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptCreateClaim(hsubjectkey: NCRYPT_KEY_HANDLE, hauthoritykey: NCRYPT_KEY_HANDLE, dwclaimtype: u32, pparameterlist: *const BCryptBufferDesc, pbclaimblob: *mut u8, cbclaimblob: u32, pcbresult: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptCreatePersistedKey(hprovider: NCRYPT_PROV_HANDLE, phkey: *mut NCRYPT_KEY_HANDLE, pszalgid: ::windows_sys::core::PCWSTR, pszkeyname: ::windows_sys::core::PCWSTR, dwlegacykeyspec: CERT_KEY_SPEC, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptCreateProtectionDescriptor(pwszdescriptorstring: ::windows_sys::core::PCWSTR, dwflags: u32, phdescriptor: *mut super::NCRYPT_DESCRIPTOR_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptDecrypt(hkey: NCRYPT_KEY_HANDLE, pbinput: *const u8, cbinput: u32, ppaddinginfo: *const ::core::ffi::c_void, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptDeleteKey(hkey: NCRYPT_KEY_HANDLE, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptDeriveKey(hsharedsecret: NCRYPT_SECRET_HANDLE, pwszkdf: ::windows_sys::core::PCWSTR, pparameterlist: *const BCryptBufferDesc, pbderivedkey: *mut u8, cbderivedkey: u32, pcbresult: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptEncrypt(hkey: NCRYPT_KEY_HANDLE, pbinput: *const u8, cbinput: u32, ppaddinginfo: *const ::core::ffi::c_void, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptEnumAlgorithms(hprovider: NCRYPT_PROV_HANDLE, dwalgoperations: NCRYPT_OPERATION, pdwalgcount: *mut u32, ppalglist: *mut *mut NCryptAlgorithmName, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptEnumKeys(hprovider: NCRYPT_PROV_HANDLE, pszscope: ::windows_sys::core::PCWSTR, ppkeyname: *mut *mut NCryptKeyName, ppenumstate: *mut *mut ::core::ffi::c_void, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptEnumStorageProviders(pdwprovidercount: *mut u32, ppproviderlist: *mut *mut NCryptProviderName, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptExportKey(hkey: NCRYPT_KEY_HANDLE, hexportkey: NCRYPT_KEY_HANDLE, pszblobtype: ::windows_sys::core::PCWSTR, pparameterlist: *const BCryptBufferDesc, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptFinalizeKey(hkey: NCRYPT_KEY_HANDLE, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptFreeBuffer(pvinput: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptFreeObject(hobject: NCRYPT_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptGetProperty(hobject: NCRYPT_HANDLE, pszproperty: ::windows_sys::core::PCWSTR, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: super::OBJECT_SECURITY_INFORMATION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptGetProtectionDescriptorInfo(hdescriptor: super::NCRYPT_DESCRIPTOR_HANDLE, pmempara: *const NCRYPT_ALLOC_PARA, dwinfotype: u32, ppvinfo: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptImportKey(hprovider: NCRYPT_PROV_HANDLE, himportkey: NCRYPT_KEY_HANDLE, pszblobtype: ::windows_sys::core::PCWSTR, pparameterlist: *const BCryptBufferDesc, phkey: *mut NCRYPT_KEY_HANDLE, pbdata: *const u8, cbdata: u32, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptIsAlgSupported(hprovider: NCRYPT_PROV_HANDLE, pszalgid: ::windows_sys::core::PCWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NCryptIsKeyHandle(hkey: NCRYPT_KEY_HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptKeyDerivation(hkey: NCRYPT_KEY_HANDLE, pparameterlist: *const BCryptBufferDesc, pbderivedkey: *mut u8, cbderivedkey: u32, pcbresult: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NCryptNotifyChangeKey(hprovider: NCRYPT_PROV_HANDLE, phevent: *mut super::super::Foundation::HANDLE, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptOpenKey(hprovider: NCRYPT_PROV_HANDLE, phkey: *mut NCRYPT_KEY_HANDLE, pszkeyname: ::windows_sys::core::PCWSTR, dwlegacykeyspec: CERT_KEY_SPEC, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptOpenStorageProvider(phprovider: *mut NCRYPT_PROV_HANDLE, pszprovidername: ::windows_sys::core::PCWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NCryptProtectSecret(hdescriptor: super::NCRYPT_DESCRIPTOR_HANDLE, dwflags: u32, pbdata: *const u8, cbdata: u32, pmempara: *const NCRYPT_ALLOC_PARA, hwnd: super::super::Foundation::HWND, ppbprotectedblob: *mut *mut u8, pcbprotectedblob: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptQueryProtectionDescriptorName(pwszname: ::windows_sys::core::PCWSTR, pwszdescriptorstring: ::windows_sys::core::PWSTR, pcdescriptorstring: *mut usize, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptRegisterProtectionDescriptorName(pwszname: ::windows_sys::core::PCWSTR, pwszdescriptorstring: ::windows_sys::core::PCWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptSecretAgreement(hprivkey: NCRYPT_KEY_HANDLE, hpubkey: NCRYPT_KEY_HANDLE, phagreedsecret: *mut NCRYPT_SECRET_HANDLE, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptSetProperty(hobject: NCRYPT_HANDLE, pszproperty: ::windows_sys::core::PCWSTR, pbinput: *const u8, cbinput: u32, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptSignHash(hkey: NCRYPT_KEY_HANDLE, ppaddinginfo: *const ::core::ffi::c_void, pbhashvalue: *const u8, cbhashvalue: u32, pbsignature: *mut u8, cbsignature: u32, pcbresult: *mut u32, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptStreamClose(hstream: super::NCRYPT_STREAM_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NCryptStreamOpenToProtect(hdescriptor: super::NCRYPT_DESCRIPTOR_HANDLE, dwflags: u32, hwnd: super::super::Foundation::HWND, pstreaminfo: *const NCRYPT_PROTECT_STREAM_INFO, phstream: *mut super::NCRYPT_STREAM_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NCryptStreamOpenToUnprotect(pstreaminfo: *const NCRYPT_PROTECT_STREAM_INFO, dwflags: u32, hwnd: super::super::Foundation::HWND, phstream: *mut super::NCRYPT_STREAM_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NCryptStreamOpenToUnprotectEx(pstreaminfo: *const NCRYPT_PROTECT_STREAM_INFO_EX, dwflags: u32, hwnd: super::super::Foundation::HWND, phstream: *mut super::NCRYPT_STREAM_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NCryptStreamUpdate(hstream: super::NCRYPT_STREAM_HANDLE, pbdata: *const u8, cbdata: usize, ffinal: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptTranslateHandle(phprovider: *mut NCRYPT_PROV_HANDLE, phkey: *mut NCRYPT_KEY_HANDLE, hlegacyprov: usize, hlegacykey: usize, dwlegacykeyspec: CERT_KEY_SPEC, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NCryptUnprotectSecret(phdescriptor: *mut super::NCRYPT_DESCRIPTOR_HANDLE, dwflags: NCRYPT_FLAGS, pbprotectedblob: *const u8, cbprotectedblob: u32, pmempara: *const NCRYPT_ALLOC_PARA, hwnd: super::super::Foundation::HWND, ppbdata: *mut *mut u8, pcbdata: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptVerifyClaim(hsubjectkey: NCRYPT_KEY_HANDLE, hauthoritykey: NCRYPT_KEY_HANDLE, dwclaimtype: u32, pparameterlist: *const BCryptBufferDesc, pbclaimblob: *const u8, cbclaimblob: u32, poutput: *mut BCryptBufferDesc, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn NCryptVerifySignature(hkey: NCRYPT_KEY_HANDLE, ppaddinginfo: *const ::core::ffi::c_void, pbhashvalue: *const u8, cbhashvalue: u32, pbsignature: *const u8, cbsignature: u32, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PFXExportCertStore(hstore: HCERTSTORE, ppfx: *mut CRYPTOAPI_BLOB, szpassword: ::windows_sys::core::PCWSTR, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PFXExportCertStoreEx(hstore: HCERTSTORE, ppfx: *mut CRYPTOAPI_BLOB, szpassword: ::windows_sys::core::PCWSTR, pvpara: *const ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn PFXImportCertStore(ppfx: *const CRYPTOAPI_BLOB, szpassword: ::windows_sys::core::PCWSTR, dwflags: CRYPT_KEY_FLAGS) -> HCERTSTORE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PFXIsPFXBlob(ppfx: *const CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PFXVerifyPassword(ppfx: *const CRYPTOAPI_BLOB, szpassword: ::windows_sys::core::PCWSTR, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn SignHash(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, cbhash: u32, phash: *const u8, hashalgoid: ::windows_sys::core::PCWSTR, pcbsig: *mut u32, ppsig: *mut *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn TransformBlock(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, cbindata: u32, pindata: *const u8, pcboutdata: *mut u32, ppoutdata: *mut *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub fn TransformFinalBlock(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, cbindata: u32, pindata: *const u8, pcboutdata: *mut u32, ppoutdata: *mut *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VerifyHash(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, cbhash: u32, phash: *const u8, hashalgoid: ::windows_sys::core::PCWSTR, cbsig: u32, psig: *const u8, pfverified: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs index 611364e8b3..1f76822358 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs @@ -2,77 +2,179 @@ extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqCancelDiagnosticRecordOperation(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqCloseSession(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqCreateSession(accesslevel: DdqAccessLevel, hsession: *mut super::HDIAGNOSTIC_DATA_QUERY_SESSION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqExtractDiagnosticReport(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, reportstoretype: u32, reportkey: ::windows_sys::core::PCWSTR, destinationpath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqFreeDiagnosticRecordLocaleTags(htagdescription: super::HDIAGNOSTIC_EVENT_TAG_DESCRIPTION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqFreeDiagnosticRecordPage(hrecord: super::HDIAGNOSTIC_RECORD) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqFreeDiagnosticRecordProducerCategories(hcategorydescription: super::HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqFreeDiagnosticRecordProducers(hproducerdescription: super::HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqFreeDiagnosticReport(hreport: super::HDIAGNOSTIC_REPORT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqGetDiagnosticDataAccessLevelAllowed(accesslevel: *mut DdqAccessLevel) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DdqGetDiagnosticRecordAtIndex(hrecord: super::HDIAGNOSTIC_RECORD, index: u32, record: *mut DIAGNOSTIC_DATA_RECORD) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqGetDiagnosticRecordBinaryDistribution(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, producernames: *const ::windows_sys::core::PWSTR, producernamecount: u32, topnbinaries: u32, binarystats: *mut *mut DIAGNOSTIC_DATA_EVENT_BINARY_STATS, statcount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqGetDiagnosticRecordCategoryAtIndex(hcategorydescription: super::HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION, index: u32, categorydescription: *mut DIAGNOSTIC_DATA_EVENT_CATEGORY_DESCRIPTION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqGetDiagnosticRecordCategoryCount(hcategorydescription: super::HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION, categorydescriptioncount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqGetDiagnosticRecordCount(hrecord: super::HDIAGNOSTIC_RECORD, recordcount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqGetDiagnosticRecordLocaleTagAtIndex(htagdescription: super::HDIAGNOSTIC_EVENT_TAG_DESCRIPTION, index: u32, tagdescription: *mut DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqGetDiagnosticRecordLocaleTagCount(htagdescription: super::HDIAGNOSTIC_EVENT_TAG_DESCRIPTION, tagdescriptioncount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqGetDiagnosticRecordLocaleTags(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, locale: ::windows_sys::core::PCWSTR, htagdescription: *mut super::HDIAGNOSTIC_EVENT_TAG_DESCRIPTION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DdqGetDiagnosticRecordPage(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, searchcriteria: *const DIAGNOSTIC_DATA_SEARCH_CRITERIA, offset: u32, pagerecordcount: u32, baserowid: i64, hrecord: *mut super::HDIAGNOSTIC_RECORD) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqGetDiagnosticRecordPayload(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, rowid: i64, payload: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqGetDiagnosticRecordProducerAtIndex(hproducerdescription: super::HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION, index: u32, producerdescription: *mut DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqGetDiagnosticRecordProducerCategories(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, producername: ::windows_sys::core::PCWSTR, hcategorydescription: *mut super::HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqGetDiagnosticRecordProducerCount(hproducerdescription: super::HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION, producerdescriptioncount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqGetDiagnosticRecordProducers(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, hproducerdescription: *mut super::HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DdqGetDiagnosticRecordStats(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, searchcriteria: *const DIAGNOSTIC_DATA_SEARCH_CRITERIA, recordcount: *mut u32, minrowid: *mut i64, maxrowid: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqGetDiagnosticRecordSummary(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, producernames: *const ::windows_sys::core::PWSTR, producernamecount: u32, generalstats: *mut DIAGNOSTIC_DATA_GENERAL_STATS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqGetDiagnosticRecordTagDistribution(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, producernames: *const ::windows_sys::core::PWSTR, producernamecount: u32, tagstats: *mut *mut DIAGNOSTIC_DATA_EVENT_TAG_STATS, statcount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqGetDiagnosticReport(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, reportstoretype: u32, hreport: *mut super::HDIAGNOSTIC_REPORT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DdqGetDiagnosticReportAtIndex(hreport: super::HDIAGNOSTIC_REPORT, index: u32, report: *mut DIAGNOSTIC_REPORT_DATA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqGetDiagnosticReportCount(hreport: super::HDIAGNOSTIC_REPORT, reportcount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqGetDiagnosticReportStoreReportCount(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, reportstoretype: u32, reportcount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqGetSessionAccessLevel(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, accesslevel: *mut DdqAccessLevel) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqGetTranscriptConfiguration(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, currentconfig: *mut DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DdqIsDiagnosticRecordSampledIn(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, providergroup: *const ::windows_sys::core::GUID, providerid: *const ::windows_sys::core::GUID, providername: ::windows_sys::core::PCWSTR, eventid: *const u32, eventname: ::windows_sys::core::PCWSTR, eventversion: *const u32, eventkeywords: *const u64, issampledin: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub fn DdqSetTranscriptConfiguration(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, desiredconfig: *const DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/Security/DirectoryServices/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/DirectoryServices/mod.rs index a9e227d79f..60de8b0674 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/DirectoryServices/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/DirectoryServices/mod.rs @@ -3,12 +3,21 @@ extern "system" { #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authorization_UI\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization_UI"))] pub fn DSCreateISecurityInfoObject(pwszobjectpath: ::windows_sys::core::PCWSTR, pwszobjectclass: ::windows_sys::core::PCWSTR, dwflags: u32, ppsi: *mut super::Authorization::UI::ISecurityInformation, pfnreadsd: PFNREADOBJECTSECURITY, pfnwritesd: PFNWRITEOBJECTSECURITY, lpcontext: super::super::Foundation::LPARAM) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authorization_UI\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization_UI"))] pub fn DSCreateISecurityInfoObjectEx(pwszobjectpath: ::windows_sys::core::PCWSTR, pwszobjectclass: ::windows_sys::core::PCWSTR, pwszserver: ::windows_sys::core::PCWSTR, pwszusername: ::windows_sys::core::PCWSTR, pwszpassword: ::windows_sys::core::PCWSTR, dwflags: u32, ppsi: *mut super::Authorization::UI::ISecurityInformation, pfnreadsd: PFNREADOBJECTSECURITY, pfnwritesd: PFNWRITEOBJECTSECURITY, lpcontext: super::super::Foundation::LPARAM) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] pub fn DSCreateSecurityPage(pwszobjectpath: ::windows_sys::core::PCWSTR, pwszobjectclass: ::windows_sys::core::PCWSTR, dwflags: u32, phpage: *mut super::super::UI::Controls::HPROPSHEETPAGE, pfnreadsd: PFNREADOBJECTSECURITY, pfnwritesd: PFNWRITEOBJECTSECURITY, lpcontext: super::super::Foundation::LPARAM) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DSEditSecurity(hwndowner: super::super::Foundation::HWND, pwszobjectpath: ::windows_sys::core::PCWSTR, pwszobjectclass: ::windows_sys::core::PCWSTR, dwflags: u32, pwszcaption: ::windows_sys::core::PCWSTR, pfnreadsd: PFNREADOBJECTSECURITY, pfnwritesd: PFNWRITEOBJECTSECURITY, lpcontext: super::super::Foundation::LPARAM) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Security/EnterpriseData/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/EnterpriseData/mod.rs index a67747c68c..608c39bc89 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/EnterpriseData/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/EnterpriseData/mod.rs @@ -2,35 +2,71 @@ extern "system" { #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] pub fn ProtectFileToEnterpriseIdentity(fileorfolderpath: ::windows_sys::core::PCWSTR, identity: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SrpCloseThreadNetworkContext(threadnetworkcontext: *mut HTHREAD_NETWORK_CONTEXT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SrpCreateThreadNetworkContext(enterpriseid: ::windows_sys::core::PCWSTR, threadnetworkcontext: *mut HTHREAD_NETWORK_CONTEXT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] pub fn SrpDisablePermissiveModeFileEncryption() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Appx\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Appx"))] pub fn SrpDoesPolicyAllowAppExecution(packageid: *const super::super::Storage::Packaging::Appx::PACKAGE_ID, isallowed: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] pub fn SrpEnablePermissiveModeFileEncryption(enterpriseid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SrpGetEnterpriseIds(tokenhandle: super::super::Foundation::HANDLE, numberofbytes: *mut u32, enterpriseids: *mut ::windows_sys::core::PWSTR, enterpriseidcount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SrpGetEnterprisePolicy(tokenhandle: super::super::Foundation::HANDLE, policyflags: *mut ENTERPRISE_DATA_POLICIES) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] pub fn SrpHostingInitialize(version: SRPHOSTING_VERSION, r#type: SRPHOSTING_TYPE, pvdata: *const ::core::ffi::c_void, cbdata: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] pub fn SrpHostingTerminate(r#type: SRPHOSTING_TYPE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SrpIsTokenService(tokenhandle: super::super::Foundation::HANDLE, istokenservice: *mut u8) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SrpSetTokenEnterpriseId(tokenhandle: super::super::Foundation::HANDLE, enterpriseid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] pub fn UnprotectFile(fileorfolderpath: ::windows_sys::core::PCWSTR, options: *const FILE_UNPROTECT_OPTIONS) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs index 4768452add..643a90f7f6 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs @@ -3,78 +3,171 @@ extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EapHostPeerBeginSession(dwflags: u32, eaptype: EAP_METHOD_TYPE, pattributearray: *const EAP_ATTRIBUTES, htokenimpersonateuser: super::super::Foundation::HANDLE, dwsizeofconnectiondata: u32, pconnectiondata: *const u8, dwsizeofuserdata: u32, puserdata: *const u8, dwmaxsendpacketsize: u32, pconnectionid: *const ::windows_sys::core::GUID, func: NotificationHandler, pcontextdata: *mut ::core::ffi::c_void, psessionid: *mut u32, ppeaperror: *mut *mut EAP_ERROR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub fn EapHostPeerClearConnection(pconnectionid: *mut ::windows_sys::core::GUID, ppeaperror: *mut *mut EAP_ERROR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] pub fn EapHostPeerConfigBlob2Xml(dwflags: u32, eapmethodtype: EAP_METHOD_TYPE, dwsizeofconfigin: u32, pconfigin: *const u8, ppconfigdoc: *mut super::super::Data::Xml::MsXml::IXMLDOMDocument2, ppeaperror: *mut *mut EAP_ERROR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] pub fn EapHostPeerConfigXml2Blob(dwflags: u32, pconfigdoc: super::super::Data::Xml::MsXml::IXMLDOMNode, pdwsizeofconfigout: *mut u32, ppconfigout: *mut *mut u8, peapmethodtype: *mut EAP_METHOD_TYPE, ppeaperror: *mut *mut EAP_ERROR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] pub fn EapHostPeerCredentialsXml2Blob(dwflags: u32, pcredentialsdoc: super::super::Data::Xml::MsXml::IXMLDOMNode, dwsizeofconfigin: u32, pconfigin: *const u8, pdwsizeofcredentialsout: *mut u32, ppcredentialsout: *mut *mut u8, peapmethodtype: *mut EAP_METHOD_TYPE, ppeaperror: *mut *mut EAP_ERROR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub fn EapHostPeerEndSession(sessionhandle: u32, ppeaperror: *mut *mut EAP_ERROR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub fn EapHostPeerFreeEapError(peaperror: *mut EAP_ERROR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub fn EapHostPeerFreeErrorMemory(peaperror: *mut EAP_ERROR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub fn EapHostPeerFreeMemory(pdata: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub fn EapHostPeerFreeRuntimeMemory(pdata: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub fn EapHostPeerGetAuthStatus(sessionhandle: u32, authparam: EapHostPeerAuthParams, pcbauthdata: *mut u32, ppauthdata: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EapHostPeerGetDataToUnplumbCredentials(pconnectionidthatlastsavedcreds: *mut ::windows_sys::core::GUID, phcredentialimpersonationtoken: *mut isize, sessionhandle: u32, ppeaperror: *mut *mut EAP_ERROR, fsavetocredman: *mut super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub fn EapHostPeerGetEncryptedPassword(dwsizeofpassword: u32, szpassword: ::windows_sys::core::PCWSTR, ppszencpassword: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EapHostPeerGetIdentity(dwversion: u32, dwflags: u32, eapmethodtype: EAP_METHOD_TYPE, dwsizeofconnectiondata: u32, pconnectiondata: *const u8, dwsizeofuserdata: u32, puserdata: *const u8, htokenimpersonateuser: super::super::Foundation::HANDLE, pfinvokeui: *mut super::super::Foundation::BOOL, pdwsizeofuserdataout: *mut u32, ppuserdataout: *mut *mut u8, ppwszidentity: *mut ::windows_sys::core::PWSTR, ppeaperror: *mut *mut EAP_ERROR, ppvreserved: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EapHostPeerGetMethodProperties(dwversion: u32, dwflags: u32, eapmethodtype: EAP_METHOD_TYPE, huserimpersonationtoken: super::super::Foundation::HANDLE, dweapconndatasize: u32, pbeapconndata: *const u8, dwuserdatasize: u32, pbuserdata: *const u8, pmethodpropertyarray: *mut EAP_METHOD_PROPERTY_ARRAY, ppeaperror: *mut *mut EAP_ERROR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub fn EapHostPeerGetMethods(peapmethodinfoarray: *mut EAP_METHOD_INFO_ARRAY, ppeaperror: *mut *mut EAP_ERROR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub fn EapHostPeerGetResponseAttributes(sessionhandle: u32, pattribs: *mut EAP_ATTRIBUTES, ppeaperror: *mut *mut EAP_ERROR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EapHostPeerGetResult(sessionhandle: u32, reason: EapHostPeerMethodResultReason, ppresult: *mut EapHostPeerMethodResult, ppeaperror: *mut *mut EAP_ERROR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub fn EapHostPeerGetSendPacket(sessionhandle: u32, pcbsendpacket: *mut u32, ppsendpacket: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub fn EapHostPeerGetUIContext(sessionhandle: u32, pdwsizeofuicontextdata: *mut u32, ppuicontextdata: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub fn EapHostPeerInitialize() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EapHostPeerInvokeConfigUI(hwndparent: super::super::Foundation::HWND, dwflags: u32, eapmethodtype: EAP_METHOD_TYPE, dwsizeofconfigin: u32, pconfigin: *const u8, pdwsizeofconfigout: *mut u32, ppconfigout: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EapHostPeerInvokeIdentityUI(dwversion: u32, eapmethodtype: EAP_METHOD_TYPE, dwflags: u32, hwndparent: super::super::Foundation::HWND, dwsizeofconnectiondata: u32, pconnectiondata: *const u8, dwsizeofuserdata: u32, puserdata: *const u8, pdwsizeofuserdataout: *mut u32, ppuserdataout: *mut *mut u8, ppwszidentity: *mut ::windows_sys::core::PWSTR, ppeaperror: *mut *mut EAP_ERROR, ppvreserved: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EapHostPeerInvokeInteractiveUI(hwndparent: super::super::Foundation::HWND, dwsizeofuicontextdata: u32, puicontextdata: *const u8, pdwsizeofdatafrominteractiveui: *mut u32, ppdatafrominteractiveui: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub fn EapHostPeerProcessReceivedPacket(sessionhandle: u32, cbreceivepacket: u32, preceivepacket: *const u8, peapoutput: *mut EapHostPeerResponseAction, ppeaperror: *mut *mut EAP_ERROR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EapHostPeerQueryCredentialInputFields(huserimpersonationtoken: super::super::Foundation::HANDLE, eapmethodtype: EAP_METHOD_TYPE, dwflags: u32, dweapconndatasize: u32, pbeapconndata: *const u8, peapconfiginputfieldarray: *mut EAP_CONFIG_INPUT_FIELD_ARRAY, ppeaperror: *mut *mut EAP_ERROR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub fn EapHostPeerQueryInteractiveUIInputFields(dwversion: u32, dwflags: u32, dwsizeofuicontextdata: u32, puicontextdata: *const u8, peapinteractiveuidata: *mut EAP_INTERACTIVE_UI_DATA, ppeaperror: *mut *mut EAP_ERROR, ppvreserved: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub fn EapHostPeerQueryUIBlobFromInteractiveUIInputFields(dwversion: u32, dwflags: u32, dwsizeofuicontextdata: u32, puicontextdata: *const u8, peapinteractiveuidata: *const EAP_INTERACTIVE_UI_DATA, pdwsizeofdatafrominteractiveui: *mut u32, ppdatafrominteractiveui: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR, ppvreserved: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EapHostPeerQueryUserBlobFromCredentialInputFields(huserimpersonationtoken: super::super::Foundation::HANDLE, eapmethodtype: EAP_METHOD_TYPE, dwflags: u32, dweapconndatasize: u32, pbeapconndata: *const u8, peapconfiginputfieldarray: *const EAP_CONFIG_INPUT_FIELD_ARRAY, pdwuserblobsize: *mut u32, ppbuserblob: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub fn EapHostPeerSetResponseAttributes(sessionhandle: u32, pattribs: *const EAP_ATTRIBUTES, peapoutput: *mut EapHostPeerResponseAction, ppeaperror: *mut *mut EAP_ERROR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub fn EapHostPeerSetUIContext(sessionhandle: u32, dwsizeofuicontextdata: u32, puicontextdata: *const u8, peapoutput: *mut EapHostPeerResponseAction, ppeaperror: *mut *mut EAP_ERROR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub fn EapHostPeerUninitialize(); } diff --git a/crates/libs/sys/src/Windows/Win32/Security/Isolation/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/Isolation/mod.rs index eeffb8604d..47794fd733 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/Isolation/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/Isolation/mod.rs @@ -3,28 +3,55 @@ extern "system" { #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateAppContainerProfile(pszappcontainername: ::windows_sys::core::PCWSTR, pszdisplayname: ::windows_sys::core::PCWSTR, pszdescription: ::windows_sys::core::PCWSTR, pcapabilities: *const super::SID_AND_ATTRIBUTES, dwcapabilitycount: u32, ppsidappcontainersid: *mut super::super::Foundation::PSID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Isolation\"`*"] pub fn DeleteAppContainerProfile(pszappcontainername: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeriveAppContainerSidFromAppContainerName(pszappcontainername: ::windows_sys::core::PCWSTR, ppsidappcontainersid: *mut super::super::Foundation::PSID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeriveRestrictedAppContainerSidFromAppContainerSidAndRestrictedName(psidappcontainersid: super::super::Foundation::PSID, pszrestrictedappcontainername: ::windows_sys::core::PCWSTR, ppsidrestrictedappcontainersid: *mut super::super::Foundation::PSID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Isolation\"`*"] pub fn GetAppContainerFolderPath(pszappcontainersid: ::windows_sys::core::PCWSTR, ppszpath: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetAppContainerNamedObjectPath(token: super::super::Foundation::HANDLE, appcontainersid: super::super::Foundation::PSID, objectpathlength: u32, objectpath: ::windows_sys::core::PWSTR, returnlength: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn GetAppContainerRegistryLocation(desiredaccess: u32, phappcontainerkey: *mut super::super::System::Registry::HKEY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsProcessInIsolatedContainer(isprocessinisolatedcontainer: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsProcessInIsolatedWindowsEnvironment(isprocessinisolatedwindowsenvironment: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsProcessInWDAGContainer(reserved: *const ::core::ffi::c_void, isprocessinwdagcontainer: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Security/LicenseProtection/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/LicenseProtection/mod.rs index 0ee65758f2..1051bf9732 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/LicenseProtection/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/LicenseProtection/mod.rs @@ -2,6 +2,9 @@ extern "system" { #[doc = "*Required features: `\"Win32_Security_LicenseProtection\"`*"] pub fn RegisterLicenseKeyWithExpiration(licensekey: ::windows_sys::core::PCWSTR, validityindays: u32, status: *mut LicenseProtectionStatus) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_LicenseProtection\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ValidateLicenseKeyProtection(licensekey: ::windows_sys::core::PCWSTR, notvalidbefore: *mut super::super::Foundation::FILETIME, notvalidafter: *mut super::super::Foundation::FILETIME, status: *mut LicenseProtectionStatus) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Security/WinTrust/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/WinTrust/mod.rs index 18b570629a..228488930c 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/WinTrust/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/WinTrust/mod.rs @@ -3,53 +3,104 @@ extern "system" { #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenPersonalTrustDBDialog(hwndparent: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenPersonalTrustDBDialogEx(hwndparent: super::super::Foundation::HWND, dwflags: u32, pvreserved: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] pub fn WTHelperCertCheckValidSignature(pprovdata: *mut CRYPT_PROVIDER_DATA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub fn WTHelperCertIsSelfSigned(dwencoding: u32, pcert: *mut super::Cryptography::CERT_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub fn WTHelperGetProvCertFromChain(psgnr: *mut CRYPT_PROVIDER_SGNR, idxcert: u32) -> *mut CRYPT_PROVIDER_CERT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] pub fn WTHelperGetProvPrivateDataFromChain(pprovdata: *mut CRYPT_PROVIDER_DATA, pgproviderid: *mut ::windows_sys::core::GUID) -> *mut CRYPT_PROVIDER_PRIVDATA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] pub fn WTHelperGetProvSignerFromChain(pprovdata: *mut CRYPT_PROVIDER_DATA, idxsigner: u32, fcountersigner: super::super::Foundation::BOOL, idxcountersigner: u32) -> *mut CRYPT_PROVIDER_SGNR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] pub fn WTHelperProvDataFromStateData(hstatedata: super::super::Foundation::HANDLE) -> *mut CRYPT_PROVIDER_DATA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinVerifyTrust(hwnd: super::super::Foundation::HWND, pgactionid: *mut ::windows_sys::core::GUID, pwvtdata: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub fn WinVerifyTrustEx(hwnd: super::super::Foundation::HWND, pgactionid: *mut ::windows_sys::core::GUID, pwintrustdata: *mut WINTRUST_DATA) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WintrustAddActionID(pgactionid: *const ::windows_sys::core::GUID, fdwflags: u32, psprovinfo: *const CRYPT_REGISTER_ACTIONID) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WintrustAddDefaultForUsage(pszusageoid: ::windows_sys::core::PCSTR, psdefusage: *const CRYPT_PROVIDER_REGDEFUSAGE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WintrustGetDefaultForUsage(dwaction: WINTRUST_GET_DEFAULT_FOR_USAGE_ACTION, pszusageoid: ::windows_sys::core::PCSTR, psusage: *mut CRYPT_PROVIDER_DEFUSAGE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub fn WintrustGetRegPolicyFlags(pdwpolicyflags: *mut WINTRUST_POLICY_FLAGS); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] pub fn WintrustLoadFunctionPointers(pgactionid: *mut ::windows_sys::core::GUID, ppfns: *mut CRYPT_PROVIDER_FUNCTIONS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WintrustRemoveActionID(pgactionid: *const ::windows_sys::core::GUID) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WintrustSetDefaultIncludePEPageHashes(fincludepepagehashes: super::super::Foundation::BOOL); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WintrustSetRegPolicyFlags(dwpolicyflags: WINTRUST_POLICY_FLAGS) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/Security/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/mod.rs index f6122a5bac..9f1724fc43 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/mod.rs @@ -35,392 +35,788 @@ extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AccessCheck(psecuritydescriptor: PSECURITY_DESCRIPTOR, clienttoken: super::Foundation::HANDLE, desiredaccess: u32, genericmapping: *const GENERIC_MAPPING, privilegeset: *mut PRIVILEGE_SET, privilegesetlength: *mut u32, grantedaccess: *mut u32, accessstatus: *mut i32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AccessCheckAndAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCSTR, objectname: ::windows_sys::core::PCSTR, securitydescriptor: PSECURITY_DESCRIPTOR, desiredaccess: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccess: *mut u32, accessstatus: *mut i32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AccessCheckAndAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCWSTR, objectname: ::windows_sys::core::PCWSTR, securitydescriptor: PSECURITY_DESCRIPTOR, desiredaccess: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccess: *mut u32, accessstatus: *mut i32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AccessCheckByType(psecuritydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, clienttoken: super::Foundation::HANDLE, desiredaccess: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, privilegeset: *mut PRIVILEGE_SET, privilegesetlength: *mut u32, grantedaccess: *mut u32, accessstatus: *mut i32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AccessCheckByTypeAndAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCSTR, objectname: ::windows_sys::core::PCSTR, securitydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccess: *mut u32, accessstatus: *mut i32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AccessCheckByTypeAndAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCWSTR, objectname: ::windows_sys::core::PCWSTR, securitydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccess: *mut u32, accessstatus: *mut i32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AccessCheckByTypeResultList(psecuritydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, clienttoken: super::Foundation::HANDLE, desiredaccess: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, privilegeset: *mut PRIVILEGE_SET, privilegesetlength: *mut u32, grantedaccesslist: *mut u32, accessstatuslist: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AccessCheckByTypeResultListAndAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCSTR, objectname: ::windows_sys::core::PCSTR, securitydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccess: *mut u32, accessstatuslist: *mut u32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AccessCheckByTypeResultListAndAuditAlarmByHandleA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, clienttoken: super::Foundation::HANDLE, objecttypename: ::windows_sys::core::PCSTR, objectname: ::windows_sys::core::PCSTR, securitydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccess: *mut u32, accessstatuslist: *mut u32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AccessCheckByTypeResultListAndAuditAlarmByHandleW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, clienttoken: super::Foundation::HANDLE, objecttypename: ::windows_sys::core::PCWSTR, objectname: ::windows_sys::core::PCWSTR, securitydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccesslist: *mut u32, accessstatuslist: *mut u32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AccessCheckByTypeResultListAndAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCWSTR, objectname: ::windows_sys::core::PCWSTR, securitydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccesslist: *mut u32, accessstatuslist: *mut u32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddAccessAllowedAce(pacl: *mut ACL, dwacerevision: u32, accessmask: u32, psid: super::Foundation::PSID) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddAccessAllowedAceEx(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, accessmask: u32, psid: super::Foundation::PSID) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddAccessAllowedObjectAce(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, accessmask: u32, objecttypeguid: *const ::windows_sys::core::GUID, inheritedobjecttypeguid: *const ::windows_sys::core::GUID, psid: super::Foundation::PSID) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddAccessDeniedAce(pacl: *mut ACL, dwacerevision: u32, accessmask: u32, psid: super::Foundation::PSID) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddAccessDeniedAceEx(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, accessmask: u32, psid: super::Foundation::PSID) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddAccessDeniedObjectAce(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, accessmask: u32, objecttypeguid: *const ::windows_sys::core::GUID, inheritedobjecttypeguid: *const ::windows_sys::core::GUID, psid: super::Foundation::PSID) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddAce(pacl: *mut ACL, dwacerevision: u32, dwstartingaceindex: u32, pacelist: *const ::core::ffi::c_void, nacelistlength: u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddAuditAccessAce(pacl: *mut ACL, dwacerevision: u32, dwaccessmask: u32, psid: super::Foundation::PSID, bauditsuccess: super::Foundation::BOOL, bauditfailure: super::Foundation::BOOL) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddAuditAccessAceEx(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, dwaccessmask: u32, psid: super::Foundation::PSID, bauditsuccess: super::Foundation::BOOL, bauditfailure: super::Foundation::BOOL) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddAuditAccessObjectAce(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, accessmask: u32, objecttypeguid: *const ::windows_sys::core::GUID, inheritedobjecttypeguid: *const ::windows_sys::core::GUID, psid: super::Foundation::PSID, bauditsuccess: super::Foundation::BOOL, bauditfailure: super::Foundation::BOOL) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddConditionalAce(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, acetype: u8, accessmask: u32, psid: super::Foundation::PSID, conditionstr: ::windows_sys::core::PCWSTR, returnlength: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddMandatoryAce(pacl: *mut ACL, dwacerevision: ACE_REVISION, aceflags: ACE_FLAGS, mandatorypolicy: u32, plabelsid: super::Foundation::PSID) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddResourceAttributeAce(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, accessmask: u32, psid: super::Foundation::PSID, pattributeinfo: *const CLAIM_SECURITY_ATTRIBUTES_INFORMATION, preturnlength: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddScopedPolicyIDAce(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, accessmask: u32, psid: super::Foundation::PSID) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AdjustTokenGroups(tokenhandle: super::Foundation::HANDLE, resettodefault: super::Foundation::BOOL, newstate: *const TOKEN_GROUPS, bufferlength: u32, previousstate: *mut TOKEN_GROUPS, returnlength: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AdjustTokenPrivileges(tokenhandle: super::Foundation::HANDLE, disableallprivileges: super::Foundation::BOOL, newstate: *const TOKEN_PRIVILEGES, bufferlength: u32, previousstate: *mut TOKEN_PRIVILEGES, returnlength: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AllocateAndInitializeSid(pidentifierauthority: *const SID_IDENTIFIER_AUTHORITY, nsubauthoritycount: u8, nsubauthority0: u32, nsubauthority1: u32, nsubauthority2: u32, nsubauthority3: u32, nsubauthority4: u32, nsubauthority5: u32, nsubauthority6: u32, nsubauthority7: u32, psid: *mut super::Foundation::PSID) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AllocateLocallyUniqueId(luid: *mut super::Foundation::LUID) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AreAllAccessesGranted(grantedaccess: u32, desiredaccess: u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AreAnyAccessesGranted(grantedaccess: u32, desiredaccess: u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CheckTokenCapability(tokenhandle: super::Foundation::HANDLE, capabilitysidtocheck: super::Foundation::PSID, hascapability: *mut super::Foundation::BOOL) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CheckTokenMembership(tokenhandle: super::Foundation::HANDLE, sidtocheck: super::Foundation::PSID, ismember: *mut super::Foundation::BOOL) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CheckTokenMembershipEx(tokenhandle: super::Foundation::HANDLE, sidtocheck: super::Foundation::PSID, flags: u32, ismember: *mut super::Foundation::BOOL) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ConvertToAutoInheritPrivateObjectSecurity(parentdescriptor: PSECURITY_DESCRIPTOR, currentsecuritydescriptor: PSECURITY_DESCRIPTOR, newsecuritydescriptor: *mut PSECURITY_DESCRIPTOR, objecttype: *const ::windows_sys::core::GUID, isdirectoryobject: super::Foundation::BOOLEAN, genericmapping: *const GENERIC_MAPPING) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CopySid(ndestinationsidlength: u32, pdestinationsid: super::Foundation::PSID, psourcesid: super::Foundation::PSID) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreatePrivateObjectSecurity(parentdescriptor: PSECURITY_DESCRIPTOR, creatordescriptor: PSECURITY_DESCRIPTOR, newdescriptor: *mut PSECURITY_DESCRIPTOR, isdirectoryobject: super::Foundation::BOOL, token: super::Foundation::HANDLE, genericmapping: *const GENERIC_MAPPING) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreatePrivateObjectSecurityEx(parentdescriptor: PSECURITY_DESCRIPTOR, creatordescriptor: PSECURITY_DESCRIPTOR, newdescriptor: *mut PSECURITY_DESCRIPTOR, objecttype: *const ::windows_sys::core::GUID, iscontainerobject: super::Foundation::BOOL, autoinheritflags: SECURITY_AUTO_INHERIT_FLAGS, token: super::Foundation::HANDLE, genericmapping: *const GENERIC_MAPPING) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreatePrivateObjectSecurityWithMultipleInheritance(parentdescriptor: PSECURITY_DESCRIPTOR, creatordescriptor: PSECURITY_DESCRIPTOR, newdescriptor: *mut PSECURITY_DESCRIPTOR, objecttypes: *const *const ::windows_sys::core::GUID, guidcount: u32, iscontainerobject: super::Foundation::BOOL, autoinheritflags: SECURITY_AUTO_INHERIT_FLAGS, token: super::Foundation::HANDLE, genericmapping: *const GENERIC_MAPPING) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateRestrictedToken(existingtokenhandle: super::Foundation::HANDLE, flags: CREATE_RESTRICTED_TOKEN_FLAGS, disablesidcount: u32, sidstodisable: *const SID_AND_ATTRIBUTES, deleteprivilegecount: u32, privilegestodelete: *const LUID_AND_ATTRIBUTES, restrictedsidcount: u32, sidstorestrict: *const SID_AND_ATTRIBUTES, newtokenhandle: *mut super::Foundation::HANDLE) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateWellKnownSid(wellknownsidtype: WELL_KNOWN_SID_TYPE, domainsid: super::Foundation::PSID, psid: super::Foundation::PSID, cbsid: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteAce(pacl: *mut ACL, dwaceindex: u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeriveCapabilitySidsFromName(capname: ::windows_sys::core::PCWSTR, capabilitygroupsids: *mut *mut super::Foundation::PSID, capabilitygroupsidcount: *mut u32, capabilitysids: *mut *mut super::Foundation::PSID, capabilitysidcount: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DestroyPrivateObjectSecurity(objectdescriptor: *const PSECURITY_DESCRIPTOR) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DuplicateToken(existingtokenhandle: super::Foundation::HANDLE, impersonationlevel: SECURITY_IMPERSONATION_LEVEL, duplicatetokenhandle: *mut super::Foundation::HANDLE) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DuplicateTokenEx(hexistingtoken: super::Foundation::HANDLE, dwdesiredaccess: TOKEN_ACCESS_MASK, lptokenattributes: *const SECURITY_ATTRIBUTES, impersonationlevel: SECURITY_IMPERSONATION_LEVEL, tokentype: TOKEN_TYPE, phnewtoken: *mut super::Foundation::HANDLE) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EqualDomainSid(psid1: super::Foundation::PSID, psid2: super::Foundation::PSID, pfequal: *mut super::Foundation::BOOL) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EqualPrefixSid(psid1: super::Foundation::PSID, psid2: super::Foundation::PSID) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EqualSid(psid1: super::Foundation::PSID, psid2: super::Foundation::PSID) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindFirstFreeAce(pacl: *const ACL, pace: *mut *mut ::core::ffi::c_void) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreeSid(psid: super::Foundation::PSID) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetAce(pacl: *const ACL, dwaceindex: u32, pace: *mut *mut ::core::ffi::c_void) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetAclInformation(pacl: *const ACL, paclinformation: *mut ::core::ffi::c_void, naclinformationlength: u32, dwaclinformationclass: ACL_INFORMATION_CLASS) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetAppContainerAce(acl: *const ACL, startingaceindex: u32, appcontainerace: *mut *mut ::core::ffi::c_void, appcontaineraceindex: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCachedSigningLevel(file: super::Foundation::HANDLE, flags: *mut u32, signinglevel: *mut u32, thumbprint: *mut u8, thumbprintsize: *mut u32, thumbprintalgorithm: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFileSecurityA(lpfilename: ::windows_sys::core::PCSTR, requestedinformation: u32, psecuritydescriptor: PSECURITY_DESCRIPTOR, nlength: u32, lpnlengthneeded: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFileSecurityW(lpfilename: ::windows_sys::core::PCWSTR, requestedinformation: u32, psecuritydescriptor: PSECURITY_DESCRIPTOR, nlength: u32, lpnlengthneeded: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetKernelObjectSecurity(handle: super::Foundation::HANDLE, requestedinformation: u32, psecuritydescriptor: PSECURITY_DESCRIPTOR, nlength: u32, lpnlengthneeded: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetLengthSid(psid: super::Foundation::PSID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPrivateObjectSecurity(objectdescriptor: PSECURITY_DESCRIPTOR, securityinformation: u32, resultantdescriptor: PSECURITY_DESCRIPTOR, descriptorlength: u32, returnlength: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSecurityDescriptorControl(psecuritydescriptor: PSECURITY_DESCRIPTOR, pcontrol: *mut u16, lpdwrevision: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSecurityDescriptorDacl(psecuritydescriptor: PSECURITY_DESCRIPTOR, lpbdaclpresent: *mut i32, pdacl: *mut *mut ACL, lpbdacldefaulted: *mut i32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSecurityDescriptorGroup(psecuritydescriptor: PSECURITY_DESCRIPTOR, pgroup: *mut super::Foundation::PSID, lpbgroupdefaulted: *mut i32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`*"] pub fn GetSecurityDescriptorLength(psecuritydescriptor: PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSecurityDescriptorOwner(psecuritydescriptor: PSECURITY_DESCRIPTOR, powner: *mut super::Foundation::PSID, lpbownerdefaulted: *mut i32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`*"] pub fn GetSecurityDescriptorRMControl(securitydescriptor: PSECURITY_DESCRIPTOR, rmcontrol: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSecurityDescriptorSacl(psecuritydescriptor: PSECURITY_DESCRIPTOR, lpbsaclpresent: *mut i32, psacl: *mut *mut ACL, lpbsacldefaulted: *mut i32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSidIdentifierAuthority(psid: super::Foundation::PSID) -> *mut SID_IDENTIFIER_AUTHORITY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`*"] pub fn GetSidLengthRequired(nsubauthoritycount: u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSidSubAuthority(psid: super::Foundation::PSID, nsubauthority: u32) -> *mut u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSidSubAuthorityCount(psid: super::Foundation::PSID) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTokenInformation(tokenhandle: super::Foundation::HANDLE, tokeninformationclass: TOKEN_INFORMATION_CLASS, tokeninformation: *mut ::core::ffi::c_void, tokeninformationlength: u32, returnlength: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUserObjectSecurity(hobj: super::Foundation::HANDLE, psirequested: *const u32, psid: PSECURITY_DESCRIPTOR, nlength: u32, lpnlengthneeded: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowsAccountDomainSid(psid: super::Foundation::PSID, pdomainsid: super::Foundation::PSID, cbdomainsid: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImpersonateAnonymousToken(threadhandle: super::Foundation::HANDLE) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImpersonateLoggedOnUser(htoken: super::Foundation::HANDLE) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImpersonateSelf(impersonationlevel: SECURITY_IMPERSONATION_LEVEL) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InitializeAcl(pacl: *mut ACL, nacllength: u32, dwaclrevision: u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InitializeSecurityDescriptor(psecuritydescriptor: PSECURITY_DESCRIPTOR, dwrevision: u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InitializeSid(sid: super::Foundation::PSID, pidentifierauthority: *const SID_IDENTIFIER_AUTHORITY, nsubauthoritycount: u8) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsTokenRestricted(tokenhandle: super::Foundation::HANDLE) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsValidAcl(pacl: *const ACL) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsValidSecurityDescriptor(psecuritydescriptor: PSECURITY_DESCRIPTOR) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsValidSid(psid: super::Foundation::PSID) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsWellKnownSid(psid: super::Foundation::PSID, wellknownsidtype: WELL_KNOWN_SID_TYPE) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LogonUserA(lpszusername: ::windows_sys::core::PCSTR, lpszdomain: ::windows_sys::core::PCSTR, lpszpassword: ::windows_sys::core::PCSTR, dwlogontype: LOGON32_LOGON, dwlogonprovider: LOGON32_PROVIDER, phtoken: *mut super::Foundation::HANDLE) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LogonUserExA(lpszusername: ::windows_sys::core::PCSTR, lpszdomain: ::windows_sys::core::PCSTR, lpszpassword: ::windows_sys::core::PCSTR, dwlogontype: LOGON32_LOGON, dwlogonprovider: LOGON32_PROVIDER, phtoken: *mut super::Foundation::HANDLE, pplogonsid: *mut super::Foundation::PSID, ppprofilebuffer: *mut *mut ::core::ffi::c_void, pdwprofilelength: *mut u32, pquotalimits: *mut QUOTA_LIMITS) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LogonUserExW(lpszusername: ::windows_sys::core::PCWSTR, lpszdomain: ::windows_sys::core::PCWSTR, lpszpassword: ::windows_sys::core::PCWSTR, dwlogontype: LOGON32_LOGON, dwlogonprovider: LOGON32_PROVIDER, phtoken: *mut super::Foundation::HANDLE, pplogonsid: *mut super::Foundation::PSID, ppprofilebuffer: *mut *mut ::core::ffi::c_void, pdwprofilelength: *mut u32, pquotalimits: *mut QUOTA_LIMITS) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LogonUserW(lpszusername: ::windows_sys::core::PCWSTR, lpszdomain: ::windows_sys::core::PCWSTR, lpszpassword: ::windows_sys::core::PCWSTR, dwlogontype: LOGON32_LOGON, dwlogonprovider: LOGON32_PROVIDER, phtoken: *mut super::Foundation::HANDLE) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LookupAccountNameA(lpsystemname: ::windows_sys::core::PCSTR, lpaccountname: ::windows_sys::core::PCSTR, sid: super::Foundation::PSID, cbsid: *mut u32, referenceddomainname: ::windows_sys::core::PSTR, cchreferenceddomainname: *mut u32, peuse: *mut SID_NAME_USE) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LookupAccountNameW(lpsystemname: ::windows_sys::core::PCWSTR, lpaccountname: ::windows_sys::core::PCWSTR, sid: super::Foundation::PSID, cbsid: *mut u32, referenceddomainname: ::windows_sys::core::PWSTR, cchreferenceddomainname: *mut u32, peuse: *mut SID_NAME_USE) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LookupAccountSidA(lpsystemname: ::windows_sys::core::PCSTR, sid: super::Foundation::PSID, name: ::windows_sys::core::PSTR, cchname: *mut u32, referenceddomainname: ::windows_sys::core::PSTR, cchreferenceddomainname: *mut u32, peuse: *mut SID_NAME_USE) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LookupAccountSidW(lpsystemname: ::windows_sys::core::PCWSTR, sid: super::Foundation::PSID, name: ::windows_sys::core::PWSTR, cchname: *mut u32, referenceddomainname: ::windows_sys::core::PWSTR, cchreferenceddomainname: *mut u32, peuse: *mut SID_NAME_USE) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LookupPrivilegeDisplayNameA(lpsystemname: ::windows_sys::core::PCSTR, lpname: ::windows_sys::core::PCSTR, lpdisplayname: ::windows_sys::core::PSTR, cchdisplayname: *mut u32, lplanguageid: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LookupPrivilegeDisplayNameW(lpsystemname: ::windows_sys::core::PCWSTR, lpname: ::windows_sys::core::PCWSTR, lpdisplayname: ::windows_sys::core::PWSTR, cchdisplayname: *mut u32, lplanguageid: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LookupPrivilegeNameA(lpsystemname: ::windows_sys::core::PCSTR, lpluid: *const super::Foundation::LUID, lpname: ::windows_sys::core::PSTR, cchname: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LookupPrivilegeNameW(lpsystemname: ::windows_sys::core::PCWSTR, lpluid: *const super::Foundation::LUID, lpname: ::windows_sys::core::PWSTR, cchname: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LookupPrivilegeValueA(lpsystemname: ::windows_sys::core::PCSTR, lpname: ::windows_sys::core::PCSTR, lpluid: *mut super::Foundation::LUID) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LookupPrivilegeValueW(lpsystemname: ::windows_sys::core::PCWSTR, lpname: ::windows_sys::core::PCWSTR, lpluid: *mut super::Foundation::LUID) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MakeAbsoluteSD(pselfrelativesecuritydescriptor: PSECURITY_DESCRIPTOR, pabsolutesecuritydescriptor: PSECURITY_DESCRIPTOR, lpdwabsolutesecuritydescriptorsize: *mut u32, pdacl: *mut ACL, lpdwdaclsize: *mut u32, psacl: *mut ACL, lpdwsaclsize: *mut u32, powner: super::Foundation::PSID, lpdwownersize: *mut u32, pprimarygroup: super::Foundation::PSID, lpdwprimarygroupsize: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MakeSelfRelativeSD(pabsolutesecuritydescriptor: PSECURITY_DESCRIPTOR, pselfrelativesecuritydescriptor: PSECURITY_DESCRIPTOR, lpdwbufferlength: *mut u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`*"] pub fn MapGenericMask(accessmask: *mut u32, genericmapping: *const GENERIC_MAPPING); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ObjectCloseAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, generateonclose: super::Foundation::BOOL) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ObjectCloseAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, generateonclose: super::Foundation::BOOL) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ObjectDeleteAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, generateonclose: super::Foundation::BOOL) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ObjectDeleteAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, generateonclose: super::Foundation::BOOL) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ObjectOpenAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCSTR, objectname: ::windows_sys::core::PCSTR, psecuritydescriptor: PSECURITY_DESCRIPTOR, clienttoken: super::Foundation::HANDLE, desiredaccess: u32, grantedaccess: u32, privileges: *const PRIVILEGE_SET, objectcreation: super::Foundation::BOOL, accessgranted: super::Foundation::BOOL, generateonclose: *mut i32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ObjectOpenAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCWSTR, objectname: ::windows_sys::core::PCWSTR, psecuritydescriptor: PSECURITY_DESCRIPTOR, clienttoken: super::Foundation::HANDLE, desiredaccess: u32, grantedaccess: u32, privileges: *const PRIVILEGE_SET, objectcreation: super::Foundation::BOOL, accessgranted: super::Foundation::BOOL, generateonclose: *mut i32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ObjectPrivilegeAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, clienttoken: super::Foundation::HANDLE, desiredaccess: u32, privileges: *const PRIVILEGE_SET, accessgranted: super::Foundation::BOOL) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ObjectPrivilegeAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, clienttoken: super::Foundation::HANDLE, desiredaccess: u32, privileges: *const PRIVILEGE_SET, accessgranted: super::Foundation::BOOL) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrivilegeCheck(clienttoken: super::Foundation::HANDLE, requiredprivileges: *mut PRIVILEGE_SET, pfresult: *mut i32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrivilegedServiceAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, servicename: ::windows_sys::core::PCSTR, clienttoken: super::Foundation::HANDLE, privileges: *const PRIVILEGE_SET, accessgranted: super::Foundation::BOOL) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrivilegedServiceAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, servicename: ::windows_sys::core::PCWSTR, clienttoken: super::Foundation::HANDLE, privileges: *const PRIVILEGE_SET, accessgranted: super::Foundation::BOOL) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`*"] pub fn QuerySecurityAccessMask(securityinformation: u32, desiredaccess: *mut u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RevertToSelf() -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtlConvertSidToUnicodeString(unicodestring: *mut super::Foundation::UNICODE_STRING, sid: super::Foundation::PSID, allocatedestinationstring: super::Foundation::BOOLEAN) -> super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtlNormalizeSecurityDescriptor(securitydescriptor: *mut PSECURITY_DESCRIPTOR, securitydescriptorlength: u32, newsecuritydescriptor: *mut PSECURITY_DESCRIPTOR, newsecuritydescriptorlength: *mut u32, checkonly: super::Foundation::BOOLEAN) -> super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetAclInformation(pacl: *mut ACL, paclinformation: *const ::core::ffi::c_void, naclinformationlength: u32, dwaclinformationclass: ACL_INFORMATION_CLASS) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetCachedSigningLevel(sourcefiles: *const super::Foundation::HANDLE, sourcefilecount: u32, flags: u32, targetfile: super::Foundation::HANDLE) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFileSecurityA(lpfilename: ::windows_sys::core::PCSTR, securityinformation: u32, psecuritydescriptor: PSECURITY_DESCRIPTOR) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFileSecurityW(lpfilename: ::windows_sys::core::PCWSTR, securityinformation: u32, psecuritydescriptor: PSECURITY_DESCRIPTOR) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetKernelObjectSecurity(handle: super::Foundation::HANDLE, securityinformation: u32, securitydescriptor: PSECURITY_DESCRIPTOR) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetPrivateObjectSecurity(securityinformation: u32, modificationdescriptor: PSECURITY_DESCRIPTOR, objectssecuritydescriptor: *mut PSECURITY_DESCRIPTOR, genericmapping: *const GENERIC_MAPPING, token: super::Foundation::HANDLE) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetPrivateObjectSecurityEx(securityinformation: u32, modificationdescriptor: PSECURITY_DESCRIPTOR, objectssecuritydescriptor: *mut PSECURITY_DESCRIPTOR, autoinheritflags: SECURITY_AUTO_INHERIT_FLAGS, genericmapping: *const GENERIC_MAPPING, token: super::Foundation::HANDLE) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`*"] pub fn SetSecurityAccessMask(securityinformation: u32, desiredaccess: *mut u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetSecurityDescriptorControl(psecuritydescriptor: PSECURITY_DESCRIPTOR, controlbitsofinterest: u16, controlbitstoset: u16) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetSecurityDescriptorDacl(psecuritydescriptor: PSECURITY_DESCRIPTOR, bdaclpresent: super::Foundation::BOOL, pdacl: *const ACL, bdacldefaulted: super::Foundation::BOOL) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetSecurityDescriptorGroup(psecuritydescriptor: PSECURITY_DESCRIPTOR, pgroup: super::Foundation::PSID, bgroupdefaulted: super::Foundation::BOOL) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetSecurityDescriptorOwner(psecuritydescriptor: PSECURITY_DESCRIPTOR, powner: super::Foundation::PSID, bownerdefaulted: super::Foundation::BOOL) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`*"] pub fn SetSecurityDescriptorRMControl(securitydescriptor: PSECURITY_DESCRIPTOR, rmcontrol: *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetSecurityDescriptorSacl(psecuritydescriptor: PSECURITY_DESCRIPTOR, bsaclpresent: super::Foundation::BOOL, psacl: *const ACL, bsacldefaulted: super::Foundation::BOOL) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetTokenInformation(tokenhandle: super::Foundation::HANDLE, tokeninformationclass: TOKEN_INFORMATION_CLASS, tokeninformation: *const ::core::ffi::c_void, tokeninformationlength: u32) -> super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetUserObjectSecurity(hobj: super::Foundation::HANDLE, psirequested: *const OBJECT_SECURITY_INFORMATION, psid: PSECURITY_DESCRIPTOR) -> super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/Storage/Cabinets/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/Cabinets/mod.rs index a4320f9dad..77ac14e55e 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/Cabinets/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/Cabinets/mod.rs @@ -1,32 +1,59 @@ #[cfg_attr(windows, link(name = "windows"))] -extern "system" { +extern "cdecl" { #[doc = "*Required features: `\"Win32_Storage_Cabinets\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FCIAddFile(hfci: *const ::core::ffi::c_void, pszsourcefile: ::windows_sys::core::PCSTR, pszfilename: ::windows_sys::core::PCSTR, fexecute: super::super::Foundation::BOOL, pfnfcignc: PFNFCIGETNEXTCABINET, pfnfcis: PFNFCISTATUS, pfnfcigoi: PFNFCIGETOPENINFO, typecompress: u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Storage_Cabinets\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FCICreate(perf: *const ERF, pfnfcifp: PFNFCIFILEPLACED, pfna: PFNFCIALLOC, pfnf: PFNFCIFREE, pfnopen: PFNFCIOPEN, pfnread: PFNFCIREAD, pfnwrite: PFNFCIWRITE, pfnclose: PFNFCICLOSE, pfnseek: PFNFCISEEK, pfndelete: PFNFCIDELETE, pfnfcigtf: PFNFCIGETTEMPFILE, pccab: *const CCAB, pv: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Storage_Cabinets\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FCIDestroy(hfci: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Storage_Cabinets\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FCIFlushCabinet(hfci: *const ::core::ffi::c_void, fgetnextcab: super::super::Foundation::BOOL, pfnfcignc: PFNFCIGETNEXTCABINET, pfnfcis: PFNFCISTATUS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Storage_Cabinets\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FCIFlushFolder(hfci: *const ::core::ffi::c_void, pfnfcignc: PFNFCIGETNEXTCABINET, pfnfcis: PFNFCISTATUS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Storage_Cabinets\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FDICopy(hfdi: *const ::core::ffi::c_void, pszcabinet: ::windows_sys::core::PCSTR, pszcabpath: ::windows_sys::core::PCSTR, flags: i32, pfnfdin: PFNFDINOTIFY, pfnfdid: PFNFDIDECRYPT, pvuser: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Storage_Cabinets\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FDICreate(pfnalloc: PFNALLOC, pfnfree: PFNFREE, pfnopen: PFNOPEN, pfnread: PFNREAD, pfnwrite: PFNWRITE, pfnclose: PFNCLOSE, pfnseek: PFNSEEK, cputype: FDICREATE_CPU_TYPE, perf: *mut ERF) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Storage_Cabinets\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FDIDestroy(hfdi: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Storage_Cabinets\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FDIIsCabinet(hfdi: *const ::core::ffi::c_void, hf: isize, pfdici: *mut FDICABINETINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Storage_Cabinets\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FDITruncateCabinet(hfdi: *const ::core::ffi::c_void, pszcabinetname: ::windows_sys::core::PCSTR, ifoldertodelete: u16) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/Storage/CloudFilters/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/CloudFilters/mod.rs index c6236bded7..dcde15a453 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/CloudFilters/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/CloudFilters/mod.rs @@ -3,95 +3,197 @@ extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CfCloseHandle(filehandle: super::super::Foundation::HANDLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`, `\"Win32_System_CorrelationVector\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_CorrelationVector"))] pub fn CfConnectSyncRoot(syncrootpath: ::windows_sys::core::PCWSTR, callbacktable: *const CF_CALLBACK_REGISTRATION, callbackcontext: *const ::core::ffi::c_void, connectflags: CF_CONNECT_FLAGS, connectionkey: *mut CF_CONNECTION_KEY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn CfConvertToPlaceholder(filehandle: super::super::Foundation::HANDLE, fileidentity: *const ::core::ffi::c_void, fileidentitylength: u32, convertflags: CF_CONVERT_FLAGS, convertusn: *mut i64, overlapped: *mut super::super::System::IO::OVERLAPPED) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(feature = "Win32_Storage_FileSystem")] pub fn CfCreatePlaceholders(basedirectorypath: ::windows_sys::core::PCWSTR, placeholderarray: *mut CF_PLACEHOLDER_CREATE_INFO, placeholdercount: u32, createflags: CF_CREATE_FLAGS, entriesprocessed: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn CfDehydratePlaceholder(filehandle: super::super::Foundation::HANDLE, startingoffset: i64, length: i64, dehydrateflags: CF_DEHYDRATE_FLAGS, overlapped: *mut super::super::System::IO::OVERLAPPED) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`*"] pub fn CfDisconnectSyncRoot(connectionkey: CF_CONNECTION_KEY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_CorrelationVector\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem", feature = "Win32_System_CorrelationVector"))] pub fn CfExecute(opinfo: *const CF_OPERATION_INFO, opparams: *mut CF_OPERATION_PARAMETERS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`, `\"Win32_System_CorrelationVector\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_CorrelationVector"))] pub fn CfGetCorrelationVector(filehandle: super::super::Foundation::HANDLE, correlationvector: *mut super::super::System::CorrelationVector::CORRELATION_VECTOR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CfGetPlaceholderInfo(filehandle: super::super::Foundation::HANDLE, infoclass: CF_PLACEHOLDER_INFO_CLASS, infobuffer: *mut ::core::ffi::c_void, infobufferlength: u32, returnedlength: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CfGetPlaceholderRangeInfo(filehandle: super::super::Foundation::HANDLE, infoclass: CF_PLACEHOLDER_RANGE_INFO_CLASS, startingoffset: i64, length: i64, infobuffer: *mut ::core::ffi::c_void, infobufferlength: u32, returnedlength: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`*"] pub fn CfGetPlaceholderStateFromAttributeTag(fileattributes: u32, reparsetag: u32) -> CF_PLACEHOLDER_STATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(feature = "Win32_Storage_FileSystem")] pub fn CfGetPlaceholderStateFromFileInfo(infobuffer: *const ::core::ffi::c_void, infoclass: super::FileSystem::FILE_INFO_BY_HANDLE_CLASS) -> CF_PLACEHOLDER_STATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] pub fn CfGetPlaceholderStateFromFindData(finddata: *const super::FileSystem::WIN32_FIND_DATAA) -> CF_PLACEHOLDER_STATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`*"] pub fn CfGetPlatformInfo(platformversion: *mut CF_PLATFORM_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CfGetSyncRootInfoByHandle(filehandle: super::super::Foundation::HANDLE, infoclass: CF_SYNC_ROOT_INFO_CLASS, infobuffer: *mut ::core::ffi::c_void, infobufferlength: u32, returnedlength: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`*"] pub fn CfGetSyncRootInfoByPath(filepath: ::windows_sys::core::PCWSTR, infoclass: CF_SYNC_ROOT_INFO_CLASS, infobuffer: *mut ::core::ffi::c_void, infobufferlength: u32, returnedlength: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CfGetTransferKey(filehandle: super::super::Foundation::HANDLE, transferkey: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CfGetWin32HandleFromProtectedHandle(protectedhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn CfHydratePlaceholder(filehandle: super::super::Foundation::HANDLE, startingoffset: i64, length: i64, hydrateflags: CF_HYDRATE_FLAGS, overlapped: *mut super::super::System::IO::OVERLAPPED) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CfOpenFileWithOplock(filepath: ::windows_sys::core::PCWSTR, flags: CF_OPEN_FILE_FLAGS, protectedhandle: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`*"] pub fn CfQuerySyncProviderStatus(connectionkey: CF_CONNECTION_KEY, providerstatus: *mut CF_SYNC_PROVIDER_STATUS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CfReferenceProtectedHandle(protectedhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`*"] pub fn CfRegisterSyncRoot(syncrootpath: ::windows_sys::core::PCWSTR, registration: *const CF_SYNC_REGISTRATION, policies: *const CF_SYNC_POLICIES, registerflags: CF_REGISTER_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CfReleaseProtectedHandle(protectedhandle: super::super::Foundation::HANDLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CfReleaseTransferKey(filehandle: super::super::Foundation::HANDLE, transferkey: *mut i64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`*"] pub fn CfReportProviderProgress(connectionkey: CF_CONNECTION_KEY, transferkey: i64, providerprogresstotal: i64, providerprogresscompleted: i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`*"] pub fn CfReportProviderProgress2(connectionkey: CF_CONNECTION_KEY, transferkey: i64, requestkey: i64, providerprogresstotal: i64, providerprogresscompleted: i64, targetsessionid: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`*"] pub fn CfReportSyncStatus(syncrootpath: ::windows_sys::core::PCWSTR, syncstatus: *const CF_SYNC_STATUS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn CfRevertPlaceholder(filehandle: super::super::Foundation::HANDLE, revertflags: CF_REVERT_FLAGS, overlapped: *mut super::super::System::IO::OVERLAPPED) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`, `\"Win32_System_CorrelationVector\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_CorrelationVector"))] pub fn CfSetCorrelationVector(filehandle: super::super::Foundation::HANDLE, correlationvector: *const super::super::System::CorrelationVector::CORRELATION_VECTOR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CfSetInSyncState(filehandle: super::super::Foundation::HANDLE, insyncstate: CF_IN_SYNC_STATE, insyncflags: CF_SET_IN_SYNC_FLAGS, insyncusn: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn CfSetPinState(filehandle: super::super::Foundation::HANDLE, pinstate: CF_PIN_STATE, pinflags: CF_SET_PIN_FLAGS, overlapped: *mut super::super::System::IO::OVERLAPPED) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`*"] pub fn CfUnregisterSyncRoot(syncrootpath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO"))] pub fn CfUpdatePlaceholder(filehandle: super::super::Foundation::HANDLE, fsmetadata: *const CF_FS_METADATA, fileidentity: *const ::core::ffi::c_void, fileidentitylength: u32, dehydraterangearray: *const CF_FILE_RANGE, dehydraterangecount: u32, updateflags: CF_UPDATE_FLAGS, updateusn: *mut i64, overlapped: *mut super::super::System::IO::OVERLAPPED) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`*"] pub fn CfUpdateSyncProviderStatus(connectionkey: CF_CONNECTION_KEY, providerstatus: CF_SYNC_PROVIDER_STATUS) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/Storage/Compression/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/Compression/mod.rs index 2271d23ab3..39aef92b27 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/Compression/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/Compression/mod.rs @@ -3,36 +3,69 @@ extern "system" { #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseCompressor(compressorhandle: COMPRESSOR_HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseDecompressor(decompressorhandle: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Compress(compressorhandle: COMPRESSOR_HANDLE, uncompresseddata: *const ::core::ffi::c_void, uncompresseddatasize: usize, compressedbuffer: *mut ::core::ffi::c_void, compressedbuffersize: usize, compresseddatasize: *mut usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateCompressor(algorithm: COMPRESS_ALGORITHM, allocationroutines: *const COMPRESS_ALLOCATION_ROUTINES, compressorhandle: *mut isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateDecompressor(algorithm: COMPRESS_ALGORITHM, allocationroutines: *const COMPRESS_ALLOCATION_ROUTINES, decompressorhandle: *mut isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Decompress(decompressorhandle: isize, compresseddata: *const ::core::ffi::c_void, compresseddatasize: usize, uncompressedbuffer: *mut ::core::ffi::c_void, uncompressedbuffersize: usize, uncompresseddatasize: *mut usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryCompressorInformation(compressorhandle: COMPRESSOR_HANDLE, compressinformationclass: COMPRESS_INFORMATION_CLASS, compressinformation: *mut ::core::ffi::c_void, compressinformationsize: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryDecompressorInformation(decompressorhandle: isize, compressinformationclass: COMPRESS_INFORMATION_CLASS, compressinformation: *mut ::core::ffi::c_void, compressinformationsize: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResetCompressor(compressorhandle: COMPRESSOR_HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResetDecompressor(decompressorhandle: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetCompressorInformation(compressorhandle: COMPRESSOR_HANDLE, compressinformationclass: COMPRESS_INFORMATION_CLASS, compressinformation: *const ::core::ffi::c_void, compressinformationsize: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetDecompressorInformation(decompressorhandle: isize, compressinformationclass: COMPRESS_INFORMATION_CLASS, compressinformation: *const ::core::ffi::c_void, compressinformationsize: usize) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs index 05efefdf89..c21158d69d 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs @@ -2,51 +2,114 @@ extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub fn NetDfsAdd(dfsentrypath: ::windows_sys::core::PCWSTR, servername: ::windows_sys::core::PCWSTR, sharename: ::windows_sys::core::PCWSTR, comment: ::windows_sys::core::PCWSTR, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub fn NetDfsAddFtRoot(servername: ::windows_sys::core::PCWSTR, rootshare: ::windows_sys::core::PCWSTR, ftdfsname: ::windows_sys::core::PCWSTR, comment: ::windows_sys::core::PCWSTR, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub fn NetDfsAddRootTarget(pdfspath: ::windows_sys::core::PCWSTR, ptargetpath: ::windows_sys::core::PCWSTR, majorversion: u32, pcomment: ::windows_sys::core::PCWSTR, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub fn NetDfsAddStdRoot(servername: ::windows_sys::core::PCWSTR, rootshare: ::windows_sys::core::PCWSTR, comment: ::windows_sys::core::PCWSTR, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub fn NetDfsEnum(dfsname: ::windows_sys::core::PCWSTR, level: u32, prefmaxlen: u32, buffer: *mut *mut u8, entriesread: *mut u32, resumehandle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub fn NetDfsGetClientInfo(dfsentrypath: ::windows_sys::core::PCWSTR, servername: ::windows_sys::core::PCWSTR, sharename: ::windows_sys::core::PCWSTR, level: u32, buffer: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn NetDfsGetFtContainerSecurity(domainname: ::windows_sys::core::PCWSTR, securityinformation: u32, ppsecuritydescriptor: *mut super::super::Security::PSECURITY_DESCRIPTOR, lpcbsecuritydescriptor: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub fn NetDfsGetInfo(dfsentrypath: ::windows_sys::core::PCWSTR, servername: ::windows_sys::core::PCWSTR, sharename: ::windows_sys::core::PCWSTR, level: u32, buffer: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn NetDfsGetSecurity(dfsentrypath: ::windows_sys::core::PCWSTR, securityinformation: u32, ppsecuritydescriptor: *mut super::super::Security::PSECURITY_DESCRIPTOR, lpcbsecuritydescriptor: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn NetDfsGetStdContainerSecurity(machinename: ::windows_sys::core::PCWSTR, securityinformation: u32, ppsecuritydescriptor: *mut super::super::Security::PSECURITY_DESCRIPTOR, lpcbsecuritydescriptor: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub fn NetDfsGetSupportedNamespaceVersion(origin: DFS_NAMESPACE_VERSION_ORIGIN, pname: ::windows_sys::core::PCWSTR, ppversioninfo: *mut *mut DFS_SUPPORTED_NAMESPACE_VERSION_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub fn NetDfsMove(olddfsentrypath: ::windows_sys::core::PCWSTR, newdfsentrypath: ::windows_sys::core::PCWSTR, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub fn NetDfsRemove(dfsentrypath: ::windows_sys::core::PCWSTR, servername: ::windows_sys::core::PCWSTR, sharename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub fn NetDfsRemoveFtRoot(servername: ::windows_sys::core::PCWSTR, rootshare: ::windows_sys::core::PCWSTR, ftdfsname: ::windows_sys::core::PCWSTR, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub fn NetDfsRemoveFtRootForced(domainname: ::windows_sys::core::PCWSTR, servername: ::windows_sys::core::PCWSTR, rootshare: ::windows_sys::core::PCWSTR, ftdfsname: ::windows_sys::core::PCWSTR, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub fn NetDfsRemoveRootTarget(pdfspath: ::windows_sys::core::PCWSTR, ptargetpath: ::windows_sys::core::PCWSTR, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub fn NetDfsRemoveStdRoot(servername: ::windows_sys::core::PCWSTR, rootshare: ::windows_sys::core::PCWSTR, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub fn NetDfsSetClientInfo(dfsentrypath: ::windows_sys::core::PCWSTR, servername: ::windows_sys::core::PCWSTR, sharename: ::windows_sys::core::PCWSTR, level: u32, buffer: *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn NetDfsSetFtContainerSecurity(domainname: ::windows_sys::core::PCWSTR, securityinformation: u32, psecuritydescriptor: super::super::Security::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub fn NetDfsSetInfo(dfsentrypath: ::windows_sys::core::PCWSTR, servername: ::windows_sys::core::PCWSTR, sharename: ::windows_sys::core::PCWSTR, level: u32, buffer: *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn NetDfsSetSecurity(dfsentrypath: ::windows_sys::core::PCWSTR, securityinformation: u32, psecuritydescriptor: super::super::Security::PSECURITY_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn NetDfsSetStdContainerSecurity(machinename: ::windows_sys::core::PCWSTR, securityinformation: u32, psecuritydescriptor: super::super::Security::PSECURITY_DESCRIPTOR) -> u32; diff --git a/crates/libs/sys/src/Windows/Win32/Storage/FileHistory/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/FileHistory/mod.rs index d03cfe1630..e1d39f32b5 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/FileHistory/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/FileHistory/mod.rs @@ -3,21 +3,39 @@ extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(feature = "Win32_System_WindowsProgramming")] pub fn FhServiceBlockBackup(pipe: super::super::System::WindowsProgramming::FH_SERVICE_PIPE_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(feature = "Win32_System_WindowsProgramming")] pub fn FhServiceClosePipe(pipe: super::super::System::WindowsProgramming::FH_SERVICE_PIPE_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] pub fn FhServiceOpenPipe(startserviceifstopped: super::super::Foundation::BOOL, pipe: *mut super::super::System::WindowsProgramming::FH_SERVICE_PIPE_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(feature = "Win32_System_WindowsProgramming")] pub fn FhServiceReloadConfiguration(pipe: super::super::System::WindowsProgramming::FH_SERVICE_PIPE_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] pub fn FhServiceStartBackup(pipe: super::super::System::WindowsProgramming::FH_SERVICE_PIPE_HANDLE, lowpriorityio: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] pub fn FhServiceStopBackup(pipe: super::super::System::WindowsProgramming::FH_SERVICE_PIPE_HANDLE, stoptracking: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(feature = "Win32_System_WindowsProgramming")] pub fn FhServiceUnblockBackup(pipe: super::super::System::WindowsProgramming::FH_SERVICE_PIPE_HANDLE) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Storage/FileSystem/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/FileSystem/mod.rs index 7cd3d4f03d..2ee8102c5e 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/FileSystem/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/FileSystem/mod.rs @@ -3,1131 +3,2361 @@ extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddLogContainer(hlog: super::super::Foundation::HANDLE, pcbcontainer: *const u64, pwszcontainerpath: ::windows_sys::core::PCWSTR, preserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddLogContainerSet(hlog: super::super::Foundation::HANDLE, ccontainer: u16, pcbcontainer: *const u64, rgwszcontainerpath: *const ::windows_sys::core::PWSTR, preserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn AddUsersToEncryptedFile(lpfilename: ::windows_sys::core::PCWSTR, pencryptioncertificates: *const ENCRYPTION_CERTIFICATE_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn AdvanceLogBase(pvmarshal: *mut ::core::ffi::c_void, plsnbase: *mut CLS_LSN, fflags: u32, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AlignReservedLog(pvmarshal: *mut ::core::ffi::c_void, creservedrecords: u32, rgcbreservation: *mut i64, pcbalignreservation: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AllocReservedLog(pvmarshal: *mut ::core::ffi::c_void, creservedrecords: u32, pcbadjustment: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AreFileApisANSI() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AreShortNamesEnabled(handle: super::super::Foundation::HANDLE, enabled: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BackupRead(hfile: super::super::Foundation::HANDLE, lpbuffer: *mut u8, nnumberofbytestoread: u32, lpnumberofbytesread: *mut u32, babort: super::super::Foundation::BOOL, bprocesssecurity: super::super::Foundation::BOOL, lpcontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BackupSeek(hfile: super::super::Foundation::HANDLE, dwlowbytestoseek: u32, dwhighbytestoseek: u32, lpdwlowbyteseeked: *mut u32, lpdwhighbyteseeked: *mut u32, lpcontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BackupWrite(hfile: super::super::Foundation::HANDLE, lpbuffer: *const u8, nnumberofbytestowrite: u32, lpnumberofbyteswritten: *mut u32, babort: super::super::Foundation::BOOL, bprocesssecurity: super::super::Foundation::BOOL, lpcontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BuildIoRingCancelRequest(ioring: *const HIORING__, file: IORING_HANDLE_REF, optocancel: usize, userdata: usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BuildIoRingReadFile(ioring: *const HIORING__, fileref: IORING_HANDLE_REF, dataref: IORING_BUFFER_REF, numberofbytestoread: u32, fileoffset: u64, userdata: usize, flags: IORING_SQE_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn BuildIoRingRegisterBuffers(ioring: *const HIORING__, count: u32, buffers: *const IORING_BUFFER_INFO, userdata: usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BuildIoRingRegisterFileHandles(ioring: *const HIORING__, count: u32, handles: *const super::super::Foundation::HANDLE, userdata: usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CheckNameLegalDOS8Dot3A(lpname: ::windows_sys::core::PCSTR, lpoemname: ::windows_sys::core::PSTR, oemnamesize: u32, pbnamecontainsspaces: *mut super::super::Foundation::BOOL, pbnamelegal: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CheckNameLegalDOS8Dot3W(lpname: ::windows_sys::core::PCWSTR, lpoemname: ::windows_sys::core::PSTR, oemnamesize: u32, pbnamecontainsspaces: *mut super::super::Foundation::BOOL, pbnamelegal: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseAndResetLogFile(hlog: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn CloseEncryptedFileRaw(pvcontext: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn CloseIoRing(ioring: *const HIORING__) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CommitComplete(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CommitEnlistment(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CommitTransaction(transactionhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CommitTransactionAsync(transactionhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CompareFileTime(lpfiletime1: *const super::super::Foundation::FILETIME, lpfiletime2: *const super::super::Foundation::FILETIME) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CopyFile2(pwszexistingfilename: ::windows_sys::core::PCWSTR, pwsznewfilename: ::windows_sys::core::PCWSTR, pextendedparameters: *const COPYFILE2_EXTENDED_PARAMETERS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CopyFileA(lpexistingfilename: ::windows_sys::core::PCSTR, lpnewfilename: ::windows_sys::core::PCSTR, bfailifexists: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CopyFileExA(lpexistingfilename: ::windows_sys::core::PCSTR, lpnewfilename: ::windows_sys::core::PCSTR, lpprogressroutine: LPPROGRESS_ROUTINE, lpdata: *const ::core::ffi::c_void, pbcancel: *mut i32, dwcopyflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CopyFileExW(lpexistingfilename: ::windows_sys::core::PCWSTR, lpnewfilename: ::windows_sys::core::PCWSTR, lpprogressroutine: LPPROGRESS_ROUTINE, lpdata: *const ::core::ffi::c_void, pbcancel: *mut i32, dwcopyflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CopyFileFromAppW(lpexistingfilename: ::windows_sys::core::PCWSTR, lpnewfilename: ::windows_sys::core::PCWSTR, bfailifexists: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CopyFileTransactedA(lpexistingfilename: ::windows_sys::core::PCSTR, lpnewfilename: ::windows_sys::core::PCSTR, lpprogressroutine: LPPROGRESS_ROUTINE, lpdata: *const ::core::ffi::c_void, pbcancel: *const i32, dwcopyflags: u32, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CopyFileTransactedW(lpexistingfilename: ::windows_sys::core::PCWSTR, lpnewfilename: ::windows_sys::core::PCWSTR, lpprogressroutine: LPPROGRESS_ROUTINE, lpdata: *const ::core::ffi::c_void, pbcancel: *const i32, dwcopyflags: u32, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CopyFileW(lpexistingfilename: ::windows_sys::core::PCWSTR, lpnewfilename: ::windows_sys::core::PCWSTR, bfailifexists: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn CopyLZFile(hfsource: i32, hfdest: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateDirectoryA(lppathname: ::windows_sys::core::PCSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateDirectoryExA(lptemplatedirectory: ::windows_sys::core::PCSTR, lpnewdirectory: ::windows_sys::core::PCSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateDirectoryExW(lptemplatedirectory: ::windows_sys::core::PCWSTR, lpnewdirectory: ::windows_sys::core::PCWSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateDirectoryFromAppW(lppathname: ::windows_sys::core::PCWSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateDirectoryTransactedA(lptemplatedirectory: ::windows_sys::core::PCSTR, lpnewdirectory: ::windows_sys::core::PCSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateDirectoryTransactedW(lptemplatedirectory: ::windows_sys::core::PCWSTR, lpnewdirectory: ::windows_sys::core::PCWSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateDirectoryW(lppathname: ::windows_sys::core::PCWSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateEnlistment(lpenlistmentattributes: *mut super::super::Security::SECURITY_ATTRIBUTES, resourcemanagerhandle: super::super::Foundation::HANDLE, transactionhandle: super::super::Foundation::HANDLE, notificationmask: u32, createoptions: u32, enlistmentkey: *mut ::core::ffi::c_void) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateFile2(lpfilename: ::windows_sys::core::PCWSTR, dwdesiredaccess: FILE_ACCESS_FLAGS, dwsharemode: FILE_SHARE_MODE, dwcreationdisposition: FILE_CREATION_DISPOSITION, pcreateexparams: *const CREATEFILE2_EXTENDED_PARAMETERS) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateFile2FromAppW(lpfilename: ::windows_sys::core::PCWSTR, dwdesiredaccess: u32, dwsharemode: u32, dwcreationdisposition: u32, pcreateexparams: *const CREATEFILE2_EXTENDED_PARAMETERS) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateFileA(lpfilename: ::windows_sys::core::PCSTR, dwdesiredaccess: FILE_ACCESS_FLAGS, dwsharemode: FILE_SHARE_MODE, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, dwcreationdisposition: FILE_CREATION_DISPOSITION, dwflagsandattributes: FILE_FLAGS_AND_ATTRIBUTES, htemplatefile: super::super::Foundation::HANDLE) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateFileFromAppW(lpfilename: ::windows_sys::core::PCWSTR, dwdesiredaccess: u32, dwsharemode: u32, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, dwcreationdisposition: u32, dwflagsandattributes: u32, htemplatefile: super::super::Foundation::HANDLE) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateFileTransactedA(lpfilename: ::windows_sys::core::PCSTR, dwdesiredaccess: u32, dwsharemode: FILE_SHARE_MODE, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, dwcreationdisposition: FILE_CREATION_DISPOSITION, dwflagsandattributes: FILE_FLAGS_AND_ATTRIBUTES, htemplatefile: super::super::Foundation::HANDLE, htransaction: super::super::Foundation::HANDLE, pusminiversion: *const TXFS_MINIVERSION, lpextendedparameter: *mut ::core::ffi::c_void) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateFileTransactedW(lpfilename: ::windows_sys::core::PCWSTR, dwdesiredaccess: u32, dwsharemode: FILE_SHARE_MODE, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, dwcreationdisposition: FILE_CREATION_DISPOSITION, dwflagsandattributes: FILE_FLAGS_AND_ATTRIBUTES, htemplatefile: super::super::Foundation::HANDLE, htransaction: super::super::Foundation::HANDLE, pusminiversion: *const TXFS_MINIVERSION, lpextendedparameter: *mut ::core::ffi::c_void) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateFileW(lpfilename: ::windows_sys::core::PCWSTR, dwdesiredaccess: FILE_ACCESS_FLAGS, dwsharemode: FILE_SHARE_MODE, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, dwcreationdisposition: FILE_CREATION_DISPOSITION, dwflagsandattributes: FILE_FLAGS_AND_ATTRIBUTES, htemplatefile: super::super::Foundation::HANDLE) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateHardLinkA(lpfilename: ::windows_sys::core::PCSTR, lpexistingfilename: ::windows_sys::core::PCSTR, lpsecurityattributes: *mut super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateHardLinkTransactedA(lpfilename: ::windows_sys::core::PCSTR, lpexistingfilename: ::windows_sys::core::PCSTR, lpsecurityattributes: *mut super::super::Security::SECURITY_ATTRIBUTES, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateHardLinkTransactedW(lpfilename: ::windows_sys::core::PCWSTR, lpexistingfilename: ::windows_sys::core::PCWSTR, lpsecurityattributes: *mut super::super::Security::SECURITY_ATTRIBUTES, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateHardLinkW(lpfilename: ::windows_sys::core::PCWSTR, lpexistingfilename: ::windows_sys::core::PCWSTR, lpsecurityattributes: *mut super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn CreateIoRing(ioringversion: IORING_VERSION, flags: IORING_CREATE_FLAGS, submissionqueuesize: u32, completionqueuesize: u32, h: *mut *mut HIORING__) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn CreateLogContainerScanContext(hlog: super::super::Foundation::HANDLE, cfromcontainer: u32, ccontainers: u32, escanmode: u8, pcxscan: *mut CLS_SCAN_CONTEXT, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateLogFile(pszlogfilename: ::windows_sys::core::PCWSTR, fdesiredaccess: FILE_ACCESS_FLAGS, dwsharemode: FILE_SHARE_MODE, psalogfile: *mut super::super::Security::SECURITY_ATTRIBUTES, fcreatedisposition: FILE_CREATION_DISPOSITION, fflagsandattributes: FILE_FLAGS_AND_ATTRIBUTES) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateLogMarshallingArea(hlog: super::super::Foundation::HANDLE, pfnallocbuffer: CLFS_BLOCK_ALLOCATION, pfnfreebuffer: CLFS_BLOCK_DEALLOCATION, pvblockalloccontext: *mut ::core::ffi::c_void, cbmarshallingbuffer: u32, cmaxwritebuffers: u32, cmaxreadbuffers: u32, ppvmarshal: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateResourceManager(lpresourcemanagerattributes: *mut super::super::Security::SECURITY_ATTRIBUTES, resourcemanagerid: *mut ::windows_sys::core::GUID, createoptions: u32, tmhandle: super::super::Foundation::HANDLE, description: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateSymbolicLinkA(lpsymlinkfilename: ::windows_sys::core::PCSTR, lptargetfilename: ::windows_sys::core::PCSTR, dwflags: SYMBOLIC_LINK_FLAGS) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateSymbolicLinkTransactedA(lpsymlinkfilename: ::windows_sys::core::PCSTR, lptargetfilename: ::windows_sys::core::PCSTR, dwflags: SYMBOLIC_LINK_FLAGS, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateSymbolicLinkTransactedW(lpsymlinkfilename: ::windows_sys::core::PCWSTR, lptargetfilename: ::windows_sys::core::PCWSTR, dwflags: SYMBOLIC_LINK_FLAGS, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateSymbolicLinkW(lpsymlinkfilename: ::windows_sys::core::PCWSTR, lptargetfilename: ::windows_sys::core::PCWSTR, dwflags: SYMBOLIC_LINK_FLAGS) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateTapePartition(hdevice: super::super::Foundation::HANDLE, dwpartitionmethod: CREATE_TAPE_PARTITION_METHOD, dwcount: u32, dwsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateTransaction(lptransactionattributes: *mut super::super::Security::SECURITY_ATTRIBUTES, uow: *mut ::windows_sys::core::GUID, createoptions: u32, isolationlevel: u32, isolationflags: u32, timeout: u32, description: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateTransactionManager(lptransactionattributes: *mut super::super::Security::SECURITY_ATTRIBUTES, logfilename: ::windows_sys::core::PCWSTR, createoptions: u32, commitstrength: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DecryptFileA(lpfilename: ::windows_sys::core::PCSTR, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DecryptFileW(lpfilename: ::windows_sys::core::PCWSTR, dwreserved: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DefineDosDeviceA(dwflags: DEFINE_DOS_DEVICE_FLAGS, lpdevicename: ::windows_sys::core::PCSTR, lptargetpath: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DefineDosDeviceW(dwflags: DEFINE_DOS_DEVICE_FLAGS, lpdevicename: ::windows_sys::core::PCWSTR, lptargetpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteFileA(lpfilename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteFileFromAppW(lpfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteFileTransactedA(lpfilename: ::windows_sys::core::PCSTR, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteFileTransactedW(lpfilename: ::windows_sys::core::PCWSTR, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteFileW(lpfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteLogByHandle(hlog: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteLogFile(pszlogfilename: ::windows_sys::core::PCWSTR, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteLogMarshallingArea(pvmarshal: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteVolumeMountPointA(lpszvolumemountpoint: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteVolumeMountPointW(lpszvolumemountpoint: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeregisterManageableLogClient(hlog: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn DuplicateEncryptionInfoFile(srcfilename: ::windows_sys::core::PCWSTR, dstfilename: ::windows_sys::core::PCWSTR, dwcreationdistribution: u32, dwattributes: u32, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EncryptFileA(lpfilename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EncryptFileW(lpfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EncryptionDisable(dirpath: ::windows_sys::core::PCWSTR, disable: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EraseTape(hdevice: super::super::Foundation::HANDLE, dwerasetype: ERASE_TAPE_TYPE, bimmediate: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FileEncryptionStatusA(lpfilename: ::windows_sys::core::PCSTR, lpstatus: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FileEncryptionStatusW(lpfilename: ::windows_sys::core::PCWSTR, lpstatus: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FileTimeToLocalFileTime(lpfiletime: *const super::super::Foundation::FILETIME, lplocalfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindClose(hfindfile: FindFileHandle) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindCloseChangeNotification(hchangehandle: FindChangeNotificationHandle) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindFirstChangeNotificationA(lppathname: ::windows_sys::core::PCSTR, bwatchsubtree: super::super::Foundation::BOOL, dwnotifyfilter: FILE_NOTIFY_CHANGE) -> FindChangeNotificationHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindFirstChangeNotificationW(lppathname: ::windows_sys::core::PCWSTR, bwatchsubtree: super::super::Foundation::BOOL, dwnotifyfilter: FILE_NOTIFY_CHANGE) -> FindChangeNotificationHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindFirstFileA(lpfilename: ::windows_sys::core::PCSTR, lpfindfiledata: *mut WIN32_FIND_DATAA) -> FindFileHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn FindFirstFileExA(lpfilename: ::windows_sys::core::PCSTR, finfolevelid: FINDEX_INFO_LEVELS, lpfindfiledata: *mut ::core::ffi::c_void, fsearchop: FINDEX_SEARCH_OPS, lpsearchfilter: *mut ::core::ffi::c_void, dwadditionalflags: FIND_FIRST_EX_FLAGS) -> FindFileHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindFirstFileExFromAppW(lpfilename: ::windows_sys::core::PCWSTR, finfolevelid: FINDEX_INFO_LEVELS, lpfindfiledata: *mut ::core::ffi::c_void, fsearchop: FINDEX_SEARCH_OPS, lpsearchfilter: *mut ::core::ffi::c_void, dwadditionalflags: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn FindFirstFileExW(lpfilename: ::windows_sys::core::PCWSTR, finfolevelid: FINDEX_INFO_LEVELS, lpfindfiledata: *mut ::core::ffi::c_void, fsearchop: FINDEX_SEARCH_OPS, lpsearchfilter: *mut ::core::ffi::c_void, dwadditionalflags: FIND_FIRST_EX_FLAGS) -> FindFileHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindFirstFileNameTransactedW(lpfilename: ::windows_sys::core::PCWSTR, dwflags: u32, stringlength: *mut u32, linkname: ::windows_sys::core::PWSTR, htransaction: super::super::Foundation::HANDLE) -> FindFileNameHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn FindFirstFileNameW(lpfilename: ::windows_sys::core::PCWSTR, dwflags: u32, stringlength: *mut u32, linkname: ::windows_sys::core::PWSTR) -> FindFileNameHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindFirstFileTransactedA(lpfilename: ::windows_sys::core::PCSTR, finfolevelid: FINDEX_INFO_LEVELS, lpfindfiledata: *mut ::core::ffi::c_void, fsearchop: FINDEX_SEARCH_OPS, lpsearchfilter: *mut ::core::ffi::c_void, dwadditionalflags: u32, htransaction: super::super::Foundation::HANDLE) -> FindFileHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindFirstFileTransactedW(lpfilename: ::windows_sys::core::PCWSTR, finfolevelid: FINDEX_INFO_LEVELS, lpfindfiledata: *mut ::core::ffi::c_void, fsearchop: FINDEX_SEARCH_OPS, lpsearchfilter: *mut ::core::ffi::c_void, dwadditionalflags: u32, htransaction: super::super::Foundation::HANDLE) -> FindFileHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindFirstFileW(lpfilename: ::windows_sys::core::PCWSTR, lpfindfiledata: *mut WIN32_FIND_DATAW) -> FindFileHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindFirstStreamTransactedW(lpfilename: ::windows_sys::core::PCWSTR, infolevel: STREAM_INFO_LEVELS, lpfindstreamdata: *mut ::core::ffi::c_void, dwflags: u32, htransaction: super::super::Foundation::HANDLE) -> FindStreamHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn FindFirstStreamW(lpfilename: ::windows_sys::core::PCWSTR, infolevel: STREAM_INFO_LEVELS, lpfindstreamdata: *mut ::core::ffi::c_void, dwflags: u32) -> FindStreamHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn FindFirstVolumeA(lpszvolumename: ::windows_sys::core::PSTR, cchbufferlength: u32) -> FindVolumeHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn FindFirstVolumeMountPointA(lpszrootpathname: ::windows_sys::core::PCSTR, lpszvolumemountpoint: ::windows_sys::core::PSTR, cchbufferlength: u32) -> FindVolumeMointPointHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn FindFirstVolumeMountPointW(lpszrootpathname: ::windows_sys::core::PCWSTR, lpszvolumemountpoint: ::windows_sys::core::PWSTR, cchbufferlength: u32) -> FindVolumeMointPointHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn FindFirstVolumeW(lpszvolumename: ::windows_sys::core::PWSTR, cchbufferlength: u32) -> FindVolumeHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindNextChangeNotification(hchangehandle: FindChangeNotificationHandle) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindNextFileA(hfindfile: FindFileHandle, lpfindfiledata: *mut WIN32_FIND_DATAA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindNextFileNameW(hfindstream: FindFileNameHandle, stringlength: *mut u32, linkname: ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindNextFileW(hfindfile: FindFileHandle, lpfindfiledata: *mut WIN32_FIND_DATAW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindNextStreamW(hfindstream: FindStreamHandle, lpfindstreamdata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindNextVolumeA(hfindvolume: FindVolumeHandle, lpszvolumename: ::windows_sys::core::PSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindNextVolumeMountPointA(hfindvolumemountpoint: FindVolumeMointPointHandle, lpszvolumemountpoint: ::windows_sys::core::PSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindNextVolumeMountPointW(hfindvolumemountpoint: FindVolumeMointPointHandle, lpszvolumemountpoint: ::windows_sys::core::PWSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindNextVolumeW(hfindvolume: FindVolumeHandle, lpszvolumename: ::windows_sys::core::PWSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindVolumeClose(hfindvolume: FindVolumeHandle) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindVolumeMountPointClose(hfindvolumemountpoint: FindVolumeMointPointHandle) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FlushFileBuffers(hfile: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn FlushLogBuffers(pvmarshal: *mut ::core::ffi::c_void, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn FlushLogToLsn(pvmarshalcontext: *mut ::core::ffi::c_void, plsnflush: *mut CLS_LSN, plsnlastflushed: *mut CLS_LSN, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn FreeEncryptedFileMetadata(pbmetadata: *const u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn FreeEncryptionCertificateHashList(pusers: *const ENCRYPTION_CERTIFICATE_HASH_LIST); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreeReservedLog(pvmarshal: *mut ::core::ffi::c_void, creservedrecords: u32, pcbadjustment: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetBinaryTypeA(lpapplicationname: ::windows_sys::core::PCSTR, lpbinarytype: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetBinaryTypeW(lpapplicationname: ::windows_sys::core::PCWSTR, lpbinarytype: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetCompressedFileSizeA(lpfilename: ::windows_sys::core::PCSTR, lpfilesizehigh: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCompressedFileSizeTransactedA(lpfilename: ::windows_sys::core::PCSTR, lpfilesizehigh: *mut u32, htransaction: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCompressedFileSizeTransactedW(lpfilename: ::windows_sys::core::PCWSTR, lpfilesizehigh: *mut u32, htransaction: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetCompressedFileSizeW(lpfilename: ::windows_sys::core::PCWSTR, lpfilesizehigh: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCurrentClockTransactionManager(transactionmanagerhandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDiskFreeSpaceA(lprootpathname: ::windows_sys::core::PCSTR, lpsectorspercluster: *mut u32, lpbytespersector: *mut u32, lpnumberoffreeclusters: *mut u32, lptotalnumberofclusters: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDiskFreeSpaceExA(lpdirectoryname: ::windows_sys::core::PCSTR, lpfreebytesavailabletocaller: *mut u64, lptotalnumberofbytes: *mut u64, lptotalnumberoffreebytes: *mut u64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDiskFreeSpaceExW(lpdirectoryname: ::windows_sys::core::PCWSTR, lpfreebytesavailabletocaller: *mut u64, lptotalnumberofbytes: *mut u64, lptotalnumberoffreebytes: *mut u64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDiskFreeSpaceW(lprootpathname: ::windows_sys::core::PCWSTR, lpsectorspercluster: *mut u32, lpbytespersector: *mut u32, lpnumberoffreeclusters: *mut u32, lptotalnumberofclusters: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetDiskSpaceInformationA(rootpath: ::windows_sys::core::PCSTR, diskspaceinfo: *mut DISK_SPACE_INFORMATION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetDiskSpaceInformationW(rootpath: ::windows_sys::core::PCWSTR, diskspaceinfo: *mut DISK_SPACE_INFORMATION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetDriveTypeA(lprootpathname: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetDriveTypeW(lprootpathname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetEncryptedFileMetadata(lpfilename: ::windows_sys::core::PCWSTR, pcbmetadata: *mut u32, ppbmetadata: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetEnlistmentId(enlistmenthandle: super::super::Foundation::HANDLE, enlistmentid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetEnlistmentRecoveryInformation(enlistmenthandle: super::super::Foundation::HANDLE, buffersize: u32, buffer: *mut ::core::ffi::c_void, bufferused: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetExpandedNameA(lpszsource: ::windows_sys::core::PCSTR, lpszbuffer: ::windows_sys::core::PSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetExpandedNameW(lpszsource: ::windows_sys::core::PCWSTR, lpszbuffer: ::windows_sys::core::PWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetFileAttributesA(lpfilename: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFileAttributesExA(lpfilename: ::windows_sys::core::PCSTR, finfolevelid: GET_FILEEX_INFO_LEVELS, lpfileinformation: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFileAttributesExFromAppW(lpfilename: ::windows_sys::core::PCWSTR, finfolevelid: GET_FILEEX_INFO_LEVELS, lpfileinformation: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFileAttributesExW(lpfilename: ::windows_sys::core::PCWSTR, finfolevelid: GET_FILEEX_INFO_LEVELS, lpfileinformation: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFileAttributesTransactedA(lpfilename: ::windows_sys::core::PCSTR, finfolevelid: GET_FILEEX_INFO_LEVELS, lpfileinformation: *mut ::core::ffi::c_void, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFileAttributesTransactedW(lpfilename: ::windows_sys::core::PCWSTR, finfolevelid: GET_FILEEX_INFO_LEVELS, lpfileinformation: *mut ::core::ffi::c_void, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetFileAttributesW(lpfilename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFileBandwidthReservation(hfile: super::super::Foundation::HANDLE, lpperiodmilliseconds: *mut u32, lpbytesperperiod: *mut u32, pdiscardable: *mut i32, lptransfersize: *mut u32, lpnumoutstandingrequests: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFileInformationByHandle(hfile: super::super::Foundation::HANDLE, lpfileinformation: *mut BY_HANDLE_FILE_INFORMATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFileInformationByHandleEx(hfile: super::super::Foundation::HANDLE, fileinformationclass: FILE_INFO_BY_HANDLE_CLASS, lpfileinformation: *mut ::core::ffi::c_void, dwbuffersize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFileSize(hfile: super::super::Foundation::HANDLE, lpfilesizehigh: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFileSizeEx(hfile: super::super::Foundation::HANDLE, lpfilesize: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFileTime(hfile: super::super::Foundation::HANDLE, lpcreationtime: *mut super::super::Foundation::FILETIME, lplastaccesstime: *mut super::super::Foundation::FILETIME, lplastwritetime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFileType(hfile: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFileVersionInfoA(lptstrfilename: ::windows_sys::core::PCSTR, dwhandle: u32, dwlen: u32, lpdata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFileVersionInfoExA(dwflags: GET_FILE_VERSION_INFO_FLAGS, lpwstrfilename: ::windows_sys::core::PCSTR, dwhandle: u32, dwlen: u32, lpdata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFileVersionInfoExW(dwflags: GET_FILE_VERSION_INFO_FLAGS, lpwstrfilename: ::windows_sys::core::PCWSTR, dwhandle: u32, dwlen: u32, lpdata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetFileVersionInfoSizeA(lptstrfilename: ::windows_sys::core::PCSTR, lpdwhandle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetFileVersionInfoSizeExA(dwflags: GET_FILE_VERSION_INFO_FLAGS, lpwstrfilename: ::windows_sys::core::PCSTR, lpdwhandle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetFileVersionInfoSizeExW(dwflags: GET_FILE_VERSION_INFO_FLAGS, lpwstrfilename: ::windows_sys::core::PCWSTR, lpdwhandle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetFileVersionInfoSizeW(lptstrfilename: ::windows_sys::core::PCWSTR, lpdwhandle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFileVersionInfoW(lptstrfilename: ::windows_sys::core::PCWSTR, dwhandle: u32, dwlen: u32, lpdata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFinalPathNameByHandleA(hfile: super::super::Foundation::HANDLE, lpszfilepath: ::windows_sys::core::PSTR, cchfilepath: u32, dwflags: FILE_NAME) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFinalPathNameByHandleW(hfile: super::super::Foundation::HANDLE, lpszfilepath: ::windows_sys::core::PWSTR, cchfilepath: u32, dwflags: FILE_NAME) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetFullPathNameA(lpfilename: ::windows_sys::core::PCSTR, nbufferlength: u32, lpbuffer: ::windows_sys::core::PSTR, lpfilepart: *mut ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFullPathNameTransactedA(lpfilename: ::windows_sys::core::PCSTR, nbufferlength: u32, lpbuffer: ::windows_sys::core::PSTR, lpfilepart: *mut ::windows_sys::core::PSTR, htransaction: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFullPathNameTransactedW(lpfilename: ::windows_sys::core::PCWSTR, nbufferlength: u32, lpbuffer: ::windows_sys::core::PWSTR, lpfilepart: *mut ::windows_sys::core::PWSTR, htransaction: super::super::Foundation::HANDLE) -> u32; - #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetFullPathNameW(lpfilename: ::windows_sys::core::PCWSTR, nbufferlength: u32, lpbuffer: ::windows_sys::core::PWSTR, lpfilepart: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetIoRingInfo(ioring: *const HIORING__, info: *mut IORING_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetLogContainerName(hlog: super::super::Foundation::HANDLE, cidlogicalcontainer: u32, pwstrcontainername: ::windows_sys::core::PCWSTR, clencontainername: u32, pcactuallencontainername: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetLogFileInformation(hlog: super::super::Foundation::HANDLE, pinfobuffer: *mut CLS_INFORMATION, cbbuffer: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetLogIoStatistics(hlog: super::super::Foundation::HANDLE, pvstatsbuffer: *mut ::core::ffi::c_void, cbstatsbuffer: u32, estatsclass: CLFS_IOSTATS_CLASS, pcbstatswritten: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetLogReservationInfo(pvmarshal: *const ::core::ffi::c_void, pcbrecordnumber: *mut u32, pcbuserreservation: *mut i64, pcbcommitreservation: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetLogicalDriveStringsA(nbufferlength: u32, lpbuffer: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetLogicalDriveStringsW(nbufferlength: u32, lpbuffer: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetLogicalDrives() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetLongPathNameA(lpszshortpath: ::windows_sys::core::PCSTR, lpszlongpath: ::windows_sys::core::PSTR, cchbuffer: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetLongPathNameTransactedA(lpszshortpath: ::windows_sys::core::PCSTR, lpszlongpath: ::windows_sys::core::PSTR, cchbuffer: u32, htransaction: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetLongPathNameTransactedW(lpszshortpath: ::windows_sys::core::PCWSTR, lpszlongpath: ::windows_sys::core::PWSTR, cchbuffer: u32, htransaction: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetLongPathNameW(lpszshortpath: ::windows_sys::core::PCWSTR, lpszlongpath: ::windows_sys::core::PWSTR, cchbuffer: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNextLogArchiveExtent(pvarchivecontext: *mut ::core::ffi::c_void, rgadextent: *mut CLS_ARCHIVE_DESCRIPTOR, cdescriptors: u32, pcdescriptorsreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNotificationResourceManager(resourcemanagerhandle: super::super::Foundation::HANDLE, transactionnotification: *mut TRANSACTION_NOTIFICATION, notificationlength: u32, dwmilliseconds: u32, returnlength: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn GetNotificationResourceManagerAsync(resourcemanagerhandle: super::super::Foundation::HANDLE, transactionnotification: *mut TRANSACTION_NOTIFICATION, transactionnotificationlength: u32, returnlength: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetShortPathNameA(lpszlongpath: ::windows_sys::core::PCSTR, lpszshortpath: ::windows_sys::core::PSTR, cchbuffer: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetShortPathNameW(lpszlongpath: ::windows_sys::core::PCWSTR, lpszshortpath: ::windows_sys::core::PWSTR, cchbuffer: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTapeParameters(hdevice: super::super::Foundation::HANDLE, dwoperation: GET_TAPE_DRIVE_PARAMETERS_OPERATION, lpdwsize: *mut u32, lptapeinformation: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTapePosition(hdevice: super::super::Foundation::HANDLE, dwpositiontype: TAPE_POSITION_TYPE, lpdwpartition: *mut u32, lpdwoffsetlow: *mut u32, lpdwoffsethigh: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTapeStatus(hdevice: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetTempFileNameA(lppathname: ::windows_sys::core::PCSTR, lpprefixstring: ::windows_sys::core::PCSTR, uunique: u32, lptempfilename: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetTempFileNameW(lppathname: ::windows_sys::core::PCWSTR, lpprefixstring: ::windows_sys::core::PCWSTR, uunique: u32, lptempfilename: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetTempPath2A(bufferlength: u32, buffer: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetTempPath2W(bufferlength: u32, buffer: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetTempPathA(nbufferlength: u32, lpbuffer: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn GetTempPathW(nbufferlength: u32, lpbuffer: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTransactionId(transactionhandle: super::super::Foundation::HANDLE, transactionid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTransactionInformation(transactionhandle: super::super::Foundation::HANDLE, outcome: *mut u32, isolationlevel: *mut u32, isolationflags: *mut u32, timeout: *mut u32, bufferlength: u32, description: ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTransactionManagerId(transactionmanagerhandle: super::super::Foundation::HANDLE, transactionmanagerid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetVolumeInformationA(lprootpathname: ::windows_sys::core::PCSTR, lpvolumenamebuffer: ::windows_sys::core::PSTR, nvolumenamesize: u32, lpvolumeserialnumber: *mut u32, lpmaximumcomponentlength: *mut u32, lpfilesystemflags: *mut u32, lpfilesystemnamebuffer: ::windows_sys::core::PSTR, nfilesystemnamesize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetVolumeInformationByHandleW(hfile: super::super::Foundation::HANDLE, lpvolumenamebuffer: ::windows_sys::core::PWSTR, nvolumenamesize: u32, lpvolumeserialnumber: *mut u32, lpmaximumcomponentlength: *mut u32, lpfilesystemflags: *mut u32, lpfilesystemnamebuffer: ::windows_sys::core::PWSTR, nfilesystemnamesize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetVolumeInformationW(lprootpathname: ::windows_sys::core::PCWSTR, lpvolumenamebuffer: ::windows_sys::core::PWSTR, nvolumenamesize: u32, lpvolumeserialnumber: *mut u32, lpmaximumcomponentlength: *mut u32, lpfilesystemflags: *mut u32, lpfilesystemnamebuffer: ::windows_sys::core::PWSTR, nfilesystemnamesize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetVolumeNameForVolumeMountPointA(lpszvolumemountpoint: ::windows_sys::core::PCSTR, lpszvolumename: ::windows_sys::core::PSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetVolumeNameForVolumeMountPointW(lpszvolumemountpoint: ::windows_sys::core::PCWSTR, lpszvolumename: ::windows_sys::core::PWSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetVolumePathNameA(lpszfilename: ::windows_sys::core::PCSTR, lpszvolumepathname: ::windows_sys::core::PSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetVolumePathNameW(lpszfilename: ::windows_sys::core::PCWSTR, lpszvolumepathname: ::windows_sys::core::PWSTR, cchbufferlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetVolumePathNamesForVolumeNameA(lpszvolumename: ::windows_sys::core::PCSTR, lpszvolumepathnames: ::windows_sys::core::PSTR, cchbufferlength: u32, lpcchreturnlength: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetVolumePathNamesForVolumeNameW(lpszvolumename: ::windows_sys::core::PCWSTR, lpszvolumepathnames: ::windows_sys::core::PWSTR, cchbufferlength: u32, lpcchreturnlength: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HandleLogFull(hlog: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InstallLogPolicy(hlog: super::super::Foundation::HANDLE, ppolicy: *mut CLFS_MGMT_POLICY) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsIoRingOpSupported(ioring: *const HIORING__, op: IORING_OP_CODE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn LZClose(hfile: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn LZCopy(hfsource: i32, hfdest: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn LZDone(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn LZInit(hfsource: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LZOpenFileA(lpfilename: ::windows_sys::core::PCSTR, lpreopenbuf: *mut OFSTRUCT, wstyle: LZOPENFILE_STYLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LZOpenFileW(lpfilename: ::windows_sys::core::PCWSTR, lpreopenbuf: *mut OFSTRUCT, wstyle: LZOPENFILE_STYLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn LZRead(hfile: i32, lpbuffer: ::windows_sys::core::PSTR, cbread: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn LZSeek(hfile: i32, loffset: i32, iorigin: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn LZStart() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LocalFileTimeToFileTime(lplocalfiletime: *const super::super::Foundation::FILETIME, lpfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LockFile(hfile: super::super::Foundation::HANDLE, dwfileoffsetlow: u32, dwfileoffsethigh: u32, nnumberofbytestolocklow: u32, nnumberofbytestolockhigh: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn LockFileEx(hfile: super::super::Foundation::HANDLE, dwflags: LOCK_FILE_FLAGS, dwreserved: u32, nnumberofbytestolocklow: u32, nnumberofbytestolockhigh: u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LogTailAdvanceFailure(hlog: super::super::Foundation::HANDLE, dwreason: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn LsnBlockOffset(plsn: *const CLS_LSN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn LsnContainer(plsn: *const CLS_LSN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn LsnCreate(cidcontainer: u32, offblock: u32, crecord: u32) -> CLS_LSN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsnEqual(plsn1: *const CLS_LSN, plsn2: *const CLS_LSN) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsnGreater(plsn1: *const CLS_LSN, plsn2: *const CLS_LSN) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn LsnIncrement(plsn: *const CLS_LSN) -> CLS_LSN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsnInvalid(plsn: *const CLS_LSN) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsnLess(plsn1: *const CLS_LSN, plsn2: *const CLS_LSN) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LsnNull(plsn: *const CLS_LSN) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn LsnRecordSequence(plsn: *const CLS_LSN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MoveFileA(lpexistingfilename: ::windows_sys::core::PCSTR, lpnewfilename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MoveFileExA(lpexistingfilename: ::windows_sys::core::PCSTR, lpnewfilename: ::windows_sys::core::PCSTR, dwflags: MOVE_FILE_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MoveFileExW(lpexistingfilename: ::windows_sys::core::PCWSTR, lpnewfilename: ::windows_sys::core::PCWSTR, dwflags: MOVE_FILE_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MoveFileFromAppW(lpexistingfilename: ::windows_sys::core::PCWSTR, lpnewfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MoveFileTransactedA(lpexistingfilename: ::windows_sys::core::PCSTR, lpnewfilename: ::windows_sys::core::PCSTR, lpprogressroutine: LPPROGRESS_ROUTINE, lpdata: *const ::core::ffi::c_void, dwflags: MOVE_FILE_FLAGS, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MoveFileTransactedW(lpexistingfilename: ::windows_sys::core::PCWSTR, lpnewfilename: ::windows_sys::core::PCWSTR, lpprogressroutine: LPPROGRESS_ROUTINE, lpdata: *const ::core::ffi::c_void, dwflags: MOVE_FILE_FLAGS, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MoveFileW(lpexistingfilename: ::windows_sys::core::PCWSTR, lpnewfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MoveFileWithProgressA(lpexistingfilename: ::windows_sys::core::PCSTR, lpnewfilename: ::windows_sys::core::PCSTR, lpprogressroutine: LPPROGRESS_ROUTINE, lpdata: *const ::core::ffi::c_void, dwflags: MOVE_FILE_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MoveFileWithProgressW(lpexistingfilename: ::windows_sys::core::PCWSTR, lpnewfilename: ::windows_sys::core::PCWSTR, lpprogressroutine: LPPROGRESS_ROUTINE, lpdata: *const ::core::ffi::c_void, dwflags: MOVE_FILE_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn NetConnectionEnum(servername: ::windows_sys::core::PCWSTR, qualifier: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn NetFileClose(servername: ::windows_sys::core::PCWSTR, fileid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn NetFileEnum(servername: ::windows_sys::core::PCWSTR, basepath: ::windows_sys::core::PCWSTR, username: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn NetFileGetInfo(servername: ::windows_sys::core::PCWSTR, fileid: u32, level: u32, bufptr: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn NetServerAliasAdd(servername: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn NetServerAliasDel(servername: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn NetServerAliasEnum(servername: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resumehandle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn NetSessionDel(servername: ::windows_sys::core::PCWSTR, uncclientname: ::windows_sys::core::PCWSTR, username: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn NetSessionEnum(servername: ::windows_sys::core::PCWSTR, uncclientname: ::windows_sys::core::PCWSTR, username: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn NetSessionGetInfo(servername: ::windows_sys::core::PCWSTR, uncclientname: ::windows_sys::core::PCWSTR, username: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn NetShareAdd(servername: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8, parm_err: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn NetShareCheck(servername: ::windows_sys::core::PCWSTR, device: ::windows_sys::core::PCWSTR, r#type: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn NetShareDel(servername: ::windows_sys::core::PCWSTR, netname: ::windows_sys::core::PCWSTR, reserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn NetShareDelEx(servername: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn NetShareDelSticky(servername: ::windows_sys::core::PCWSTR, netname: ::windows_sys::core::PCWSTR, reserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn NetShareEnum(servername: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn NetShareEnumSticky(servername: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn NetShareGetInfo(servername: ::windows_sys::core::PCWSTR, netname: ::windows_sys::core::PCWSTR, level: u32, bufptr: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn NetShareSetInfo(servername: ::windows_sys::core::PCWSTR, netname: ::windows_sys::core::PCWSTR, level: u32, buf: *const u8, parm_err: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn NetStatisticsGet(servername: *const i8, service: *const i8, level: u32, options: u32, buffer: *mut *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] pub fn NtCreateFile(filehandle: *mut super::super::Foundation::HANDLE, desiredaccess: u32, objectattributes: *mut super::super::System::WindowsProgramming::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::System::WindowsProgramming::IO_STATUS_BLOCK, allocationsize: *mut i64, fileattributes: u32, shareaccess: FILE_SHARE_MODE, createdisposition: NT_CREATE_FILE_DISPOSITION, createoptions: u32, eabuffer: *mut ::core::ffi::c_void, ealength: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn OpenEncryptedFileRawA(lpfilename: ::windows_sys::core::PCSTR, ulflags: u32, pvcontext: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn OpenEncryptedFileRawW(lpfilename: ::windows_sys::core::PCWSTR, ulflags: u32, pvcontext: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenEnlistment(dwdesiredaccess: u32, resourcemanagerhandle: super::super::Foundation::HANDLE, enlistmentid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenFile(lpfilename: ::windows_sys::core::PCSTR, lpreopenbuff: *mut OFSTRUCT, ustyle: LZOPENFILE_STYLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn OpenFileById(hvolumehint: super::super::Foundation::HANDLE, lpfileid: *const FILE_ID_DESCRIPTOR, dwdesiredaccess: FILE_ACCESS_FLAGS, dwsharemode: FILE_SHARE_MODE, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, dwflagsandattributes: FILE_FLAGS_AND_ATTRIBUTES) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenResourceManager(dwdesiredaccess: u32, tmhandle: super::super::Foundation::HANDLE, resourcemanagerid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenTransaction(dwdesiredaccess: u32, transactionid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenTransactionManager(logfilename: ::windows_sys::core::PCWSTR, desiredaccess: u32, openoptions: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenTransactionManagerById(transactionmanagerid: *const ::windows_sys::core::GUID, desiredaccess: u32, openoptions: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn PopIoRingCompletion(ioring: *const HIORING__, cqe: *mut IORING_CQE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrePrepareComplete(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrePrepareEnlistment(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrepareComplete(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrepareEnlistment(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrepareLogArchive(hlog: super::super::Foundation::HANDLE, pszbaselogfilename: ::windows_sys::core::PWSTR, clen: u32, plsnlow: *const CLS_LSN, plsnhigh: *const CLS_LSN, pcactuallength: *mut u32, poffbaselogfiledata: *mut u64, pcbbaselogfilelength: *mut u64, plsnbase: *mut CLS_LSN, plsnlast: *mut CLS_LSN, plsncurrentarchivetail: *mut CLS_LSN, ppvarchivecontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrepareTape(hdevice: super::super::Foundation::HANDLE, dwoperation: PREPARE_TAPE_OPERATION, bimmediate: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn QueryDosDeviceA(lpdevicename: ::windows_sys::core::PCSTR, lptargetpath: ::windows_sys::core::PSTR, ucchmax: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn QueryDosDeviceW(lpdevicename: ::windows_sys::core::PCWSTR, lptargetpath: ::windows_sys::core::PWSTR, ucchmax: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn QueryIoRingCapabilities(capabilities: *mut IORING_CAPABILITIES) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryLogPolicy(hlog: super::super::Foundation::HANDLE, epolicytype: CLFS_MGMT_POLICY_TYPE, ppolicybuffer: *mut CLFS_MGMT_POLICY, pcbpolicybuffer: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn QueryRecoveryAgentsOnEncryptedFile(lpfilename: ::windows_sys::core::PCWSTR, precoveryagents: *mut *mut ENCRYPTION_CERTIFICATE_HASH_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn QueryUsersOnEncryptedFile(lpfilename: ::windows_sys::core::PCWSTR, pusers: *mut *mut ENCRYPTION_CERTIFICATE_HASH_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReOpenFile(horiginalfile: super::super::Foundation::HANDLE, dwdesiredaccess: FILE_ACCESS_FLAGS, dwsharemode: FILE_SHARE_MODE, dwflagsandattributes: FILE_FLAGS_AND_ATTRIBUTES) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn ReadDirectoryChangesExW(hdirectory: super::super::Foundation::HANDLE, lpbuffer: *mut ::core::ffi::c_void, nbufferlength: u32, bwatchsubtree: super::super::Foundation::BOOL, dwnotifyfilter: FILE_NOTIFY_CHANGE, lpbytesreturned: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: super::super::System::IO::LPOVERLAPPED_COMPLETION_ROUTINE, readdirectorynotifyinformationclass: READ_DIRECTORY_NOTIFY_INFORMATION_CLASS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn ReadDirectoryChangesW(hdirectory: super::super::Foundation::HANDLE, lpbuffer: *mut ::core::ffi::c_void, nbufferlength: u32, bwatchsubtree: super::super::Foundation::BOOL, dwnotifyfilter: FILE_NOTIFY_CHANGE, lpbytesreturned: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: super::super::System::IO::LPOVERLAPPED_COMPLETION_ROUTINE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn ReadEncryptedFileRaw(pfexportcallback: PFE_EXPORT_FUNC, pvcallbackcontext: *const ::core::ffi::c_void, pvcontext: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn ReadFile(hfile: super::super::Foundation::HANDLE, lpbuffer: *mut ::core::ffi::c_void, nnumberofbytestoread: u32, lpnumberofbytesread: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn ReadFileEx(hfile: super::super::Foundation::HANDLE, lpbuffer: *mut ::core::ffi::c_void, nnumberofbytestoread: u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: super::super::System::IO::LPOVERLAPPED_COMPLETION_ROUTINE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn ReadFileScatter(hfile: super::super::Foundation::HANDLE, asegmentarray: *const FILE_SEGMENT_ELEMENT, nnumberofbytestoread: u32, lpreserved: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadLogArchiveMetadata(pvarchivecontext: *mut ::core::ffi::c_void, cboffset: u32, cbbytestoread: u32, pbreadbuffer: *mut u8, pcbbytesread: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn ReadLogNotification(hlog: super::super::Foundation::HANDLE, pnotification: *mut CLFS_MGMT_NOTIFICATION, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn ReadLogRecord(pvmarshal: *mut ::core::ffi::c_void, plsnfirst: *mut CLS_LSN, econtextmode: CLFS_CONTEXT_MODE, ppvreadbuffer: *mut *mut ::core::ffi::c_void, pcbreadbuffer: *mut u32, perecordtype: *mut u8, plsnundonext: *mut CLS_LSN, plsnprevious: *mut CLS_LSN, ppvreadcontext: *mut *mut ::core::ffi::c_void, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn ReadLogRestartArea(pvmarshal: *mut ::core::ffi::c_void, ppvrestartbuffer: *mut *mut ::core::ffi::c_void, pcbrestartbuffer: *mut u32, plsn: *mut CLS_LSN, ppvcontext: *mut *mut ::core::ffi::c_void, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn ReadNextLogRecord(pvreadcontext: *mut ::core::ffi::c_void, ppvbuffer: *mut *mut ::core::ffi::c_void, pcbbuffer: *mut u32, perecordtype: *mut u8, plsnuser: *mut CLS_LSN, plsnundonext: *mut CLS_LSN, plsnprevious: *mut CLS_LSN, plsnrecord: *mut CLS_LSN, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadOnlyEnlistment(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn ReadPreviousLogRestartArea(pvreadcontext: *mut ::core::ffi::c_void, ppvrestartbuffer: *mut *mut ::core::ffi::c_void, pcbrestartbuffer: *mut u32, plsnrestart: *mut CLS_LSN, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RecoverEnlistment(enlistmenthandle: super::super::Foundation::HANDLE, enlistmentkey: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RecoverResourceManager(resourcemanagerhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RecoverTransactionManager(transactionmanagerhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterForLogWriteNotification(hlog: super::super::Foundation::HANDLE, cbthreshold: u32, fenable: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterManageableLogClient(hlog: super::super::Foundation::HANDLE, pcallbacks: *mut LOG_MANAGEMENT_CALLBACKS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveDirectoryA(lppathname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveDirectoryFromAppW(lppathname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveDirectoryTransactedA(lppathname: ::windows_sys::core::PCSTR, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveDirectoryTransactedW(lppathname: ::windows_sys::core::PCWSTR, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveDirectoryW(lppathname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveLogContainer(hlog: super::super::Foundation::HANDLE, pwszcontainerpath: ::windows_sys::core::PCWSTR, fforce: super::super::Foundation::BOOL, preserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveLogContainerSet(hlog: super::super::Foundation::HANDLE, ccontainer: u16, rgwszcontainerpath: *const ::windows_sys::core::PWSTR, fforce: super::super::Foundation::BOOL, preserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveLogPolicy(hlog: super::super::Foundation::HANDLE, epolicytype: CLFS_MGMT_POLICY_TYPE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn RemoveUsersFromEncryptedFile(lpfilename: ::windows_sys::core::PCWSTR, phashes: *const ENCRYPTION_CERTIFICATE_HASH_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RenameTransactionManager(logfilename: ::windows_sys::core::PCWSTR, existingtransactionmanagerguid: *mut ::windows_sys::core::GUID) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReplaceFileA(lpreplacedfilename: ::windows_sys::core::PCSTR, lpreplacementfilename: ::windows_sys::core::PCSTR, lpbackupfilename: ::windows_sys::core::PCSTR, dwreplaceflags: REPLACE_FILE_FLAGS, lpexclude: *mut ::core::ffi::c_void, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReplaceFileFromAppW(lpreplacedfilename: ::windows_sys::core::PCWSTR, lpreplacementfilename: ::windows_sys::core::PCWSTR, lpbackupfilename: ::windows_sys::core::PCWSTR, dwreplaceflags: u32, lpexclude: *mut ::core::ffi::c_void, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReplaceFileW(lpreplacedfilename: ::windows_sys::core::PCWSTR, lpreplacementfilename: ::windows_sys::core::PCWSTR, lpbackupfilename: ::windows_sys::core::PCWSTR, dwreplaceflags: REPLACE_FILE_FLAGS, lpexclude: *mut ::core::ffi::c_void, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn ReserveAndAppendLog(pvmarshal: *mut ::core::ffi::c_void, rgwriteentries: *mut CLS_WRITE_ENTRY, cwriteentries: u32, plsnundonext: *mut CLS_LSN, plsnprevious: *mut CLS_LSN, creserverecords: u32, rgcbreservation: *mut i64, fflags: CLFS_FLAG, plsn: *mut CLS_LSN, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn ReserveAndAppendLogAligned(pvmarshal: *mut ::core::ffi::c_void, rgwriteentries: *mut CLS_WRITE_ENTRY, cwriteentries: u32, cbentryalignment: u32, plsnundonext: *mut CLS_LSN, plsnprevious: *mut CLS_LSN, creserverecords: u32, rgcbreservation: *mut i64, fflags: CLFS_FLAG, plsn: *mut CLS_LSN, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RollbackComplete(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RollbackEnlistment(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RollbackTransaction(transactionhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RollbackTransactionAsync(transactionhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RollforwardTransactionManager(transactionmanagerhandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ScanLogContainers(pcxscan: *mut CLS_SCAN_CONTEXT, escanmode: u8, preserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn SearchPathA(lppath: ::windows_sys::core::PCSTR, lpfilename: ::windows_sys::core::PCSTR, lpextension: ::windows_sys::core::PCSTR, nbufferlength: u32, lpbuffer: ::windows_sys::core::PSTR, lpfilepart: *mut ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn SearchPathW(lppath: ::windows_sys::core::PCWSTR, lpfilename: ::windows_sys::core::PCWSTR, lpextension: ::windows_sys::core::PCWSTR, nbufferlength: u32, lpbuffer: ::windows_sys::core::PWSTR, lpfilepart: *mut ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn SetEncryptedFileMetadata(lpfilename: ::windows_sys::core::PCWSTR, pboldmetadata: *const u8, pbnewmetadata: *const u8, pownerhash: *const ENCRYPTION_CERTIFICATE_HASH, dwoperation: u32, pcertificatesadded: *const ENCRYPTION_CERTIFICATE_HASH_LIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetEndOfFile(hfile: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn SetEndOfLog(hlog: super::super::Foundation::HANDLE, plsnend: *mut CLS_LSN, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetEnlistmentRecoveryInformation(enlistmenthandle: super::super::Foundation::HANDLE, buffersize: u32, buffer: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn SetFileApisToANSI(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn SetFileApisToOEM(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFileAttributesA(lpfilename: ::windows_sys::core::PCSTR, dwfileattributes: FILE_FLAGS_AND_ATTRIBUTES) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFileAttributesFromAppW(lpfilename: ::windows_sys::core::PCWSTR, dwfileattributes: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFileAttributesTransactedA(lpfilename: ::windows_sys::core::PCSTR, dwfileattributes: u32, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFileAttributesTransactedW(lpfilename: ::windows_sys::core::PCWSTR, dwfileattributes: u32, htransaction: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFileAttributesW(lpfilename: ::windows_sys::core::PCWSTR, dwfileattributes: FILE_FLAGS_AND_ATTRIBUTES) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFileBandwidthReservation(hfile: super::super::Foundation::HANDLE, nperiodmilliseconds: u32, nbytesperperiod: u32, bdiscardable: super::super::Foundation::BOOL, lptransfersize: *mut u32, lpnumoutstandingrequests: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFileCompletionNotificationModes(filehandle: super::super::Foundation::HANDLE, flags: u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFileInformationByHandle(hfile: super::super::Foundation::HANDLE, fileinformationclass: FILE_INFO_BY_HANDLE_CLASS, lpfileinformation: *const ::core::ffi::c_void, dwbuffersize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFileIoOverlappedRange(filehandle: super::super::Foundation::HANDLE, overlappedrangestart: *const u8, length: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFilePointer(hfile: super::super::Foundation::HANDLE, ldistancetomove: i32, lpdistancetomovehigh: *mut i32, dwmovemethod: SET_FILE_POINTER_MOVE_METHOD) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFilePointerEx(hfile: super::super::Foundation::HANDLE, lidistancetomove: i64, lpnewfilepointer: *mut i64, dwmovemethod: SET_FILE_POINTER_MOVE_METHOD) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFileShortNameA(hfile: super::super::Foundation::HANDLE, lpshortname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFileShortNameW(hfile: super::super::Foundation::HANDLE, lpshortname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFileTime(hfile: super::super::Foundation::HANDLE, lpcreationtime: *const super::super::Foundation::FILETIME, lplastaccesstime: *const super::super::Foundation::FILETIME, lplastwritetime: *const super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFileValidData(hfile: super::super::Foundation::HANDLE, validdatalength: i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetIoRingCompletionEvent(ioring: *const HIORING__, hevent: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetLogArchiveMode(hlog: super::super::Foundation::HANDLE, emode: CLFS_LOG_ARCHIVE_MODE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetLogArchiveTail(hlog: super::super::Foundation::HANDLE, plsnarchivetail: *mut CLS_LSN, preserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetLogFileSizeWithPolicy(hlog: super::super::Foundation::HANDLE, pdesiredsize: *mut u64, presultingsize: *mut u64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetResourceManagerCompletionPort(resourcemanagerhandle: super::super::Foundation::HANDLE, iocompletionporthandle: super::super::Foundation::HANDLE, completionkey: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetSearchPathMode(flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetTapeParameters(hdevice: super::super::Foundation::HANDLE, dwoperation: TAPE_INFORMATION_TYPE, lptapeinformation: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetTapePosition(hdevice: super::super::Foundation::HANDLE, dwpositionmethod: TAPE_POSITION_METHOD, dwpartition: u32, dwoffsetlow: u32, dwoffsethigh: u32, bimmediate: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetTransactionInformation(transactionhandle: super::super::Foundation::HANDLE, isolationlevel: u32, isolationflags: u32, timeout: u32, description: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn SetUserFileEncryptionKey(pencryptioncertificate: *const ENCRYPTION_CERTIFICATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn SetUserFileEncryptionKeyEx(pencryptioncertificate: *const ENCRYPTION_CERTIFICATE, dwcapabilities: u32, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetVolumeLabelA(lprootpathname: ::windows_sys::core::PCSTR, lpvolumename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetVolumeLabelW(lprootpathname: ::windows_sys::core::PCWSTR, lpvolumename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetVolumeMountPointA(lpszvolumemountpoint: ::windows_sys::core::PCSTR, lpszvolumename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetVolumeMountPointW(lpszvolumemountpoint: ::windows_sys::core::PCWSTR, lpszvolumename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SinglePhaseReject(enlistmenthandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn SubmitIoRing(ioring: *const HIORING__, waitoperations: u32, milliseconds: u32, submittedentries: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TerminateLogArchive(pvarchivecontext: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TerminateReadLog(pvcursorcontext: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn TruncateLog(pvmarshal: *const ::core::ffi::c_void, plsnend: *const CLS_LSN, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn TxfGetThreadMiniVersionForCreate(miniversion: *mut u16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TxfLogCreateFileReadContext(logpath: ::windows_sys::core::PCWSTR, beginninglsn: CLS_LSN, endinglsn: CLS_LSN, txffileid: *const TXF_ID, txflogcontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TxfLogCreateRangeReadContext(logpath: ::windows_sys::core::PCWSTR, beginninglsn: CLS_LSN, endinglsn: CLS_LSN, beginningvirtualclock: *const i64, endingvirtualclock: *const i64, recordtypemask: u32, txflogcontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TxfLogDestroyReadContext(txflogcontext: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TxfLogReadRecords(txflogcontext: *const ::core::ffi::c_void, bufferlength: u32, buffer: *mut ::core::ffi::c_void, bytesused: *mut u32, recordcount: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TxfLogRecordGetFileName(recordbuffer: *const ::core::ffi::c_void, recordbufferlengthinbytes: u32, namebuffer: ::windows_sys::core::PWSTR, namebufferlengthinbytes: *mut u32, txfid: *mut TXF_ID) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TxfLogRecordGetGenericType(recordbuffer: *const ::core::ffi::c_void, recordbufferlengthinbytes: u32, generictype: *mut u32, virtualclock: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TxfReadMetadataInfo(filehandle: super::super::Foundation::HANDLE, txffileid: *mut TXF_ID, lastlsn: *mut CLS_LSN, transactionstate: *mut u32, lockingtransaction: *mut ::windows_sys::core::GUID) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn TxfSetThreadMiniVersionForCreate(miniversion: u16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnlockFile(hfile: super::super::Foundation::HANDLE, dwfileoffsetlow: u32, dwfileoffsethigh: u32, nnumberofbytestounlocklow: u32, nnumberofbytestounlockhigh: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn UnlockFileEx(hfile: super::super::Foundation::HANDLE, dwreserved: u32, nnumberofbytestounlocklow: u32, nnumberofbytestounlockhigh: u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn ValidateLog(pszlogfilename: ::windows_sys::core::PCWSTR, psalogfile: *mut super::super::Security::SECURITY_ATTRIBUTES, pinfobuffer: *mut CLS_INFORMATION, pcbbuffer: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn VerFindFileA(uflags: VER_FIND_FILE_FLAGS, szfilename: ::windows_sys::core::PCSTR, szwindir: ::windows_sys::core::PCSTR, szappdir: ::windows_sys::core::PCSTR, szcurdir: ::windows_sys::core::PSTR, pucurdirlen: *mut u32, szdestdir: ::windows_sys::core::PSTR, pudestdirlen: *mut u32) -> VER_FIND_FILE_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn VerFindFileW(uflags: VER_FIND_FILE_FLAGS, szfilename: ::windows_sys::core::PCWSTR, szwindir: ::windows_sys::core::PCWSTR, szappdir: ::windows_sys::core::PCWSTR, szcurdir: ::windows_sys::core::PWSTR, pucurdirlen: *mut u32, szdestdir: ::windows_sys::core::PWSTR, pudestdirlen: *mut u32) -> VER_FIND_FILE_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn VerInstallFileA(uflags: VER_INSTALL_FILE_FLAGS, szsrcfilename: ::windows_sys::core::PCSTR, szdestfilename: ::windows_sys::core::PCSTR, szsrcdir: ::windows_sys::core::PCSTR, szdestdir: ::windows_sys::core::PCSTR, szcurdir: ::windows_sys::core::PCSTR, sztmpfile: ::windows_sys::core::PSTR, putmpfilelen: *mut u32) -> VER_INSTALL_FILE_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn VerInstallFileW(uflags: VER_INSTALL_FILE_FLAGS, szsrcfilename: ::windows_sys::core::PCWSTR, szdestfilename: ::windows_sys::core::PCWSTR, szsrcdir: ::windows_sys::core::PCWSTR, szdestdir: ::windows_sys::core::PCWSTR, szcurdir: ::windows_sys::core::PCWSTR, sztmpfile: ::windows_sys::core::PWSTR, putmpfilelen: *mut u32) -> VER_INSTALL_FILE_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn VerLanguageNameA(wlang: u32, szlang: ::windows_sys::core::PSTR, cchlang: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn VerLanguageNameW(wlang: u32, szlang: ::windows_sys::core::PWSTR, cchlang: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VerQueryValueA(pblock: *const ::core::ffi::c_void, lpsubblock: ::windows_sys::core::PCSTR, lplpbuffer: *mut *mut ::core::ffi::c_void, pulen: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VerQueryValueW(pblock: *const ::core::ffi::c_void, lpsubblock: ::windows_sys::core::PCWSTR, lplpbuffer: *mut *mut ::core::ffi::c_void, pulen: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WofEnumEntries(volumename: ::windows_sys::core::PCWSTR, provider: u32, enumproc: WofEnumEntryProc, userdata: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WofFileEnumFiles(volumename: ::windows_sys::core::PCWSTR, algorithm: u32, enumproc: WofEnumFilesProc, userdata: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WofGetDriverVersion(fileorvolumehandle: super::super::Foundation::HANDLE, provider: u32, wofversion: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WofIsExternalFile(filepath: ::windows_sys::core::PCWSTR, isexternalfile: *mut super::super::Foundation::BOOL, provider: *mut u32, externalfileinfo: *mut ::core::ffi::c_void, bufferlength: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WofSetFileDataLocation(filehandle: super::super::Foundation::HANDLE, provider: u32, externalfileinfo: *const ::core::ffi::c_void, length: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WofShouldCompressBinaries(volume: ::windows_sys::core::PCWSTR, algorithm: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn WofWimAddEntry(volumename: ::windows_sys::core::PCWSTR, wimpath: ::windows_sys::core::PCWSTR, wimtype: u32, wimindex: u32, datasourceid: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WofWimEnumFiles(volumename: ::windows_sys::core::PCWSTR, datasourceid: i64, enumproc: WofEnumFilesProc, userdata: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn WofWimRemoveEntry(volumename: ::windows_sys::core::PCWSTR, datasourceid: i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn WofWimSuspendEntry(volumename: ::windows_sys::core::PCWSTR, datasourceid: i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn WofWimUpdateEntry(volumename: ::windows_sys::core::PCWSTR, datasourceid: i64, newwimpath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Wow64DisableWow64FsRedirection(oldvalue: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Wow64EnableWow64FsRedirection(wow64fsenableredirection: super::super::Foundation::BOOLEAN) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Wow64RevertWow64FsRedirection(olvalue: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub fn WriteEncryptedFileRaw(pfimportcallback: PFE_IMPORT_FUNC, pvcallbackcontext: *const ::core::ffi::c_void, pvcontext: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WriteFile(hfile: super::super::Foundation::HANDLE, lpbuffer: *const ::core::ffi::c_void, nnumberofbytestowrite: u32, lpnumberofbyteswritten: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WriteFileEx(hfile: super::super::Foundation::HANDLE, lpbuffer: *const ::core::ffi::c_void, nnumberofbytestowrite: u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: super::super::System::IO::LPOVERLAPPED_COMPLETION_ROUTINE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WriteFileGather(hfile: super::super::Foundation::HANDLE, asegmentarray: *const FILE_SEGMENT_ELEMENT, nnumberofbytestowrite: u32, lpreserved: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn WriteLogRestartArea(pvmarshal: *mut ::core::ffi::c_void, pvrestartbuffer: *mut ::core::ffi::c_void, cbrestartbuffer: u32, plsnbase: *mut CLS_LSN, fflags: CLFS_FLAG, pcbwritten: *mut u32, plsnnext: *mut CLS_LSN, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WriteTapemark(hdevice: super::super::Foundation::HANDLE, dwtapemarktype: TAPEMARK_TYPE, dwtapemarkcount: u32, bimmediate: super::super::Foundation::BOOL) -> u32; diff --git a/crates/libs/sys/src/Windows/Win32/Storage/Imapi/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/Imapi/mod.rs index f5b9e63237..0f31a6bd97 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/Imapi/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/Imapi/mod.rs @@ -2,17 +2,32 @@ extern "system" { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`*"] pub fn CloseIMsgSession(lpmsgsess: *mut _MSGSESS); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_AddressBook\"`*"] #[cfg(feature = "Win32_System_AddressBook")] pub fn GetAttribIMsgOnIStg(lpobject: *mut ::core::ffi::c_void, lpproptagarray: *mut super::super::System::AddressBook::SPropTagArray, lpppropattrarray: *mut *mut SPropAttrArray) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`*"] pub fn MapStorageSCode(stgscode: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_AddressBook\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_System_AddressBook", feature = "Win32_System_Com_StructuredStorage"))] pub fn OpenIMsgOnIStg(lpmsgsess: *mut _MSGSESS, lpallocatebuffer: super::super::System::AddressBook::LPALLOCATEBUFFER, lpallocatemore: super::super::System::AddressBook::LPALLOCATEMORE, lpfreebuffer: super::super::System::AddressBook::LPFREEBUFFER, lpmalloc: super::super::System::Com::IMalloc, lpmapisup: *mut ::core::ffi::c_void, lpstg: super::super::System::Com::StructuredStorage::IStorage, lpfmsgcallrelease: *mut MSGCALLRELEASE, ulcallerdata: u32, ulflags: u32, lppmsg: *mut super::super::System::AddressBook::IMessage) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn OpenIMsgSession(lpmalloc: super::super::System::Com::IMalloc, ulflags: u32, lppmsgsess: *mut *mut _MSGSESS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_AddressBook\"`*"] #[cfg(feature = "Win32_System_AddressBook")] pub fn SetAttribIMsgOnIStg(lpobject: *mut ::core::ffi::c_void, lpproptags: *mut super::super::System::AddressBook::SPropTagArray, lppropattrs: *mut SPropAttrArray, lpppropproblems: *mut *mut super::super::System::AddressBook::SPropProblemArray) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Storage/IndexServer/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/IndexServer/mod.rs index 65cdfe79d4..c45b38544d 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/IndexServer/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/IndexServer/mod.rs @@ -3,11 +3,20 @@ extern "system" { #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn BindIFilterFromStorage(pstg: super::super::System::Com::StructuredStorage::IStorage, punkouter: ::windows_sys::core::IUnknown, ppiunk: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn BindIFilterFromStream(pstm: super::super::System::Com::IStream, punkouter: ::windows_sys::core::IUnknown, ppiunk: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] pub fn LoadIFilter(pwcspath: ::windows_sys::core::PCWSTR, punkouter: ::windows_sys::core::IUnknown, ppiunk: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] pub fn LoadIFilterEx(pwcspath: ::windows_sys::core::PCWSTR, dwflags: u32, riid: *const ::windows_sys::core::GUID, ppiunk: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/Storage/InstallableFileSystems/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/InstallableFileSystems/mod.rs index 0b769245b8..1db0b6785f 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/InstallableFileSystems/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/InstallableFileSystems/mod.rs @@ -2,69 +2,150 @@ extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] pub fn FilterAttach(lpfiltername: ::windows_sys::core::PCWSTR, lpvolumename: ::windows_sys::core::PCWSTR, lpinstancename: ::windows_sys::core::PCWSTR, dwcreatedinstancenamelength: u32, lpcreatedinstancename: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] pub fn FilterAttachAtAltitude(lpfiltername: ::windows_sys::core::PCWSTR, lpvolumename: ::windows_sys::core::PCWSTR, lpaltitude: ::windows_sys::core::PCWSTR, lpinstancename: ::windows_sys::core::PCWSTR, dwcreatedinstancenamelength: u32, lpcreatedinstancename: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] pub fn FilterClose(hfilter: HFILTER) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn FilterConnectCommunicationPort(lpportname: ::windows_sys::core::PCWSTR, dwoptions: u32, lpcontext: *const ::core::ffi::c_void, wsizeofcontext: u16, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, hport: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] pub fn FilterCreate(lpfiltername: ::windows_sys::core::PCWSTR, hfilter: *mut HFILTER) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] pub fn FilterDetach(lpfiltername: ::windows_sys::core::PCWSTR, lpvolumename: ::windows_sys::core::PCWSTR, lpinstancename: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FilterFindClose(hfilterfind: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] pub fn FilterFindFirst(dwinformationclass: FILTER_INFORMATION_CLASS, lpbuffer: *mut ::core::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32, lpfilterfind: *mut FilterFindHandle) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FilterFindNext(hfilterfind: super::super::Foundation::HANDLE, dwinformationclass: FILTER_INFORMATION_CLASS, lpbuffer: *mut ::core::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] pub fn FilterGetDosName(lpvolumename: ::windows_sys::core::PCWSTR, lpdosname: ::windows_sys::core::PWSTR, dwdosnamebuffersize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] pub fn FilterGetInformation(hfilter: HFILTER, dwinformationclass: FILTER_INFORMATION_CLASS, lpbuffer: *mut ::core::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn FilterGetMessage(hport: super::super::Foundation::HANDLE, lpmessagebuffer: *mut FILTER_MESSAGE_HEADER, dwmessagebuffersize: u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] pub fn FilterInstanceClose(hinstance: HFILTER_INSTANCE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] pub fn FilterInstanceCreate(lpfiltername: ::windows_sys::core::PCWSTR, lpvolumename: ::windows_sys::core::PCWSTR, lpinstancename: ::windows_sys::core::PCWSTR, hinstance: *mut HFILTER_INSTANCE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FilterInstanceFindClose(hfilterinstancefind: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] pub fn FilterInstanceFindFirst(lpfiltername: ::windows_sys::core::PCWSTR, dwinformationclass: INSTANCE_INFORMATION_CLASS, lpbuffer: *mut ::core::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32, lpfilterinstancefind: *mut FilterInstanceFindHandle) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FilterInstanceFindNext(hfilterinstancefind: super::super::Foundation::HANDLE, dwinformationclass: INSTANCE_INFORMATION_CLASS, lpbuffer: *mut ::core::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] pub fn FilterInstanceGetInformation(hinstance: HFILTER_INSTANCE, dwinformationclass: INSTANCE_INFORMATION_CLASS, lpbuffer: *mut ::core::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] pub fn FilterLoad(lpfiltername: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FilterReplyMessage(hport: super::super::Foundation::HANDLE, lpreplybuffer: *const FILTER_REPLY_HEADER, dwreplybuffersize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FilterSendMessage(hport: super::super::Foundation::HANDLE, lpinbuffer: *const ::core::ffi::c_void, dwinbuffersize: u32, lpoutbuffer: *mut ::core::ffi::c_void, dwoutbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] pub fn FilterUnload(lpfiltername: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FilterVolumeFindClose(hvolumefind: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] pub fn FilterVolumeFindFirst(dwinformationclass: FILTER_VOLUME_INFORMATION_CLASS, lpbuffer: *mut ::core::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32, lpvolumefind: *mut FilterVolumeFindHandle) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FilterVolumeFindNext(hvolumefind: super::super::Foundation::HANDLE, dwinformationclass: FILTER_VOLUME_INFORMATION_CLASS, lpbuffer: *mut ::core::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FilterVolumeInstanceFindClose(hvolumeinstancefind: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] pub fn FilterVolumeInstanceFindFirst(lpvolumename: ::windows_sys::core::PCWSTR, dwinformationclass: INSTANCE_INFORMATION_CLASS, lpbuffer: *mut ::core::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32, lpvolumeinstancefind: *mut FilterVolumeInstanceFindHandle) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FilterVolumeInstanceFindNext(hvolumeinstancefind: super::super::Foundation::HANDLE, dwinformationclass: INSTANCE_INFORMATION_CLASS, lpbuffer: *mut ::core::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Storage/IscsiDisc/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/IscsiDisc/mod.rs index 559e486326..5f2149adfa 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/IscsiDisc/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/IscsiDisc/mod.rs @@ -2,185 +2,419 @@ extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn AddISNSServerA(address: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn AddISNSServerW(address: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddIScsiConnectionA(uniquesessionid: *mut ISCSI_UNIQUE_SESSION_ID, reserved: *mut ::core::ffi::c_void, initiatorportnumber: u32, targetportal: *mut ISCSI_TARGET_PORTALA, securityflags: u64, loginoptions: *mut ISCSI_LOGIN_OPTIONS, keysize: u32, key: ::windows_sys::core::PCSTR, connectionid: *mut ISCSI_UNIQUE_SESSION_ID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn AddIScsiConnectionW(uniquesessionid: *mut ISCSI_UNIQUE_SESSION_ID, reserved: *mut ::core::ffi::c_void, initiatorportnumber: u32, targetportal: *mut ISCSI_TARGET_PORTALW, securityflags: u64, loginoptions: *mut ISCSI_LOGIN_OPTIONS, keysize: u32, key: ::windows_sys::core::PCSTR, connectionid: *mut ISCSI_UNIQUE_SESSION_ID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddIScsiSendTargetPortalA(initiatorinstance: ::windows_sys::core::PCSTR, initiatorportnumber: u32, loginoptions: *mut ISCSI_LOGIN_OPTIONS, securityflags: u64, portal: *mut ISCSI_TARGET_PORTALA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn AddIScsiSendTargetPortalW(initiatorinstance: ::windows_sys::core::PCWSTR, initiatorportnumber: u32, loginoptions: *mut ISCSI_LOGIN_OPTIONS, securityflags: u64, portal: *mut ISCSI_TARGET_PORTALW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddIScsiStaticTargetA(targetname: ::windows_sys::core::PCSTR, targetalias: ::windows_sys::core::PCSTR, targetflags: u32, persist: super::super::Foundation::BOOLEAN, mappings: *mut ISCSI_TARGET_MAPPINGA, loginoptions: *mut ISCSI_LOGIN_OPTIONS, portalgroup: *mut ISCSI_TARGET_PORTAL_GROUPA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddIScsiStaticTargetW(targetname: ::windows_sys::core::PCWSTR, targetalias: ::windows_sys::core::PCWSTR, targetflags: u32, persist: super::super::Foundation::BOOLEAN, mappings: *mut ISCSI_TARGET_MAPPINGW, loginoptions: *mut ISCSI_LOGIN_OPTIONS, portalgroup: *mut ISCSI_TARGET_PORTAL_GROUPW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn AddPersistentIScsiDeviceA(devicepath: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn AddPersistentIScsiDeviceW(devicepath: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn AddRadiusServerA(address: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn AddRadiusServerW(address: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn ClearPersistentIScsiDevices() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ioctl\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ioctl"))] pub fn GetDevicesForIScsiSessionA(uniquesessionid: *mut ISCSI_UNIQUE_SESSION_ID, devicecount: *mut u32, devices: *mut ISCSI_DEVICE_ON_SESSIONA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_System_Ioctl\"`*"] #[cfg(feature = "Win32_System_Ioctl")] pub fn GetDevicesForIScsiSessionW(uniquesessionid: *mut ISCSI_UNIQUE_SESSION_ID, devicecount: *mut u32, devices: *mut ISCSI_DEVICE_ON_SESSIONW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn GetIScsiIKEInfoA(initiatorname: ::windows_sys::core::PCSTR, initiatorportnumber: u32, reserved: *mut u32, authinfo: *mut IKE_AUTHENTICATION_INFORMATION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn GetIScsiIKEInfoW(initiatorname: ::windows_sys::core::PCWSTR, initiatorportnumber: u32, reserved: *mut u32, authinfo: *mut IKE_AUTHENTICATION_INFORMATION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn GetIScsiInitiatorNodeNameA(initiatornodename: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn GetIScsiInitiatorNodeNameW(initiatornodename: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn GetIScsiSessionListA(buffersize: *mut u32, sessioncount: *mut u32, sessioninfo: *mut ISCSI_SESSION_INFOA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetIScsiSessionListEx(buffersize: *mut u32, sessioncountptr: *mut u32, sessioninfo: *mut ISCSI_SESSION_INFO_EX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn GetIScsiSessionListW(buffersize: *mut u32, sessioncount: *mut u32, sessioninfo: *mut ISCSI_SESSION_INFOW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn GetIScsiTargetInformationA(targetname: ::windows_sys::core::PCSTR, discoverymechanism: ::windows_sys::core::PCSTR, infoclass: TARGET_INFORMATION_CLASS, buffersize: *mut u32, buffer: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn GetIScsiTargetInformationW(targetname: ::windows_sys::core::PCWSTR, discoverymechanism: ::windows_sys::core::PCWSTR, infoclass: TARGET_INFORMATION_CLASS, buffersize: *mut u32, buffer: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn GetIScsiVersionInformation(versioninfo: *mut ISCSI_VERSION_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoginIScsiTargetA(targetname: ::windows_sys::core::PCSTR, isinformationalsession: super::super::Foundation::BOOLEAN, initiatorinstance: ::windows_sys::core::PCSTR, initiatorportnumber: u32, targetportal: *mut ISCSI_TARGET_PORTALA, securityflags: u64, mappings: *mut ISCSI_TARGET_MAPPINGA, loginoptions: *mut ISCSI_LOGIN_OPTIONS, keysize: u32, key: ::windows_sys::core::PCSTR, ispersistent: super::super::Foundation::BOOLEAN, uniquesessionid: *mut ISCSI_UNIQUE_SESSION_ID, uniqueconnectionid: *mut ISCSI_UNIQUE_SESSION_ID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoginIScsiTargetW(targetname: ::windows_sys::core::PCWSTR, isinformationalsession: super::super::Foundation::BOOLEAN, initiatorinstance: ::windows_sys::core::PCWSTR, initiatorportnumber: u32, targetportal: *mut ISCSI_TARGET_PORTALW, securityflags: u64, mappings: *mut ISCSI_TARGET_MAPPINGW, loginoptions: *mut ISCSI_LOGIN_OPTIONS, keysize: u32, key: ::windows_sys::core::PCSTR, ispersistent: super::super::Foundation::BOOLEAN, uniquesessionid: *mut ISCSI_UNIQUE_SESSION_ID, uniqueconnectionid: *mut ISCSI_UNIQUE_SESSION_ID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn LogoutIScsiTarget(uniquesessionid: *mut ISCSI_UNIQUE_SESSION_ID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn RefreshISNSServerA(address: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn RefreshISNSServerW(address: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RefreshIScsiSendTargetPortalA(initiatorinstance: ::windows_sys::core::PCSTR, initiatorportnumber: u32, portal: *mut ISCSI_TARGET_PORTALA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn RefreshIScsiSendTargetPortalW(initiatorinstance: ::windows_sys::core::PCWSTR, initiatorportnumber: u32, portal: *mut ISCSI_TARGET_PORTALW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn RemoveISNSServerA(address: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn RemoveISNSServerW(address: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn RemoveIScsiConnection(uniquesessionid: *mut ISCSI_UNIQUE_SESSION_ID, connectionid: *mut ISCSI_UNIQUE_SESSION_ID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveIScsiPersistentTargetA(initiatorinstance: ::windows_sys::core::PCSTR, initiatorportnumber: u32, targetname: ::windows_sys::core::PCSTR, portal: *mut ISCSI_TARGET_PORTALA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn RemoveIScsiPersistentTargetW(initiatorinstance: ::windows_sys::core::PCWSTR, initiatorportnumber: u32, targetname: ::windows_sys::core::PCWSTR, portal: *mut ISCSI_TARGET_PORTALW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveIScsiSendTargetPortalA(initiatorinstance: ::windows_sys::core::PCSTR, initiatorportnumber: u32, portal: *mut ISCSI_TARGET_PORTALA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn RemoveIScsiSendTargetPortalW(initiatorinstance: ::windows_sys::core::PCWSTR, initiatorportnumber: u32, portal: *mut ISCSI_TARGET_PORTALW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn RemoveIScsiStaticTargetA(targetname: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn RemoveIScsiStaticTargetW(targetname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn RemovePersistentIScsiDeviceA(devicepath: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn RemovePersistentIScsiDeviceW(devicepath: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn RemoveRadiusServerA(address: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn RemoveRadiusServerW(address: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReportActiveIScsiTargetMappingsA(buffersize: *mut u32, mappingcount: *mut u32, mappings: *mut ISCSI_TARGET_MAPPINGA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn ReportActiveIScsiTargetMappingsW(buffersize: *mut u32, mappingcount: *mut u32, mappings: *mut ISCSI_TARGET_MAPPINGW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn ReportISNSServerListA(buffersizeinchar: *mut u32, buffer: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn ReportISNSServerListW(buffersizeinchar: *mut u32, buffer: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn ReportIScsiInitiatorListA(buffersize: *mut u32, buffer: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn ReportIScsiInitiatorListW(buffersize: *mut u32, buffer: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReportIScsiPersistentLoginsA(count: *mut u32, persistentlogininfo: *mut PERSISTENT_ISCSI_LOGIN_INFOA, buffersizeinbytes: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReportIScsiPersistentLoginsW(count: *mut u32, persistentlogininfo: *mut PERSISTENT_ISCSI_LOGIN_INFOW, buffersizeinbytes: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReportIScsiSendTargetPortalsA(portalcount: *mut u32, portalinfo: *mut ISCSI_TARGET_PORTAL_INFOA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReportIScsiSendTargetPortalsExA(portalcount: *mut u32, portalinfosize: *mut u32, portalinfo: *mut ISCSI_TARGET_PORTAL_INFO_EXA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn ReportIScsiSendTargetPortalsExW(portalcount: *mut u32, portalinfosize: *mut u32, portalinfo: *mut ISCSI_TARGET_PORTAL_INFO_EXW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn ReportIScsiSendTargetPortalsW(portalcount: *mut u32, portalinfo: *mut ISCSI_TARGET_PORTAL_INFOW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReportIScsiTargetPortalsA(initiatorname: ::windows_sys::core::PCSTR, targetname: ::windows_sys::core::PCSTR, targetportaltag: *mut u16, elementcount: *mut u32, portals: *mut ISCSI_TARGET_PORTALA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn ReportIScsiTargetPortalsW(initiatorname: ::windows_sys::core::PCWSTR, targetname: ::windows_sys::core::PCWSTR, targetportaltag: *mut u16, elementcount: *mut u32, portals: *mut ISCSI_TARGET_PORTALW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReportIScsiTargetsA(forceupdate: super::super::Foundation::BOOLEAN, buffersize: *mut u32, buffer: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReportIScsiTargetsW(forceupdate: super::super::Foundation::BOOLEAN, buffersize: *mut u32, buffer: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn ReportPersistentIScsiDevicesA(buffersizeinchar: *mut u32, buffer: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn ReportPersistentIScsiDevicesW(buffersizeinchar: *mut u32, buffer: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn ReportRadiusServerListA(buffersizeinchar: *mut u32, buffer: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn ReportRadiusServerListW(buffersizeinchar: *mut u32, buffer: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn SendScsiInquiry(uniquesessionid: *mut ISCSI_UNIQUE_SESSION_ID, lun: u64, evpdcmddt: u8, pagecode: u8, scsistatus: *mut u8, responsesize: *mut u32, responsebuffer: *mut u8, sensesize: *mut u32, sensebuffer: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn SendScsiReadCapacity(uniquesessionid: *mut ISCSI_UNIQUE_SESSION_ID, lun: u64, scsistatus: *mut u8, responsesize: *mut u32, responsebuffer: *mut u8, sensesize: *mut u32, sensebuffer: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn SendScsiReportLuns(uniquesessionid: *mut ISCSI_UNIQUE_SESSION_ID, scsistatus: *mut u8, responsesize: *mut u32, responsebuffer: *mut u8, sensesize: *mut u32, sensebuffer: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetIScsiGroupPresharedKey(keylength: u32, key: *mut u8, persist: super::super::Foundation::BOOLEAN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetIScsiIKEInfoA(initiatorname: ::windows_sys::core::PCSTR, initiatorportnumber: u32, authinfo: *mut IKE_AUTHENTICATION_INFORMATION, persist: super::super::Foundation::BOOLEAN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetIScsiIKEInfoW(initiatorname: ::windows_sys::core::PCWSTR, initiatorportnumber: u32, authinfo: *mut IKE_AUTHENTICATION_INFORMATION, persist: super::super::Foundation::BOOLEAN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn SetIScsiInitiatorCHAPSharedSecret(sharedsecretlength: u32, sharedsecret: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn SetIScsiInitiatorNodeNameA(initiatornodename: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn SetIScsiInitiatorNodeNameW(initiatornodename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn SetIScsiInitiatorRADIUSSharedSecret(sharedsecretlength: u32, sharedsecret: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetIScsiTunnelModeOuterAddressA(initiatorname: ::windows_sys::core::PCSTR, initiatorportnumber: u32, destinationaddress: ::windows_sys::core::PCSTR, outermodeaddress: ::windows_sys::core::PCSTR, persist: super::super::Foundation::BOOLEAN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetIScsiTunnelModeOuterAddressW(initiatorname: ::windows_sys::core::PCWSTR, initiatorportnumber: u32, destinationaddress: ::windows_sys::core::PCWSTR, outermodeaddress: ::windows_sys::core::PCWSTR, persist: super::super::Foundation::BOOLEAN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn SetupPersistentIScsiDevices() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] pub fn SetupPersistentIScsiVolumes() -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/Storage/Jet/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/Jet/mod.rs index 3bbbac2359..2be69ffbf3 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/Jet/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/Jet/mod.rs @@ -3,667 +3,1351 @@ extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetAddColumnA(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szcolumnname: *const i8, pcolumndef: *const JET_COLUMNDEF, pvdefault: *const ::core::ffi::c_void, cbdefault: u32, pcolumnid: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetAddColumnW(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szcolumnname: *const u16, pcolumndef: *const JET_COLUMNDEF, pvdefault: *const ::core::ffi::c_void, cbdefault: u32, pcolumnid: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetAttachDatabase2A(sesid: super::StructuredStorage::JET_SESID, szfilename: *const i8, cpgdatabasesizemax: u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetAttachDatabase2W(sesid: super::StructuredStorage::JET_SESID, szfilename: *const u16, cpgdatabasesizemax: u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetAttachDatabaseA(sesid: super::StructuredStorage::JET_SESID, szfilename: *const i8, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetAttachDatabaseW(sesid: super::StructuredStorage::JET_SESID, szfilename: *const u16, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetBackupA(szbackuppath: *const i8, grbit: u32, pfnstatus: JET_PFNSTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetBackupInstanceA(instance: super::StructuredStorage::JET_INSTANCE, szbackuppath: *const i8, grbit: u32, pfnstatus: JET_PFNSTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetBackupInstanceW(instance: super::StructuredStorage::JET_INSTANCE, szbackuppath: *const u16, grbit: u32, pfnstatus: JET_PFNSTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetBackupW(szbackuppath: *const u16, grbit: u32, pfnstatus: JET_PFNSTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub fn JetBeginExternalBackup(grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetBeginExternalBackupInstance(instance: super::StructuredStorage::JET_INSTANCE, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetBeginSessionA(instance: super::StructuredStorage::JET_INSTANCE, psesid: *mut super::StructuredStorage::JET_SESID, szusername: *const i8, szpassword: *const i8) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetBeginSessionW(instance: super::StructuredStorage::JET_INSTANCE, psesid: *mut super::StructuredStorage::JET_SESID, szusername: *const u16, szpassword: *const u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetBeginTransaction(sesid: super::StructuredStorage::JET_SESID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetBeginTransaction2(sesid: super::StructuredStorage::JET_SESID, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetBeginTransaction3(sesid: super::StructuredStorage::JET_SESID, trxid: i64, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCloseDatabase(sesid: super::StructuredStorage::JET_SESID, dbid: u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCloseFile(hffile: super::StructuredStorage::JET_HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCloseFileInstance(instance: super::StructuredStorage::JET_INSTANCE, hffile: super::StructuredStorage::JET_HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCloseTable(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCommitTransaction(sesid: super::StructuredStorage::JET_SESID, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_StructuredStorage"))] pub fn JetCommitTransaction2(sesid: super::StructuredStorage::JET_SESID, grbit: u32, cmsecdurablecommit: u32, pcommitid: *mut JET_COMMIT_ID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCompactA(sesid: super::StructuredStorage::JET_SESID, szdatabasesrc: *const i8, szdatabasedest: *const i8, pfnstatus: JET_PFNSTATUS, pconvert: *const CONVERT_A, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCompactW(sesid: super::StructuredStorage::JET_SESID, szdatabasesrc: *const u16, szdatabasedest: *const u16, pfnstatus: JET_PFNSTATUS, pconvert: *const CONVERT_W, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetComputeStats(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub fn JetConfigureProcessForCrashDump(grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateDatabase2A(sesid: super::StructuredStorage::JET_SESID, szfilename: *const i8, cpgdatabasesizemax: u32, pdbid: *mut u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateDatabase2W(sesid: super::StructuredStorage::JET_SESID, szfilename: *const u16, cpgdatabasesizemax: u32, pdbid: *mut u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateDatabaseA(sesid: super::StructuredStorage::JET_SESID, szfilename: *const i8, szconnect: *const i8, pdbid: *mut u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateDatabaseW(sesid: super::StructuredStorage::JET_SESID, szfilename: *const u16, szconnect: *const u16, pdbid: *mut u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateIndex2A(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, pindexcreate: *const JET_INDEXCREATE_A, cindexcreate: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateIndex2W(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, pindexcreate: *const JET_INDEXCREATE_W, cindexcreate: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateIndex3A(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, pindexcreate: *const JET_INDEXCREATE2_A, cindexcreate: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateIndex3W(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, pindexcreate: *const JET_INDEXCREATE2_W, cindexcreate: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateIndex4A(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, pindexcreate: *const JET_INDEXCREATE3_A, cindexcreate: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateIndex4W(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, pindexcreate: *const JET_INDEXCREATE3_W, cindexcreate: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateIndexA(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szindexname: *const i8, grbit: u32, szkey: ::windows_sys::core::PCSTR, cbkey: u32, ldensity: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateIndexW(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szindexname: *const u16, grbit: u32, szkey: ::windows_sys::core::PCWSTR, cbkey: u32, ldensity: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateInstance2A(pinstance: *mut super::StructuredStorage::JET_INSTANCE, szinstancename: *const i8, szdisplayname: *const i8, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateInstance2W(pinstance: *mut super::StructuredStorage::JET_INSTANCE, szinstancename: *const u16, szdisplayname: *const u16, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateInstanceA(pinstance: *mut super::StructuredStorage::JET_INSTANCE, szinstancename: *const i8) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateInstanceW(pinstance: *mut super::StructuredStorage::JET_INSTANCE, szinstancename: *const u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateTableA(sesid: super::StructuredStorage::JET_SESID, dbid: u32, sztablename: *const i8, lpages: u32, ldensity: u32, ptableid: *mut super::StructuredStorage::JET_TABLEID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateTableColumnIndex2A(sesid: super::StructuredStorage::JET_SESID, dbid: u32, ptablecreate: *mut JET_TABLECREATE2_A) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateTableColumnIndex2W(sesid: super::StructuredStorage::JET_SESID, dbid: u32, ptablecreate: *mut JET_TABLECREATE2_W) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateTableColumnIndex3A(sesid: super::StructuredStorage::JET_SESID, dbid: u32, ptablecreate: *mut JET_TABLECREATE3_A) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateTableColumnIndex3W(sesid: super::StructuredStorage::JET_SESID, dbid: u32, ptablecreate: *mut JET_TABLECREATE3_W) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateTableColumnIndex4A(sesid: super::StructuredStorage::JET_SESID, dbid: u32, ptablecreate: *mut JET_TABLECREATE4_A) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateTableColumnIndex4W(sesid: super::StructuredStorage::JET_SESID, dbid: u32, ptablecreate: *mut JET_TABLECREATE4_W) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateTableColumnIndexA(sesid: super::StructuredStorage::JET_SESID, dbid: u32, ptablecreate: *mut JET_TABLECREATE_A) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateTableColumnIndexW(sesid: super::StructuredStorage::JET_SESID, dbid: u32, ptablecreate: *mut JET_TABLECREATE_W) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetCreateTableW(sesid: super::StructuredStorage::JET_SESID, dbid: u32, sztablename: *const u16, lpages: u32, ldensity: u32, ptableid: *mut super::StructuredStorage::JET_TABLEID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetDefragment2A(sesid: super::StructuredStorage::JET_SESID, dbid: u32, sztablename: *const i8, pcpasses: *mut u32, pcseconds: *mut u32, callback: JET_CALLBACK, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetDefragment2W(sesid: super::StructuredStorage::JET_SESID, dbid: u32, sztablename: *const u16, pcpasses: *mut u32, pcseconds: *mut u32, callback: JET_CALLBACK, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetDefragment3A(sesid: super::StructuredStorage::JET_SESID, szdatabasename: *const i8, sztablename: *const i8, pcpasses: *mut u32, pcseconds: *mut u32, callback: JET_CALLBACK, pvcontext: *const ::core::ffi::c_void, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetDefragment3W(sesid: super::StructuredStorage::JET_SESID, szdatabasename: *const u16, sztablename: *const u16, pcpasses: *mut u32, pcseconds: *mut u32, callback: JET_CALLBACK, pvcontext: *const ::core::ffi::c_void, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetDefragmentA(sesid: super::StructuredStorage::JET_SESID, dbid: u32, sztablename: *const i8, pcpasses: *mut u32, pcseconds: *mut u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetDefragmentW(sesid: super::StructuredStorage::JET_SESID, dbid: u32, sztablename: *const u16, pcpasses: *mut u32, pcseconds: *mut u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetDelete(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetDeleteColumn2A(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szcolumnname: *const i8, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetDeleteColumn2W(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szcolumnname: *const u16, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetDeleteColumnA(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szcolumnname: *const i8) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetDeleteColumnW(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szcolumnname: *const u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetDeleteIndexA(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szindexname: *const i8) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetDeleteIndexW(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szindexname: *const u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetDeleteTableA(sesid: super::StructuredStorage::JET_SESID, dbid: u32, sztablename: *const i8) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetDeleteTableW(sesid: super::StructuredStorage::JET_SESID, dbid: u32, sztablename: *const u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetDetachDatabase2A(sesid: super::StructuredStorage::JET_SESID, szfilename: *const i8, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetDetachDatabase2W(sesid: super::StructuredStorage::JET_SESID, szfilename: *const u16, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetDetachDatabaseA(sesid: super::StructuredStorage::JET_SESID, szfilename: *const i8) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetDetachDatabaseW(sesid: super::StructuredStorage::JET_SESID, szfilename: *const u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetDupCursor(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, ptableid: *mut super::StructuredStorage::JET_TABLEID, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetDupSession(sesid: super::StructuredStorage::JET_SESID, psesid: *mut super::StructuredStorage::JET_SESID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetEnableMultiInstanceA(psetsysparam: *const JET_SETSYSPARAM_A, csetsysparam: u32, pcsetsucceed: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetEnableMultiInstanceW(psetsysparam: *const JET_SETSYSPARAM_W, csetsysparam: u32, pcsetsucceed: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub fn JetEndExternalBackup() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetEndExternalBackupInstance(instance: super::StructuredStorage::JET_INSTANCE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetEndExternalBackupInstance2(instance: super::StructuredStorage::JET_INSTANCE, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetEndSession(sesid: super::StructuredStorage::JET_SESID, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetEnumerateColumns(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, cenumcolumnid: u32, rgenumcolumnid: *const JET_ENUMCOLUMNID, pcenumcolumn: *mut u32, prgenumcolumn: *mut *mut JET_ENUMCOLUMN, pfnrealloc: JET_PFNREALLOC, pvrealloccontext: *const ::core::ffi::c_void, cbdatamost: u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetEscrowUpdate(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, columnid: u32, pv: *const ::core::ffi::c_void, cbmax: u32, pvold: *mut ::core::ffi::c_void, cboldmax: u32, pcboldactual: *mut u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_StructuredStorage"))] pub fn JetExternalRestore2A(szcheckpointfilepath: *const i8, szlogpath: *const i8, rgrstmap: *const JET_RSTMAP_A, crstfilemap: i32, szbackuplogpath: *const i8, ploginfo: *mut JET_LOGINFO_A, sztargetinstancename: *const i8, sztargetinstancelogpath: *const i8, sztargetinstancecheckpointpath: *const i8, pfn: JET_PFNSTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetExternalRestore2W(szcheckpointfilepath: *const u16, szlogpath: *const u16, rgrstmap: *const JET_RSTMAP_W, crstfilemap: i32, szbackuplogpath: *const u16, ploginfo: *mut JET_LOGINFO_W, sztargetinstancename: *const u16, sztargetinstancelogpath: *const u16, sztargetinstancecheckpointpath: *const u16, pfn: JET_PFNSTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetExternalRestoreA(szcheckpointfilepath: *const i8, szlogpath: *const i8, rgrstmap: *const JET_RSTMAP_A, crstfilemap: i32, szbackuplogpath: *const i8, genlow: i32, genhigh: i32, pfn: JET_PFNSTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetExternalRestoreW(szcheckpointfilepath: *const u16, szlogpath: *const u16, rgrstmap: *const JET_RSTMAP_W, crstfilemap: i32, szbackuplogpath: *const u16, genlow: i32, genhigh: i32, pfn: JET_PFNSTATUS) -> i32; - #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub fn JetFreeBuffer(pbbuf: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub fn JetGetAttachInfoA(szzdatabases: *mut i8, cbmax: u32, pcbactual: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetAttachInfoInstanceA(instance: super::StructuredStorage::JET_INSTANCE, szzdatabases: *mut i8, cbmax: u32, pcbactual: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetAttachInfoInstanceW(instance: super::StructuredStorage::JET_INSTANCE, szzdatabases: *mut u16, cbmax: u32, pcbactual: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub fn JetGetAttachInfoW(wszzdatabases: *mut u16, cbmax: u32, pcbactual: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetBookmark(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, pvbookmark: *mut ::core::ffi::c_void, cbmax: u32, pcbactual: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetColumnInfoA(sesid: super::StructuredStorage::JET_SESID, dbid: u32, sztablename: *const i8, pcolumnnameorid: *const i8, pvresult: *mut ::core::ffi::c_void, cbmax: u32, infolevel: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetColumnInfoW(sesid: super::StructuredStorage::JET_SESID, dbid: u32, sztablename: *const u16, pwcolumnnameorid: *const u16, pvresult: *mut ::core::ffi::c_void, cbmax: u32, infolevel: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetCurrentIndexA(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szindexname: *mut i8, cbindexname: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetCurrentIndexW(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szindexname: *mut u16, cbindexname: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetCursorInfo(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, pvresult: *mut ::core::ffi::c_void, cbmax: u32, infolevel: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub fn JetGetDatabaseFileInfoA(szdatabasename: *const i8, pvresult: *mut ::core::ffi::c_void, cbmax: u32, infolevel: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub fn JetGetDatabaseFileInfoW(szdatabasename: *const u16, pvresult: *mut ::core::ffi::c_void, cbmax: u32, infolevel: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetDatabaseInfoA(sesid: super::StructuredStorage::JET_SESID, dbid: u32, pvresult: *mut ::core::ffi::c_void, cbmax: u32, infolevel: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetDatabaseInfoW(sesid: super::StructuredStorage::JET_SESID, dbid: u32, pvresult: *mut ::core::ffi::c_void, cbmax: u32, infolevel: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub fn JetGetErrorInfoW(pvcontext: *const ::core::ffi::c_void, pvresult: *mut ::core::ffi::c_void, cbmax: u32, infolevel: u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetIndexInfoA(sesid: super::StructuredStorage::JET_SESID, dbid: u32, sztablename: *const i8, szindexname: *const i8, pvresult: *mut ::core::ffi::c_void, cbresult: u32, infolevel: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetIndexInfoW(sesid: super::StructuredStorage::JET_SESID, dbid: u32, sztablename: *const u16, szindexname: *const u16, pvresult: *mut ::core::ffi::c_void, cbresult: u32, infolevel: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetInstanceInfoA(pcinstanceinfo: *mut u32, painstanceinfo: *mut *mut JET_INSTANCE_INFO_A) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetInstanceInfoW(pcinstanceinfo: *mut u32, painstanceinfo: *mut *mut JET_INSTANCE_INFO_W) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetInstanceMiscInfo(instance: super::StructuredStorage::JET_INSTANCE, pvresult: *mut ::core::ffi::c_void, cbmax: u32, infolevel: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetLS(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, pls: *mut JET_LS, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetLock(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub fn JetGetLogInfoA(szzlogs: *mut i8, cbmax: u32, pcbactual: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_StructuredStorage"))] pub fn JetGetLogInfoInstance2A(instance: super::StructuredStorage::JET_INSTANCE, szzlogs: *mut i8, cbmax: u32, pcbactual: *mut u32, ploginfo: *mut JET_LOGINFO_A) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetLogInfoInstance2W(instance: super::StructuredStorage::JET_INSTANCE, wszzlogs: *mut u16, cbmax: u32, pcbactual: *mut u32, ploginfo: *mut JET_LOGINFO_W) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetLogInfoInstanceA(instance: super::StructuredStorage::JET_INSTANCE, szzlogs: *mut i8, cbmax: u32, pcbactual: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetLogInfoInstanceW(instance: super::StructuredStorage::JET_INSTANCE, wszzlogs: *mut u16, cbmax: u32, pcbactual: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub fn JetGetLogInfoW(szzlogs: *mut u16, cbmax: u32, pcbactual: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetObjectInfoA(sesid: super::StructuredStorage::JET_SESID, dbid: u32, objtyp: u32, szcontainername: *const i8, szobjectname: *const i8, pvresult: *mut ::core::ffi::c_void, cbmax: u32, infolevel: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetObjectInfoW(sesid: super::StructuredStorage::JET_SESID, dbid: u32, objtyp: u32, szcontainername: *const u16, szobjectname: *const u16, pvresult: *mut ::core::ffi::c_void, cbmax: u32, infolevel: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetRecordPosition(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, precpos: *mut JET_RECPOS, cbrecpos: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetRecordSize(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, precsize: *mut JET_RECSIZE, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetRecordSize2(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, precsize: *mut JET_RECSIZE2, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetSecondaryIndexBookmark(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, pvsecondarykey: *mut ::core::ffi::c_void, cbsecondarykeymax: u32, pcbsecondarykeyactual: *mut u32, pvprimarybookmark: *mut ::core::ffi::c_void, cbprimarybookmarkmax: u32, pcbprimarybookmarkactual: *mut u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetSessionParameter(sesid: super::StructuredStorage::JET_SESID, sesparamid: u32, pvparam: *mut ::core::ffi::c_void, cbparammax: u32, pcbparamactual: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetSystemParameterA(instance: super::StructuredStorage::JET_INSTANCE, sesid: super::StructuredStorage::JET_SESID, paramid: u32, plparam: *mut super::StructuredStorage::JET_API_PTR, szparam: *mut i8, cbmax: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetSystemParameterW(instance: super::StructuredStorage::JET_INSTANCE, sesid: super::StructuredStorage::JET_SESID, paramid: u32, plparam: *mut super::StructuredStorage::JET_API_PTR, szparam: *mut u16, cbmax: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetTableColumnInfoA(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szcolumnname: *const i8, pvresult: *mut ::core::ffi::c_void, cbmax: u32, infolevel: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetTableColumnInfoW(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szcolumnname: *const u16, pvresult: *mut ::core::ffi::c_void, cbmax: u32, infolevel: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetTableIndexInfoA(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szindexname: *const i8, pvresult: *mut ::core::ffi::c_void, cbresult: u32, infolevel: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetTableIndexInfoW(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szindexname: *const u16, pvresult: *mut ::core::ffi::c_void, cbresult: u32, infolevel: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetTableInfoA(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, pvresult: *mut ::core::ffi::c_void, cbmax: u32, infolevel: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetTableInfoW(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, pvresult: *mut ::core::ffi::c_void, cbmax: u32, infolevel: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub fn JetGetThreadStats(pvresult: *mut ::core::ffi::c_void, cbmax: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetTruncateLogInfoInstanceA(instance: super::StructuredStorage::JET_INSTANCE, szzlogs: *mut i8, cbmax: u32, pcbactual: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetTruncateLogInfoInstanceW(instance: super::StructuredStorage::JET_INSTANCE, wszzlogs: *mut u16, cbmax: u32, pcbactual: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGetVersion(sesid: super::StructuredStorage::JET_SESID, pwversion: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGotoBookmark(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, pvbookmark: *const ::core::ffi::c_void, cbbookmark: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGotoPosition(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, precpos: *const JET_RECPOS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGotoSecondaryIndexBookmark(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, pvsecondarykey: *const ::core::ffi::c_void, cbsecondarykey: u32, pvprimarybookmark: *const ::core::ffi::c_void, cbprimarybookmark: u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetGrowDatabase(sesid: super::StructuredStorage::JET_SESID, dbid: u32, cpg: u32, pcpgreal: *const u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetIdle(sesid: super::StructuredStorage::JET_SESID, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetIndexRecordCount(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, pcrec: *mut u32, crecmax: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetInit(pinstance: *mut super::StructuredStorage::JET_INSTANCE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetInit2(pinstance: *mut super::StructuredStorage::JET_INSTANCE, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_StructuredStorage"))] pub fn JetInit3A(pinstance: *mut super::StructuredStorage::JET_INSTANCE, prstinfo: *const JET_RSTINFO_A, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_StructuredStorage"))] pub fn JetInit3W(pinstance: *mut super::StructuredStorage::JET_INSTANCE, prstinfo: *const JET_RSTINFO_W, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetIntersectIndexes(sesid: super::StructuredStorage::JET_SESID, rgindexrange: *const JET_INDEXRANGE, cindexrange: u32, precordlist: *mut JET_RECORDLIST, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetMakeKey(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, pvdata: *const ::core::ffi::c_void, cbdata: u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetMove(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, crow: i32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub fn JetOSSnapshotAbort(snapid: JET_OSSNAPID, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub fn JetOSSnapshotEnd(snapid: JET_OSSNAPID, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetOSSnapshotFreezeA(snapid: JET_OSSNAPID, pcinstanceinfo: *mut u32, painstanceinfo: *mut *mut JET_INSTANCE_INFO_A, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetOSSnapshotFreezeW(snapid: JET_OSSNAPID, pcinstanceinfo: *mut u32, painstanceinfo: *mut *mut JET_INSTANCE_INFO_W, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetOSSnapshotGetFreezeInfoA(snapid: JET_OSSNAPID, pcinstanceinfo: *mut u32, painstanceinfo: *mut *mut JET_INSTANCE_INFO_A, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetOSSnapshotGetFreezeInfoW(snapid: JET_OSSNAPID, pcinstanceinfo: *mut u32, painstanceinfo: *mut *mut JET_INSTANCE_INFO_W, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub fn JetOSSnapshotPrepare(psnapid: *mut JET_OSSNAPID, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetOSSnapshotPrepareInstance(snapid: JET_OSSNAPID, instance: super::StructuredStorage::JET_INSTANCE, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub fn JetOSSnapshotThaw(snapid: JET_OSSNAPID, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub fn JetOSSnapshotTruncateLog(snapid: JET_OSSNAPID, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetOSSnapshotTruncateLogInstance(snapid: JET_OSSNAPID, instance: super::StructuredStorage::JET_INSTANCE, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetOpenDatabaseA(sesid: super::StructuredStorage::JET_SESID, szfilename: *const i8, szconnect: *const i8, pdbid: *mut u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetOpenDatabaseW(sesid: super::StructuredStorage::JET_SESID, szfilename: *const u16, szconnect: *const u16, pdbid: *mut u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetOpenFileA(szfilename: *const i8, phffile: *mut super::StructuredStorage::JET_HANDLE, pulfilesizelow: *mut u32, pulfilesizehigh: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetOpenFileInstanceA(instance: super::StructuredStorage::JET_INSTANCE, szfilename: *const i8, phffile: *mut super::StructuredStorage::JET_HANDLE, pulfilesizelow: *mut u32, pulfilesizehigh: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetOpenFileInstanceW(instance: super::StructuredStorage::JET_INSTANCE, szfilename: *const u16, phffile: *mut super::StructuredStorage::JET_HANDLE, pulfilesizelow: *mut u32, pulfilesizehigh: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetOpenFileW(szfilename: *const u16, phffile: *mut super::StructuredStorage::JET_HANDLE, pulfilesizelow: *mut u32, pulfilesizehigh: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetOpenTableA(sesid: super::StructuredStorage::JET_SESID, dbid: u32, sztablename: *const i8, pvparameters: *const ::core::ffi::c_void, cbparameters: u32, grbit: u32, ptableid: *mut super::StructuredStorage::JET_TABLEID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetOpenTableW(sesid: super::StructuredStorage::JET_SESID, dbid: u32, sztablename: *const u16, pvparameters: *const ::core::ffi::c_void, cbparameters: u32, grbit: u32, ptableid: *mut super::StructuredStorage::JET_TABLEID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetOpenTempTable(sesid: super::StructuredStorage::JET_SESID, prgcolumndef: *const JET_COLUMNDEF, ccolumn: u32, grbit: u32, ptableid: *mut super::StructuredStorage::JET_TABLEID, prgcolumnid: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetOpenTempTable2(sesid: super::StructuredStorage::JET_SESID, prgcolumndef: *const JET_COLUMNDEF, ccolumn: u32, lcid: u32, grbit: u32, ptableid: *mut super::StructuredStorage::JET_TABLEID, prgcolumnid: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetOpenTempTable3(sesid: super::StructuredStorage::JET_SESID, prgcolumndef: *const JET_COLUMNDEF, ccolumn: u32, pidxunicode: *const JET_UNICODEINDEX, grbit: u32, ptableid: *mut super::StructuredStorage::JET_TABLEID, prgcolumnid: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetOpenTemporaryTable(sesid: super::StructuredStorage::JET_SESID, popentemporarytable: *const JET_OPENTEMPORARYTABLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetOpenTemporaryTable2(sesid: super::StructuredStorage::JET_SESID, popentemporarytable: *const JET_OPENTEMPORARYTABLE2) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetPrepareUpdate(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, prep: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetPrereadIndexRanges(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, rgindexranges: *const JET_INDEX_RANGE, cindexranges: u32, pcrangespreread: *mut u32, rgcolumnidpreread: *const u32, ccolumnidpreread: u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetPrereadKeys(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, rgpvkeys: *const *const ::core::ffi::c_void, rgcbkeys: *const u32, ckeys: i32, pckeyspreread: *mut i32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetReadFile(hffile: super::StructuredStorage::JET_HANDLE, pv: *mut ::core::ffi::c_void, cb: u32, pcbactual: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetReadFileInstance(instance: super::StructuredStorage::JET_INSTANCE, hffile: super::StructuredStorage::JET_HANDLE, pv: *mut ::core::ffi::c_void, cb: u32, pcbactual: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetRegisterCallback(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, cbtyp: u32, pcallback: JET_CALLBACK, pvcontext: *const ::core::ffi::c_void, phcallbackid: *const super::StructuredStorage::JET_HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetRenameColumnA(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szname: *const i8, sznamenew: *const i8, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetRenameColumnW(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szname: *const u16, sznamenew: *const u16, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetRenameTableA(sesid: super::StructuredStorage::JET_SESID, dbid: u32, szname: *const i8, sznamenew: *const i8) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetRenameTableW(sesid: super::StructuredStorage::JET_SESID, dbid: u32, szname: *const u16, sznamenew: *const u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetResetSessionContext(sesid: super::StructuredStorage::JET_SESID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetResetTableSequential(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetResizeDatabase(sesid: super::StructuredStorage::JET_SESID, dbid: u32, cpgtarget: u32, pcpgactual: *mut u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetRestore2A(sz: *const i8, szdest: *const i8, pfn: JET_PFNSTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetRestore2W(sz: *const u16, szdest: *const u16, pfn: JET_PFNSTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetRestoreA(szsource: *const i8, pfn: JET_PFNSTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetRestoreInstanceA(instance: super::StructuredStorage::JET_INSTANCE, sz: *const i8, szdest: *const i8, pfn: JET_PFNSTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetRestoreInstanceW(instance: super::StructuredStorage::JET_INSTANCE, sz: *const u16, szdest: *const u16, pfn: JET_PFNSTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetRestoreW(szsource: *const u16, pfn: JET_PFNSTATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetRetrieveColumn(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, columnid: u32, pvdata: *mut ::core::ffi::c_void, cbdata: u32, pcbactual: *mut u32, grbit: u32, pretinfo: *mut JET_RETINFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetRetrieveColumns(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, pretrievecolumn: *mut JET_RETRIEVECOLUMN, cretrievecolumn: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetRetrieveKey(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, pvkey: *mut ::core::ffi::c_void, cbmax: u32, pcbactual: *mut u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetRollback(sesid: super::StructuredStorage::JET_SESID, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSeek(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSetColumn(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, columnid: u32, pvdata: *const ::core::ffi::c_void, cbdata: u32, grbit: u32, psetinfo: *const JET_SETINFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSetColumnDefaultValueA(sesid: super::StructuredStorage::JET_SESID, dbid: u32, sztablename: *const i8, szcolumnname: *const i8, pvdata: *const ::core::ffi::c_void, cbdata: u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSetColumnDefaultValueW(sesid: super::StructuredStorage::JET_SESID, dbid: u32, sztablename: *const u16, szcolumnname: *const u16, pvdata: *const ::core::ffi::c_void, cbdata: u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSetColumns(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, psetcolumn: *const JET_SETCOLUMN, csetcolumn: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSetCurrentIndex2A(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szindexname: *const i8, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSetCurrentIndex2W(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szindexname: *const u16, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSetCurrentIndex3A(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szindexname: *const i8, grbit: u32, itagsequence: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSetCurrentIndex3W(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szindexname: *const u16, grbit: u32, itagsequence: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSetCurrentIndex4A(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szindexname: *const i8, pindexid: *const JET_INDEXID, grbit: u32, itagsequence: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSetCurrentIndex4W(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szindexname: *const u16, pindexid: *const JET_INDEXID, grbit: u32, itagsequence: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSetCurrentIndexA(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szindexname: *const i8) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSetCurrentIndexW(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, szindexname: *const u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSetCursorFilter(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, rgcolumnfilters: *const JET_INDEX_COLUMN, ccolumnfilters: u32, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSetDatabaseSizeA(sesid: super::StructuredStorage::JET_SESID, szdatabasename: *const i8, cpg: u32, pcpgreal: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSetDatabaseSizeW(sesid: super::StructuredStorage::JET_SESID, szdatabasename: *const u16, cpg: u32, pcpgreal: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSetIndexRange(sesid: super::StructuredStorage::JET_SESID, tableidsrc: super::StructuredStorage::JET_TABLEID, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSetLS(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, ls: JET_LS, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSetSessionContext(sesid: super::StructuredStorage::JET_SESID, ulcontext: super::StructuredStorage::JET_API_PTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSetSessionParameter(sesid: super::StructuredStorage::JET_SESID, sesparamid: u32, pvparam: *const ::core::ffi::c_void, cbparam: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSetSystemParameterA(pinstance: *mut super::StructuredStorage::JET_INSTANCE, sesid: super::StructuredStorage::JET_SESID, paramid: u32, lparam: super::StructuredStorage::JET_API_PTR, szparam: *const i8) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSetSystemParameterW(pinstance: *mut super::StructuredStorage::JET_INSTANCE, sesid: super::StructuredStorage::JET_SESID, paramid: u32, lparam: super::StructuredStorage::JET_API_PTR, szparam: *const u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetSetTableSequential(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub fn JetStopBackup() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetStopBackupInstance(instance: super::StructuredStorage::JET_INSTANCE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub fn JetStopService() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetStopServiceInstance(instance: super::StructuredStorage::JET_INSTANCE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetStopServiceInstance2(instance: super::StructuredStorage::JET_INSTANCE, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetTerm(instance: super::StructuredStorage::JET_INSTANCE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetTerm2(instance: super::StructuredStorage::JET_INSTANCE, grbit: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub fn JetTruncateLog() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetTruncateLogInstance(instance: super::StructuredStorage::JET_INSTANCE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetUnregisterCallback(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, cbtyp: u32, hcallbackid: super::StructuredStorage::JET_HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetUpdate(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, pvbookmark: *mut ::core::ffi::c_void, cbbookmark: u32, pcbactual: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] pub fn JetUpdate2(sesid: super::StructuredStorage::JET_SESID, tableid: super::StructuredStorage::JET_TABLEID, pvbookmark: *mut ::core::ffi::c_void, cbbookmark: u32, pcbactual: *mut u32, grbit: u32) -> i32; diff --git a/crates/libs/sys/src/Windows/Win32/Storage/OfflineFiles/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/OfflineFiles/mod.rs index 335afb3c48..b732fd0d37 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/OfflineFiles/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/OfflineFiles/mod.rs @@ -3,12 +3,21 @@ extern "system" { #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OfflineFilesEnable(benable: super::super::Foundation::BOOL, pbrebootrequired: *mut super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OfflineFilesQueryStatus(pbactive: *mut super::super::Foundation::BOOL, pbenabled: *mut super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OfflineFilesQueryStatusEx(pbactive: *mut super::super::Foundation::BOOL, pbenabled: *mut super::super::Foundation::BOOL, pbavailable: *mut super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] pub fn OfflineFilesStart() -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/Storage/OperationRecorder/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/OperationRecorder/mod.rs index 5bc6b73a85..a0d5f0e176 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/OperationRecorder/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/OperationRecorder/mod.rs @@ -3,6 +3,9 @@ extern "system" { #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OperationEnd(operationendparams: *const OPERATION_END_PARAMETERS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OperationStart(operationstartparams: *const OPERATION_START_PARAMETERS) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/Storage/Packaging/Appx/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/Packaging/Appx/mod.rs index dcfe07c96c..8ec9035136 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/Packaging/Appx/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/Packaging/Appx/mod.rs @@ -2,179 +2,365 @@ extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub fn ActivatePackageVirtualizationContext(context: *const PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__, cookie: *mut usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub fn AddPackageDependency(packagedependencyid: ::windows_sys::core::PCWSTR, rank: i32, options: AddPackageDependencyOptions, packagedependencycontext: *mut *mut PACKAGEDEPENDENCY_CONTEXT__, packagefullname: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AppPolicyGetClrCompat(processtoken: super::super::super::Foundation::HANDLE, policy: *mut AppPolicyClrCompat) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AppPolicyGetCreateFileAccess(processtoken: super::super::super::Foundation::HANDLE, policy: *mut AppPolicyCreateFileAccess) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AppPolicyGetLifecycleManagement(processtoken: super::super::super::Foundation::HANDLE, policy: *mut AppPolicyLifecycleManagement) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AppPolicyGetMediaFoundationCodecLoading(processtoken: super::super::super::Foundation::HANDLE, policy: *mut AppPolicyMediaFoundationCodecLoading) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AppPolicyGetProcessTerminationMethod(processtoken: super::super::super::Foundation::HANDLE, policy: *mut AppPolicyProcessTerminationMethod) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AppPolicyGetShowDeveloperDiagnostic(processtoken: super::super::super::Foundation::HANDLE, policy: *mut AppPolicyShowDeveloperDiagnostic) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AppPolicyGetThreadInitializationType(processtoken: super::super::super::Foundation::HANDLE, policy: *mut AppPolicyThreadInitializationType) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AppPolicyGetWindowingModel(processtoken: super::super::super::Foundation::HANDLE, policy: *mut AppPolicyWindowingModel) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CheckIsMSIXPackage(packagefullname: ::windows_sys::core::PCWSTR, ismsixpackage: *mut super::super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ClosePackageInfo(packageinforeference: *const _PACKAGE_INFO_REFERENCE) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub fn CreatePackageVirtualizationContext(packagefamilyname: ::windows_sys::core::PCWSTR, context: *mut *mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub fn DeactivatePackageVirtualizationContext(cookie: usize); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub fn DeletePackageDependency(packagedependencyid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub fn DuplicatePackageVirtualizationContext(sourcecontext: *const PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__, destcontext: *mut *mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindPackagesByPackageFamily(packagefamilyname: ::windows_sys::core::PCWSTR, packagefilters: u32, count: *mut u32, packagefullnames: *mut ::windows_sys::core::PWSTR, bufferlength: *mut u32, buffer: ::windows_sys::core::PWSTR, packageproperties: *mut u32) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FormatApplicationUserModelId(packagefamilyname: ::windows_sys::core::PCWSTR, packagerelativeapplicationid: ::windows_sys::core::PCWSTR, applicationusermodelidlength: *mut u32, applicationusermodelid: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetApplicationUserModelId(hprocess: super::super::super::Foundation::HANDLE, applicationusermodelidlength: *mut u32, applicationusermodelid: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetApplicationUserModelIdFromToken(token: super::super::super::Foundation::HANDLE, applicationusermodelidlength: *mut u32, applicationusermodelid: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCurrentApplicationUserModelId(applicationusermodelidlength: *mut u32, applicationusermodelid: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCurrentPackageFamilyName(packagefamilynamelength: *mut u32, packagefamilyname: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCurrentPackageFullName(packagefullnamelength: *mut u32, packagefullname: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCurrentPackageId(bufferlength: *mut u32, buffer: *mut u8) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCurrentPackageInfo(flags: u32, bufferlength: *mut u32, buffer: *mut u8, count: *mut u32) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCurrentPackageInfo2(flags: u32, packagepathtype: PackagePathType, bufferlength: *mut u32, buffer: *mut u8, count: *mut u32) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCurrentPackagePath(pathlength: *mut u32, path: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCurrentPackagePath2(packagepathtype: PackagePathType, pathlength: *mut u32, path: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub fn GetCurrentPackageVirtualizationContext() -> *mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub fn GetIdForPackageDependencyContext(packagedependencycontext: *const PACKAGEDEPENDENCY_CONTEXT__, packagedependencyid: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPackageApplicationIds(packageinforeference: *const _PACKAGE_INFO_REFERENCE, bufferlength: *mut u32, buffer: *mut u8, count: *mut u32) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPackageFamilyName(hprocess: super::super::super::Foundation::HANDLE, packagefamilynamelength: *mut u32, packagefamilyname: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPackageFamilyNameFromToken(token: super::super::super::Foundation::HANDLE, packagefamilynamelength: *mut u32, packagefamilyname: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPackageFullName(hprocess: super::super::super::Foundation::HANDLE, packagefullnamelength: *mut u32, packagefullname: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPackageFullNameFromToken(token: super::super::super::Foundation::HANDLE, packagefullnamelength: *mut u32, packagefullname: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPackageId(hprocess: super::super::super::Foundation::HANDLE, bufferlength: *mut u32, buffer: *mut u8) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPackageInfo(packageinforeference: *const _PACKAGE_INFO_REFERENCE, flags: u32, bufferlength: *mut u32, buffer: *mut u8, count: *mut u32) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPackageInfo2(packageinforeference: *const _PACKAGE_INFO_REFERENCE, flags: u32, packagepathtype: PackagePathType, bufferlength: *mut u32, buffer: *mut u8, count: *mut u32) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPackagePath(packageid: *const PACKAGE_ID, reserved: u32, pathlength: *mut u32, path: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPackagePathByFullName(packagefullname: ::windows_sys::core::PCWSTR, pathlength: *mut u32, path: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPackagePathByFullName2(packagefullname: ::windows_sys::core::PCWSTR, packagepathtype: PackagePathType, pathlength: *mut u32, path: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPackagesByPackageFamily(packagefamilyname: ::windows_sys::core::PCWSTR, count: *mut u32, packagefullnames: *mut ::windows_sys::core::PWSTR, bufferlength: *mut u32, buffer: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProcessesInVirtualizationContext(packagefamilyname: ::windows_sys::core::PCWSTR, count: *mut u32, processes: *mut *mut super::super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub fn GetResolvedPackageFullNameForPackageDependency(packagedependencyid: ::windows_sys::core::PCWSTR, packagefullname: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetStagedPackageOrigin(packagefullname: ::windows_sys::core::PCWSTR, origin: *mut PackageOrigin) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetStagedPackagePathByFullName(packagefullname: ::windows_sys::core::PCWSTR, pathlength: *mut u32, path: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetStagedPackagePathByFullName2(packagefullname: ::windows_sys::core::PCWSTR, packagepathtype: PackagePathType, pathlength: *mut u32, path: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenPackageInfoByFullName(packagefullname: ::windows_sys::core::PCWSTR, reserved: u32, packageinforeference: *mut *mut _PACKAGE_INFO_REFERENCE) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenPackageInfoByFullNameForUser(usersid: super::super::super::Foundation::PSID, packagefullname: ::windows_sys::core::PCWSTR, reserved: u32, packageinforeference: *mut *mut _PACKAGE_INFO_REFERENCE) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PackageFamilyNameFromFullName(packagefullname: ::windows_sys::core::PCWSTR, packagefamilynamelength: *mut u32, packagefamilyname: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PackageFamilyNameFromId(packageid: *const PACKAGE_ID, packagefamilynamelength: *mut u32, packagefamilyname: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PackageFullNameFromId(packageid: *const PACKAGE_ID, packagefullnamelength: *mut u32, packagefullname: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PackageIdFromFullName(packagefullname: ::windows_sys::core::PCWSTR, flags: u32, bufferlength: *mut u32, buffer: *mut u8) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PackageNameAndPublisherIdFromFamilyName(packagefamilyname: ::windows_sys::core::PCWSTR, packagenamelength: *mut u32, packagename: ::windows_sys::core::PWSTR, packagepublisheridlength: *mut u32, packagepublisherid: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ParseApplicationUserModelId(applicationusermodelid: ::windows_sys::core::PCWSTR, packagefamilynamelength: *mut u32, packagefamilyname: ::windows_sys::core::PWSTR, packagerelativeapplicationidlength: *mut u32, packagerelativeapplicationid: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub fn ReleasePackageVirtualizationContext(context: *const PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub fn RemovePackageDependency(packagedependencycontext: *const PACKAGEDEPENDENCY_CONTEXT__) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TryCreatePackageDependency(user: super::super::super::Foundation::PSID, packagefamilyname: ::windows_sys::core::PCWSTR, minversion: PACKAGE_VERSION, packagedependencyprocessorarchitectures: PackageDependencyProcessorArchitectures, lifetimekind: PackageDependencyLifetimeKind, lifetimeartifact: ::windows_sys::core::PCWSTR, options: CreatePackageDependencyOptions, packagedependencyid: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VerifyApplicationUserModelId(applicationusermodelid: ::windows_sys::core::PCWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VerifyPackageFamilyName(packagefamilyname: ::windows_sys::core::PCWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VerifyPackageFullName(packagefullname: ::windows_sys::core::PCWSTR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VerifyPackageId(packageid: *const PACKAGE_ID) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VerifyPackageRelativeApplicationId(packagerelativeapplicationid: ::windows_sys::core::PCWSTR) -> super::super::super::Foundation::WIN32_ERROR; diff --git a/crates/libs/sys/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs index db3bbf7be7..71ff208c47 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs @@ -2,47 +2,101 @@ extern "system" { #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] pub fn PrjAllocateAlignedBuffer(namespacevirtualizationcontext: PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, size: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] pub fn PrjClearNegativePathCache(namespacevirtualizationcontext: PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, totalentrynumber: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] pub fn PrjCompleteCommand(namespacevirtualizationcontext: PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, commandid: i32, completionresult: ::windows_sys::core::HRESULT, extendedparameters: *const PRJ_COMPLETE_COMMAND_EXTENDED_PARAMETERS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] pub fn PrjDeleteFile(namespacevirtualizationcontext: PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, destinationfilename: ::windows_sys::core::PCWSTR, updateflags: PRJ_UPDATE_TYPES, failurereason: *mut PRJ_UPDATE_FAILURE_CAUSES) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrjDoesNameContainWildCards(filename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] pub fn PrjFileNameCompare(filename1: ::windows_sys::core::PCWSTR, filename2: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrjFileNameMatch(filenametocheck: ::windows_sys::core::PCWSTR, pattern: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrjFillDirEntryBuffer(filename: ::windows_sys::core::PCWSTR, filebasicinfo: *const PRJ_FILE_BASIC_INFO, direntrybufferhandle: PRJ_DIR_ENTRY_BUFFER_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrjFillDirEntryBuffer2(direntrybufferhandle: PRJ_DIR_ENTRY_BUFFER_HANDLE, filename: ::windows_sys::core::PCWSTR, filebasicinfo: *const PRJ_FILE_BASIC_INFO, extendedinfo: *const PRJ_EXTENDED_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] pub fn PrjFreeAlignedBuffer(buffer: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] pub fn PrjGetOnDiskFileState(destinationfilename: ::windows_sys::core::PCWSTR, filestate: *mut PRJ_FILE_STATE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] pub fn PrjGetVirtualizationInstanceInfo(namespacevirtualizationcontext: PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, virtualizationinstanceinfo: *mut PRJ_VIRTUALIZATION_INSTANCE_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] pub fn PrjMarkDirectoryAsPlaceholder(rootpathname: ::windows_sys::core::PCWSTR, targetpathname: ::windows_sys::core::PCWSTR, versioninfo: *const PRJ_PLACEHOLDER_VERSION_INFO, virtualizationinstanceid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrjStartVirtualizing(virtualizationrootpath: ::windows_sys::core::PCWSTR, callbacks: *const PRJ_CALLBACKS, instancecontext: *const ::core::ffi::c_void, options: *const PRJ_STARTVIRTUALIZING_OPTIONS, namespacevirtualizationcontext: *mut PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] pub fn PrjStopVirtualizing(namespacevirtualizationcontext: PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrjUpdateFileIfNeeded(namespacevirtualizationcontext: PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, destinationfilename: ::windows_sys::core::PCWSTR, placeholderinfo: *const PRJ_PLACEHOLDER_INFO, placeholderinfosize: u32, updateflags: PRJ_UPDATE_TYPES, failurereason: *mut PRJ_UPDATE_FAILURE_CAUSES) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] pub fn PrjWriteFileData(namespacevirtualizationcontext: PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, datastreamid: *const ::windows_sys::core::GUID, buffer: *const ::core::ffi::c_void, byteoffset: u64, length: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrjWritePlaceholderInfo(namespacevirtualizationcontext: PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, destinationfilename: ::windows_sys::core::PCWSTR, placeholderinfo: *const PRJ_PLACEHOLDER_INFO, placeholderinfosize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrjWritePlaceholderInfo2(namespacevirtualizationcontext: PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, destinationfilename: ::windows_sys::core::PCWSTR, placeholderinfo: *const PRJ_PLACEHOLDER_INFO, placeholderinfosize: u32, extendedinfo: *const PRJ_EXTENDED_INFO) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Storage/Vhd/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/Vhd/mod.rs index fbc66a6556..2de0f70a5f 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/Vhd/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/Vhd/mod.rs @@ -3,87 +3,171 @@ extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddVirtualDiskParent(virtualdiskhandle: super::super::Foundation::HANDLE, parentpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ApplySnapshotVhdSet(virtualdiskhandle: super::super::Foundation::HANDLE, parameters: *const APPLY_SNAPSHOT_VHDSET_PARAMETERS, flags: APPLY_SNAPSHOT_VHDSET_FLAG) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO"))] pub fn AttachVirtualDisk(virtualdiskhandle: super::super::Foundation::HANDLE, securitydescriptor: super::super::Security::PSECURITY_DESCRIPTOR, flags: ATTACH_VIRTUAL_DISK_FLAG, providerspecificflags: u32, parameters: *const ATTACH_VIRTUAL_DISK_PARAMETERS, overlapped: *const super::super::System::IO::OVERLAPPED) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BreakMirrorVirtualDisk(virtualdiskhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn CompactVirtualDisk(virtualdiskhandle: super::super::Foundation::HANDLE, flags: COMPACT_VIRTUAL_DISK_FLAG, parameters: *const COMPACT_VIRTUAL_DISK_PARAMETERS, overlapped: *const super::super::System::IO::OVERLAPPED) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CompleteForkVirtualDisk(virtualdiskhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO"))] pub fn CreateVirtualDisk(virtualstoragetype: *const VIRTUAL_STORAGE_TYPE, path: ::windows_sys::core::PCWSTR, virtualdiskaccessmask: VIRTUAL_DISK_ACCESS_MASK, securitydescriptor: super::super::Security::PSECURITY_DESCRIPTOR, flags: CREATE_VIRTUAL_DISK_FLAG, providerspecificflags: u32, parameters: *const CREATE_VIRTUAL_DISK_PARAMETERS, overlapped: *const super::super::System::IO::OVERLAPPED, handle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteSnapshotVhdSet(virtualdiskhandle: super::super::Foundation::HANDLE, parameters: *const DELETE_SNAPSHOT_VHDSET_PARAMETERS, flags: DELETE_SNAPSHOT_VHDSET_FLAG) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteVirtualDiskMetadata(virtualdiskhandle: super::super::Foundation::HANDLE, item: *const ::windows_sys::core::GUID) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DetachVirtualDisk(virtualdiskhandle: super::super::Foundation::HANDLE, flags: DETACH_VIRTUAL_DISK_FLAG, providerspecificflags: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumerateVirtualDiskMetadata(virtualdiskhandle: super::super::Foundation::HANDLE, numberofitems: *mut u32, items: *mut ::windows_sys::core::GUID) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn ExpandVirtualDisk(virtualdiskhandle: super::super::Foundation::HANDLE, flags: EXPAND_VIRTUAL_DISK_FLAG, parameters: *const EXPAND_VIRTUAL_DISK_PARAMETERS, overlapped: *const super::super::System::IO::OVERLAPPED) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn ForkVirtualDisk(virtualdiskhandle: super::super::Foundation::HANDLE, flags: FORK_VIRTUAL_DISK_FLAG, parameters: *const FORK_VIRTUAL_DISK_PARAMETERS, overlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetAllAttachedVirtualDiskPhysicalPaths(pathsbuffersizeinbytes: *mut u32, pathsbuffer: ::windows_sys::core::PWSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetStorageDependencyInformation(objecthandle: super::super::Foundation::HANDLE, flags: GET_STORAGE_DEPENDENCY_FLAG, storagedependencyinfosize: u32, storagedependencyinfo: *mut STORAGE_DEPENDENCY_INFO, sizeused: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetVirtualDiskInformation(virtualdiskhandle: super::super::Foundation::HANDLE, virtualdiskinfosize: *mut u32, virtualdiskinfo: *mut GET_VIRTUAL_DISK_INFO, sizeused: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetVirtualDiskMetadata(virtualdiskhandle: super::super::Foundation::HANDLE, item: *const ::windows_sys::core::GUID, metadatasize: *mut u32, metadata: *mut ::core::ffi::c_void) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn GetVirtualDiskOperationProgress(virtualdiskhandle: super::super::Foundation::HANDLE, overlapped: *const super::super::System::IO::OVERLAPPED, progress: *mut VIRTUAL_DISK_PROGRESS) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetVirtualDiskPhysicalPath(virtualdiskhandle: super::super::Foundation::HANDLE, diskpathsizeinbytes: *mut u32, diskpath: ::windows_sys::core::PWSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn MergeVirtualDisk(virtualdiskhandle: super::super::Foundation::HANDLE, flags: MERGE_VIRTUAL_DISK_FLAG, parameters: *const MERGE_VIRTUAL_DISK_PARAMETERS, overlapped: *const super::super::System::IO::OVERLAPPED) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn MirrorVirtualDisk(virtualdiskhandle: super::super::Foundation::HANDLE, flags: MIRROR_VIRTUAL_DISK_FLAG, parameters: *const MIRROR_VIRTUAL_DISK_PARAMETERS, overlapped: *const super::super::System::IO::OVERLAPPED) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ModifyVhdSet(virtualdiskhandle: super::super::Foundation::HANDLE, parameters: *const MODIFY_VHDSET_PARAMETERS, flags: MODIFY_VHDSET_FLAG) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenVirtualDisk(virtualstoragetype: *const VIRTUAL_STORAGE_TYPE, path: ::windows_sys::core::PCWSTR, virtualdiskaccessmask: VIRTUAL_DISK_ACCESS_MASK, flags: OPEN_VIRTUAL_DISK_FLAG, parameters: *const OPEN_VIRTUAL_DISK_PARAMETERS, handle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryChangesVirtualDisk(virtualdiskhandle: super::super::Foundation::HANDLE, changetrackingid: ::windows_sys::core::PCWSTR, byteoffset: u64, bytelength: u64, flags: QUERY_CHANGES_VIRTUAL_DISK_FLAG, ranges: *mut QUERY_CHANGES_VIRTUAL_DISK_RANGE, rangecount: *mut u32, processedlength: *mut u64) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RawSCSIVirtualDisk(virtualdiskhandle: super::super::Foundation::HANDLE, parameters: *const RAW_SCSI_VIRTUAL_DISK_PARAMETERS, flags: RAW_SCSI_VIRTUAL_DISK_FLAG, response: *mut RAW_SCSI_VIRTUAL_DISK_RESPONSE) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn ResizeVirtualDisk(virtualdiskhandle: super::super::Foundation::HANDLE, flags: RESIZE_VIRTUAL_DISK_FLAG, parameters: *const RESIZE_VIRTUAL_DISK_PARAMETERS, overlapped: *const super::super::System::IO::OVERLAPPED) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetVirtualDiskInformation(virtualdiskhandle: super::super::Foundation::HANDLE, virtualdiskinfo: *const SET_VIRTUAL_DISK_INFO) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetVirtualDiskMetadata(virtualdiskhandle: super::super::Foundation::HANDLE, item: *const ::windows_sys::core::GUID, metadatasize: u32, metadata: *const ::core::ffi::c_void) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TakeSnapshotVhdSet(virtualdiskhandle: super::super::Foundation::HANDLE, parameters: *const TAKE_SNAPSHOT_VHDSET_PARAMETERS, flags: TAKE_SNAPSHOT_VHDSET_FLAG) -> super::super::Foundation::WIN32_ERROR; diff --git a/crates/libs/sys/src/Windows/Win32/Storage/Xps/Printing/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/Xps/Printing/mod.rs index b37f27f5a7..2e4ed2df89 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/Xps/Printing/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/Xps/Printing/mod.rs @@ -3,6 +3,9 @@ extern "system" { #[doc = "*Required features: `\"Win32_Storage_Xps_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn StartXpsPrintJob(printername: ::windows_sys::core::PCWSTR, jobname: ::windows_sys::core::PCWSTR, outputfilename: ::windows_sys::core::PCWSTR, progressevent: super::super::super::Foundation::HANDLE, completionevent: super::super::super::Foundation::HANDLE, printablepageson: *const u8, printablepagesoncount: u32, xpsprintjob: *mut IXpsPrintJob, documentstream: *mut IXpsPrintJobStream, printticketstream: *mut IXpsPrintJobStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Xps_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StartXpsPrintJob1(printername: ::windows_sys::core::PCWSTR, jobname: ::windows_sys::core::PCWSTR, outputfilename: ::windows_sys::core::PCWSTR, progressevent: super::super::super::Foundation::HANDLE, completionevent: super::super::super::Foundation::HANDLE, xpsprintjob: *mut IXpsPrintJob, printcontentreceiver: *mut super::IXpsOMPackageTarget) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Storage/Xps/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/Xps/mod.rs index b614d5745b..18aac3d240 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/Xps/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/Xps/mod.rs @@ -5,36 +5,69 @@ extern "system" { #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn AbortDoc(hdc: super::super::Graphics::Gdi::HDC) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DeviceCapabilitiesA(pdevice: ::windows_sys::core::PCSTR, pport: ::windows_sys::core::PCSTR, fwcapability: DEVICE_CAPABILITIES, poutput: ::windows_sys::core::PSTR, pdevmode: *const super::super::Graphics::Gdi::DEVMODEA) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DeviceCapabilitiesW(pdevice: ::windows_sys::core::PCWSTR, pport: ::windows_sys::core::PCWSTR, fwcapability: DEVICE_CAPABILITIES, poutput: ::windows_sys::core::PWSTR, pdevmode: *const super::super::Graphics::Gdi::DEVMODEW) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn EndDoc(hdc: super::super::Graphics::Gdi::HDC) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn EndPage(hdc: super::super::Graphics::Gdi::HDC) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn Escape(hdc: super::super::Graphics::Gdi::HDC, iescape: i32, cjin: i32, pvin: ::windows_sys::core::PCSTR, pvout: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ExtEscape(hdc: super::super::Graphics::Gdi::HDC, iescape: i32, cjinput: i32, lpindata: ::windows_sys::core::PCSTR, cjoutput: i32, lpoutdata: ::windows_sys::core::PSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn PrintWindow(hwnd: super::super::Foundation::HWND, hdcblt: super::super::Graphics::Gdi::HDC, nflags: PRINT_WINDOW_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn SetAbortProc(hdc: super::super::Graphics::Gdi::HDC, proc: ABORTPROC) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn StartDocA(hdc: super::super::Graphics::Gdi::HDC, lpdi: *const DOCINFOA) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn StartDocW(hdc: super::super::Graphics::Gdi::HDC, lpdi: *const DOCINFOW) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn StartPage(hdc: super::super::Graphics::Gdi::HDC) -> i32; diff --git a/crates/libs/sys/src/Windows/Win32/System/AddressBook/mod.rs b/crates/libs/sys/src/Windows/Win32/System/AddressBook/mod.rs index 6545f73b24..be7f16212b 100644 --- a/crates/libs/sys/src/Windows/Win32/System/AddressBook/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/AddressBook/mod.rs @@ -3,151 +3,319 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn BuildDisplayTable(lpallocatebuffer: LPALLOCATEBUFFER, lpallocatemore: LPALLOCATEMORE, lpfreebuffer: LPFREEBUFFER, lpmalloc: super::Com::IMalloc, hinstance: super::super::Foundation::HINSTANCE, cpages: u32, lppage: *mut DTPAGE, ulflags: u32, lpptable: *mut IMAPITable, lpptbldata: *mut ITableData) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ChangeIdleRoutine(ftg: *mut ::core::ffi::c_void, lpfnidle: PFNIDLE, lpvidleparam: *mut ::core::ffi::c_void, priidle: i16, csecidle: u32, iroidle: u16, ircidle: u16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] pub fn CreateIProp(lpinterface: *mut ::windows_sys::core::GUID, lpallocatebuffer: LPALLOCATEBUFFER, lpallocatemore: LPALLOCATEMORE, lpfreebuffer: LPFREEBUFFER, lpvreserved: *mut ::core::ffi::c_void, lpppropdata: *mut IPropData) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] pub fn CreateTable(lpinterface: *mut ::windows_sys::core::GUID, lpallocatebuffer: LPALLOCATEBUFFER, lpallocatemore: LPALLOCATEMORE, lpfreebuffer: LPFREEBUFFER, lpvreserved: *mut ::core::ffi::c_void, ultabletype: u32, ulproptagindexcolumn: u32, lpsproptagarraycolumns: *mut SPropTagArray, lpptabledata: *mut ITableData) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] pub fn DeinitMapiUtil(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] pub fn DeregisterIdleRoutine(ftg: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnableIdleRoutine(ftg: *mut ::core::ffi::c_void, fenable: super::super::Foundation::BOOL); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FEqualNames(lpname1: *mut MAPINAMEID, lpname2: *mut MAPINAMEID) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn FPropCompareProp(lpspropvalue1: *mut SPropValue, ulrelop: u32, lpspropvalue2: *mut SPropValue) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn FPropContainsProp(lpspropvaluedst: *mut SPropValue, lpspropvaluesrc: *mut SPropValue, ulfuzzylevel: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FPropExists(lpmapiprop: IMAPIProp, ulproptag: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn FreePadrlist(lpadrlist: *mut ADRLIST); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn FreeProws(lprows: *mut SRowSet); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtAddFt(ftaddend1: super::super::Foundation::FILETIME, ftaddend2: super::super::Foundation::FILETIME) -> super::super::Foundation::FILETIME; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtMulDw(ftmultiplier: u32, ftmultiplicand: super::super::Foundation::FILETIME) -> super::super::Foundation::FILETIME; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtMulDwDw(ftmultiplicand: u32, ftmultiplier: u32) -> super::super::Foundation::FILETIME; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtNegFt(ft: super::super::Foundation::FILETIME) -> super::super::Foundation::FILETIME; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtSubFt(ftminuend: super::super::Foundation::FILETIME, ftsubtrahend: super::super::Foundation::FILETIME) -> super::super::Foundation::FILETIME; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FtgRegisterIdleRoutine(lpfnidle: PFNIDLE, lpvidleparam: *mut ::core::ffi::c_void, priidle: i16, csecidle: u32, iroidle: u16) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] pub fn HrAddColumns(lptbl: IMAPITable, lpproptagcolumnsnew: *mut SPropTagArray, lpallocatebuffer: LPALLOCATEBUFFER, lpfreebuffer: LPFREEBUFFER) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] pub fn HrAddColumnsEx(lptbl: IMAPITable, lpproptagcolumnsnew: *mut SPropTagArray, lpallocatebuffer: LPALLOCATEBUFFER, lpfreebuffer: LPFREEBUFFER, lpfnfiltercolumns: isize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn HrAllocAdviseSink(lpfncallback: LPNOTIFCALLBACK, lpvcontext: *mut ::core::ffi::c_void, lppadvisesink: *mut IMAPIAdviseSink) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] pub fn HrDispatchNotifications(ulflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn HrGetOneProp(lpmapiprop: IMAPIProp, ulproptag: u32, lppprop: *mut *mut SPropValue) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn HrIStorageFromStream(lpunkin: ::windows_sys::core::IUnknown, lpinterface: *mut ::windows_sys::core::GUID, ulflags: u32, lppstorageout: *mut super::Com::StructuredStorage::IStorage) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn HrQueryAllRows(lptable: IMAPITable, lpproptags: *mut SPropTagArray, lprestriction: *mut SRestriction, lpsortorderset: *mut SSortOrderSet, crowsmax: i32, lpprows: *mut *mut SRowSet) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn HrSetOneProp(lpmapiprop: IMAPIProp, lpprop: *mut SPropValue) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] pub fn HrThisThreadAdviseSink(lpadvisesink: IMAPIAdviseSink, lppadvisesink: *mut IMAPIAdviseSink) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn LPropCompareProp(lpspropvaluea: *mut SPropValue, lpspropvalueb: *mut SPropValue) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn LpValFindProp(ulproptag: u32, cvalues: u32, lpproparray: *mut SPropValue) -> *mut SPropValue; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] pub fn MAPIDeinitIdle(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn MAPIGetDefaultMalloc() -> super::Com::IMalloc; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] pub fn MAPIInitIdle(lpvreserved: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn OpenStreamOnFile(lpallocatebuffer: LPALLOCATEBUFFER, lpfreebuffer: LPFREEBUFFER, ulflags: u32, lpszfilename: *const i8, lpszprefix: *const i8, lppstream: *mut super::Com::IStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn PpropFindProp(lpproparray: *mut SPropValue, cvalues: u32, ulproptag: u32) -> *mut SPropValue; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn PropCopyMore(lpspropvaluedest: *mut SPropValue, lpspropvaluesrc: *mut SPropValue, lpfallocmore: LPALLOCATEMORE, lpvobject: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RTFSync(lpmessage: IMessage, ulflags: u32, lpfmessageupdated: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn ScCopyNotifications(cnotification: i32, lpnotifications: *mut NOTIFICATION, lpvdst: *mut ::core::ffi::c_void, lpcb: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn ScCopyProps(cvalues: i32, lpproparray: *mut SPropValue, lpvdst: *mut ::core::ffi::c_void, lpcb: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn ScCountNotifications(cnotifications: i32, lpnotifications: *mut NOTIFICATION, lpcb: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn ScCountProps(cvalues: i32, lpproparray: *mut SPropValue, lpcb: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] pub fn ScCreateConversationIndex(cbparent: u32, lpbparent: *mut u8, lpcbconvindex: *mut u32, lppbconvindex: *mut *mut u8) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn ScDupPropset(cvalues: i32, lpproparray: *mut SPropValue, lpallocatebuffer: LPALLOCATEBUFFER, lppproparray: *mut *mut SPropValue) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] pub fn ScInitMapiUtil(ulflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] pub fn ScLocalPathFromUNC(lpszunc: ::windows_sys::core::PCSTR, lpszlocal: ::windows_sys::core::PCSTR, cchlocal: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn ScRelocNotifications(cnotification: i32, lpnotifications: *mut NOTIFICATION, lpvbaseold: *mut ::core::ffi::c_void, lpvbasenew: *mut ::core::ffi::c_void, lpcb: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn ScRelocProps(cvalues: i32, lpproparray: *mut SPropValue, lpvbaseold: *mut ::core::ffi::c_void, lpvbasenew: *mut ::core::ffi::c_void, lpcb: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] pub fn ScUNCFromLocalPath(lpszlocal: ::windows_sys::core::PCSTR, lpszunc: ::windows_sys::core::PCSTR, cchunc: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] pub fn SzFindCh(lpsz: *mut i8, ch: u16) -> *mut i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] pub fn SzFindLastCh(lpsz: *mut i8, ch: u16) -> *mut i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] pub fn SzFindSz(lpsz: *mut i8, lpszkey: *mut i8) -> *mut i8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] pub fn UFromSz(lpsz: *mut i8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] pub fn UlAddRef(lpunk: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn UlPropSize(lpspropvalue: *mut SPropValue) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] pub fn UlRelease(lpunk: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn WrapCompressedRTFStream(lpcompressedrtfstream: super::Com::IStream, ulflags: u32, lpuncompressedrtfstream: *mut super::Com::IStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] pub fn WrapStoreEntryID(ulflags: u32, lpszdllname: *const i8, cborigentry: u32, lporigentry: *const ENTRYID, lpcbwrappedentry: *mut u32, lppwrappedentry: *mut *mut ENTRYID) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/System/Antimalware/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Antimalware/mod.rs index 020e66dcc0..8a773feb60 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Antimalware/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Antimalware/mod.rs @@ -2,18 +2,39 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Antimalware\"`*"] pub fn AmsiCloseSession(amsicontext: HAMSICONTEXT, amsisession: HAMSISESSION); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Antimalware\"`*"] pub fn AmsiInitialize(appname: ::windows_sys::core::PCWSTR, amsicontext: *mut HAMSICONTEXT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Antimalware\"`*"] pub fn AmsiNotifyOperation(amsicontext: HAMSICONTEXT, buffer: *const ::core::ffi::c_void, length: u32, contentname: ::windows_sys::core::PCWSTR, result: *mut AMSI_RESULT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Antimalware\"`*"] pub fn AmsiOpenSession(amsicontext: HAMSICONTEXT, amsisession: *mut HAMSISESSION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Antimalware\"`*"] pub fn AmsiScanBuffer(amsicontext: HAMSICONTEXT, buffer: *const ::core::ffi::c_void, length: u32, contentname: ::windows_sys::core::PCWSTR, amsisession: HAMSISESSION, result: *mut AMSI_RESULT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Antimalware\"`*"] pub fn AmsiScanString(amsicontext: HAMSICONTEXT, string: ::windows_sys::core::PCWSTR, contentname: ::windows_sys::core::PCWSTR, amsisession: HAMSISESSION, result: *mut AMSI_RESULT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Antimalware\"`*"] pub fn AmsiUninitialize(amsicontext: HAMSICONTEXT); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Antimalware\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InstallELAMCertificateInfo(elamfile: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs b/crates/libs/sys/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs index 1d97c1f46a..87aae6b43b 100644 --- a/crates/libs/sys/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs @@ -3,721 +3,1684 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ActivateActCtx(hactctx: super::super::Foundation::HANDLE, lpcookie: *mut usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddRefActCtx(hactctx: super::super::Foundation::HANDLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ApplyDeltaA(applyflags: i64, lpsourcename: ::windows_sys::core::PCSTR, lpdeltaname: ::windows_sys::core::PCSTR, lptargetname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ApplyDeltaB(applyflags: i64, source: DELTA_INPUT, delta: DELTA_INPUT, lptarget: *mut DELTA_OUTPUT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ApplyDeltaGetReverseB(applyflags: i64, source: DELTA_INPUT, delta: DELTA_INPUT, lpreversefiletime: *const super::super::Foundation::FILETIME, lptarget: *mut DELTA_OUTPUT, lptargetreverse: *mut DELTA_OUTPUT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ApplyDeltaProvidedB(applyflags: i64, source: DELTA_INPUT, delta: DELTA_INPUT, lptarget: *mut ::core::ffi::c_void, utargetsize: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ApplyDeltaW(applyflags: i64, lpsourcename: ::windows_sys::core::PCWSTR, lpdeltaname: ::windows_sys::core::PCWSTR, lptargetname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ApplyPatchToFileA(patchfilename: ::windows_sys::core::PCSTR, oldfilename: ::windows_sys::core::PCSTR, newfilename: ::windows_sys::core::PCSTR, applyoptionflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ApplyPatchToFileByBuffers(patchfilemapped: *const u8, patchfilesize: u32, oldfilemapped: *const u8, oldfilesize: u32, newfilebuffer: *mut *mut u8, newfilebuffersize: u32, newfileactualsize: *mut u32, newfiletime: *mut super::super::Foundation::FILETIME, applyoptionflags: u32, progresscallback: PPATCH_PROGRESS_CALLBACK, callbackcontext: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ApplyPatchToFileByHandles(patchfilehandle: super::super::Foundation::HANDLE, oldfilehandle: super::super::Foundation::HANDLE, newfilehandle: super::super::Foundation::HANDLE, applyoptionflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ApplyPatchToFileByHandlesEx(patchfilehandle: super::super::Foundation::HANDLE, oldfilehandle: super::super::Foundation::HANDLE, newfilehandle: super::super::Foundation::HANDLE, applyoptionflags: u32, progresscallback: PPATCH_PROGRESS_CALLBACK, callbackcontext: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ApplyPatchToFileExA(patchfilename: ::windows_sys::core::PCSTR, oldfilename: ::windows_sys::core::PCSTR, newfilename: ::windows_sys::core::PCSTR, applyoptionflags: u32, progresscallback: PPATCH_PROGRESS_CALLBACK, callbackcontext: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ApplyPatchToFileExW(patchfilename: ::windows_sys::core::PCWSTR, oldfilename: ::windows_sys::core::PCWSTR, newfilename: ::windows_sys::core::PCWSTR, applyoptionflags: u32, progresscallback: PPATCH_PROGRESS_CALLBACK, callbackcontext: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ApplyPatchToFileW(patchfilename: ::windows_sys::core::PCWSTR, oldfilename: ::windows_sys::core::PCWSTR, newfilename: ::windows_sys::core::PCWSTR, applyoptionflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateActCtxA(pactctx: *const ACTCTXA) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateActCtxW(pactctx: *const ACTCTXW) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateDeltaA(filetypeset: i64, setflags: i64, resetflags: i64, lpsourcename: ::windows_sys::core::PCSTR, lptargetname: ::windows_sys::core::PCSTR, lpsourceoptionsname: ::windows_sys::core::PCSTR, lptargetoptionsname: ::windows_sys::core::PCSTR, globaloptions: DELTA_INPUT, lptargetfiletime: *const super::super::Foundation::FILETIME, hashalgid: u32, lpdeltaname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateDeltaB(filetypeset: i64, setflags: i64, resetflags: i64, source: DELTA_INPUT, target: DELTA_INPUT, sourceoptions: DELTA_INPUT, targetoptions: DELTA_INPUT, globaloptions: DELTA_INPUT, lptargetfiletime: *const super::super::Foundation::FILETIME, hashalgid: u32, lpdelta: *mut DELTA_OUTPUT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateDeltaW(filetypeset: i64, setflags: i64, resetflags: i64, lpsourcename: ::windows_sys::core::PCWSTR, lptargetname: ::windows_sys::core::PCWSTR, lpsourceoptionsname: ::windows_sys::core::PCWSTR, lptargetoptionsname: ::windows_sys::core::PCWSTR, globaloptions: DELTA_INPUT, lptargetfiletime: *const super::super::Foundation::FILETIME, hashalgid: u32, lpdeltaname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreatePatchFileA(oldfilename: ::windows_sys::core::PCSTR, newfilename: ::windows_sys::core::PCSTR, patchfilename: ::windows_sys::core::PCSTR, optionflags: u32, optiondata: *const PATCH_OPTION_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreatePatchFileByHandles(oldfilehandle: super::super::Foundation::HANDLE, newfilehandle: super::super::Foundation::HANDLE, patchfilehandle: super::super::Foundation::HANDLE, optionflags: u32, optiondata: *const PATCH_OPTION_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreatePatchFileByHandlesEx(oldfilecount: u32, oldfileinfoarray: *const PATCH_OLD_FILE_INFO_H, newfilehandle: super::super::Foundation::HANDLE, patchfilehandle: super::super::Foundation::HANDLE, optionflags: u32, optiondata: *const PATCH_OPTION_DATA, progresscallback: PPATCH_PROGRESS_CALLBACK, callbackcontext: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreatePatchFileExA(oldfilecount: u32, oldfileinfoarray: *const PATCH_OLD_FILE_INFO_A, newfilename: ::windows_sys::core::PCSTR, patchfilename: ::windows_sys::core::PCSTR, optionflags: u32, optiondata: *const PATCH_OPTION_DATA, progresscallback: PPATCH_PROGRESS_CALLBACK, callbackcontext: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreatePatchFileExW(oldfilecount: u32, oldfileinfoarray: *const PATCH_OLD_FILE_INFO_W, newfilename: ::windows_sys::core::PCWSTR, patchfilename: ::windows_sys::core::PCWSTR, optionflags: u32, optiondata: *const PATCH_OPTION_DATA, progresscallback: PPATCH_PROGRESS_CALLBACK, callbackcontext: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreatePatchFileW(oldfilename: ::windows_sys::core::PCWSTR, newfilename: ::windows_sys::core::PCWSTR, patchfilename: ::windows_sys::core::PCWSTR, optionflags: u32, optiondata: *const PATCH_OPTION_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeactivateActCtx(dwflags: u32, ulcookie: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeltaFree(lpmemory: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeltaNormalizeProvidedB(filetypeset: i64, normalizeflags: i64, normalizeoptions: DELTA_INPUT, lpsource: *mut ::core::ffi::c_void, usourcesize: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ExtractPatchHeaderToFileA(patchfilename: ::windows_sys::core::PCSTR, patchheaderfilename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ExtractPatchHeaderToFileByHandles(patchfilehandle: super::super::Foundation::HANDLE, patchheaderfilehandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ExtractPatchHeaderToFileW(patchfilename: ::windows_sys::core::PCWSTR, patchheaderfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] pub fn FindActCtxSectionGuid(dwflags: u32, lpextensionguid: *const ::windows_sys::core::GUID, ulsectionid: u32, lpguidtofind: *const ::windows_sys::core::GUID, returneddata: *mut ACTCTX_SECTION_KEYED_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] pub fn FindActCtxSectionStringA(dwflags: u32, lpextensionguid: *const ::windows_sys::core::GUID, ulsectionid: u32, lpstringtofind: ::windows_sys::core::PCSTR, returneddata: *mut ACTCTX_SECTION_KEYED_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] pub fn FindActCtxSectionStringW(dwflags: u32, lpextensionguid: *const ::windows_sys::core::GUID, ulsectionid: u32, lpstringtofind: ::windows_sys::core::PCWSTR, returneddata: *mut ACTCTX_SECTION_KEYED_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCurrentActCtx(lphactctx: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDeltaInfoA(lpdeltaname: ::windows_sys::core::PCSTR, lpheaderinfo: *mut DELTA_HEADER_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDeltaInfoB(delta: DELTA_INPUT, lpheaderinfo: *mut DELTA_HEADER_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDeltaInfoW(lpdeltaname: ::windows_sys::core::PCWSTR, lpheaderinfo: *mut DELTA_HEADER_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDeltaSignatureA(filetypeset: i64, hashalgid: u32, lpsourcename: ::windows_sys::core::PCSTR, lphash: *mut DELTA_HASH) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDeltaSignatureB(filetypeset: i64, hashalgid: u32, source: DELTA_INPUT, lphash: *mut DELTA_HASH) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDeltaSignatureW(filetypeset: i64, hashalgid: u32, lpsourcename: ::windows_sys::core::PCWSTR, lphash: *mut DELTA_HASH) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFilePatchSignatureA(filename: ::windows_sys::core::PCSTR, optionflags: u32, optiondata: *const ::core::ffi::c_void, ignorerangecount: u32, ignorerangearray: *const PATCH_IGNORE_RANGE, retainrangecount: u32, retainrangearray: *const PATCH_RETAIN_RANGE, signaturebuffersize: u32, signaturebuffer: ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFilePatchSignatureByBuffer(filebufferwritable: *mut u8, filesize: u32, optionflags: u32, optiondata: *const ::core::ffi::c_void, ignorerangecount: u32, ignorerangearray: *const PATCH_IGNORE_RANGE, retainrangecount: u32, retainrangearray: *const PATCH_RETAIN_RANGE, signaturebuffersize: u32, signaturebuffer: ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFilePatchSignatureByHandle(filehandle: super::super::Foundation::HANDLE, optionflags: u32, optiondata: *const ::core::ffi::c_void, ignorerangecount: u32, ignorerangearray: *const PATCH_IGNORE_RANGE, retainrangecount: u32, retainrangearray: *const PATCH_RETAIN_RANGE, signaturebuffersize: u32, signaturebuffer: ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFilePatchSignatureW(filename: ::windows_sys::core::PCWSTR, optionflags: u32, optiondata: *const ::core::ffi::c_void, ignorerangecount: u32, ignorerangearray: *const PATCH_IGNORE_RANGE, retainrangecount: u32, retainrangearray: *const PATCH_RETAIN_RANGE, signaturebuffersize: u32, signaturebuffer: ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiAdvertiseProductA(szpackagepath: ::windows_sys::core::PCSTR, szscriptfilepath: ::windows_sys::core::PCSTR, sztransforms: ::windows_sys::core::PCSTR, lgidlanguage: u16) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiAdvertiseProductExA(szpackagepath: ::windows_sys::core::PCSTR, szscriptfilepath: ::windows_sys::core::PCSTR, sztransforms: ::windows_sys::core::PCSTR, lgidlanguage: u16, dwplatform: u32, dwoptions: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiAdvertiseProductExW(szpackagepath: ::windows_sys::core::PCWSTR, szscriptfilepath: ::windows_sys::core::PCWSTR, sztransforms: ::windows_sys::core::PCWSTR, lgidlanguage: u16, dwplatform: u32, dwoptions: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiAdvertiseProductW(szpackagepath: ::windows_sys::core::PCWSTR, szscriptfilepath: ::windows_sys::core::PCWSTR, sztransforms: ::windows_sys::core::PCWSTR, lgidlanguage: u16) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn MsiAdvertiseScriptA(szscriptfile: ::windows_sys::core::PCSTR, dwflags: u32, phregdata: *const super::Registry::HKEY, fremoveitems: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn MsiAdvertiseScriptW(szscriptfile: ::windows_sys::core::PCWSTR, dwflags: u32, phregdata: *const super::Registry::HKEY, fremoveitems: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiApplyMultiplePatchesA(szpatchpackages: ::windows_sys::core::PCSTR, szproductcode: ::windows_sys::core::PCSTR, szpropertieslist: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiApplyMultiplePatchesW(szpatchpackages: ::windows_sys::core::PCWSTR, szproductcode: ::windows_sys::core::PCWSTR, szpropertieslist: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiApplyPatchA(szpatchpackage: ::windows_sys::core::PCSTR, szinstallpackage: ::windows_sys::core::PCSTR, einstalltype: INSTALLTYPE, szcommandline: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiApplyPatchW(szpatchpackage: ::windows_sys::core::PCWSTR, szinstallpackage: ::windows_sys::core::PCWSTR, einstalltype: INSTALLTYPE, szcommandline: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MsiBeginTransactionA(szname: ::windows_sys::core::PCSTR, dwtransactionattributes: u32, phtransactionhandle: *mut MSIHANDLE, phchangeofownerevent: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MsiBeginTransactionW(szname: ::windows_sys::core::PCWSTR, dwtransactionattributes: u32, phtransactionhandle: *mut MSIHANDLE, phchangeofownerevent: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiCloseAllHandles() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiCloseHandle(hany: MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiCollectUserInfoA(szproduct: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiCollectUserInfoW(szproduct: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiConfigureFeatureA(szproduct: ::windows_sys::core::PCSTR, szfeature: ::windows_sys::core::PCSTR, einstallstate: INSTALLSTATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiConfigureFeatureW(szproduct: ::windows_sys::core::PCWSTR, szfeature: ::windows_sys::core::PCWSTR, einstallstate: INSTALLSTATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiConfigureProductA(szproduct: ::windows_sys::core::PCSTR, iinstalllevel: INSTALLLEVEL, einstallstate: INSTALLSTATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiConfigureProductExA(szproduct: ::windows_sys::core::PCSTR, iinstalllevel: INSTALLLEVEL, einstallstate: INSTALLSTATE, szcommandline: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiConfigureProductExW(szproduct: ::windows_sys::core::PCWSTR, iinstalllevel: INSTALLLEVEL, einstallstate: INSTALLSTATE, szcommandline: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiConfigureProductW(szproduct: ::windows_sys::core::PCWSTR, iinstalllevel: INSTALLLEVEL, einstallstate: INSTALLSTATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiCreateRecord(cparams: u32) -> MSIHANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiCreateTransformSummaryInfoA(hdatabase: MSIHANDLE, hdatabasereference: MSIHANDLE, sztransformfile: ::windows_sys::core::PCSTR, ierrorconditions: MSITRANSFORM_ERROR, ivalidation: MSITRANSFORM_VALIDATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiCreateTransformSummaryInfoW(hdatabase: MSIHANDLE, hdatabasereference: MSIHANDLE, sztransformfile: ::windows_sys::core::PCWSTR, ierrorconditions: MSITRANSFORM_ERROR, ivalidation: MSITRANSFORM_VALIDATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDatabaseApplyTransformA(hdatabase: MSIHANDLE, sztransformfile: ::windows_sys::core::PCSTR, ierrorconditions: MSITRANSFORM_ERROR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDatabaseApplyTransformW(hdatabase: MSIHANDLE, sztransformfile: ::windows_sys::core::PCWSTR, ierrorconditions: MSITRANSFORM_ERROR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDatabaseCommit(hdatabase: MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDatabaseExportA(hdatabase: MSIHANDLE, sztablename: ::windows_sys::core::PCSTR, szfolderpath: ::windows_sys::core::PCSTR, szfilename: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDatabaseExportW(hdatabase: MSIHANDLE, sztablename: ::windows_sys::core::PCWSTR, szfolderpath: ::windows_sys::core::PCWSTR, szfilename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDatabaseGenerateTransformA(hdatabase: MSIHANDLE, hdatabasereference: MSIHANDLE, sztransformfile: ::windows_sys::core::PCSTR, ireserved1: i32, ireserved2: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDatabaseGenerateTransformW(hdatabase: MSIHANDLE, hdatabasereference: MSIHANDLE, sztransformfile: ::windows_sys::core::PCWSTR, ireserved1: i32, ireserved2: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDatabaseGetPrimaryKeysA(hdatabase: MSIHANDLE, sztablename: ::windows_sys::core::PCSTR, phrecord: *mut MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDatabaseGetPrimaryKeysW(hdatabase: MSIHANDLE, sztablename: ::windows_sys::core::PCWSTR, phrecord: *mut MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDatabaseImportA(hdatabase: MSIHANDLE, szfolderpath: ::windows_sys::core::PCSTR, szfilename: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDatabaseImportW(hdatabase: MSIHANDLE, szfolderpath: ::windows_sys::core::PCWSTR, szfilename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDatabaseIsTablePersistentA(hdatabase: MSIHANDLE, sztablename: ::windows_sys::core::PCSTR) -> MSICONDITION; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDatabaseIsTablePersistentW(hdatabase: MSIHANDLE, sztablename: ::windows_sys::core::PCWSTR) -> MSICONDITION; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDatabaseMergeA(hdatabase: MSIHANDLE, hdatabasemerge: MSIHANDLE, sztablename: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDatabaseMergeW(hdatabase: MSIHANDLE, hdatabasemerge: MSIHANDLE, sztablename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDatabaseOpenViewA(hdatabase: MSIHANDLE, szquery: ::windows_sys::core::PCSTR, phview: *mut MSIHANDLE) -> u32; - #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDatabaseOpenViewW(hdatabase: MSIHANDLE, szquery: ::windows_sys::core::PCWSTR, phview: *mut MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDetermineApplicablePatchesA(szproductpackagepath: ::windows_sys::core::PCSTR, cpatchinfo: u32, ppatchinfo: *mut MSIPATCHSEQUENCEINFOA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDetermineApplicablePatchesW(szproductpackagepath: ::windows_sys::core::PCWSTR, cpatchinfo: u32, ppatchinfo: *mut MSIPATCHSEQUENCEINFOW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDeterminePatchSequenceA(szproductcode: ::windows_sys::core::PCSTR, szusersid: ::windows_sys::core::PCSTR, dwcontext: MSIINSTALLCONTEXT, cpatchinfo: u32, ppatchinfo: *mut MSIPATCHSEQUENCEINFOA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDeterminePatchSequenceW(szproductcode: ::windows_sys::core::PCWSTR, szusersid: ::windows_sys::core::PCWSTR, dwcontext: MSIINSTALLCONTEXT, cpatchinfo: u32, ppatchinfo: *mut MSIPATCHSEQUENCEINFOW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDoActionA(hinstall: MSIHANDLE, szaction: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiDoActionW(hinstall: MSIHANDLE, szaction: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnableLogA(dwlogmode: INSTALLOGMODE, szlogfile: ::windows_sys::core::PCSTR, dwlogattributes: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnableLogW(dwlogmode: INSTALLOGMODE, szlogfile: ::windows_sys::core::PCWSTR, dwlogattributes: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnableUIPreview(hdatabase: MSIHANDLE, phpreview: *mut MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEndTransaction(dwtransactionstate: MSITRANSACTIONSTATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumClientsA(szcomponent: ::windows_sys::core::PCSTR, iproductindex: u32, lpproductbuf: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumClientsExA(szcomponent: ::windows_sys::core::PCSTR, szusersid: ::windows_sys::core::PCSTR, dwcontext: MSIINSTALLCONTEXT, dwproductindex: u32, szproductbuf: ::windows_sys::core::PSTR, pdwinstalledcontext: *mut MSIINSTALLCONTEXT, szsid: ::windows_sys::core::PSTR, pcchsid: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumClientsExW(szcomponent: ::windows_sys::core::PCWSTR, szusersid: ::windows_sys::core::PCWSTR, dwcontext: MSIINSTALLCONTEXT, dwproductindex: u32, szproductbuf: ::windows_sys::core::PWSTR, pdwinstalledcontext: *mut MSIINSTALLCONTEXT, szsid: ::windows_sys::core::PWSTR, pcchsid: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumClientsW(szcomponent: ::windows_sys::core::PCWSTR, iproductindex: u32, lpproductbuf: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumComponentCostsA(hinstall: MSIHANDLE, szcomponent: ::windows_sys::core::PCSTR, dwindex: u32, istate: INSTALLSTATE, szdrivebuf: ::windows_sys::core::PSTR, pcchdrivebuf: *mut u32, picost: *mut i32, pitempcost: *mut i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumComponentCostsW(hinstall: MSIHANDLE, szcomponent: ::windows_sys::core::PCWSTR, dwindex: u32, istate: INSTALLSTATE, szdrivebuf: ::windows_sys::core::PWSTR, pcchdrivebuf: *mut u32, picost: *mut i32, pitempcost: *mut i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumComponentQualifiersA(szcomponent: ::windows_sys::core::PCSTR, iindex: u32, lpqualifierbuf: ::windows_sys::core::PSTR, pcchqualifierbuf: *mut u32, lpapplicationdatabuf: ::windows_sys::core::PSTR, pcchapplicationdatabuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumComponentQualifiersW(szcomponent: ::windows_sys::core::PCWSTR, iindex: u32, lpqualifierbuf: ::windows_sys::core::PWSTR, pcchqualifierbuf: *mut u32, lpapplicationdatabuf: ::windows_sys::core::PWSTR, pcchapplicationdatabuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumComponentsA(icomponentindex: u32, lpcomponentbuf: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumComponentsExA(szusersid: ::windows_sys::core::PCSTR, dwcontext: u32, dwindex: u32, szinstalledcomponentcode: ::windows_sys::core::PSTR, pdwinstalledcontext: *mut MSIINSTALLCONTEXT, szsid: ::windows_sys::core::PSTR, pcchsid: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumComponentsExW(szusersid: ::windows_sys::core::PCWSTR, dwcontext: u32, dwindex: u32, szinstalledcomponentcode: ::windows_sys::core::PWSTR, pdwinstalledcontext: *mut MSIINSTALLCONTEXT, szsid: ::windows_sys::core::PWSTR, pcchsid: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumComponentsW(icomponentindex: u32, lpcomponentbuf: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumFeaturesA(szproduct: ::windows_sys::core::PCSTR, ifeatureindex: u32, lpfeaturebuf: ::windows_sys::core::PSTR, lpparentbuf: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumFeaturesW(szproduct: ::windows_sys::core::PCWSTR, ifeatureindex: u32, lpfeaturebuf: ::windows_sys::core::PWSTR, lpparentbuf: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumPatchesA(szproduct: ::windows_sys::core::PCSTR, ipatchindex: u32, lppatchbuf: ::windows_sys::core::PSTR, lptransformsbuf: ::windows_sys::core::PSTR, pcchtransformsbuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumPatchesExA(szproductcode: ::windows_sys::core::PCSTR, szusersid: ::windows_sys::core::PCSTR, dwcontext: u32, dwfilter: u32, dwindex: u32, szpatchcode: ::windows_sys::core::PSTR, sztargetproductcode: ::windows_sys::core::PSTR, pdwtargetproductcontext: *mut MSIINSTALLCONTEXT, sztargetusersid: ::windows_sys::core::PSTR, pcchtargetusersid: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumPatchesExW(szproductcode: ::windows_sys::core::PCWSTR, szusersid: ::windows_sys::core::PCWSTR, dwcontext: u32, dwfilter: u32, dwindex: u32, szpatchcode: ::windows_sys::core::PWSTR, sztargetproductcode: ::windows_sys::core::PWSTR, pdwtargetproductcontext: *mut MSIINSTALLCONTEXT, sztargetusersid: ::windows_sys::core::PWSTR, pcchtargetusersid: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumPatchesW(szproduct: ::windows_sys::core::PCWSTR, ipatchindex: u32, lppatchbuf: ::windows_sys::core::PWSTR, lptransformsbuf: ::windows_sys::core::PWSTR, pcchtransformsbuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumProductsA(iproductindex: u32, lpproductbuf: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumProductsExA(szproductcode: ::windows_sys::core::PCSTR, szusersid: ::windows_sys::core::PCSTR, dwcontext: u32, dwindex: u32, szinstalledproductcode: ::windows_sys::core::PSTR, pdwinstalledcontext: *mut MSIINSTALLCONTEXT, szsid: ::windows_sys::core::PSTR, pcchsid: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumProductsExW(szproductcode: ::windows_sys::core::PCWSTR, szusersid: ::windows_sys::core::PCWSTR, dwcontext: u32, dwindex: u32, szinstalledproductcode: ::windows_sys::core::PWSTR, pdwinstalledcontext: *mut MSIINSTALLCONTEXT, szsid: ::windows_sys::core::PWSTR, pcchsid: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumProductsW(iproductindex: u32, lpproductbuf: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumRelatedProductsA(lpupgradecode: ::windows_sys::core::PCSTR, dwreserved: u32, iproductindex: u32, lpproductbuf: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEnumRelatedProductsW(lpupgradecode: ::windows_sys::core::PCWSTR, dwreserved: u32, iproductindex: u32, lpproductbuf: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEvaluateConditionA(hinstall: MSIHANDLE, szcondition: ::windows_sys::core::PCSTR) -> MSICONDITION; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiEvaluateConditionW(hinstall: MSIHANDLE, szcondition: ::windows_sys::core::PCWSTR) -> MSICONDITION; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiExtractPatchXMLDataA(szpatchpath: ::windows_sys::core::PCSTR, dwreserved: u32, szxmldata: ::windows_sys::core::PSTR, pcchxmldata: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiExtractPatchXMLDataW(szpatchpath: ::windows_sys::core::PCWSTR, dwreserved: u32, szxmldata: ::windows_sys::core::PWSTR, pcchxmldata: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiFormatRecordA(hinstall: MSIHANDLE, hrecord: MSIHANDLE, szresultbuf: ::windows_sys::core::PSTR, pcchresultbuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiFormatRecordW(hinstall: MSIHANDLE, hrecord: MSIHANDLE, szresultbuf: ::windows_sys::core::PWSTR, pcchresultbuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetActiveDatabase(hinstall: MSIHANDLE) -> MSIHANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetComponentPathA(szproduct: ::windows_sys::core::PCSTR, szcomponent: ::windows_sys::core::PCSTR, lppathbuf: ::windows_sys::core::PSTR, pcchbuf: *mut u32) -> INSTALLSTATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetComponentPathExA(szproductcode: ::windows_sys::core::PCSTR, szcomponentcode: ::windows_sys::core::PCSTR, szusersid: ::windows_sys::core::PCSTR, dwcontext: MSIINSTALLCONTEXT, lpoutpathbuffer: ::windows_sys::core::PSTR, pcchoutpathbuffer: *mut u32) -> INSTALLSTATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetComponentPathExW(szproductcode: ::windows_sys::core::PCWSTR, szcomponentcode: ::windows_sys::core::PCWSTR, szusersid: ::windows_sys::core::PCWSTR, dwcontext: MSIINSTALLCONTEXT, lpoutpathbuffer: ::windows_sys::core::PWSTR, pcchoutpathbuffer: *mut u32) -> INSTALLSTATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetComponentPathW(szproduct: ::windows_sys::core::PCWSTR, szcomponent: ::windows_sys::core::PCWSTR, lppathbuf: ::windows_sys::core::PWSTR, pcchbuf: *mut u32) -> INSTALLSTATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetComponentStateA(hinstall: MSIHANDLE, szcomponent: ::windows_sys::core::PCSTR, piinstalled: *mut INSTALLSTATE, piaction: *mut INSTALLSTATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetComponentStateW(hinstall: MSIHANDLE, szcomponent: ::windows_sys::core::PCWSTR, piinstalled: *mut INSTALLSTATE, piaction: *mut INSTALLSTATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetDatabaseState(hdatabase: MSIHANDLE) -> MSIDBSTATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetFeatureCostA(hinstall: MSIHANDLE, szfeature: ::windows_sys::core::PCSTR, icosttree: MSICOSTTREE, istate: INSTALLSTATE, picost: *mut i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetFeatureCostW(hinstall: MSIHANDLE, szfeature: ::windows_sys::core::PCWSTR, icosttree: MSICOSTTREE, istate: INSTALLSTATE, picost: *mut i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetFeatureInfoA(hproduct: MSIHANDLE, szfeature: ::windows_sys::core::PCSTR, lpattributes: *mut u32, lptitlebuf: ::windows_sys::core::PSTR, pcchtitlebuf: *mut u32, lphelpbuf: ::windows_sys::core::PSTR, pcchhelpbuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetFeatureInfoW(hproduct: MSIHANDLE, szfeature: ::windows_sys::core::PCWSTR, lpattributes: *mut u32, lptitlebuf: ::windows_sys::core::PWSTR, pcchtitlebuf: *mut u32, lphelpbuf: ::windows_sys::core::PWSTR, pcchhelpbuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetFeatureStateA(hinstall: MSIHANDLE, szfeature: ::windows_sys::core::PCSTR, piinstalled: *mut INSTALLSTATE, piaction: *mut INSTALLSTATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetFeatureStateW(hinstall: MSIHANDLE, szfeature: ::windows_sys::core::PCWSTR, piinstalled: *mut INSTALLSTATE, piaction: *mut INSTALLSTATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetFeatureUsageA(szproduct: ::windows_sys::core::PCSTR, szfeature: ::windows_sys::core::PCSTR, pdwusecount: *mut u32, pwdateused: *mut u16) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetFeatureUsageW(szproduct: ::windows_sys::core::PCWSTR, szfeature: ::windows_sys::core::PCWSTR, pdwusecount: *mut u32, pwdateused: *mut u16) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetFeatureValidStatesA(hinstall: MSIHANDLE, szfeature: ::windows_sys::core::PCSTR, lpinstallstates: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetFeatureValidStatesW(hinstall: MSIHANDLE, szfeature: ::windows_sys::core::PCWSTR, lpinstallstates: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetFileHashA(szfilepath: ::windows_sys::core::PCSTR, dwoptions: u32, phash: *mut MSIFILEHASHINFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetFileHashW(szfilepath: ::windows_sys::core::PCWSTR, dwoptions: u32, phash: *mut MSIFILEHASHINFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub fn MsiGetFileSignatureInformationA(szsignedobjectpath: ::windows_sys::core::PCSTR, dwflags: u32, ppccertcontext: *mut *mut super::super::Security::Cryptography::CERT_CONTEXT, pbhashdata: *mut u8, pcbhashdata: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub fn MsiGetFileSignatureInformationW(szsignedobjectpath: ::windows_sys::core::PCWSTR, dwflags: u32, ppccertcontext: *mut *mut super::super::Security::Cryptography::CERT_CONTEXT, pbhashdata: *mut u8, pcbhashdata: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetFileVersionA(szfilepath: ::windows_sys::core::PCSTR, lpversionbuf: ::windows_sys::core::PSTR, pcchversionbuf: *mut u32, lplangbuf: ::windows_sys::core::PSTR, pcchlangbuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetFileVersionW(szfilepath: ::windows_sys::core::PCWSTR, lpversionbuf: ::windows_sys::core::PWSTR, pcchversionbuf: *mut u32, lplangbuf: ::windows_sys::core::PWSTR, pcchlangbuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetLanguage(hinstall: MSIHANDLE) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetLastErrorRecord() -> MSIHANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MsiGetMode(hinstall: MSIHANDLE, erunmode: MSIRUNMODE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetPatchFileListA(szproductcode: ::windows_sys::core::PCSTR, szpatchpackages: ::windows_sys::core::PCSTR, pcfiles: *mut u32, pphfilerecords: *mut *mut MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetPatchFileListW(szproductcode: ::windows_sys::core::PCWSTR, szpatchpackages: ::windows_sys::core::PCWSTR, pcfiles: *mut u32, pphfilerecords: *mut *mut MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetPatchInfoA(szpatch: ::windows_sys::core::PCSTR, szattribute: ::windows_sys::core::PCSTR, lpvaluebuf: ::windows_sys::core::PSTR, pcchvaluebuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetPatchInfoExA(szpatchcode: ::windows_sys::core::PCSTR, szproductcode: ::windows_sys::core::PCSTR, szusersid: ::windows_sys::core::PCSTR, dwcontext: MSIINSTALLCONTEXT, szproperty: ::windows_sys::core::PCSTR, lpvalue: ::windows_sys::core::PSTR, pcchvalue: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetPatchInfoExW(szpatchcode: ::windows_sys::core::PCWSTR, szproductcode: ::windows_sys::core::PCWSTR, szusersid: ::windows_sys::core::PCWSTR, dwcontext: MSIINSTALLCONTEXT, szproperty: ::windows_sys::core::PCWSTR, lpvalue: ::windows_sys::core::PWSTR, pcchvalue: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetPatchInfoW(szpatch: ::windows_sys::core::PCWSTR, szattribute: ::windows_sys::core::PCWSTR, lpvaluebuf: ::windows_sys::core::PWSTR, pcchvaluebuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetProductCodeA(szcomponent: ::windows_sys::core::PCSTR, lpbuf39: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetProductCodeW(szcomponent: ::windows_sys::core::PCWSTR, lpbuf39: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetProductInfoA(szproduct: ::windows_sys::core::PCSTR, szattribute: ::windows_sys::core::PCSTR, lpvaluebuf: ::windows_sys::core::PSTR, pcchvaluebuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetProductInfoExA(szproductcode: ::windows_sys::core::PCSTR, szusersid: ::windows_sys::core::PCSTR, dwcontext: MSIINSTALLCONTEXT, szproperty: ::windows_sys::core::PCSTR, szvalue: ::windows_sys::core::PSTR, pcchvalue: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetProductInfoExW(szproductcode: ::windows_sys::core::PCWSTR, szusersid: ::windows_sys::core::PCWSTR, dwcontext: MSIINSTALLCONTEXT, szproperty: ::windows_sys::core::PCWSTR, szvalue: ::windows_sys::core::PWSTR, pcchvalue: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetProductInfoFromScriptA(szscriptfile: ::windows_sys::core::PCSTR, lpproductbuf39: ::windows_sys::core::PSTR, plgidlanguage: *mut u16, pdwversion: *mut u32, lpnamebuf: ::windows_sys::core::PSTR, pcchnamebuf: *mut u32, lppackagebuf: ::windows_sys::core::PSTR, pcchpackagebuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetProductInfoFromScriptW(szscriptfile: ::windows_sys::core::PCWSTR, lpproductbuf39: ::windows_sys::core::PWSTR, plgidlanguage: *mut u16, pdwversion: *mut u32, lpnamebuf: ::windows_sys::core::PWSTR, pcchnamebuf: *mut u32, lppackagebuf: ::windows_sys::core::PWSTR, pcchpackagebuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetProductInfoW(szproduct: ::windows_sys::core::PCWSTR, szattribute: ::windows_sys::core::PCWSTR, lpvaluebuf: ::windows_sys::core::PWSTR, pcchvaluebuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetProductPropertyA(hproduct: MSIHANDLE, szproperty: ::windows_sys::core::PCSTR, lpvaluebuf: ::windows_sys::core::PSTR, pcchvaluebuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetProductPropertyW(hproduct: MSIHANDLE, szproperty: ::windows_sys::core::PCWSTR, lpvaluebuf: ::windows_sys::core::PWSTR, pcchvaluebuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetPropertyA(hinstall: MSIHANDLE, szname: ::windows_sys::core::PCSTR, szvaluebuf: ::windows_sys::core::PSTR, pcchvaluebuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetPropertyW(hinstall: MSIHANDLE, szname: ::windows_sys::core::PCWSTR, szvaluebuf: ::windows_sys::core::PWSTR, pcchvaluebuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetShortcutTargetA(szshortcutpath: ::windows_sys::core::PCSTR, szproductcode: ::windows_sys::core::PSTR, szfeatureid: ::windows_sys::core::PSTR, szcomponentcode: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetShortcutTargetW(szshortcutpath: ::windows_sys::core::PCWSTR, szproductcode: ::windows_sys::core::PWSTR, szfeatureid: ::windows_sys::core::PWSTR, szcomponentcode: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetSourcePathA(hinstall: MSIHANDLE, szfolder: ::windows_sys::core::PCSTR, szpathbuf: ::windows_sys::core::PSTR, pcchpathbuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetSourcePathW(hinstall: MSIHANDLE, szfolder: ::windows_sys::core::PCWSTR, szpathbuf: ::windows_sys::core::PWSTR, pcchpathbuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetSummaryInformationA(hdatabase: MSIHANDLE, szdatabasepath: ::windows_sys::core::PCSTR, uiupdatecount: u32, phsummaryinfo: *mut MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetSummaryInformationW(hdatabase: MSIHANDLE, szdatabasepath: ::windows_sys::core::PCWSTR, uiupdatecount: u32, phsummaryinfo: *mut MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetTargetPathA(hinstall: MSIHANDLE, szfolder: ::windows_sys::core::PCSTR, szpathbuf: ::windows_sys::core::PSTR, pcchpathbuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetTargetPathW(hinstall: MSIHANDLE, szfolder: ::windows_sys::core::PCWSTR, szpathbuf: ::windows_sys::core::PWSTR, pcchpathbuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetUserInfoA(szproduct: ::windows_sys::core::PCSTR, lpusernamebuf: ::windows_sys::core::PSTR, pcchusernamebuf: *mut u32, lporgnamebuf: ::windows_sys::core::PSTR, pcchorgnamebuf: *mut u32, lpserialbuf: ::windows_sys::core::PSTR, pcchserialbuf: *mut u32) -> USERINFOSTATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiGetUserInfoW(szproduct: ::windows_sys::core::PCWSTR, lpusernamebuf: ::windows_sys::core::PWSTR, pcchusernamebuf: *mut u32, lporgnamebuf: ::windows_sys::core::PWSTR, pcchorgnamebuf: *mut u32, lpserialbuf: ::windows_sys::core::PWSTR, pcchserialbuf: *mut u32) -> USERINFOSTATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiInstallMissingComponentA(szproduct: ::windows_sys::core::PCSTR, szcomponent: ::windows_sys::core::PCSTR, einstallstate: INSTALLSTATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiInstallMissingComponentW(szproduct: ::windows_sys::core::PCWSTR, szcomponent: ::windows_sys::core::PCWSTR, einstallstate: INSTALLSTATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiInstallMissingFileA(szproduct: ::windows_sys::core::PCSTR, szfile: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiInstallMissingFileW(szproduct: ::windows_sys::core::PCWSTR, szfile: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiInstallProductA(szpackagepath: ::windows_sys::core::PCSTR, szcommandline: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiInstallProductW(szpackagepath: ::windows_sys::core::PCWSTR, szcommandline: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MsiIsProductElevatedA(szproduct: ::windows_sys::core::PCSTR, pfelevated: *mut super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MsiIsProductElevatedW(szproduct: ::windows_sys::core::PCWSTR, pfelevated: *mut super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MsiJoinTransaction(htransactionhandle: MSIHANDLE, dwtransactionattributes: u32, phchangeofownerevent: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiLocateComponentA(szcomponent: ::windows_sys::core::PCSTR, lppathbuf: ::windows_sys::core::PSTR, pcchbuf: *mut u32) -> INSTALLSTATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiLocateComponentW(szcomponent: ::windows_sys::core::PCWSTR, lppathbuf: ::windows_sys::core::PWSTR, pcchbuf: *mut u32) -> INSTALLSTATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiNotifySidChangeA(poldsid: ::windows_sys::core::PCSTR, pnewsid: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiNotifySidChangeW(poldsid: ::windows_sys::core::PCWSTR, pnewsid: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiOpenDatabaseA(szdatabasepath: ::windows_sys::core::PCSTR, szpersist: ::windows_sys::core::PCSTR, phdatabase: *mut MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiOpenDatabaseW(szdatabasepath: ::windows_sys::core::PCWSTR, szpersist: ::windows_sys::core::PCWSTR, phdatabase: *mut MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiOpenPackageA(szpackagepath: ::windows_sys::core::PCSTR, hproduct: *mut MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiOpenPackageExA(szpackagepath: ::windows_sys::core::PCSTR, dwoptions: u32, hproduct: *mut MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiOpenPackageExW(szpackagepath: ::windows_sys::core::PCWSTR, dwoptions: u32, hproduct: *mut MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiOpenPackageW(szpackagepath: ::windows_sys::core::PCWSTR, hproduct: *mut MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiOpenProductA(szproduct: ::windows_sys::core::PCSTR, hproduct: *mut MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiOpenProductW(szproduct: ::windows_sys::core::PCWSTR, hproduct: *mut MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiPreviewBillboardA(hpreview: MSIHANDLE, szcontrolname: ::windows_sys::core::PCSTR, szbillboard: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiPreviewBillboardW(hpreview: MSIHANDLE, szcontrolname: ::windows_sys::core::PCWSTR, szbillboard: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiPreviewDialogA(hpreview: MSIHANDLE, szdialogname: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiPreviewDialogW(hpreview: MSIHANDLE, szdialogname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn MsiProcessAdvertiseScriptA(szscriptfile: ::windows_sys::core::PCSTR, sziconfolder: ::windows_sys::core::PCSTR, hregdata: super::Registry::HKEY, fshortcuts: super::super::Foundation::BOOL, fremoveitems: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn MsiProcessAdvertiseScriptW(szscriptfile: ::windows_sys::core::PCWSTR, sziconfolder: ::windows_sys::core::PCWSTR, hregdata: super::Registry::HKEY, fshortcuts: super::super::Foundation::BOOL, fremoveitems: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiProcessMessage(hinstall: MSIHANDLE, emessagetype: INSTALLMESSAGE, hrecord: MSIHANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiProvideAssemblyA(szassemblyname: ::windows_sys::core::PCSTR, szappcontext: ::windows_sys::core::PCSTR, dwinstallmode: INSTALLMODE, dwassemblyinfo: MSIASSEMBLYINFO, lppathbuf: ::windows_sys::core::PSTR, pcchpathbuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiProvideAssemblyW(szassemblyname: ::windows_sys::core::PCWSTR, szappcontext: ::windows_sys::core::PCWSTR, dwinstallmode: INSTALLMODE, dwassemblyinfo: MSIASSEMBLYINFO, lppathbuf: ::windows_sys::core::PWSTR, pcchpathbuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiProvideComponentA(szproduct: ::windows_sys::core::PCSTR, szfeature: ::windows_sys::core::PCSTR, szcomponent: ::windows_sys::core::PCSTR, dwinstallmode: INSTALLMODE, lppathbuf: ::windows_sys::core::PSTR, pcchpathbuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiProvideComponentW(szproduct: ::windows_sys::core::PCWSTR, szfeature: ::windows_sys::core::PCWSTR, szcomponent: ::windows_sys::core::PCWSTR, dwinstallmode: INSTALLMODE, lppathbuf: ::windows_sys::core::PWSTR, pcchpathbuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiProvideQualifiedComponentA(szcategory: ::windows_sys::core::PCSTR, szqualifier: ::windows_sys::core::PCSTR, dwinstallmode: INSTALLMODE, lppathbuf: ::windows_sys::core::PSTR, pcchpathbuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiProvideQualifiedComponentExA(szcategory: ::windows_sys::core::PCSTR, szqualifier: ::windows_sys::core::PCSTR, dwinstallmode: INSTALLMODE, szproduct: ::windows_sys::core::PCSTR, dwunused1: u32, dwunused2: u32, lppathbuf: ::windows_sys::core::PSTR, pcchpathbuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiProvideQualifiedComponentExW(szcategory: ::windows_sys::core::PCWSTR, szqualifier: ::windows_sys::core::PCWSTR, dwinstallmode: INSTALLMODE, szproduct: ::windows_sys::core::PCWSTR, dwunused1: u32, dwunused2: u32, lppathbuf: ::windows_sys::core::PWSTR, pcchpathbuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiProvideQualifiedComponentW(szcategory: ::windows_sys::core::PCWSTR, szqualifier: ::windows_sys::core::PCWSTR, dwinstallmode: INSTALLMODE, lppathbuf: ::windows_sys::core::PWSTR, pcchpathbuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiQueryComponentStateA(szproductcode: ::windows_sys::core::PCSTR, szusersid: ::windows_sys::core::PCSTR, dwcontext: MSIINSTALLCONTEXT, szcomponentcode: ::windows_sys::core::PCSTR, pdwstate: *mut INSTALLSTATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiQueryComponentStateW(szproductcode: ::windows_sys::core::PCWSTR, szusersid: ::windows_sys::core::PCWSTR, dwcontext: MSIINSTALLCONTEXT, szcomponentcode: ::windows_sys::core::PCWSTR, pdwstate: *mut INSTALLSTATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiQueryFeatureStateA(szproduct: ::windows_sys::core::PCSTR, szfeature: ::windows_sys::core::PCSTR) -> INSTALLSTATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiQueryFeatureStateExA(szproductcode: ::windows_sys::core::PCSTR, szusersid: ::windows_sys::core::PCSTR, dwcontext: MSIINSTALLCONTEXT, szfeature: ::windows_sys::core::PCSTR, pdwstate: *mut INSTALLSTATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiQueryFeatureStateExW(szproductcode: ::windows_sys::core::PCWSTR, szusersid: ::windows_sys::core::PCWSTR, dwcontext: MSIINSTALLCONTEXT, szfeature: ::windows_sys::core::PCWSTR, pdwstate: *mut INSTALLSTATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiQueryFeatureStateW(szproduct: ::windows_sys::core::PCWSTR, szfeature: ::windows_sys::core::PCWSTR) -> INSTALLSTATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiQueryProductStateA(szproduct: ::windows_sys::core::PCSTR) -> INSTALLSTATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiQueryProductStateW(szproduct: ::windows_sys::core::PCWSTR) -> INSTALLSTATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiRecordClearData(hrecord: MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiRecordDataSize(hrecord: MSIHANDLE, ifield: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiRecordGetFieldCount(hrecord: MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiRecordGetInteger(hrecord: MSIHANDLE, ifield: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiRecordGetStringA(hrecord: MSIHANDLE, ifield: u32, szvaluebuf: ::windows_sys::core::PSTR, pcchvaluebuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiRecordGetStringW(hrecord: MSIHANDLE, ifield: u32, szvaluebuf: ::windows_sys::core::PWSTR, pcchvaluebuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MsiRecordIsNull(hrecord: MSIHANDLE, ifield: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiRecordReadStream(hrecord: MSIHANDLE, ifield: u32, szdatabuf: ::windows_sys::core::PSTR, pcbdatabuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiRecordSetInteger(hrecord: MSIHANDLE, ifield: u32, ivalue: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiRecordSetStreamA(hrecord: MSIHANDLE, ifield: u32, szfilepath: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiRecordSetStreamW(hrecord: MSIHANDLE, ifield: u32, szfilepath: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiRecordSetStringA(hrecord: MSIHANDLE, ifield: u32, szvalue: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiRecordSetStringW(hrecord: MSIHANDLE, ifield: u32, szvalue: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiReinstallFeatureA(szproduct: ::windows_sys::core::PCSTR, szfeature: ::windows_sys::core::PCSTR, dwreinstallmode: REINSTALLMODE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiReinstallFeatureW(szproduct: ::windows_sys::core::PCWSTR, szfeature: ::windows_sys::core::PCWSTR, dwreinstallmode: REINSTALLMODE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiReinstallProductA(szproduct: ::windows_sys::core::PCSTR, szreinstallmode: REINSTALLMODE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiReinstallProductW(szproduct: ::windows_sys::core::PCWSTR, szreinstallmode: REINSTALLMODE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiRemovePatchesA(szpatchlist: ::windows_sys::core::PCSTR, szproductcode: ::windows_sys::core::PCSTR, euninstalltype: INSTALLTYPE, szpropertylist: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiRemovePatchesW(szpatchlist: ::windows_sys::core::PCWSTR, szproductcode: ::windows_sys::core::PCWSTR, euninstalltype: INSTALLTYPE, szpropertylist: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSequenceA(hinstall: MSIHANDLE, sztable: ::windows_sys::core::PCSTR, isequencemode: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSequenceW(hinstall: MSIHANDLE, sztable: ::windows_sys::core::PCWSTR, isequencemode: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSetComponentStateA(hinstall: MSIHANDLE, szcomponent: ::windows_sys::core::PCSTR, istate: INSTALLSTATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSetComponentStateW(hinstall: MSIHANDLE, szcomponent: ::windows_sys::core::PCWSTR, istate: INSTALLSTATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSetExternalUIA(puihandler: INSTALLUI_HANDLERA, dwmessagefilter: u32, pvcontext: *const ::core::ffi::c_void) -> INSTALLUI_HANDLERA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSetExternalUIRecord(puihandler: PINSTALLUI_HANDLER_RECORD, dwmessagefilter: u32, pvcontext: *const ::core::ffi::c_void, ppuiprevhandler: PINSTALLUI_HANDLER_RECORD) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSetExternalUIW(puihandler: INSTALLUI_HANDLERW, dwmessagefilter: u32, pvcontext: *const ::core::ffi::c_void) -> INSTALLUI_HANDLERW; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSetFeatureAttributesA(hinstall: MSIHANDLE, szfeature: ::windows_sys::core::PCSTR, dwattributes: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSetFeatureAttributesW(hinstall: MSIHANDLE, szfeature: ::windows_sys::core::PCWSTR, dwattributes: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSetFeatureStateA(hinstall: MSIHANDLE, szfeature: ::windows_sys::core::PCSTR, istate: INSTALLSTATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSetFeatureStateW(hinstall: MSIHANDLE, szfeature: ::windows_sys::core::PCWSTR, istate: INSTALLSTATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSetInstallLevel(hinstall: MSIHANDLE, iinstalllevel: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MsiSetInternalUI(dwuilevel: INSTALLUILEVEL, phwnd: *mut super::super::Foundation::HWND) -> INSTALLUILEVEL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MsiSetMode(hinstall: MSIHANDLE, erunmode: MSIRUNMODE, fstate: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSetPropertyA(hinstall: MSIHANDLE, szname: ::windows_sys::core::PCSTR, szvalue: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSetPropertyW(hinstall: MSIHANDLE, szname: ::windows_sys::core::PCWSTR, szvalue: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSetTargetPathA(hinstall: MSIHANDLE, szfolder: ::windows_sys::core::PCSTR, szfolderpath: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSetTargetPathW(hinstall: MSIHANDLE, szfolder: ::windows_sys::core::PCWSTR, szfolderpath: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListAddMediaDiskA(szproductcodeorpatchcode: ::windows_sys::core::PCSTR, szusersid: ::windows_sys::core::PCSTR, dwcontext: MSIINSTALLCONTEXT, dwoptions: u32, dwdiskid: u32, szvolumelabel: ::windows_sys::core::PCSTR, szdiskprompt: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListAddMediaDiskW(szproductcodeorpatchcode: ::windows_sys::core::PCWSTR, szusersid: ::windows_sys::core::PCWSTR, dwcontext: MSIINSTALLCONTEXT, dwoptions: u32, dwdiskid: u32, szvolumelabel: ::windows_sys::core::PCWSTR, szdiskprompt: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListAddSourceA(szproduct: ::windows_sys::core::PCSTR, szusername: ::windows_sys::core::PCSTR, dwreserved: u32, szsource: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListAddSourceExA(szproductcodeorpatchcode: ::windows_sys::core::PCSTR, szusersid: ::windows_sys::core::PCSTR, dwcontext: MSIINSTALLCONTEXT, dwoptions: u32, szsource: ::windows_sys::core::PCSTR, dwindex: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListAddSourceExW(szproductcodeorpatchcode: ::windows_sys::core::PCWSTR, szusersid: ::windows_sys::core::PCWSTR, dwcontext: MSIINSTALLCONTEXT, dwoptions: u32, szsource: ::windows_sys::core::PCWSTR, dwindex: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListAddSourceW(szproduct: ::windows_sys::core::PCWSTR, szusername: ::windows_sys::core::PCWSTR, dwreserved: u32, szsource: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListClearAllA(szproduct: ::windows_sys::core::PCSTR, szusername: ::windows_sys::core::PCSTR, dwreserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListClearAllExA(szproductcodeorpatchcode: ::windows_sys::core::PCSTR, szusersid: ::windows_sys::core::PCSTR, dwcontext: MSIINSTALLCONTEXT, dwoptions: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListClearAllExW(szproductcodeorpatchcode: ::windows_sys::core::PCWSTR, szusersid: ::windows_sys::core::PCWSTR, dwcontext: MSIINSTALLCONTEXT, dwoptions: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListClearAllW(szproduct: ::windows_sys::core::PCWSTR, szusername: ::windows_sys::core::PCWSTR, dwreserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListClearMediaDiskA(szproductcodeorpatchcode: ::windows_sys::core::PCSTR, szusersid: ::windows_sys::core::PCSTR, dwcontext: MSIINSTALLCONTEXT, dwoptions: u32, dwdiskid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListClearMediaDiskW(szproductcodeorpatchcode: ::windows_sys::core::PCWSTR, szusersid: ::windows_sys::core::PCWSTR, dwcontext: MSIINSTALLCONTEXT, dwoptions: u32, dwdiskid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListClearSourceA(szproductcodeorpatchcode: ::windows_sys::core::PCSTR, szusersid: ::windows_sys::core::PCSTR, dwcontext: MSIINSTALLCONTEXT, dwoptions: u32, szsource: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListClearSourceW(szproductcodeorpatchcode: ::windows_sys::core::PCWSTR, szusersid: ::windows_sys::core::PCWSTR, dwcontext: MSIINSTALLCONTEXT, dwoptions: u32, szsource: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListEnumMediaDisksA(szproductcodeorpatchcode: ::windows_sys::core::PCSTR, szusersid: ::windows_sys::core::PCSTR, dwcontext: MSIINSTALLCONTEXT, dwoptions: u32, dwindex: u32, pdwdiskid: *mut u32, szvolumelabel: ::windows_sys::core::PSTR, pcchvolumelabel: *mut u32, szdiskprompt: ::windows_sys::core::PSTR, pcchdiskprompt: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListEnumMediaDisksW(szproductcodeorpatchcode: ::windows_sys::core::PCWSTR, szusersid: ::windows_sys::core::PCWSTR, dwcontext: MSIINSTALLCONTEXT, dwoptions: u32, dwindex: u32, pdwdiskid: *mut u32, szvolumelabel: ::windows_sys::core::PWSTR, pcchvolumelabel: *mut u32, szdiskprompt: ::windows_sys::core::PWSTR, pcchdiskprompt: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListEnumSourcesA(szproductcodeorpatchcode: ::windows_sys::core::PCSTR, szusersid: ::windows_sys::core::PCSTR, dwcontext: MSIINSTALLCONTEXT, dwoptions: u32, dwindex: u32, szsource: ::windows_sys::core::PSTR, pcchsource: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListEnumSourcesW(szproductcodeorpatchcode: ::windows_sys::core::PCWSTR, szusersid: ::windows_sys::core::PCWSTR, dwcontext: MSIINSTALLCONTEXT, dwoptions: u32, dwindex: u32, szsource: ::windows_sys::core::PWSTR, pcchsource: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListForceResolutionA(szproduct: ::windows_sys::core::PCSTR, szusername: ::windows_sys::core::PCSTR, dwreserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListForceResolutionExA(szproductcodeorpatchcode: ::windows_sys::core::PCSTR, szusersid: ::windows_sys::core::PCSTR, dwcontext: MSIINSTALLCONTEXT, dwoptions: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListForceResolutionExW(szproductcodeorpatchcode: ::windows_sys::core::PCWSTR, szusersid: ::windows_sys::core::PCWSTR, dwcontext: MSIINSTALLCONTEXT, dwoptions: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListForceResolutionW(szproduct: ::windows_sys::core::PCWSTR, szusername: ::windows_sys::core::PCWSTR, dwreserved: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListGetInfoA(szproductcodeorpatchcode: ::windows_sys::core::PCSTR, szusersid: ::windows_sys::core::PCSTR, dwcontext: MSIINSTALLCONTEXT, dwoptions: u32, szproperty: ::windows_sys::core::PCSTR, szvalue: ::windows_sys::core::PSTR, pcchvalue: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListGetInfoW(szproductcodeorpatchcode: ::windows_sys::core::PCWSTR, szusersid: ::windows_sys::core::PCWSTR, dwcontext: MSIINSTALLCONTEXT, dwoptions: u32, szproperty: ::windows_sys::core::PCWSTR, szvalue: ::windows_sys::core::PWSTR, pcchvalue: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListSetInfoA(szproductcodeorpatchcode: ::windows_sys::core::PCSTR, szusersid: ::windows_sys::core::PCSTR, dwcontext: MSIINSTALLCONTEXT, dwoptions: u32, szproperty: ::windows_sys::core::PCSTR, szvalue: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSourceListSetInfoW(szproductcodeorpatchcode: ::windows_sys::core::PCWSTR, szusersid: ::windows_sys::core::PCWSTR, dwcontext: MSIINSTALLCONTEXT, dwoptions: u32, szproperty: ::windows_sys::core::PCWSTR, szvalue: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MsiSummaryInfoGetPropertyA(hsummaryinfo: MSIHANDLE, uiproperty: u32, puidatatype: *mut u32, pivalue: *mut i32, pftvalue: *mut super::super::Foundation::FILETIME, szvaluebuf: ::windows_sys::core::PSTR, pcchvaluebuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSummaryInfoGetPropertyCount(hsummaryinfo: MSIHANDLE, puipropertycount: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MsiSummaryInfoGetPropertyW(hsummaryinfo: MSIHANDLE, uiproperty: u32, puidatatype: *mut u32, pivalue: *mut i32, pftvalue: *mut super::super::Foundation::FILETIME, szvaluebuf: ::windows_sys::core::PWSTR, pcchvaluebuf: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiSummaryInfoPersist(hsummaryinfo: MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MsiSummaryInfoSetPropertyA(hsummaryinfo: MSIHANDLE, uiproperty: u32, uidatatype: u32, ivalue: i32, pftvalue: *mut super::super::Foundation::FILETIME, szvalue: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MsiSummaryInfoSetPropertyW(hsummaryinfo: MSIHANDLE, uiproperty: u32, uidatatype: u32, ivalue: i32, pftvalue: *mut super::super::Foundation::FILETIME, szvalue: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiUseFeatureA(szproduct: ::windows_sys::core::PCSTR, szfeature: ::windows_sys::core::PCSTR) -> INSTALLSTATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiUseFeatureExA(szproduct: ::windows_sys::core::PCSTR, szfeature: ::windows_sys::core::PCSTR, dwinstallmode: u32, dwreserved: u32) -> INSTALLSTATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiUseFeatureExW(szproduct: ::windows_sys::core::PCWSTR, szfeature: ::windows_sys::core::PCWSTR, dwinstallmode: u32, dwreserved: u32) -> INSTALLSTATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiUseFeatureW(szproduct: ::windows_sys::core::PCWSTR, szfeature: ::windows_sys::core::PCWSTR) -> INSTALLSTATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiVerifyDiskSpace(hinstall: MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiVerifyPackageA(szpackagepath: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiVerifyPackageW(szpackagepath: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiViewClose(hview: MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiViewExecute(hview: MSIHANDLE, hrecord: MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiViewFetch(hview: MSIHANDLE, phrecord: *mut MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiViewGetColumnInfo(hview: MSIHANDLE, ecolumninfo: MSICOLINFO, phrecord: *mut MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiViewGetErrorA(hview: MSIHANDLE, szcolumnnamebuffer: ::windows_sys::core::PSTR, pcchbuf: *mut u32) -> MSIDBERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiViewGetErrorW(hview: MSIHANDLE, szcolumnnamebuffer: ::windows_sys::core::PWSTR, pcchbuf: *mut u32) -> MSIDBERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] pub fn MsiViewModify(hview: MSIHANDLE, emodifymode: MSIMODIFY, hrecord: MSIHANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NormalizeFileForPatchSignature(filebuffer: *mut ::core::ffi::c_void, filesize: u32, optionflags: u32, optiondata: *const PATCH_OPTION_DATA, newfilecoffbase: u32, newfilecofftime: u32, ignorerangecount: u32, ignorerangearray: *const PATCH_IGNORE_RANGE, retainrangecount: u32, retainrangearray: *const PATCH_RETAIN_RANGE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryActCtxSettingsW(dwflags: u32, hactctx: super::super::Foundation::HANDLE, settingsnamespace: ::windows_sys::core::PCWSTR, settingname: ::windows_sys::core::PCWSTR, pvbuffer: ::windows_sys::core::PWSTR, dwbuffer: usize, pdwwrittenorrequired: *mut usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryActCtxW(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; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReleaseActCtx(hactctx: super::super::Foundation::HANDLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SfcGetNextProtectedFile(rpchandle: super::super::Foundation::HANDLE, protfiledata: *mut PROTECTED_FILE_DATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SfcIsFileProtected(rpchandle: super::super::Foundation::HANDLE, protfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SfcIsKeyProtected(keyhandle: super::Registry::HKEY, subkeyname: ::windows_sys::core::PCWSTR, keysam: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SfpVerifyFile(pszfilename: ::windows_sys::core::PCSTR, pszerror: ::windows_sys::core::PCSTR, dwerrsize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TestApplyPatchToFileA(patchfilename: ::windows_sys::core::PCSTR, oldfilename: ::windows_sys::core::PCSTR, applyoptionflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TestApplyPatchToFileByBuffers(patchfilebuffer: *const u8, patchfilesize: u32, oldfilebuffer: *const u8, oldfilesize: u32, newfilesize: *mut u32, applyoptionflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TestApplyPatchToFileByHandles(patchfilehandle: super::super::Foundation::HANDLE, oldfilehandle: super::super::Foundation::HANDLE, applyoptionflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TestApplyPatchToFileW(patchfilename: ::windows_sys::core::PCWSTR, oldfilename: ::windows_sys::core::PCWSTR, applyoptionflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ZombifyActCtx(hactctx: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/Com/CallObj/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Com/CallObj/mod.rs index 7a7e1eb332..7703aa455e 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Com/CallObj/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Com/CallObj/mod.rs @@ -2,6 +2,9 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`*"] pub fn CoGetInterceptor(iidintercepted: *const ::windows_sys::core::GUID, punkouter: ::windows_sys::core::IUnknown, iid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`*"] pub fn CoGetInterceptorFromTypeInfo(iidintercepted: *const ::windows_sys::core::GUID, punkouter: ::windows_sys::core::IUnknown, typeinfo: super::ITypeInfo, iid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/System/Com/Marshal/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Com/Marshal/mod.rs index 2aca050d90..0660eb3aed 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Com/Marshal/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Com/Marshal/mod.rs @@ -3,322 +3,682 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BSTR_UserFree(param0: *const u32, param1: *const super::super::super::Foundation::BSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BSTR_UserFree64(param0: *const u32, param1: *const super::super::super::Foundation::BSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BSTR_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::super::Foundation::BSTR) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BSTR_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::super::super::Foundation::BSTR) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BSTR_UserSize(param0: *const u32, param1: u32, param2: *const super::super::super::Foundation::BSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BSTR_UserSize64(param0: *const u32, param1: u32, param2: *const super::super::super::Foundation::BSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BSTR_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::super::super::Foundation::BSTR) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BSTR_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::super::super::Foundation::BSTR) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn CLIPFORMAT_UserFree(param0: *const u32, param1: *const u16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn CLIPFORMAT_UserFree64(param0: *const u32, param1: *const u16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn CLIPFORMAT_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const u16) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn CLIPFORMAT_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const u16) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn CLIPFORMAT_UserSize(param0: *const u32, param1: u32, param2: *const u16) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn CLIPFORMAT_UserSize64(param0: *const u32, param1: u32, param2: *const u16) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn CLIPFORMAT_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut u16) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn CLIPFORMAT_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut u16) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn CoGetMarshalSizeMax(pulsize: *mut u32, riid: *const ::windows_sys::core::GUID, punk: ::windows_sys::core::IUnknown, dwdestcontext: u32, pvdestcontext: *const ::core::ffi::c_void, mshlflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn CoGetStandardMarshal(riid: *const ::windows_sys::core::GUID, punk: ::windows_sys::core::IUnknown, dwdestcontext: u32, pvdestcontext: *const ::core::ffi::c_void, mshlflags: u32, ppmarshal: *mut IMarshal) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn CoGetStdMarshalEx(punkouter: ::windows_sys::core::IUnknown, smexflags: u32, ppunkinner: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn CoMarshalHresult(pstm: super::IStream, hresult: ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn CoMarshalInterThreadInterfaceInStream(riid: *const ::windows_sys::core::GUID, punk: ::windows_sys::core::IUnknown, ppstm: *mut super::IStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn CoMarshalInterface(pstm: super::IStream, riid: *const ::windows_sys::core::GUID, punk: ::windows_sys::core::IUnknown, dwdestcontext: u32, pvdestcontext: *const ::core::ffi::c_void, mshlflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn CoReleaseMarshalData(pstm: super::IStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn CoUnmarshalHresult(pstm: super::IStream, phresult: *mut ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn CoUnmarshalInterface(pstm: super::IStream, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HACCEL_UserFree(param0: *const u32, param1: *const super::super::super::UI::WindowsAndMessaging::HACCEL); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HACCEL_UserFree64(param0: *const u32, param1: *const super::super::super::UI::WindowsAndMessaging::HACCEL); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HACCEL_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::super::UI::WindowsAndMessaging::HACCEL) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HACCEL_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::super::super::UI::WindowsAndMessaging::HACCEL) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HACCEL_UserSize(param0: *const u32, param1: u32, param2: *const super::super::super::UI::WindowsAndMessaging::HACCEL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HACCEL_UserSize64(param0: *const u32, param1: u32, param2: *const super::super::super::UI::WindowsAndMessaging::HACCEL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HACCEL_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::super::super::UI::WindowsAndMessaging::HACCEL) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HACCEL_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::super::super::UI::WindowsAndMessaging::HACCEL) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HBITMAP_UserFree(param0: *const u32, param1: *const super::super::super::Graphics::Gdi::HBITMAP); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HBITMAP_UserFree64(param0: *const u32, param1: *const super::super::super::Graphics::Gdi::HBITMAP); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HBITMAP_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::super::Graphics::Gdi::HBITMAP) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HBITMAP_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::super::super::Graphics::Gdi::HBITMAP) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HBITMAP_UserSize(param0: *const u32, param1: u32, param2: *const super::super::super::Graphics::Gdi::HBITMAP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HBITMAP_UserSize64(param0: *const u32, param1: u32, param2: *const super::super::super::Graphics::Gdi::HBITMAP) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HBITMAP_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::super::super::Graphics::Gdi::HBITMAP) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HBITMAP_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::super::super::Graphics::Gdi::HBITMAP) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HDC_UserFree(param0: *const u32, param1: *const super::super::super::Graphics::Gdi::HDC); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HDC_UserFree64(param0: *const u32, param1: *const super::super::super::Graphics::Gdi::HDC); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HDC_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::super::Graphics::Gdi::HDC) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HDC_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::super::super::Graphics::Gdi::HDC) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HDC_UserSize(param0: *const u32, param1: u32, param2: *const super::super::super::Graphics::Gdi::HDC) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HDC_UserSize64(param0: *const u32, param1: u32, param2: *const super::super::super::Graphics::Gdi::HDC) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HDC_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::super::super::Graphics::Gdi::HDC) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HDC_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::super::super::Graphics::Gdi::HDC) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn HGLOBAL_UserFree(param0: *const u32, param1: *const isize); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn HGLOBAL_UserFree64(param0: *const u32, param1: *const isize); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn HGLOBAL_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const isize) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn HGLOBAL_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const isize) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn HGLOBAL_UserSize(param0: *const u32, param1: u32, param2: *const isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn HGLOBAL_UserSize64(param0: *const u32, param1: u32, param2: *const isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn HGLOBAL_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut isize) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn HGLOBAL_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut isize) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HICON_UserFree(param0: *const u32, param1: *const super::super::super::UI::WindowsAndMessaging::HICON); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HICON_UserFree64(param0: *const u32, param1: *const super::super::super::UI::WindowsAndMessaging::HICON); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HICON_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::super::UI::WindowsAndMessaging::HICON) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HICON_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::super::super::UI::WindowsAndMessaging::HICON) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HICON_UserSize(param0: *const u32, param1: u32, param2: *const super::super::super::UI::WindowsAndMessaging::HICON) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HICON_UserSize64(param0: *const u32, param1: u32, param2: *const super::super::super::UI::WindowsAndMessaging::HICON) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HICON_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::super::super::UI::WindowsAndMessaging::HICON) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HICON_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::super::super::UI::WindowsAndMessaging::HICON) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HMENU_UserFree(param0: *const u32, param1: *const super::super::super::UI::WindowsAndMessaging::HMENU); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HMENU_UserFree64(param0: *const u32, param1: *const super::super::super::UI::WindowsAndMessaging::HMENU); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HMENU_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::super::UI::WindowsAndMessaging::HMENU) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HMENU_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::super::super::UI::WindowsAndMessaging::HMENU) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HMENU_UserSize(param0: *const u32, param1: u32, param2: *const super::super::super::UI::WindowsAndMessaging::HMENU) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HMENU_UserSize64(param0: *const u32, param1: u32, param2: *const super::super::super::UI::WindowsAndMessaging::HMENU) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HMENU_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::super::super::UI::WindowsAndMessaging::HMENU) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HMENU_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::super::super::UI::WindowsAndMessaging::HMENU) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HPALETTE_UserFree(param0: *const u32, param1: *const super::super::super::Graphics::Gdi::HPALETTE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HPALETTE_UserFree64(param0: *const u32, param1: *const super::super::super::Graphics::Gdi::HPALETTE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HPALETTE_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::super::Graphics::Gdi::HPALETTE) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HPALETTE_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::super::super::Graphics::Gdi::HPALETTE) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HPALETTE_UserSize(param0: *const u32, param1: u32, param2: *const super::super::super::Graphics::Gdi::HPALETTE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HPALETTE_UserSize64(param0: *const u32, param1: u32, param2: *const super::super::super::Graphics::Gdi::HPALETTE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HPALETTE_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::super::super::Graphics::Gdi::HPALETTE) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HPALETTE_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::super::super::Graphics::Gdi::HPALETTE) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HWND_UserFree(param0: *const u32, param1: *const super::super::super::Foundation::HWND); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HWND_UserFree64(param0: *const u32, param1: *const super::super::super::Foundation::HWND); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HWND_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::super::Foundation::HWND) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HWND_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::super::super::Foundation::HWND) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HWND_UserSize(param0: *const u32, param1: u32, param2: *const super::super::super::Foundation::HWND) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HWND_UserSize64(param0: *const u32, param1: u32, param2: *const super::super::super::Foundation::HWND) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HWND_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::super::super::Foundation::HWND) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HWND_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::super::super::Foundation::HWND) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn LPSAFEARRAY_UserFree(param0: *const u32, param1: *const *const super::SAFEARRAY); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn LPSAFEARRAY_UserFree64(param0: *const u32, param1: *const *const super::SAFEARRAY); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn LPSAFEARRAY_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const *const super::SAFEARRAY) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn LPSAFEARRAY_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const *const super::SAFEARRAY) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn LPSAFEARRAY_UserSize(param0: *const u32, param1: u32, param2: *const *const super::SAFEARRAY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn LPSAFEARRAY_UserSize64(param0: *const u32, param1: u32, param2: *const *const super::SAFEARRAY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn LPSAFEARRAY_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut *mut super::SAFEARRAY) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn LPSAFEARRAY_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut *mut super::SAFEARRAY) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn SNB_UserFree(param0: *const u32, param1: *const *const *const u16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn SNB_UserFree64(param0: *const u32, param1: *const *const *const u16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn SNB_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const *const *const u16) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn SNB_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const *const *const u16) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn SNB_UserSize(param0: *const u32, param1: u32, param2: *const *const *const u16) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn SNB_UserSize64(param0: *const u32, param1: u32, param2: *const *const *const u16) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn SNB_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut *mut *mut u16) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] pub fn SNB_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut *mut *mut u16) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub fn STGMEDIUM_UserFree(param0: *const u32, param1: *const super::STGMEDIUM); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub fn STGMEDIUM_UserFree64(param0: *const u32, param1: *const super::STGMEDIUM); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub fn STGMEDIUM_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::STGMEDIUM) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub fn STGMEDIUM_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::STGMEDIUM) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub fn STGMEDIUM_UserSize(param0: *const u32, param1: u32, param2: *const super::STGMEDIUM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub fn STGMEDIUM_UserSize64(param0: *const u32, param1: u32, param2: *const super::STGMEDIUM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub fn STGMEDIUM_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::STGMEDIUM) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub fn STGMEDIUM_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::STGMEDIUM) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub fn VARIANT_UserFree(param0: *const u32, param1: *const super::VARIANT); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub fn VARIANT_UserFree64(param0: *const u32, param1: *const super::VARIANT); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub fn VARIANT_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::VARIANT) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub fn VARIANT_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::VARIANT) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub fn VARIANT_UserSize(param0: *const u32, param1: u32, param2: *const super::VARIANT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub fn VARIANT_UserSize64(param0: *const u32, param1: u32, param2: *const super::VARIANT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub fn VARIANT_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::VARIANT) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub fn VARIANT_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::VARIANT) -> *mut u8; diff --git a/crates/libs/sys/src/Windows/Win32/System/Com/StructuredStorage/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Com/StructuredStorage/mod.rs index 325ef04611..f0c7710a64 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Com/StructuredStorage/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Com/StructuredStorage/mod.rs @@ -2,107 +2,239 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn CoGetInstanceFromFile(pserverinfo: *const super::COSERVERINFO, pclsid: *const ::windows_sys::core::GUID, punkouter: ::windows_sys::core::IUnknown, dwclsctx: super::CLSCTX, grfmode: u32, pwszname: ::windows_sys::core::PCWSTR, dwcount: u32, presults: *mut super::MULTI_QI) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn CoGetInstanceFromIStorage(pserverinfo: *const super::COSERVERINFO, pclsid: *const ::windows_sys::core::GUID, punkouter: ::windows_sys::core::IUnknown, dwclsctx: super::CLSCTX, pstg: IStorage, dwcount: u32, presults: *mut super::MULTI_QI) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn CoGetInterfaceAndReleaseStream(pstm: super::IStream, iid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateILockBytesOnHGlobal(hglobal: isize, fdeleteonrelease: super::super::super::Foundation::BOOL, pplkbyt: *mut ILockBytes) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateStreamOnHGlobal(hglobal: isize, fdeleteonrelease: super::super::super::Foundation::BOOL, ppstm: *mut super::IStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn FmtIdToPropStgName(pfmtid: *const ::windows_sys::core::GUID, oszname: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreePropVariantArray(cvariants: u32, rgvars: *mut PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn GetConvertStg(pstg: IStorage) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn GetHGlobalFromILockBytes(plkbyt: ILockBytes, phglobal: *mut isize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn GetHGlobalFromStream(pstm: super::IStream, phglobal: *mut isize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn OleConvertIStorageToOLESTREAM(pstg: IStorage, lpolestream: *mut OLESTREAM) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn OleConvertIStorageToOLESTREAMEx(pstg: IStorage, cfformat: u16, lwidth: i32, lheight: i32, dwsize: u32, pmedium: *const super::STGMEDIUM, polestm: *mut OLESTREAM) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn OleConvertOLESTREAMToIStorage(lpolestream: *const OLESTREAM, pstg: IStorage, ptd: *const super::DVTARGETDEVICE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn OleConvertOLESTREAMToIStorageEx(polestm: *const OLESTREAM, pstg: IStorage, pcfformat: *mut u16, plwwidth: *mut i32, plheight: *mut i32, pdwsize: *mut u32, pmedium: *mut super::STGMEDIUM) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn PropStgNameToFmtId(oszname: ::windows_sys::core::PCWSTR, pfmtid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PropVariantClear(pvar: *mut PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PropVariantCopy(pvardest: *mut PROPVARIANT, pvarsrc: *const PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn ReadClassStg(pstg: IStorage, pclsid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn ReadClassStm(pstm: super::IStream, pclsid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn ReadFmtUserTypeStg(pstg: IStorage, pcf: *mut u16, lplpszusertype: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetConvertStg(pstg: IStorage, fconvert: super::super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StgConvertPropertyToVariant(pprop: *const SERIALIZEDPROPERTYVALUE, codepage: u16, pvar: *mut PROPVARIANT, pma: *const PMemoryAllocator) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StgConvertVariantToProperty(pvar: *const PROPVARIANT, codepage: u16, pprop: *mut SERIALIZEDPROPERTYVALUE, pcb: *mut u32, pid: u32, freserved: super::super::super::Foundation::BOOLEAN, pcindirect: *mut u32) -> *mut SERIALIZEDPROPERTYVALUE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn StgCreateDocfile(pwcsname: ::windows_sys::core::PCWSTR, grfmode: STGM, reserved: u32, ppstgopen: *mut IStorage) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn StgCreateDocfileOnILockBytes(plkbyt: ILockBytes, grfmode: STGM, reserved: u32, ppstgopen: *mut IStorage) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn StgCreatePropSetStg(pstorage: IStorage, dwreserved: u32, pppropsetstg: *mut IPropertySetStorage) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn StgCreatePropStg(punk: ::windows_sys::core::IUnknown, fmtid: *const ::windows_sys::core::GUID, pclsid: *const ::windows_sys::core::GUID, grfflags: u32, dwreserved: u32, pppropstg: *mut IPropertyStorage) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn StgCreateStorageEx(pwcsname: ::windows_sys::core::PCWSTR, grfmode: STGM, stgfmt: STGFMT, grfattrs: u32, pstgoptions: *mut STGOPTIONS, psecuritydescriptor: super::super::super::Security::PSECURITY_DESCRIPTOR, riid: *const ::windows_sys::core::GUID, ppobjectopen: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StgDeserializePropVariant(pprop: *const SERIALIZEDPROPERTYVALUE, cbmax: u32, ppropvar: *mut PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn StgGetIFillLockBytesOnFile(pwcsname: ::windows_sys::core::PCWSTR, ppflb: *mut IFillLockBytes) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn StgGetIFillLockBytesOnILockBytes(pilb: ILockBytes, ppflb: *mut IFillLockBytes) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn StgIsStorageFile(pwcsname: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn StgIsStorageILockBytes(plkbyt: ILockBytes) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn StgOpenAsyncDocfileOnIFillLockBytes(pflb: IFillLockBytes, grfmode: u32, asyncflags: u32, ppstgopen: *mut IStorage) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn StgOpenLayoutDocfile(pwcsdfname: ::windows_sys::core::PCWSTR, grfmode: u32, reserved: u32, ppstgopen: *mut IStorage) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn StgOpenPropStg(punk: ::windows_sys::core::IUnknown, fmtid: *const ::windows_sys::core::GUID, grfflags: u32, dwreserved: u32, pppropstg: *mut IPropertyStorage) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn StgOpenStorage(pwcsname: ::windows_sys::core::PCWSTR, pstgpriority: IStorage, grfmode: STGM, snbexclude: *const *const u16, reserved: u32, ppstgopen: *mut IStorage) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn StgOpenStorageEx(pwcsname: ::windows_sys::core::PCWSTR, grfmode: STGM, stgfmt: STGFMT, grfattrs: u32, pstgoptions: *mut STGOPTIONS, psecuritydescriptor: super::super::super::Security::PSECURITY_DESCRIPTOR, riid: *const ::windows_sys::core::GUID, ppobjectopen: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn StgOpenStorageOnILockBytes(plkbyt: ILockBytes, pstgpriority: IStorage, grfmode: u32, snbexclude: *const *const u16, reserved: u32, ppstgopen: *mut IStorage) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn StgPropertyLengthAsVariant(pprop: *const SERIALIZEDPROPERTYVALUE, cbprop: u32, codepage: u16, breserved: u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StgSerializePropVariant(ppropvar: *const PROPVARIANT, ppprop: *mut *mut SERIALIZEDPROPERTYVALUE, pcb: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StgSetTimes(lpszname: ::windows_sys::core::PCWSTR, pctime: *const super::super::super::Foundation::FILETIME, patime: *const super::super::super::Foundation::FILETIME, pmtime: *const super::super::super::Foundation::FILETIME) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn WriteClassStg(pstg: IStorage, rclsid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn WriteClassStm(pstm: super::IStream, rclsid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] pub fn WriteFmtUserTypeStg(pstg: IStorage, cf: u16, lpszusertype: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/System/Com/Urlmon/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Com/Urlmon/mod.rs index df67992651..0cc28d1f80 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Com/Urlmon/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Com/Urlmon/mod.rs @@ -2,156 +2,372 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CoGetClassObjectFromURL(rclassid: *const ::windows_sys::core::GUID, szcode: ::windows_sys::core::PCWSTR, dwfileversionms: u32, dwfileversionls: u32, sztype: ::windows_sys::core::PCWSTR, pbindctx: super::IBindCtx, dwclscontext: super::CLSCTX, pvreserved: *mut ::core::ffi::c_void, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CoInternetCombineIUri(pbaseuri: super::IUri, prelativeuri: super::IUri, dwcombineflags: u32, ppcombineduri: *mut super::IUri, dwreserved: usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CoInternetCombineUrl(pwzbaseurl: ::windows_sys::core::PCWSTR, pwzrelativeurl: ::windows_sys::core::PCWSTR, dwcombineflags: u32, pszresult: ::windows_sys::core::PWSTR, cchresult: u32, pcchresult: *mut u32, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CoInternetCombineUrlEx(pbaseuri: super::IUri, pwzrelativeurl: ::windows_sys::core::PCWSTR, dwcombineflags: u32, ppcombineduri: *mut super::IUri, dwreserved: usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CoInternetCompareUrl(pwzurl1: ::windows_sys::core::PCWSTR, pwzurl2: ::windows_sys::core::PCWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CoInternetCreateSecurityManager(psp: super::IServiceProvider, ppsm: *mut IInternetSecurityManager, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CoInternetCreateZoneManager(psp: super::IServiceProvider, ppzm: *mut IInternetZoneManager, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CoInternetGetProtocolFlags(pwzurl: ::windows_sys::core::PCWSTR, pdwflags: *mut u32, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CoInternetGetSecurityUrl(pwszurl: ::windows_sys::core::PCWSTR, ppwszsecurl: *mut ::windows_sys::core::PWSTR, psuaction: PSUACTION, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CoInternetGetSecurityUrlEx(puri: super::IUri, ppsecuri: *mut super::IUri, psuaction: PSUACTION, dwreserved: usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CoInternetGetSession(dwsessionmode: u32, ppiinternetsession: *mut IInternetSession, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CoInternetIsFeatureEnabled(featureentry: INTERNETFEATURELIST, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CoInternetIsFeatureEnabledForIUri(featureentry: INTERNETFEATURELIST, dwflags: u32, piuri: super::IUri, psecmgr: IInternetSecurityManagerEx2) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CoInternetIsFeatureEnabledForUrl(featureentry: INTERNETFEATURELIST, dwflags: u32, szurl: ::windows_sys::core::PCWSTR, psecmgr: IInternetSecurityManager) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CoInternetIsFeatureZoneElevationEnabled(szfromurl: ::windows_sys::core::PCWSTR, sztourl: ::windows_sys::core::PCWSTR, psecmgr: IInternetSecurityManager, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CoInternetParseIUri(piuri: super::IUri, parseaction: PARSEACTION, dwflags: u32, pwzresult: ::windows_sys::core::PWSTR, cchresult: u32, pcchresult: *mut u32, dwreserved: usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CoInternetParseUrl(pwzurl: ::windows_sys::core::PCWSTR, parseaction: PARSEACTION, dwflags: u32, pszresult: ::windows_sys::core::PWSTR, cchresult: u32, pcchresult: *mut u32, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CoInternetQueryInfo(pwzurl: ::windows_sys::core::PCWSTR, queryoptions: QUERYOPTION, dwqueryflags: u32, pvbuffer: *mut ::core::ffi::c_void, cbbuffer: u32, pcbbuffer: *mut u32, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CoInternetSetFeatureEnabled(featureentry: INTERNETFEATURELIST, dwflags: u32, fenable: super::super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CompareSecurityIds(pbsecurityid1: *const u8, dwlen1: u32, pbsecurityid2: *const u8, dwlen2: u32, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CompatFlagsFromClsid(pclsid: *const ::windows_sys::core::GUID, pdwcompatflags: *mut u32, pdwmiscstatusflags: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))] pub fn CopyBindInfo(pcbisrc: *const super::BINDINFO, pbidest: *mut super::BINDINFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub fn CopyStgMedium(pcstgmedsrc: *const super::STGMEDIUM, pstgmeddest: *mut super::STGMEDIUM) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CreateAsyncBindCtx(reserved: u32, pbscb: super::IBindStatusCallback, pefetc: super::IEnumFORMATETC, ppbc: *mut super::IBindCtx) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CreateAsyncBindCtxEx(pbc: super::IBindCtx, dwoptions: u32, pbscb: super::IBindStatusCallback, penum: super::IEnumFORMATETC, ppbc: *mut super::IBindCtx, reserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CreateFormatEnumerator(cfmtetc: u32, rgfmtetc: *const super::FORMATETC, ppenumfmtetc: *mut super::IEnumFORMATETC) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CreateURLMoniker(pmkctx: super::IMoniker, szurl: ::windows_sys::core::PCWSTR, ppmk: *mut super::IMoniker) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CreateURLMonikerEx(pmkctx: super::IMoniker, szurl: ::windows_sys::core::PCWSTR, ppmk: *mut super::IMoniker, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn CreateURLMonikerEx2(pmkctx: super::IMoniker, puri: super::IUri, ppmk: *mut super::IMoniker, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FaultInIEFeature(hwnd: super::super::super::Foundation::HWND, pclassspec: *const super::uCLSSPEC, pquery: *mut super::QUERYCONTEXT, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn FindMediaType(rgsztypes: ::windows_sys::core::PCSTR, rgcftypes: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn FindMediaTypeClass(pbc: super::IBindCtx, sztype: ::windows_sys::core::PCSTR, pclsid: *mut ::windows_sys::core::GUID, reserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn FindMimeFromData(pbc: super::IBindCtx, pwzurl: ::windows_sys::core::PCWSTR, pbuffer: *const ::core::ffi::c_void, cbsize: u32, pwzmimeproposed: ::windows_sys::core::PCWSTR, dwmimeflags: u32, ppwzmimeout: *mut ::windows_sys::core::PWSTR, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn GetClassFileOrMime(pbc: super::IBindCtx, szfilename: ::windows_sys::core::PCWSTR, pbuffer: *const ::core::ffi::c_void, cbsize: u32, szmime: ::windows_sys::core::PCWSTR, dwreserved: u32, pclsid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn GetClassURL(szurl: ::windows_sys::core::PCWSTR, pclsid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn GetComponentIDFromCLSSPEC(pclassspec: *const super::uCLSSPEC, ppszcomponentid: *mut ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn GetSoftwareUpdateInfo(szdistunit: ::windows_sys::core::PCWSTR, psdi: *mut SOFTDISTINFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn HlinkGoBack(punk: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn HlinkGoForward(punk: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn HlinkNavigateMoniker(punk: ::windows_sys::core::IUnknown, pmktarget: super::IMoniker) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn HlinkNavigateString(punk: ::windows_sys::core::IUnknown, sztarget: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn HlinkSimpleNavigateToMoniker(pmktarget: super::IMoniker, szlocation: ::windows_sys::core::PCWSTR, sztargetframename: ::windows_sys::core::PCWSTR, punk: ::windows_sys::core::IUnknown, pbc: super::IBindCtx, param5: super::IBindStatusCallback, grfhlnf: u32, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn HlinkSimpleNavigateToString(sztarget: ::windows_sys::core::PCWSTR, szlocation: ::windows_sys::core::PCWSTR, sztargetframename: ::windows_sys::core::PCWSTR, punk: ::windows_sys::core::IUnknown, pbc: super::IBindCtx, param5: super::IBindStatusCallback, grfhlnf: u32, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn IEGetUserPrivateNamespaceName() -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn IEInstallScope(pdwscope: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn IsAsyncMoniker(pmk: super::IMoniker) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsLoggingEnabledA(pszurl: ::windows_sys::core::PCSTR) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsLoggingEnabledW(pwszurl: ::windows_sys::core::PCWSTR) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn IsValidURL(pbc: super::IBindCtx, szurl: ::windows_sys::core::PCWSTR, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn MkParseDisplayNameEx(pbc: super::IBindCtx, szdisplayname: ::windows_sys::core::PCWSTR, pcheaten: *mut u32, ppmk: *mut super::IMoniker) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn ObtainUserAgentString(dwoption: u32, pszuaout: ::windows_sys::core::PSTR, cbsize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn RegisterBindStatusCallback(pbc: super::IBindCtx, pbscb: super::IBindStatusCallback, ppbscbprev: *mut super::IBindStatusCallback, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn RegisterFormatEnumerator(pbc: super::IBindCtx, pefetc: super::IEnumFORMATETC, reserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn RegisterMediaTypeClass(pbc: super::IBindCtx, ctypes: u32, rgsztypes: *const ::windows_sys::core::PSTR, rgclsid: *const ::windows_sys::core::GUID, reserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn RegisterMediaTypes(ctypes: u32, rgsztypes: *const ::windows_sys::core::PSTR, rgcftypes: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))] pub fn ReleaseBindInfo(pbindinfo: *mut super::BINDINFO); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn RevokeBindStatusCallback(pbc: super::IBindCtx, pbscb: super::IBindStatusCallback) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn RevokeFormatEnumerator(pbc: super::IBindCtx, pefetc: super::IEnumFORMATETC) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetAccessForIEAppContainer(hobject: super::super::super::Foundation::HANDLE, ieobjecttype: IEObjectType, dwaccessmask: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn SetSoftwareUpdateAdvertisementState(szdistunit: ::windows_sys::core::PCWSTR, dwadstate: u32, dwadvertisedversionms: u32, dwadvertisedversionls: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn URLDownloadToCacheFileA(param0: ::windows_sys::core::IUnknown, param1: ::windows_sys::core::PCSTR, param2: ::windows_sys::core::PSTR, cchfilename: u32, param4: u32, param5: super::IBindStatusCallback) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn URLDownloadToCacheFileW(param0: ::windows_sys::core::IUnknown, param1: ::windows_sys::core::PCWSTR, param2: ::windows_sys::core::PWSTR, cchfilename: u32, param4: u32, param5: super::IBindStatusCallback) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn URLDownloadToFileA(param0: ::windows_sys::core::IUnknown, param1: ::windows_sys::core::PCSTR, param2: ::windows_sys::core::PCSTR, param3: u32, param4: super::IBindStatusCallback) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn URLDownloadToFileW(param0: ::windows_sys::core::IUnknown, param1: ::windows_sys::core::PCWSTR, param2: ::windows_sys::core::PCWSTR, param3: u32, param4: super::IBindStatusCallback) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn URLOpenBlockingStreamA(param0: ::windows_sys::core::IUnknown, param1: ::windows_sys::core::PCSTR, param2: *mut super::IStream, param3: u32, param4: super::IBindStatusCallback) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn URLOpenBlockingStreamW(param0: ::windows_sys::core::IUnknown, param1: ::windows_sys::core::PCWSTR, param2: *mut super::IStream, param3: u32, param4: super::IBindStatusCallback) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn URLOpenPullStreamA(param0: ::windows_sys::core::IUnknown, param1: ::windows_sys::core::PCSTR, param2: u32, param3: super::IBindStatusCallback) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn URLOpenPullStreamW(param0: ::windows_sys::core::IUnknown, param1: ::windows_sys::core::PCWSTR, param2: u32, param3: super::IBindStatusCallback) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn URLOpenStreamA(param0: ::windows_sys::core::IUnknown, param1: ::windows_sys::core::PCSTR, param2: u32, param3: super::IBindStatusCallback) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn URLOpenStreamW(param0: ::windows_sys::core::IUnknown, param1: ::windows_sys::core::PCWSTR, param2: u32, param3: super::IBindStatusCallback) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn UrlMkGetSessionOption(dwoption: u32, pbuffer: *mut ::core::ffi::c_void, dwbufferlength: u32, pdwbufferlengthout: *mut u32, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] pub fn UrlMkSetSessionOption(dwoption: u32, pbuffer: *const ::core::ffi::c_void, dwbufferlength: u32, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WriteHitLogging(lplogginginfo: *const HIT_LOGGING_INFO) -> super::super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/Com/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Com/mod.rs index dd936ff4a3..07dde5134c 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Com/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Com/mod.rs @@ -16,236 +16,563 @@ pub mod Urlmon; extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn BindMoniker(pmk: IMoniker, grfopt: u32, iidresult: *const ::windows_sys::core::GUID, ppvresult: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CLSIDFromProgID(lpszprogid: ::windows_sys::core::PCWSTR, lpclsid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CLSIDFromProgIDEx(lpszprogid: ::windows_sys::core::PCWSTR, lpclsid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CLSIDFromString(lpsz: ::windows_sys::core::PCWSTR, pclsid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoAddRefServerProcess() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoAllowSetForegroundWindow(punk: ::windows_sys::core::IUnknown, lpvreserved: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoAllowUnmarshalerCLSID(clsid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoBuildVersion() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoCancelCall(dwthreadid: u32, ultimeout: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoCopyProxy(pproxy: ::windows_sys::core::IUnknown, ppcopy: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoCreateFreeThreadedMarshaler(punkouter: ::windows_sys::core::IUnknown, ppunkmarshal: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoCreateGuid(pguid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoCreateInstance(rclsid: *const ::windows_sys::core::GUID, punkouter: ::windows_sys::core::IUnknown, dwclscontext: CLSCTX, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoCreateInstanceEx(clsid: *const ::windows_sys::core::GUID, punkouter: ::windows_sys::core::IUnknown, dwclsctx: CLSCTX, pserverinfo: *const COSERVERINFO, dwcount: u32, presults: *mut MULTI_QI) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoCreateInstanceFromApp(clsid: *const ::windows_sys::core::GUID, punkouter: ::windows_sys::core::IUnknown, dwclsctx: CLSCTX, reserved: *const ::core::ffi::c_void, dwcount: u32, presults: *mut MULTI_QI) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoDecrementMTAUsage(cookie: CO_MTA_USAGE_COOKIE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoDisableCallCancellation(preserved: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoDisconnectContext(dwtimeout: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoDisconnectObject(punk: ::windows_sys::core::IUnknown, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CoDosDateTimeToFileTime(ndosdate: u16, ndostime: u16, lpfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoEnableCallCancellation(preserved: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CoFileTimeNow(lpfiletime: *mut super::super::Foundation::FILETIME) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CoFileTimeToDosDateTime(lpfiletime: *const super::super::Foundation::FILETIME, lpdosdate: *mut u16, lpdostime: *mut u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoFreeAllLibraries(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CoFreeLibrary(hinst: super::super::Foundation::HINSTANCE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoFreeUnusedLibraries(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoFreeUnusedLibrariesEx(dwunloaddelay: u32, dwreserved: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoGetApartmentType(papttype: *mut APTTYPE, paptqualifier: *mut APTTYPEQUALIFIER) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoGetCallContext(riid: *const ::windows_sys::core::GUID, ppinterface: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoGetCallerTID(lpdwtid: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoGetCancelObject(dwthreadid: u32, iid: *const ::windows_sys::core::GUID, ppunk: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoGetClassObject(rclsid: *const ::windows_sys::core::GUID, dwclscontext: CLSCTX, pvreserved: *const ::core::ffi::c_void, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoGetContextToken(ptoken: *mut usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoGetCurrentLogicalThreadId(pguid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoGetCurrentProcess() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoGetMalloc(dwmemcontext: u32, ppmalloc: *mut IMalloc) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoGetObject(pszname: ::windows_sys::core::PCWSTR, pbindoptions: *const BIND_OPTS, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoGetObjectContext(riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoGetPSClsid(riid: *const ::windows_sys::core::GUID, pclsid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn CoGetSystemSecurityPermissions(comsdtype: COMSD, ppsd: *mut super::super::Security::PSECURITY_DESCRIPTOR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoGetTreatAsClass(clsidold: *const ::windows_sys::core::GUID, pclsidnew: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoImpersonateClient() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoIncrementMTAUsage(pcookie: *mut CO_MTA_USAGE_COOKIE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoInitialize(pvreserved: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoInitializeEx(pvreserved: *const ::core::ffi::c_void, dwcoinit: COINIT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn CoInitializeSecurity(psecdesc: super::super::Security::PSECURITY_DESCRIPTOR, cauthsvc: i32, asauthsvc: *const SOLE_AUTHENTICATION_SERVICE, preserved1: *const ::core::ffi::c_void, dwauthnlevel: RPC_C_AUTHN_LEVEL, dwimplevel: RPC_C_IMP_LEVEL, pauthlist: *const ::core::ffi::c_void, dwcapabilities: EOLE_AUTHENTICATION_CAPABILITIES, preserved3: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoInstall(pbc: IBindCtx, dwflags: u32, pclassspec: *const uCLSSPEC, pquery: *const QUERYCONTEXT, pszcodebase: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoInvalidateRemoteMachineBindings(pszmachinename: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CoIsHandlerConnected(punk: ::windows_sys::core::IUnknown) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CoIsOle1Class(rclsid: *const ::windows_sys::core::GUID) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CoLoadLibrary(lpszlibname: ::windows_sys::core::PCWSTR, bautofree: super::super::Foundation::BOOL) -> super::super::Foundation::HINSTANCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CoLockObjectExternal(punk: ::windows_sys::core::IUnknown, flock: super::super::Foundation::BOOL, flastunlockreleases: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoQueryAuthenticationServices(pcauthsvc: *mut u32, asauthsvc: *mut *mut SOLE_AUTHENTICATION_SERVICE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoQueryClientBlanket(pauthnsvc: *mut u32, pauthzsvc: *mut u32, pserverprincname: *mut ::windows_sys::core::PWSTR, pauthnlevel: *mut u32, pimplevel: *mut u32, pprivs: *mut *mut ::core::ffi::c_void, pcapabilities: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoQueryProxyBlanket(pproxy: ::windows_sys::core::IUnknown, pwauthnsvc: *mut u32, pauthzsvc: *mut u32, pserverprincname: *mut ::windows_sys::core::PWSTR, pauthnlevel: *mut u32, pimplevel: *mut u32, pauthinfo: *mut *mut ::core::ffi::c_void, pcapabilites: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoRegisterActivationFilter(pactivationfilter: IActivationFilter) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoRegisterChannelHook(extensionuuid: *const ::windows_sys::core::GUID, pchannelhook: IChannelHook) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoRegisterClassObject(rclsid: *const ::windows_sys::core::GUID, punk: ::windows_sys::core::IUnknown, dwclscontext: CLSCTX, flags: REGCLS, lpdwregister: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoRegisterDeviceCatalog(deviceinstanceid: ::windows_sys::core::PCWSTR, cookie: *mut CO_DEVICE_CATALOG_COOKIE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoRegisterInitializeSpy(pspy: IInitializeSpy, pulicookie: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoRegisterMallocSpy(pmallocspy: IMallocSpy) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoRegisterPSClsid(riid: *const ::windows_sys::core::GUID, rclsid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoRegisterSurrogate(psurrogate: ISurrogate) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoReleaseServerProcess() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoResumeClassObjects() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoRevertToSelf() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoRevokeClassObject(dwregister: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoRevokeDeviceCatalog(cookie: CO_DEVICE_CATALOG_COOKIE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoRevokeInitializeSpy(ulicookie: u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoRevokeMallocSpy() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoSetCancelObject(punk: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoSetProxyBlanket(pproxy: ::windows_sys::core::IUnknown, dwauthnsvc: u32, dwauthzsvc: u32, pserverprincname: ::windows_sys::core::PCWSTR, dwauthnlevel: RPC_C_AUTHN_LEVEL, dwimplevel: RPC_C_IMP_LEVEL, pauthinfo: *const ::core::ffi::c_void, dwcapabilities: EOLE_AUTHENTICATION_CAPABILITIES) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoSuspendClassObjects() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoSwitchCallContext(pnewobject: ::windows_sys::core::IUnknown, ppoldobject: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoTaskMemAlloc(cb: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoTaskMemFree(pv: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoTaskMemRealloc(pv: *const ::core::ffi::c_void, cb: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoTestCancel() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoTreatAsClass(clsidold: *const ::windows_sys::core::GUID, clsidnew: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CoUninitialize(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CoWaitForMultipleHandles(dwflags: u32, dwtimeout: u32, chandles: u32, phandles: *const super::super::Foundation::HANDLE, lpdwindex: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CoWaitForMultipleObjects(dwflags: u32, dwtimeout: u32, chandles: u32, phandles: *const super::super::Foundation::HANDLE, lpdwindex: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CreateAntiMoniker(ppmk: *mut IMoniker) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CreateBindCtx(reserved: u32, ppbc: *mut IBindCtx) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CreateClassMoniker(rclsid: *const ::windows_sys::core::GUID, ppmk: *mut IMoniker) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CreateDataAdviseHolder(ppdaholder: *mut IDataAdviseHolder) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CreateDataCache(punkouter: ::windows_sys::core::IUnknown, rclsid: *const ::windows_sys::core::GUID, iid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CreateFileMoniker(lpszpathname: ::windows_sys::core::PCWSTR, ppmk: *mut IMoniker) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CreateGenericComposite(pmkfirst: IMoniker, pmkrest: IMoniker, ppmkcomposite: *mut IMoniker) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CreateIUriBuilder(piuri: IUri, dwflags: u32, dwreserved: usize, ppiuribuilder: *mut IUriBuilder) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CreateItemMoniker(lpszdelim: ::windows_sys::core::PCWSTR, lpszitem: ::windows_sys::core::PCWSTR, ppmk: *mut IMoniker) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CreateObjrefMoniker(punk: ::windows_sys::core::IUnknown, ppmk: *mut IMoniker) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CreatePointerMoniker(punk: ::windows_sys::core::IUnknown, ppmk: *mut IMoniker) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateStdProgressIndicator(hwndparent: super::super::Foundation::HWND, psztitle: ::windows_sys::core::PCWSTR, pibsccaller: IBindStatusCallback, ppibsc: *mut IBindStatusCallback) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CreateUri(pwzuri: ::windows_sys::core::PCWSTR, dwflags: URI_CREATE_FLAGS, dwreserved: usize, ppuri: *mut IUri) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CreateUriFromMultiByteString(pszansiinputuri: ::windows_sys::core::PCSTR, dwencodingflags: u32, dwcodepage: u32, dwcreateflags: u32, dwreserved: usize, ppuri: *mut IUri) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn CreateUriWithFragment(pwzuri: ::windows_sys::core::PCWSTR, pwzfragment: ::windows_sys::core::PCWSTR, dwflags: u32, dwreserved: usize, ppuri: *mut IUri) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn DcomChannelSetHResult(pvreserved: *const ::core::ffi::c_void, pulreserved: *const u32, appshr: ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn GetClassFile(szfilename: ::windows_sys::core::PCWSTR, pclsid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn GetErrorInfo(dwreserved: u32, pperrinfo: *mut IErrorInfo) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn GetRunningObjectTable(reserved: u32, pprot: *mut IRunningObjectTable) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn IIDFromString(lpsz: ::windows_sys::core::PCWSTR, lpiid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn MkParseDisplayName(pbc: IBindCtx, szusername: ::windows_sys::core::PCWSTR, pcheaten: *mut u32, ppmk: *mut IMoniker) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn MonikerCommonPrefixWith(pmkthis: IMoniker, pmkother: IMoniker, ppmkcommon: *mut IMoniker) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MonikerRelativePathTo(pmksrc: IMoniker, pmkdest: IMoniker, ppmkrelpath: *mut IMoniker, dwreserved: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn ProgIDFromCLSID(clsid: *const ::windows_sys::core::GUID, lplpszprogid: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn SetErrorInfo(dwreserved: u32, perrinfo: IErrorInfo) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn StringFromCLSID(rclsid: *const ::windows_sys::core::GUID, lplpsz: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn StringFromGUID2(rguid: *const ::windows_sys::core::GUID, lpsz: ::windows_sys::core::PWSTR, cchmax: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Com\"`*"] pub fn StringFromIID(rclsid: *const ::windows_sys::core::GUID, lplpsz: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/System/ComponentServices/mod.rs b/crates/libs/sys/src/Windows/Win32/System/ComponentServices/mod.rs index 900c7be20c..cae6276055 100644 --- a/crates/libs/sys/src/Windows/Win32/System/ComponentServices/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/ComponentServices/mod.rs @@ -2,21 +2,45 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] pub fn CoCreateActivity(piunknown: ::windows_sys::core::IUnknown, riid: *const ::windows_sys::core::GUID, ppobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] pub fn CoEnterServiceDomain(pconfigobject: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn CoGetDefaultContext(apttype: super::Com::APTTYPE, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] pub fn CoLeaveServiceDomain(punkstatus: ::windows_sys::core::IUnknown); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] pub fn GetDispenserManager(param0: *mut IDispenserManager) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] pub fn GetManagedExtensions(dwexts: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] pub fn MTSCreateActivity(riid: *const ::windows_sys::core::GUID, ppobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] pub fn RecycleSurrogate(lreasoncode: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] pub fn SafeRef(rid: *const ::windows_sys::core::GUID, punk: ::windows_sys::core::IUnknown) -> *mut ::core::ffi::c_void; } diff --git a/crates/libs/sys/src/Windows/Win32/System/Console/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Console/mod.rs index 987f11a2a0..1233aa33ef 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Console/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Console/mod.rs @@ -3,257 +3,536 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddConsoleAliasA(source: ::windows_sys::core::PCSTR, target: ::windows_sys::core::PCSTR, exename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddConsoleAliasW(source: ::windows_sys::core::PCWSTR, target: ::windows_sys::core::PCWSTR, exename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AllocConsole() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AttachConsole(dwprocessid: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn ClosePseudoConsole(hpc: HPCON); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateConsoleScreenBuffer(dwdesiredaccess: u32, dwsharemode: u32, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, dwflags: u32, lpscreenbufferdata: *mut ::core::ffi::c_void) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreatePseudoConsole(size: COORD, hinput: super::super::Foundation::HANDLE, houtput: super::super::Foundation::HANDLE, dwflags: u32, phpc: *mut HPCON) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn ExpungeConsoleCommandHistoryA(exename: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn ExpungeConsoleCommandHistoryW(exename: ::windows_sys::core::PCWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FillConsoleOutputAttribute(hconsoleoutput: super::super::Foundation::HANDLE, wattribute: u16, nlength: u32, dwwritecoord: COORD, lpnumberofattrswritten: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FillConsoleOutputCharacterA(hconsoleoutput: super::super::Foundation::HANDLE, ccharacter: super::super::Foundation::CHAR, nlength: u32, dwwritecoord: COORD, lpnumberofcharswritten: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FillConsoleOutputCharacterW(hconsoleoutput: super::super::Foundation::HANDLE, ccharacter: u16, nlength: u32, dwwritecoord: COORD, lpnumberofcharswritten: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FlushConsoleInputBuffer(hconsoleinput: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreeConsole() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GenerateConsoleCtrlEvent(dwctrlevent: u32, dwprocessgroupid: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn GetConsoleAliasA(source: ::windows_sys::core::PCSTR, targetbuffer: ::windows_sys::core::PSTR, targetbufferlength: u32, exename: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn GetConsoleAliasExesA(exenamebuffer: ::windows_sys::core::PSTR, exenamebufferlength: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn GetConsoleAliasExesLengthA() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn GetConsoleAliasExesLengthW() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn GetConsoleAliasExesW(exenamebuffer: ::windows_sys::core::PWSTR, exenamebufferlength: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn GetConsoleAliasW(source: ::windows_sys::core::PCWSTR, targetbuffer: ::windows_sys::core::PWSTR, targetbufferlength: u32, exename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn GetConsoleAliasesA(aliasbuffer: ::windows_sys::core::PSTR, aliasbufferlength: u32, exename: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn GetConsoleAliasesLengthA(exename: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn GetConsoleAliasesLengthW(exename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn GetConsoleAliasesW(aliasbuffer: ::windows_sys::core::PWSTR, aliasbufferlength: u32, exename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn GetConsoleCP() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn GetConsoleCommandHistoryA(commands: ::windows_sys::core::PSTR, commandbufferlength: u32, exename: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn GetConsoleCommandHistoryLengthA(exename: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn GetConsoleCommandHistoryLengthW(exename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn GetConsoleCommandHistoryW(commands: ::windows_sys::core::PWSTR, commandbufferlength: u32, exename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetConsoleCursorInfo(hconsoleoutput: super::super::Foundation::HANDLE, lpconsolecursorinfo: *mut CONSOLE_CURSOR_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetConsoleDisplayMode(lpmodeflags: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetConsoleFontSize(hconsoleoutput: super::super::Foundation::HANDLE, nfont: u32) -> COORD; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetConsoleHistoryInfo(lpconsolehistoryinfo: *mut CONSOLE_HISTORY_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetConsoleMode(hconsolehandle: super::super::Foundation::HANDLE, lpmode: *mut CONSOLE_MODE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn GetConsoleOriginalTitleA(lpconsoletitle: ::windows_sys::core::PSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn GetConsoleOriginalTitleW(lpconsoletitle: ::windows_sys::core::PWSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn GetConsoleOutputCP() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn GetConsoleProcessList(lpdwprocesslist: *mut u32, dwprocesscount: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetConsoleScreenBufferInfo(hconsoleoutput: super::super::Foundation::HANDLE, lpconsolescreenbufferinfo: *mut CONSOLE_SCREEN_BUFFER_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetConsoleScreenBufferInfoEx(hconsoleoutput: super::super::Foundation::HANDLE, lpconsolescreenbufferinfoex: *mut CONSOLE_SCREEN_BUFFER_INFOEX) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetConsoleSelectionInfo(lpconsoleselectioninfo: *mut CONSOLE_SELECTION_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn GetConsoleTitleA(lpconsoletitle: ::windows_sys::core::PSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn GetConsoleTitleW(lpconsoletitle: ::windows_sys::core::PWSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetConsoleWindow() -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCurrentConsoleFont(hconsoleoutput: super::super::Foundation::HANDLE, bmaximumwindow: super::super::Foundation::BOOL, lpconsolecurrentfont: *mut CONSOLE_FONT_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCurrentConsoleFontEx(hconsoleoutput: super::super::Foundation::HANDLE, bmaximumwindow: super::super::Foundation::BOOL, lpconsolecurrentfontex: *mut CONSOLE_FONT_INFOEX) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetLargestConsoleWindowSize(hconsoleoutput: super::super::Foundation::HANDLE) -> COORD; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNumberOfConsoleInputEvents(hconsoleinput: super::super::Foundation::HANDLE, lpnumberofevents: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNumberOfConsoleMouseButtons(lpnumberofmousebuttons: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetStdHandle(nstdhandle: STD_HANDLE) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeekConsoleInputA(hconsoleinput: super::super::Foundation::HANDLE, lpbuffer: *mut INPUT_RECORD, nlength: u32, lpnumberofeventsread: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeekConsoleInputW(hconsoleinput: super::super::Foundation::HANDLE, lpbuffer: *mut INPUT_RECORD, nlength: u32, lpnumberofeventsread: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadConsoleA(hconsoleinput: super::super::Foundation::HANDLE, lpbuffer: *mut ::core::ffi::c_void, nnumberofcharstoread: u32, lpnumberofcharsread: *mut u32, pinputcontrol: *const CONSOLE_READCONSOLE_CONTROL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadConsoleInputA(hconsoleinput: super::super::Foundation::HANDLE, lpbuffer: *mut INPUT_RECORD, nlength: u32, lpnumberofeventsread: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadConsoleInputW(hconsoleinput: super::super::Foundation::HANDLE, lpbuffer: *mut INPUT_RECORD, nlength: u32, lpnumberofeventsread: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadConsoleOutputA(hconsoleoutput: super::super::Foundation::HANDLE, lpbuffer: *mut CHAR_INFO, dwbuffersize: COORD, dwbuffercoord: COORD, lpreadregion: *mut SMALL_RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadConsoleOutputAttribute(hconsoleoutput: super::super::Foundation::HANDLE, lpattribute: *mut u16, nlength: u32, dwreadcoord: COORD, lpnumberofattrsread: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadConsoleOutputCharacterA(hconsoleoutput: super::super::Foundation::HANDLE, lpcharacter: ::windows_sys::core::PSTR, nlength: u32, dwreadcoord: COORD, lpnumberofcharsread: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadConsoleOutputCharacterW(hconsoleoutput: super::super::Foundation::HANDLE, lpcharacter: ::windows_sys::core::PWSTR, nlength: u32, dwreadcoord: COORD, lpnumberofcharsread: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadConsoleOutputW(hconsoleoutput: super::super::Foundation::HANDLE, lpbuffer: *mut CHAR_INFO, dwbuffersize: COORD, dwbuffercoord: COORD, lpreadregion: *mut SMALL_RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadConsoleW(hconsoleinput: super::super::Foundation::HANDLE, lpbuffer: *mut ::core::ffi::c_void, nnumberofcharstoread: u32, lpnumberofcharsread: *mut u32, pinputcontrol: *const CONSOLE_READCONSOLE_CONTROL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`*"] pub fn ResizePseudoConsole(hpc: HPCON, size: COORD) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ScrollConsoleScreenBufferA(hconsoleoutput: super::super::Foundation::HANDLE, lpscrollrectangle: *const SMALL_RECT, lpcliprectangle: *const SMALL_RECT, dwdestinationorigin: COORD, lpfill: *const CHAR_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ScrollConsoleScreenBufferW(hconsoleoutput: super::super::Foundation::HANDLE, lpscrollrectangle: *const SMALL_RECT, lpcliprectangle: *const SMALL_RECT, dwdestinationorigin: COORD, lpfill: *const CHAR_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetConsoleActiveScreenBuffer(hconsoleoutput: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetConsoleCP(wcodepageid: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetConsoleCtrlHandler(handlerroutine: PHANDLER_ROUTINE, add: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetConsoleCursorInfo(hconsoleoutput: super::super::Foundation::HANDLE, lpconsolecursorinfo: *const CONSOLE_CURSOR_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetConsoleCursorPosition(hconsoleoutput: super::super::Foundation::HANDLE, dwcursorposition: COORD) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetConsoleDisplayMode(hconsoleoutput: super::super::Foundation::HANDLE, dwflags: u32, lpnewscreenbufferdimensions: *mut COORD) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetConsoleHistoryInfo(lpconsolehistoryinfo: *const CONSOLE_HISTORY_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetConsoleMode(hconsolehandle: super::super::Foundation::HANDLE, dwmode: CONSOLE_MODE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetConsoleNumberOfCommandsA(number: u32, exename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetConsoleNumberOfCommandsW(number: u32, exename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetConsoleOutputCP(wcodepageid: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetConsoleScreenBufferInfoEx(hconsoleoutput: super::super::Foundation::HANDLE, lpconsolescreenbufferinfoex: *const CONSOLE_SCREEN_BUFFER_INFOEX) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetConsoleScreenBufferSize(hconsoleoutput: super::super::Foundation::HANDLE, dwsize: COORD) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetConsoleTextAttribute(hconsoleoutput: super::super::Foundation::HANDLE, wattributes: CONSOLE_CHARACTER_ATTRIBUTES) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetConsoleTitleA(lpconsoletitle: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetConsoleTitleW(lpconsoletitle: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetConsoleWindowInfo(hconsoleoutput: super::super::Foundation::HANDLE, babsolute: super::super::Foundation::BOOL, lpconsolewindow: *const SMALL_RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetCurrentConsoleFontEx(hconsoleoutput: super::super::Foundation::HANDLE, bmaximumwindow: super::super::Foundation::BOOL, lpconsolecurrentfontex: *const CONSOLE_FONT_INFOEX) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetStdHandle(nstdhandle: STD_HANDLE, hhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetStdHandleEx(nstdhandle: STD_HANDLE, hhandle: super::super::Foundation::HANDLE, phprevvalue: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WriteConsoleA(hconsoleoutput: super::super::Foundation::HANDLE, lpbuffer: *const ::core::ffi::c_void, nnumberofcharstowrite: u32, lpnumberofcharswritten: *mut u32, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WriteConsoleInputA(hconsoleinput: super::super::Foundation::HANDLE, lpbuffer: *const INPUT_RECORD, nlength: u32, lpnumberofeventswritten: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WriteConsoleInputW(hconsoleinput: super::super::Foundation::HANDLE, lpbuffer: *const INPUT_RECORD, nlength: u32, lpnumberofeventswritten: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WriteConsoleOutputA(hconsoleoutput: super::super::Foundation::HANDLE, lpbuffer: *const CHAR_INFO, dwbuffersize: COORD, dwbuffercoord: COORD, lpwriteregion: *mut SMALL_RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WriteConsoleOutputAttribute(hconsoleoutput: super::super::Foundation::HANDLE, lpattribute: *const u16, nlength: u32, dwwritecoord: COORD, lpnumberofattrswritten: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WriteConsoleOutputCharacterA(hconsoleoutput: super::super::Foundation::HANDLE, lpcharacter: ::windows_sys::core::PCSTR, nlength: u32, dwwritecoord: COORD, lpnumberofcharswritten: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WriteConsoleOutputCharacterW(hconsoleoutput: super::super::Foundation::HANDLE, lpcharacter: ::windows_sys::core::PCWSTR, nlength: u32, dwwritecoord: COORD, lpnumberofcharswritten: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WriteConsoleOutputW(hconsoleoutput: super::super::Foundation::HANDLE, lpbuffer: *const CHAR_INFO, dwbuffersize: COORD, dwbuffercoord: COORD, lpwriteregion: *mut SMALL_RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WriteConsoleW(hconsoleoutput: super::super::Foundation::HANDLE, lpbuffer: *const ::core::ffi::c_void, nnumberofcharstowrite: u32, lpnumberofcharswritten: *mut u32, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/CorrelationVector/mod.rs b/crates/libs/sys/src/Windows/Win32/System/CorrelationVector/mod.rs index 7ad9d4a51a..c077a91e9a 100644 --- a/crates/libs/sys/src/Windows/Win32/System/CorrelationVector/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/CorrelationVector/mod.rs @@ -3,12 +3,21 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_CorrelationVector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtlExtendCorrelationVector(correlationvector: *mut CORRELATION_VECTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_CorrelationVector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtlIncrementCorrelationVector(correlationvector: *mut CORRELATION_VECTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_CorrelationVector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtlInitializeCorrelationVector(correlationvector: *mut CORRELATION_VECTOR, version: i32, guid: *const ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_CorrelationVector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtlValidateCorrelationVector(vector: *const CORRELATION_VECTOR) -> u32; diff --git a/crates/libs/sys/src/Windows/Win32/System/DataExchange/mod.rs b/crates/libs/sys/src/Windows/Win32/System/DataExchange/mod.rs index e28fa67cda..425e6cc199 100644 --- a/crates/libs/sys/src/Windows/Win32/System/DataExchange/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/DataExchange/mod.rs @@ -2,192 +2,420 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn AddAtomA(lpstring: ::windows_sys::core::PCSTR) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn AddAtomW(lpstring: ::windows_sys::core::PCWSTR) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddClipboardFormatListener(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ChangeClipboardChain(hwndremove: super::super::Foundation::HWND, hwndnewnext: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseClipboard() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn CountClipboardFormats() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DdeAbandonTransaction(idinst: u32, hconv: HCONV, idtransaction: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn DdeAccessData(hdata: HDDEDATA, pcbdatasize: *mut u32) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn DdeAddData(hdata: HDDEDATA, psrc: *const u8, cb: u32, cboff: u32) -> HDDEDATA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn DdeClientTransaction(pdata: *const u8, cbdata: u32, hconv: HCONV, hszitem: HSZ, wfmt: u32, wtype: DDE_CLIENT_TRANSACTION_TYPE, dwtimeout: u32, pdwresult: *mut u32) -> HDDEDATA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn DdeCmpStringHandles(hsz1: HSZ, hsz2: HSZ) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn DdeConnect(idinst: u32, hszservice: HSZ, hsztopic: HSZ, pcc: *const CONVCONTEXT) -> HCONV; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn DdeConnectList(idinst: u32, hszservice: HSZ, hsztopic: HSZ, hconvlist: HCONVLIST, pcc: *const CONVCONTEXT) -> HCONVLIST; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn DdeCreateDataHandle(idinst: u32, psrc: *const u8, cb: u32, cboff: u32, hszitem: HSZ, wfmt: u32, afcmd: u32) -> HDDEDATA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn DdeCreateStringHandleA(idinst: u32, psz: ::windows_sys::core::PCSTR, icodepage: i32) -> HSZ; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn DdeCreateStringHandleW(idinst: u32, psz: ::windows_sys::core::PCWSTR, icodepage: i32) -> HSZ; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DdeDisconnect(hconv: HCONV) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DdeDisconnectList(hconvlist: HCONVLIST) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DdeEnableCallback(idinst: u32, hconv: HCONV, wcmd: DDE_ENABLE_CALLBACK_CMD) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DdeFreeDataHandle(hdata: HDDEDATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DdeFreeStringHandle(idinst: u32, hsz: HSZ) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn DdeGetData(hdata: HDDEDATA, pdst: *mut u8, cbmax: u32, cboff: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn DdeGetLastError(idinst: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DdeImpersonateClient(hconv: HCONV) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn DdeInitializeA(pidinst: *mut u32, pfncallback: PFNCALLBACK, afcmd: DDE_INITIALIZE_COMMAND, ulres: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn DdeInitializeW(pidinst: *mut u32, pfncallback: PFNCALLBACK, afcmd: DDE_INITIALIZE_COMMAND, ulres: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DdeKeepStringHandle(idinst: u32, hsz: HSZ) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn DdeNameService(idinst: u32, hsz1: HSZ, hsz2: HSZ, afcmd: DDE_NAME_SERVICE_CMD) -> HDDEDATA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DdePostAdvise(idinst: u32, hsztopic: HSZ, hszitem: HSZ) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn DdeQueryConvInfo(hconv: HCONV, idtransaction: u32, pconvinfo: *mut CONVINFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn DdeQueryNextServer(hconvlist: HCONVLIST, hconvprev: HCONV) -> HCONV; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn DdeQueryStringA(idinst: u32, hsz: HSZ, psz: ::windows_sys::core::PSTR, cchmax: u32, icodepage: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn DdeQueryStringW(idinst: u32, hsz: HSZ, psz: ::windows_sys::core::PWSTR, cchmax: u32, icodepage: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn DdeReconnect(hconv: HCONV) -> HCONV; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn DdeSetQualityOfService(hwndclient: super::super::Foundation::HWND, pqosnew: *const super::super::Security::SECURITY_QUALITY_OF_SERVICE, pqosprev: *mut super::super::Security::SECURITY_QUALITY_OF_SERVICE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DdeSetUserHandle(hconv: HCONV, id: u32, huser: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DdeUnaccessData(hdata: HDDEDATA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DdeUninitialize(idinst: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn DeleteAtom(natom: u16) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EmptyClipboard() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn EnumClipboardFormats(format: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn FindAtomA(lpstring: ::windows_sys::core::PCSTR) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn FindAtomW(lpstring: ::windows_sys::core::PCWSTR) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreeDDElParam(msg: u32, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn GetAtomNameA(natom: u16, lpbuffer: ::windows_sys::core::PSTR, nsize: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn GetAtomNameW(natom: u16, lpbuffer: ::windows_sys::core::PWSTR, nsize: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetClipboardData(uformat: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn GetClipboardFormatNameA(format: u32, lpszformatname: ::windows_sys::core::PSTR, cchmaxcount: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn GetClipboardFormatNameW(format: u32, lpszformatname: ::windows_sys::core::PWSTR, cchmaxcount: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetClipboardOwner() -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn GetClipboardSequenceNumber() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetClipboardViewer() -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetOpenClipboardWindow() -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn GetPriorityClipboardFormat(paformatprioritylist: *const u32, cformats: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUpdatedClipboardFormats(lpuiformats: *mut u32, cformats: u32, pcformatsout: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn GlobalAddAtomA(lpstring: ::windows_sys::core::PCSTR) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn GlobalAddAtomExA(lpstring: ::windows_sys::core::PCSTR, flags: u32) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn GlobalAddAtomExW(lpstring: ::windows_sys::core::PCWSTR, flags: u32) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn GlobalAddAtomW(lpstring: ::windows_sys::core::PCWSTR) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn GlobalDeleteAtom(natom: u16) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn GlobalFindAtomA(lpstring: ::windows_sys::core::PCSTR) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn GlobalFindAtomW(lpstring: ::windows_sys::core::PCWSTR) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn GlobalGetAtomNameA(natom: u16, lpbuffer: ::windows_sys::core::PSTR, nsize: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn GlobalGetAtomNameW(natom: u16, lpbuffer: ::windows_sys::core::PWSTR, nsize: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImpersonateDdeClientWindow(hwndclient: super::super::Foundation::HWND, hwndserver: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InitAtomTable(nsize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsClipboardFormatAvailable(format: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenClipboard(hwndnewowner: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PackDDElParam(msg: u32, uilo: usize, uihi: usize) -> super::super::Foundation::LPARAM; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn RegisterClipboardFormatA(lpszformat: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] pub fn RegisterClipboardFormatW(lpszformat: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveClipboardFormatListener(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReuseDDElParam(lparam: super::super::Foundation::LPARAM, msgin: u32, msgout: u32, uilo: usize, uihi: usize) -> super::super::Foundation::LPARAM; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetClipboardData(uformat: u32, hmem: super::super::Foundation::HANDLE) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetClipboardViewer(hwndnewviewer: super::super::Foundation::HWND) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn SetWinMetaFileBits(nsize: u32, lpmeta16data: *const u8, hdcref: super::super::Graphics::Gdi::HDC, lpmfp: *const METAFILEPICT) -> super::super::Graphics::Gdi::HENHMETAFILE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnpackDDElParam(msg: u32, lparam: super::super::Foundation::LPARAM, puilo: *mut usize, puihi: *mut usize) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/DeploymentServices/mod.rs b/crates/libs/sys/src/Windows/Win32/System/DeploymentServices/mod.rs index cf9bfd256e..b6cf5a3301 100644 --- a/crates/libs/sys/src/Windows/Win32/System/DeploymentServices/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/DeploymentServices/mod.rs @@ -3,258 +3,537 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PxeAsyncRecvDone(hclientrequest: super::super::Foundation::HANDLE, action: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn PxeDhcpAppendOption(preplypacket: *mut ::core::ffi::c_void, umaxreplypacketlen: u32, pureplypacketlen: *mut u32, boption: u8, boptionlen: u8, pvalue: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn PxeDhcpAppendOptionRaw(preplypacket: *mut ::core::ffi::c_void, umaxreplypacketlen: u32, pureplypacketlen: *mut u32, ubufferlen: u16, pbuffer: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn PxeDhcpGetOptionValue(ppacket: *const ::core::ffi::c_void, upacketlen: u32, uinstance: u32, boption: u8, pboptionlen: *mut u8, ppoptionvalue: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn PxeDhcpGetVendorOptionValue(ppacket: *const ::core::ffi::c_void, upacketlen: u32, boption: u8, uinstance: u32, pboptionlen: *mut u8, ppoptionvalue: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn PxeDhcpInitialize(precvpacket: *const ::core::ffi::c_void, urecvpacketlen: u32, preplypacket: *mut ::core::ffi::c_void, umaxreplypacketlen: u32, pureplypacketlen: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PxeDhcpIsValid(ppacket: *const ::core::ffi::c_void, upacketlen: u32, brequestpacket: super::super::Foundation::BOOL, pbpxeoptionpresent: *mut super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn PxeDhcpv6AppendOption(preply: *mut ::core::ffi::c_void, cbreply: u32, pcbreplyused: *mut u32, woptiontype: u16, cboption: u16, poption: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn PxeDhcpv6AppendOptionRaw(preply: *mut ::core::ffi::c_void, cbreply: u32, pcbreplyused: *mut u32, cbbuffer: u16, pbuffer: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn PxeDhcpv6CreateRelayRepl(prelaymessages: *const PXE_DHCPV6_NESTED_RELAY_MESSAGE, nrelaymessages: u32, pinnerpacket: *const u8, cbinnerpacket: u32, preplybuffer: *mut ::core::ffi::c_void, cbreplybuffer: u32, pcbreplybuffer: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn PxeDhcpv6GetOptionValue(ppacket: *const ::core::ffi::c_void, upacketlen: u32, uinstance: u32, woption: u16, pwoptionlen: *mut u16, ppoptionvalue: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn PxeDhcpv6GetVendorOptionValue(ppacket: *const ::core::ffi::c_void, upacketlen: u32, dwenterprisenumber: u32, woption: u16, uinstance: u32, pwoptionlen: *mut u16, ppoptionvalue: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn PxeDhcpv6Initialize(prequest: *const ::core::ffi::c_void, cbrequest: u32, preply: *mut ::core::ffi::c_void, cbreply: u32, pcbreplyused: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PxeDhcpv6IsValid(ppacket: *const ::core::ffi::c_void, upacketlen: u32, brequestpacket: super::super::Foundation::BOOL, pbpxeoptionpresent: *mut super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn PxeDhcpv6ParseRelayForw(prelayforwpacket: *const ::core::ffi::c_void, urelayforwpacketlen: u32, prelaymessages: *mut PXE_DHCPV6_NESTED_RELAY_MESSAGE, nrelaymessages: u32, pnrelaymessages: *mut u32, ppinnerpacket: *mut *mut u8, pcbinnerpacket: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn PxeGetServerInfo(uinfotype: u32, pbuffer: *mut ::core::ffi::c_void, ubufferlen: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn PxeGetServerInfoEx(uinfotype: u32, pbuffer: *mut ::core::ffi::c_void, ubufferlen: u32, pubufferused: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PxePacketAllocate(hprovider: super::super::Foundation::HANDLE, hclientrequest: super::super::Foundation::HANDLE, usize: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PxePacketFree(hprovider: super::super::Foundation::HANDLE, hclientrequest: super::super::Foundation::HANDLE, ppacket: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PxeProviderEnumClose(henum: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PxeProviderEnumFirst(phenum: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PxeProviderEnumNext(henum: super::super::Foundation::HANDLE, ppprovider: *mut *mut PXE_PROVIDER) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PxeProviderFreeInfo(pprovider: *const PXE_PROVIDER) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn PxeProviderQueryIndex(pszprovidername: ::windows_sys::core::PCWSTR, puindex: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn PxeProviderRegister(pszprovidername: ::windows_sys::core::PCWSTR, pszmodulepath: ::windows_sys::core::PCWSTR, index: u32, biscritical: super::super::Foundation::BOOL, phproviderkey: *mut super::Registry::HKEY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PxeProviderSetAttribute(hprovider: super::super::Foundation::HANDLE, attribute: u32, pparameterbuffer: *const ::core::ffi::c_void, uparamlen: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn PxeProviderUnRegister(pszprovidername: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PxeRegisterCallback(hprovider: super::super::Foundation::HANDLE, callbacktype: u32, pcallbackfunction: *const ::core::ffi::c_void, pcontext: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PxeSendReply(hclientrequest: super::super::Foundation::HANDLE, ppacket: *const ::core::ffi::c_void, upacketlen: u32, paddress: *const PXE_ADDRESS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PxeTrace(hprovider: super::super::Foundation::HANDLE, severity: u32, pszformat: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PxeTraceV(hprovider: super::super::Foundation::HANDLE, severity: u32, pszformat: ::windows_sys::core::PCWSTR, params: *const i8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsBpAddOption(hhandle: super::super::Foundation::HANDLE, uoption: u32, uvaluelen: u32, pvalue: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsBpCloseHandle(hhandle: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsBpGetOptionBuffer(hhandle: super::super::Foundation::HANDLE, ubufferlen: u32, pbuffer: *mut ::core::ffi::c_void, pubytes: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsBpInitialize(bpackettype: u8, phhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsBpParseInitialize(ppacket: *const ::core::ffi::c_void, upacketlen: u32, pbpackettype: *mut u8, phhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsBpParseInitializev6(ppacket: *const ::core::ffi::c_void, upacketlen: u32, pbpackettype: *mut u8, phhandle: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsBpQueryOption(hhandle: super::super::Foundation::HANDLE, uoption: u32, uvaluelen: u32, pvalue: *mut ::core::ffi::c_void, pubytes: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliAuthorizeSession(hsession: super::super::Foundation::HANDLE, pcred: *const WDS_CLI_CRED) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliCancelTransfer(htransfer: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliClose(handle: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliCreateSession(pwszserver: ::windows_sys::core::PCWSTR, pcred: *const WDS_CLI_CRED, phsession: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliFindFirstImage(hsession: super::super::Foundation::HANDLE, phfindhandle: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliFindNextImage(handle: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn WdsCliFreeStringArray(ppwszarray: *mut ::windows_sys::core::PWSTR, ulcount: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn WdsCliGetDriverQueryXml(pwszwindirpath: ::windows_sys::core::PCWSTR, ppwszdriverquery: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliGetEnumerationFlags(handle: super::super::Foundation::HANDLE, pdwflags: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliGetImageArchitecture(hifh: super::super::Foundation::HANDLE, pdwvalue: *mut CPU_ARCHITECTURE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliGetImageDescription(hifh: super::super::Foundation::HANDLE, ppwszvalue: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliGetImageFiles(hifh: super::super::Foundation::HANDLE, pppwszfiles: *mut *mut ::windows_sys::core::PWSTR, pdwcount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliGetImageGroup(hifh: super::super::Foundation::HANDLE, ppwszvalue: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliGetImageHalName(hifh: super::super::Foundation::HANDLE, ppwszvalue: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliGetImageHandleFromFindHandle(findhandle: super::super::Foundation::HANDLE, phimagehandle: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliGetImageHandleFromTransferHandle(htransfer: super::super::Foundation::HANDLE, phimagehandle: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliGetImageIndex(hifh: super::super::Foundation::HANDLE, pdwvalue: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliGetImageLanguage(hifh: super::super::Foundation::HANDLE, ppwszvalue: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliGetImageLanguages(hifh: super::super::Foundation::HANDLE, pppszvalues: *mut *mut *mut i8, pdwnumvalues: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliGetImageLastModifiedTime(hifh: super::super::Foundation::HANDLE, ppsystimevalue: *mut *mut super::super::Foundation::SYSTEMTIME) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliGetImageName(hifh: super::super::Foundation::HANDLE, ppwszvalue: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliGetImageNamespace(hifh: super::super::Foundation::HANDLE, ppwszvalue: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliGetImageParameter(hifh: super::super::Foundation::HANDLE, paramtype: WDS_CLI_IMAGE_PARAM_TYPE, presponse: *mut ::core::ffi::c_void, uresponselen: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliGetImagePath(hifh: super::super::Foundation::HANDLE, ppwszvalue: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliGetImageSize(hifh: super::super::Foundation::HANDLE, pullvalue: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliGetImageType(hifh: super::super::Foundation::HANDLE, pimagetype: *mut WDS_CLI_IMAGE_TYPE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliGetImageVersion(hifh: super::super::Foundation::HANDLE, ppwszvalue: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliGetTransferSize(hifh: super::super::Foundation::HANDLE, pullvalue: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliInitializeLog(hsession: super::super::Foundation::HANDLE, ulclientarchitecture: CPU_ARCHITECTURE, pwszclientid: ::windows_sys::core::PCWSTR, pwszclientaddress: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliLog(hsession: super::super::Foundation::HANDLE, ulloglevel: u32, ulmessagecode: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliObtainDriverPackages(himage: super::super::Foundation::HANDLE, ppwszservername: *mut ::windows_sys::core::PWSTR, pppwszdriverpackages: *mut *mut ::windows_sys::core::PWSTR, pulcount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliObtainDriverPackagesEx(hsession: super::super::Foundation::HANDLE, pwszmachineinfo: ::windows_sys::core::PCWSTR, ppwszservername: *mut ::windows_sys::core::PWSTR, pppwszdriverpackages: *mut *mut ::windows_sys::core::PWSTR, pulcount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn WdsCliRegisterTrace(pfn: PFN_WdsCliTraceFunction) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn WdsCliSetTransferBufferSize(ulsizeinbytes: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliTransferFile(pwszserver: ::windows_sys::core::PCWSTR, pwsznamespace: ::windows_sys::core::PCWSTR, pwszremotefilepath: ::windows_sys::core::PCWSTR, pwszlocalfilepath: ::windows_sys::core::PCWSTR, dwflags: u32, dwreserved: u32, pfnwdsclicallback: PFN_WdsCliCallback, pvuserdata: *const ::core::ffi::c_void, phtransfer: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliTransferImage(himage: super::super::Foundation::HANDLE, pwszlocalpath: ::windows_sys::core::PCWSTR, dwflags: u32, dwreserved: u32, pfnwdsclicallback: PFN_WdsCliCallback, pvuserdata: *const ::core::ffi::c_void, phtransfer: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsCliWaitForTransfer(htransfer: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn WdsTransportClientAddRefBuffer(pvbuffer: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsTransportClientCancelSession(hsessionkey: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsTransportClientCancelSessionEx(hsessionkey: super::super::Foundation::HANDLE, dwerrorcode: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsTransportClientCloseSession(hsessionkey: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsTransportClientCompleteReceive(hsessionkey: super::super::Foundation::HANDLE, ulsize: u32, pulloffset: *const u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn WdsTransportClientInitialize() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsTransportClientInitializeSession(psessionrequest: *const WDS_TRANSPORTCLIENT_REQUEST, pcallerdata: *const ::core::ffi::c_void, hsessionkey: *mut super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsTransportClientQueryStatus(hsessionkey: super::super::Foundation::HANDLE, pustatus: *mut u32, puerrorcode: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsTransportClientRegisterCallback(hsessionkey: super::super::Foundation::HANDLE, callbackid: TRANSPORTCLIENT_CALLBACK_ID, pfncallback: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn WdsTransportClientReleaseBuffer(pvbuffer: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] pub fn WdsTransportClientShutdown() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsTransportClientStartSession(hsessionkey: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsTransportClientWaitForCompletion(hsessionkey: super::super::Foundation::HANDLE, utimeout: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsTransportServerAllocateBuffer(hprovider: super::super::Foundation::HANDLE, ulbuffersize: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsTransportServerCompleteRead(hprovider: super::super::Foundation::HANDLE, ulbytesread: u32, pvuserdata: *const ::core::ffi::c_void, hreadresult: ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsTransportServerFreeBuffer(hprovider: super::super::Foundation::HANDLE, pvbuffer: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsTransportServerRegisterCallback(hprovider: super::super::Foundation::HANDLE, callbackid: TRANSPORTPROVIDER_CALLBACK_ID, pfncallback: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsTransportServerTrace(hprovider: super::super::Foundation::HANDLE, severity: u32, pwszformat: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WdsTransportServerTraceV(hprovider: super::super::Foundation::HANDLE, severity: u32, pwszformat: ::windows_sys::core::PCWSTR, params: *const i8) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/System/DeveloperLicensing/mod.rs b/crates/libs/sys/src/Windows/Win32/System/DeveloperLicensing/mod.rs index 2c13b4406f..cdb2eef375 100644 --- a/crates/libs/sys/src/Windows/Win32/System/DeveloperLicensing/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/DeveloperLicensing/mod.rs @@ -3,9 +3,15 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_DeveloperLicensing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AcquireDeveloperLicense(hwndparent: super::super::Foundation::HWND, pexpiration: *mut super::super::Foundation::FILETIME) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeveloperLicensing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CheckDeveloperLicense(pexpiration: *mut super::super::Foundation::FILETIME) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_DeveloperLicensing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveDeveloperLicense(hwndparent: super::super::Foundation::HWND) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs index 29abc942cd..2f095d2132 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs @@ -3,987 +3,1968 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn AddVectoredContinueHandler(first: u32, handler: PVECTORED_EXCEPTION_HANDLER) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn AddVectoredExceptionHandler(first: u32, handler: PVECTORED_EXCEPTION_HANDLER) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Beep(dwfreq: u32, dwduration: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BindImage(imagename: ::windows_sys::core::PCSTR, dllpath: ::windows_sys::core::PCSTR, symbolpath: ::windows_sys::core::PCSTR) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BindImageEx(flags: u32, imagename: ::windows_sys::core::PCSTR, dllpath: ::windows_sys::core::PCSTR, symbolpath: ::windows_sys::core::PCSTR, statusroutine: PIMAGEHLP_STATUS_ROUTINE) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CheckRemoteDebuggerPresent(hprocess: super::super::super::Foundation::HANDLE, pbdebuggerpresent: *mut super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_System_SystemInformation")] pub fn CheckSumMappedFile(baseaddress: *const ::core::ffi::c_void, filelength: u32, headersum: *mut u32, checksum: *mut u32) -> *mut IMAGE_NT_HEADERS64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_System_SystemInformation")] pub fn CheckSumMappedFile(baseaddress: *const ::core::ffi::c_void, filelength: u32, headersum: *mut u32, checksum: *mut u32) -> *mut IMAGE_NT_HEADERS32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn CloseThreadWaitChainSession(wcthandle: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ContinueDebugEvent(dwprocessid: u32, dwthreadid: u32, dwcontinuestatus: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn CopyContext(destination: *mut CONTEXT, contextflags: u32, source: *const CONTEXT) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn CreateDataModelManager(debughost: IDebugHost, manager: *mut IDataModelManager) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DbgHelpCreateUserDump(filename: ::windows_sys::core::PCSTR, callback: PDBGHELP_CREATE_USER_DUMP_CALLBACK, userdata: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DbgHelpCreateUserDumpW(filename: ::windows_sys::core::PCWSTR, callback: PDBGHELP_CREATE_USER_DUMP_CALLBACK, userdata: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DebugActiveProcess(dwprocessid: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DebugActiveProcessStop(dwprocessid: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn DebugBreak(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DebugBreakProcess(process: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn DebugConnect(remoteoptions: ::windows_sys::core::PCSTR, interfaceid: *const ::windows_sys::core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn DebugConnectWide(remoteoptions: ::windows_sys::core::PCWSTR, interfaceid: *const ::windows_sys::core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn DebugCreate(interfaceid: *const ::windows_sys::core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn DebugCreateEx(interfaceid: *const ::windows_sys::core::GUID, dbgengoptions: u32, interface: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DebugSetProcessKillOnExit(killonexit: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn DecodePointer(ptr: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DecodeRemotePointer(processhandle: super::super::super::Foundation::HANDLE, ptr: *const ::core::ffi::c_void, decodedptr: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn DecodeSystemPointer(ptr: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn EncodePointer(ptr: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EncodeRemotePointer(processhandle: super::super::super::Foundation::HANDLE, ptr: *const ::core::ffi::c_void, encodedptr: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn EncodeSystemPointer(ptr: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumDirTree(hprocess: super::super::super::Foundation::HANDLE, rootpath: ::windows_sys::core::PCSTR, inputpathname: ::windows_sys::core::PCSTR, outputpathbuffer: ::windows_sys::core::PSTR, cb: PENUMDIRTREE_CALLBACK, data: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumDirTreeW(hprocess: super::super::super::Foundation::HANDLE, rootpath: ::windows_sys::core::PCWSTR, inputpathname: ::windows_sys::core::PCWSTR, outputpathbuffer: ::windows_sys::core::PWSTR, cb: PENUMDIRTREE_CALLBACKW, data: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Foundation")] pub fn EnumerateLoadedModules(hprocess: super::super::super::Foundation::HANDLE, enumloadedmodulescallback: PENUMLOADED_MODULES_CALLBACK, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumerateLoadedModules64(hprocess: super::super::super::Foundation::HANDLE, enumloadedmodulescallback: PENUMLOADED_MODULES_CALLBACK64, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumerateLoadedModulesEx(hprocess: super::super::super::Foundation::HANDLE, enumloadedmodulescallback: PENUMLOADED_MODULES_CALLBACK64, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumerateLoadedModulesExW(hprocess: super::super::super::Foundation::HANDLE, enumloadedmodulescallback: PENUMLOADED_MODULES_CALLBACKW64, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumerateLoadedModulesW64(hprocess: super::super::super::Foundation::HANDLE, enumloadedmodulescallback: PENUMLOADED_MODULES_CALLBACKW64, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn FatalAppExitA(uaction: u32, lpmessagetext: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn FatalAppExitW(uaction: u32, lpmessagetext: ::windows_sys::core::PCWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn FatalExit(exitcode: i32) -> !; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindDebugInfoFile(filename: ::windows_sys::core::PCSTR, symbolpath: ::windows_sys::core::PCSTR, debugfilepath: ::windows_sys::core::PSTR) -> super::super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindDebugInfoFileEx(filename: ::windows_sys::core::PCSTR, symbolpath: ::windows_sys::core::PCSTR, debugfilepath: ::windows_sys::core::PSTR, callback: PFIND_DEBUG_FILE_CALLBACK, callerdata: *const ::core::ffi::c_void) -> super::super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindDebugInfoFileExW(filename: ::windows_sys::core::PCWSTR, symbolpath: ::windows_sys::core::PCWSTR, debugfilepath: ::windows_sys::core::PWSTR, callback: PFIND_DEBUG_FILE_CALLBACKW, callerdata: *const ::core::ffi::c_void) -> super::super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindExecutableImage(filename: ::windows_sys::core::PCSTR, symbolpath: ::windows_sys::core::PCSTR, imagefilepath: ::windows_sys::core::PSTR) -> super::super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindExecutableImageEx(filename: ::windows_sys::core::PCSTR, symbolpath: ::windows_sys::core::PCSTR, imagefilepath: ::windows_sys::core::PSTR, callback: PFIND_EXE_FILE_CALLBACK, callerdata: *const ::core::ffi::c_void) -> super::super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindExecutableImageExW(filename: ::windows_sys::core::PCWSTR, symbolpath: ::windows_sys::core::PCWSTR, imagefilepath: ::windows_sys::core::PWSTR, callback: PFIND_EXE_FILE_CALLBACKW, callerdata: *const ::core::ffi::c_void) -> super::super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindFileInPath(hprocess: super::super::super::Foundation::HANDLE, searchpatha: ::windows_sys::core::PCSTR, filename: ::windows_sys::core::PCSTR, id: *const ::core::ffi::c_void, two: u32, three: u32, flags: u32, filepath: ::windows_sys::core::PSTR) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindFileInSearchPath(hprocess: super::super::super::Foundation::HANDLE, searchpatha: ::windows_sys::core::PCSTR, filename: ::windows_sys::core::PCSTR, one: u32, two: u32, three: u32, filepath: ::windows_sys::core::PSTR) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FlushInstructionCache(hprocess: super::super::super::Foundation::HANDLE, lpbaseaddress: *const ::core::ffi::c_void, dwsize: usize) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn FormatMessageA(dwflags: FORMAT_MESSAGE_OPTIONS, lpsource: *const ::core::ffi::c_void, dwmessageid: u32, dwlanguageid: u32, lpbuffer: ::windows_sys::core::PSTR, nsize: u32, arguments: *const *const i8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn FormatMessageW(dwflags: FORMAT_MESSAGE_OPTIONS, lpsource: *const ::core::ffi::c_void, dwmessageid: u32, dwlanguageid: u32, lpbuffer: ::windows_sys::core::PWSTR, nsize: u32, arguments: *const *const i8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] pub fn GetEnabledXStateFeatures() -> u64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn GetErrorMode() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_SystemInformation"))] pub fn GetImageConfigInformation(loadedimage: *const LOADED_IMAGE, imageconfiginformation: *mut IMAGE_LOAD_CONFIG_DIRECTORY64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(target_arch = "x86")] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_SystemInformation"))] pub fn GetImageConfigInformation(loadedimage: *const LOADED_IMAGE, imageconfiginformation: *mut IMAGE_LOAD_CONFIG_DIRECTORY32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_SystemInformation"))] pub fn GetImageUnusedHeaderBytes(loadedimage: *const LOADED_IMAGE, sizeunusedheaderbytes: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn GetSymLoadError() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn GetThreadContext(hthread: super::super::super::Foundation::HANDLE, lpcontext: *mut CONTEXT) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn GetThreadErrorMode() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetThreadSelectorEntry(hthread: super::super::super::Foundation::HANDLE, dwselector: u32, lpselectorentry: *mut LDT_ENTRY) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetThreadWaitChain(wcthandle: *const ::core::ffi::c_void, context: usize, flags: WAIT_CHAIN_THREAD_OPTIONS, threadid: u32, nodecount: *mut u32, nodeinfoarray: *mut WAITCHAIN_NODE_INFO, iscycle: *mut i32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTimestampForLoadedLibrary(module: super::super::super::Foundation::HINSTANCE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn GetXStateFeaturesMask(context: *const CONTEXT, featuremask: *mut u64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_Security_WinTrust\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_WinTrust"))] pub fn ImageAddCertificate(filehandle: super::super::super::Foundation::HANDLE, certificate: *const super::super::super::Security::WinTrust::WIN_CERTIFICATE, index: *mut u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImageDirectoryEntryToData(base: *const ::core::ffi::c_void, mappedasimage: super::super::super::Foundation::BOOLEAN, directoryentry: IMAGE_DIRECTORY_ENTRY, size: *mut u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImageDirectoryEntryToDataEx(base: *const ::core::ffi::c_void, mappedasimage: super::super::super::Foundation::BOOLEAN, directoryentry: IMAGE_DIRECTORY_ENTRY, size: *mut u32, foundheader: *mut *mut IMAGE_SECTION_HEADER) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImageEnumerateCertificates(filehandle: super::super::super::Foundation::HANDLE, typefilter: u16, certificatecount: *mut u32, indices: *mut u32, indexcount: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_Security_WinTrust\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_WinTrust"))] pub fn ImageGetCertificateData(filehandle: super::super::super::Foundation::HANDLE, certificateindex: u32, certificate: *mut super::super::super::Security::WinTrust::WIN_CERTIFICATE, requiredlength: *mut u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_Security_WinTrust\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_WinTrust"))] pub fn ImageGetCertificateHeader(filehandle: super::super::super::Foundation::HANDLE, certificateindex: u32, certificateheader: *mut super::super::super::Security::WinTrust::WIN_CERTIFICATE) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImageGetDigestStream(filehandle: super::super::super::Foundation::HANDLE, digestlevel: u32, digestfunction: DIGEST_FUNCTION, digesthandle: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_SystemInformation"))] pub fn ImageLoad(dllname: ::windows_sys::core::PCSTR, dllpath: ::windows_sys::core::PCSTR) -> *mut LOADED_IMAGE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_System_SystemInformation")] pub fn ImageNtHeader(base: *const ::core::ffi::c_void) -> *mut IMAGE_NT_HEADERS64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_System_SystemInformation")] pub fn ImageNtHeader(base: *const ::core::ffi::c_void) -> *mut IMAGE_NT_HEADERS32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImageRemoveCertificate(filehandle: super::super::super::Foundation::HANDLE, index: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_System_SystemInformation")] pub fn ImageRvaToSection(ntheaders: *const IMAGE_NT_HEADERS64, base: *const ::core::ffi::c_void, rva: u32) -> *mut IMAGE_SECTION_HEADER; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_System_SystemInformation")] pub fn ImageRvaToSection(ntheaders: *const IMAGE_NT_HEADERS32, base: *const ::core::ffi::c_void, rva: u32) -> *mut IMAGE_SECTION_HEADER; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_System_SystemInformation")] pub fn ImageRvaToVa(ntheaders: *const IMAGE_NT_HEADERS64, base: *const ::core::ffi::c_void, rva: u32, lastrvasection: *const *const IMAGE_SECTION_HEADER) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_System_SystemInformation")] pub fn ImageRvaToVa(ntheaders: *const IMAGE_NT_HEADERS32, base: *const ::core::ffi::c_void, rva: u32, lastrvasection: *const *const IMAGE_SECTION_HEADER) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_SystemInformation"))] pub fn ImageUnload(loadedimage: *mut LOADED_IMAGE) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn ImagehlpApiVersion() -> *mut API_VERSION; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn ImagehlpApiVersionEx(appversion: *const API_VERSION) -> *mut API_VERSION; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn InitializeContext(buffer: *mut ::core::ffi::c_void, contextflags: u32, context: *mut *mut CONTEXT, contextlength: *mut u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn InitializeContext2(buffer: *mut ::core::ffi::c_void, contextflags: u32, context: *mut *mut CONTEXT, contextlength: *mut u32, xstatecompactionmask: u64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsDebuggerPresent() -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"] #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] #[cfg(feature = "Win32_System_Kernel")] pub fn LocateXStateFeature(context: *const CONTEXT, featureid: u32, length: *mut u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MakeSureDirectoryPathExists(dirpath: ::windows_sys::core::PCSTR) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_SystemInformation"))] pub fn MapAndLoad(imagename: ::windows_sys::core::PCSTR, dllpath: ::windows_sys::core::PCSTR, loadedimage: *mut LOADED_IMAGE, dotdll: super::super::super::Foundation::BOOL, readonly: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn MapFileAndCheckSumA(filename: ::windows_sys::core::PCSTR, headersum: *mut u32, checksum: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn MapFileAndCheckSumW(filename: ::windows_sys::core::PCWSTR, headersum: *mut u32, checksum: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MessageBeep(utype: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MiniDumpReadDumpStream(baseofdump: *const ::core::ffi::c_void, streamnumber: u32, dir: *mut *mut MINIDUMP_DIRECTORY, streampointer: *mut *mut ::core::ffi::c_void, streamsize: *mut u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Memory\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem", feature = "Win32_System_Kernel", feature = "Win32_System_Memory"))] pub fn MiniDumpWriteDump(hprocess: super::super::super::Foundation::HANDLE, processid: u32, hfile: super::super::super::Foundation::HANDLE, dumptype: MINIDUMP_TYPE, exceptionparam: *const MINIDUMP_EXCEPTION_INFORMATION, userstreamparam: *const MINIDUMP_USER_STREAM_INFORMATION, callbackparam: *const MINIDUMP_CALLBACK_INFORMATION) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenThreadWaitChainSession(flags: OPEN_THREAD_WAIT_CHAIN_SESSION_FLAGS, callback: PWAITCHAINCALLBACK) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn OutputDebugStringA(lpoutputstring: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn OutputDebugStringW(lpoutputstring: ::windows_sys::core::PCWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn RaiseException(dwexceptioncode: u32, dwexceptionflags: u32, nnumberofarguments: u32, lparguments: *const usize); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn RaiseFailFastException(pexceptionrecord: *const EXCEPTION_RECORD, pcontextrecord: *const CONTEXT, dwflags: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RangeMapAddPeImageSections(rmaphandle: *const ::core::ffi::c_void, imagename: ::windows_sys::core::PCWSTR, mappedimage: *const ::core::ffi::c_void, mappingbytes: u32, imagebase: u64, usertag: u64, mappingflags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn RangeMapCreate() -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn RangeMapFree(rmaphandle: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RangeMapRead(rmaphandle: *const ::core::ffi::c_void, offset: u64, buffer: *mut ::core::ffi::c_void, requestbytes: u32, flags: u32, donebytes: *mut u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RangeMapRemove(rmaphandle: *const ::core::ffi::c_void, usertag: u64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RangeMapWrite(rmaphandle: *const ::core::ffi::c_void, offset: u64, buffer: *const ::core::ffi::c_void, requestbytes: u32, flags: u32, donebytes: *mut u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReBaseImage(currentimagename: ::windows_sys::core::PCSTR, symbolpath: ::windows_sys::core::PCSTR, frebase: super::super::super::Foundation::BOOL, frebasesysfileok: super::super::super::Foundation::BOOL, fgoingdown: super::super::super::Foundation::BOOL, checkimagesize: u32, oldimagesize: *mut u32, oldimagebase: *mut usize, newimagesize: *mut u32, newimagebase: *mut usize, timestamp: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReBaseImage64(currentimagename: ::windows_sys::core::PCSTR, symbolpath: ::windows_sys::core::PCSTR, frebase: super::super::super::Foundation::BOOL, frebasesysfileok: super::super::super::Foundation::BOOL, fgoingdown: super::super::super::Foundation::BOOL, checkimagesize: u32, oldimagesize: *mut u32, oldimagebase: *mut u64, newimagesize: *mut u32, newimagebase: *mut u64, timestamp: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadProcessMemory(hprocess: super::super::super::Foundation::HANDLE, lpbaseaddress: *const ::core::ffi::c_void, lpbuffer: *mut ::core::ffi::c_void, nsize: usize, lpnumberofbytesread: *mut usize) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn RegisterWaitChainCOMCallback(callstatecallback: PCOGETCALLSTATE, activationstatecallback: PCOGETACTIVATIONSTATE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveInvalidModuleList(hprocess: super::super::super::Foundation::HANDLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn RemoveVectoredContinueHandler(handle: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn RemoveVectoredExceptionHandler(handle: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReportSymbolLoadSummary(hprocess: super::super::super::Foundation::HANDLE, ploadmodule: ::windows_sys::core::PCWSTR, psymboldata: *const DBGHELP_DATA_REPORT_STRUCT) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "aarch64")] #[cfg(feature = "Win32_Foundation")] pub fn RtlAddFunctionTable(functiontable: *const IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY, entrycount: u32, baseaddress: usize) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86_64")] #[cfg(feature = "Win32_Foundation")] pub fn RtlAddFunctionTable(functiontable: *const IMAGE_RUNTIME_FUNCTION_ENTRY, entrycount: u32, baseaddress: u64) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(target_arch = "aarch64")] pub fn RtlAddGrowableFunctionTable(dynamictable: *mut *mut ::core::ffi::c_void, functiontable: *const IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY, entrycount: u32, maximumentrycount: u32, rangebase: usize, rangeend: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(target_arch = "x86_64")] pub fn RtlAddGrowableFunctionTable(dynamictable: *mut *mut ::core::ffi::c_void, functiontable: *const IMAGE_RUNTIME_FUNCTION_ENTRY, entrycount: u32, maximumentrycount: u32, rangebase: usize, rangeend: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] pub fn RtlCaptureContext(contextrecord: *mut CONTEXT); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"] #[cfg(target_arch = "x86_64")] #[cfg(feature = "Win32_System_Kernel")] pub fn RtlCaptureContext2(contextrecord: *mut CONTEXT); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn RtlCaptureStackBackTrace(framestoskip: u32, framestocapture: u32, backtrace: *mut *mut ::core::ffi::c_void, backtracehash: *mut u32) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "aarch64")] #[cfg(feature = "Win32_Foundation")] pub fn RtlDeleteFunctionTable(functiontable: *const IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86_64")] #[cfg(feature = "Win32_Foundation")] pub fn RtlDeleteFunctionTable(functiontable: *const IMAGE_RUNTIME_FUNCTION_ENTRY) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn RtlDeleteGrowableFunctionTable(dynamictable: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn RtlGrowFunctionTable(dynamictable: *mut ::core::ffi::c_void, newentrycount: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_Foundation")] pub fn RtlInstallFunctionTableCallback(tableidentifier: u64, baseaddress: u64, length: u32, callback: PGET_RUNTIME_FUNCTION_CALLBACK, context: *const ::core::ffi::c_void, outofprocesscallbackdll: ::windows_sys::core::PCWSTR) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(target_arch = "aarch64")] pub fn RtlLookupFunctionEntry(controlpc: usize, imagebase: *mut usize, historytable: *mut UNWIND_HISTORY_TABLE) -> *mut IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(target_arch = "x86_64")] pub fn RtlLookupFunctionEntry(controlpc: u64, imagebase: *mut u64, historytable: *mut UNWIND_HISTORY_TABLE) -> *mut IMAGE_RUNTIME_FUNCTION_ENTRY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn RtlPcToFileHeader(pcvalue: *const ::core::ffi::c_void, baseofimage: *mut *mut ::core::ffi::c_void) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtlRaiseException(exceptionrecord: *const EXCEPTION_RECORD); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn RtlRestoreContext(contextrecord: *const CONTEXT, exceptionrecord: *const EXCEPTION_RECORD); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtlUnwind(targetframe: *const ::core::ffi::c_void, targetip: *const ::core::ffi::c_void, exceptionrecord: *const EXCEPTION_RECORD, returnvalue: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn RtlUnwindEx(targetframe: *const ::core::ffi::c_void, targetip: *const ::core::ffi::c_void, exceptionrecord: *const EXCEPTION_RECORD, returnvalue: *const ::core::ffi::c_void, contextrecord: *const CONTEXT, historytable: *const UNWIND_HISTORY_TABLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(target_arch = "aarch64")] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn RtlVirtualUnwind(handlertype: RTL_VIRTUAL_UNWIND_HANDLER_TYPE, imagebase: usize, controlpc: usize, functionentry: *const IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY, contextrecord: *mut CONTEXT, handlerdata: *mut *mut ::core::ffi::c_void, establisherframe: *mut usize, contextpointers: *mut KNONVOLATILE_CONTEXT_POINTERS_ARM64) -> super::super::Kernel::EXCEPTION_ROUTINE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(target_arch = "x86_64")] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn RtlVirtualUnwind(handlertype: RTL_VIRTUAL_UNWIND_HANDLER_TYPE, imagebase: u64, controlpc: u64, functionentry: *const IMAGE_RUNTIME_FUNCTION_ENTRY, contextrecord: *mut CONTEXT, handlerdata: *mut *mut ::core::ffi::c_void, establisherframe: *mut u64, contextpointers: *mut KNONVOLATILE_CONTEXT_POINTERS) -> super::super::Kernel::EXCEPTION_ROUTINE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SearchTreeForFile(rootpath: ::windows_sys::core::PCSTR, inputpathname: ::windows_sys::core::PCSTR, outputpathbuffer: ::windows_sys::core::PSTR) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SearchTreeForFileW(rootpath: ::windows_sys::core::PCWSTR, inputpathname: ::windows_sys::core::PCWSTR, outputpathbuffer: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn SetCheckUserInterruptShared(lpstartaddress: LPCALL_BACK_USER_INTERRUPT_ROUTINE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn SetErrorMode(umode: THREAD_ERROR_MODE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_SystemInformation"))] pub fn SetImageConfigInformation(loadedimage: *mut LOADED_IMAGE, imageconfiginformation: *const IMAGE_LOAD_CONFIG_DIRECTORY64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(target_arch = "x86")] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_SystemInformation"))] pub fn SetImageConfigInformation(loadedimage: *mut LOADED_IMAGE, imageconfiginformation: *const IMAGE_LOAD_CONFIG_DIRECTORY32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn SetSymLoadError(error: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn SetThreadContext(hthread: super::super::super::Foundation::HANDLE, lpcontext: *const CONTEXT) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetThreadErrorMode(dwnewmode: THREAD_ERROR_MODE, lpoldmode: *const THREAD_ERROR_MODE) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn SetUnhandledExceptionFilter(lptoplevelexceptionfilter: LPTOP_LEVEL_EXCEPTION_FILTER) -> LPTOP_LEVEL_EXCEPTION_FILTER; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn SetXStateFeaturesMask(context: *mut CONTEXT, featuremask: u64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Foundation")] pub fn StackWalk(machinetype: u32, hprocess: super::super::super::Foundation::HANDLE, hthread: super::super::super::Foundation::HANDLE, stackframe: *mut STACKFRAME, contextrecord: *mut ::core::ffi::c_void, readmemoryroutine: PREAD_PROCESS_MEMORY_ROUTINE, functiontableaccessroutine: PFUNCTION_TABLE_ACCESS_ROUTINE, getmodulebaseroutine: PGET_MODULE_BASE_ROUTINE, translateaddress: PTRANSLATE_ADDRESS_ROUTINE) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StackWalk64(machinetype: u32, hprocess: super::super::super::Foundation::HANDLE, hthread: super::super::super::Foundation::HANDLE, stackframe: *mut STACKFRAME64, contextrecord: *mut ::core::ffi::c_void, readmemoryroutine: PREAD_PROCESS_MEMORY_ROUTINE64, functiontableaccessroutine: PFUNCTION_TABLE_ACCESS_ROUTINE64, getmodulebaseroutine: PGET_MODULE_BASE_ROUTINE64, translateaddress: PTRANSLATE_ADDRESS_ROUTINE64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StackWalkEx(machinetype: u32, hprocess: super::super::super::Foundation::HANDLE, hthread: super::super::super::Foundation::HANDLE, stackframe: *mut STACKFRAME_EX, contextrecord: *mut ::core::ffi::c_void, readmemoryroutine: PREAD_PROCESS_MEMORY_ROUTINE64, functiontableaccessroutine: PFUNCTION_TABLE_ACCESS_ROUTINE64, getmodulebaseroutine: PGET_MODULE_BASE_ROUTINE64, translateaddress: PTRANSLATE_ADDRESS_ROUTINE64, flags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymAddSourceStream(hprocess: super::super::super::Foundation::HANDLE, base: u64, streamfile: ::windows_sys::core::PCSTR, buffer: *const u8, size: usize) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymAddSourceStreamA(hprocess: super::super::super::Foundation::HANDLE, base: u64, streamfile: ::windows_sys::core::PCSTR, buffer: *const u8, size: usize) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymAddSourceStreamW(hprocess: super::super::super::Foundation::HANDLE, base: u64, filespec: ::windows_sys::core::PCWSTR, buffer: *const u8, size: usize) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymAddSymbol(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, name: ::windows_sys::core::PCSTR, address: u64, size: u32, flags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymAddSymbolW(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, name: ::windows_sys::core::PCWSTR, address: u64, size: u32, flags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymAddrIncludeInlineTrace(hprocess: super::super::super::Foundation::HANDLE, address: u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymCleanup(hprocess: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymCompareInlineTrace(hprocess: super::super::super::Foundation::HANDLE, address1: u64, inlinecontext1: u32, retaddress1: u64, address2: u64, retaddress2: u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymDeleteSymbol(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, name: ::windows_sys::core::PCSTR, address: u64, flags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymDeleteSymbolW(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, name: ::windows_sys::core::PCWSTR, address: u64, flags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumLines(hprocess: super::super::super::Foundation::HANDLE, base: u64, obj: ::windows_sys::core::PCSTR, file: ::windows_sys::core::PCSTR, enumlinescallback: PSYM_ENUMLINES_CALLBACK, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumLinesW(hprocess: super::super::super::Foundation::HANDLE, base: u64, obj: ::windows_sys::core::PCWSTR, file: ::windows_sys::core::PCWSTR, enumlinescallback: PSYM_ENUMLINES_CALLBACKW, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumProcesses(enumprocessescallback: PSYM_ENUMPROCESSES_CALLBACK, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumSourceFileTokens(hprocess: super::super::super::Foundation::HANDLE, base: u64, callback: PENUMSOURCEFILETOKENSCALLBACK) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumSourceFiles(hprocess: super::super::super::Foundation::HANDLE, modbase: u64, mask: ::windows_sys::core::PCSTR, cbsrcfiles: PSYM_ENUMSOURCEFILES_CALLBACK, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumSourceFilesW(hprocess: super::super::super::Foundation::HANDLE, modbase: u64, mask: ::windows_sys::core::PCWSTR, cbsrcfiles: PSYM_ENUMSOURCEFILES_CALLBACKW, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumSourceLines(hprocess: super::super::super::Foundation::HANDLE, base: u64, obj: ::windows_sys::core::PCSTR, file: ::windows_sys::core::PCSTR, line: u32, flags: u32, enumlinescallback: PSYM_ENUMLINES_CALLBACK, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumSourceLinesW(hprocess: super::super::super::Foundation::HANDLE, base: u64, obj: ::windows_sys::core::PCWSTR, file: ::windows_sys::core::PCWSTR, line: u32, flags: u32, enumlinescallback: PSYM_ENUMLINES_CALLBACKW, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumSym(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, enumsymbolscallback: PSYM_ENUMERATESYMBOLS_CALLBACK, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumSymbols(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, mask: ::windows_sys::core::PCSTR, enumsymbolscallback: PSYM_ENUMERATESYMBOLS_CALLBACK, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumSymbolsEx(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, mask: ::windows_sys::core::PCSTR, enumsymbolscallback: PSYM_ENUMERATESYMBOLS_CALLBACK, usercontext: *const ::core::ffi::c_void, options: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumSymbolsExW(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, mask: ::windows_sys::core::PCWSTR, enumsymbolscallback: PSYM_ENUMERATESYMBOLS_CALLBACKW, usercontext: *const ::core::ffi::c_void, options: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumSymbolsForAddr(hprocess: super::super::super::Foundation::HANDLE, address: u64, enumsymbolscallback: PSYM_ENUMERATESYMBOLS_CALLBACK, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumSymbolsForAddrW(hprocess: super::super::super::Foundation::HANDLE, address: u64, enumsymbolscallback: PSYM_ENUMERATESYMBOLS_CALLBACKW, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumSymbolsW(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, mask: ::windows_sys::core::PCWSTR, enumsymbolscallback: PSYM_ENUMERATESYMBOLS_CALLBACKW, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumTypes(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, enumsymbolscallback: PSYM_ENUMERATESYMBOLS_CALLBACK, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumTypesByName(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, mask: ::windows_sys::core::PCSTR, enumsymbolscallback: PSYM_ENUMERATESYMBOLS_CALLBACK, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumTypesByNameW(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, mask: ::windows_sys::core::PCWSTR, enumsymbolscallback: PSYM_ENUMERATESYMBOLS_CALLBACKW, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumTypesW(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, enumsymbolscallback: PSYM_ENUMERATESYMBOLS_CALLBACKW, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumerateModules(hprocess: super::super::super::Foundation::HANDLE, enummodulescallback: PSYM_ENUMMODULES_CALLBACK, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumerateModules64(hprocess: super::super::super::Foundation::HANDLE, enummodulescallback: PSYM_ENUMMODULES_CALLBACK64, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumerateModulesW64(hprocess: super::super::super::Foundation::HANDLE, enummodulescallback: PSYM_ENUMMODULES_CALLBACKW64, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumerateSymbols(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u32, enumsymbolscallback: PSYM_ENUMSYMBOLS_CALLBACK, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumerateSymbols64(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, enumsymbolscallback: PSYM_ENUMSYMBOLS_CALLBACK64, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumerateSymbolsW(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u32, enumsymbolscallback: PSYM_ENUMSYMBOLS_CALLBACKW, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymEnumerateSymbolsW64(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, enumsymbolscallback: PSYM_ENUMSYMBOLS_CALLBACK64W, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymFindDebugInfoFile(hprocess: super::super::super::Foundation::HANDLE, filename: ::windows_sys::core::PCSTR, debugfilepath: ::windows_sys::core::PSTR, callback: PFIND_DEBUG_FILE_CALLBACK, callerdata: *const ::core::ffi::c_void) -> super::super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymFindDebugInfoFileW(hprocess: super::super::super::Foundation::HANDLE, filename: ::windows_sys::core::PCWSTR, debugfilepath: ::windows_sys::core::PWSTR, callback: PFIND_DEBUG_FILE_CALLBACKW, callerdata: *const ::core::ffi::c_void) -> super::super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymFindExecutableImage(hprocess: super::super::super::Foundation::HANDLE, filename: ::windows_sys::core::PCSTR, imagefilepath: ::windows_sys::core::PSTR, callback: PFIND_EXE_FILE_CALLBACK, callerdata: *const ::core::ffi::c_void) -> super::super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymFindExecutableImageW(hprocess: super::super::super::Foundation::HANDLE, filename: ::windows_sys::core::PCWSTR, imagefilepath: ::windows_sys::core::PWSTR, callback: PFIND_EXE_FILE_CALLBACKW, callerdata: *const ::core::ffi::c_void) -> super::super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymFindFileInPath(hprocess: super::super::super::Foundation::HANDLE, searchpatha: ::windows_sys::core::PCSTR, filename: ::windows_sys::core::PCSTR, id: *const ::core::ffi::c_void, two: u32, three: u32, flags: SYM_FIND_ID_OPTION, foundfile: ::windows_sys::core::PSTR, callback: PFINDFILEINPATHCALLBACK, context: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymFindFileInPathW(hprocess: super::super::super::Foundation::HANDLE, searchpatha: ::windows_sys::core::PCWSTR, filename: ::windows_sys::core::PCWSTR, id: *const ::core::ffi::c_void, two: u32, three: u32, flags: SYM_FIND_ID_OPTION, foundfile: ::windows_sys::core::PWSTR, callback: PFINDFILEINPATHCALLBACKW, context: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymFromAddr(hprocess: super::super::super::Foundation::HANDLE, address: u64, displacement: *mut u64, symbol: *mut SYMBOL_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymFromAddrW(hprocess: super::super::super::Foundation::HANDLE, address: u64, displacement: *mut u64, symbol: *mut SYMBOL_INFOW) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymFromIndex(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, index: u32, symbol: *mut SYMBOL_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymFromIndexW(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, index: u32, symbol: *mut SYMBOL_INFOW) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymFromInlineContext(hprocess: super::super::super::Foundation::HANDLE, address: u64, inlinecontext: u32, displacement: *mut u64, symbol: *mut SYMBOL_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymFromInlineContextW(hprocess: super::super::super::Foundation::HANDLE, address: u64, inlinecontext: u32, displacement: *mut u64, symbol: *mut SYMBOL_INFOW) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymFromName(hprocess: super::super::super::Foundation::HANDLE, name: ::windows_sys::core::PCSTR, symbol: *mut SYMBOL_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymFromNameW(hprocess: super::super::super::Foundation::HANDLE, name: ::windows_sys::core::PCWSTR, symbol: *mut SYMBOL_INFOW) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymFromToken(hprocess: super::super::super::Foundation::HANDLE, base: u64, token: u32, symbol: *mut SYMBOL_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymFromTokenW(hprocess: super::super::super::Foundation::HANDLE, base: u64, token: u32, symbol: *mut SYMBOL_INFOW) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Foundation")] pub fn SymFunctionTableAccess(hprocess: super::super::super::Foundation::HANDLE, addrbase: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymFunctionTableAccess64(hprocess: super::super::super::Foundation::HANDLE, addrbase: u64) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymFunctionTableAccess64AccessRoutines(hprocess: super::super::super::Foundation::HANDLE, addrbase: u64, readmemoryroutine: PREAD_PROCESS_MEMORY_ROUTINE64, getmodulebaseroutine: PGET_MODULE_BASE_ROUTINE64) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetExtendedOption(option: IMAGEHLP_EXTENDED_OPTIONS) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetFileLineOffsets64(hprocess: super::super::super::Foundation::HANDLE, modulename: ::windows_sys::core::PCSTR, filename: ::windows_sys::core::PCSTR, buffer: *mut u64, bufferlines: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn SymGetHomeDirectory(r#type: IMAGEHLP_HD_TYPE, dir: ::windows_sys::core::PSTR, size: usize) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn SymGetHomeDirectoryW(r#type: IMAGEHLP_HD_TYPE, dir: ::windows_sys::core::PWSTR, size: usize) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Foundation")] pub fn SymGetLineFromAddr(hprocess: super::super::super::Foundation::HANDLE, dwaddr: u32, pdwdisplacement: *mut u32, line: *mut IMAGEHLP_LINE) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetLineFromAddr64(hprocess: super::super::super::Foundation::HANDLE, qwaddr: u64, pdwdisplacement: *mut u32, line64: *mut IMAGEHLP_LINE64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetLineFromAddrW64(hprocess: super::super::super::Foundation::HANDLE, dwaddr: u64, pdwdisplacement: *mut u32, line: *mut IMAGEHLP_LINEW64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetLineFromInlineContext(hprocess: super::super::super::Foundation::HANDLE, qwaddr: u64, inlinecontext: u32, qwmodulebaseaddress: u64, pdwdisplacement: *mut u32, line64: *mut IMAGEHLP_LINE64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetLineFromInlineContextW(hprocess: super::super::super::Foundation::HANDLE, dwaddr: u64, inlinecontext: u32, qwmodulebaseaddress: u64, pdwdisplacement: *mut u32, line: *mut IMAGEHLP_LINEW64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Foundation")] pub fn SymGetLineFromName(hprocess: super::super::super::Foundation::HANDLE, modulename: ::windows_sys::core::PCSTR, filename: ::windows_sys::core::PCSTR, dwlinenumber: u32, pldisplacement: *mut i32, line: *mut IMAGEHLP_LINE) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetLineFromName64(hprocess: super::super::super::Foundation::HANDLE, modulename: ::windows_sys::core::PCSTR, filename: ::windows_sys::core::PCSTR, dwlinenumber: u32, pldisplacement: *mut i32, line: *mut IMAGEHLP_LINE64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetLineFromNameW64(hprocess: super::super::super::Foundation::HANDLE, modulename: ::windows_sys::core::PCWSTR, filename: ::windows_sys::core::PCWSTR, dwlinenumber: u32, pldisplacement: *mut i32, line: *mut IMAGEHLP_LINEW64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Foundation")] pub fn SymGetLineNext(hprocess: super::super::super::Foundation::HANDLE, line: *mut IMAGEHLP_LINE) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetLineNext64(hprocess: super::super::super::Foundation::HANDLE, line: *mut IMAGEHLP_LINE64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetLineNextW64(hprocess: super::super::super::Foundation::HANDLE, line: *mut IMAGEHLP_LINEW64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Foundation")] pub fn SymGetLinePrev(hprocess: super::super::super::Foundation::HANDLE, line: *mut IMAGEHLP_LINE) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetLinePrev64(hprocess: super::super::super::Foundation::HANDLE, line: *mut IMAGEHLP_LINE64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetLinePrevW64(hprocess: super::super::super::Foundation::HANDLE, line: *mut IMAGEHLP_LINEW64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Foundation")] pub fn SymGetModuleBase(hprocess: super::super::super::Foundation::HANDLE, dwaddr: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetModuleBase64(hprocess: super::super::super::Foundation::HANDLE, qwaddr: u64) -> u64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Foundation")] pub fn SymGetModuleInfo(hprocess: super::super::super::Foundation::HANDLE, dwaddr: u32, moduleinfo: *mut IMAGEHLP_MODULE) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetModuleInfo64(hprocess: super::super::super::Foundation::HANDLE, qwaddr: u64, moduleinfo: *mut IMAGEHLP_MODULE64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Foundation")] pub fn SymGetModuleInfoW(hprocess: super::super::super::Foundation::HANDLE, dwaddr: u32, moduleinfo: *mut IMAGEHLP_MODULEW) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetModuleInfoW64(hprocess: super::super::super::Foundation::HANDLE, qwaddr: u64, moduleinfo: *mut IMAGEHLP_MODULEW64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetOmaps(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, omapto: *mut *mut OMAP, comapto: *mut u64, omapfrom: *mut *mut OMAP, comapfrom: *mut u64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn SymGetOptions() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetScope(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, index: u32, symbol: *mut SYMBOL_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetScopeW(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, index: u32, symbol: *mut SYMBOL_INFOW) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSearchPath(hprocess: super::super::super::Foundation::HANDLE, searchpatha: ::windows_sys::core::PSTR, searchpathlength: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSearchPathW(hprocess: super::super::super::Foundation::HANDLE, searchpatha: ::windows_sys::core::PWSTR, searchpathlength: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSourceFile(hprocess: super::super::super::Foundation::HANDLE, base: u64, params: ::windows_sys::core::PCSTR, filespec: ::windows_sys::core::PCSTR, filepath: ::windows_sys::core::PSTR, size: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSourceFileChecksum(hprocess: super::super::super::Foundation::HANDLE, base: u64, filespec: ::windows_sys::core::PCSTR, pchecksumtype: *mut u32, pchecksum: *mut u8, checksumsize: u32, pactualbyteswritten: *mut u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSourceFileChecksumW(hprocess: super::super::super::Foundation::HANDLE, base: u64, filespec: ::windows_sys::core::PCWSTR, pchecksumtype: *mut u32, pchecksum: *mut u8, checksumsize: u32, pactualbyteswritten: *mut u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSourceFileFromToken(hprocess: super::super::super::Foundation::HANDLE, token: *const ::core::ffi::c_void, params: ::windows_sys::core::PCSTR, filepath: ::windows_sys::core::PSTR, size: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSourceFileFromTokenByTokenName(hprocess: super::super::super::Foundation::HANDLE, token: *const ::core::ffi::c_void, tokenname: ::windows_sys::core::PCSTR, params: ::windows_sys::core::PCSTR, filepath: ::windows_sys::core::PSTR, size: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSourceFileFromTokenByTokenNameW(hprocess: super::super::super::Foundation::HANDLE, token: *const ::core::ffi::c_void, tokenname: ::windows_sys::core::PCWSTR, params: ::windows_sys::core::PCWSTR, filepath: ::windows_sys::core::PWSTR, size: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSourceFileFromTokenW(hprocess: super::super::super::Foundation::HANDLE, token: *const ::core::ffi::c_void, params: ::windows_sys::core::PCWSTR, filepath: ::windows_sys::core::PWSTR, size: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSourceFileToken(hprocess: super::super::super::Foundation::HANDLE, base: u64, filespec: ::windows_sys::core::PCSTR, token: *mut *mut ::core::ffi::c_void, size: *mut u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSourceFileTokenByTokenName(hprocess: super::super::super::Foundation::HANDLE, base: u64, filespec: ::windows_sys::core::PCSTR, tokenname: ::windows_sys::core::PCSTR, tokenparameters: ::windows_sys::core::PCSTR, token: *mut *mut ::core::ffi::c_void, size: *mut u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSourceFileTokenByTokenNameW(hprocess: super::super::super::Foundation::HANDLE, base: u64, filespec: ::windows_sys::core::PCWSTR, tokenname: ::windows_sys::core::PCWSTR, tokenparameters: ::windows_sys::core::PCWSTR, token: *mut *mut ::core::ffi::c_void, size: *mut u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSourceFileTokenW(hprocess: super::super::super::Foundation::HANDLE, base: u64, filespec: ::windows_sys::core::PCWSTR, token: *mut *mut ::core::ffi::c_void, size: *mut u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSourceFileW(hprocess: super::super::super::Foundation::HANDLE, base: u64, params: ::windows_sys::core::PCWSTR, filespec: ::windows_sys::core::PCWSTR, filepath: ::windows_sys::core::PWSTR, size: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSourceVarFromToken(hprocess: super::super::super::Foundation::HANDLE, token: *const ::core::ffi::c_void, params: ::windows_sys::core::PCSTR, varname: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PSTR, size: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSourceVarFromTokenW(hprocess: super::super::super::Foundation::HANDLE, token: *const ::core::ffi::c_void, params: ::windows_sys::core::PCWSTR, varname: ::windows_sys::core::PCWSTR, value: ::windows_sys::core::PWSTR, size: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSymFromAddr(hprocess: super::super::super::Foundation::HANDLE, dwaddr: u32, pdwdisplacement: *mut u32, symbol: *mut IMAGEHLP_SYMBOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSymFromAddr64(hprocess: super::super::super::Foundation::HANDLE, qwaddr: u64, pdwdisplacement: *mut u64, symbol: *mut IMAGEHLP_SYMBOL64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSymFromName(hprocess: super::super::super::Foundation::HANDLE, name: ::windows_sys::core::PCSTR, symbol: *mut IMAGEHLP_SYMBOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSymFromName64(hprocess: super::super::super::Foundation::HANDLE, name: ::windows_sys::core::PCSTR, symbol: *mut IMAGEHLP_SYMBOL64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSymNext(hprocess: super::super::super::Foundation::HANDLE, symbol: *mut IMAGEHLP_SYMBOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSymNext64(hprocess: super::super::super::Foundation::HANDLE, symbol: *mut IMAGEHLP_SYMBOL64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSymPrev(hprocess: super::super::super::Foundation::HANDLE, symbol: *mut IMAGEHLP_SYMBOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSymPrev64(hprocess: super::super::super::Foundation::HANDLE, symbol: *mut IMAGEHLP_SYMBOL64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSymbolFile(hprocess: super::super::super::Foundation::HANDLE, sympath: ::windows_sys::core::PCSTR, imagefile: ::windows_sys::core::PCSTR, r#type: IMAGEHLP_SF_TYPE, symbolfile: ::windows_sys::core::PSTR, csymbolfile: usize, dbgfile: ::windows_sys::core::PSTR, cdbgfile: usize) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetSymbolFileW(hprocess: super::super::super::Foundation::HANDLE, sympath: ::windows_sys::core::PCWSTR, imagefile: ::windows_sys::core::PCWSTR, r#type: IMAGEHLP_SF_TYPE, symbolfile: ::windows_sys::core::PWSTR, csymbolfile: usize, dbgfile: ::windows_sys::core::PWSTR, cdbgfile: usize) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetTypeFromName(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, name: ::windows_sys::core::PCSTR, symbol: *mut SYMBOL_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetTypeFromNameW(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, name: ::windows_sys::core::PCWSTR, symbol: *mut SYMBOL_INFOW) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetTypeInfo(hprocess: super::super::super::Foundation::HANDLE, modbase: u64, typeid: u32, gettype: IMAGEHLP_SYMBOL_TYPE_INFO, pinfo: *mut ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetTypeInfoEx(hprocess: super::super::super::Foundation::HANDLE, modbase: u64, params: *mut IMAGEHLP_GET_TYPE_INFO_PARAMS) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymGetUnwindInfo(hprocess: super::super::super::Foundation::HANDLE, address: u64, buffer: *mut ::core::ffi::c_void, size: *mut u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymInitialize(hprocess: super::super::super::Foundation::HANDLE, usersearchpath: ::windows_sys::core::PCSTR, finvadeprocess: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymInitializeW(hprocess: super::super::super::Foundation::HANDLE, usersearchpath: ::windows_sys::core::PCWSTR, finvadeprocess: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Foundation")] pub fn SymLoadModule(hprocess: super::super::super::Foundation::HANDLE, hfile: super::super::super::Foundation::HANDLE, imagename: ::windows_sys::core::PCSTR, modulename: ::windows_sys::core::PCSTR, baseofdll: u32, sizeofdll: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymLoadModule64(hprocess: super::super::super::Foundation::HANDLE, hfile: super::super::super::Foundation::HANDLE, imagename: ::windows_sys::core::PCSTR, modulename: ::windows_sys::core::PCSTR, baseofdll: u64, sizeofdll: u32) -> u64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymLoadModuleEx(hprocess: super::super::super::Foundation::HANDLE, hfile: super::super::super::Foundation::HANDLE, imagename: ::windows_sys::core::PCSTR, modulename: ::windows_sys::core::PCSTR, baseofdll: u64, dllsize: u32, data: *const MODLOAD_DATA, flags: SYM_LOAD_FLAGS) -> u64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymLoadModuleExW(hprocess: super::super::super::Foundation::HANDLE, hfile: super::super::super::Foundation::HANDLE, imagename: ::windows_sys::core::PCWSTR, modulename: ::windows_sys::core::PCWSTR, baseofdll: u64, dllsize: u32, data: *const MODLOAD_DATA, flags: SYM_LOAD_FLAGS) -> u64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymMatchFileName(filename: ::windows_sys::core::PCSTR, r#match: ::windows_sys::core::PCSTR, filenamestop: *mut ::windows_sys::core::PSTR, matchstop: *mut ::windows_sys::core::PSTR) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymMatchFileNameW(filename: ::windows_sys::core::PCWSTR, r#match: ::windows_sys::core::PCWSTR, filenamestop: *mut ::windows_sys::core::PWSTR, matchstop: *mut ::windows_sys::core::PWSTR) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymMatchString(string: ::windows_sys::core::PCSTR, expression: ::windows_sys::core::PCSTR, fcase: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymMatchStringA(string: ::windows_sys::core::PCSTR, expression: ::windows_sys::core::PCSTR, fcase: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymMatchStringW(string: ::windows_sys::core::PCWSTR, expression: ::windows_sys::core::PCWSTR, fcase: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymNext(hprocess: super::super::super::Foundation::HANDLE, si: *mut SYMBOL_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymNextW(hprocess: super::super::super::Foundation::HANDLE, siw: *mut SYMBOL_INFOW) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymPrev(hprocess: super::super::super::Foundation::HANDLE, si: *mut SYMBOL_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymPrevW(hprocess: super::super::super::Foundation::HANDLE, siw: *mut SYMBOL_INFOW) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymQueryInlineTrace(hprocess: super::super::super::Foundation::HANDLE, startaddress: u64, startcontext: u32, startretaddress: u64, curaddress: u64, curcontext: *mut u32, curframeindex: *mut u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymRefreshModuleList(hprocess: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Foundation")] pub fn SymRegisterCallback(hprocess: super::super::super::Foundation::HANDLE, callbackfunction: PSYMBOL_REGISTERED_CALLBACK, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymRegisterCallback64(hprocess: super::super::super::Foundation::HANDLE, callbackfunction: PSYMBOL_REGISTERED_CALLBACK64, usercontext: u64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymRegisterCallbackW64(hprocess: super::super::super::Foundation::HANDLE, callbackfunction: PSYMBOL_REGISTERED_CALLBACK64, usercontext: u64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Foundation")] pub fn SymRegisterFunctionEntryCallback(hprocess: super::super::super::Foundation::HANDLE, callbackfunction: PSYMBOL_FUNCENTRY_CALLBACK, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymRegisterFunctionEntryCallback64(hprocess: super::super::super::Foundation::HANDLE, callbackfunction: PSYMBOL_FUNCENTRY_CALLBACK64, usercontext: u64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSearch(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, index: u32, symtag: u32, mask: ::windows_sys::core::PCSTR, address: u64, enumsymbolscallback: PSYM_ENUMERATESYMBOLS_CALLBACK, usercontext: *const ::core::ffi::c_void, options: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSearchW(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, index: u32, symtag: u32, mask: ::windows_sys::core::PCWSTR, address: u64, enumsymbolscallback: PSYM_ENUMERATESYMBOLS_CALLBACKW, usercontext: *const ::core::ffi::c_void, options: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSetContext(hprocess: super::super::super::Foundation::HANDLE, stackframe: *const IMAGEHLP_STACK_FRAME, context: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSetExtendedOption(option: IMAGEHLP_EXTENDED_OPTIONS, value: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSetHomeDirectory(hprocess: super::super::super::Foundation::HANDLE, dir: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSetHomeDirectoryW(hprocess: super::super::super::Foundation::HANDLE, dir: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn SymSetOptions(symoptions: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSetParentWindow(hwnd: super::super::super::Foundation::HWND) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSetScopeFromAddr(hprocess: super::super::super::Foundation::HANDLE, address: u64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSetScopeFromIndex(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64, index: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSetScopeFromInlineContext(hprocess: super::super::super::Foundation::HANDLE, address: u64, inlinecontext: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSetSearchPath(hprocess: super::super::super::Foundation::HANDLE, searchpatha: ::windows_sys::core::PCSTR) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSetSearchPathW(hprocess: super::super::super::Foundation::HANDLE, searchpatha: ::windows_sys::core::PCWSTR) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSrvDeltaName(hprocess: super::super::super::Foundation::HANDLE, sympath: ::windows_sys::core::PCSTR, r#type: ::windows_sys::core::PCSTR, file1: ::windows_sys::core::PCSTR, file2: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSrvDeltaNameW(hprocess: super::super::super::Foundation::HANDLE, sympath: ::windows_sys::core::PCWSTR, r#type: ::windows_sys::core::PCWSTR, file1: ::windows_sys::core::PCWSTR, file2: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSrvGetFileIndexInfo(file: ::windows_sys::core::PCSTR, info: *mut SYMSRV_INDEX_INFO, flags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSrvGetFileIndexInfoW(file: ::windows_sys::core::PCWSTR, info: *mut SYMSRV_INDEX_INFOW, flags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSrvGetFileIndexString(hprocess: super::super::super::Foundation::HANDLE, srvpath: ::windows_sys::core::PCSTR, file: ::windows_sys::core::PCSTR, index: ::windows_sys::core::PSTR, size: usize, flags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSrvGetFileIndexStringW(hprocess: super::super::super::Foundation::HANDLE, srvpath: ::windows_sys::core::PCWSTR, file: ::windows_sys::core::PCWSTR, index: ::windows_sys::core::PWSTR, size: usize, flags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSrvGetFileIndexes(file: ::windows_sys::core::PCSTR, id: *mut ::windows_sys::core::GUID, val1: *mut u32, val2: *mut u32, flags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSrvGetFileIndexesW(file: ::windows_sys::core::PCWSTR, id: *mut ::windows_sys::core::GUID, val1: *mut u32, val2: *mut u32, flags: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSrvGetSupplement(hprocess: super::super::super::Foundation::HANDLE, sympath: ::windows_sys::core::PCSTR, node: ::windows_sys::core::PCSTR, file: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSrvGetSupplementW(hprocess: super::super::super::Foundation::HANDLE, sympath: ::windows_sys::core::PCWSTR, node: ::windows_sys::core::PCWSTR, file: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSrvIsStore(hprocess: super::super::super::Foundation::HANDLE, path: ::windows_sys::core::PCSTR) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSrvIsStoreW(hprocess: super::super::super::Foundation::HANDLE, path: ::windows_sys::core::PCWSTR) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSrvStoreFile(hprocess: super::super::super::Foundation::HANDLE, srvpath: ::windows_sys::core::PCSTR, file: ::windows_sys::core::PCSTR, flags: SYM_SRV_STORE_FILE_FLAGS) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSrvStoreFileW(hprocess: super::super::super::Foundation::HANDLE, srvpath: ::windows_sys::core::PCWSTR, file: ::windows_sys::core::PCWSTR, flags: SYM_SRV_STORE_FILE_FLAGS) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSrvStoreSupplement(hprocess: super::super::super::Foundation::HANDLE, srvpath: ::windows_sys::core::PCSTR, node: ::windows_sys::core::PCSTR, file: ::windows_sys::core::PCSTR, flags: u32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymSrvStoreSupplementW(hprocess: super::super::super::Foundation::HANDLE, sympath: ::windows_sys::core::PCWSTR, node: ::windows_sys::core::PCWSTR, file: ::windows_sys::core::PCWSTR, flags: u32) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Foundation")] pub fn SymUnDName(sym: *const IMAGEHLP_SYMBOL, undecname: ::windows_sys::core::PSTR, undecnamelength: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymUnDName64(sym: *const IMAGEHLP_SYMBOL64, undecname: ::windows_sys::core::PSTR, undecnamelength: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Foundation")] pub fn SymUnloadModule(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SymUnloadModule64(hprocess: super::super::super::Foundation::HANDLE, baseofdll: u64) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn TerminateProcessOnMemoryExhaustion(failedallocationsize: usize); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TouchFileTimes(filehandle: super::super::super::Foundation::HANDLE, psystemtime: *const super::super::super::Foundation::SYSTEMTIME) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn UnDecorateSymbolName(name: ::windows_sys::core::PCSTR, outputstring: ::windows_sys::core::PSTR, maxstringlength: u32, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub fn UnDecorateSymbolNameW(name: ::windows_sys::core::PCWSTR, outputstring: ::windows_sys::core::PWSTR, maxstringlength: u32, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_SystemInformation"))] pub fn UnMapAndLoad(loadedimage: *mut LOADED_IMAGE) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn UnhandledExceptionFilter(exceptioninfo: *const EXCEPTION_POINTERS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))] pub fn UpdateDebugInfoFile(imagefilename: ::windows_sys::core::PCSTR, symbolpath: ::windows_sys::core::PCSTR, debugfilepath: ::windows_sys::core::PSTR, ntheaders: *const IMAGE_NT_HEADERS32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))] pub fn UpdateDebugInfoFileEx(imagefilename: ::windows_sys::core::PCSTR, symbolpath: ::windows_sys::core::PCSTR, debugfilepath: ::windows_sys::core::PSTR, ntheaders: *const IMAGE_NT_HEADERS32, oldchecksum: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] pub fn WaitForDebugEvent(lpdebugevent: *mut DEBUG_EVENT, dwmilliseconds: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] pub fn WaitForDebugEventEx(lpdebugevent: *mut DEBUG_EVENT, dwmilliseconds: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Wow64GetThreadContext(hthread: super::super::super::Foundation::HANDLE, lpcontext: *mut WOW64_CONTEXT) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Wow64GetThreadSelectorEntry(hthread: super::super::super::Foundation::HANDLE, dwselector: u32, lpselectorentry: *mut WOW64_LDT_ENTRY) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Wow64SetThreadContext(hthread: super::super::super::Foundation::HANDLE, lpcontext: *const WOW64_CONTEXT) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WriteProcessMemory(hprocess: super::super::super::Foundation::HANDLE, lpbaseaddress: *const ::core::ffi::c_void, lpbuffer: *const ::core::ffi::c_void, nsize: usize, lpnumberofbyteswritten: *mut usize) -> super::super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Etw/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Etw/mod.rs index c7a474905b..bb86378f50 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Etw/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Etw/mod.rs @@ -3,201 +3,438 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseTrace(tracehandle: PROCESSTRACE_HANDLE) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ControlTraceA(tracehandle: CONTROLTRACE_HANDLE, instancename: ::windows_sys::core::PCSTR, properties: *mut EVENT_TRACE_PROPERTIES, controlcode: EVENT_TRACE_CONTROL) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ControlTraceW(tracehandle: CONTROLTRACE_HANDLE, instancename: ::windows_sys::core::PCWSTR, properties: *mut EVENT_TRACE_PROPERTIES, controlcode: EVENT_TRACE_CONTROL) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateTraceInstanceId(reghandle: super::super::super::Foundation::HANDLE, instinfo: *mut EVENT_INSTANCE_INFO) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn CveEventWrite(cveid: ::windows_sys::core::PCWSTR, additionaldetails: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnableTrace(enable: u32, enableflag: u32, enablelevel: u32, controlguid: *const ::windows_sys::core::GUID, tracehandle: CONTROLTRACE_HANDLE) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnableTraceEx(providerid: *const ::windows_sys::core::GUID, sourceid: *const ::windows_sys::core::GUID, tracehandle: CONTROLTRACE_HANDLE, isenabled: u32, level: u8, matchanykeyword: u64, matchallkeyword: u64, enableproperty: u32, enablefilterdesc: *const EVENT_FILTER_DESCRIPTOR) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnableTraceEx2(tracehandle: CONTROLTRACE_HANDLE, providerid: *const ::windows_sys::core::GUID, controlcode: u32, level: u8, matchanykeyword: u64, matchallkeyword: u64, timeout: u32, enableparameters: *const ENABLE_TRACE_PARAMETERS) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumerateTraceGuids(guidpropertiesarray: *mut *mut TRACE_GUID_PROPERTIES, propertyarraycount: u32, guidcount: *mut u32) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumerateTraceGuidsEx(tracequeryinfoclass: TRACE_QUERY_INFO_CLASS, inbuffer: *const ::core::ffi::c_void, inbuffersize: u32, outbuffer: *mut ::core::ffi::c_void, outbuffersize: u32, returnlength: *mut u32) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EventAccessControl(guid: *const ::windows_sys::core::GUID, operation: u32, sid: super::super::super::Foundation::PSID, rights: u32, allowordeny: super::super::super::Foundation::BOOLEAN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn EventAccessQuery(guid: *const ::windows_sys::core::GUID, buffer: super::super::super::Security::PSECURITY_DESCRIPTOR, buffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn EventAccessRemove(guid: *const ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn EventActivityIdControl(controlcode: u32, activityid: *mut ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EventEnabled(reghandle: u64, eventdescriptor: *const EVENT_DESCRIPTOR) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EventProviderEnabled(reghandle: u64, level: u8, keyword: u64) -> super::super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn EventRegister(providerid: *const ::windows_sys::core::GUID, enablecallback: PENABLECALLBACK, callbackcontext: *const ::core::ffi::c_void, reghandle: *mut u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn EventSetInformation(reghandle: u64, informationclass: EVENT_INFO_CLASS, eventinformation: *const ::core::ffi::c_void, informationlength: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn EventUnregister(reghandle: u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn EventWrite(reghandle: u64, eventdescriptor: *const EVENT_DESCRIPTOR, userdatacount: u32, userdata: *const EVENT_DATA_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn EventWriteEx(reghandle: u64, eventdescriptor: *const EVENT_DESCRIPTOR, filter: u64, flags: u32, activityid: *const ::windows_sys::core::GUID, relatedactivityid: *const ::windows_sys::core::GUID, userdatacount: u32, userdata: *const EVENT_DATA_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn EventWriteString(reghandle: u64, level: u8, keyword: u64, string: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn EventWriteTransfer(reghandle: u64, eventdescriptor: *const EVENT_DESCRIPTOR, activityid: *const ::windows_sys::core::GUID, relatedactivityid: *const ::windows_sys::core::GUID, userdatacount: u32, userdata: *const EVENT_DATA_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FlushTraceA(tracehandle: CONTROLTRACE_HANDLE, instancename: ::windows_sys::core::PCSTR, properties: *mut EVENT_TRACE_PROPERTIES) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FlushTraceW(tracehandle: CONTROLTRACE_HANDLE, instancename: ::windows_sys::core::PCWSTR, properties: *mut EVENT_TRACE_PROPERTIES) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn GetTraceEnableFlags(tracehandle: u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn GetTraceEnableLevel(tracehandle: u64) -> u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn GetTraceLoggerHandle(buffer: *const ::core::ffi::c_void) -> u64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`, `\"Win32_System_Time\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Time"))] pub fn OpenTraceA(logfile: *mut EVENT_TRACE_LOGFILEA) -> PROCESSTRACE_HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`, `\"Win32_System_Time\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Time"))] pub fn OpenTraceW(logfile: *mut EVENT_TRACE_LOGFILEW) -> PROCESSTRACE_HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ProcessTrace(handlearray: *const PROCESSTRACE_HANDLE, handlecount: u32, starttime: *const super::super::super::Foundation::FILETIME, endtime: *const super::super::super::Foundation::FILETIME) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryAllTracesA(propertyarray: *mut *mut EVENT_TRACE_PROPERTIES, propertyarraycount: u32, loggercount: *mut u32) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryAllTracesW(propertyarray: *mut *mut EVENT_TRACE_PROPERTIES, propertyarraycount: u32, loggercount: *mut u32) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryTraceA(tracehandle: CONTROLTRACE_HANDLE, instancename: ::windows_sys::core::PCSTR, properties: *mut EVENT_TRACE_PROPERTIES) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryTraceProcessingHandle(processinghandle: PROCESSTRACE_HANDLE, informationclass: ETW_PROCESS_HANDLE_INFO_TYPE, inbuffer: *const ::core::ffi::c_void, inbuffersize: u32, outbuffer: *mut ::core::ffi::c_void, outbuffersize: u32, returnlength: *mut u32) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryTraceW(tracehandle: CONTROLTRACE_HANDLE, instancename: ::windows_sys::core::PCWSTR, properties: *mut EVENT_TRACE_PROPERTIES) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterTraceGuidsA(requestaddress: WMIDPREQUEST, requestcontext: *const ::core::ffi::c_void, controlguid: *const ::windows_sys::core::GUID, guidcount: u32, traceguidreg: *const TRACE_GUID_REGISTRATION, mofimagepath: ::windows_sys::core::PCSTR, mofresourcename: ::windows_sys::core::PCSTR, registrationhandle: *mut u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterTraceGuidsW(requestaddress: WMIDPREQUEST, requestcontext: *const ::core::ffi::c_void, controlguid: *const ::windows_sys::core::GUID, guidcount: u32, traceguidreg: *const TRACE_GUID_REGISTRATION, mofimagepath: ::windows_sys::core::PCWSTR, mofresourcename: ::windows_sys::core::PCWSTR, registrationhandle: *mut u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveTraceCallback(pguid: *const ::windows_sys::core::GUID) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetTraceCallback(pguid: *const ::windows_sys::core::GUID, eventcallback: PEVENT_CALLBACK) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StartTraceA(tracehandle: *mut CONTROLTRACE_HANDLE, instancename: ::windows_sys::core::PCSTR, properties: *mut EVENT_TRACE_PROPERTIES) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StartTraceW(tracehandle: *mut CONTROLTRACE_HANDLE, instancename: ::windows_sys::core::PCWSTR, properties: *mut EVENT_TRACE_PROPERTIES) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StopTraceA(tracehandle: CONTROLTRACE_HANDLE, instancename: ::windows_sys::core::PCSTR, properties: *mut EVENT_TRACE_PROPERTIES) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StopTraceW(tracehandle: CONTROLTRACE_HANDLE, instancename: ::windows_sys::core::PCWSTR, properties: *mut EVENT_TRACE_PROPERTIES) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TdhAggregatePayloadFilters(payloadfiltercount: u32, payloadfilterptrs: *const *const ::core::ffi::c_void, eventmatchallflags: *const super::super::super::Foundation::BOOLEAN, eventfilterdescriptor: *mut EVENT_FILTER_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhCleanupPayloadEventFilterDescriptor(eventfilterdescriptor: *mut EVENT_FILTER_DESCRIPTOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhCloseDecodingHandle(handle: TDH_HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TdhCreatePayloadFilter(providerguid: *const ::windows_sys::core::GUID, eventdescriptor: *const EVENT_DESCRIPTOR, eventmatchany: super::super::super::Foundation::BOOLEAN, payloadpredicatecount: u32, payloadpredicates: *const PAYLOAD_FILTER_PREDICATE, payloadfilter: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhDeletePayloadFilter(payloadfilter: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhEnumerateManifestProviderEvents(providerguid: *const ::windows_sys::core::GUID, buffer: *mut PROVIDER_EVENT_INFO, buffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhEnumerateProviderFieldInformation(pguid: *const ::windows_sys::core::GUID, eventfieldtype: EVENT_FIELD_TYPE, pbuffer: *mut PROVIDER_FIELD_INFOARRAY, pbuffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhEnumerateProviderFilters(guid: *const ::windows_sys::core::GUID, tdhcontextcount: u32, tdhcontext: *const TDH_CONTEXT, filtercount: *mut u32, buffer: *mut *mut PROVIDER_FILTER_INFO, buffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhEnumerateProviders(pbuffer: *mut PROVIDER_ENUMERATION_INFO, pbuffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhEnumerateProvidersForDecodingSource(filter: DECODING_SOURCE, buffer: *mut PROVIDER_ENUMERATION_INFO, buffersize: u32, bufferrequired: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhFormatProperty(eventinfo: *const TRACE_EVENT_INFO, mapinfo: *const EVENT_MAP_INFO, pointersize: u32, propertyintype: u16, propertyouttype: u16, propertylength: u16, userdatalength: u16, userdata: *const u8, buffersize: *mut u32, buffer: ::windows_sys::core::PWSTR, userdataconsumed: *mut u16) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhGetDecodingParameter(handle: TDH_HANDLE, tdhcontext: *mut TDH_CONTEXT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhGetEventInformation(event: *const EVENT_RECORD, tdhcontextcount: u32, tdhcontext: *const TDH_CONTEXT, buffer: *mut TRACE_EVENT_INFO, buffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhGetEventMapInformation(pevent: *const EVENT_RECORD, pmapname: ::windows_sys::core::PCWSTR, pbuffer: *mut EVENT_MAP_INFO, pbuffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhGetManifestEventInformation(providerguid: *const ::windows_sys::core::GUID, eventdescriptor: *const EVENT_DESCRIPTOR, buffer: *mut TRACE_EVENT_INFO, buffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhGetProperty(pevent: *const EVENT_RECORD, tdhcontextcount: u32, ptdhcontext: *const TDH_CONTEXT, propertydatacount: u32, ppropertydata: *const PROPERTY_DATA_DESCRIPTOR, buffersize: u32, pbuffer: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhGetPropertySize(pevent: *const EVENT_RECORD, tdhcontextcount: u32, ptdhcontext: *const TDH_CONTEXT, propertydatacount: u32, ppropertydata: *const PROPERTY_DATA_DESCRIPTOR, ppropertysize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhGetWppMessage(handle: TDH_HANDLE, eventrecord: *const EVENT_RECORD, buffersize: *mut u32, buffer: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhGetWppProperty(handle: TDH_HANDLE, eventrecord: *const EVENT_RECORD, propertyname: ::windows_sys::core::PCWSTR, buffersize: *mut u32, buffer: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhLoadManifest(manifest: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhLoadManifestFromBinary(binarypath: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhLoadManifestFromMemory(pdata: *const ::core::ffi::c_void, cbdata: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhOpenDecodingHandle(handle: *mut TDH_HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhQueryProviderFieldInformation(pguid: *const ::windows_sys::core::GUID, eventfieldvalue: u64, eventfieldtype: EVENT_FIELD_TYPE, pbuffer: *mut PROVIDER_FIELD_INFOARRAY, pbuffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhSetDecodingParameter(handle: TDH_HANDLE, tdhcontext: *const TDH_CONTEXT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhUnloadManifest(manifest: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn TdhUnloadManifestFromMemory(pdata: *const ::core::ffi::c_void, cbdata: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TraceEvent(tracehandle: u64, eventtrace: *const EVENT_TRACE_HEADER) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TraceEventInstance(tracehandle: u64, eventtrace: *const EVENT_INSTANCE_HEADER, instinfo: *const EVENT_INSTANCE_INFO, parentinstinfo: *const EVENT_INSTANCE_INFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TraceMessage(loggerhandle: u64, messageflags: TRACE_MESSAGE_FLAGS, messageguid: *const ::windows_sys::core::GUID, messagenumber: u16) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TraceMessageVa(loggerhandle: u64, messageflags: TRACE_MESSAGE_FLAGS, messageguid: *const ::windows_sys::core::GUID, messagenumber: u16, messagearglist: *const i8) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TraceQueryInformation(sessionhandle: CONTROLTRACE_HANDLE, informationclass: TRACE_QUERY_INFO_CLASS, traceinformation: *mut ::core::ffi::c_void, informationlength: u32, returnlength: *mut u32) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TraceSetInformation(sessionhandle: CONTROLTRACE_HANDLE, informationclass: TRACE_QUERY_INFO_CLASS, traceinformation: *const ::core::ffi::c_void, informationlength: u32) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] pub fn UnregisterTraceGuids(registrationhandle: u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UpdateTraceA(tracehandle: CONTROLTRACE_HANDLE, instancename: ::windows_sys::core::PCSTR, properties: *mut EVENT_TRACE_PROPERTIES) -> super::super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UpdateTraceW(tracehandle: CONTROLTRACE_HANDLE, instancename: ::windows_sys::core::PCWSTR, properties: *mut EVENT_TRACE_PROPERTIES) -> super::super::super::Foundation::WIN32_ERROR; diff --git a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/ProcessSnapshotting/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/ProcessSnapshotting/mod.rs index e7b49fdd84..d2fced7678 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/ProcessSnapshotting/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/ProcessSnapshotting/mod.rs @@ -3,24 +3,51 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PssCaptureSnapshot(processhandle: super::super::super::Foundation::HANDLE, captureflags: PSS_CAPTURE_FLAGS, threadcontextflags: u32, snapshothandle: *mut HPSS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PssDuplicateSnapshot(sourceprocesshandle: super::super::super::Foundation::HANDLE, snapshothandle: HPSS, targetprocesshandle: super::super::super::Foundation::HANDLE, targetsnapshothandle: *mut HPSS, flags: PSS_DUPLICATE_FLAGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PssFreeSnapshot(processhandle: super::super::super::Foundation::HANDLE, snapshothandle: HPSS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] pub fn PssQuerySnapshot(snapshothandle: HPSS, informationclass: PSS_QUERY_INFORMATION_CLASS, buffer: *mut ::core::ffi::c_void, bufferlength: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] pub fn PssWalkMarkerCreate(allocator: *const PSS_ALLOCATOR, walkmarkerhandle: *mut HPSSWALK) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] pub fn PssWalkMarkerFree(walkmarkerhandle: HPSSWALK) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] pub fn PssWalkMarkerGetPosition(walkmarkerhandle: HPSSWALK, position: *mut usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] pub fn PssWalkMarkerSeekToBeginning(walkmarkerhandle: HPSSWALK) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] pub fn PssWalkMarkerSetPosition(walkmarkerhandle: HPSSWALK, position: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] pub fn PssWalkSnapshot(snapshothandle: HPSS, informationclass: PSS_WALK_INFORMATION_CLASS, walkmarkerhandle: HPSSWALK, buffer: *mut ::core::ffi::c_void, bufferlength: u32) -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/ToolHelp/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/ToolHelp/mod.rs index f5f044acd7..f5dfe49f11 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/ToolHelp/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/ToolHelp/mod.rs @@ -3,48 +3,93 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateToolhelp32Snapshot(dwflags: CREATE_TOOLHELP_SNAPSHOT_FLAGS, th32processid: u32) -> super::super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Heap32First(lphe: *mut HEAPENTRY32, th32processid: u32, th32heapid: usize) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Heap32ListFirst(hsnapshot: super::super::super::Foundation::HANDLE, lphl: *mut HEAPLIST32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Heap32ListNext(hsnapshot: super::super::super::Foundation::HANDLE, lphl: *mut HEAPLIST32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Heap32Next(lphe: *mut HEAPENTRY32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Module32First(hsnapshot: super::super::super::Foundation::HANDLE, lpme: *mut MODULEENTRY32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Module32FirstW(hsnapshot: super::super::super::Foundation::HANDLE, lpme: *mut MODULEENTRY32W) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Module32Next(hsnapshot: super::super::super::Foundation::HANDLE, lpme: *mut MODULEENTRY32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Module32NextW(hsnapshot: super::super::super::Foundation::HANDLE, lpme: *mut MODULEENTRY32W) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Process32First(hsnapshot: super::super::super::Foundation::HANDLE, lppe: *mut PROCESSENTRY32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Process32FirstW(hsnapshot: super::super::super::Foundation::HANDLE, lppe: *mut PROCESSENTRY32W) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Process32Next(hsnapshot: super::super::super::Foundation::HANDLE, lppe: *mut PROCESSENTRY32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Process32NextW(hsnapshot: super::super::super::Foundation::HANDLE, lppe: *mut PROCESSENTRY32W) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Thread32First(hsnapshot: super::super::super::Foundation::HANDLE, lpte: *mut THREADENTRY32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Thread32Next(hsnapshot: super::super::super::Foundation::HANDLE, lpte: *mut THREADENTRY32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Toolhelp32ReadProcessMemory(th32processid: u32, lpbaseaddress: *const ::core::ffi::c_void, lpbuffer: *mut ::core::ffi::c_void, cbread: usize, lpnumberofbytesread: *mut usize) -> super::super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs b/crates/libs/sys/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs index 9a5681984a..828518d659 100644 --- a/crates/libs/sys/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs @@ -1,11 +1,20 @@ #[cfg_attr(windows, link(name = "windows"))] -extern "system" { +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] pub fn DtcGetTransactionManager(i_pszhost: ::windows_sys::core::PCSTR, i_psztmname: ::windows_sys::core::PCSTR, i_riid: *const ::windows_sys::core::GUID, i_dwreserved1: u32, i_wcbreserved2: u16, i_pvreserved2: *const ::core::ffi::c_void, o_ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] pub fn DtcGetTransactionManagerC(i_pszhost: ::windows_sys::core::PCSTR, i_psztmname: ::windows_sys::core::PCSTR, i_riid: *const ::windows_sys::core::GUID, i_dwreserved1: u32, i_wcbreserved2: u16, i_pvreserved2: *const ::core::ffi::c_void, o_ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] pub fn DtcGetTransactionManagerExA(i_pszhost: ::windows_sys::core::PCSTR, i_psztmname: ::windows_sys::core::PCSTR, i_riid: *const ::windows_sys::core::GUID, i_grfoptions: u32, i_pvconfigparams: *mut ::core::ffi::c_void, o_ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] pub fn DtcGetTransactionManagerExW(i_pwszhost: ::windows_sys::core::PCWSTR, i_pwsztmname: ::windows_sys::core::PCWSTR, i_riid: *const ::windows_sys::core::GUID, i_grfoptions: u32, i_pvconfigparams: *mut ::core::ffi::c_void, o_ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/System/Environment/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Environment/mod.rs index 850af15da0..11a90cdfff 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Environment/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Environment/mod.rs @@ -3,96 +3,204 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CallEnclave(lproutine: isize, lpparameter: *const ::core::ffi::c_void, fwaitforthread: super::super::Foundation::BOOL, lpreturnvalue: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateEnclave(hprocess: super::super::Foundation::HANDLE, lpaddress: *const ::core::ffi::c_void, dwsize: usize, dwinitialcommitment: usize, flenclavetype: u32, lpenclaveinformation: *const ::core::ffi::c_void, dwinfolength: u32, lpenclaveerror: *mut u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateEnvironmentBlock(lpenvironment: *mut *mut ::core::ffi::c_void, htoken: super::super::Foundation::HANDLE, binherit: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteEnclave(lpaddress: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DestroyEnvironmentBlock(lpenvironment: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`*"] pub fn EnclaveGetAttestationReport(enclavedata: *const u8, report: *mut ::core::ffi::c_void, buffersize: u32, outputsize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`*"] pub fn EnclaveGetEnclaveInformation(informationsize: u32, enclaveinformation: *mut ENCLAVE_INFORMATION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`*"] pub fn EnclaveSealData(datatoencrypt: *const ::core::ffi::c_void, datatoencryptsize: u32, identitypolicy: ENCLAVE_SEALING_IDENTITY_POLICY, runtimepolicy: u32, protectedblob: *mut ::core::ffi::c_void, buffersize: u32, protectedblobsize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`*"] pub fn EnclaveUnsealData(protectedblob: *const ::core::ffi::c_void, protectedblobsize: u32, decrypteddata: *mut ::core::ffi::c_void, buffersize: u32, decrypteddatasize: *mut u32, sealingidentity: *mut ENCLAVE_IDENTITY, unsealingflags: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`*"] pub fn EnclaveVerifyAttestationReport(enclavetype: u32, report: *const ::core::ffi::c_void, reportsize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`*"] pub fn ExpandEnvironmentStringsA(lpsrc: ::windows_sys::core::PCSTR, lpdst: ::windows_sys::core::PSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ExpandEnvironmentStringsForUserA(htoken: super::super::Foundation::HANDLE, lpsrc: ::windows_sys::core::PCSTR, lpdest: ::windows_sys::core::PSTR, dwsize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ExpandEnvironmentStringsForUserW(htoken: super::super::Foundation::HANDLE, lpsrc: ::windows_sys::core::PCWSTR, lpdest: ::windows_sys::core::PWSTR, dwsize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`*"] pub fn ExpandEnvironmentStringsW(lpsrc: ::windows_sys::core::PCWSTR, lpdst: ::windows_sys::core::PWSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreeEnvironmentStringsA(penv: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreeEnvironmentStringsW(penv: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`*"] pub fn GetCommandLineA() -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`*"] pub fn GetCommandLineW() -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`*"] pub fn GetCurrentDirectoryA(nbufferlength: u32, lpbuffer: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`*"] pub fn GetCurrentDirectoryW(nbufferlength: u32, lpbuffer: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`*"] pub fn GetEnvironmentStrings() -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`*"] pub fn GetEnvironmentStringsW() -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`*"] pub fn GetEnvironmentVariableA(lpname: ::windows_sys::core::PCSTR, lpbuffer: ::windows_sys::core::PSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`*"] pub fn GetEnvironmentVariableW(lpname: ::windows_sys::core::PCWSTR, lpbuffer: ::windows_sys::core::PWSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InitializeEnclave(hprocess: super::super::Foundation::HANDLE, lpaddress: *const ::core::ffi::c_void, lpenclaveinformation: *const ::core::ffi::c_void, dwinfolength: u32, lpenclaveerror: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsEnclaveTypeSupported(flenclavetype: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadEnclaveData(hprocess: super::super::Foundation::HANDLE, lpaddress: *const ::core::ffi::c_void, lpbuffer: *const ::core::ffi::c_void, nsize: usize, flprotect: u32, lppageinformation: *const ::core::ffi::c_void, dwinfolength: u32, lpnumberofbyteswritten: *mut usize, lpenclaveerror: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadEnclaveImageA(lpenclaveaddress: *const ::core::ffi::c_void, lpimagename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadEnclaveImageW(lpenclaveaddress: *const ::core::ffi::c_void, lpimagename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NeedCurrentDirectoryForExePathA(exename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NeedCurrentDirectoryForExePathW(exename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetCurrentDirectoryA(lppathname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetCurrentDirectoryW(lppathname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetEnvironmentStringsW(newenvironment: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetEnvironmentVariableA(lpname: ::windows_sys::core::PCSTR, lpvalue: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetEnvironmentVariableW(lpname: ::windows_sys::core::PCWSTR, lpvalue: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TerminateEnclave(lpaddress: *const ::core::ffi::c_void, fwait: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/ErrorReporting/mod.rs b/crates/libs/sys/src/Windows/Win32/System/ErrorReporting/mod.rs index 33f5960a98..83bcb49a4c 100644 --- a/crates/libs/sys/src/Windows/Win32/System/ErrorReporting/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/ErrorReporting/mod.rs @@ -3,95 +3,215 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddERExcludedApplicationA(szapplication: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddERExcludedApplicationW(wszapplication: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))] pub fn ReportFault(pep: *const super::Diagnostics::Debug::EXCEPTION_POINTERS, dwopt: u32) -> EFaultRepRetVal; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WerAddExcludedApplication(pwzexename: ::windows_sys::core::PCWSTR, ballusers: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerFreeString(pwszstr: ::windows_sys::core::PCWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WerGetFlags(hprocess: super::super::Foundation::HANDLE, pdwflags: *mut WER_FAULT_REPORTING) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerRegisterAdditionalProcess(processid: u32, captureextrainfoforthreadid: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerRegisterAppLocalDump(localappdatarelativepath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerRegisterCustomMetadata(key: ::windows_sys::core::PCWSTR, value: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerRegisterExcludedMemoryBlock(address: *const ::core::ffi::c_void, size: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerRegisterFile(pwzfile: ::windows_sys::core::PCWSTR, regfiletype: WER_REGISTER_FILE_TYPE, dwflags: WER_FILE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerRegisterMemoryBlock(pvaddress: *const ::core::ffi::c_void, dwsize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerRegisterRuntimeExceptionModule(pwszoutofprocesscallbackdll: ::windows_sys::core::PCWSTR, pcontext: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WerRemoveExcludedApplication(pwzexename: ::windows_sys::core::PCWSTR, ballusers: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))] pub fn WerReportAddDump(hreporthandle: HREPORT, hprocess: super::super::Foundation::HANDLE, hthread: super::super::Foundation::HANDLE, dumptype: WER_DUMP_TYPE, pexceptionparam: *const WER_EXCEPTION_INFORMATION, pdumpcustomoptions: *const WER_DUMP_CUSTOM_OPTIONS, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerReportAddFile(hreporthandle: HREPORT, pwzpath: ::windows_sys::core::PCWSTR, repfiletype: WER_FILE_TYPE, dwfileflags: WER_FILE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerReportCloseHandle(hreporthandle: HREPORT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WerReportCreate(pwzeventtype: ::windows_sys::core::PCWSTR, reptype: WER_REPORT_TYPE, preportinformation: *const WER_REPORT_INFORMATION, phreporthandle: *mut HREPORT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WerReportHang(hwndhungapp: super::super::Foundation::HWND, pwzhungapplicationname: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerReportSetParameter(hreporthandle: HREPORT, dwparamid: u32, pwzname: ::windows_sys::core::PCWSTR, pwzvalue: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerReportSetUIOption(hreporthandle: HREPORT, repuitypeid: WER_REPORT_UI, pwzvalue: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerReportSubmit(hreporthandle: HREPORT, consent: WER_CONSENT, dwflags: WER_SUBMIT_FLAGS, psubmitresult: *mut WER_SUBMIT_RESULT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerSetFlags(dwflags: WER_FAULT_REPORTING) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerStoreClose(hreportstore: HREPORTSTORE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerStoreGetFirstReportKey(hreportstore: HREPORTSTORE, ppszreportkey: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerStoreGetNextReportKey(hreportstore: HREPORTSTORE, ppszreportkey: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerStoreGetReportCount(hreportstore: HREPORTSTORE, pdwreportcount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerStoreGetSizeOnDisk(hreportstore: HREPORTSTORE, pqwsizeinbytes: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerStoreOpen(repstoretype: REPORT_STORE_TYPES, phreportstore: *mut HREPORTSTORE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerStorePurge() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WerStoreQueryReportMetadataV1(hreportstore: HREPORTSTORE, pszreportkey: ::windows_sys::core::PCWSTR, preportmetadata: *mut WER_REPORT_METADATA_V1) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WerStoreQueryReportMetadataV2(hreportstore: HREPORTSTORE, pszreportkey: ::windows_sys::core::PCWSTR, preportmetadata: *mut WER_REPORT_METADATA_V2) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WerStoreQueryReportMetadataV3(hreportstore: HREPORTSTORE, pszreportkey: ::windows_sys::core::PCWSTR, preportmetadata: *mut WER_REPORT_METADATA_V3) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerStoreUploadReport(hreportstore: HREPORTSTORE, pszreportkey: ::windows_sys::core::PCWSTR, dwflags: u32, psubmitresult: *mut WER_SUBMIT_RESULT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerUnregisterAdditionalProcess(processid: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerUnregisterAppLocalDump() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerUnregisterCustomMetadata(key: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerUnregisterExcludedMemoryBlock(address: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerUnregisterFile(pwzfilepath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerUnregisterMemoryBlock(pvaddress: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] pub fn WerUnregisterRuntimeExceptionModule(pwszoutofprocesscallbackdll: ::windows_sys::core::PCWSTR, pcontext: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/System/EventCollector/mod.rs b/crates/libs/sys/src/Windows/Win32/System/EventCollector/mod.rs index 263852d5ec..2fd2b05e62 100644 --- a/crates/libs/sys/src/Windows/Win32/System/EventCollector/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/EventCollector/mod.rs @@ -3,43 +3,85 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EcClose(object: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EcDeleteSubscription(subscriptionname: ::windows_sys::core::PCWSTR, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EcEnumNextSubscription(subscriptionenum: isize, subscriptionnamebuffersize: u32, subscriptionnamebuffer: ::windows_sys::core::PWSTR, subscriptionnamebufferused: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EcGetObjectArrayProperty(objectarray: isize, propertyid: EC_SUBSCRIPTION_PROPERTY_ID, arrayindex: u32, flags: u32, propertyvaluebuffersize: u32, propertyvaluebuffer: *mut EC_VARIANT, propertyvaluebufferused: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EcGetObjectArraySize(objectarray: isize, objectarraysize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EcGetSubscriptionProperty(subscription: isize, propertyid: EC_SUBSCRIPTION_PROPERTY_ID, flags: u32, propertyvaluebuffersize: u32, propertyvaluebuffer: *mut EC_VARIANT, propertyvaluebufferused: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EcGetSubscriptionRunTimeStatus(subscriptionname: ::windows_sys::core::PCWSTR, statusinfoid: EC_SUBSCRIPTION_RUNTIME_STATUS_INFO_ID, eventsourcename: ::windows_sys::core::PCWSTR, flags: u32, statusvaluebuffersize: u32, statusvaluebuffer: *mut EC_VARIANT, statusvaluebufferused: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EcInsertObjectArrayElement(objectarray: isize, arrayindex: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventCollector\"`*"] pub fn EcOpenSubscription(subscriptionname: ::windows_sys::core::PCWSTR, accessmask: u32, flags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventCollector\"`*"] pub fn EcOpenSubscriptionEnum(flags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EcRemoveObjectArrayElement(objectarray: isize, arrayindex: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EcRetrySubscription(subscriptionname: ::windows_sys::core::PCWSTR, eventsourcename: ::windows_sys::core::PCWSTR, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EcSaveSubscription(subscription: isize, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EcSetObjectArrayProperty(objectarray: isize, propertyid: EC_SUBSCRIPTION_PROPERTY_ID, arrayindex: u32, flags: u32, propertyvalue: *mut EC_VARIANT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EcSetSubscriptionProperty(subscription: isize, propertyid: EC_SUBSCRIPTION_PROPERTY_ID, flags: u32, propertyvalue: *mut EC_VARIANT) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/EventLog/mod.rs b/crates/libs/sys/src/Windows/Win32/System/EventLog/mod.rs index 74351a1bf6..619131cc08 100644 --- a/crates/libs/sys/src/Windows/Win32/System/EventLog/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/EventLog/mod.rs @@ -3,147 +3,309 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BackupEventLogA(heventlog: EventLogHandle, lpbackupfilename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BackupEventLogW(heventlog: EventLogHandle, lpbackupfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ClearEventLogA(heventlog: EventLogHandle, lpbackupfilename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ClearEventLogW(heventlog: EventLogHandle, lpbackupfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseEventLog(heventlog: EventLogHandle) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeregisterEventSource(heventlog: EventSourceHandle) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtArchiveExportedLog(session: isize, logfilepath: ::windows_sys::core::PCWSTR, locale: u32, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtCancel(object: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtClearLog(session: isize, channelpath: ::windows_sys::core::PCWSTR, targetfilepath: ::windows_sys::core::PCWSTR, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtClose(object: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] pub fn EvtCreateBookmark(bookmarkxml: ::windows_sys::core::PCWSTR) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] pub fn EvtCreateRenderContext(valuepathscount: u32, valuepaths: *const ::windows_sys::core::PWSTR, flags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtExportLog(session: isize, path: ::windows_sys::core::PCWSTR, query: ::windows_sys::core::PCWSTR, targetfilepath: ::windows_sys::core::PCWSTR, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtFormatMessage(publishermetadata: isize, event: isize, messageid: u32, valuecount: u32, values: *const EVT_VARIANT, flags: u32, buffersize: u32, buffer: ::windows_sys::core::PWSTR, bufferused: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtGetChannelConfigProperty(channelconfig: isize, propertyid: EVT_CHANNEL_CONFIG_PROPERTY_ID, flags: u32, propertyvaluebuffersize: u32, propertyvaluebuffer: *mut EVT_VARIANT, propertyvaluebufferused: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtGetEventInfo(event: isize, propertyid: EVT_EVENT_PROPERTY_ID, propertyvaluebuffersize: u32, propertyvaluebuffer: *mut EVT_VARIANT, propertyvaluebufferused: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtGetEventMetadataProperty(eventmetadata: isize, propertyid: EVT_EVENT_METADATA_PROPERTY_ID, flags: u32, eventmetadatapropertybuffersize: u32, eventmetadatapropertybuffer: *mut EVT_VARIANT, eventmetadatapropertybufferused: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] pub fn EvtGetExtendedStatus(buffersize: u32, buffer: ::windows_sys::core::PWSTR, bufferused: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtGetLogInfo(log: isize, propertyid: EVT_LOG_PROPERTY_ID, propertyvaluebuffersize: u32, propertyvaluebuffer: *mut EVT_VARIANT, propertyvaluebufferused: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtGetObjectArrayProperty(objectarray: isize, propertyid: u32, arrayindex: u32, flags: u32, propertyvaluebuffersize: u32, propertyvaluebuffer: *mut EVT_VARIANT, propertyvaluebufferused: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtGetObjectArraySize(objectarray: isize, objectarraysize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtGetPublisherMetadataProperty(publishermetadata: isize, propertyid: EVT_PUBLISHER_METADATA_PROPERTY_ID, flags: u32, publishermetadatapropertybuffersize: u32, publishermetadatapropertybuffer: *mut EVT_VARIANT, publishermetadatapropertybufferused: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtGetQueryInfo(queryorsubscription: isize, propertyid: EVT_QUERY_PROPERTY_ID, propertyvaluebuffersize: u32, propertyvaluebuffer: *mut EVT_VARIANT, propertyvaluebufferused: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtNext(resultset: isize, eventssize: u32, events: *mut isize, timeout: u32, flags: u32, returned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtNextChannelPath(channelenum: isize, channelpathbuffersize: u32, channelpathbuffer: ::windows_sys::core::PWSTR, channelpathbufferused: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] pub fn EvtNextEventMetadata(eventmetadataenum: isize, flags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtNextPublisherId(publisherenum: isize, publisheridbuffersize: u32, publisheridbuffer: ::windows_sys::core::PWSTR, publisheridbufferused: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] pub fn EvtOpenChannelConfig(session: isize, channelpath: ::windows_sys::core::PCWSTR, flags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] pub fn EvtOpenChannelEnum(session: isize, flags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] pub fn EvtOpenEventMetadataEnum(publishermetadata: isize, flags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] pub fn EvtOpenLog(session: isize, path: ::windows_sys::core::PCWSTR, flags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] pub fn EvtOpenPublisherEnum(session: isize, flags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] pub fn EvtOpenPublisherMetadata(session: isize, publisherid: ::windows_sys::core::PCWSTR, logfilepath: ::windows_sys::core::PCWSTR, locale: u32, flags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] pub fn EvtOpenSession(loginclass: EVT_LOGIN_CLASS, login: *const ::core::ffi::c_void, timeout: u32, flags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] pub fn EvtQuery(session: isize, path: ::windows_sys::core::PCWSTR, query: ::windows_sys::core::PCWSTR, flags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtRender(context: isize, fragment: isize, flags: u32, buffersize: u32, buffer: *mut ::core::ffi::c_void, bufferused: *mut u32, propertycount: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtSaveChannelConfig(channelconfig: isize, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtSeek(resultset: isize, position: i64, bookmark: isize, timeout: u32, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtSetChannelConfigProperty(channelconfig: isize, propertyid: EVT_CHANNEL_CONFIG_PROPERTY_ID, flags: u32, propertyvalue: *const EVT_VARIANT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtSubscribe(session: isize, signalevent: super::super::Foundation::HANDLE, channelpath: ::windows_sys::core::PCWSTR, query: ::windows_sys::core::PCWSTR, bookmark: isize, context: *const ::core::ffi::c_void, callback: EVT_SUBSCRIBE_CALLBACK, flags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvtUpdateBookmark(bookmark: isize, event: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetEventLogInformation(heventlog: EventLogHandle, dwinfolevel: u32, lpbuffer: *mut ::core::ffi::c_void, cbbufsize: u32, pcbbytesneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNumberOfEventLogRecords(heventlog: EventLogHandle, numberofrecords: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetOldestEventLogRecord(heventlog: EventLogHandle, oldestrecord: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NotifyChangeEventLog(heventlog: EventLogHandle, hevent: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] pub fn OpenBackupEventLogA(lpuncservername: ::windows_sys::core::PCSTR, lpfilename: ::windows_sys::core::PCSTR) -> EventLogHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] pub fn OpenBackupEventLogW(lpuncservername: ::windows_sys::core::PCWSTR, lpfilename: ::windows_sys::core::PCWSTR) -> EventLogHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] pub fn OpenEventLogA(lpuncservername: ::windows_sys::core::PCSTR, lpsourcename: ::windows_sys::core::PCSTR) -> EventLogHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] pub fn OpenEventLogW(lpuncservername: ::windows_sys::core::PCWSTR, lpsourcename: ::windows_sys::core::PCWSTR) -> EventLogHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadEventLogA(heventlog: EventLogHandle, dwreadflags: READ_EVENT_LOG_READ_FLAGS, dwrecordoffset: u32, lpbuffer: *mut ::core::ffi::c_void, nnumberofbytestoread: u32, pnbytesread: *mut u32, pnminnumberofbytesneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadEventLogW(heventlog: EventLogHandle, dwreadflags: READ_EVENT_LOG_READ_FLAGS, dwrecordoffset: u32, lpbuffer: *mut ::core::ffi::c_void, nnumberofbytestoread: u32, pnbytesread: *mut u32, pnminnumberofbytesneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] pub fn RegisterEventSourceA(lpuncservername: ::windows_sys::core::PCSTR, lpsourcename: ::windows_sys::core::PCSTR) -> EventSourceHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] pub fn RegisterEventSourceW(lpuncservername: ::windows_sys::core::PCWSTR, lpsourcename: ::windows_sys::core::PCWSTR) -> EventSourceHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReportEventA(heventlog: EventSourceHandle, wtype: REPORT_EVENT_TYPE, wcategory: u16, dweventid: u32, lpusersid: super::super::Foundation::PSID, wnumstrings: u16, dwdatasize: u32, lpstrings: *const ::windows_sys::core::PSTR, lprawdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReportEventW(heventlog: EventSourceHandle, wtype: REPORT_EVENT_TYPE, wcategory: u16, dweventid: u32, lpusersid: super::super::Foundation::PSID, wnumstrings: u16, dwdatasize: u32, lpstrings: *const ::windows_sys::core::PWSTR, lprawdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/EventNotificationService/mod.rs b/crates/libs/sys/src/Windows/Win32/System/EventNotificationService/mod.rs index 5ef0d5779d..44412f56f5 100644 --- a/crates/libs/sys/src/Windows/Win32/System/EventNotificationService/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/EventNotificationService/mod.rs @@ -3,9 +3,15 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsDestinationReachableA(lpszdestination: ::windows_sys::core::PCSTR, lpqocinfo: *mut QOCINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsDestinationReachableW(lpszdestination: ::windows_sys::core::PCWSTR, lpqocinfo: *mut QOCINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsNetworkAlive(lpdwflags: *mut u32) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/GroupPolicy/mod.rs b/crates/libs/sys/src/Windows/Win32/System/GroupPolicy/mod.rs index 1b4537a432..5682600245 100644 --- a/crates/libs/sys/src/Windows/Win32/System/GroupPolicy/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/GroupPolicy/mod.rs @@ -3,85 +3,178 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BrowseForGPO(lpbrowseinfo: *mut GPOBROWSEINFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub fn CommandLineFromMsiDescriptor(descriptor: ::windows_sys::core::PCWSTR, commandline: ::windows_sys::core::PWSTR, commandlinelength: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateGPOLink(lpgpo: ::windows_sys::core::PCWSTR, lpcontainer: ::windows_sys::core::PCWSTR, fhighpriority: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub fn DeleteAllGPOLinks(lpcontainer: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub fn DeleteGPOLink(lpgpo: ::windows_sys::core::PCWSTR, lpcontainer: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnterCriticalPolicySection(bmachine: super::super::Foundation::BOOL) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub fn ExportRSoPData(lpnamespace: ::windows_sys::core::PCWSTR, lpfilename: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreeGPOListA(pgpolist: *const GROUP_POLICY_OBJECTA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreeGPOListW(pgpolist: *const GROUP_POLICY_OBJECTW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GenerateGPNotification(bmachine: super::super::Foundation::BOOL, lpwszmgmtproduct: ::windows_sys::core::PCWSTR, dwmgmtproductoptions: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetAppliedGPOListA(dwflags: u32, pmachinename: ::windows_sys::core::PCSTR, psiduser: super::super::Foundation::PSID, pguidextension: *const ::windows_sys::core::GUID, ppgpolist: *mut *mut GROUP_POLICY_OBJECTA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetAppliedGPOListW(dwflags: u32, pmachinename: ::windows_sys::core::PCWSTR, psiduser: super::super::Foundation::PSID, pguidextension: *const ::windows_sys::core::GUID, ppgpolist: *mut *mut GROUP_POLICY_OBJECTW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetGPOListA(htoken: super::super::Foundation::HANDLE, lpname: ::windows_sys::core::PCSTR, lphostname: ::windows_sys::core::PCSTR, lpcomputername: ::windows_sys::core::PCSTR, dwflags: u32, pgpolist: *mut *mut GROUP_POLICY_OBJECTA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetGPOListW(htoken: super::super::Foundation::HANDLE, lpname: ::windows_sys::core::PCWSTR, lphostname: ::windows_sys::core::PCWSTR, lpcomputername: ::windows_sys::core::PCWSTR, dwflags: u32, pgpolist: *mut *mut GROUP_POLICY_OBJECTW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub fn GetLocalManagedApplicationData(productcode: ::windows_sys::core::PCWSTR, displayname: *mut ::windows_sys::core::PWSTR, supporturl: *mut ::windows_sys::core::PWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetLocalManagedApplications(buserapps: super::super::Foundation::BOOL, pdwapps: *mut u32, prglocalapps: *mut *mut LOCALMANAGEDAPPLICATION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_UI_Shell\"`*"] #[cfg(feature = "Win32_UI_Shell")] pub fn GetManagedApplicationCategories(dwreserved: u32, pappcategory: *mut super::super::UI::Shell::APPCATEGORYINFOLIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetManagedApplications(pcategory: *const ::windows_sys::core::GUID, dwqueryflags: u32, dwinfolevel: u32, pdwapps: *mut u32, prgmanagedapps: *mut *mut MANAGEDAPPLICATION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub fn ImportRSoPData(lpnamespace: ::windows_sys::core::PCWSTR, lpfilename: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub fn InstallApplication(pinstallinfo: *const INSTALLDATA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LeaveCriticalPolicySection(hsection: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub fn ProcessGroupPolicyCompleted(extensionid: *const ::windows_sys::core::GUID, pasynchandle: usize, dwstatus: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub fn ProcessGroupPolicyCompletedEx(extensionid: *const ::windows_sys::core::GUID, pasynchandle: usize, dwstatus: u32, rsopstatus: ::windows_sys::core::HRESULT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RefreshPolicy(bmachine: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RefreshPolicyEx(bmachine: super::super::Foundation::BOOL, dwoptions: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterGPNotification(hevent: super::super::Foundation::HANDLE, bmachine: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn RsopAccessCheckByType(psecuritydescriptor: super::super::Security::PSECURITY_DESCRIPTOR, pprincipalselfsid: super::super::Foundation::PSID, prsoptoken: *const ::core::ffi::c_void, dwdesiredaccessmask: u32, pobjecttypelist: *const super::super::Security::OBJECT_TYPE_LIST, objecttypelistlength: u32, pgenericmapping: *const super::super::Security::GENERIC_MAPPING, pprivilegeset: *const super::super::Security::PRIVILEGE_SET, pdwprivilegesetlength: *const u32, pdwgrantedaccessmask: *mut u32, pbaccessstatus: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub fn RsopFileAccessCheck(pszfilename: ::windows_sys::core::PCWSTR, prsoptoken: *const ::core::ffi::c_void, dwdesiredaccessmask: u32, pdwgrantedaccessmask: *mut u32, pbaccessstatus: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Wmi\"`*"] #[cfg(feature = "Win32_System_Wmi")] pub fn RsopResetPolicySettingStatus(dwflags: u32, pservices: super::Wmi::IWbemServices, psettinginstance: super::Wmi::IWbemClassObject) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Wmi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Wmi"))] pub fn RsopSetPolicySettingStatus(dwflags: u32, pservices: super::Wmi::IWbemServices, psettinginstance: super::Wmi::IWbemClassObject, ninfo: u32, pstatus: *const POLICYSETTINGSTATUSINFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub fn UninstallApplication(productcode: ::windows_sys::core::PCWSTR, dwstatus: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnregisterGPNotification(hevent: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/HostComputeNetwork/mod.rs b/crates/libs/sys/src/Windows/Win32/System/HostComputeNetwork/mod.rs index 8fbf385ab7..70af802b9f 100644 --- a/crates/libs/sys/src/Windows/Win32/System/HostComputeNetwork/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/HostComputeNetwork/mod.rs @@ -2,87 +2,207 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnCloseEndpoint(endpoint: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnCloseGuestNetworkService(guestnetworkservice: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnCloseLoadBalancer(loadbalancer: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnCloseNamespace(namespace: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnCloseNetwork(network: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnCreateEndpoint(network: *const ::core::ffi::c_void, id: *const ::windows_sys::core::GUID, settings: ::windows_sys::core::PCWSTR, endpoint: *mut *mut ::core::ffi::c_void, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnCreateGuestNetworkService(id: *const ::windows_sys::core::GUID, settings: ::windows_sys::core::PCWSTR, guestnetworkservice: *mut *mut ::core::ffi::c_void, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnCreateLoadBalancer(id: *const ::windows_sys::core::GUID, settings: ::windows_sys::core::PCWSTR, loadbalancer: *mut *mut ::core::ffi::c_void, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnCreateNamespace(id: *const ::windows_sys::core::GUID, settings: ::windows_sys::core::PCWSTR, namespace: *mut *mut ::core::ffi::c_void, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnCreateNetwork(id: *const ::windows_sys::core::GUID, settings: ::windows_sys::core::PCWSTR, network: *mut *mut ::core::ffi::c_void, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnDeleteEndpoint(id: *const ::windows_sys::core::GUID, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnDeleteGuestNetworkService(id: *const ::windows_sys::core::GUID, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnDeleteLoadBalancer(id: *const ::windows_sys::core::GUID, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnDeleteNamespace(id: *const ::windows_sys::core::GUID, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnDeleteNetwork(id: *const ::windows_sys::core::GUID, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnEnumerateEndpoints(query: ::windows_sys::core::PCWSTR, endpoints: *mut ::windows_sys::core::PWSTR, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnEnumerateGuestNetworkPortReservations(returncount: *mut u32, portentries: *mut *mut HCN_PORT_RANGE_ENTRY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnEnumerateLoadBalancers(query: ::windows_sys::core::PCWSTR, loadbalancer: *mut ::windows_sys::core::PWSTR, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnEnumerateNamespaces(query: ::windows_sys::core::PCWSTR, namespaces: *mut ::windows_sys::core::PWSTR, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnEnumerateNetworks(query: ::windows_sys::core::PCWSTR, networks: *mut ::windows_sys::core::PWSTR, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnFreeGuestNetworkPortReservations(portentries: *mut HCN_PORT_RANGE_ENTRY); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnModifyEndpoint(endpoint: *const ::core::ffi::c_void, settings: ::windows_sys::core::PCWSTR, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnModifyGuestNetworkService(guestnetworkservice: *const ::core::ffi::c_void, settings: ::windows_sys::core::PCWSTR, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnModifyLoadBalancer(loadbalancer: *const ::core::ffi::c_void, settings: ::windows_sys::core::PCWSTR, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnModifyNamespace(namespace: *const ::core::ffi::c_void, settings: ::windows_sys::core::PCWSTR, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnModifyNetwork(network: *const ::core::ffi::c_void, settings: ::windows_sys::core::PCWSTR, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnOpenEndpoint(id: *const ::windows_sys::core::GUID, endpoint: *mut *mut ::core::ffi::c_void, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnOpenLoadBalancer(id: *const ::windows_sys::core::GUID, loadbalancer: *mut *mut ::core::ffi::c_void, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnOpenNamespace(id: *const ::windows_sys::core::GUID, namespace: *mut *mut ::core::ffi::c_void, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnOpenNetwork(id: *const ::windows_sys::core::GUID, network: *mut *mut ::core::ffi::c_void, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnQueryEndpointProperties(endpoint: *const ::core::ffi::c_void, query: ::windows_sys::core::PCWSTR, properties: *mut ::windows_sys::core::PWSTR, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnQueryLoadBalancerProperties(loadbalancer: *const ::core::ffi::c_void, query: ::windows_sys::core::PCWSTR, properties: *mut ::windows_sys::core::PWSTR, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnQueryNamespaceProperties(namespace: *const ::core::ffi::c_void, query: ::windows_sys::core::PCWSTR, properties: *mut ::windows_sys::core::PWSTR, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnQueryNetworkProperties(network: *const ::core::ffi::c_void, query: ::windows_sys::core::PCWSTR, properties: *mut ::windows_sys::core::PWSTR, errorrecord: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnRegisterGuestNetworkServiceCallback(guestnetworkservice: *const ::core::ffi::c_void, callback: HCN_NOTIFICATION_CALLBACK, context: *const ::core::ffi::c_void, callbackhandle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnRegisterServiceCallback(callback: HCN_NOTIFICATION_CALLBACK, context: *const ::core::ffi::c_void, callbackhandle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HcnReleaseGuestNetworkServicePortReservationHandle(portreservationhandle: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HcnReserveGuestNetworkServicePort(guestnetworkservice: *const ::core::ffi::c_void, protocol: HCN_PORT_PROTOCOL, access: HCN_PORT_ACCESS, port: u16, portreservationhandle: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HcnReserveGuestNetworkServicePortRange(guestnetworkservice: *const ::core::ffi::c_void, portcount: u16, portrangereservation: *mut HCN_PORT_RANGE_RESERVATION, portreservationhandle: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnUnregisterGuestNetworkServiceCallback(callbackhandle: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] pub fn HcnUnregisterServiceCallback(callbackhandle: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/System/HostComputeSystem/mod.rs b/crates/libs/sys/src/Windows/Win32/System/HostComputeSystem/mod.rs index 05b20b7fff..7012a1e42d 100644 --- a/crates/libs/sys/src/Windows/Win32/System/HostComputeSystem/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/HostComputeSystem/mod.rs @@ -2,138 +2,327 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsAttachLayerStorageFilter(layerpath: ::windows_sys::core::PCWSTR, layerdata: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsCancelOperation(operation: HCS_OPERATION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsCloseComputeSystem(computesystem: HCS_SYSTEM); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsCloseOperation(operation: HCS_OPERATION); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsCloseProcess(process: HCS_PROCESS); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsCrashComputeSystem(computesystem: HCS_SYSTEM, operation: HCS_OPERATION, options: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn HcsCreateComputeSystem(id: ::windows_sys::core::PCWSTR, configuration: ::windows_sys::core::PCWSTR, operation: HCS_OPERATION, securitydescriptor: *const super::super::Security::SECURITY_DESCRIPTOR, computesystem: *mut HCS_SYSTEM) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsCreateComputeSystemInNamespace(idnamespace: ::windows_sys::core::PCWSTR, id: ::windows_sys::core::PCWSTR, configuration: ::windows_sys::core::PCWSTR, operation: HCS_OPERATION, options: *const HCS_CREATE_OPTIONS, computesystem: *mut HCS_SYSTEM) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsCreateEmptyGuestStateFile(gueststatefilepath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsCreateEmptyRuntimeStateFile(runtimestatefilepath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsCreateOperation(context: *const ::core::ffi::c_void, callback: HCS_OPERATION_COMPLETION) -> HCS_OPERATION; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn HcsCreateProcess(computesystem: HCS_SYSTEM, processparameters: ::windows_sys::core::PCWSTR, operation: HCS_OPERATION, securitydescriptor: *const super::super::Security::SECURITY_DESCRIPTOR, process: *mut HCS_PROCESS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsDestroyLayer(layerpath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsDetachLayerStorageFilter(layerpath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsEnumerateComputeSystems(query: ::windows_sys::core::PCWSTR, operation: HCS_OPERATION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsEnumerateComputeSystemsInNamespace(idnamespace: ::windows_sys::core::PCWSTR, query: ::windows_sys::core::PCWSTR, operation: HCS_OPERATION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsExportLayer(layerpath: ::windows_sys::core::PCWSTR, exportfolderpath: ::windows_sys::core::PCWSTR, layerdata: ::windows_sys::core::PCWSTR, options: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsExportLegacyWritableLayer(writablelayermountpath: ::windows_sys::core::PCWSTR, writablelayerfolderpath: ::windows_sys::core::PCWSTR, exportfolderpath: ::windows_sys::core::PCWSTR, layerdata: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HcsFormatWritableLayerVhd(vhdhandle: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsGetComputeSystemFromOperation(operation: HCS_OPERATION) -> HCS_SYSTEM; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsGetComputeSystemProperties(computesystem: HCS_SYSTEM, operation: HCS_OPERATION, propertyquery: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HcsGetLayerVhdMountPath(vhdhandle: super::super::Foundation::HANDLE, mountpath: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsGetOperationContext(operation: HCS_OPERATION) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsGetOperationId(operation: HCS_OPERATION) -> u64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsGetOperationResult(operation: HCS_OPERATION, resultdocument: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HcsGetOperationResultAndProcessInfo(operation: HCS_OPERATION, processinformation: *mut HCS_PROCESS_INFORMATION, resultdocument: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsGetOperationType(operation: HCS_OPERATION) -> HCS_OPERATION_TYPE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsGetProcessFromOperation(operation: HCS_OPERATION) -> HCS_PROCESS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsGetProcessInfo(process: HCS_PROCESS, operation: HCS_OPERATION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsGetProcessProperties(process: HCS_PROCESS, operation: HCS_OPERATION, propertyquery: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsGetProcessorCompatibilityFromSavedState(runtimefilename: ::windows_sys::core::PCWSTR, processorfeaturesstring: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsGetServiceProperties(propertyquery: ::windows_sys::core::PCWSTR, result: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsGrantVmAccess(vmid: ::windows_sys::core::PCWSTR, filepath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsGrantVmGroupAccess(filepath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsImportLayer(layerpath: ::windows_sys::core::PCWSTR, sourcefolderpath: ::windows_sys::core::PCWSTR, layerdata: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsInitializeLegacyWritableLayer(writablelayermountpath: ::windows_sys::core::PCWSTR, writablelayerfolderpath: ::windows_sys::core::PCWSTR, layerdata: ::windows_sys::core::PCWSTR, options: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsInitializeWritableLayer(writablelayerpath: ::windows_sys::core::PCWSTR, layerdata: ::windows_sys::core::PCWSTR, options: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HcsModifyComputeSystem(computesystem: HCS_SYSTEM, operation: HCS_OPERATION, configuration: ::windows_sys::core::PCWSTR, identity: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsModifyProcess(process: HCS_PROCESS, operation: HCS_OPERATION, settings: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsModifyServiceSettings(settings: ::windows_sys::core::PCWSTR, result: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsOpenComputeSystem(id: ::windows_sys::core::PCWSTR, requestedaccess: u32, computesystem: *mut HCS_SYSTEM) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsOpenComputeSystemInNamespace(idnamespace: ::windows_sys::core::PCWSTR, id: ::windows_sys::core::PCWSTR, requestedaccess: u32, computesystem: *mut HCS_SYSTEM) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsOpenProcess(computesystem: HCS_SYSTEM, processid: u32, requestedaccess: u32, process: *mut HCS_PROCESS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsPauseComputeSystem(computesystem: HCS_SYSTEM, operation: HCS_OPERATION, options: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsResumeComputeSystem(computesystem: HCS_SYSTEM, operation: HCS_OPERATION, options: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsRevokeVmAccess(vmid: ::windows_sys::core::PCWSTR, filepath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsRevokeVmGroupAccess(filepath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsSaveComputeSystem(computesystem: HCS_SYSTEM, operation: HCS_OPERATION, options: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsSetComputeSystemCallback(computesystem: HCS_SYSTEM, callbackoptions: HCS_EVENT_OPTIONS, context: *const ::core::ffi::c_void, callback: HCS_EVENT_CALLBACK) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsSetOperationCallback(operation: HCS_OPERATION, context: *const ::core::ffi::c_void, callback: HCS_OPERATION_COMPLETION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsSetOperationContext(operation: HCS_OPERATION, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsSetProcessCallback(process: HCS_PROCESS, callbackoptions: HCS_EVENT_OPTIONS, context: *const ::core::ffi::c_void, callback: HCS_EVENT_CALLBACK) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HcsSetupBaseOSLayer(layerpath: ::windows_sys::core::PCWSTR, vhdhandle: super::super::Foundation::HANDLE, options: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsSetupBaseOSVolume(layerpath: ::windows_sys::core::PCWSTR, volumepath: ::windows_sys::core::PCWSTR, options: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsShutDownComputeSystem(computesystem: HCS_SYSTEM, operation: HCS_OPERATION, options: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsSignalProcess(process: HCS_PROCESS, operation: HCS_OPERATION, options: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsStartComputeSystem(computesystem: HCS_SYSTEM, operation: HCS_OPERATION, options: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsSubmitWerReport(settings: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsTerminateComputeSystem(computesystem: HCS_SYSTEM, operation: HCS_OPERATION, options: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsTerminateProcess(process: HCS_PROCESS, operation: HCS_OPERATION, options: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsWaitForComputeSystemExit(computesystem: HCS_SYSTEM, timeoutms: u32, result: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsWaitForOperationResult(operation: HCS_OPERATION, timeoutms: u32, resultdocument: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HcsWaitForOperationResultAndProcessInfo(operation: HCS_OPERATION, timeoutms: u32, processinformation: *mut HCS_PROCESS_INFORMATION, resultdocument: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] pub fn HcsWaitForProcessExit(computesystem: HCS_PROCESS, timeoutms: u32, result: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/System/Hypervisor/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Hypervisor/mod.rs index 0892b5ca82..1ba1310436 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Hypervisor/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Hypervisor/mod.rs @@ -2,275 +2,647 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn ApplyGuestMemoryFix(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, virtualaddress: u64, fixbuffer: *const ::core::ffi::c_void, fixbuffersize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn ApplyPendingSavedStateFileReplayLog(vmrsfile: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn CallStackUnwind(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, imageinfo: *const MODULE_INFO, imageinfocount: u32, framecount: u32, callstack: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindSavedStateSymbolFieldInType(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, typename: ::windows_sys::core::PCSTR, fieldname: ::windows_sys::core::PCWSTR, offset: *mut u32, found: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn ForceActiveVirtualTrustLevel(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, virtualtrustlevel: u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn ForceArchitecture(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, architecture: VIRTUAL_PROCESSOR_ARCH) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ForceNestedHostMode(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, hostmode: super::super::Foundation::BOOL, oldmode: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn ForcePagingMode(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, pagingmode: PAGING_MODE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn GetActiveVirtualTrustLevel(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, virtualtrustlevel: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn GetArchitecture(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, architecture: *mut VIRTUAL_PROCESSOR_ARCH) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn GetEnabledVirtualTrustLevels(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, virtualtrustlevels: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn GetGuestEnabledVirtualTrustLevels(vmsavedstatedumphandle: *mut ::core::ffi::c_void, virtualtrustlevels: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn GetGuestOsInfo(vmsavedstatedumphandle: *mut ::core::ffi::c_void, virtualtrustlevel: u8, guestosinfo: *mut GUEST_OS_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn GetGuestPhysicalMemoryChunks(vmsavedstatedumphandle: *mut ::core::ffi::c_void, memorychunkpagesize: *mut u64, memorychunks: *mut GPA_MEMORY_CHUNK, memorychunkcount: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn GetGuestRawSavedMemorySize(vmsavedstatedumphandle: *mut ::core::ffi::c_void, guestrawsavedmemorysize: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn GetMemoryBlockCacheLimit(vmsavedstatedumphandle: *mut ::core::ffi::c_void, memoryblockcachelimit: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNestedVirtualizationMode(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, enabled: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn GetPagingMode(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, pagingmode: *mut PAGING_MODE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn GetRegisterValue(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, registerid: u32, registervalue: *mut VIRTUAL_PROCESSOR_REGISTER) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn GetSavedStateSymbolFieldInfo(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, typename: ::windows_sys::core::PCSTR, typefieldinfomap: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSavedStateSymbolProviderHandle(vmsavedstatedumphandle: *mut ::core::ffi::c_void) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn GetSavedStateSymbolTypeSize(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, typename: ::windows_sys::core::PCSTR, size: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn GetVpCount(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpcount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn GuestPhysicalAddressToRawSavedMemoryOffset(vmsavedstatedumphandle: *mut ::core::ffi::c_void, physicaladdress: u64, rawsavedmemoryoffset: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn GuestVirtualAddressToPhysicalAddress(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, virtualaddress: u64, physicaladdress: *mut u64, unmappedregionsize: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn HdvCreateDeviceInstance(devicehosthandle: *const ::core::ffi::c_void, devicetype: HDV_DEVICE_TYPE, deviceclassid: *const ::windows_sys::core::GUID, deviceinstanceid: *const ::windows_sys::core::GUID, deviceinterface: *const ::core::ffi::c_void, devicecontext: *const ::core::ffi::c_void, devicehandle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HdvCreateGuestMemoryAperture(requestor: *const ::core::ffi::c_void, guestphysicaladdress: u64, bytecount: u32, writeprotected: super::super::Foundation::BOOL, mappedaddress: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HdvCreateSectionBackedMmioRange(requestor: *const ::core::ffi::c_void, barindex: HDV_PCI_BAR_SELECTOR, offsetinpages: u64, lengthinpages: u64, mappingflags: HDV_MMIO_MAPPING_FLAGS, sectionhandle: super::super::Foundation::HANDLE, sectionoffsetinpages: u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn HdvDeliverGuestInterrupt(requestor: *const ::core::ffi::c_void, msiaddress: u64, msidata: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn HdvDestroyGuestMemoryAperture(requestor: *const ::core::ffi::c_void, mappedaddress: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn HdvDestroySectionBackedMmioRange(requestor: *const ::core::ffi::c_void, barindex: HDV_PCI_BAR_SELECTOR, offsetinpages: u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_System_HostComputeSystem\"`*"] #[cfg(feature = "Win32_System_HostComputeSystem")] pub fn HdvInitializeDeviceHost(computesystem: super::HostComputeSystem::HCS_SYSTEM, devicehosthandle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn HdvReadGuestMemory(requestor: *const ::core::ffi::c_void, guestphysicaladdress: u64, bytecount: u32, buffer: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HdvRegisterDoorbell(requestor: *const ::core::ffi::c_void, barindex: HDV_PCI_BAR_SELECTOR, baroffset: u64, triggervalue: u64, flags: u64, doorbellevent: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn HdvTeardownDeviceHost(devicehosthandle: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn HdvUnregisterDoorbell(requestor: *const ::core::ffi::c_void, barindex: HDV_PCI_BAR_SELECTOR, baroffset: u64, triggervalue: u64, flags: u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn HdvWriteGuestMemory(requestor: *const ::core::ffi::c_void, guestphysicaladdress: u64, bytecount: u32, buffer: *const u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InKernelSpace(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, inkernelspace: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsActiveVirtualTrustLevelEnabled(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, activevirtualtrustlevelenabled: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsNestedVirtualizationEnabled(vmsavedstatedumphandle: *mut ::core::ffi::c_void, enabled: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn LoadSavedStateFile(vmrsfile: ::windows_sys::core::PCWSTR, vmsavedstatedumphandle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn LoadSavedStateFiles(binfile: ::windows_sys::core::PCWSTR, vsvfile: ::windows_sys::core::PCWSTR, vmsavedstatedumphandle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn LoadSavedStateModuleSymbols(vmsavedstatedumphandle: *mut ::core::ffi::c_void, imagename: ::windows_sys::core::PCSTR, modulename: ::windows_sys::core::PCSTR, baseaddress: u64, sizeofbase: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn LoadSavedStateModuleSymbolsEx(vmsavedstatedumphandle: *mut ::core::ffi::c_void, imagename: ::windows_sys::core::PCSTR, imagetimestamp: u32, modulename: ::windows_sys::core::PCSTR, baseaddress: u64, sizeofbase: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadSavedStateSymbolProvider(vmsavedstatedumphandle: *mut ::core::ffi::c_void, usersymbols: ::windows_sys::core::PCWSTR, force: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn LocateSavedStateFiles(vmname: ::windows_sys::core::PCWSTR, snapshotname: ::windows_sys::core::PCWSTR, binpath: *mut ::windows_sys::core::PWSTR, vsvpath: *mut ::windows_sys::core::PWSTR, vmrspath: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn ReadGuestPhysicalAddress(vmsavedstatedumphandle: *mut ::core::ffi::c_void, physicaladdress: u64, buffer: *mut ::core::ffi::c_void, buffersize: u32, bytesread: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn ReadGuestRawSavedMemory(vmsavedstatedumphandle: *mut ::core::ffi::c_void, rawsavedmemoryoffset: u64, buffer: *mut ::core::ffi::c_void, buffersize: u32, bytesread: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn ReadSavedStateGlobalVariable(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, globalname: ::windows_sys::core::PCSTR, buffer: *mut ::core::ffi::c_void, buffersize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn ReleaseSavedStateFiles(vmsavedstatedumphandle: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn ReleaseSavedStateSymbolProvider(vmsavedstatedumphandle: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn ResolveSavedStateGlobalVariableAddress(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, globalname: ::windows_sys::core::PCSTR, virtualaddress: *mut u64, size: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ScanMemoryForDosImages(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, startaddress: u64, endaddress: u64, callbackcontext: *mut ::core::ffi::c_void, foundimagecallback: FOUND_IMAGE_CALLBACK, standaloneaddress: *const u64, standaloneaddresscount: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn SetMemoryBlockCacheLimit(vmsavedstatedumphandle: *mut ::core::ffi::c_void, memoryblockcachelimit: u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn SetSavedStateSymbolProviderDebugInfoCallback(vmsavedstatedumphandle: *mut ::core::ffi::c_void, callback: GUEST_SYMBOLS_PROVIDER_DEBUG_INFO_CALLBACK) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WHvAcceptPartitionMigration(migrationhandle: super::super::Foundation::HANDLE, partition: *mut WHV_PARTITION_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvAdviseGpaRange(partition: WHV_PARTITION_HANDLE, gparanges: *const WHV_MEMORY_RANGE_ENTRY, gparangescount: u32, advice: WHV_ADVISE_GPA_RANGE_CODE, advicebuffer: *const ::core::ffi::c_void, advicebuffersizeinbytes: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WHvAllocateVpciResource(providerid: *const ::windows_sys::core::GUID, flags: WHV_ALLOCATE_VPCI_RESOURCE_FLAGS, resourcedescriptor: *const ::core::ffi::c_void, resourcedescriptorsizeinbytes: u32, vpciresource: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvCancelPartitionMigration(partition: WHV_PARTITION_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvCancelRunVirtualProcessor(partition: WHV_PARTITION_HANDLE, vpindex: u32, flags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvCompletePartitionMigration(partition: WHV_PARTITION_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WHvCreateNotificationPort(partition: WHV_PARTITION_HANDLE, parameters: *const WHV_NOTIFICATION_PORT_PARAMETERS, eventhandle: super::super::Foundation::HANDLE, porthandle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvCreatePartition(partition: *mut WHV_PARTITION_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WHvCreateTrigger(partition: WHV_PARTITION_HANDLE, parameters: *const WHV_TRIGGER_PARAMETERS, triggerhandle: *mut *mut ::core::ffi::c_void, eventhandle: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvCreateVirtualProcessor(partition: WHV_PARTITION_HANDLE, vpindex: u32, flags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvCreateVirtualProcessor2(partition: WHV_PARTITION_HANDLE, vpindex: u32, properties: *const WHV_VIRTUAL_PROCESSOR_PROPERTY, propertycount: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WHvCreateVpciDevice(partition: WHV_PARTITION_HANDLE, logicaldeviceid: u64, vpciresource: super::super::Foundation::HANDLE, flags: WHV_CREATE_VPCI_DEVICE_FLAGS, notificationeventhandle: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvDeleteNotificationPort(partition: WHV_PARTITION_HANDLE, porthandle: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvDeletePartition(partition: WHV_PARTITION_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvDeleteTrigger(partition: WHV_PARTITION_HANDLE, triggerhandle: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvDeleteVirtualProcessor(partition: WHV_PARTITION_HANDLE, vpindex: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvDeleteVpciDevice(partition: WHV_PARTITION_HANDLE, logicaldeviceid: u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvEmulatorCreateEmulator(callbacks: *const WHV_EMULATOR_CALLBACKS, emulator: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvEmulatorDestroyEmulator(emulator: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvEmulatorTryIoEmulation(emulator: *const ::core::ffi::c_void, context: *const ::core::ffi::c_void, vpcontext: *const WHV_VP_EXIT_CONTEXT, ioinstructioncontext: *const WHV_X64_IO_PORT_ACCESS_CONTEXT, emulatorreturnstatus: *mut WHV_EMULATOR_STATUS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvEmulatorTryMmioEmulation(emulator: *const ::core::ffi::c_void, context: *const ::core::ffi::c_void, vpcontext: *const WHV_VP_EXIT_CONTEXT, mmioinstructioncontext: *const WHV_MEMORY_ACCESS_CONTEXT, emulatorreturnstatus: *mut WHV_EMULATOR_STATUS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvGetCapability(capabilitycode: WHV_CAPABILITY_CODE, capabilitybuffer: *mut ::core::ffi::c_void, capabilitybuffersizeinbytes: u32, writtensizeinbytes: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvGetInterruptTargetVpSet(partition: WHV_PARTITION_HANDLE, destination: u64, destinationmode: WHV_INTERRUPT_DESTINATION_MODE, targetvps: *mut u32, vpcount: u32, targetvpcount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvGetPartitionCounters(partition: WHV_PARTITION_HANDLE, counterset: WHV_PARTITION_COUNTER_SET, buffer: *mut ::core::ffi::c_void, buffersizeinbytes: u32, byteswritten: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvGetPartitionProperty(partition: WHV_PARTITION_HANDLE, propertycode: WHV_PARTITION_PROPERTY_CODE, propertybuffer: *mut ::core::ffi::c_void, propertybuffersizeinbytes: u32, writtensizeinbytes: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvGetVirtualProcessorCounters(partition: WHV_PARTITION_HANDLE, vpindex: u32, counterset: WHV_PROCESSOR_COUNTER_SET, buffer: *mut ::core::ffi::c_void, buffersizeinbytes: u32, byteswritten: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvGetVirtualProcessorCpuidOutput(partition: WHV_PARTITION_HANDLE, vpindex: u32, eax: u32, ecx: u32, cpuidoutput: *mut WHV_CPUID_OUTPUT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvGetVirtualProcessorInterruptControllerState(partition: WHV_PARTITION_HANDLE, vpindex: u32, state: *mut ::core::ffi::c_void, statesize: u32, writtensize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvGetVirtualProcessorInterruptControllerState2(partition: WHV_PARTITION_HANDLE, vpindex: u32, state: *mut ::core::ffi::c_void, statesize: u32, writtensize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvGetVirtualProcessorRegisters(partition: WHV_PARTITION_HANDLE, vpindex: u32, registernames: *const WHV_REGISTER_NAME, registercount: u32, registervalues: *mut WHV_REGISTER_VALUE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvGetVirtualProcessorState(partition: WHV_PARTITION_HANDLE, vpindex: u32, statetype: WHV_VIRTUAL_PROCESSOR_STATE_TYPE, buffer: *mut ::core::ffi::c_void, buffersizeinbytes: u32, byteswritten: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvGetVirtualProcessorXsaveState(partition: WHV_PARTITION_HANDLE, vpindex: u32, buffer: *mut ::core::ffi::c_void, buffersizeinbytes: u32, byteswritten: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvGetVpciDeviceInterruptTarget(partition: WHV_PARTITION_HANDLE, logicaldeviceid: u64, index: u32, multimessagenumber: u32, target: *mut WHV_VPCI_INTERRUPT_TARGET, targetsizeinbytes: u32, byteswritten: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvGetVpciDeviceNotification(partition: WHV_PARTITION_HANDLE, logicaldeviceid: u64, notification: *mut WHV_VPCI_DEVICE_NOTIFICATION, notificationsizeinbytes: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvGetVpciDeviceProperty(partition: WHV_PARTITION_HANDLE, logicaldeviceid: u64, propertycode: WHV_VPCI_DEVICE_PROPERTY_CODE, propertybuffer: *mut ::core::ffi::c_void, propertybuffersizeinbytes: u32, writtensizeinbytes: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvMapGpaRange(partition: WHV_PARTITION_HANDLE, sourceaddress: *const ::core::ffi::c_void, guestaddress: u64, sizeinbytes: u64, flags: WHV_MAP_GPA_RANGE_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WHvMapGpaRange2(partition: WHV_PARTITION_HANDLE, process: super::super::Foundation::HANDLE, sourceaddress: *const ::core::ffi::c_void, guestaddress: u64, sizeinbytes: u64, flags: WHV_MAP_GPA_RANGE_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvMapVpciDeviceInterrupt(partition: WHV_PARTITION_HANDLE, logicaldeviceid: u64, index: u32, messagecount: u32, target: *const WHV_VPCI_INTERRUPT_TARGET, msiaddress: *mut u64, msidata: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvMapVpciDeviceMmioRanges(partition: WHV_PARTITION_HANDLE, logicaldeviceid: u64, mappingcount: *mut u32, mappings: *mut *mut WHV_VPCI_MMIO_MAPPING) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvPostVirtualProcessorSynicMessage(partition: WHV_PARTITION_HANDLE, vpindex: u32, sintindex: u32, message: *const ::core::ffi::c_void, messagesizeinbytes: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvQueryGpaRangeDirtyBitmap(partition: WHV_PARTITION_HANDLE, guestaddress: u64, rangesizeinbytes: u64, bitmap: *mut u64, bitmapsizeinbytes: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvReadGpaRange(partition: WHV_PARTITION_HANDLE, vpindex: u32, guestaddress: u64, controls: WHV_ACCESS_GPA_CONTROLS, data: *mut ::core::ffi::c_void, datasizeinbytes: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvReadVpciDeviceRegister(partition: WHV_PARTITION_HANDLE, logicaldeviceid: u64, register: *const WHV_VPCI_DEVICE_REGISTER, data: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WHvRegisterPartitionDoorbellEvent(partition: WHV_PARTITION_HANDLE, matchdata: *const WHV_DOORBELL_MATCH_DATA, eventhandle: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvRequestInterrupt(partition: WHV_PARTITION_HANDLE, interrupt: *const WHV_INTERRUPT_CONTROL, interruptcontrolsize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvRequestVpciDeviceInterrupt(partition: WHV_PARTITION_HANDLE, logicaldeviceid: u64, msiaddress: u64, msidata: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvResetPartition(partition: WHV_PARTITION_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvResumePartitionTime(partition: WHV_PARTITION_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvRetargetVpciDeviceInterrupt(partition: WHV_PARTITION_HANDLE, logicaldeviceid: u64, msiaddress: u64, msidata: u32, target: *const WHV_VPCI_INTERRUPT_TARGET) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvRunVirtualProcessor(partition: WHV_PARTITION_HANDLE, vpindex: u32, exitcontext: *mut ::core::ffi::c_void, exitcontextsizeinbytes: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvSetNotificationPortProperty(partition: WHV_PARTITION_HANDLE, porthandle: *const ::core::ffi::c_void, propertycode: WHV_NOTIFICATION_PORT_PROPERTY_CODE, propertyvalue: u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvSetPartitionProperty(partition: WHV_PARTITION_HANDLE, propertycode: WHV_PARTITION_PROPERTY_CODE, propertybuffer: *const ::core::ffi::c_void, propertybuffersizeinbytes: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvSetVirtualProcessorInterruptControllerState(partition: WHV_PARTITION_HANDLE, vpindex: u32, state: *const ::core::ffi::c_void, statesize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvSetVirtualProcessorInterruptControllerState2(partition: WHV_PARTITION_HANDLE, vpindex: u32, state: *const ::core::ffi::c_void, statesize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvSetVirtualProcessorRegisters(partition: WHV_PARTITION_HANDLE, vpindex: u32, registernames: *const WHV_REGISTER_NAME, registercount: u32, registervalues: *const WHV_REGISTER_VALUE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvSetVirtualProcessorState(partition: WHV_PARTITION_HANDLE, vpindex: u32, statetype: WHV_VIRTUAL_PROCESSOR_STATE_TYPE, buffer: *const ::core::ffi::c_void, buffersizeinbytes: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvSetVirtualProcessorXsaveState(partition: WHV_PARTITION_HANDLE, vpindex: u32, buffer: *const ::core::ffi::c_void, buffersizeinbytes: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_System_Power\"`*"] #[cfg(feature = "Win32_System_Power")] pub fn WHvSetVpciDevicePowerState(partition: WHV_PARTITION_HANDLE, logicaldeviceid: u64, powerstate: super::Power::DEVICE_POWER_STATE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvSetupPartition(partition: WHV_PARTITION_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WHvSignalVirtualProcessorSynicEvent(partition: WHV_PARTITION_HANDLE, synicevent: WHV_SYNIC_EVENT_PARAMETERS, newlysignaled: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WHvStartPartitionMigration(partition: WHV_PARTITION_HANDLE, migrationhandle: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvSuspendPartitionTime(partition: WHV_PARTITION_HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvTranslateGva(partition: WHV_PARTITION_HANDLE, vpindex: u32, gva: u64, translateflags: WHV_TRANSLATE_GVA_FLAGS, translationresult: *mut WHV_TRANSLATE_GVA_RESULT, gpa: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvUnmapGpaRange(partition: WHV_PARTITION_HANDLE, guestaddress: u64, sizeinbytes: u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvUnmapVpciDeviceInterrupt(partition: WHV_PARTITION_HANDLE, logicaldeviceid: u64, index: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvUnmapVpciDeviceMmioRanges(partition: WHV_PARTITION_HANDLE, logicaldeviceid: u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvUnregisterPartitionDoorbellEvent(partition: WHV_PARTITION_HANDLE, matchdata: *const WHV_DOORBELL_MATCH_DATA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvUpdateTriggerParameters(partition: WHV_PARTITION_HANDLE, parameters: *const WHV_TRIGGER_PARAMETERS, triggerhandle: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvWriteGpaRange(partition: WHV_PARTITION_HANDLE, vpindex: u32, guestaddress: u64, controls: WHV_ACCESS_GPA_CONTROLS, data: *const ::core::ffi::c_void, datasizeinbytes: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] pub fn WHvWriteVpciDeviceRegister(partition: WHV_PARTITION_HANDLE, logicaldeviceid: u64, register: *const WHV_VPCI_DEVICE_REGISTER, data: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/System/IO/mod.rs b/crates/libs/sys/src/Windows/Win32/System/IO/mod.rs index f369ae7af9..1c90de556a 100644 --- a/crates/libs/sys/src/Windows/Win32/System/IO/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/IO/mod.rs @@ -3,33 +3,63 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BindIoCompletionCallback(filehandle: super::super::Foundation::HANDLE, function: LPOVERLAPPED_COMPLETION_ROUTINE, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CancelIo(hfile: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CancelIoEx(hfile: super::super::Foundation::HANDLE, lpoverlapped: *const OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CancelSynchronousIo(hthread: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateIoCompletionPort(filehandle: super::super::Foundation::HANDLE, existingcompletionport: super::super::Foundation::HANDLE, completionkey: usize, numberofconcurrentthreads: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeviceIoControl(hdevice: super::super::Foundation::HANDLE, dwiocontrolcode: u32, lpinbuffer: *const ::core::ffi::c_void, ninbuffersize: u32, lpoutbuffer: *mut ::core::ffi::c_void, noutbuffersize: u32, lpbytesreturned: *mut u32, lpoverlapped: *mut OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetOverlappedResult(hfile: super::super::Foundation::HANDLE, lpoverlapped: *const OVERLAPPED, lpnumberofbytestransferred: *mut u32, bwait: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetOverlappedResultEx(hfile: super::super::Foundation::HANDLE, lpoverlapped: *const OVERLAPPED, lpnumberofbytestransferred: *mut u32, dwmilliseconds: u32, balertable: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetQueuedCompletionStatus(completionport: super::super::Foundation::HANDLE, lpnumberofbytestransferred: *mut u32, lpcompletionkey: *mut usize, lpoverlapped: *mut *mut OVERLAPPED, dwmilliseconds: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetQueuedCompletionStatusEx(completionport: super::super::Foundation::HANDLE, lpcompletionportentries: *mut OVERLAPPED_ENTRY, ulcount: u32, ulnumentriesremoved: *mut u32, dwmilliseconds: u32, falertable: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PostQueuedCompletionStatus(completionport: super::super::Foundation::HANDLE, dwnumberofbytestransferred: u32, dwcompletionkey: usize, lpoverlapped: *const OVERLAPPED) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/Iis/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Iis/mod.rs index 1896d7acc2..13642a6401 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Iis/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Iis/mod.rs @@ -3,12 +3,21 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetExtensionVersion(pver: *mut HSE_VERSION_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFilterVersion(pver: *mut HTTP_FILTER_VERSION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpExtensionProc(pecb: *const EXTENSION_CONTROL_BLOCK) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HttpFilterProc(pfc: *mut HTTP_FILTER_CONTEXT, notificationtype: u32, pvnotification: *mut ::core::ffi::c_void) -> u32; diff --git a/crates/libs/sys/src/Windows/Win32/System/JobObjects/mod.rs b/crates/libs/sys/src/Windows/Win32/System/JobObjects/mod.rs index aa8c066c81..7790684aef 100644 --- a/crates/libs/sys/src/Windows/Win32/System/JobObjects/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/JobObjects/mod.rs @@ -3,41 +3,80 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AssignProcessToJobObject(hjob: super::super::Foundation::HANDLE, hprocess: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateJobObjectA(lpjobattributes: *const super::super::Security::SECURITY_ATTRIBUTES, lpname: ::windows_sys::core::PCSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateJobObjectW(lpjobattributes: *const super::super::Security::SECURITY_ATTRIBUTES, lpname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateJobSet(numjob: u32, userjobset: *const JOB_SET_ARRAY, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_JobObjects\"`*"] pub fn FreeMemoryJobObject(buffer: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsProcessInJob(processhandle: super::super::Foundation::HANDLE, jobhandle: super::super::Foundation::HANDLE, result: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenJobObjectA(dwdesiredaccess: u32, binherithandle: super::super::Foundation::BOOL, lpname: ::windows_sys::core::PCSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenJobObjectW(dwdesiredaccess: u32, binherithandle: super::super::Foundation::BOOL, lpname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryInformationJobObject(hjob: super::super::Foundation::HANDLE, jobobjectinformationclass: JOBOBJECTINFOCLASS, lpjobobjectinformation: *mut ::core::ffi::c_void, cbjobobjectinformationlength: u32, lpreturnlength: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryIoRateControlInformationJobObject(hjob: super::super::Foundation::HANDLE, volumename: ::windows_sys::core::PCWSTR, infoblocks: *mut *mut JOBOBJECT_IO_RATE_CONTROL_INFORMATION, infoblockcount: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetInformationJobObject(hjob: super::super::Foundation::HANDLE, jobobjectinformationclass: JOBOBJECTINFOCLASS, lpjobobjectinformation: *const ::core::ffi::c_void, cbjobobjectinformationlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetIoRateControlInformationJobObject(hjob: super::super::Foundation::HANDLE, ioratecontrolinfo: *const JOBOBJECT_IO_RATE_CONTROL_INFORMATION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TerminateJobObject(hjob: super::super::Foundation::HANDLE, uexitcode: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UserHandleGrantAccess(huserhandle: super::super::Foundation::HANDLE, hjob: super::super::Foundation::HANDLE, bgrant: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/Js/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Js/mod.rs index 22cba0c3fd..9d2622c259 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Js/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Js/mod.rs @@ -2,187 +2,445 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsAddRef(r#ref: *const ::core::ffi::c_void, count: *mut u32) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsBoolToBoolean(value: u8, booleanvalue: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsBooleanToBool(value: *const ::core::ffi::c_void, boolvalue: *mut bool) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsCallFunction(function: *const ::core::ffi::c_void, arguments: *const *const ::core::ffi::c_void, argumentcount: u16, result: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsCollectGarbage(runtime: *const ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsConstructObject(function: *const ::core::ffi::c_void, arguments: *const *const ::core::ffi::c_void, argumentcount: u16, result: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsConvertValueToBoolean(value: *const ::core::ffi::c_void, booleanvalue: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsConvertValueToNumber(value: *const ::core::ffi::c_void, numbervalue: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsConvertValueToObject(value: *const ::core::ffi::c_void, object: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsConvertValueToString(value: *const ::core::ffi::c_void, stringvalue: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsCreateArray(length: u32, result: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_System_Diagnostics_Debug")] pub fn JsCreateContext(runtime: *const ::core::ffi::c_void, debugapplication: super::Diagnostics::Debug::IDebugApplication64, newcontext: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_System_Diagnostics_Debug")] pub fn JsCreateContext(runtime: *const ::core::ffi::c_void, debugapplication: super::Diagnostics::Debug::IDebugApplication32, newcontext: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsCreateError(message: *const ::core::ffi::c_void, error: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsCreateExternalObject(data: *const ::core::ffi::c_void, finalizecallback: JsFinalizeCallback, object: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsCreateFunction(nativefunction: JsNativeFunction, callbackstate: *const ::core::ffi::c_void, function: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsCreateObject(object: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsCreateRangeError(message: *const ::core::ffi::c_void, error: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsCreateReferenceError(message: *const ::core::ffi::c_void, error: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsCreateRuntime(attributes: JsRuntimeAttributes, runtimeversion: JsRuntimeVersion, threadservice: JsThreadServiceCallback, runtime: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsCreateSyntaxError(message: *const ::core::ffi::c_void, error: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsCreateTypeError(message: *const ::core::ffi::c_void, error: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsCreateURIError(message: *const ::core::ffi::c_void, error: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsDefineProperty(object: *const ::core::ffi::c_void, propertyid: *const ::core::ffi::c_void, propertydescriptor: *const ::core::ffi::c_void, result: *mut bool) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsDeleteIndexedProperty(object: *const ::core::ffi::c_void, index: *const ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsDeleteProperty(object: *const ::core::ffi::c_void, propertyid: *const ::core::ffi::c_void, usestrictrules: u8, result: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsDisableRuntimeExecution(runtime: *const ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsDisposeRuntime(runtime: *const ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsDoubleToNumber(doublevalue: f64, value: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsEnableRuntimeExecution(runtime: *const ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(feature = "Win32_System_Diagnostics_Debug")] pub fn JsEnumerateHeap(enumerator: *mut super::Diagnostics::Debug::IActiveScriptProfilerHeapEnum) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsEquals(object1: *const ::core::ffi::c_void, object2: *const ::core::ffi::c_void, result: *mut bool) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsGetAndClearException(exception: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsGetCurrentContext(currentcontext: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsGetExtensionAllowed(object: *const ::core::ffi::c_void, value: *mut bool) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsGetExternalData(object: *const ::core::ffi::c_void, externaldata: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsGetFalseValue(falsevalue: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsGetGlobalObject(globalobject: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsGetIndexedProperty(object: *const ::core::ffi::c_void, index: *const ::core::ffi::c_void, result: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsGetNullValue(nullvalue: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsGetOwnPropertyDescriptor(object: *const ::core::ffi::c_void, propertyid: *const ::core::ffi::c_void, propertydescriptor: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsGetOwnPropertyNames(object: *const ::core::ffi::c_void, propertynames: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsGetProperty(object: *const ::core::ffi::c_void, propertyid: *const ::core::ffi::c_void, value: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsGetPropertyIdFromName(name: ::windows_sys::core::PCWSTR, propertyid: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsGetPropertyNameFromId(propertyid: *const ::core::ffi::c_void, name: *mut *mut u16) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsGetPrototype(object: *const ::core::ffi::c_void, prototypeobject: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsGetRuntime(context: *const ::core::ffi::c_void, runtime: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsGetRuntimeMemoryLimit(runtime: *const ::core::ffi::c_void, memorylimit: *mut usize) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsGetRuntimeMemoryUsage(runtime: *const ::core::ffi::c_void, memoryusage: *mut usize) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsGetStringLength(stringvalue: *const ::core::ffi::c_void, length: *mut i32) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsGetTrueValue(truevalue: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsGetUndefinedValue(undefinedvalue: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsGetValueType(value: *const ::core::ffi::c_void, r#type: *mut JsValueType) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsHasException(hasexception: *mut bool) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsHasExternalData(object: *const ::core::ffi::c_void, value: *mut bool) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsHasIndexedProperty(object: *const ::core::ffi::c_void, index: *const ::core::ffi::c_void, result: *mut bool) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsHasProperty(object: *const ::core::ffi::c_void, propertyid: *const ::core::ffi::c_void, hasproperty: *mut bool) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsIdle(nextidletick: *mut u32) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsIntToNumber(intvalue: i32, value: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsIsEnumeratingHeap(isenumeratingheap: *mut bool) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsIsRuntimeExecutionDisabled(runtime: *const ::core::ffi::c_void, isdisabled: *mut bool) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsNumberToDouble(value: *const ::core::ffi::c_void, doublevalue: *mut f64) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsParseScript(script: ::windows_sys::core::PCWSTR, sourcecontext: usize, sourceurl: ::windows_sys::core::PCWSTR, result: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsParseSerializedScript(script: ::windows_sys::core::PCWSTR, buffer: *const u8, sourcecontext: usize, sourceurl: ::windows_sys::core::PCWSTR, result: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsPointerToString(stringvalue: ::windows_sys::core::PCWSTR, stringlength: usize, value: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsPreventExtension(object: *const ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsRelease(r#ref: *const ::core::ffi::c_void, count: *mut u32) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsRunScript(script: ::windows_sys::core::PCWSTR, sourcecontext: usize, sourceurl: ::windows_sys::core::PCWSTR, result: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsRunSerializedScript(script: ::windows_sys::core::PCWSTR, buffer: *const u8, sourcecontext: usize, sourceurl: ::windows_sys::core::PCWSTR, result: *mut *mut ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsSerializeScript(script: ::windows_sys::core::PCWSTR, buffer: *mut u8, buffersize: *mut u32) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsSetCurrentContext(context: *const ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsSetException(exception: *const ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsSetExternalData(object: *const ::core::ffi::c_void, externaldata: *const ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsSetIndexedProperty(object: *const ::core::ffi::c_void, index: *const ::core::ffi::c_void, value: *const ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsSetProperty(object: *const ::core::ffi::c_void, propertyid: *const ::core::ffi::c_void, value: *const ::core::ffi::c_void, usestrictrules: u8) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsSetPrototype(object: *const ::core::ffi::c_void, prototypeobject: *const ::core::ffi::c_void) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsSetRuntimeBeforeCollectCallback(runtime: *const ::core::ffi::c_void, callbackstate: *const ::core::ffi::c_void, beforecollectcallback: JsBeforeCollectCallback) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsSetRuntimeMemoryAllocationCallback(runtime: *const ::core::ffi::c_void, callbackstate: *const ::core::ffi::c_void, allocationcallback: JsMemoryAllocationCallback) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsSetRuntimeMemoryLimit(runtime: *const ::core::ffi::c_void, memorylimit: usize) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_System_Diagnostics_Debug")] pub fn JsStartDebugging(debugapplication: super::Diagnostics::Debug::IDebugApplication64) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_System_Diagnostics_Debug")] pub fn JsStartDebugging(debugapplication: super::Diagnostics::Debug::IDebugApplication32) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(feature = "Win32_System_Diagnostics_Debug")] pub fn JsStartProfiling(callback: super::Diagnostics::Debug::IActiveScriptProfilerCallback, eventmask: super::Diagnostics::Debug::PROFILER_EVENT_MASK, context: u32) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsStopProfiling(reason: ::windows_sys::core::HRESULT) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsStrictEquals(object1: *const ::core::ffi::c_void, object2: *const ::core::ffi::c_void, result: *mut bool) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`*"] pub fn JsStringToPointer(value: *const ::core::ffi::c_void, stringvalue: *mut *mut u16, stringlength: *mut usize) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn JsValueToVariant(object: *const ::core::ffi::c_void, variant: *mut super::Com::VARIANT) -> JsErrorCode; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Js\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn JsVariantToValue(variant: *const super::Com::VARIANT, value: *mut *mut ::core::ffi::c_void) -> JsErrorCode; diff --git a/crates/libs/sys/src/Windows/Win32/System/Kernel/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Kernel/mod.rs index 659f96a757..139c8d09b0 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Kernel/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Kernel/mod.rs @@ -2,16 +2,34 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] pub fn RtlFirstEntrySList(listhead: *const SLIST_HEADER) -> *mut SLIST_ENTRY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] pub fn RtlInitializeSListHead(listhead: *mut SLIST_HEADER); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] pub fn RtlInterlockedFlushSList(listhead: *mut SLIST_HEADER) -> *mut SLIST_ENTRY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] pub fn RtlInterlockedPopEntrySList(listhead: *mut SLIST_HEADER) -> *mut SLIST_ENTRY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] pub fn RtlInterlockedPushEntrySList(listhead: *mut SLIST_HEADER, listentry: *mut SLIST_ENTRY) -> *mut SLIST_ENTRY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] pub fn RtlInterlockedPushListSListEx(listhead: *mut SLIST_HEADER, list: *mut SLIST_ENTRY, listend: *mut SLIST_ENTRY, count: u32) -> *mut SLIST_ENTRY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] pub fn RtlQueryDepthSList(listhead: *const SLIST_HEADER) -> u16; } diff --git a/crates/libs/sys/src/Windows/Win32/System/LibraryLoader/mod.rs b/crates/libs/sys/src/Windows/Win32/System/LibraryLoader/mod.rs index 1725719708..65fd74c979 100644 --- a/crates/libs/sys/src/Windows/Win32/System/LibraryLoader/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/LibraryLoader/mod.rs @@ -2,143 +2,287 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`*"] pub fn AddDllDirectory(newdirectory: ::windows_sys::core::PCWSTR) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BeginUpdateResourceA(pfilename: ::windows_sys::core::PCSTR, bdeleteexistingresources: super::super::Foundation::BOOL) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BeginUpdateResourceW(pfilename: ::windows_sys::core::PCWSTR, bdeleteexistingresources: super::super::Foundation::BOOL) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DisableThreadLibraryCalls(hlibmodule: super::super::Foundation::HINSTANCE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EndUpdateResourceA(hupdate: super::super::Foundation::HANDLE, fdiscard: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EndUpdateResourceW(hupdate: super::super::Foundation::HANDLE, fdiscard: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumResourceLanguagesA(hmodule: super::super::Foundation::HINSTANCE, lptype: ::windows_sys::core::PCSTR, lpname: ::windows_sys::core::PCSTR, lpenumfunc: ENUMRESLANGPROCA, lparam: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumResourceLanguagesExA(hmodule: super::super::Foundation::HINSTANCE, lptype: ::windows_sys::core::PCSTR, lpname: ::windows_sys::core::PCSTR, lpenumfunc: ENUMRESLANGPROCA, lparam: isize, dwflags: u32, langid: u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumResourceLanguagesExW(hmodule: super::super::Foundation::HINSTANCE, lptype: ::windows_sys::core::PCWSTR, lpname: ::windows_sys::core::PCWSTR, lpenumfunc: ENUMRESLANGPROCW, lparam: isize, dwflags: u32, langid: u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumResourceLanguagesW(hmodule: super::super::Foundation::HINSTANCE, lptype: ::windows_sys::core::PCWSTR, lpname: ::windows_sys::core::PCWSTR, lpenumfunc: ENUMRESLANGPROCW, lparam: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumResourceNamesA(hmodule: super::super::Foundation::HINSTANCE, lptype: ::windows_sys::core::PCSTR, lpenumfunc: ENUMRESNAMEPROCA, lparam: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumResourceNamesExA(hmodule: super::super::Foundation::HINSTANCE, lptype: ::windows_sys::core::PCSTR, lpenumfunc: ENUMRESNAMEPROCA, lparam: isize, dwflags: u32, langid: u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumResourceNamesExW(hmodule: super::super::Foundation::HINSTANCE, lptype: ::windows_sys::core::PCWSTR, lpenumfunc: ENUMRESNAMEPROCW, lparam: isize, dwflags: u32, langid: u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumResourceNamesW(hmodule: super::super::Foundation::HINSTANCE, lptype: ::windows_sys::core::PCWSTR, lpenumfunc: ENUMRESNAMEPROCW, lparam: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumResourceTypesA(hmodule: super::super::Foundation::HINSTANCE, lpenumfunc: ENUMRESTYPEPROCA, lparam: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumResourceTypesExA(hmodule: super::super::Foundation::HINSTANCE, lpenumfunc: ENUMRESTYPEPROCA, lparam: isize, dwflags: u32, langid: u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumResourceTypesExW(hmodule: super::super::Foundation::HINSTANCE, lpenumfunc: ENUMRESTYPEPROCW, lparam: isize, dwflags: u32, langid: u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumResourceTypesW(hmodule: super::super::Foundation::HINSTANCE, lpenumfunc: ENUMRESTYPEPROCW, lparam: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindResourceA(hmodule: super::super::Foundation::HINSTANCE, lpname: ::windows_sys::core::PCSTR, lptype: ::windows_sys::core::PCSTR) -> super::super::Foundation::HRSRC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindResourceExA(hmodule: super::super::Foundation::HINSTANCE, lptype: ::windows_sys::core::PCSTR, lpname: ::windows_sys::core::PCSTR, wlanguage: u16) -> super::super::Foundation::HRSRC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindResourceExW(hmodule: super::super::Foundation::HINSTANCE, lptype: ::windows_sys::core::PCWSTR, lpname: ::windows_sys::core::PCWSTR, wlanguage: u16) -> super::super::Foundation::HRSRC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindResourceW(hmodule: super::super::Foundation::HINSTANCE, lpname: ::windows_sys::core::PCWSTR, lptype: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HRSRC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreeLibrary(hlibmodule: super::super::Foundation::HINSTANCE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreeLibraryAndExitThread(hlibmodule: super::super::Foundation::HINSTANCE, dwexitcode: u32) -> !; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreeResource(hresdata: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`*"] pub fn GetDllDirectoryA(nbufferlength: u32, lpbuffer: ::windows_sys::core::PSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`*"] pub fn GetDllDirectoryW(nbufferlength: u32, lpbuffer: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetModuleFileNameA(hmodule: super::super::Foundation::HINSTANCE, lpfilename: ::windows_sys::core::PSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetModuleFileNameW(hmodule: super::super::Foundation::HINSTANCE, lpfilename: ::windows_sys::core::PWSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetModuleHandleA(lpmodulename: ::windows_sys::core::PCSTR) -> super::super::Foundation::HINSTANCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetModuleHandleExA(dwflags: u32, lpmodulename: ::windows_sys::core::PCSTR, phmodule: *mut super::super::Foundation::HINSTANCE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetModuleHandleExW(dwflags: u32, lpmodulename: ::windows_sys::core::PCWSTR, phmodule: *mut super::super::Foundation::HINSTANCE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetModuleHandleW(lpmodulename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HINSTANCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProcAddress(hmodule: super::super::Foundation::HINSTANCE, lpprocname: ::windows_sys::core::PCSTR) -> super::super::Foundation::FARPROC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadLibraryA(lplibfilename: ::windows_sys::core::PCSTR) -> super::super::Foundation::HINSTANCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadLibraryExA(lplibfilename: ::windows_sys::core::PCSTR, hfile: super::super::Foundation::HANDLE, dwflags: LOAD_LIBRARY_FLAGS) -> super::super::Foundation::HINSTANCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadLibraryExW(lplibfilename: ::windows_sys::core::PCWSTR, hfile: super::super::Foundation::HANDLE, dwflags: LOAD_LIBRARY_FLAGS) -> super::super::Foundation::HINSTANCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadLibraryW(lplibfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HINSTANCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`*"] pub fn LoadModule(lpmodulename: ::windows_sys::core::PCSTR, lpparameterblock: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadPackagedLibrary(lpwlibfilename: ::windows_sys::core::PCWSTR, reserved: u32) -> super::super::Foundation::HINSTANCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadResource(hmodule: super::super::Foundation::HINSTANCE, hresinfo: super::super::Foundation::HRSRC) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`*"] pub fn LockResource(hresdata: isize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveDllDirectory(cookie: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetDefaultDllDirectories(directoryflags: LOAD_LIBRARY_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetDllDirectoryA(lppathname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetDllDirectoryW(lppathname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SizeofResource(hmodule: super::super::Foundation::HINSTANCE, hresinfo: super::super::Foundation::HRSRC) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub 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_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub 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; diff --git a/crates/libs/sys/src/Windows/Win32/System/Mailslots/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Mailslots/mod.rs index 3b741951ee..c20dea43c3 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Mailslots/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Mailslots/mod.rs @@ -3,12 +3,21 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Mailslots\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateMailslotA(lpname: ::windows_sys::core::PCSTR, nmaxmessagesize: u32, lreadtimeout: u32, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Mailslots\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateMailslotW(lpname: ::windows_sys::core::PCWSTR, nmaxmessagesize: u32, lreadtimeout: u32, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Mailslots\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetMailslotInfo(hmailslot: super::super::Foundation::HANDLE, lpmaxmessagesize: *mut u32, lpnextsize: *mut u32, lpmessagecount: *mut u32, lpreadtimeout: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Mailslots\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetMailslotInfo(hmailslot: super::super::Foundation::HANDLE, lreadtimeout: u32) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/Memory/NonVolatile/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Memory/NonVolatile/mod.rs index e389577084..292f454805 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Memory/NonVolatile/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Memory/NonVolatile/mod.rs @@ -3,21 +3,39 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Memory_NonVolatile\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn RtlDrainNonVolatileFlush(nvtoken: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory_NonVolatile\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn RtlFillNonVolatileMemory(nvtoken: *const ::core::ffi::c_void, nvdestination: *mut ::core::ffi::c_void, size: usize, value: u8, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory_NonVolatile\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn RtlFlushNonVolatileMemory(nvtoken: *const ::core::ffi::c_void, nvbuffer: *const ::core::ffi::c_void, size: usize, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory_NonVolatile\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn RtlFlushNonVolatileMemoryRanges(nvtoken: *const ::core::ffi::c_void, nvranges: *const NV_MEMORY_RANGE, numranges: usize, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory_NonVolatile\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn RtlFreeNonVolatileToken(nvtoken: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory_NonVolatile\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn RtlGetNonVolatileToken(nvbuffer: *const ::core::ffi::c_void, size: usize, nvtoken: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory_NonVolatile\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn RtlWriteNonVolatileMemory(nvtoken: *const ::core::ffi::c_void, nvdestination: *mut ::core::ffi::c_void, source: *const ::core::ffi::c_void, size: usize, flags: u32) -> u32; diff --git a/crates/libs/sys/src/Windows/Win32/System/Memory/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Memory/mod.rs index 724549a34a..8f5895c8b3 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Memory/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Memory/mod.rs @@ -5,284 +5,599 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddSecureMemoryCacheCallback(pfncallback: PSECURE_MEMORY_CACHE_CALLBACK) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AllocateUserPhysicalPages(hprocess: super::super::Foundation::HANDLE, numberofpages: *mut usize, pagearray: *mut usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AllocateUserPhysicalPages2(objecthandle: super::super::Foundation::HANDLE, numberofpages: *mut usize, pagearray: *mut usize, extendedparameters: *mut MEM_EXTENDED_PARAMETER, extendedparametercount: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AllocateUserPhysicalPagesNuma(hprocess: super::super::Foundation::HANDLE, numberofpages: *mut usize, pagearray: *mut usize, nndpreferred: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateFileMapping2(file: super::super::Foundation::HANDLE, securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, desiredaccess: u32, pageprotection: PAGE_PROTECTION_FLAGS, allocationattributes: u32, maximumsize: u64, name: ::windows_sys::core::PCWSTR, extendedparameters: *mut MEM_EXTENDED_PARAMETER, parametercount: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateFileMappingA(hfile: super::super::Foundation::HANDLE, lpfilemappingattributes: *const super::super::Security::SECURITY_ATTRIBUTES, flprotect: PAGE_PROTECTION_FLAGS, dwmaximumsizehigh: u32, dwmaximumsizelow: u32, lpname: ::windows_sys::core::PCSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateFileMappingFromApp(hfile: super::super::Foundation::HANDLE, securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, pageprotection: PAGE_PROTECTION_FLAGS, maximumsize: u64, name: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateFileMappingNumaA(hfile: super::super::Foundation::HANDLE, lpfilemappingattributes: *const super::super::Security::SECURITY_ATTRIBUTES, flprotect: PAGE_PROTECTION_FLAGS, dwmaximumsizehigh: u32, dwmaximumsizelow: u32, lpname: ::windows_sys::core::PCSTR, nndpreferred: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateFileMappingNumaW(hfile: super::super::Foundation::HANDLE, lpfilemappingattributes: *const super::super::Security::SECURITY_ATTRIBUTES, flprotect: PAGE_PROTECTION_FLAGS, dwmaximumsizehigh: u32, dwmaximumsizelow: u32, lpname: ::windows_sys::core::PCWSTR, nndpreferred: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateFileMappingW(hfile: super::super::Foundation::HANDLE, lpfilemappingattributes: *const super::super::Security::SECURITY_ATTRIBUTES, flprotect: PAGE_PROTECTION_FLAGS, dwmaximumsizehigh: u32, dwmaximumsizelow: u32, lpname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateMemoryResourceNotification(notificationtype: MEMORY_RESOURCE_NOTIFICATION_TYPE) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn DiscardVirtualMemory(virtualaddress: *mut ::core::ffi::c_void, size: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FlushViewOfFile(lpbaseaddress: *const ::core::ffi::c_void, dwnumberofbytestoflush: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreeUserPhysicalPages(hprocess: super::super::Foundation::HANDLE, numberofpages: *mut usize, pagearray: *const usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn GetLargePageMinimum() -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetMemoryErrorHandlingCapabilities(capabilities: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn GetProcessHeap() -> HeapHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn GetProcessHeaps(numberofheaps: u32, processheaps: *mut HeapHandle) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProcessWorkingSetSizeEx(hprocess: super::super::Foundation::HANDLE, lpminimumworkingsetsize: *mut usize, lpmaximumworkingsetsize: *mut usize, flags: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSystemFileCacheSize(lpminimumfilecachesize: *mut usize, lpmaximumfilecachesize: *mut usize, lpflags: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn GetWriteWatch(dwflags: u32, lpbaseaddress: *const ::core::ffi::c_void, dwregionsize: usize, lpaddresses: *mut *mut ::core::ffi::c_void, lpdwcount: *mut usize, lpdwgranularity: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn GlobalAlloc(uflags: GLOBAL_ALLOC_FLAGS, dwbytes: usize) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn GlobalFlags(hmem: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn GlobalFree(hmem: isize) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn GlobalHandle(pmem: *const ::core::ffi::c_void) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn GlobalLock(hmem: isize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn GlobalReAlloc(hmem: isize, dwbytes: usize, uflags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn GlobalSize(hmem: isize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GlobalUnlock(hmem: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn HeapAlloc(hheap: HeapHandle, dwflags: HEAP_FLAGS, dwbytes: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn HeapCompact(hheap: HeapHandle, dwflags: HEAP_FLAGS) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn HeapCreate(floptions: HEAP_FLAGS, dwinitialsize: usize, dwmaximumsize: usize) -> HeapHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HeapDestroy(hheap: HeapHandle) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HeapFree(hheap: HeapHandle, dwflags: HEAP_FLAGS, lpmem: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HeapLock(hheap: HeapHandle) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HeapQueryInformation(heaphandle: HeapHandle, heapinformationclass: HEAP_INFORMATION_CLASS, heapinformation: *mut ::core::ffi::c_void, heapinformationlength: usize, returnlength: *mut usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn HeapReAlloc(hheap: HeapHandle, dwflags: HEAP_FLAGS, lpmem: *const ::core::ffi::c_void, dwbytes: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HeapSetInformation(heaphandle: HeapHandle, heapinformationclass: HEAP_INFORMATION_CLASS, heapinformation: *const ::core::ffi::c_void, heapinformationlength: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn HeapSize(hheap: HeapHandle, dwflags: HEAP_FLAGS, lpmem: *const ::core::ffi::c_void) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HeapSummary(hheap: super::super::Foundation::HANDLE, dwflags: u32, lpsummary: *mut HEAP_SUMMARY) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HeapUnlock(hheap: HeapHandle) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HeapValidate(hheap: HeapHandle, dwflags: HEAP_FLAGS, lpmem: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HeapWalk(hheap: HeapHandle, lpentry: *mut PROCESS_HEAP_ENTRY) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsBadCodePtr(lpfn: super::super::Foundation::FARPROC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsBadReadPtr(lp: *const ::core::ffi::c_void, ucb: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsBadStringPtrA(lpsz: ::windows_sys::core::PCSTR, ucchmax: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsBadStringPtrW(lpsz: ::windows_sys::core::PCWSTR, ucchmax: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsBadWritePtr(lp: *const ::core::ffi::c_void, ucb: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn LocalAlloc(uflags: LOCAL_ALLOC_FLAGS, ubytes: usize) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn LocalFlags(hmem: isize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn LocalFree(hmem: isize) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn LocalHandle(pmem: *const ::core::ffi::c_void) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn LocalLock(hmem: isize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn LocalReAlloc(hmem: isize, ubytes: usize, uflags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn LocalSize(hmem: isize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LocalUnlock(hmem: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MapUserPhysicalPages(virtualaddress: *const ::core::ffi::c_void, numberofpages: usize, pagearray: *const usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MapUserPhysicalPagesScatter(virtualaddresses: *const *const ::core::ffi::c_void, numberofpages: usize, pagearray: *const usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MapViewOfFile(hfilemappingobject: super::super::Foundation::HANDLE, dwdesiredaccess: FILE_MAP, dwfileoffsethigh: u32, dwfileoffsetlow: u32, dwnumberofbytestomap: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MapViewOfFile3(filemapping: super::super::Foundation::HANDLE, process: super::super::Foundation::HANDLE, baseaddress: *const ::core::ffi::c_void, offset: u64, viewsize: usize, allocationtype: VIRTUAL_ALLOCATION_TYPE, pageprotection: u32, extendedparameters: *mut MEM_EXTENDED_PARAMETER, parametercount: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MapViewOfFile3FromApp(filemapping: super::super::Foundation::HANDLE, process: super::super::Foundation::HANDLE, baseaddress: *const ::core::ffi::c_void, offset: u64, viewsize: usize, allocationtype: VIRTUAL_ALLOCATION_TYPE, pageprotection: u32, extendedparameters: *mut MEM_EXTENDED_PARAMETER, parametercount: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MapViewOfFileEx(hfilemappingobject: super::super::Foundation::HANDLE, dwdesiredaccess: FILE_MAP, dwfileoffsethigh: u32, dwfileoffsetlow: u32, dwnumberofbytestomap: usize, lpbaseaddress: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MapViewOfFileExNuma(hfilemappingobject: super::super::Foundation::HANDLE, dwdesiredaccess: FILE_MAP, dwfileoffsethigh: u32, dwfileoffsetlow: u32, dwnumberofbytestomap: usize, lpbaseaddress: *const ::core::ffi::c_void, nndpreferred: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MapViewOfFileFromApp(hfilemappingobject: super::super::Foundation::HANDLE, desiredaccess: FILE_MAP, fileoffset: u64, numberofbytestomap: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MapViewOfFileNuma2(filemappinghandle: super::super::Foundation::HANDLE, processhandle: super::super::Foundation::HANDLE, offset: u64, baseaddress: *const ::core::ffi::c_void, viewsize: usize, allocationtype: u32, pageprotection: u32, preferrednode: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn OfferVirtualMemory(virtualaddress: *mut ::core::ffi::c_void, size: usize, priority: OFFER_PRIORITY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenDedicatedMemoryPartition(partition: super::super::Foundation::HANDLE, dedicatedmemorytypeid: u64, desiredaccess: u32, inherithandle: super::super::Foundation::BOOL) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenFileMappingA(dwdesiredaccess: u32, binherithandle: super::super::Foundation::BOOL, lpname: ::windows_sys::core::PCSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenFileMappingFromApp(desiredaccess: u32, inherithandle: super::super::Foundation::BOOL, name: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenFileMappingW(dwdesiredaccess: u32, binherithandle: super::super::Foundation::BOOL, lpname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PrefetchVirtualMemory(hprocess: super::super::Foundation::HANDLE, numberofentries: usize, virtualaddresses: *const WIN32_MEMORY_RANGE_ENTRY, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryMemoryResourceNotification(resourcenotificationhandle: super::super::Foundation::HANDLE, resourcestate: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryPartitionInformation(partition: super::super::Foundation::HANDLE, partitioninformationclass: WIN32_MEMORY_PARTITION_INFORMATION_CLASS, partitioninformation: *mut ::core::ffi::c_void, partitioninformationlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryVirtualMemoryInformation(process: super::super::Foundation::HANDLE, virtualaddress: *const ::core::ffi::c_void, memoryinformationclass: WIN32_MEMORY_INFORMATION_CLASS, memoryinformation: *mut ::core::ffi::c_void, memoryinformationsize: usize, returnsize: *mut usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn ReclaimVirtualMemory(virtualaddress: *const ::core::ffi::c_void, size: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn RegisterBadMemoryNotification(callback: PBAD_MEMORY_CALLBACK_ROUTINE) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveSecureMemoryCacheCallback(pfncallback: PSECURE_MEMORY_CACHE_CALLBACK) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn ResetWriteWatch(lpbaseaddress: *const ::core::ffi::c_void, dwregionsize: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn RtlCompareMemory(source1: *const ::core::ffi::c_void, source2: *const ::core::ffi::c_void, length: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn RtlCrc32(buffer: *const ::core::ffi::c_void, size: usize, initialcrc: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn RtlCrc64(buffer: *const ::core::ffi::c_void, size: usize, initialcrc: u64) -> u64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtlIsZeroMemory(buffer: *const ::core::ffi::c_void, length: usize) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetProcessValidCallTargets(hprocess: super::super::Foundation::HANDLE, virtualaddress: *const ::core::ffi::c_void, regionsize: usize, numberofoffsets: u32, offsetinformation: *mut CFG_CALL_TARGET_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetProcessValidCallTargetsForMappedView(process: super::super::Foundation::HANDLE, virtualaddress: *const ::core::ffi::c_void, regionsize: usize, numberofoffsets: u32, offsetinformation: *mut CFG_CALL_TARGET_INFO, section: super::super::Foundation::HANDLE, expectedfileoffset: u64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetProcessWorkingSetSizeEx(hprocess: super::super::Foundation::HANDLE, dwminimumworkingsetsize: usize, dwmaximumworkingsetsize: usize, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetSystemFileCacheSize(minimumfilecachesize: usize, maximumfilecachesize: usize, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnmapViewOfFile(lpbaseaddress: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnmapViewOfFile2(process: super::super::Foundation::HANDLE, baseaddress: *const ::core::ffi::c_void, unmapflags: UNMAP_VIEW_OF_FILE_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnmapViewOfFileEx(baseaddress: *const ::core::ffi::c_void, unmapflags: UNMAP_VIEW_OF_FILE_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnregisterBadMemoryNotification(registrationhandle: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn VirtualAlloc(lpaddress: *const ::core::ffi::c_void, dwsize: usize, flallocationtype: VIRTUAL_ALLOCATION_TYPE, flprotect: PAGE_PROTECTION_FLAGS) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VirtualAlloc2(process: super::super::Foundation::HANDLE, baseaddress: *const ::core::ffi::c_void, size: usize, allocationtype: VIRTUAL_ALLOCATION_TYPE, pageprotection: u32, extendedparameters: *mut MEM_EXTENDED_PARAMETER, parametercount: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VirtualAlloc2FromApp(process: super::super::Foundation::HANDLE, baseaddress: *const ::core::ffi::c_void, size: usize, allocationtype: VIRTUAL_ALLOCATION_TYPE, pageprotection: u32, extendedparameters: *mut MEM_EXTENDED_PARAMETER, parametercount: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VirtualAllocEx(hprocess: super::super::Foundation::HANDLE, lpaddress: *const ::core::ffi::c_void, dwsize: usize, flallocationtype: VIRTUAL_ALLOCATION_TYPE, flprotect: PAGE_PROTECTION_FLAGS) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VirtualAllocExNuma(hprocess: super::super::Foundation::HANDLE, lpaddress: *const ::core::ffi::c_void, dwsize: usize, flallocationtype: VIRTUAL_ALLOCATION_TYPE, flprotect: u32, nndpreferred: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn VirtualAllocFromApp(baseaddress: *const ::core::ffi::c_void, size: usize, allocationtype: VIRTUAL_ALLOCATION_TYPE, protection: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VirtualFree(lpaddress: *mut ::core::ffi::c_void, dwsize: usize, dwfreetype: VIRTUAL_FREE_TYPE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VirtualFreeEx(hprocess: super::super::Foundation::HANDLE, lpaddress: *mut ::core::ffi::c_void, dwsize: usize, dwfreetype: VIRTUAL_FREE_TYPE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VirtualLock(lpaddress: *const ::core::ffi::c_void, dwsize: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VirtualProtect(lpaddress: *const ::core::ffi::c_void, dwsize: usize, flnewprotect: PAGE_PROTECTION_FLAGS, lpfloldprotect: *mut PAGE_PROTECTION_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VirtualProtectEx(hprocess: super::super::Foundation::HANDLE, lpaddress: *const ::core::ffi::c_void, dwsize: usize, flnewprotect: PAGE_PROTECTION_FLAGS, lpfloldprotect: *mut PAGE_PROTECTION_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VirtualProtectFromApp(address: *const ::core::ffi::c_void, size: usize, newprotection: u32, oldprotection: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub fn VirtualQuery(lpaddress: *const ::core::ffi::c_void, lpbuffer: *mut MEMORY_BASIC_INFORMATION, dwlength: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VirtualQueryEx(hprocess: super::super::Foundation::HANDLE, lpaddress: *const ::core::ffi::c_void, lpbuffer: *mut MEMORY_BASIC_INFORMATION, dwlength: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VirtualUnlock(lpaddress: *const ::core::ffi::c_void, dwsize: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VirtualUnlockEx(process: super::super::Foundation::HANDLE, address: *const ::core::ffi::c_void, size: usize) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/Ole/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Ole/mod.rs index a6396e496b..dd7c63bb1c 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Ole/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Ole/mod.rs @@ -3,1206 +3,2571 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn BstrFromVector(psa: *const super::Com::SAFEARRAY, pbstr: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn ClearCustData(pcustdata: *mut super::Com::CUSTDATA); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn CreateDispTypeInfo(pidata: *mut INTERFACEDATA, lcid: u32, pptinfo: *mut super::Com::ITypeInfo) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn CreateErrorInfo(pperrinfo: *mut ICreateErrorInfo) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn CreateOleAdviseHolder(ppoaholder: *mut IOleAdviseHolder) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn CreateStdDispatch(punkouter: ::windows_sys::core::IUnknown, pvthis: *mut ::core::ffi::c_void, ptinfo: super::Com::ITypeInfo, ppunkstddisp: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn CreateTypeLib(syskind: super::Com::SYSKIND, szfile: ::windows_sys::core::PCWSTR, ppctlib: *mut ICreateTypeLib) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn CreateTypeLib2(syskind: super::Com::SYSKIND, szfile: ::windows_sys::core::PCWSTR, ppctlib: *mut ICreateTypeLib2) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn DispCallFunc(pvinstance: *const ::core::ffi::c_void, ovft: usize, cc: super::Com::CALLCONV, vtreturn: super::Com::VARENUM, cactuals: u32, prgvt: *const u16, prgpvarg: *const *const super::Com::VARIANT, pvargresult: *mut super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn DispGetIDsOfNames(ptinfo: super::Com::ITypeInfo, rgsznames: *const ::windows_sys::core::PWSTR, cnames: u32, rgdispid: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn DispGetParam(pdispparams: *const super::Com::DISPPARAMS, position: u32, vttarg: super::Com::VARENUM, pvarresult: *mut super::Com::VARIANT, puargerr: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn DispInvoke(_this: *mut ::core::ffi::c_void, ptinfo: super::Com::ITypeInfo, dispidmember: i32, wflags: u16, pparams: *mut super::Com::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Com::EXCEPINFO, puargerr: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn DoDragDrop(pdataobj: super::Com::IDataObject, pdropsource: IDropSource, dwokeffects: DROPEFFECT, pdweffect: *mut DROPEFFECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn DosDateTimeToVariantTime(wdosdate: u16, wdostime: u16, pvtime: *mut f64) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn GetActiveObject(rclsid: *const ::windows_sys::core::GUID, pvreserved: *mut ::core::ffi::c_void, ppunk: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn GetAltMonthNames(lcid: u32, prgp: *mut *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn GetRecordInfoFromGuids(rguidtypelib: *const ::windows_sys::core::GUID, uvermajor: u32, uverminor: u32, lcid: u32, rguidtypeinfo: *const ::windows_sys::core::GUID, pprecinfo: *mut IRecordInfo) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn GetRecordInfoFromTypeInfo(ptypeinfo: super::Com::ITypeInfo, pprecinfo: *mut IRecordInfo) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HRGN_UserFree(param0: *const u32, param1: *const super::super::Graphics::Gdi::HRGN); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HRGN_UserFree64(param0: *const u32, param1: *const super::super::Graphics::Gdi::HRGN); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HRGN_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::Graphics::Gdi::HRGN) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HRGN_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::super::Graphics::Gdi::HRGN) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HRGN_UserSize(param0: *const u32, param1: u32, param2: *const super::super::Graphics::Gdi::HRGN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HRGN_UserSize64(param0: *const u32, param1: u32, param2: *const super::super::Graphics::Gdi::HRGN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HRGN_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::super::Graphics::Gdi::HRGN) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HRGN_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::super::Graphics::Gdi::HRGN) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn IsAccelerator(haccel: super::super::UI::WindowsAndMessaging::HACCEL, caccelentries: i32, lpmsg: *const super::super::UI::WindowsAndMessaging::MSG, lpwcmd: *mut u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn LHashValOfNameSys(syskind: super::Com::SYSKIND, lcid: u32, szname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn LHashValOfNameSysA(syskind: super::Com::SYSKIND, lcid: u32, szname: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn LoadRegTypeLib(rguid: *const ::windows_sys::core::GUID, wvermajor: u16, wverminor: u16, lcid: u32, pptlib: *mut super::Com::ITypeLib) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn LoadTypeLib(szfile: ::windows_sys::core::PCWSTR, pptlib: *mut super::Com::ITypeLib) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn LoadTypeLibEx(szfile: ::windows_sys::core::PCWSTR, regkind: REGKIND, pptlib: *mut super::Com::ITypeLib) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn OaBuildVersion() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn OaEnablePerUserTLibRegistration(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn OleBuildVersion() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleCreate(rclsid: *const ::windows_sys::core::GUID, riid: *const ::windows_sys::core::GUID, renderopt: u32, pformatetc: *const super::Com::FORMATETC, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn OleCreateDefaultHandler(clsid: *const ::windows_sys::core::GUID, punkouter: ::windows_sys::core::IUnknown, riid: *const ::windows_sys::core::GUID, lplpobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn OleCreateEmbeddingHelper(clsid: *const ::windows_sys::core::GUID, punkouter: ::windows_sys::core::IUnknown, flags: u32, pcf: super::Com::IClassFactory, riid: *const ::windows_sys::core::GUID, lplpobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleCreateEx(rclsid: *const ::windows_sys::core::GUID, riid: *const ::windows_sys::core::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *const u32, rgformatetc: *const super::Com::FORMATETC, lpadvisesink: super::Com::IAdviseSink, rgdwconnection: *mut u32, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn OleCreateFontIndirect(lpfontdesc: *mut FONTDESC, riid: *const ::windows_sys::core::GUID, lplpvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleCreateFromData(psrcdataobj: super::Com::IDataObject, riid: *const ::windows_sys::core::GUID, renderopt: u32, pformatetc: *const super::Com::FORMATETC, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleCreateFromDataEx(psrcdataobj: super::Com::IDataObject, riid: *const ::windows_sys::core::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *const u32, rgformatetc: *const super::Com::FORMATETC, lpadvisesink: super::Com::IAdviseSink, rgdwconnection: *mut u32, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleCreateFromFile(rclsid: *const ::windows_sys::core::GUID, lpszfilename: ::windows_sys::core::PCWSTR, riid: *const ::windows_sys::core::GUID, renderopt: u32, lpformatetc: *const super::Com::FORMATETC, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleCreateFromFileEx(rclsid: *const ::windows_sys::core::GUID, lpszfilename: ::windows_sys::core::PCWSTR, riid: *const ::windows_sys::core::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *const u32, rgformatetc: *const super::Com::FORMATETC, lpadvisesink: super::Com::IAdviseSink, rgdwconnection: *mut u32, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleCreateLink(pmklinksrc: super::Com::IMoniker, riid: *const ::windows_sys::core::GUID, renderopt: u32, lpformatetc: *const super::Com::FORMATETC, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleCreateLinkEx(pmklinksrc: super::Com::IMoniker, riid: *const ::windows_sys::core::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *const u32, rgformatetc: *const super::Com::FORMATETC, lpadvisesink: super::Com::IAdviseSink, rgdwconnection: *mut u32, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleCreateLinkFromData(psrcdataobj: super::Com::IDataObject, riid: *const ::windows_sys::core::GUID, renderopt: u32, pformatetc: *const super::Com::FORMATETC, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleCreateLinkFromDataEx(psrcdataobj: super::Com::IDataObject, riid: *const ::windows_sys::core::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *const u32, rgformatetc: *const super::Com::FORMATETC, lpadvisesink: super::Com::IAdviseSink, rgdwconnection: *mut u32, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleCreateLinkToFile(lpszfilename: ::windows_sys::core::PCWSTR, riid: *const ::windows_sys::core::GUID, renderopt: u32, lpformatetc: *const super::Com::FORMATETC, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleCreateLinkToFileEx(lpszfilename: ::windows_sys::core::PCWSTR, riid: *const ::windows_sys::core::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *const u32, rgformatetc: *const super::Com::FORMATETC, lpadvisesink: super::Com::IAdviseSink, rgdwconnection: *mut u32, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn OleCreateMenuDescriptor(hmenucombined: super::super::UI::WindowsAndMessaging::HMENU, lpmenuwidths: *const OleMenuGroupWidths) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))] pub fn OleCreatePictureIndirect(lppictdesc: *mut PICTDESC, riid: *const ::windows_sys::core::GUID, fown: super::super::Foundation::BOOL, lplpvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OleCreatePropertyFrame(hwndowner: super::super::Foundation::HWND, x: u32, y: u32, lpszcaption: ::windows_sys::core::PCWSTR, cobjects: u32, ppunk: *mut ::windows_sys::core::IUnknown, cpages: u32, ppageclsid: *mut ::windows_sys::core::GUID, lcid: u32, dwreserved: u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OleCreatePropertyFrameIndirect(lpparams: *mut OCPFIPARAMS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleCreateStaticFromData(psrcdataobj: super::Com::IDataObject, iid: *const ::windows_sys::core::GUID, renderopt: u32, pformatetc: *const super::Com::FORMATETC, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn OleDestroyMenuDescriptor(holemenu: isize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleDoAutoConvert(pstg: super::Com::StructuredStorage::IStorage, pclsidnew: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn OleDraw(punknown: ::windows_sys::core::IUnknown, dwaspect: u32, hdcdraw: super::super::Graphics::Gdi::HDC, lprcbounds: *const super::super::Foundation::RECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OleDuplicateData(hsrc: super::super::Foundation::HANDLE, cfformat: u16, uiflags: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn OleFlushClipboard() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn OleGetAutoConvert(clsidold: *const ::windows_sys::core::GUID, pclsidnew: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn OleGetClipboard(ppdataobj: *mut super::Com::IDataObject) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn OleGetClipboardWithEnterpriseInfo(dataobject: *mut super::Com::IDataObject, dataenterpriseid: *mut ::windows_sys::core::PWSTR, sourcedescription: *mut ::windows_sys::core::PWSTR, targetdescription: *mut ::windows_sys::core::PWSTR, datadescription: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OleGetIconOfClass(rclsid: *const ::windows_sys::core::GUID, lpszlabel: ::windows_sys::core::PCWSTR, fusetypeaslabel: super::super::Foundation::BOOL) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OleGetIconOfFile(lpszpath: ::windows_sys::core::PCWSTR, fusefileaslabel: super::super::Foundation::BOOL) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn OleIconToCursor(hinstexe: super::super::Foundation::HINSTANCE, hicon: super::super::UI::WindowsAndMessaging::HICON) -> super::super::UI::WindowsAndMessaging::HCURSOR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn OleInitialize(pvreserved: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn OleIsCurrentClipboard(pdataobj: super::Com::IDataObject) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OleIsRunning(pobject: IOleObject) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleLoad(pstg: super::Com::StructuredStorage::IStorage, riid: *const ::windows_sys::core::GUID, pclientsite: IOleClientSite, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn OleLoadFromStream(pstm: super::Com::IStream, iidinterface: *const ::windows_sys::core::GUID, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn OleLoadPicture(lpstream: super::Com::IStream, lsize: i32, frunmode: super::super::Foundation::BOOL, riid: *const ::windows_sys::core::GUID, lplpvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn OleLoadPictureEx(lpstream: super::Com::IStream, lsize: i32, frunmode: super::super::Foundation::BOOL, riid: *const ::windows_sys::core::GUID, xsizedesired: u32, ysizedesired: u32, dwflags: u32, lplpvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn OleLoadPictureFile(varfilename: super::Com::VARIANT, lplpdisppicture: *mut super::Com::IDispatch) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn OleLoadPictureFileEx(varfilename: super::Com::VARIANT, xsizedesired: u32, ysizedesired: u32, dwflags: u32, lplpdisppicture: *mut super::Com::IDispatch) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn OleLoadPicturePath(szurlorpath: ::windows_sys::core::PCWSTR, punkcaller: ::windows_sys::core::IUnknown, dwreserved: u32, clrreserved: u32, riid: *const ::windows_sys::core::GUID, ppvret: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OleLockRunning(punknown: ::windows_sys::core::IUnknown, flock: super::super::Foundation::BOOL, flastunlockcloses: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn OleMetafilePictFromIconAndLabel(hicon: super::super::UI::WindowsAndMessaging::HICON, lpszlabel: ::windows_sys::core::PCWSTR, lpszsourcefile: ::windows_sys::core::PCWSTR, iiconindex: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OleNoteObjectVisible(punknown: ::windows_sys::core::IUnknown, fvisible: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn OleQueryCreateFromData(psrcdataobject: super::Com::IDataObject) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn OleQueryLinkFromData(psrcdataobject: super::Com::IDataObject) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn OleRegEnumFormatEtc(clsid: *const ::windows_sys::core::GUID, dwdirection: u32, ppenum: *mut super::Com::IEnumFORMATETC) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn OleRegEnumVerbs(clsid: *const ::windows_sys::core::GUID, ppenum: *mut IEnumOLEVERB) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn OleRegGetMiscStatus(clsid: *const ::windows_sys::core::GUID, dwaspect: u32, pdwstatus: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn OleRegGetUserType(clsid: *const ::windows_sys::core::GUID, dwformoftype: u32, pszusertype: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn OleRun(punknown: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn OleSave(pps: super::Com::StructuredStorage::IPersistStorage, pstg: super::Com::StructuredStorage::IStorage, fsameasload: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn OleSavePictureFile(lpdisppicture: super::Com::IDispatch, bstrfilename: super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn OleSaveToStream(ppstm: super::Com::IPersistStream, pstm: super::Com::IStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn OleSetAutoConvert(clsidold: *const ::windows_sys::core::GUID, clsidnew: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn OleSetClipboard(pdataobj: super::Com::IDataObject) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OleSetContainedObject(punknown: ::windows_sys::core::IUnknown, fcontained: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OleSetMenuDescriptor(holemenu: isize, hwndframe: super::super::Foundation::HWND, hwndactiveobject: super::super::Foundation::HWND, lpframe: IOleInPlaceFrame, lpactiveobj: IOleInPlaceActiveObject) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn OleTranslateAccelerator(lpframe: IOleInPlaceFrame, lpframeinfo: *const OIFI, lpmsg: *const super::super::UI::WindowsAndMessaging::MSG) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn OleTranslateColor(clr: u32, hpal: super::super::Graphics::Gdi::HPALETTE, lpcolorref: *mut super::super::Foundation::COLORREF) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn OleUIAddVerbMenuA(lpoleobj: IOleObject, lpszshorttype: ::windows_sys::core::PCSTR, hmenu: super::super::UI::WindowsAndMessaging::HMENU, upos: u32, uidverbmin: u32, uidverbmax: u32, baddconvert: super::super::Foundation::BOOL, idconvert: u32, lphmenu: *mut super::super::UI::WindowsAndMessaging::HMENU) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn OleUIAddVerbMenuW(lpoleobj: IOleObject, lpszshorttype: ::windows_sys::core::PCWSTR, hmenu: super::super::UI::WindowsAndMessaging::HMENU, upos: u32, uidverbmin: u32, uidverbmax: u32, baddconvert: super::super::Foundation::BOOL, idconvert: u32, lphmenu: *mut super::super::UI::WindowsAndMessaging::HMENU) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Media\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media"))] pub fn OleUIBusyA(param0: *const OLEUIBUSYA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Media\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media"))] pub fn OleUIBusyW(param0: *const OLEUIBUSYW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OleUICanConvertOrActivateAs(rclsid: *const ::windows_sys::core::GUID, fislinkedobject: super::super::Foundation::BOOL, wformat: u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OleUIChangeIconA(param0: *const OLEUICHANGEICONA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OleUIChangeIconW(param0: *const OLEUICHANGEICONW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls_Dialogs\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls_Dialogs"))] pub fn OleUIChangeSourceA(param0: *const OLEUICHANGESOURCEA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls_Dialogs\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls_Dialogs"))] pub fn OleUIChangeSourceW(param0: *const OLEUICHANGESOURCEW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OleUIConvertA(param0: *const OLEUICONVERTA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OleUIConvertW(param0: *const OLEUICONVERTW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OleUIEditLinksA(param0: *const OLEUIEDITLINKSA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OleUIEditLinksW(param0: *const OLEUIEDITLINKSW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn OleUIInsertObjectA(param0: *const OLEUIINSERTOBJECTA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn OleUIInsertObjectW(param0: *const OLEUIINSERTOBJECTW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] pub fn OleUIObjectPropertiesA(param0: *const OLEUIOBJECTPROPSA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] pub fn OleUIObjectPropertiesW(param0: *const OLEUIOBJECTPROPSW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn OleUIPasteSpecialA(param0: *const OLEUIPASTESPECIALA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn OleUIPasteSpecialW(param0: *const OLEUIPASTESPECIALW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OleUIPromptUserA(ntemplate: i32, hwndparent: super::super::Foundation::HWND) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OleUIPromptUserW(ntemplate: i32, hwndparent: super::super::Foundation::HWND) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OleUIUpdateLinksA(lpoleuilinkcntr: IOleUILinkContainerA, hwndparent: super::super::Foundation::HWND, lpsztitle: ::windows_sys::core::PCSTR, clinks: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OleUIUpdateLinksW(lpoleuilinkcntr: IOleUILinkContainerW, hwndparent: super::super::Foundation::HWND, lpsztitle: ::windows_sys::core::PCWSTR, clinks: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn OleUninitialize(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn QueryPathOfRegTypeLib(guid: *const ::windows_sys::core::GUID, wmaj: u16, wmin: u16, lcid: u32, lpbstrpathname: *mut *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn RegisterActiveObject(punk: ::windows_sys::core::IUnknown, rclsid: *const ::windows_sys::core::GUID, dwflags: u32, pdwregister: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterDragDrop(hwnd: super::super::Foundation::HWND, pdroptarget: IDropTarget) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn RegisterTypeLib(ptlib: super::Com::ITypeLib, szfullpath: ::windows_sys::core::PCWSTR, szhelpdir: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn RegisterTypeLibForUser(ptlib: super::Com::ITypeLib, szfullpath: ::windows_sys::core::PCWSTR, szhelpdir: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub fn ReleaseStgMedium(param0: *const super::Com::STGMEDIUM); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn RevokeActiveObject(dwregister: u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RevokeDragDrop(hwnd: super::super::Foundation::HWND) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayAccessData(psa: *const super::Com::SAFEARRAY, ppvdata: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayAddRef(psa: *const super::Com::SAFEARRAY, ppdatatorelease: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayAllocData(psa: *const super::Com::SAFEARRAY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayAllocDescriptor(cdims: u32, ppsaout: *mut *mut super::Com::SAFEARRAY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayAllocDescriptorEx(vt: super::Com::VARENUM, cdims: u32, ppsaout: *mut *mut super::Com::SAFEARRAY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayCopy(psa: *const super::Com::SAFEARRAY, ppsaout: *mut *mut super::Com::SAFEARRAY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayCopyData(psasource: *const super::Com::SAFEARRAY, psatarget: *const super::Com::SAFEARRAY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayCreate(vt: super::Com::VARENUM, cdims: u32, rgsabound: *const super::Com::SAFEARRAYBOUND) -> *mut super::Com::SAFEARRAY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayCreateEx(vt: super::Com::VARENUM, cdims: u32, rgsabound: *const super::Com::SAFEARRAYBOUND, pvextra: *const ::core::ffi::c_void) -> *mut super::Com::SAFEARRAY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayCreateVector(vt: super::Com::VARENUM, llbound: i32, celements: u32) -> *mut super::Com::SAFEARRAY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayCreateVectorEx(vt: super::Com::VARENUM, llbound: i32, celements: u32, pvextra: *const ::core::ffi::c_void) -> *mut super::Com::SAFEARRAY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayDestroy(psa: *const super::Com::SAFEARRAY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayDestroyData(psa: *const super::Com::SAFEARRAY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayDestroyDescriptor(psa: *const super::Com::SAFEARRAY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayGetDim(psa: *const super::Com::SAFEARRAY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayGetElement(psa: *const super::Com::SAFEARRAY, rgindices: *const i32, pv: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayGetElemsize(psa: *const super::Com::SAFEARRAY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayGetIID(psa: *const super::Com::SAFEARRAY, pguid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayGetLBound(psa: *const super::Com::SAFEARRAY, ndim: u32, pllbound: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayGetRecordInfo(psa: *const super::Com::SAFEARRAY, prinfo: *mut IRecordInfo) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayGetUBound(psa: *const super::Com::SAFEARRAY, ndim: u32, plubound: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayGetVartype(psa: *const super::Com::SAFEARRAY, pvt: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayLock(psa: *const super::Com::SAFEARRAY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayPtrOfIndex(psa: *const super::Com::SAFEARRAY, rgindices: *const i32, ppvdata: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayPutElement(psa: *const super::Com::SAFEARRAY, rgindices: *const i32, pv: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayRedim(psa: *mut super::Com::SAFEARRAY, psaboundnew: *const super::Com::SAFEARRAYBOUND) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn SafeArrayReleaseData(pdata: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayReleaseDescriptor(psa: *const super::Com::SAFEARRAY); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArraySetIID(psa: *const super::Com::SAFEARRAY, guid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArraySetRecordInfo(psa: *const super::Com::SAFEARRAY, prinfo: IRecordInfo) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayUnaccessData(psa: *const super::Com::SAFEARRAY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SafeArrayUnlock(psa: *const super::Com::SAFEARRAY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SystemTimeToVariantTime(lpsystemtime: *const super::super::Foundation::SYSTEMTIME, pvtime: *mut f64) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn UnRegisterTypeLib(libid: *const ::windows_sys::core::GUID, wvermajor: u16, wverminor: u16, lcid: u32, syskind: super::Com::SYSKIND) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn UnRegisterTypeLibForUser(libid: *const ::windows_sys::core::GUID, wmajorvernum: u16, wminorvernum: u16, lcid: u32, syskind: super::Com::SYSKIND) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarAbs(pvarin: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarAdd(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarAnd(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarBoolFromCy(cyin: super::Com::CY, pboolout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarBoolFromDate(datein: f64, pboolout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarBoolFromDec(pdecin: *const super::super::Foundation::DECIMAL, pboolout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarBoolFromDisp(pdispin: super::Com::IDispatch, lcid: u32, pboolout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarBoolFromI1(cin: super::super::Foundation::CHAR, pboolout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarBoolFromI2(sin: i16, pboolout: *mut i16) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_System_Ole\"`*"] - pub fn VarBoolFromI4(lin: i32, pboolout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_System_Ole\"`*"] + pub fn VarBoolFromI4(lin: i32, pboolout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarBoolFromI8(i64in: i64, pboolout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarBoolFromR4(fltin: f32, pboolout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarBoolFromR8(dblin: f64, pboolout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarBoolFromStr(strin: ::windows_sys::core::PCWSTR, lcid: u32, dwflags: u32, pboolout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarBoolFromUI1(bin: u8, pboolout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarBoolFromUI2(uiin: u16, pboolout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarBoolFromUI4(ulin: u32, pboolout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarBoolFromUI8(i64in: u64, pboolout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarBstrCat(bstrleft: super::super::Foundation::BSTR, bstrright: super::super::Foundation::BSTR, pbstrresult: *mut *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarBstrCmp(bstrleft: super::super::Foundation::BSTR, bstrright: super::super::Foundation::BSTR, lcid: u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarBstrFromBool(boolin: i16, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarBstrFromCy(cyin: super::Com::CY, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarBstrFromDate(datein: f64, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarBstrFromDec(pdecin: *const super::super::Foundation::DECIMAL, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarBstrFromDisp(pdispin: super::Com::IDispatch, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarBstrFromI1(cin: super::super::Foundation::CHAR, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarBstrFromI2(ival: i16, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarBstrFromI4(lin: i32, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarBstrFromI8(i64in: i64, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarBstrFromR4(fltin: f32, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarBstrFromR8(dblin: f64, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarBstrFromUI1(bval: u8, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarBstrFromUI2(uiin: u16, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarBstrFromUI4(ulin: u32, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarBstrFromUI8(ui64in: u64, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarCat(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarCmp(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, lcid: u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyAbs(cyin: super::Com::CY, pcyresult: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyAdd(cyleft: super::Com::CY, cyright: super::Com::CY, pcyresult: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyCmp(cyleft: super::Com::CY, cyright: super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyCmpR8(cyleft: super::Com::CY, dblright: f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyFix(cyin: super::Com::CY, pcyresult: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyFromBool(boolin: i16, pcyout: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyFromDate(datein: f64, pcyout: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarCyFromDec(pdecin: *const super::super::Foundation::DECIMAL, pcyout: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyFromDisp(pdispin: super::Com::IDispatch, lcid: u32, pcyout: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarCyFromI1(cin: super::super::Foundation::CHAR, pcyout: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyFromI2(sin: i16, pcyout: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyFromI4(lin: i32, pcyout: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyFromI8(i64in: i64, pcyout: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyFromR4(fltin: f32, pcyout: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyFromR8(dblin: f64, pcyout: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyFromStr(strin: ::windows_sys::core::PCWSTR, lcid: u32, dwflags: u32, pcyout: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyFromUI1(bin: u8, pcyout: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyFromUI2(uiin: u16, pcyout: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyFromUI4(ulin: u32, pcyout: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyFromUI8(ui64in: u64, pcyout: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyInt(cyin: super::Com::CY, pcyresult: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyMul(cyleft: super::Com::CY, cyright: super::Com::CY, pcyresult: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyMulI4(cyleft: super::Com::CY, lright: i32, pcyresult: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyMulI8(cyleft: super::Com::CY, lright: i64, pcyresult: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyNeg(cyin: super::Com::CY, pcyresult: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCyRound(cyin: super::Com::CY, cdecimals: i32, pcyresult: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarCySub(cyleft: super::Com::CY, cyright: super::Com::CY, pcyresult: *mut super::Com::CY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarDateFromBool(boolin: i16, pdateout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarDateFromCy(cyin: super::Com::CY, pdateout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDateFromDec(pdecin: *const super::super::Foundation::DECIMAL, pdateout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarDateFromDisp(pdispin: super::Com::IDispatch, lcid: u32, pdateout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDateFromI1(cin: super::super::Foundation::CHAR, pdateout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarDateFromI2(sin: i16, pdateout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarDateFromI4(lin: i32, pdateout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarDateFromI8(i64in: i64, pdateout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarDateFromR4(fltin: f32, pdateout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarDateFromR8(dblin: f64, pdateout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarDateFromStr(strin: ::windows_sys::core::PCWSTR, lcid: u32, dwflags: u32, pdateout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarDateFromUI1(bin: u8, pdateout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarDateFromUI2(uiin: u16, pdateout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarDateFromUI4(ulin: u32, pdateout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarDateFromUI8(ui64in: u64, pdateout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDateFromUdate(pudatein: *const UDATE, dwflags: u32, pdateout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDateFromUdateEx(pudatein: *const UDATE, lcid: u32, dwflags: u32, pdateout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecAbs(pdecin: *const super::super::Foundation::DECIMAL, pdecresult: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecAdd(pdecleft: *const super::super::Foundation::DECIMAL, pdecright: *const super::super::Foundation::DECIMAL, pdecresult: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecCmp(pdecleft: *const super::super::Foundation::DECIMAL, pdecright: *const super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecCmpR8(pdecleft: *const super::super::Foundation::DECIMAL, dblright: f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecDiv(pdecleft: *const super::super::Foundation::DECIMAL, pdecright: *const super::super::Foundation::DECIMAL, pdecresult: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecFix(pdecin: *const super::super::Foundation::DECIMAL, pdecresult: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecFromBool(boolin: i16, pdecout: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarDecFromCy(cyin: super::Com::CY, pdecout: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecFromDate(datein: f64, pdecout: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarDecFromDisp(pdispin: super::Com::IDispatch, lcid: u32, pdecout: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecFromI1(cin: super::super::Foundation::CHAR, pdecout: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecFromI2(uiin: i16, pdecout: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] + #[cfg(feature = "Win32_Foundation")] pub fn VarDecFromI4(lin: i32, pdecout: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecFromI8(i64in: i64, pdecout: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecFromR4(fltin: f32, pdecout: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecFromR8(dblin: f64, pdecout: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecFromStr(strin: ::windows_sys::core::PCWSTR, lcid: u32, dwflags: u32, pdecout: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecFromUI1(bin: u8, pdecout: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecFromUI2(uiin: u16, pdecout: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecFromUI4(ulin: u32, pdecout: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecFromUI8(ui64in: u64, pdecout: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecInt(pdecin: *const super::super::Foundation::DECIMAL, pdecresult: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecMul(pdecleft: *const super::super::Foundation::DECIMAL, pdecright: *const super::super::Foundation::DECIMAL, pdecresult: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecNeg(pdecin: *const super::super::Foundation::DECIMAL, pdecresult: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecRound(pdecin: *const super::super::Foundation::DECIMAL, cdecimals: i32, pdecresult: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarDecSub(pdecleft: *const super::super::Foundation::DECIMAL, pdecright: *const super::super::Foundation::DECIMAL, pdecresult: *mut super::super::Foundation::DECIMAL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarDiv(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarEqv(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarFix(pvarin: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarFormat(pvarin: *const super::Com::VARIANT, pstrformat: ::windows_sys::core::PCWSTR, ifirstday: i32, ifirstweek: i32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarFormatCurrency(pvarin: *const super::Com::VARIANT, inumdig: i32, iinclead: i32, iuseparens: i32, igroup: i32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarFormatDateTime(pvarin: *const super::Com::VARIANT, inamedformat: i32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarFormatFromTokens(pvarin: *const super::Com::VARIANT, pstrformat: ::windows_sys::core::PCWSTR, pbtokcur: *const u8, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR, lcid: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarFormatNumber(pvarin: *const super::Com::VARIANT, inumdig: i32, iinclead: i32, iuseparens: i32, igroup: i32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarFormatPercent(pvarin: *const super::Com::VARIANT, inumdig: i32, iinclead: i32, iuseparens: i32, igroup: i32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI1FromBool(boolin: i16, pcout: ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarI1FromCy(cyin: super::Com::CY, pcout: ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI1FromDate(datein: f64, pcout: ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarI1FromDec(pdecin: *const super::super::Foundation::DECIMAL, pcout: ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarI1FromDisp(pdispin: super::Com::IDispatch, lcid: u32, pcout: ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI1FromI2(uiin: i16, pcout: ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI1FromI4(lin: i32, pcout: ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI1FromI8(i64in: i64, pcout: ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI1FromR4(fltin: f32, pcout: ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI1FromR8(dblin: f64, pcout: ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI1FromStr(strin: ::windows_sys::core::PCWSTR, lcid: u32, dwflags: u32, pcout: ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI1FromUI1(bin: u8, pcout: ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI1FromUI2(uiin: u16, pcout: ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI1FromUI4(ulin: u32, pcout: ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI1FromUI8(i64in: u64, pcout: ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI2FromBool(boolin: i16, psout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarI2FromCy(cyin: super::Com::CY, psout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI2FromDate(datein: f64, psout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarI2FromDec(pdecin: *const super::super::Foundation::DECIMAL, psout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarI2FromDisp(pdispin: super::Com::IDispatch, lcid: u32, psout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarI2FromI1(cin: super::super::Foundation::CHAR, psout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI2FromI4(lin: i32, psout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI2FromI8(i64in: i64, psout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI2FromR4(fltin: f32, psout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI2FromR8(dblin: f64, psout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI2FromStr(strin: ::windows_sys::core::PCWSTR, lcid: u32, dwflags: u32, psout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI2FromUI1(bin: u8, psout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI2FromUI2(uiin: u16, psout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI2FromUI4(ulin: u32, psout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI2FromUI8(ui64in: u64, psout: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI4FromBool(boolin: i16, plout: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarI4FromCy(cyin: super::Com::CY, plout: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI4FromDate(datein: f64, plout: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarI4FromDec(pdecin: *const super::super::Foundation::DECIMAL, plout: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarI4FromDisp(pdispin: super::Com::IDispatch, lcid: u32, plout: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarI4FromI1(cin: super::super::Foundation::CHAR, plout: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI4FromI2(sin: i16, plout: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI4FromI8(i64in: i64, plout: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI4FromR4(fltin: f32, plout: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI4FromR8(dblin: f64, plout: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI4FromStr(strin: ::windows_sys::core::PCWSTR, lcid: u32, dwflags: u32, plout: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI4FromUI1(bin: u8, plout: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI4FromUI2(uiin: u16, plout: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI4FromUI4(ulin: u32, plout: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI4FromUI8(ui64in: u64, plout: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI8FromBool(boolin: i16, pi64out: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarI8FromCy(cyin: super::Com::CY, pi64out: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI8FromDate(datein: f64, pi64out: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarI8FromDec(pdecin: *const super::super::Foundation::DECIMAL, pi64out: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarI8FromDisp(pdispin: super::Com::IDispatch, lcid: u32, pi64out: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarI8FromI1(cin: super::super::Foundation::CHAR, pi64out: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI8FromI2(sin: i16, pi64out: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI8FromR4(fltin: f32, pi64out: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI8FromR8(dblin: f64, pi64out: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI8FromStr(strin: ::windows_sys::core::PCWSTR, lcid: u32, dwflags: u32, pi64out: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI8FromUI1(bin: u8, pi64out: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI8FromUI2(uiin: u16, pi64out: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI8FromUI4(ulin: u32, pi64out: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarI8FromUI8(ui64in: u64, pi64out: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarIdiv(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarImp(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarInt(pvarin: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarMod(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarMonthName(imonth: i32, fabbrev: i32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarMul(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarNeg(pvarin: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarNot(pvarin: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarNumFromParseNum(pnumprs: *const NUMPARSE, rgbdig: *const u8, dwvtbits: u32, pvar: *mut super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarOr(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarParseNumFromStr(strin: ::windows_sys::core::PCWSTR, lcid: u32, dwflags: u32, pnumprs: *mut NUMPARSE, rgbdig: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarPow(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR4CmpR8(fltleft: f32, dblright: f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR4FromBool(boolin: i16, pfltout: *mut f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarR4FromCy(cyin: super::Com::CY, pfltout: *mut f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR4FromDate(datein: f64, pfltout: *mut f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarR4FromDec(pdecin: *const super::super::Foundation::DECIMAL, pfltout: *mut f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarR4FromDisp(pdispin: super::Com::IDispatch, lcid: u32, pfltout: *mut f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarR4FromI1(cin: super::super::Foundation::CHAR, pfltout: *mut f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR4FromI2(sin: i16, pfltout: *mut f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR4FromI4(lin: i32, pfltout: *mut f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR4FromI8(i64in: i64, pfltout: *mut f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR4FromR8(dblin: f64, pfltout: *mut f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR4FromStr(strin: ::windows_sys::core::PCWSTR, lcid: u32, dwflags: u32, pfltout: *mut f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR4FromUI1(bin: u8, pfltout: *mut f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR4FromUI2(uiin: u16, pfltout: *mut f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR4FromUI4(ulin: u32, pfltout: *mut f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR4FromUI8(ui64in: u64, pfltout: *mut f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR8FromBool(boolin: i16, pdblout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarR8FromCy(cyin: super::Com::CY, pdblout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR8FromDate(datein: f64, pdblout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarR8FromDec(pdecin: *const super::super::Foundation::DECIMAL, pdblout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarR8FromDisp(pdispin: super::Com::IDispatch, lcid: u32, pdblout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarR8FromI1(cin: super::super::Foundation::CHAR, pdblout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR8FromI2(sin: i16, pdblout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR8FromI4(lin: i32, pdblout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR8FromI8(i64in: i64, pdblout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR8FromR4(fltin: f32, pdblout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR8FromStr(strin: ::windows_sys::core::PCWSTR, lcid: u32, dwflags: u32, pdblout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR8FromUI1(bin: u8, pdblout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR8FromUI2(uiin: u16, pdblout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR8FromUI4(ulin: u32, pdblout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR8FromUI8(ui64in: u64, pdblout: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR8Pow(dblleft: f64, dblright: f64, pdblresult: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarR8Round(dblin: f64, cdecimals: i32, pdblresult: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarRound(pvarin: *const super::Com::VARIANT, cdecimals: i32, pvarresult: *mut super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarSub(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarTokenizeFormatString(pstrformat: ::windows_sys::core::PCWSTR, rgbtok: *mut u8, cbtok: i32, ifirstday: i32, ifirstweek: i32, lcid: u32, pcbactual: *const i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI1FromBool(boolin: i16, pbout: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarUI1FromCy(cyin: super::Com::CY, pbout: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI1FromDate(datein: f64, pbout: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarUI1FromDec(pdecin: *const super::super::Foundation::DECIMAL, pbout: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarUI1FromDisp(pdispin: super::Com::IDispatch, lcid: u32, pbout: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarUI1FromI1(cin: super::super::Foundation::CHAR, pbout: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI1FromI2(sin: i16, pbout: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI1FromI4(lin: i32, pbout: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI1FromI8(i64in: i64, pbout: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI1FromR4(fltin: f32, pbout: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI1FromR8(dblin: f64, pbout: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI1FromStr(strin: ::windows_sys::core::PCWSTR, lcid: u32, dwflags: u32, pbout: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI1FromUI2(uiin: u16, pbout: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI1FromUI4(ulin: u32, pbout: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI1FromUI8(ui64in: u64, pbout: *mut u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI2FromBool(boolin: i16, puiout: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarUI2FromCy(cyin: super::Com::CY, puiout: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI2FromDate(datein: f64, puiout: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarUI2FromDec(pdecin: *const super::super::Foundation::DECIMAL, puiout: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarUI2FromDisp(pdispin: super::Com::IDispatch, lcid: u32, puiout: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarUI2FromI1(cin: super::super::Foundation::CHAR, puiout: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI2FromI2(uiin: i16, puiout: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI2FromI4(lin: i32, puiout: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI2FromI8(i64in: i64, puiout: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI2FromR4(fltin: f32, puiout: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI2FromR8(dblin: f64, puiout: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI2FromStr(strin: ::windows_sys::core::PCWSTR, lcid: u32, dwflags: u32, puiout: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI2FromUI1(bin: u8, puiout: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI2FromUI4(ulin: u32, puiout: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI2FromUI8(i64in: u64, puiout: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI4FromBool(boolin: i16, pulout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarUI4FromCy(cyin: super::Com::CY, pulout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI4FromDate(datein: f64, pulout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarUI4FromDec(pdecin: *const super::super::Foundation::DECIMAL, pulout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarUI4FromDisp(pdispin: super::Com::IDispatch, lcid: u32, pulout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarUI4FromI1(cin: super::super::Foundation::CHAR, pulout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI4FromI2(uiin: i16, pulout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI4FromI4(lin: i32, pulout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI4FromI8(i64in: i64, plout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI4FromR4(fltin: f32, pulout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI4FromR8(dblin: f64, pulout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI4FromStr(strin: ::windows_sys::core::PCWSTR, lcid: u32, dwflags: u32, pulout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI4FromUI1(bin: u8, pulout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI4FromUI2(uiin: u16, pulout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI4FromUI8(ui64in: u64, plout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI8FromBool(boolin: i16, pi64out: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarUI8FromCy(cyin: super::Com::CY, pi64out: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI8FromDate(datein: f64, pi64out: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarUI8FromDec(pdecin: *const super::super::Foundation::DECIMAL, pi64out: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn VarUI8FromDisp(pdispin: super::Com::IDispatch, lcid: u32, pi64out: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarUI8FromI1(cin: super::super::Foundation::CHAR, pi64out: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI8FromI2(sin: i16, pi64out: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI8FromI8(ui64in: i64, pi64out: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI8FromR4(fltin: f32, pi64out: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI8FromR8(dblin: f64, pi64out: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI8FromStr(strin: ::windows_sys::core::PCWSTR, lcid: u32, dwflags: u32, pi64out: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI8FromUI1(bin: u8, pi64out: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI8FromUI2(uiin: u16, pi64out: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VarUI8FromUI4(ulin: u32, pi64out: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarUdateFromDate(datein: f64, dwflags: u32, pudateout: *mut UDATE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VarWeekdayName(iweekday: i32, fabbrev: i32, ifirstday: i32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VarXor(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VariantChangeType(pvargdest: *mut super::Com::VARIANT, pvarsrc: *const super::Com::VARIANT, wflags: u16, vt: super::Com::VARENUM) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VariantChangeTypeEx(pvargdest: *mut super::Com::VARIANT, pvarsrc: *const super::Com::VARIANT, lcid: u32, wflags: u16, vt: super::Com::VARENUM) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VariantClear(pvarg: *mut super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VariantCopy(pvargdest: *mut super::Com::VARIANT, pvargsrc: *const super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VariantCopyInd(pvardest: *mut super::Com::VARIANT, pvargsrc: *const super::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VariantInit(pvarg: *mut super::Com::VARIANT); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] pub fn VariantTimeToDosDateTime(vtime: f64, pwdosdate: *mut u16, pwdostime: *mut u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VariantTimeToSystemTime(vtime: f64, lpsystemtime: *mut super::super::Foundation::SYSTEMTIME) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn VectorFromBstr(bstr: super::super::Foundation::BSTR, ppsa: *mut *mut super::Com::SAFEARRAY) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/System/PasswordManagement/mod.rs b/crates/libs/sys/src/Windows/Win32/System/PasswordManagement/mod.rs index 2df6a9c37b..8952a36354 100644 --- a/crates/libs/sys/src/Windows/Win32/System/PasswordManagement/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/PasswordManagement/mod.rs @@ -3,6 +3,9 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_PasswordManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MSChapSrvChangePassword(servername: ::windows_sys::core::PCWSTR, username: ::windows_sys::core::PCWSTR, lmoldpresent: super::super::Foundation::BOOLEAN, lmoldowfpassword: *const LM_OWF_PASSWORD, lmnewowfpassword: *const LM_OWF_PASSWORD, ntoldowfpassword: *const LM_OWF_PASSWORD, ntnewowfpassword: *const LM_OWF_PASSWORD) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_PasswordManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MSChapSrvChangePassword2(servername: ::windows_sys::core::PCWSTR, username: ::windows_sys::core::PCWSTR, newpasswordencryptedwitholdnt: *const SAMPR_ENCRYPTED_USER_PASSWORD, oldntowfpasswordencryptedwithnewnt: *const ENCRYPTED_LM_OWF_PASSWORD, lmpresent: super::super::Foundation::BOOLEAN, newpasswordencryptedwitholdlm: *const SAMPR_ENCRYPTED_USER_PASSWORD, oldlmowfpasswordencryptedwithnewlmornt: *const ENCRYPTED_LM_OWF_PASSWORD) -> u32; diff --git a/crates/libs/sys/src/Windows/Win32/System/Performance/HardwareCounterProfiling/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Performance/HardwareCounterProfiling/mod.rs index c897064ea1..6980d88143 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Performance/HardwareCounterProfiling/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Performance/HardwareCounterProfiling/mod.rs @@ -3,12 +3,21 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Performance_HardwareCounterProfiling\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DisableThreadProfiling(performancedatahandle: super::super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance_HardwareCounterProfiling\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnableThreadProfiling(threadhandle: super::super::super::Foundation::HANDLE, flags: u32, hardwarecounters: u64, performancedatahandle: *mut super::super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance_HardwareCounterProfiling\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryThreadProfiling(threadhandle: super::super::super::Foundation::HANDLE, enabled: *mut super::super::super::Foundation::BOOLEAN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance_HardwareCounterProfiling\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadThreadProfilingData(performancedatahandle: super::super::super::Foundation::HANDLE, flags: u32, performancedata: *mut PERFORMANCE_DATA) -> u32; diff --git a/crates/libs/sys/src/Windows/Win32/System/Performance/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Performance/mod.rs index 65febaae62..6f9cbd53eb 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Performance/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Performance/mod.rs @@ -1,313 +1,715 @@ #[cfg(feature = "Win32_System_Performance_HardwareCounterProfiling")] pub mod HardwareCounterProfiling; #[cfg_attr(windows, link(name = "windows"))] -extern "system" { +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn BackupPerfRegistryToFileW(szfilename: ::windows_sys::core::PCWSTR, szcommentstring: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn InstallPerfDllA(szcomputername: ::windows_sys::core::PCSTR, lpinifile: ::windows_sys::core::PCSTR, dwflags: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn InstallPerfDllW(szcomputername: ::windows_sys::core::PCWSTR, lpinifile: ::windows_sys::core::PCWSTR, dwflags: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadPerfCounterTextStringsA(lpcommandline: ::windows_sys::core::PCSTR, bquietmodearg: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadPerfCounterTextStringsW(lpcommandline: ::windows_sys::core::PCWSTR, bquietmodearg: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhAddCounterA(hquery: isize, szfullcounterpath: ::windows_sys::core::PCSTR, dwuserdata: usize, phcounter: *mut isize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhAddCounterW(hquery: isize, szfullcounterpath: ::windows_sys::core::PCWSTR, dwuserdata: usize, phcounter: *mut isize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhAddEnglishCounterA(hquery: isize, szfullcounterpath: ::windows_sys::core::PCSTR, dwuserdata: usize, phcounter: *mut isize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhAddEnglishCounterW(hquery: isize, szfullcounterpath: ::windows_sys::core::PCWSTR, dwuserdata: usize, phcounter: *mut isize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhBindInputDataSourceA(phdatasource: *mut isize, logfilenamelist: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhBindInputDataSourceW(phdatasource: *mut isize, logfilenamelist: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PdhBrowseCountersA(pbrowsedlgdata: *const PDH_BROWSE_DLG_CONFIG_A) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PdhBrowseCountersHA(pbrowsedlgdata: *const PDH_BROWSE_DLG_CONFIG_HA) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PdhBrowseCountersHW(pbrowsedlgdata: *const PDH_BROWSE_DLG_CONFIG_HW) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PdhBrowseCountersW(pbrowsedlgdata: *const PDH_BROWSE_DLG_CONFIG_W) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PdhCalculateCounterFromRawValue(hcounter: isize, dwformat: PDH_FMT, rawvalue1: *const PDH_RAW_COUNTER, rawvalue2: *const PDH_RAW_COUNTER, fmtvalue: *mut PDH_FMT_COUNTERVALUE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhCloseLog(hlog: isize, dwflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhCloseQuery(hquery: isize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhCollectQueryData(hquery: isize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PdhCollectQueryDataEx(hquery: isize, dwintervaltime: u32, hnewdataevent: super::super::Foundation::HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhCollectQueryDataWithTime(hquery: isize, plltimestamp: *mut i64) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PdhComputeCounterStatistics(hcounter: isize, dwformat: PDH_FMT, dwfirstentry: u32, dwnumentries: u32, lprawvaluearray: *const PDH_RAW_COUNTER, data: *mut PDH_STATISTICS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhConnectMachineA(szmachinename: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhConnectMachineW(szmachinename: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhCreateSQLTablesA(szdatasource: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhCreateSQLTablesW(szdatasource: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhEnumLogSetNamesA(szdatasource: ::windows_sys::core::PCSTR, mszdatasetnamelist: ::windows_sys::core::PSTR, pcchbufferlength: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhEnumLogSetNamesW(szdatasource: ::windows_sys::core::PCWSTR, mszdatasetnamelist: ::windows_sys::core::PWSTR, pcchbufferlength: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhEnumMachinesA(szdatasource: ::windows_sys::core::PCSTR, mszmachinelist: ::windows_sys::core::PSTR, pcchbuffersize: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhEnumMachinesHA(hdatasource: isize, mszmachinelist: ::windows_sys::core::PSTR, pcchbuffersize: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhEnumMachinesHW(hdatasource: isize, mszmachinelist: ::windows_sys::core::PWSTR, pcchbuffersize: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhEnumMachinesW(szdatasource: ::windows_sys::core::PCWSTR, mszmachinelist: ::windows_sys::core::PWSTR, pcchbuffersize: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhEnumObjectItemsA(szdatasource: ::windows_sys::core::PCSTR, szmachinename: ::windows_sys::core::PCSTR, szobjectname: ::windows_sys::core::PCSTR, mszcounterlist: ::windows_sys::core::PSTR, pcchcounterlistlength: *mut u32, mszinstancelist: ::windows_sys::core::PSTR, pcchinstancelistlength: *mut u32, dwdetaillevel: PERF_DETAIL, dwflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhEnumObjectItemsHA(hdatasource: isize, szmachinename: ::windows_sys::core::PCSTR, szobjectname: ::windows_sys::core::PCSTR, mszcounterlist: ::windows_sys::core::PSTR, pcchcounterlistlength: *mut u32, mszinstancelist: ::windows_sys::core::PSTR, pcchinstancelistlength: *mut u32, dwdetaillevel: PERF_DETAIL, dwflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhEnumObjectItemsHW(hdatasource: isize, szmachinename: ::windows_sys::core::PCWSTR, szobjectname: ::windows_sys::core::PCWSTR, mszcounterlist: ::windows_sys::core::PWSTR, pcchcounterlistlength: *mut u32, mszinstancelist: ::windows_sys::core::PWSTR, pcchinstancelistlength: *mut u32, dwdetaillevel: PERF_DETAIL, dwflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhEnumObjectItemsW(szdatasource: ::windows_sys::core::PCWSTR, szmachinename: ::windows_sys::core::PCWSTR, szobjectname: ::windows_sys::core::PCWSTR, mszcounterlist: ::windows_sys::core::PWSTR, pcchcounterlistlength: *mut u32, mszinstancelist: ::windows_sys::core::PWSTR, pcchinstancelistlength: *mut u32, dwdetaillevel: PERF_DETAIL, dwflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PdhEnumObjectsA(szdatasource: ::windows_sys::core::PCSTR, szmachinename: ::windows_sys::core::PCSTR, mszobjectlist: ::windows_sys::core::PSTR, pcchbuffersize: *mut u32, dwdetaillevel: PERF_DETAIL, brefresh: super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PdhEnumObjectsHA(hdatasource: isize, szmachinename: ::windows_sys::core::PCSTR, mszobjectlist: ::windows_sys::core::PSTR, pcchbuffersize: *mut u32, dwdetaillevel: PERF_DETAIL, brefresh: super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PdhEnumObjectsHW(hdatasource: isize, szmachinename: ::windows_sys::core::PCWSTR, mszobjectlist: ::windows_sys::core::PWSTR, pcchbuffersize: *mut u32, dwdetaillevel: PERF_DETAIL, brefresh: super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PdhEnumObjectsW(szdatasource: ::windows_sys::core::PCWSTR, szmachinename: ::windows_sys::core::PCWSTR, mszobjectlist: ::windows_sys::core::PWSTR, pcchbuffersize: *mut u32, dwdetaillevel: PERF_DETAIL, brefresh: super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhExpandCounterPathA(szwildcardpath: ::windows_sys::core::PCSTR, mszexpandedpathlist: ::windows_sys::core::PSTR, pcchpathlistlength: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhExpandCounterPathW(szwildcardpath: ::windows_sys::core::PCWSTR, mszexpandedpathlist: ::windows_sys::core::PWSTR, pcchpathlistlength: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhExpandWildCardPathA(szdatasource: ::windows_sys::core::PCSTR, szwildcardpath: ::windows_sys::core::PCSTR, mszexpandedpathlist: ::windows_sys::core::PSTR, pcchpathlistlength: *mut u32, dwflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhExpandWildCardPathHA(hdatasource: isize, szwildcardpath: ::windows_sys::core::PCSTR, mszexpandedpathlist: ::windows_sys::core::PSTR, pcchpathlistlength: *mut u32, dwflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhExpandWildCardPathHW(hdatasource: isize, szwildcardpath: ::windows_sys::core::PCWSTR, mszexpandedpathlist: ::windows_sys::core::PWSTR, pcchpathlistlength: *mut u32, dwflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhExpandWildCardPathW(szdatasource: ::windows_sys::core::PCWSTR, szwildcardpath: ::windows_sys::core::PCWSTR, mszexpandedpathlist: ::windows_sys::core::PWSTR, pcchpathlistlength: *mut u32, dwflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PdhFormatFromRawValue(dwcountertype: u32, dwformat: PDH_FMT, ptimebase: *const i64, prawvalue1: *const PDH_RAW_COUNTER, prawvalue2: *const PDH_RAW_COUNTER, pfmtvalue: *mut PDH_FMT_COUNTERVALUE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PdhGetCounterInfoA(hcounter: isize, bretrieveexplaintext: super::super::Foundation::BOOLEAN, pdwbuffersize: *mut u32, lpbuffer: *mut PDH_COUNTER_INFO_A) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PdhGetCounterInfoW(hcounter: isize, bretrieveexplaintext: super::super::Foundation::BOOLEAN, pdwbuffersize: *mut u32, lpbuffer: *mut PDH_COUNTER_INFO_W) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhGetCounterTimeBase(hcounter: isize, ptimebase: *mut i64) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhGetDataSourceTimeRangeA(szdatasource: ::windows_sys::core::PCSTR, pdwnumentries: *mut u32, pinfo: *mut PDH_TIME_INFO, pdwbuffersize: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhGetDataSourceTimeRangeH(hdatasource: isize, pdwnumentries: *mut u32, pinfo: *mut PDH_TIME_INFO, pdwbuffersize: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhGetDataSourceTimeRangeW(szdatasource: ::windows_sys::core::PCWSTR, pdwnumentries: *mut u32, pinfo: *mut PDH_TIME_INFO, pdwbuffersize: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhGetDefaultPerfCounterA(szdatasource: ::windows_sys::core::PCSTR, szmachinename: ::windows_sys::core::PCSTR, szobjectname: ::windows_sys::core::PCSTR, szdefaultcountername: ::windows_sys::core::PSTR, pcchbuffersize: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhGetDefaultPerfCounterHA(hdatasource: isize, szmachinename: ::windows_sys::core::PCSTR, szobjectname: ::windows_sys::core::PCSTR, szdefaultcountername: ::windows_sys::core::PSTR, pcchbuffersize: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhGetDefaultPerfCounterHW(hdatasource: isize, szmachinename: ::windows_sys::core::PCWSTR, szobjectname: ::windows_sys::core::PCWSTR, szdefaultcountername: ::windows_sys::core::PWSTR, pcchbuffersize: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhGetDefaultPerfCounterW(szdatasource: ::windows_sys::core::PCWSTR, szmachinename: ::windows_sys::core::PCWSTR, szobjectname: ::windows_sys::core::PCWSTR, szdefaultcountername: ::windows_sys::core::PWSTR, pcchbuffersize: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhGetDefaultPerfObjectA(szdatasource: ::windows_sys::core::PCSTR, szmachinename: ::windows_sys::core::PCSTR, szdefaultobjectname: ::windows_sys::core::PSTR, pcchbuffersize: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhGetDefaultPerfObjectHA(hdatasource: isize, szmachinename: ::windows_sys::core::PCSTR, szdefaultobjectname: ::windows_sys::core::PSTR, pcchbuffersize: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhGetDefaultPerfObjectHW(hdatasource: isize, szmachinename: ::windows_sys::core::PCWSTR, szdefaultobjectname: ::windows_sys::core::PWSTR, pcchbuffersize: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhGetDefaultPerfObjectW(szdatasource: ::windows_sys::core::PCWSTR, szmachinename: ::windows_sys::core::PCWSTR, szdefaultobjectname: ::windows_sys::core::PWSTR, pcchbuffersize: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhGetDllVersion(lpdwversion: *mut PDH_DLL_VERSION) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhGetFormattedCounterArrayA(hcounter: isize, dwformat: PDH_FMT, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: *mut PDH_FMT_COUNTERVALUE_ITEM_A) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhGetFormattedCounterArrayW(hcounter: isize, dwformat: PDH_FMT, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: *mut PDH_FMT_COUNTERVALUE_ITEM_W) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhGetFormattedCounterValue(hcounter: isize, dwformat: PDH_FMT, lpdwtype: *mut u32, pvalue: *mut PDH_FMT_COUNTERVALUE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhGetLogFileSize(hlog: isize, llsize: *mut i64) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhGetLogSetGUID(hlog: isize, pguid: *mut ::windows_sys::core::GUID, prunid: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PdhGetRawCounterArrayA(hcounter: isize, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: *mut PDH_RAW_COUNTER_ITEM_A) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PdhGetRawCounterArrayW(hcounter: isize, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: *mut PDH_RAW_COUNTER_ITEM_W) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PdhGetRawCounterValue(hcounter: isize, lpdwtype: *mut u32, pvalue: *mut PDH_RAW_COUNTER) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PdhIsRealTimeQuery(hquery: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhLookupPerfIndexByNameA(szmachinename: ::windows_sys::core::PCSTR, sznamebuffer: ::windows_sys::core::PCSTR, pdwindex: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhLookupPerfIndexByNameW(szmachinename: ::windows_sys::core::PCWSTR, sznamebuffer: ::windows_sys::core::PCWSTR, pdwindex: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhLookupPerfNameByIndexA(szmachinename: ::windows_sys::core::PCSTR, dwnameindex: u32, sznamebuffer: ::windows_sys::core::PSTR, pcchnamebuffersize: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhLookupPerfNameByIndexW(szmachinename: ::windows_sys::core::PCWSTR, dwnameindex: u32, sznamebuffer: ::windows_sys::core::PWSTR, pcchnamebuffersize: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhMakeCounterPathA(pcounterpathelements: *const PDH_COUNTER_PATH_ELEMENTS_A, szfullpathbuffer: ::windows_sys::core::PSTR, pcchbuffersize: *mut u32, dwflags: PDH_PATH_FLAGS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhMakeCounterPathW(pcounterpathelements: *const PDH_COUNTER_PATH_ELEMENTS_W, szfullpathbuffer: ::windows_sys::core::PWSTR, pcchbuffersize: *mut u32, dwflags: PDH_PATH_FLAGS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhOpenLogA(szlogfilename: ::windows_sys::core::PCSTR, dwaccessflags: PDH_LOG, lpdwlogtype: *mut PDH_LOG_TYPE, hquery: isize, dwmaxsize: u32, szusercaption: ::windows_sys::core::PCSTR, phlog: *mut isize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhOpenLogW(szlogfilename: ::windows_sys::core::PCWSTR, dwaccessflags: PDH_LOG, lpdwlogtype: *mut PDH_LOG_TYPE, hquery: isize, dwmaxsize: u32, szusercaption: ::windows_sys::core::PCWSTR, phlog: *mut isize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhOpenQueryA(szdatasource: ::windows_sys::core::PCSTR, dwuserdata: usize, phquery: *mut isize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhOpenQueryH(hdatasource: isize, dwuserdata: usize, phquery: *mut isize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhOpenQueryW(szdatasource: ::windows_sys::core::PCWSTR, dwuserdata: usize, phquery: *mut isize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhParseCounterPathA(szfullpathbuffer: ::windows_sys::core::PCSTR, pcounterpathelements: *mut PDH_COUNTER_PATH_ELEMENTS_A, pdwbuffersize: *mut u32, dwflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhParseCounterPathW(szfullpathbuffer: ::windows_sys::core::PCWSTR, pcounterpathelements: *mut PDH_COUNTER_PATH_ELEMENTS_W, pdwbuffersize: *mut u32, dwflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhParseInstanceNameA(szinstancestring: ::windows_sys::core::PCSTR, szinstancename: ::windows_sys::core::PSTR, pcchinstancenamelength: *mut u32, szparentname: ::windows_sys::core::PSTR, pcchparentnamelength: *mut u32, lpindex: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhParseInstanceNameW(szinstancestring: ::windows_sys::core::PCWSTR, szinstancename: ::windows_sys::core::PWSTR, pcchinstancenamelength: *mut u32, szparentname: ::windows_sys::core::PWSTR, pcchparentnamelength: *mut u32, lpindex: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PdhReadRawLogRecord(hlog: isize, ftrecord: super::super::Foundation::FILETIME, prawlogrecord: *mut PDH_RAW_LOG_RECORD, pdwbufferlength: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhRemoveCounter(hcounter: isize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PdhSelectDataSourceA(hwndowner: super::super::Foundation::HWND, dwflags: PDH_SELECT_DATA_SOURCE_FLAGS, szdatasource: ::windows_sys::core::PSTR, pcchbufferlength: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PdhSelectDataSourceW(hwndowner: super::super::Foundation::HWND, dwflags: PDH_SELECT_DATA_SOURCE_FLAGS, szdatasource: ::windows_sys::core::PWSTR, pcchbufferlength: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhSetCounterScaleFactor(hcounter: isize, lfactor: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhSetDefaultRealTimeDataSource(dwdatasourceid: REAL_TIME_DATA_SOURCE_ID_FLAGS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhSetLogSetRunID(hlog: isize, runid: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhSetQueryTimeRange(hquery: isize, pinfo: *const PDH_TIME_INFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhUpdateLogA(hlog: isize, szuserstring: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhUpdateLogFileCatalog(hlog: isize) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhUpdateLogW(hlog: isize, szuserstring: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhValidatePathA(szfullpathbuffer: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhValidatePathExA(hdatasource: isize, szfullpathbuffer: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhValidatePathExW(hdatasource: isize, szfullpathbuffer: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhValidatePathW(szfullpathbuffer: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhVerifySQLDBA(szdatasource: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PdhVerifySQLDBW(szdatasource: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PerfAddCounters(hquery: PerfQueryHandle, pcounters: *mut PERF_COUNTER_IDENTIFIER, cbcounters: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PerfCloseQueryHandle(hquery: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PerfCreateInstance(providerhandle: PerfProviderHandle, countersetguid: *const ::windows_sys::core::GUID, name: ::windows_sys::core::PCWSTR, id: u32) -> *mut PERF_COUNTERSET_INSTANCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PerfDecrementULongCounterValue(provider: super::super::Foundation::HANDLE, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PerfDecrementULongLongCounterValue(provider: super::super::Foundation::HANDLE, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PerfDeleteCounters(hquery: PerfQueryHandle, pcounters: *mut PERF_COUNTER_IDENTIFIER, cbcounters: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PerfDeleteInstance(provider: PerfProviderHandle, instanceblock: *const PERF_COUNTERSET_INSTANCE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PerfEnumerateCounterSet(szmachine: ::windows_sys::core::PCWSTR, pcountersetids: *mut ::windows_sys::core::GUID, ccountersetids: u32, pccountersetidsactual: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PerfEnumerateCounterSetInstances(szmachine: ::windows_sys::core::PCWSTR, pcountersetid: *const ::windows_sys::core::GUID, pinstances: *mut PERF_INSTANCE_HEADER, cbinstances: u32, pcbinstancesactual: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PerfIncrementULongCounterValue(provider: super::super::Foundation::HANDLE, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PerfIncrementULongLongCounterValue(provider: super::super::Foundation::HANDLE, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PerfOpenQueryHandle(szmachine: ::windows_sys::core::PCWSTR, phquery: *mut PerfQueryHandle) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PerfQueryCounterData(hquery: PerfQueryHandle, pcounterblock: *mut PERF_DATA_HEADER, cbcounterblock: u32, pcbcounterblockactual: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PerfQueryCounterInfo(hquery: PerfQueryHandle, pcounters: *mut PERF_COUNTER_IDENTIFIER, cbcounters: u32, pcbcountersactual: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PerfQueryCounterSetRegistrationInfo(szmachine: ::windows_sys::core::PCWSTR, pcountersetid: *const ::windows_sys::core::GUID, requestcode: PerfRegInfoType, requestlangid: u32, pbreginfo: *mut u8, cbreginfo: u32, pcbreginfoactual: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PerfQueryInstance(providerhandle: super::super::Foundation::HANDLE, countersetguid: *const ::windows_sys::core::GUID, name: ::windows_sys::core::PCWSTR, id: u32) -> *mut PERF_COUNTERSET_INSTANCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PerfSetCounterRefValue(provider: super::super::Foundation::HANDLE, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, address: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PerfSetCounterSetInfo(providerhandle: super::super::Foundation::HANDLE, template: *mut PERF_COUNTERSET_INFO, templatesize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PerfSetULongCounterValue(provider: super::super::Foundation::HANDLE, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PerfSetULongLongCounterValue(provider: super::super::Foundation::HANDLE, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PerfStartProvider(providerguid: *const ::windows_sys::core::GUID, controlcallback: PERFLIBREQUEST, phprovider: *mut PerfProviderHandle) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PerfStartProviderEx(providerguid: *const ::windows_sys::core::GUID, providercontext: *const PERF_PROVIDER_CONTEXT, provider: *mut PerfProviderHandle) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn PerfStopProvider(providerhandle: PerfProviderHandle) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryPerformanceCounter(lpperformancecount: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryPerformanceFrequency(lpfrequency: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn RestorePerfRegistryFromFileW(szfilename: ::windows_sys::core::PCWSTR, szlangid: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn SetServiceAsTrustedA(szreserved: ::windows_sys::core::PCSTR, szservicename: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn SetServiceAsTrustedW(szreserved: ::windows_sys::core::PCWSTR, szservicename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnloadPerfCounterTextStringsA(lpcommandline: ::windows_sys::core::PCSTR, bquietmodearg: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnloadPerfCounterTextStringsW(lpcommandline: ::windows_sys::core::PCWSTR, bquietmodearg: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn UpdatePerfNameFilesA(sznewctrfilepath: ::windows_sys::core::PCSTR, sznewhlpfilepath: ::windows_sys::core::PCSTR, szlanguageid: ::windows_sys::core::PCSTR, dwflags: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Performance\"`*"] pub fn UpdatePerfNameFilesW(sznewctrfilepath: ::windows_sys::core::PCWSTR, sznewhlpfilepath: ::windows_sys::core::PCWSTR, szlanguageid: ::windows_sys::core::PCWSTR, dwflags: usize) -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/System/Pipes/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Pipes/mod.rs index 55b72c1906..57108e360d 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Pipes/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Pipes/mod.rs @@ -3,66 +3,129 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CallNamedPipeA(lpnamedpipename: ::windows_sys::core::PCSTR, lpinbuffer: *const ::core::ffi::c_void, ninbuffersize: u32, lpoutbuffer: *mut ::core::ffi::c_void, noutbuffersize: u32, lpbytesread: *mut u32, ntimeout: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CallNamedPipeW(lpnamedpipename: ::windows_sys::core::PCWSTR, lpinbuffer: *const ::core::ffi::c_void, ninbuffersize: u32, lpoutbuffer: *mut ::core::ffi::c_void, noutbuffersize: u32, lpbytesread: *mut u32, ntimeout: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn ConnectNamedPipe(hnamedpipe: super::super::Foundation::HANDLE, lpoverlapped: *mut super::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem"))] pub fn CreateNamedPipeA(lpname: ::windows_sys::core::PCSTR, dwopenmode: super::super::Storage::FileSystem::FILE_FLAGS_AND_ATTRIBUTES, dwpipemode: NAMED_PIPE_MODE, nmaxinstances: u32, noutbuffersize: u32, ninbuffersize: u32, ndefaulttimeout: u32, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem"))] pub fn CreateNamedPipeW(lpname: ::windows_sys::core::PCWSTR, dwopenmode: super::super::Storage::FileSystem::FILE_FLAGS_AND_ATTRIBUTES, dwpipemode: NAMED_PIPE_MODE, nmaxinstances: u32, noutbuffersize: u32, ninbuffersize: u32, ndefaulttimeout: u32, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreatePipe(hreadpipe: *mut super::super::Foundation::HANDLE, hwritepipe: *mut super::super::Foundation::HANDLE, lppipeattributes: *const super::super::Security::SECURITY_ATTRIBUTES, nsize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DisconnectNamedPipe(hnamedpipe: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNamedPipeClientComputerNameA(pipe: super::super::Foundation::HANDLE, clientcomputername: ::windows_sys::core::PSTR, clientcomputernamelength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNamedPipeClientComputerNameW(pipe: super::super::Foundation::HANDLE, clientcomputername: ::windows_sys::core::PWSTR, clientcomputernamelength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNamedPipeClientProcessId(pipe: super::super::Foundation::HANDLE, clientprocessid: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNamedPipeClientSessionId(pipe: super::super::Foundation::HANDLE, clientsessionid: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNamedPipeHandleStateA(hnamedpipe: super::super::Foundation::HANDLE, lpstate: *mut NAMED_PIPE_MODE, lpcurinstances: *mut u32, lpmaxcollectioncount: *mut u32, lpcollectdatatimeout: *mut u32, lpusername: ::windows_sys::core::PSTR, nmaxusernamesize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNamedPipeHandleStateW(hnamedpipe: super::super::Foundation::HANDLE, lpstate: *mut NAMED_PIPE_MODE, lpcurinstances: *mut u32, lpmaxcollectioncount: *mut u32, lpcollectdatatimeout: *mut u32, lpusername: ::windows_sys::core::PWSTR, nmaxusernamesize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNamedPipeInfo(hnamedpipe: super::super::Foundation::HANDLE, lpflags: *mut NAMED_PIPE_MODE, lpoutbuffersize: *mut u32, lpinbuffersize: *mut u32, lpmaxinstances: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNamedPipeServerProcessId(pipe: super::super::Foundation::HANDLE, serverprocessid: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNamedPipeServerSessionId(pipe: super::super::Foundation::HANDLE, serversessionid: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImpersonateNamedPipeClient(hnamedpipe: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeekNamedPipe(hnamedpipe: super::super::Foundation::HANDLE, lpbuffer: *mut ::core::ffi::c_void, nbuffersize: u32, lpbytesread: *mut u32, lptotalbytesavail: *mut u32, lpbytesleftthismessage: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetNamedPipeHandleState(hnamedpipe: super::super::Foundation::HANDLE, lpmode: *const NAMED_PIPE_MODE, lpmaxcollectioncount: *const u32, lpcollectdatatimeout: *const u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn TransactNamedPipe(hnamedpipe: super::super::Foundation::HANDLE, lpinbuffer: *const ::core::ffi::c_void, ninbuffersize: u32, lpoutbuffer: *mut ::core::ffi::c_void, noutbuffersize: u32, lpbytesread: *mut u32, lpoverlapped: *mut super::IO::OVERLAPPED) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WaitNamedPipeA(lpnamedpipename: ::windows_sys::core::PCSTR, ntimeout: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WaitNamedPipeW(lpnamedpipename: ::windows_sys::core::PCWSTR, ntimeout: u32) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/Power/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Power/mod.rs index 93b0c1dcd0..455d1b866f 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Power/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Power/mod.rs @@ -3,274 +3,562 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CallNtPowerInformation(informationlevel: POWER_INFORMATION_LEVEL, inputbuffer: *const ::core::ffi::c_void, inputbufferlength: u32, outputbuffer: *mut ::core::ffi::c_void, outputbufferlength: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CanUserWritePwrScheme() -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeletePwrScheme(uiid: u32) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DevicePowerClose() -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DevicePowerEnumDevices(queryindex: u32, queryinterpretationflags: u32, queryflags: u32, preturnbuffer: *mut u8, pbuffersize: *mut u32) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DevicePowerOpen(debugmask: u32) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`*"] pub fn DevicePowerSetDeviceState(devicedescription: ::windows_sys::core::PCWSTR, setflags: u32, setdata: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumPwrSchemes(lpfn: PWRSCHEMESENUMPROC, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetActivePwrScheme(puiid: *mut u32) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCurrentPowerPolicies(pglobalpowerpolicy: *mut GLOBAL_POWER_POLICY, ppowerpolicy: *mut POWER_POLICY) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDevicePowerState(hdevice: super::super::Foundation::HANDLE, pfon: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPwrCapabilities(lpspc: *mut SYSTEM_POWER_CAPABILITIES) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPwrDiskSpindownRange(puimax: *mut u32, puimin: *mut u32) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSystemPowerStatus(lpsystempowerstatus: *mut SYSTEM_POWER_STATUS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsAdminOverrideActive(papp: *const ADMINISTRATOR_POWER_POLICY) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsPwrHibernateAllowed() -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsPwrShutdownAllowed() -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsPwrSuspendAllowed() -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsSystemResumeAutomatic() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`*"] pub fn PowerCanRestoreIndividualDefaultPowerScheme(schemeguid: *const ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PowerClearRequest(powerrequest: super::super::Foundation::HANDLE, requesttype: POWER_REQUEST_TYPE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerCreatePossibleSetting(rootsystempowerkey: super::Registry::HKEY, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, possiblesettingindex: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] pub fn PowerCreateRequest(context: *const super::Threading::REASON_CONTEXT) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerCreateSetting(rootsystempowerkey: super::Registry::HKEY, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerDeleteScheme(rootpowerkey: super::Registry::HKEY, schemeguid: *const ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`*"] pub fn PowerDeterminePlatformRole() -> POWER_PLATFORM_ROLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`*"] pub fn PowerDeterminePlatformRoleEx(version: POWER_PLATFORM_ROLE_VERSION) -> POWER_PLATFORM_ROLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerDuplicateScheme(rootpowerkey: super::Registry::HKEY, sourceschemeguid: *const ::windows_sys::core::GUID, destinationschemeguid: *mut *mut ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerEnumerate(rootpowerkey: super::Registry::HKEY, schemeguid: *const ::windows_sys::core::GUID, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, accessflags: POWER_DATA_ACCESSOR, index: u32, buffer: *mut u8, buffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerGetActiveScheme(userrootpowerkey: super::Registry::HKEY, activepolicyguid: *mut *mut ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerImportPowerScheme(rootpowerkey: super::Registry::HKEY, importfilenamepath: ::windows_sys::core::PCWSTR, destinationschemeguid: *mut *mut ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PowerIsSettingRangeDefined(subkeyguid: *const ::windows_sys::core::GUID, settingguid: *const ::windows_sys::core::GUID) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn PowerOpenSystemPowerKey(phsystempowerkey: *mut super::Registry::HKEY, access: u32, openexisting: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn PowerOpenUserPowerKey(phuserpowerkey: *mut super::Registry::HKEY, access: u32, openexisting: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerReadACDefaultIndex(rootpowerkey: super::Registry::HKEY, schemepersonalityguid: *const ::windows_sys::core::GUID, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, acdefaultindex: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerReadACValue(rootpowerkey: super::Registry::HKEY, schemeguid: *const ::windows_sys::core::GUID, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, r#type: *mut u32, buffer: *mut u8, buffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerReadACValueIndex(rootpowerkey: super::Registry::HKEY, schemeguid: *const ::windows_sys::core::GUID, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, acvalueindex: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerReadDCDefaultIndex(rootpowerkey: super::Registry::HKEY, schemepersonalityguid: *const ::windows_sys::core::GUID, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, dcdefaultindex: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerReadDCValue(rootpowerkey: super::Registry::HKEY, schemeguid: *const ::windows_sys::core::GUID, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, r#type: *mut u32, buffer: *mut u8, buffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerReadDCValueIndex(rootpowerkey: super::Registry::HKEY, schemeguid: *const ::windows_sys::core::GUID, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, dcvalueindex: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerReadDescription(rootpowerkey: super::Registry::HKEY, schemeguid: *const ::windows_sys::core::GUID, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, buffer: *mut u8, buffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerReadFriendlyName(rootpowerkey: super::Registry::HKEY, schemeguid: *const ::windows_sys::core::GUID, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, buffer: *mut u8, buffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerReadIconResourceSpecifier(rootpowerkey: super::Registry::HKEY, schemeguid: *const ::windows_sys::core::GUID, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, buffer: *mut u8, buffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerReadPossibleDescription(rootpowerkey: super::Registry::HKEY, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, possiblesettingindex: u32, buffer: *mut u8, buffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerReadPossibleFriendlyName(rootpowerkey: super::Registry::HKEY, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, possiblesettingindex: u32, buffer: *mut u8, buffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerReadPossibleValue(rootpowerkey: super::Registry::HKEY, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, r#type: *mut u32, possiblesettingindex: u32, buffer: *mut u8, buffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`*"] pub fn PowerReadSettingAttributes(subgroupguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerReadValueIncrement(rootpowerkey: super::Registry::HKEY, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, valueincrement: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerReadValueMax(rootpowerkey: super::Registry::HKEY, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, valuemaximum: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerReadValueMin(rootpowerkey: super::Registry::HKEY, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, valueminimum: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerReadValueUnitsSpecifier(rootpowerkey: super::Registry::HKEY, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, buffer: *mut u8, buffersize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`*"] pub fn PowerRegisterForEffectivePowerModeNotifications(version: u32, callback: EFFECTIVE_POWER_MODE_CALLBACK, context: *const ::core::ffi::c_void, registrationhandle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PowerRegisterSuspendResumeNotification(flags: u32, recipient: super::super::Foundation::HANDLE, registrationhandle: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`*"] pub fn PowerRemovePowerSetting(powersettingsubkeyguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`*"] pub fn PowerReplaceDefaultPowerSchemes() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`*"] pub fn PowerReportThermalEvent(event: *const THERMAL_EVENT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`*"] pub fn PowerRestoreDefaultPowerSchemes() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`*"] pub fn PowerRestoreIndividualDefaultPowerScheme(schemeguid: *const ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerSetActiveScheme(userrootpowerkey: super::Registry::HKEY, schemeguid: *const ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PowerSetRequest(powerrequest: super::super::Foundation::HANDLE, requesttype: POWER_REQUEST_TYPE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`*"] pub fn PowerSettingAccessCheck(accessflags: POWER_DATA_ACCESSOR, powerguid: *const ::windows_sys::core::GUID) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerSettingAccessCheckEx(accessflags: POWER_DATA_ACCESSOR, powerguid: *const ::windows_sys::core::GUID, accesstype: super::Registry::REG_SAM_FLAGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PowerSettingRegisterNotification(settingguid: *const ::windows_sys::core::GUID, flags: POWER_SETTING_REGISTER_NOTIFICATION_FLAGS, recipient: super::super::Foundation::HANDLE, registrationhandle: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`*"] pub fn PowerSettingUnregisterNotification(registrationhandle: HPOWERNOTIFY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`*"] pub fn PowerUnregisterFromEffectivePowerModeNotifications(registrationhandle: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`*"] pub fn PowerUnregisterSuspendResumeNotification(registrationhandle: HPOWERNOTIFY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerWriteACDefaultIndex(rootsystempowerkey: super::Registry::HKEY, schemepersonalityguid: *const ::windows_sys::core::GUID, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, defaultacindex: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerWriteACValueIndex(rootpowerkey: super::Registry::HKEY, schemeguid: *const ::windows_sys::core::GUID, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, acvalueindex: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerWriteDCDefaultIndex(rootsystempowerkey: super::Registry::HKEY, schemepersonalityguid: *const ::windows_sys::core::GUID, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, defaultdcindex: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerWriteDCValueIndex(rootpowerkey: super::Registry::HKEY, schemeguid: *const ::windows_sys::core::GUID, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, dcvalueindex: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerWriteDescription(rootpowerkey: super::Registry::HKEY, schemeguid: *const ::windows_sys::core::GUID, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, buffer: *const u8, buffersize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerWriteFriendlyName(rootpowerkey: super::Registry::HKEY, schemeguid: *const ::windows_sys::core::GUID, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, buffer: *const u8, buffersize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerWriteIconResourceSpecifier(rootpowerkey: super::Registry::HKEY, schemeguid: *const ::windows_sys::core::GUID, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, buffer: *const u8, buffersize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerWritePossibleDescription(rootpowerkey: super::Registry::HKEY, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, possiblesettingindex: u32, buffer: *const u8, buffersize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerWritePossibleFriendlyName(rootpowerkey: super::Registry::HKEY, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, possiblesettingindex: u32, buffer: *const u8, buffersize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerWritePossibleValue(rootpowerkey: super::Registry::HKEY, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, r#type: u32, possiblesettingindex: u32, buffer: *const u8, buffersize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`*"] pub fn PowerWriteSettingAttributes(subgroupguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, attributes: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerWriteValueIncrement(rootpowerkey: super::Registry::HKEY, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, valueincrement: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerWriteValueMax(rootpowerkey: super::Registry::HKEY, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, valuemaximum: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerWriteValueMin(rootpowerkey: super::Registry::HKEY, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, valueminimum: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn PowerWriteValueUnitsSpecifier(rootpowerkey: super::Registry::HKEY, subgroupofpowersettingsguid: *const ::windows_sys::core::GUID, powersettingguid: *const ::windows_sys::core::GUID, buffer: *const u8, buffersize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadGlobalPwrPolicy(pglobalpowerpolicy: *const GLOBAL_POWER_POLICY) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadProcessorPwrScheme(uiid: u32, pmachineprocessorpowerpolicy: *mut MACHINE_PROCESSOR_POWER_POLICY) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadPwrScheme(uiid: u32, ppowerpolicy: *mut POWER_POLICY) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterPowerSettingNotification(hrecipient: super::super::Foundation::HANDLE, powersettingguid: *const ::windows_sys::core::GUID, flags: u32) -> HPOWERNOTIFY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterSuspendResumeNotification(hrecipient: super::super::Foundation::HANDLE, flags: u32) -> HPOWERNOTIFY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RequestWakeupLatency(latency: LATENCY_TIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetActivePwrScheme(uiid: u32, pglobalpowerpolicy: *const GLOBAL_POWER_POLICY, ppowerpolicy: *const POWER_POLICY) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetSuspendState(bhibernate: super::super::Foundation::BOOLEAN, bforce: super::super::Foundation::BOOLEAN, bwakeupeventsdisabled: super::super::Foundation::BOOLEAN) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetSystemPowerState(fsuspend: super::super::Foundation::BOOL, fforce: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`*"] pub fn SetThreadExecutionState(esflags: EXECUTION_STATE) -> EXECUTION_STATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnregisterPowerSettingNotification(handle: HPOWERNOTIFY) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnregisterSuspendResumeNotification(handle: HPOWERNOTIFY) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ValidatePowerPolicies(pglobalpowerpolicy: *mut GLOBAL_POWER_POLICY, ppowerpolicy: *mut POWER_POLICY) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WriteGlobalPwrPolicy(pglobalpowerpolicy: *const GLOBAL_POWER_POLICY) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WriteProcessorPwrScheme(uiid: u32, pmachineprocessorpowerpolicy: *const MACHINE_PROCESSOR_POWER_POLICY) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WritePwrScheme(puiid: *const u32, lpszschemename: ::windows_sys::core::PCWSTR, lpszdescription: ::windows_sys::core::PCWSTR, lpscheme: *const POWER_POLICY) -> super::super::Foundation::BOOLEAN; diff --git a/crates/libs/sys/src/Windows/Win32/System/ProcessStatus/mod.rs b/crates/libs/sys/src/Windows/Win32/System/ProcessStatus/mod.rs index 5a0b60fca1..3601219cb2 100644 --- a/crates/libs/sys/src/Windows/Win32/System/ProcessStatus/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/ProcessStatus/mod.rs @@ -3,77 +3,155 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32EmptyWorkingSet(hprocess: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32EnumDeviceDrivers(lpimagebase: *mut *mut ::core::ffi::c_void, cb: u32, lpcbneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32EnumPageFilesA(pcallbackroutine: PENUM_PAGE_FILE_CALLBACKA, pcontext: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32EnumPageFilesW(pcallbackroutine: PENUM_PAGE_FILE_CALLBACKW, pcontext: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32EnumProcessModules(hprocess: super::super::Foundation::HANDLE, lphmodule: *mut super::super::Foundation::HINSTANCE, cb: u32, lpcbneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32EnumProcessModulesEx(hprocess: super::super::Foundation::HANDLE, lphmodule: *mut super::super::Foundation::HINSTANCE, cb: u32, lpcbneeded: *mut u32, dwfilterflag: ENUM_PROCESS_MODULES_EX_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32EnumProcesses(lpidprocess: *mut u32, cb: u32, lpcbneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`*"] pub fn K32GetDeviceDriverBaseNameA(imagebase: *const ::core::ffi::c_void, lpfilename: ::windows_sys::core::PSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`*"] pub fn K32GetDeviceDriverBaseNameW(imagebase: *const ::core::ffi::c_void, lpbasename: ::windows_sys::core::PWSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`*"] pub fn K32GetDeviceDriverFileNameA(imagebase: *const ::core::ffi::c_void, lpfilename: ::windows_sys::core::PSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`*"] pub fn K32GetDeviceDriverFileNameW(imagebase: *const ::core::ffi::c_void, lpfilename: ::windows_sys::core::PWSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32GetMappedFileNameA(hprocess: super::super::Foundation::HANDLE, lpv: *const ::core::ffi::c_void, lpfilename: ::windows_sys::core::PSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32GetMappedFileNameW(hprocess: super::super::Foundation::HANDLE, lpv: *const ::core::ffi::c_void, lpfilename: ::windows_sys::core::PWSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32GetModuleBaseNameA(hprocess: super::super::Foundation::HANDLE, hmodule: super::super::Foundation::HINSTANCE, lpbasename: ::windows_sys::core::PSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32GetModuleBaseNameW(hprocess: super::super::Foundation::HANDLE, hmodule: super::super::Foundation::HINSTANCE, lpbasename: ::windows_sys::core::PWSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32GetModuleFileNameExA(hprocess: super::super::Foundation::HANDLE, hmodule: super::super::Foundation::HINSTANCE, lpfilename: ::windows_sys::core::PSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32GetModuleFileNameExW(hprocess: super::super::Foundation::HANDLE, hmodule: super::super::Foundation::HINSTANCE, lpfilename: ::windows_sys::core::PWSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32GetModuleInformation(hprocess: super::super::Foundation::HANDLE, hmodule: super::super::Foundation::HINSTANCE, lpmodinfo: *mut MODULEINFO, cb: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32GetPerformanceInfo(pperformanceinformation: *mut PERFORMANCE_INFORMATION, cb: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32GetProcessImageFileNameA(hprocess: super::super::Foundation::HANDLE, lpimagefilename: ::windows_sys::core::PSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32GetProcessImageFileNameW(hprocess: super::super::Foundation::HANDLE, lpimagefilename: ::windows_sys::core::PWSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32GetProcessMemoryInfo(process: super::super::Foundation::HANDLE, ppsmemcounters: *mut PROCESS_MEMORY_COUNTERS, cb: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32GetWsChanges(hprocess: super::super::Foundation::HANDLE, lpwatchinfo: *mut PSAPI_WS_WATCH_INFORMATION, cb: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32GetWsChangesEx(hprocess: super::super::Foundation::HANDLE, lpwatchinfoex: *mut PSAPI_WS_WATCH_INFORMATION_EX, cb: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32InitializeProcessForWsWatch(hprocess: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32QueryWorkingSet(hprocess: super::super::Foundation::HANDLE, pv: *mut ::core::ffi::c_void, cb: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn K32QueryWorkingSetEx(hprocess: super::super::Foundation::HANDLE, pv: *mut ::core::ffi::c_void, cb: u32) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/Recovery/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Recovery/mod.rs index 71320084d2..6acab5b46f 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Recovery/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Recovery/mod.rs @@ -3,22 +3,43 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Recovery\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ApplicationRecoveryFinished(bsuccess: super::super::Foundation::BOOL); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Recovery\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ApplicationRecoveryInProgress(pbcancelled: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Recovery\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] pub fn GetApplicationRecoveryCallback(hprocess: super::super::Foundation::HANDLE, precoverycallback: *mut super::WindowsProgramming::APPLICATION_RECOVERY_CALLBACK, ppvparameter: *mut *mut ::core::ffi::c_void, pdwpinginterval: *mut u32, pdwflags: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Recovery\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetApplicationRestartSettings(hprocess: super::super::Foundation::HANDLE, pwzcommandline: ::windows_sys::core::PWSTR, pcchsize: *mut u32, pdwflags: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Recovery\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(feature = "Win32_System_WindowsProgramming")] pub fn RegisterApplicationRecoveryCallback(precoveycallback: super::WindowsProgramming::APPLICATION_RECOVERY_CALLBACK, pvparameter: *const ::core::ffi::c_void, dwpinginterval: u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Recovery\"`*"] pub fn RegisterApplicationRestart(pwzcommandline: ::windows_sys::core::PCWSTR, dwflags: REGISTER_APPLICATION_RESTART_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Recovery\"`*"] pub fn UnregisterApplicationRecoveryCallback() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Recovery\"`*"] pub fn UnregisterApplicationRestart() -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/System/Registry/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Registry/mod.rs index 1fcfe1a385..7a13bdc080 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Registry/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Registry/mod.rs @@ -3,247 +3,493 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetRegistryValueWithFallbackW(hkeyprimary: HKEY, pwszprimarysubkey: ::windows_sys::core::PCWSTR, hkeyfallback: HKEY, pwszfallbacksubkey: ::windows_sys::core::PCWSTR, pwszvalue: ::windows_sys::core::PCWSTR, dwflags: u32, pdwtype: *mut u32, pvdata: *mut ::core::ffi::c_void, cbdatain: u32, pcbdataout: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegCloseKey(hkey: HKEY) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegConnectRegistryA(lpmachinename: ::windows_sys::core::PCSTR, hkey: HKEY, phkresult: *mut HKEY) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`*"] pub fn RegConnectRegistryExA(lpmachinename: ::windows_sys::core::PCSTR, hkey: HKEY, flags: u32, phkresult: *mut HKEY) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`*"] pub fn RegConnectRegistryExW(lpmachinename: ::windows_sys::core::PCWSTR, hkey: HKEY, flags: u32, phkresult: *mut HKEY) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegConnectRegistryW(lpmachinename: ::windows_sys::core::PCWSTR, hkey: HKEY, phkresult: *mut HKEY) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegCopyTreeA(hkeysrc: HKEY, lpsubkey: ::windows_sys::core::PCSTR, hkeydest: HKEY) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegCopyTreeW(hkeysrc: HKEY, lpsubkey: ::windows_sys::core::PCWSTR, hkeydest: HKEY) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegCreateKeyA(hkey: HKEY, lpsubkey: ::windows_sys::core::PCSTR, phkresult: *mut HKEY) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn RegCreateKeyExA(hkey: HKEY, lpsubkey: ::windows_sys::core::PCSTR, reserved: u32, lpclass: ::windows_sys::core::PCSTR, dwoptions: REG_OPEN_CREATE_OPTIONS, samdesired: REG_SAM_FLAGS, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, phkresult: *mut HKEY, lpdwdisposition: *mut REG_CREATE_KEY_DISPOSITION) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn RegCreateKeyExW(hkey: HKEY, lpsubkey: ::windows_sys::core::PCWSTR, reserved: u32, lpclass: ::windows_sys::core::PCWSTR, dwoptions: REG_OPEN_CREATE_OPTIONS, samdesired: REG_SAM_FLAGS, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, phkresult: *mut HKEY, lpdwdisposition: *mut REG_CREATE_KEY_DISPOSITION) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn RegCreateKeyTransactedA(hkey: HKEY, lpsubkey: ::windows_sys::core::PCSTR, reserved: u32, lpclass: ::windows_sys::core::PCSTR, dwoptions: REG_OPEN_CREATE_OPTIONS, samdesired: REG_SAM_FLAGS, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, phkresult: *mut HKEY, lpdwdisposition: *mut REG_CREATE_KEY_DISPOSITION, htransaction: super::super::Foundation::HANDLE, pextendedparemeter: *mut ::core::ffi::c_void) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn RegCreateKeyTransactedW(hkey: HKEY, lpsubkey: ::windows_sys::core::PCWSTR, reserved: u32, lpclass: ::windows_sys::core::PCWSTR, dwoptions: REG_OPEN_CREATE_OPTIONS, samdesired: REG_SAM_FLAGS, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, phkresult: *mut HKEY, lpdwdisposition: *mut REG_CREATE_KEY_DISPOSITION, htransaction: super::super::Foundation::HANDLE, pextendedparemeter: *mut ::core::ffi::c_void) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegCreateKeyW(hkey: HKEY, lpsubkey: ::windows_sys::core::PCWSTR, phkresult: *mut HKEY) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegDeleteKeyA(hkey: HKEY, lpsubkey: ::windows_sys::core::PCSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegDeleteKeyExA(hkey: HKEY, lpsubkey: ::windows_sys::core::PCSTR, samdesired: u32, reserved: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegDeleteKeyExW(hkey: HKEY, lpsubkey: ::windows_sys::core::PCWSTR, samdesired: u32, reserved: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegDeleteKeyTransactedA(hkey: HKEY, lpsubkey: ::windows_sys::core::PCSTR, samdesired: u32, reserved: u32, htransaction: super::super::Foundation::HANDLE, pextendedparameter: *mut ::core::ffi::c_void) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegDeleteKeyTransactedW(hkey: HKEY, lpsubkey: ::windows_sys::core::PCWSTR, samdesired: u32, reserved: u32, htransaction: super::super::Foundation::HANDLE, pextendedparameter: *mut ::core::ffi::c_void) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegDeleteKeyValueA(hkey: HKEY, lpsubkey: ::windows_sys::core::PCSTR, lpvaluename: ::windows_sys::core::PCSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegDeleteKeyValueW(hkey: HKEY, lpsubkey: ::windows_sys::core::PCWSTR, lpvaluename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegDeleteKeyW(hkey: HKEY, lpsubkey: ::windows_sys::core::PCWSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegDeleteTreeA(hkey: HKEY, lpsubkey: ::windows_sys::core::PCSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegDeleteTreeW(hkey: HKEY, lpsubkey: ::windows_sys::core::PCWSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegDeleteValueA(hkey: HKEY, lpvaluename: ::windows_sys::core::PCSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegDeleteValueW(hkey: HKEY, lpvaluename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegDisablePredefinedCache() -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegDisablePredefinedCacheEx() -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegDisableReflectionKey(hbase: HKEY) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegEnableReflectionKey(hbase: HKEY) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegEnumKeyA(hkey: HKEY, dwindex: u32, lpname: ::windows_sys::core::PSTR, cchname: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegEnumKeyExA(hkey: HKEY, dwindex: u32, lpname: ::windows_sys::core::PSTR, lpcchname: *mut u32, lpreserved: *mut u32, lpclass: ::windows_sys::core::PSTR, lpcchclass: *mut u32, lpftlastwritetime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegEnumKeyExW(hkey: HKEY, dwindex: u32, lpname: ::windows_sys::core::PWSTR, lpcchname: *mut u32, lpreserved: *mut u32, lpclass: ::windows_sys::core::PWSTR, lpcchclass: *mut u32, lpftlastwritetime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegEnumKeyW(hkey: HKEY, dwindex: u32, lpname: ::windows_sys::core::PWSTR, cchname: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegEnumValueA(hkey: HKEY, dwindex: u32, lpvaluename: ::windows_sys::core::PSTR, lpcchvaluename: *mut u32, lpreserved: *mut u32, lptype: *mut u32, lpdata: *mut u8, lpcbdata: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegEnumValueW(hkey: HKEY, dwindex: u32, lpvaluename: ::windows_sys::core::PWSTR, lpcchvaluename: *mut u32, lpreserved: *mut u32, lptype: *mut u32, lpdata: *mut u8, lpcbdata: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegFlushKey(hkey: HKEY) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn RegGetKeySecurity(hkey: HKEY, securityinformation: u32, psecuritydescriptor: super::super::Security::PSECURITY_DESCRIPTOR, lpcbsecuritydescriptor: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegGetValueA(hkey: HKEY, lpsubkey: ::windows_sys::core::PCSTR, lpvalue: ::windows_sys::core::PCSTR, dwflags: RRF_RT, pdwtype: *mut u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegGetValueW(hkey: HKEY, lpsubkey: ::windows_sys::core::PCWSTR, lpvalue: ::windows_sys::core::PCWSTR, dwflags: RRF_RT, pdwtype: *mut u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegLoadAppKeyA(lpfile: ::windows_sys::core::PCSTR, phkresult: *mut HKEY, samdesired: u32, dwoptions: u32, reserved: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegLoadAppKeyW(lpfile: ::windows_sys::core::PCWSTR, phkresult: *mut HKEY, samdesired: u32, dwoptions: u32, reserved: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegLoadKeyA(hkey: HKEY, lpsubkey: ::windows_sys::core::PCSTR, lpfile: ::windows_sys::core::PCSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegLoadKeyW(hkey: HKEY, lpsubkey: ::windows_sys::core::PCWSTR, lpfile: ::windows_sys::core::PCWSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegLoadMUIStringA(hkey: HKEY, pszvalue: ::windows_sys::core::PCSTR, pszoutbuf: ::windows_sys::core::PSTR, cboutbuf: u32, pcbdata: *mut u32, flags: u32, pszdirectory: ::windows_sys::core::PCSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegLoadMUIStringW(hkey: HKEY, pszvalue: ::windows_sys::core::PCWSTR, pszoutbuf: ::windows_sys::core::PWSTR, cboutbuf: u32, pcbdata: *mut u32, flags: u32, pszdirectory: ::windows_sys::core::PCWSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegNotifyChangeKeyValue(hkey: HKEY, bwatchsubtree: super::super::Foundation::BOOL, dwnotifyfilter: REG_NOTIFY_FILTER, hevent: super::super::Foundation::HANDLE, fasynchronous: super::super::Foundation::BOOL) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegOpenCurrentUser(samdesired: u32, phkresult: *mut HKEY) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegOpenKeyA(hkey: HKEY, lpsubkey: ::windows_sys::core::PCSTR, phkresult: *mut HKEY) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegOpenKeyExA(hkey: HKEY, lpsubkey: ::windows_sys::core::PCSTR, uloptions: u32, samdesired: REG_SAM_FLAGS, phkresult: *mut HKEY) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegOpenKeyExW(hkey: HKEY, lpsubkey: ::windows_sys::core::PCWSTR, uloptions: u32, samdesired: REG_SAM_FLAGS, phkresult: *mut HKEY) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegOpenKeyTransactedA(hkey: HKEY, lpsubkey: ::windows_sys::core::PCSTR, uloptions: u32, samdesired: REG_SAM_FLAGS, phkresult: *mut HKEY, htransaction: super::super::Foundation::HANDLE, pextendedparemeter: *mut ::core::ffi::c_void) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegOpenKeyTransactedW(hkey: HKEY, lpsubkey: ::windows_sys::core::PCWSTR, uloptions: u32, samdesired: REG_SAM_FLAGS, phkresult: *mut HKEY, htransaction: super::super::Foundation::HANDLE, pextendedparemeter: *mut ::core::ffi::c_void) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegOpenKeyW(hkey: HKEY, lpsubkey: ::windows_sys::core::PCWSTR, phkresult: *mut HKEY) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegOpenUserClassesRoot(htoken: super::super::Foundation::HANDLE, dwoptions: u32, samdesired: u32, phkresult: *mut HKEY) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegOverridePredefKey(hkey: HKEY, hnewhkey: HKEY) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegQueryInfoKeyA(hkey: HKEY, lpclass: ::windows_sys::core::PSTR, lpcchclass: *mut u32, lpreserved: *mut u32, lpcsubkeys: *mut u32, lpcbmaxsubkeylen: *mut u32, lpcbmaxclasslen: *mut u32, lpcvalues: *mut u32, lpcbmaxvaluenamelen: *mut u32, lpcbmaxvaluelen: *mut u32, lpcbsecuritydescriptor: *mut u32, lpftlastwritetime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegQueryInfoKeyW(hkey: HKEY, lpclass: ::windows_sys::core::PWSTR, lpcchclass: *mut u32, lpreserved: *mut u32, lpcsubkeys: *mut u32, lpcbmaxsubkeylen: *mut u32, lpcbmaxclasslen: *mut u32, lpcvalues: *mut u32, lpcbmaxvaluenamelen: *mut u32, lpcbmaxvaluelen: *mut u32, lpcbsecuritydescriptor: *mut u32, lpftlastwritetime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegQueryMultipleValuesA(hkey: HKEY, val_list: *mut VALENTA, num_vals: u32, lpvaluebuf: ::windows_sys::core::PSTR, ldwtotsize: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegQueryMultipleValuesW(hkey: HKEY, val_list: *mut VALENTW, num_vals: u32, lpvaluebuf: ::windows_sys::core::PWSTR, ldwtotsize: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegQueryReflectionKey(hbase: HKEY, bisreflectiondisabled: *mut super::super::Foundation::BOOL) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegQueryValueA(hkey: HKEY, lpsubkey: ::windows_sys::core::PCSTR, lpdata: ::windows_sys::core::PSTR, lpcbdata: *mut i32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegQueryValueExA(hkey: HKEY, lpvaluename: ::windows_sys::core::PCSTR, lpreserved: *mut u32, lptype: *mut REG_VALUE_TYPE, lpdata: *mut u8, lpcbdata: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegQueryValueExW(hkey: HKEY, lpvaluename: ::windows_sys::core::PCWSTR, lpreserved: *mut u32, lptype: *mut REG_VALUE_TYPE, lpdata: *mut u8, lpcbdata: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegQueryValueW(hkey: HKEY, lpsubkey: ::windows_sys::core::PCWSTR, lpdata: ::windows_sys::core::PWSTR, lpcbdata: *mut i32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegRenameKey(hkey: HKEY, lpsubkeyname: ::windows_sys::core::PCWSTR, lpnewkeyname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegReplaceKeyA(hkey: HKEY, lpsubkey: ::windows_sys::core::PCSTR, lpnewfile: ::windows_sys::core::PCSTR, lpoldfile: ::windows_sys::core::PCSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegReplaceKeyW(hkey: HKEY, lpsubkey: ::windows_sys::core::PCWSTR, lpnewfile: ::windows_sys::core::PCWSTR, lpoldfile: ::windows_sys::core::PCWSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegRestoreKeyA(hkey: HKEY, lpfile: ::windows_sys::core::PCSTR, dwflags: REG_RESTORE_KEY_FLAGS) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegRestoreKeyW(hkey: HKEY, lpfile: ::windows_sys::core::PCWSTR, dwflags: REG_RESTORE_KEY_FLAGS) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn RegSaveKeyA(hkey: HKEY, lpfile: ::windows_sys::core::PCSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn RegSaveKeyExA(hkey: HKEY, lpfile: ::windows_sys::core::PCSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, flags: REG_SAVE_FORMAT) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn RegSaveKeyExW(hkey: HKEY, lpfile: ::windows_sys::core::PCWSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, flags: REG_SAVE_FORMAT) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn RegSaveKeyW(hkey: HKEY, lpfile: ::windows_sys::core::PCWSTR, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn RegSetKeySecurity(hkey: HKEY, securityinformation: u32, psecuritydescriptor: super::super::Security::PSECURITY_DESCRIPTOR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegSetKeyValueA(hkey: HKEY, lpsubkey: ::windows_sys::core::PCSTR, lpvaluename: ::windows_sys::core::PCSTR, dwtype: u32, lpdata: *const ::core::ffi::c_void, cbdata: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegSetKeyValueW(hkey: HKEY, lpsubkey: ::windows_sys::core::PCWSTR, lpvaluename: ::windows_sys::core::PCWSTR, dwtype: u32, lpdata: *const ::core::ffi::c_void, cbdata: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegSetValueA(hkey: HKEY, lpsubkey: ::windows_sys::core::PCSTR, dwtype: REG_VALUE_TYPE, lpdata: ::windows_sys::core::PCSTR, cbdata: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegSetValueExA(hkey: HKEY, lpvaluename: ::windows_sys::core::PCSTR, reserved: u32, dwtype: REG_VALUE_TYPE, lpdata: *const u8, cbdata: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegSetValueExW(hkey: HKEY, lpvaluename: ::windows_sys::core::PCWSTR, reserved: u32, dwtype: REG_VALUE_TYPE, lpdata: *const u8, cbdata: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegSetValueW(hkey: HKEY, lpsubkey: ::windows_sys::core::PCWSTR, dwtype: REG_VALUE_TYPE, lpdata: ::windows_sys::core::PCWSTR, cbdata: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegUnLoadKeyA(hkey: HKEY, lpsubkey: ::windows_sys::core::PCSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegUnLoadKeyW(hkey: HKEY, lpsubkey: ::windows_sys::core::PCWSTR) -> super::super::Foundation::WIN32_ERROR; diff --git a/crates/libs/sys/src/Windows/Win32/System/RemoteDesktop/mod.rs b/crates/libs/sys/src/Windows/Win32/System/RemoteDesktop/mod.rs index ad6c5eecc4..ecff1762ca 100644 --- a/crates/libs/sys/src/Windows/Win32/System/RemoteDesktop/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/RemoteDesktop/mod.rs @@ -3,192 +3,384 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ProcessIdToSessionId(dwprocessid: u32, psessionid: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSCloseServer(hserver: super::super::Foundation::HANDLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSConnectSessionA(logonid: u32, targetlogonid: u32, ppassword: ::windows_sys::core::PCSTR, bwait: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSConnectSessionW(logonid: u32, targetlogonid: u32, ppassword: ::windows_sys::core::PCWSTR, bwait: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSCreateListenerA(hserver: super::super::Foundation::HANDLE, preserved: *const ::core::ffi::c_void, reserved: u32, plistenername: ::windows_sys::core::PCSTR, pbuffer: *const WTSLISTENERCONFIGA, flag: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSCreateListenerW(hserver: super::super::Foundation::HANDLE, preserved: *const ::core::ffi::c_void, reserved: u32, plistenername: ::windows_sys::core::PCWSTR, pbuffer: *const WTSLISTENERCONFIGW, flag: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSDisconnectSession(hserver: super::super::Foundation::HANDLE, sessionid: u32, bwait: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSEnableChildSessions(benable: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSEnumerateListenersA(hserver: super::super::Foundation::HANDLE, preserved: *const ::core::ffi::c_void, reserved: u32, plisteners: *mut *mut i8, pcount: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSEnumerateListenersW(hserver: super::super::Foundation::HANDLE, preserved: *const ::core::ffi::c_void, reserved: u32, plisteners: *mut *mut u16, pcount: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSEnumerateProcessesA(hserver: super::super::Foundation::HANDLE, reserved: u32, version: u32, ppprocessinfo: *mut *mut WTS_PROCESS_INFOA, pcount: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSEnumerateProcessesExA(hserver: super::super::Foundation::HANDLE, plevel: *mut u32, sessionid: u32, ppprocessinfo: *mut ::windows_sys::core::PSTR, pcount: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSEnumerateProcessesExW(hserver: super::super::Foundation::HANDLE, plevel: *mut u32, sessionid: u32, ppprocessinfo: *mut ::windows_sys::core::PWSTR, pcount: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSEnumerateProcessesW(hserver: super::super::Foundation::HANDLE, reserved: u32, version: u32, ppprocessinfo: *mut *mut WTS_PROCESS_INFOW, pcount: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSEnumerateServersA(pdomainname: ::windows_sys::core::PCSTR, reserved: u32, version: u32, ppserverinfo: *mut *mut WTS_SERVER_INFOA, pcount: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSEnumerateServersW(pdomainname: ::windows_sys::core::PCWSTR, reserved: u32, version: u32, ppserverinfo: *mut *mut WTS_SERVER_INFOW, pcount: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSEnumerateSessionsA(hserver: super::super::Foundation::HANDLE, reserved: u32, version: u32, ppsessioninfo: *mut *mut WTS_SESSION_INFOA, pcount: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSEnumerateSessionsExA(hserver: super::super::Foundation::HANDLE, plevel: *mut u32, filter: u32, ppsessioninfo: *mut *mut WTS_SESSION_INFO_1A, pcount: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSEnumerateSessionsExW(hserver: super::super::Foundation::HANDLE, plevel: *mut u32, filter: u32, ppsessioninfo: *mut *mut WTS_SESSION_INFO_1W, pcount: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSEnumerateSessionsW(hserver: super::super::Foundation::HANDLE, reserved: u32, version: u32, ppsessioninfo: *mut *mut WTS_SESSION_INFOW, pcount: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] pub fn WTSFreeMemory(pmemory: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSFreeMemoryExA(wtstypeclass: WTS_TYPE_CLASS, pmemory: *const ::core::ffi::c_void, numberofentries: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSFreeMemoryExW(wtstypeclass: WTS_TYPE_CLASS, pmemory: *const ::core::ffi::c_void, numberofentries: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] pub fn WTSGetActiveConsoleSessionId() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSGetChildSessionId(psessionid: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn WTSGetListenerSecurityA(hserver: super::super::Foundation::HANDLE, preserved: *const ::core::ffi::c_void, reserved: u32, plistenername: ::windows_sys::core::PCSTR, securityinformation: u32, psecuritydescriptor: super::super::Security::PSECURITY_DESCRIPTOR, nlength: u32, lpnlengthneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn WTSGetListenerSecurityW(hserver: super::super::Foundation::HANDLE, preserved: *const ::core::ffi::c_void, reserved: u32, plistenername: ::windows_sys::core::PCWSTR, securityinformation: u32, psecuritydescriptor: super::super::Security::PSECURITY_DESCRIPTOR, nlength: u32, lpnlengthneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSIsChildSessionsEnabled(pbenabled: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSLogoffSession(hserver: super::super::Foundation::HANDLE, sessionid: u32, bwait: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSOpenServerA(pservername: ::windows_sys::core::PCSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSOpenServerExA(pservername: ::windows_sys::core::PCSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSOpenServerExW(pservername: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSOpenServerW(pservername: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSQueryListenerConfigA(hserver: super::super::Foundation::HANDLE, preserved: *const ::core::ffi::c_void, reserved: u32, plistenername: ::windows_sys::core::PCSTR, pbuffer: *mut WTSLISTENERCONFIGA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSQueryListenerConfigW(hserver: super::super::Foundation::HANDLE, preserved: *const ::core::ffi::c_void, reserved: u32, plistenername: ::windows_sys::core::PCWSTR, pbuffer: *mut WTSLISTENERCONFIGW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSQuerySessionInformationA(hserver: super::super::Foundation::HANDLE, sessionid: u32, wtsinfoclass: WTS_INFO_CLASS, ppbuffer: *mut ::windows_sys::core::PSTR, pbytesreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSQuerySessionInformationW(hserver: super::super::Foundation::HANDLE, sessionid: u32, wtsinfoclass: WTS_INFO_CLASS, ppbuffer: *mut ::windows_sys::core::PWSTR, pbytesreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSQueryUserConfigA(pservername: ::windows_sys::core::PCSTR, pusername: ::windows_sys::core::PCSTR, wtsconfigclass: WTS_CONFIG_CLASS, ppbuffer: *mut ::windows_sys::core::PSTR, pbytesreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSQueryUserConfigW(pservername: ::windows_sys::core::PCWSTR, pusername: ::windows_sys::core::PCWSTR, wtsconfigclass: WTS_CONFIG_CLASS, ppbuffer: *mut ::windows_sys::core::PWSTR, pbytesreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSQueryUserToken(sessionid: u32, phtoken: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSRegisterSessionNotification(hwnd: super::super::Foundation::HWND, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSRegisterSessionNotificationEx(hserver: super::super::Foundation::HANDLE, hwnd: super::super::Foundation::HWND, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn WTSSendMessageA(hserver: super::super::Foundation::HANDLE, sessionid: u32, ptitle: ::windows_sys::core::PCSTR, titlelength: u32, pmessage: ::windows_sys::core::PCSTR, messagelength: u32, style: super::super::UI::WindowsAndMessaging::MESSAGEBOX_STYLE, timeout: u32, presponse: *mut super::super::UI::WindowsAndMessaging::MESSAGEBOX_RESULT, bwait: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn WTSSendMessageW(hserver: super::super::Foundation::HANDLE, sessionid: u32, ptitle: ::windows_sys::core::PCWSTR, titlelength: u32, pmessage: ::windows_sys::core::PCWSTR, messagelength: u32, style: super::super::UI::WindowsAndMessaging::MESSAGEBOX_STYLE, timeout: u32, presponse: *mut super::super::UI::WindowsAndMessaging::MESSAGEBOX_RESULT, bwait: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn WTSSetListenerSecurityA(hserver: super::super::Foundation::HANDLE, preserved: *const ::core::ffi::c_void, reserved: u32, plistenername: ::windows_sys::core::PCSTR, securityinformation: u32, psecuritydescriptor: super::super::Security::PSECURITY_DESCRIPTOR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn WTSSetListenerSecurityW(hserver: super::super::Foundation::HANDLE, preserved: *const ::core::ffi::c_void, reserved: u32, plistenername: ::windows_sys::core::PCWSTR, securityinformation: u32, psecuritydescriptor: super::super::Security::PSECURITY_DESCRIPTOR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSSetRenderHint(prenderhintid: *mut u64, hwndowner: super::super::Foundation::HWND, renderhinttype: u32, cbhintdatalength: u32, phintdata: *const u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSSetUserConfigA(pservername: ::windows_sys::core::PCSTR, pusername: ::windows_sys::core::PCSTR, wtsconfigclass: WTS_CONFIG_CLASS, pbuffer: ::windows_sys::core::PCSTR, datalength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSSetUserConfigW(pservername: ::windows_sys::core::PCWSTR, pusername: ::windows_sys::core::PCWSTR, wtsconfigclass: WTS_CONFIG_CLASS, pbuffer: ::windows_sys::core::PCWSTR, datalength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSShutdownSystem(hserver: super::super::Foundation::HANDLE, shutdownflag: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSStartRemoteControlSessionA(ptargetservername: ::windows_sys::core::PCSTR, targetlogonid: u32, hotkeyvk: u8, hotkeymodifiers: u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSStartRemoteControlSessionW(ptargetservername: ::windows_sys::core::PCWSTR, targetlogonid: u32, hotkeyvk: u8, hotkeymodifiers: u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSStopRemoteControlSession(logonid: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSTerminateProcess(hserver: super::super::Foundation::HANDLE, processid: u32, exitcode: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSUnRegisterSessionNotification(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSUnRegisterSessionNotificationEx(hserver: super::super::Foundation::HANDLE, hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSVirtualChannelClose(hchannelhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSVirtualChannelOpen(hserver: super::super::Foundation::HANDLE, sessionid: u32, pvirtualname: ::windows_sys::core::PCSTR) -> HwtsVirtualChannelHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] pub fn WTSVirtualChannelOpenEx(sessionid: u32, pvirtualname: ::windows_sys::core::PCSTR, flags: u32) -> HwtsVirtualChannelHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSVirtualChannelPurgeInput(hchannelhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSVirtualChannelPurgeOutput(hchannelhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSVirtualChannelQuery(hchannelhandle: super::super::Foundation::HANDLE, param1: WTS_VIRTUAL_CLASS, ppbuffer: *mut *mut ::core::ffi::c_void, pbytesreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSVirtualChannelRead(hchannelhandle: super::super::Foundation::HANDLE, timeout: u32, buffer: ::windows_sys::core::PSTR, buffersize: u32, pbytesread: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSVirtualChannelWrite(hchannelhandle: super::super::Foundation::HANDLE, buffer: ::windows_sys::core::PCSTR, length: u32, pbyteswritten: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WTSWaitSystemEvent(hserver: super::super::Foundation::HANDLE, eventmask: u32, peventflags: *mut u32) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/RemoteManagement/mod.rs b/crates/libs/sys/src/Windows/Win32/System/RemoteManagement/mod.rs index 077d632853..7b72184a2d 100644 --- a/crates/libs/sys/src/Windows/Win32/System/RemoteManagement/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/RemoteManagement/mod.rs @@ -2,83 +2,179 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] pub fn WSManCloseCommand(commandhandle: *mut WSMAN_COMMAND, flags: u32, r#async: *const WSMAN_SHELL_ASYNC); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] pub fn WSManCloseOperation(operationhandle: *mut WSMAN_OPERATION, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] pub fn WSManCloseSession(session: *mut WSMAN_SESSION, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] pub fn WSManCloseShell(shellhandle: *mut WSMAN_SHELL, flags: u32, r#async: *const WSMAN_SHELL_ASYNC); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSManConnectShell(session: *mut WSMAN_SESSION, flags: u32, resourceuri: ::windows_sys::core::PCWSTR, shellid: ::windows_sys::core::PCWSTR, options: *const WSMAN_OPTION_SET, connectxml: *const WSMAN_DATA, r#async: *const WSMAN_SHELL_ASYNC, shell: *mut *mut WSMAN_SHELL); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSManConnectShellCommand(shell: *mut WSMAN_SHELL, flags: u32, commandid: ::windows_sys::core::PCWSTR, options: *const WSMAN_OPTION_SET, connectxml: *const WSMAN_DATA, r#async: *const WSMAN_SHELL_ASYNC, command: *mut *mut WSMAN_COMMAND); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] pub fn WSManCreateSession(apihandle: *const WSMAN_API, connection: ::windows_sys::core::PCWSTR, flags: u32, serverauthenticationcredentials: *const WSMAN_AUTHENTICATION_CREDENTIALS, proxyinfo: *const WSMAN_PROXY_INFO, session: *mut *mut WSMAN_SESSION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSManCreateShell(session: *mut WSMAN_SESSION, flags: u32, resourceuri: ::windows_sys::core::PCWSTR, startupinfo: *const WSMAN_SHELL_STARTUP_INFO_V11, options: *const WSMAN_OPTION_SET, createxml: *const WSMAN_DATA, r#async: *const WSMAN_SHELL_ASYNC, shell: *mut *mut WSMAN_SHELL); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSManCreateShellEx(session: *mut WSMAN_SESSION, flags: u32, resourceuri: ::windows_sys::core::PCWSTR, shellid: ::windows_sys::core::PCWSTR, startupinfo: *const WSMAN_SHELL_STARTUP_INFO_V11, options: *const WSMAN_OPTION_SET, createxml: *const WSMAN_DATA, r#async: *const WSMAN_SHELL_ASYNC, shell: *mut *mut WSMAN_SHELL); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] pub fn WSManDeinitialize(apihandle: *mut WSMAN_API, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] pub fn WSManDisconnectShell(shell: *mut WSMAN_SHELL, flags: u32, disconnectinfo: *const WSMAN_SHELL_DISCONNECT_INFO, r#async: *const WSMAN_SHELL_ASYNC); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] pub fn WSManGetErrorMessage(apihandle: *const WSMAN_API, flags: u32, languagecode: ::windows_sys::core::PCWSTR, errorcode: u32, messagelength: u32, message: ::windows_sys::core::PWSTR, messagelengthused: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] pub fn WSManGetSessionOptionAsDword(session: *const WSMAN_SESSION, option: WSManSessionOption, value: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] pub fn WSManGetSessionOptionAsString(session: *const WSMAN_SESSION, option: WSManSessionOption, stringlength: u32, string: ::windows_sys::core::PWSTR, stringlengthused: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] pub fn WSManInitialize(flags: u32, apihandle: *mut *mut WSMAN_API) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSManPluginAuthzOperationComplete(senderdetails: *const WSMAN_SENDER_DETAILS, flags: u32, userauthorizationcontext: *const ::core::ffi::c_void, errorcode: u32, extendederrorinformation: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSManPluginAuthzQueryQuotaComplete(senderdetails: *const WSMAN_SENDER_DETAILS, flags: u32, quota: *const WSMAN_AUTHZ_QUOTA, errorcode: u32, extendederrorinformation: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSManPluginAuthzUserComplete(senderdetails: *const WSMAN_SENDER_DETAILS, flags: u32, userauthorizationcontext: *const ::core::ffi::c_void, impersonationtoken: super::super::Foundation::HANDLE, userisadministrator: super::super::Foundation::BOOL, errorcode: u32, extendederrorinformation: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSManPluginFreeRequestDetails(requestdetails: *const WSMAN_PLUGIN_REQUEST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] pub fn WSManPluginGetConfiguration(plugincontext: *const ::core::ffi::c_void, flags: u32, data: *mut WSMAN_DATA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSManPluginGetOperationParameters(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, data: *mut WSMAN_DATA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSManPluginOperationComplete(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, errorcode: u32, extendedinformation: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSManPluginReceiveResult(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, stream: ::windows_sys::core::PCWSTR, streamresult: *const WSMAN_DATA, commandstate: ::windows_sys::core::PCWSTR, exitcode: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] pub fn WSManPluginReportCompletion(plugincontext: *const ::core::ffi::c_void, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSManPluginReportContext(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, context: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] pub fn WSManReceiveShellOutput(shell: *mut WSMAN_SHELL, command: *const WSMAN_COMMAND, flags: u32, desiredstreamset: *const WSMAN_STREAM_ID_SET, r#async: *const WSMAN_SHELL_ASYNC, receiveoperation: *mut *mut WSMAN_OPERATION); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] pub fn WSManReconnectShell(shell: *mut WSMAN_SHELL, flags: u32, r#async: *const WSMAN_SHELL_ASYNC); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] pub fn WSManReconnectShellCommand(commandhandle: *mut WSMAN_COMMAND, flags: u32, r#async: *const WSMAN_SHELL_ASYNC); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSManRunShellCommand(shell: *mut WSMAN_SHELL, flags: u32, commandline: ::windows_sys::core::PCWSTR, args: *const WSMAN_COMMAND_ARG_SET, options: *const WSMAN_OPTION_SET, r#async: *const WSMAN_SHELL_ASYNC, command: *mut *mut WSMAN_COMMAND); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSManRunShellCommandEx(shell: *mut WSMAN_SHELL, flags: u32, commandid: ::windows_sys::core::PCWSTR, commandline: ::windows_sys::core::PCWSTR, args: *const WSMAN_COMMAND_ARG_SET, options: *const WSMAN_OPTION_SET, r#async: *const WSMAN_SHELL_ASYNC, command: *mut *mut WSMAN_COMMAND); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WSManSendShellInput(shell: *const WSMAN_SHELL, command: *const WSMAN_COMMAND, flags: u32, streamid: ::windows_sys::core::PCWSTR, streamdata: *const WSMAN_DATA, endofstream: super::super::Foundation::BOOL, r#async: *const WSMAN_SHELL_ASYNC, sendoperation: *mut *mut WSMAN_OPERATION); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] pub fn WSManSetSessionOption(session: *const WSMAN_SESSION, option: WSManSessionOption, data: *const WSMAN_DATA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] pub fn WSManSignalShell(shell: *const WSMAN_SHELL, command: *const WSMAN_COMMAND, flags: u32, code: ::windows_sys::core::PCWSTR, r#async: *const WSMAN_SHELL_ASYNC, signaloperation: *mut *mut WSMAN_OPERATION); } diff --git a/crates/libs/sys/src/Windows/Win32/System/RestartManager/mod.rs b/crates/libs/sys/src/Windows/Win32/System/RestartManager/mod.rs index 50d045bad9..aa2fb375b7 100644 --- a/crates/libs/sys/src/Windows/Win32/System/RestartManager/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/RestartManager/mod.rs @@ -3,27 +3,57 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RmAddFilter(dwsessionhandle: u32, strmodulename: ::windows_sys::core::PCWSTR, pprocess: *const RM_UNIQUE_PROCESS, strserviceshortname: ::windows_sys::core::PCWSTR, filteraction: RM_FILTER_ACTION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] pub fn RmCancelCurrentTask(dwsessionhandle: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] pub fn RmEndSession(dwsessionhandle: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] pub fn RmGetFilterList(dwsessionhandle: u32, pbfilterbuf: *mut u8, cbfilterbuf: u32, cbfilterbufneeded: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RmGetList(dwsessionhandle: u32, pnprocinfoneeded: *mut u32, pnprocinfo: *mut u32, rgaffectedapps: *mut RM_PROCESS_INFO, lpdwrebootreasons: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] pub fn RmJoinSession(psessionhandle: *mut u32, strsessionkey: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RmRegisterResources(dwsessionhandle: u32, nfiles: u32, rgsfilenames: *const ::windows_sys::core::PWSTR, napplications: u32, rgapplications: *const RM_UNIQUE_PROCESS, nservices: u32, rgsservicenames: *const ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RmRemoveFilter(dwsessionhandle: u32, strmodulename: ::windows_sys::core::PCWSTR, pprocess: *const RM_UNIQUE_PROCESS, strserviceshortname: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] pub fn RmRestart(dwsessionhandle: u32, dwrestartflags: u32, fnstatus: RM_WRITE_STATUS_CALLBACK) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] pub fn RmShutdown(dwsessionhandle: u32, lactionflags: u32, fnstatus: RM_WRITE_STATUS_CALLBACK) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] pub fn RmStartSession(psessionhandle: *mut u32, dwsessionflags: u32, strsessionkey: ::windows_sys::core::PWSTR) -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/System/Restore/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Restore/mod.rs index e56a357dea..009e8ac8bd 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Restore/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Restore/mod.rs @@ -3,6 +3,9 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Restore\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SRSetRestorePointA(prestoreptspec: *const RESTOREPOINTINFOA, psmgrstatus: *mut STATEMGRSTATUS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Restore\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SRSetRestorePointW(prestoreptspec: *const RESTOREPOINTINFOW, psmgrstatus: *mut STATEMGRSTATUS) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/Rpc/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Rpc/mod.rs index ff370dee46..3691a3b19c 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Rpc/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Rpc/mod.rs @@ -2,1194 +2,2715 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn DceErrorInqTextA(rpcstatus: RPC_STATUS, errortext: *mut u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn DceErrorInqTextW(rpcstatus: RPC_STATUS, errortext: *mut u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn IUnknown_AddRef_Proxy(this: ::windows_sys::core::IUnknown) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn IUnknown_QueryInterface_Proxy(this: ::windows_sys::core::IUnknown, riid: *const ::windows_sys::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn IUnknown_Release_Proxy(this: ::windows_sys::core::IUnknown) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcAllocate(size: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn I_RpcAsyncAbortCall(pasync: *const RPC_ASYNC_STATE, exceptioncode: u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn I_RpcAsyncSetHandle(message: *const RPC_MESSAGE, pasync: *const RPC_ASYNC_STATE) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcBindingCopy(sourcebinding: *mut ::core::ffi::c_void, destinationbinding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcBindingCreateNP(servername: *const u16, servicename: *const u16, networkoptions: *const u16, binding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcBindingHandleToAsyncHandle(binding: *mut ::core::ffi::c_void, asynchandle: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn I_RpcBindingInqClientTokenAttributes(binding: *const ::core::ffi::c_void, tokenid: *mut super::super::Foundation::LUID, authenticationid: *mut super::super::Foundation::LUID, modifiedid: *mut super::super::Foundation::LUID) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcBindingInqDynamicEndpointA(binding: *const ::core::ffi::c_void, dynamicendpoint: *mut *mut u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcBindingInqDynamicEndpointW(binding: *const ::core::ffi::c_void, dynamicendpoint: *mut *mut u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcBindingInqLocalClientPID(binding: *mut ::core::ffi::c_void, pid: *mut u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcBindingInqMarshalledTargetInfo(binding: *const ::core::ffi::c_void, marshalledtargetinfosize: *mut u32, marshalledtargetinfo: *mut *mut u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcBindingInqSecurityContext(binding: *mut ::core::ffi::c_void, securitycontexthandle: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcBindingInqSecurityContextKeyInfo(binding: *const ::core::ffi::c_void, keyinfo: *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcBindingInqTransportType(binding: *mut ::core::ffi::c_void, r#type: *mut u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcBindingInqWireIdForSnego(binding: *const ::core::ffi::c_void, wireid: *mut u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcBindingIsClientLocal(bindinghandle: *mut ::core::ffi::c_void, clientlocalflag: *mut u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcBindingIsServerLocal(binding: *const ::core::ffi::c_void, serverlocalflag: *mut u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcBindingSetPrivateOption(hbinding: *const ::core::ffi::c_void, option: u32, optionvalue: usize) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcBindingToStaticStringBindingW(binding: *mut ::core::ffi::c_void, stringbinding: *mut *mut u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcClearMutex(mutex: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcDeleteMutex(mutex: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcExceptionFilter(exceptioncode: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcFree(object: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcFreeBuffer(message: *mut RPC_MESSAGE) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcFreePipeBuffer(message: *mut RPC_MESSAGE) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcGetBuffer(message: *mut RPC_MESSAGE) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcGetBufferWithObject(message: *mut RPC_MESSAGE, objectuuid: *mut ::windows_sys::core::GUID) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcGetCurrentCallHandle() -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcGetDefaultSD(ppsecuritydescriptor: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcGetExtendedError() -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcIfInqTransferSyntaxes(rpcifhandle: *mut ::core::ffi::c_void, transfersyntaxes: *mut RPC_TRANSFER_SYNTAX, transfersyntaxsize: u32, transfersyntaxcount: *mut u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcMapWin32Status(status: RPC_STATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcMgmtEnableDedicatedThreadPool() -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcNegotiateTransferSyntax(message: *mut RPC_MESSAGE) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcNsBindingSetEntryNameA(binding: *const ::core::ffi::c_void, entrynamesyntax: u32, entryname: *const u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcNsBindingSetEntryNameW(binding: *const ::core::ffi::c_void, entrynamesyntax: u32, entryname: *const u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcNsGetBuffer(message: *mut RPC_MESSAGE) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcNsInterfaceExported(entrynamesyntax: u32, entryname: *mut u16, rpcinterfaceinformation: *mut RPC_SERVER_INTERFACE) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcNsInterfaceUnexported(entrynamesyntax: u32, entryname: *mut u16, rpcinterfaceinformation: *mut RPC_SERVER_INTERFACE) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcNsRaiseException(message: *mut RPC_MESSAGE, status: RPC_STATUS); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcNsSendReceive(message: *mut RPC_MESSAGE, handle: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcOpenClientProcess(binding: *const ::core::ffi::c_void, desiredaccess: u32, clientprocess: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcPauseExecution(milliseconds: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcReBindBuffer(message: *mut RPC_MESSAGE) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcReallocPipeBuffer(message: *const RPC_MESSAGE, newsize: u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcReceive(message: *mut RPC_MESSAGE, size: u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcRecordCalloutFailure(rpcstatus: RPC_STATUS, calloutstate: *mut RDR_CALLOUT_STATE, dllname: *mut u16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcRequestMutex(mutex: *mut *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcSend(message: *mut RPC_MESSAGE) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcSendReceive(message: *mut RPC_MESSAGE) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcServerCheckClientRestriction(context: *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcServerDisableExceptionFilter() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcServerGetAssociationID(binding: *const ::core::ffi::c_void, associationid: *mut u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcServerInqAddressChangeFn() -> *mut RPC_ADDRESS_CHANGE_FN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcServerInqLocalConnAddress(binding: *mut ::core::ffi::c_void, buffer: *mut ::core::ffi::c_void, buffersize: *mut u32, addressformat: *mut u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcServerInqRemoteConnAddress(binding: *mut ::core::ffi::c_void, buffer: *mut ::core::ffi::c_void, buffersize: *mut u32, addressformat: *mut u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcServerInqTransportType(r#type: *mut u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcServerRegisterForwardFunction(pforwardfunction: *mut RPC_FORWARD_FUNCTION) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcServerSetAddressChangeFn(paddresschangefn: *mut RPC_ADDRESS_CHANGE_FN) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcServerStartService(protseq: *const u16, endpoint: *const u16, ifspec: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcServerSubscribeForDisconnectNotification(binding: *const ::core::ffi::c_void, hevent: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcServerSubscribeForDisconnectNotification2(binding: *const ::core::ffi::c_void, hevent: *const ::core::ffi::c_void, subscriptionid: *mut ::windows_sys::core::GUID) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcServerUnsubscribeForDisconnectNotification(binding: *const ::core::ffi::c_void, subscriptionid: ::windows_sys::core::GUID) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcServerUseProtseq2A(networkaddress: *const u8, protseq: *const u8, maxcalls: u32, securitydescriptor: *const ::core::ffi::c_void, policy: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcServerUseProtseq2W(networkaddress: *const u16, protseq: *const u16, maxcalls: u32, securitydescriptor: *const ::core::ffi::c_void, policy: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcServerUseProtseqEp2A(networkaddress: *const u8, protseq: *const u8, maxcalls: u32, endpoint: *const u8, securitydescriptor: *const ::core::ffi::c_void, policy: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcServerUseProtseqEp2W(networkaddress: *const u16, protseq: *const u16, maxcalls: u32, endpoint: *const u16, securitydescriptor: *const ::core::ffi::c_void, policy: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcSessionStrictContextHandle(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcSsDontSerializeContext(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcSystemHandleTypeSpecificWork(handle: *mut ::core::ffi::c_void, actualtype: u8, idltype: u8, marshaldirection: LRPC_SYSTEM_HANDLE_MARSHAL_DIRECTION) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_RpcTurnOnEEInfoPropagation() -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn I_UuidCreate(uuid: *mut ::windows_sys::core::GUID) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn MesBufferHandleReset(handle: *const ::core::ffi::c_void, handlestyle: u32, operation: MIDL_ES_CODE, pbuffer: *const *const i8, buffersize: u32, pencodedsize: *mut u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn MesDecodeBufferHandleCreate(buffer: ::windows_sys::core::PCSTR, buffersize: u32, phandle: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn MesDecodeIncrementalHandleCreate(userstate: *mut ::core::ffi::c_void, readfn: MIDL_ES_READ, phandle: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn MesEncodeDynBufferHandleCreate(pbuffer: *mut *mut i8, pencodedsize: *mut u32, phandle: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn MesEncodeFixedBufferHandleCreate(pbuffer: ::windows_sys::core::PSTR, buffersize: u32, pencodedsize: *mut u32, phandle: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn MesEncodeIncrementalHandleCreate(userstate: *mut ::core::ffi::c_void, allocfn: MIDL_ES_ALLOC, writefn: MIDL_ES_WRITE, phandle: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn MesHandleFree(handle: *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn MesIncrementalHandleReset(handle: *mut ::core::ffi::c_void, userstate: *mut ::core::ffi::c_void, allocfn: MIDL_ES_ALLOC, writefn: MIDL_ES_WRITE, readfn: MIDL_ES_READ, operation: MIDL_ES_CODE) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn MesInqProcEncodingId(handle: *mut ::core::ffi::c_void, pinterfaceid: *mut RPC_SYNTAX_IDENTIFIER, pprocnum: *mut u32) -> RPC_STATUS; - #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] - pub fn NDRCContextBinding(ccontext: isize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] + pub fn NDRCContextBinding(ccontext: isize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NDRCContextMarshall(ccontext: isize, pbuff: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NDRCContextUnmarshall(pccontext: *mut isize, hbinding: *const ::core::ffi::c_void, pbuff: *const ::core::ffi::c_void, datarepresentation: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NDRSContextMarshall(ccontext: *const NDR_SCONTEXT_1, pbuff: *mut ::core::ffi::c_void, userrundownin: NDR_RUNDOWN); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NDRSContextMarshall2(bindinghandle: *const ::core::ffi::c_void, ccontext: *const NDR_SCONTEXT_1, pbuff: *mut ::core::ffi::c_void, userrundownin: NDR_RUNDOWN, ctxguard: *const ::core::ffi::c_void, flags: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NDRSContextMarshallEx(bindinghandle: *const ::core::ffi::c_void, ccontext: *const NDR_SCONTEXT_1, pbuff: *mut ::core::ffi::c_void, userrundownin: NDR_RUNDOWN); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NDRSContextUnmarshall(pbuff: *const ::core::ffi::c_void, datarepresentation: u32) -> *mut NDR_SCONTEXT_1; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NDRSContextUnmarshall2(bindinghandle: *const ::core::ffi::c_void, pbuff: *const ::core::ffi::c_void, datarepresentation: u32, ctxguard: *const ::core::ffi::c_void, flags: u32) -> *mut NDR_SCONTEXT_1; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NDRSContextUnmarshallEx(bindinghandle: *const ::core::ffi::c_void, pbuff: *const ::core::ffi::c_void, datarepresentation: u32) -> *mut NDR_SCONTEXT_1; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn Ndr64AsyncClientCall(pproxyinfo: *mut MIDL_STUBLESS_PROXY_INFO, nprocnum: u32, preturnvalue: *mut ::core::ffi::c_void) -> CLIENT_CALL_RETURN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn Ndr64AsyncServerCall64(prpcmsg: *mut RPC_MESSAGE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn Ndr64AsyncServerCallAll(prpcmsg: *mut RPC_MESSAGE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn Ndr64DcomAsyncClientCall(pproxyinfo: *mut MIDL_STUBLESS_PROXY_INFO, nprocnum: u32, preturnvalue: *mut ::core::ffi::c_void) -> CLIENT_CALL_RETURN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn Ndr64DcomAsyncStubCall(pthis: super::Com::IRpcStubBuffer, pchannel: super::Com::IRpcChannelBuffer, prpcmsg: *mut RPC_MESSAGE, pdwstubphase: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrAllocate(pstubmsg: *mut MIDL_STUB_MESSAGE, len: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrAsyncClientCall(pstubdescriptor: *mut MIDL_STUB_DESC, pformat: *mut u8) -> CLIENT_CALL_RETURN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NdrAsyncServerCall(prpcmsg: *mut RPC_MESSAGE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrByteCountPointerBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrByteCountPointerFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrByteCountPointerMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrByteCountPointerUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrClearOutParameters(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8, argaddr: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrClientCall2(pstubdescriptor: *mut MIDL_STUB_DESC, pformat: *mut u8) -> CLIENT_CALL_RETURN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrClientCall3(pproxyinfo: *mut MIDL_STUBLESS_PROXY_INFO, nprocnum: u32, preturnvalue: *mut ::core::ffi::c_void) -> CLIENT_CALL_RETURN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrClientContextMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, contexthandle: isize, fcheck: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrClientContextUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pcontexthandle: *mut isize, bindhandle: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrClientInitialize(prpcmsg: *mut RPC_MESSAGE, pstubmsg: *mut MIDL_STUB_MESSAGE, pstubdescriptor: *mut MIDL_STUB_DESC, procnum: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrClientInitializeNew(prpcmsg: *mut RPC_MESSAGE, pstubmsg: *mut MIDL_STUB_MESSAGE, pstubdescriptor: *mut MIDL_STUB_DESC, procnum: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrComplexArrayBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrComplexArrayFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrComplexArrayMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrComplexArrayMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrComplexArrayUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrComplexStructBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrComplexStructFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrComplexStructMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrComplexStructMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrComplexStructUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantArrayBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantArrayFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantArrayMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantArrayMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantArrayUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantStringBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantStringMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantStringMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantStringUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantStructBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantStructFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantStructMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantStructMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantStructUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantVaryingArrayBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantVaryingArrayFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantVaryingArrayMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantVaryingArrayMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantVaryingArrayUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantVaryingStructBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantVaryingStructFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantVaryingStructMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantVaryingStructMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConformantVaryingStructUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrContextHandleInitialize(pstubmsg: *const MIDL_STUB_MESSAGE, pformat: *const u8) -> *mut NDR_SCONTEXT_1; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrContextHandleSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConvert(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrConvert2(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8, numberparams: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrCorrelationFree(pstubmsg: *mut MIDL_STUB_MESSAGE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrCorrelationInitialize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut ::core::ffi::c_void, cachesize: u32, flags: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrCorrelationPass(pstubmsg: *mut MIDL_STUB_MESSAGE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrCreateServerInterfaceFromStub(pstub: super::Com::IRpcStubBuffer, pserverif: *mut RPC_SERVER_INTERFACE) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrDcomAsyncClientCall(pstubdescriptor: *mut MIDL_STUB_DESC, pformat: *mut u8) -> CLIENT_CALL_RETURN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrDcomAsyncStubCall(pthis: super::Com::IRpcStubBuffer, pchannel: super::Com::IRpcChannelBuffer, prpcmsg: *mut RPC_MESSAGE, pdwstubphase: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrEncapsulatedUnionBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrEncapsulatedUnionFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrEncapsulatedUnionMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrEncapsulatedUnionMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrEncapsulatedUnionUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrFixedArrayBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrFixedArrayFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrFixedArrayMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrFixedArrayMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrFixedArrayUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrFreeBuffer(pstubmsg: *mut MIDL_STUB_MESSAGE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NdrFullPointerXlatFree(pxlattables: *mut FULL_PTR_XLAT_TABLES); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NdrFullPointerXlatInit(numberofpointers: u32, xlatside: XLAT_SIDE) -> *mut FULL_PTR_XLAT_TABLES; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrGetBuffer(pstubmsg: *mut MIDL_STUB_MESSAGE, bufferlength: u32, handle: *mut ::core::ffi::c_void) -> *mut u8; - #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] + #[cfg(feature = "Win32_System_Com")] pub fn NdrGetDcomProtocolVersion(pstubmsg: *mut MIDL_STUB_MESSAGE, pversion: *mut RPC_VERSION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrGetUserMarshalInfo(pflags: *const u32, informationlevel: u32, pmarshalinfo: *mut NDR_USER_MARSHAL_INFO) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrInterfacePointerBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrInterfacePointerFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrInterfacePointerMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrInterfacePointerMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrInterfacePointerUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrMapCommAndFaultStatus(pstubmsg: *mut MIDL_STUB_MESSAGE, pcommstatus: *mut u32, pfaultstatus: *mut u32, status: RPC_STATUS) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrMesProcEncodeDecode(handle: *mut ::core::ffi::c_void, pstubdesc: *const MIDL_STUB_DESC, pformatstring: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrMesProcEncodeDecode2(handle: *mut ::core::ffi::c_void, pstubdesc: *const MIDL_STUB_DESC, pformatstring: *mut u8) -> CLIENT_CALL_RETURN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrMesProcEncodeDecode3(handle: *mut ::core::ffi::c_void, pproxyinfo: *const MIDL_STUBLESS_PROXY_INFO, nprocnum: u32, preturnvalue: *mut ::core::ffi::c_void) -> CLIENT_CALL_RETURN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NdrMesSimpleTypeAlignSize(param0: *mut ::core::ffi::c_void) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrMesSimpleTypeAlignSizeAll(handle: *mut ::core::ffi::c_void, pproxyinfo: *const MIDL_STUBLESS_PROXY_INFO) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NdrMesSimpleTypeDecode(handle: *mut ::core::ffi::c_void, pobject: *mut ::core::ffi::c_void, size: i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrMesSimpleTypeDecodeAll(handle: *mut ::core::ffi::c_void, pproxyinfo: *const MIDL_STUBLESS_PROXY_INFO, pobject: *mut ::core::ffi::c_void, size: i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrMesSimpleTypeEncode(handle: *mut ::core::ffi::c_void, pstubdesc: *const MIDL_STUB_DESC, pobject: *const ::core::ffi::c_void, size: i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrMesSimpleTypeEncodeAll(handle: *mut ::core::ffi::c_void, pproxyinfo: *const MIDL_STUBLESS_PROXY_INFO, pobject: *const ::core::ffi::c_void, size: i16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrMesTypeAlignSize(handle: *mut ::core::ffi::c_void, pstubdesc: *const MIDL_STUB_DESC, pformatstring: *mut u8, pobject: *const ::core::ffi::c_void) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrMesTypeAlignSize2(handle: *mut ::core::ffi::c_void, ppicklinginfo: *const MIDL_TYPE_PICKLING_INFO, pstubdesc: *const MIDL_STUB_DESC, pformatstring: *mut u8, pobject: *const ::core::ffi::c_void) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrMesTypeAlignSize3(handle: *mut ::core::ffi::c_void, ppicklinginfo: *const MIDL_TYPE_PICKLING_INFO, pproxyinfo: *const MIDL_STUBLESS_PROXY_INFO, arrtypeoffset: *const *const u32, ntypeindex: u32, pobject: *const ::core::ffi::c_void) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrMesTypeDecode(handle: *mut ::core::ffi::c_void, pstubdesc: *const MIDL_STUB_DESC, pformatstring: *mut u8, pobject: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrMesTypeDecode2(handle: *mut ::core::ffi::c_void, ppicklinginfo: *const MIDL_TYPE_PICKLING_INFO, pstubdesc: *const MIDL_STUB_DESC, pformatstring: *mut u8, pobject: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrMesTypeDecode3(handle: *mut ::core::ffi::c_void, ppicklinginfo: *const MIDL_TYPE_PICKLING_INFO, pproxyinfo: *const MIDL_STUBLESS_PROXY_INFO, arrtypeoffset: *const *const u32, ntypeindex: u32, pobject: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrMesTypeEncode(handle: *mut ::core::ffi::c_void, pstubdesc: *const MIDL_STUB_DESC, pformatstring: *mut u8, pobject: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrMesTypeEncode2(handle: *mut ::core::ffi::c_void, ppicklinginfo: *const MIDL_TYPE_PICKLING_INFO, pstubdesc: *const MIDL_STUB_DESC, pformatstring: *mut u8, pobject: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrMesTypeEncode3(handle: *mut ::core::ffi::c_void, ppicklinginfo: *const MIDL_TYPE_PICKLING_INFO, pproxyinfo: *const MIDL_STUBLESS_PROXY_INFO, arrtypeoffset: *const *const u32, ntypeindex: u32, pobject: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrMesTypeFree2(handle: *mut ::core::ffi::c_void, ppicklinginfo: *const MIDL_TYPE_PICKLING_INFO, pstubdesc: *const MIDL_STUB_DESC, pformatstring: *mut u8, pobject: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrMesTypeFree3(handle: *mut ::core::ffi::c_void, ppicklinginfo: *const MIDL_TYPE_PICKLING_INFO, pproxyinfo: *const MIDL_STUBLESS_PROXY_INFO, arrtypeoffset: *const *const u32, ntypeindex: u32, pobject: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrNonConformantStringBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrNonConformantStringMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrNonConformantStringMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrNonConformantStringUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrNonEncapsulatedUnionBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrNonEncapsulatedUnionFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrNonEncapsulatedUnionMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrNonEncapsulatedUnionMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrNonEncapsulatedUnionUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrNsGetBuffer(pstubmsg: *mut MIDL_STUB_MESSAGE, bufferlength: u32, handle: *mut ::core::ffi::c_void) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrNsSendReceive(pstubmsg: *mut MIDL_STUB_MESSAGE, pbufferend: *mut u8, pautohandle: *mut *mut ::core::ffi::c_void) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NdrOleAllocate(size: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NdrOleFree(nodetofree: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrPartialIgnoreClientBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrPartialIgnoreClientMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrPartialIgnoreServerInitialize(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut ::core::ffi::c_void, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrPartialIgnoreServerUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrPointerBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrPointerFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrPointerMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrPointerMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrPointerUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrRangeUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NdrRpcSmClientAllocate(size: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NdrRpcSmClientFree(nodetofree: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrRpcSmSetClientToOsf(pmessage: *mut MIDL_STUB_MESSAGE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NdrRpcSsDefaultAllocate(size: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NdrRpcSsDefaultFree(nodetofree: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrRpcSsDisableAllocate(pmessage: *mut MIDL_STUB_MESSAGE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrRpcSsEnableAllocate(pmessage: *mut MIDL_STUB_MESSAGE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrSendReceive(pstubmsg: *mut MIDL_STUB_MESSAGE, pbufferend: *mut u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NdrServerCall2(prpcmsg: *mut RPC_MESSAGE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NdrServerCallAll(prpcmsg: *mut RPC_MESSAGE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NdrServerCallNdr64(prpcmsg: *mut RPC_MESSAGE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrServerContextMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, contexthandle: *mut NDR_SCONTEXT_1, rundownroutine: NDR_RUNDOWN); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrServerContextNewMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, contexthandle: *mut NDR_SCONTEXT_1, rundownroutine: NDR_RUNDOWN, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrServerContextNewUnmarshall(pstubmsg: *const MIDL_STUB_MESSAGE, pformat: *const u8) -> *mut NDR_SCONTEXT_1; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrServerContextUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE) -> *mut NDR_SCONTEXT_1; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrServerInitialize(prpcmsg: *mut RPC_MESSAGE, pstubmsg: *mut MIDL_STUB_MESSAGE, pstubdescriptor: *mut MIDL_STUB_DESC) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrServerInitializeMarshall(prpcmsg: *mut RPC_MESSAGE, pstubmsg: *mut MIDL_STUB_MESSAGE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrServerInitializeNew(prpcmsg: *mut RPC_MESSAGE, pstubmsg: *mut MIDL_STUB_MESSAGE, pstubdescriptor: *mut MIDL_STUB_DESC) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrServerInitializePartial(prpcmsg: *mut RPC_MESSAGE, pstubmsg: *mut MIDL_STUB_MESSAGE, pstubdescriptor: *mut MIDL_STUB_DESC, requestedbuffersize: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrServerInitializeUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pstubdescriptor: *mut MIDL_STUB_DESC, prpcmsg: *mut RPC_MESSAGE) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrSimpleStructBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrSimpleStructFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrSimpleStructMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrSimpleStructMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrSimpleStructUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrSimpleTypeMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, formatchar: u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrSimpleTypeUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, formatchar: u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NdrStubCall2(pthis: *mut ::core::ffi::c_void, pchannel: *mut ::core::ffi::c_void, prpcmsg: *mut RPC_MESSAGE, pdwstubphase: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NdrStubCall3(pthis: *mut ::core::ffi::c_void, pchannel: *mut ::core::ffi::c_void, prpcmsg: *mut RPC_MESSAGE, pdwstubphase: *mut u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrUserMarshalBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrUserMarshalFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrUserMarshalMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrUserMarshalMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn NdrUserMarshalSimpleTypeConvert(pflags: *mut u32, pbuffer: *mut u8, formatchar: u8) -> *mut u8; - #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] + #[cfg(feature = "Win32_System_Com")] pub fn NdrUserMarshalUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrVaryingArrayBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrVaryingArrayFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrVaryingArrayMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrVaryingArrayMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrVaryingArrayUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrXmitOrRepAsBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrXmitOrRepAsFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrXmitOrRepAsMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrXmitOrRepAsMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn NdrXmitOrRepAsUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn RpcAsyncAbortCall(pasync: *mut RPC_ASYNC_STATE, exceptioncode: u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn RpcAsyncCancelCall(pasync: *mut RPC_ASYNC_STATE, fabort: super::super::Foundation::BOOL) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn RpcAsyncCompleteCall(pasync: *mut RPC_ASYNC_STATE, reply: *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn RpcAsyncGetCallStatus(pasync: *const RPC_ASYNC_STATE) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn RpcAsyncInitializeHandle(pasync: *mut RPC_ASYNC_STATE, size: u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn RpcAsyncRegisterInfo(pasync: *const RPC_ASYNC_STATE) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn RpcBindingBind(pasync: *const RPC_ASYNC_STATE, binding: *const ::core::ffi::c_void, ifspec: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingCopy(sourcebinding: *const ::core::ffi::c_void, destinationbinding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn RpcBindingCreateA(template: *const RPC_BINDING_HANDLE_TEMPLATE_V1_A, security: *const RPC_BINDING_HANDLE_SECURITY_V1_A, options: *const RPC_BINDING_HANDLE_OPTIONS_V1, binding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn RpcBindingCreateW(template: *const RPC_BINDING_HANDLE_TEMPLATE_V1_W, security: *const RPC_BINDING_HANDLE_SECURITY_V1_W, options: *const RPC_BINDING_HANDLE_OPTIONS_V1, binding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingFree(binding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingFromStringBindingA(stringbinding: *const u8, binding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingFromStringBindingW(stringbinding: *const u16, binding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingInqAuthClientA(clientbinding: *const ::core::ffi::c_void, privs: *mut *mut ::core::ffi::c_void, serverprincname: *mut *mut u8, authnlevel: *mut u32, authnsvc: *mut u32, authzsvc: *mut u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingInqAuthClientExA(clientbinding: *const ::core::ffi::c_void, privs: *mut *mut ::core::ffi::c_void, serverprincname: *mut *mut u8, authnlevel: *mut u32, authnsvc: *mut u32, authzsvc: *mut u32, flags: u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingInqAuthClientExW(clientbinding: *const ::core::ffi::c_void, privs: *mut *mut ::core::ffi::c_void, serverprincname: *mut *mut u16, authnlevel: *mut u32, authnsvc: *mut u32, authzsvc: *mut u32, flags: u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingInqAuthClientW(clientbinding: *const ::core::ffi::c_void, privs: *mut *mut ::core::ffi::c_void, serverprincname: *mut *mut u16, authnlevel: *mut u32, authnsvc: *mut u32, authzsvc: *mut u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingInqAuthInfoA(binding: *const ::core::ffi::c_void, serverprincname: *mut *mut u8, authnlevel: *mut u32, authnsvc: *mut u32, authidentity: *mut *mut ::core::ffi::c_void, authzsvc: *mut u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn RpcBindingInqAuthInfoExA(binding: *const ::core::ffi::c_void, serverprincname: *mut *mut u8, authnlevel: *mut u32, authnsvc: *mut u32, authidentity: *mut *mut ::core::ffi::c_void, authzsvc: *mut u32, rpcqosversion: u32, securityqos: *mut RPC_SECURITY_QOS) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn RpcBindingInqAuthInfoExW(binding: *const ::core::ffi::c_void, serverprincname: *mut *mut u16, authnlevel: *mut u32, authnsvc: *mut u32, authidentity: *mut *mut ::core::ffi::c_void, authzsvc: *mut u32, rpcqosversion: u32, securityqos: *mut RPC_SECURITY_QOS) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingInqAuthInfoW(binding: *const ::core::ffi::c_void, serverprincname: *mut *mut u16, authnlevel: *mut u32, authnsvc: *mut u32, authidentity: *mut *mut ::core::ffi::c_void, authzsvc: *mut u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingInqMaxCalls(binding: *const ::core::ffi::c_void, maxcalls: *mut u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingInqObject(binding: *const ::core::ffi::c_void, objectuuid: *mut ::windows_sys::core::GUID) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingInqOption(hbinding: *const ::core::ffi::c_void, option: u32, poptionvalue: *mut usize) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingReset(binding: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingServerFromClient(clientbinding: *const ::core::ffi::c_void, serverbinding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingSetAuthInfoA(binding: *const ::core::ffi::c_void, serverprincname: *const u8, authnlevel: u32, authnsvc: u32, authidentity: *const ::core::ffi::c_void, authzsvc: u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn RpcBindingSetAuthInfoExA(binding: *const ::core::ffi::c_void, serverprincname: *const u8, authnlevel: u32, authnsvc: u32, authidentity: *const ::core::ffi::c_void, authzsvc: u32, securityqos: *const RPC_SECURITY_QOS) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn RpcBindingSetAuthInfoExW(binding: *const ::core::ffi::c_void, serverprincname: *const u16, authnlevel: u32, authnsvc: u32, authidentity: *const ::core::ffi::c_void, authzsvc: u32, securityqos: *const RPC_SECURITY_QOS) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingSetAuthInfoW(binding: *const ::core::ffi::c_void, serverprincname: *const u16, authnlevel: u32, authnsvc: u32, authidentity: *const ::core::ffi::c_void, authzsvc: u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingSetObject(binding: *const ::core::ffi::c_void, objectuuid: *const ::windows_sys::core::GUID) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingSetOption(hbinding: *const ::core::ffi::c_void, option: u32, optionvalue: usize) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingToStringBindingA(binding: *const ::core::ffi::c_void, stringbinding: *mut *mut u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingToStringBindingW(binding: *const ::core::ffi::c_void, stringbinding: *mut *mut u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingUnbind(binding: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcBindingVectorFree(bindingvector: *mut *mut RPC_BINDING_VECTOR) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcCancelThread(thread: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcCancelThreadEx(thread: *const ::core::ffi::c_void, timeout: i32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub fn RpcCertGeneratePrincipalNameA(context: *const super::super::Security::Cryptography::CERT_CONTEXT, flags: u32, pbuffer: *mut *mut u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub fn RpcCertGeneratePrincipalNameW(context: *const super::super::Security::Cryptography::CERT_CONTEXT, flags: u32, pbuffer: *mut *mut u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcEpRegisterA(ifspec: *const ::core::ffi::c_void, bindingvector: *const RPC_BINDING_VECTOR, uuidvector: *const UUID_VECTOR, annotation: *const u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcEpRegisterNoReplaceA(ifspec: *const ::core::ffi::c_void, bindingvector: *const RPC_BINDING_VECTOR, uuidvector: *const UUID_VECTOR, annotation: *const u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcEpRegisterNoReplaceW(ifspec: *const ::core::ffi::c_void, bindingvector: *const RPC_BINDING_VECTOR, uuidvector: *const UUID_VECTOR, annotation: *const u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcEpRegisterW(ifspec: *const ::core::ffi::c_void, bindingvector: *const RPC_BINDING_VECTOR, uuidvector: *const UUID_VECTOR, annotation: *const u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcEpResolveBinding(binding: *const ::core::ffi::c_void, ifspec: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcEpUnregister(ifspec: *const ::core::ffi::c_void, bindingvector: *const RPC_BINDING_VECTOR, uuidvector: *const UUID_VECTOR) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RpcErrorAddRecord(errorinfo: *const RPC_EXTENDED_ERROR_INFO) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcErrorClearInformation(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcErrorEndEnumeration(enumhandle: *mut RPC_ERROR_ENUM_HANDLE) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RpcErrorGetNextRecord(enumhandle: *const RPC_ERROR_ENUM_HANDLE, copystrings: super::super::Foundation::BOOL, errorinfo: *mut RPC_EXTENDED_ERROR_INFO) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcErrorGetNumberOfRecords(enumhandle: *const RPC_ERROR_ENUM_HANDLE, records: *mut i32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcErrorLoadErrorInfo(errorblob: *const ::core::ffi::c_void, blobsize: usize, enumhandle: *mut RPC_ERROR_ENUM_HANDLE) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcErrorResetEnumeration(enumhandle: *mut RPC_ERROR_ENUM_HANDLE) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcErrorSaveErrorInfo(enumhandle: *const RPC_ERROR_ENUM_HANDLE, errorblob: *mut *mut ::core::ffi::c_void, blobsize: *mut usize) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcErrorStartEnumeration(enumhandle: *mut RPC_ERROR_ENUM_HANDLE) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcExceptionFilter(exceptioncode: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcFreeAuthorizationContext(pauthzclientcontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RpcGetAuthorizationContextForClient(clientbinding: *const ::core::ffi::c_void, impersonateonreturn: super::super::Foundation::BOOL, reserved1: *const ::core::ffi::c_void, pexpirationtime: *const i64, reserved2: super::super::Foundation::LUID, reserved3: u32, reserved4: *const ::core::ffi::c_void, pauthzclientcontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcIfIdVectorFree(ifidvector: *mut *mut RPC_IF_ID_VECTOR) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcIfInqId(rpcifhandle: *const ::core::ffi::c_void, rpcifid: *mut RPC_IF_ID) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcImpersonateClient(bindinghandle: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcImpersonateClient2(bindinghandle: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcImpersonateClientContainer(bindinghandle: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcMgmtEnableIdleCleanup() -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcMgmtEpEltInqBegin(epbinding: *const ::core::ffi::c_void, inquirytype: u32, ifid: *const RPC_IF_ID, versoption: u32, objectuuid: *const ::windows_sys::core::GUID, inquirycontext: *mut *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcMgmtEpEltInqDone(inquirycontext: *mut *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcMgmtEpEltInqNextA(inquirycontext: *const *const ::core::ffi::c_void, ifid: *mut RPC_IF_ID, binding: *mut *mut ::core::ffi::c_void, objectuuid: *mut ::windows_sys::core::GUID, annotation: *mut *mut u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcMgmtEpEltInqNextW(inquirycontext: *const *const ::core::ffi::c_void, ifid: *mut RPC_IF_ID, binding: *mut *mut ::core::ffi::c_void, objectuuid: *mut ::windows_sys::core::GUID, annotation: *mut *mut u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcMgmtEpUnregister(epbinding: *const ::core::ffi::c_void, ifid: *const RPC_IF_ID, binding: *const ::core::ffi::c_void, objectuuid: *const ::windows_sys::core::GUID) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcMgmtInqComTimeout(binding: *const ::core::ffi::c_void, timeout: *mut u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcMgmtInqDefaultProtectLevel(authnsvc: u32, authnlevel: *mut u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcMgmtInqIfIds(binding: *const ::core::ffi::c_void, ifidvector: *mut *mut RPC_IF_ID_VECTOR) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcMgmtInqServerPrincNameA(binding: *const ::core::ffi::c_void, authnsvc: u32, serverprincname: *mut *mut u8) -> RPC_STATUS; - #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] - pub fn RpcMgmtInqServerPrincNameW(binding: *const ::core::ffi::c_void, authnsvc: u32, serverprincname: *mut *mut u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] + pub fn RpcMgmtInqServerPrincNameW(binding: *const ::core::ffi::c_void, authnsvc: u32, serverprincname: *mut *mut u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcMgmtInqStats(binding: *const ::core::ffi::c_void, statistics: *mut *mut RPC_STATS_VECTOR) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcMgmtIsServerListening(binding: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcMgmtSetAuthorizationFn(authorizationfn: RPC_MGMT_AUTHORIZATION_FN) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcMgmtSetCancelTimeout(timeout: i32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcMgmtSetComTimeout(binding: *const ::core::ffi::c_void, timeout: u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcMgmtSetServerStackSize(threadstacksize: u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcMgmtStatsVectorFree(statsvector: *mut *mut RPC_STATS_VECTOR) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcMgmtStopServerListening(binding: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcMgmtWaitServerListen() -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNetworkInqProtseqsA(protseqvector: *mut *mut RPC_PROTSEQ_VECTORA) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNetworkInqProtseqsW(protseqvector: *mut *mut RPC_PROTSEQ_VECTORW) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNetworkIsProtseqValidA(protseq: *const u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNetworkIsProtseqValidW(protseq: *const u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsBindingExportA(entrynamesyntax: u32, entryname: *const u8, ifspec: *const ::core::ffi::c_void, bindingvec: *const RPC_BINDING_VECTOR, objectuuidvec: *const UUID_VECTOR) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsBindingExportPnPA(entrynamesyntax: u32, entryname: *const u8, ifspec: *const ::core::ffi::c_void, objectvector: *const UUID_VECTOR) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsBindingExportPnPW(entrynamesyntax: u32, entryname: *const u16, ifspec: *const ::core::ffi::c_void, objectvector: *const UUID_VECTOR) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsBindingExportW(entrynamesyntax: u32, entryname: *const u16, ifspec: *const ::core::ffi::c_void, bindingvec: *const RPC_BINDING_VECTOR, objectuuidvec: *const UUID_VECTOR) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsBindingImportBeginA(entrynamesyntax: u32, entryname: *const u8, ifspec: *const ::core::ffi::c_void, objuuid: *const ::windows_sys::core::GUID, importcontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsBindingImportBeginW(entrynamesyntax: u32, entryname: *const u16, ifspec: *const ::core::ffi::c_void, objuuid: *const ::windows_sys::core::GUID, importcontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsBindingImportDone(importcontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsBindingImportNext(importcontext: *mut ::core::ffi::c_void, binding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsBindingInqEntryNameA(binding: *const ::core::ffi::c_void, entrynamesyntax: u32, entryname: *mut *mut u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsBindingInqEntryNameW(binding: *const ::core::ffi::c_void, entrynamesyntax: u32, entryname: *mut *mut u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsBindingLookupBeginA(entrynamesyntax: u32, entryname: *const u8, ifspec: *const ::core::ffi::c_void, objuuid: *const ::windows_sys::core::GUID, bindingmaxcount: u32, lookupcontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsBindingLookupBeginW(entrynamesyntax: u32, entryname: *const u16, ifspec: *const ::core::ffi::c_void, objuuid: *const ::windows_sys::core::GUID, bindingmaxcount: u32, lookupcontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsBindingLookupDone(lookupcontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsBindingLookupNext(lookupcontext: *mut ::core::ffi::c_void, bindingvec: *mut *mut RPC_BINDING_VECTOR) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsBindingSelect(bindingvec: *mut RPC_BINDING_VECTOR, binding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsBindingUnexportA(entrynamesyntax: u32, entryname: *const u8, ifspec: *const ::core::ffi::c_void, objectuuidvec: *const UUID_VECTOR) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsBindingUnexportPnPA(entrynamesyntax: u32, entryname: *const u8, ifspec: *const ::core::ffi::c_void, objectvector: *const UUID_VECTOR) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsBindingUnexportPnPW(entrynamesyntax: u32, entryname: *const u16, ifspec: *const ::core::ffi::c_void, objectvector: *const UUID_VECTOR) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsBindingUnexportW(entrynamesyntax: u32, entryname: *const u16, ifspec: *const ::core::ffi::c_void, objectuuidvec: *const UUID_VECTOR) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsEntryExpandNameA(entrynamesyntax: u32, entryname: *const u8, expandedname: *mut *mut u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsEntryExpandNameW(entrynamesyntax: u32, entryname: *const u16, expandedname: *mut *mut u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsEntryObjectInqBeginA(entrynamesyntax: u32, entryname: *const u8, inquirycontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsEntryObjectInqBeginW(entrynamesyntax: u32, entryname: *const u16, inquirycontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsEntryObjectInqDone(inquirycontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsEntryObjectInqNext(inquirycontext: *mut ::core::ffi::c_void, objuuid: *mut ::windows_sys::core::GUID) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsGroupDeleteA(groupnamesyntax: GROUP_NAME_SYNTAX, groupname: *const u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsGroupDeleteW(groupnamesyntax: GROUP_NAME_SYNTAX, groupname: *const u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsGroupMbrAddA(groupnamesyntax: u32, groupname: *const u8, membernamesyntax: u32, membername: *const u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsGroupMbrAddW(groupnamesyntax: u32, groupname: *const u16, membernamesyntax: u32, membername: *const u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsGroupMbrInqBeginA(groupnamesyntax: u32, groupname: *const u8, membernamesyntax: u32, inquirycontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsGroupMbrInqBeginW(groupnamesyntax: u32, groupname: *const u16, membernamesyntax: u32, inquirycontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsGroupMbrInqDone(inquirycontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsGroupMbrInqNextA(inquirycontext: *mut ::core::ffi::c_void, membername: *mut *mut u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsGroupMbrInqNextW(inquirycontext: *mut ::core::ffi::c_void, membername: *mut *mut u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsGroupMbrRemoveA(groupnamesyntax: u32, groupname: *const u8, membernamesyntax: u32, membername: *const u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsGroupMbrRemoveW(groupnamesyntax: u32, groupname: *const u16, membernamesyntax: u32, membername: *const u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsMgmtBindingUnexportA(entrynamesyntax: u32, entryname: *const u8, ifid: *const RPC_IF_ID, versoption: u32, objectuuidvec: *const UUID_VECTOR) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsMgmtBindingUnexportW(entrynamesyntax: u32, entryname: *const u16, ifid: *const RPC_IF_ID, versoption: u32, objectuuidvec: *const UUID_VECTOR) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsMgmtEntryCreateA(entrynamesyntax: u32, entryname: *const u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsMgmtEntryCreateW(entrynamesyntax: u32, entryname: *const u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsMgmtEntryDeleteA(entrynamesyntax: u32, entryname: *const u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsMgmtEntryDeleteW(entrynamesyntax: u32, entryname: *const u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsMgmtEntryInqIfIdsA(entrynamesyntax: u32, entryname: *const u8, ifidvec: *mut *mut RPC_IF_ID_VECTOR) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsMgmtEntryInqIfIdsW(entrynamesyntax: u32, entryname: *const u16, ifidvec: *mut *mut RPC_IF_ID_VECTOR) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsMgmtHandleSetExpAge(nshandle: *mut ::core::ffi::c_void, expirationage: u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsMgmtInqExpAge(expirationage: *mut u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsMgmtSetExpAge(expirationage: u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsProfileDeleteA(profilenamesyntax: u32, profilename: *const u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsProfileDeleteW(profilenamesyntax: u32, profilename: *const u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsProfileEltAddA(profilenamesyntax: u32, profilename: *const u8, ifid: *const RPC_IF_ID, membernamesyntax: u32, membername: *const u8, priority: u32, annotation: *const u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsProfileEltAddW(profilenamesyntax: u32, profilename: *const u16, ifid: *const RPC_IF_ID, membernamesyntax: u32, membername: *const u16, priority: u32, annotation: *const u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsProfileEltInqBeginA(profilenamesyntax: u32, profilename: *const u8, inquirytype: u32, ifid: *const RPC_IF_ID, versoption: u32, membernamesyntax: u32, membername: *const u8, inquirycontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsProfileEltInqBeginW(profilenamesyntax: u32, profilename: *const u16, inquirytype: u32, ifid: *const RPC_IF_ID, versoption: u32, membernamesyntax: u32, membername: *const u16, inquirycontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsProfileEltInqDone(inquirycontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsProfileEltInqNextA(inquirycontext: *const ::core::ffi::c_void, ifid: *mut RPC_IF_ID, membername: *mut *mut u8, priority: *mut u32, annotation: *mut *mut u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsProfileEltInqNextW(inquirycontext: *const ::core::ffi::c_void, ifid: *mut RPC_IF_ID, membername: *mut *mut u16, priority: *mut u32, annotation: *mut *mut u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsProfileEltRemoveA(profilenamesyntax: u32, profilename: *const u8, ifid: *const RPC_IF_ID, membernamesyntax: u32, membername: *const u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcNsProfileEltRemoveW(profilenamesyntax: u32, profilename: *const u16, ifid: *const RPC_IF_ID, membernamesyntax: u32, membername: *const u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcObjectInqType(objuuid: *const ::windows_sys::core::GUID, typeuuid: *mut ::windows_sys::core::GUID) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcObjectSetInqFn(inquiryfn: RPC_OBJECT_INQ_FN) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcObjectSetType(objuuid: *const ::windows_sys::core::GUID, typeuuid: *const ::windows_sys::core::GUID) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcProtseqVectorFreeA(protseqvector: *mut *mut RPC_PROTSEQ_VECTORA) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcProtseqVectorFreeW(protseqvector: *mut *mut RPC_PROTSEQ_VECTORW) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcRaiseException(exception: RPC_STATUS); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcRevertContainerImpersonation() -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcRevertToSelf() -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcRevertToSelfEx(bindinghandle: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerCompleteSecurityCallback(bindinghandle: *const ::core::ffi::c_void, status: RPC_STATUS) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerInqBindingHandle(binding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerInqBindings(bindingvector: *mut *mut RPC_BINDING_VECTOR) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerInqBindingsEx(securitydescriptor: *const ::core::ffi::c_void, bindingvector: *mut *mut RPC_BINDING_VECTOR) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerInqCallAttributesA(clientbinding: *const ::core::ffi::c_void, rpccallattributes: *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerInqCallAttributesW(clientbinding: *const ::core::ffi::c_void, rpccallattributes: *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerInqDefaultPrincNameA(authnsvc: u32, princname: *mut *mut u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerInqDefaultPrincNameW(authnsvc: u32, princname: *mut *mut u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerInqIf(ifspec: *const ::core::ffi::c_void, mgrtypeuuid: *const ::windows_sys::core::GUID, mgrepv: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerInterfaceGroupActivate(ifgroup: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerInterfaceGroupClose(ifgroup: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerInterfaceGroupCreateA(interfaces: *const RPC_INTERFACE_TEMPLATEA, numifs: u32, endpoints: *const RPC_ENDPOINT_TEMPLATEA, numendpoints: u32, idleperiod: u32, idlecallbackfn: RPC_INTERFACE_GROUP_IDLE_CALLBACK_FN, idlecallbackcontext: *const ::core::ffi::c_void, ifgroup: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerInterfaceGroupCreateW(interfaces: *const RPC_INTERFACE_TEMPLATEW, numifs: u32, endpoints: *const RPC_ENDPOINT_TEMPLATEW, numendpoints: u32, idleperiod: u32, idlecallbackfn: RPC_INTERFACE_GROUP_IDLE_CALLBACK_FN, idlecallbackcontext: *const ::core::ffi::c_void, ifgroup: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerInterfaceGroupDeactivate(ifgroup: *const ::core::ffi::c_void, forcedeactivation: u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerInterfaceGroupInqBindings(ifgroup: *const ::core::ffi::c_void, bindingvector: *mut *mut RPC_BINDING_VECTOR) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerListen(minimumcallthreads: u32, maxcalls: u32, dontwait: u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerRegisterAuthInfoA(serverprincname: *const u8, authnsvc: u32, getkeyfn: RPC_AUTH_KEY_RETRIEVAL_FN, arg: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerRegisterAuthInfoW(serverprincname: *const u16, authnsvc: u32, getkeyfn: RPC_AUTH_KEY_RETRIEVAL_FN, arg: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerRegisterIf(ifspec: *const ::core::ffi::c_void, mgrtypeuuid: *const ::windows_sys::core::GUID, mgrepv: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerRegisterIf2(ifspec: *const ::core::ffi::c_void, mgrtypeuuid: *const ::windows_sys::core::GUID, mgrepv: *const ::core::ffi::c_void, flags: u32, maxcalls: u32, maxrpcsize: u32, ifcallbackfn: RPC_IF_CALLBACK_FN) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerRegisterIf3(ifspec: *const ::core::ffi::c_void, mgrtypeuuid: *const ::windows_sys::core::GUID, mgrepv: *const ::core::ffi::c_void, flags: u32, maxcalls: u32, maxrpcsize: u32, ifcallback: RPC_IF_CALLBACK_FN, securitydescriptor: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerRegisterIfEx(ifspec: *const ::core::ffi::c_void, mgrtypeuuid: *const ::windows_sys::core::GUID, mgrepv: *const ::core::ffi::c_void, flags: u32, maxcalls: u32, ifcallback: RPC_IF_CALLBACK_FN) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] pub fn RpcServerSubscribeForNotification(binding: *const ::core::ffi::c_void, notification: RPC_NOTIFICATIONS, notificationtype: RPC_NOTIFICATION_TYPES, notificationinfo: *const RPC_ASYNC_NOTIFICATION_INFO) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerTestCancel(bindinghandle: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerUnregisterIf(ifspec: *const ::core::ffi::c_void, mgrtypeuuid: *const ::windows_sys::core::GUID, waitforcallstocomplete: u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerUnregisterIfEx(ifspec: *const ::core::ffi::c_void, mgrtypeuuid: *const ::windows_sys::core::GUID, rundowncontexthandles: i32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerUnsubscribeForNotification(binding: *const ::core::ffi::c_void, notification: RPC_NOTIFICATIONS, notificationsqueued: *mut u32) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerUseAllProtseqs(maxcalls: u32, securitydescriptor: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerUseAllProtseqsEx(maxcalls: u32, securitydescriptor: *const ::core::ffi::c_void, policy: *const RPC_POLICY) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerUseAllProtseqsIf(maxcalls: u32, ifspec: *const ::core::ffi::c_void, securitydescriptor: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerUseAllProtseqsIfEx(maxcalls: u32, ifspec: *const ::core::ffi::c_void, securitydescriptor: *const ::core::ffi::c_void, policy: *const RPC_POLICY) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerUseProtseqA(protseq: *const u8, maxcalls: u32, securitydescriptor: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerUseProtseqEpA(protseq: *const u8, maxcalls: u32, endpoint: *const u8, securitydescriptor: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerUseProtseqEpExA(protseq: *const u8, maxcalls: u32, endpoint: *const u8, securitydescriptor: *const ::core::ffi::c_void, policy: *const RPC_POLICY) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerUseProtseqEpExW(protseq: *const u16, maxcalls: u32, endpoint: *const u16, securitydescriptor: *const ::core::ffi::c_void, policy: *const RPC_POLICY) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerUseProtseqEpW(protseq: *const u16, maxcalls: u32, endpoint: *const u16, securitydescriptor: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerUseProtseqExA(protseq: *const u8, maxcalls: u32, securitydescriptor: *const ::core::ffi::c_void, policy: *const RPC_POLICY) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerUseProtseqExW(protseq: *const u16, maxcalls: u32, securitydescriptor: *const ::core::ffi::c_void, policy: *const RPC_POLICY) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerUseProtseqIfA(protseq: *const u8, maxcalls: u32, ifspec: *const ::core::ffi::c_void, securitydescriptor: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerUseProtseqIfExA(protseq: *const u8, maxcalls: u32, ifspec: *const ::core::ffi::c_void, securitydescriptor: *const ::core::ffi::c_void, policy: *const RPC_POLICY) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerUseProtseqIfExW(protseq: *const u16, maxcalls: u32, ifspec: *const ::core::ffi::c_void, securitydescriptor: *const ::core::ffi::c_void, policy: *const RPC_POLICY) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerUseProtseqIfW(protseq: *const u16, maxcalls: u32, ifspec: *const ::core::ffi::c_void, securitydescriptor: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerUseProtseqW(protseq: *const u16, maxcalls: u32, securitydescriptor: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcServerYield(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSmAllocate(size: usize, pstatus: *mut RPC_STATUS) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSmClientFree(pnodetofree: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSmDestroyClientContext(contexthandle: *const *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSmDisableAllocate() -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSmEnableAllocate() -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSmFree(nodetofree: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSmGetThreadHandle(pstatus: *mut RPC_STATUS) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSmSetClientAllocFree(clientalloc: RPC_CLIENT_ALLOC, clientfree: RPC_CLIENT_FREE) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSmSetThreadHandle(id: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSmSwapClientAllocFree(clientalloc: RPC_CLIENT_ALLOC, clientfree: RPC_CLIENT_FREE, oldclientalloc: *mut RPC_CLIENT_ALLOC, oldclientfree: *mut RPC_CLIENT_FREE) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSsAllocate(size: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSsContextLockExclusive(serverbindinghandle: *const ::core::ffi::c_void, usercontext: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSsContextLockShared(serverbindinghandle: *const ::core::ffi::c_void, usercontext: *const ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSsDestroyClientContext(contexthandle: *const *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSsDisableAllocate(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSsDontSerializeContext(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSsEnableAllocate(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSsFree(nodetofree: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSsGetContextBinding(contexthandle: *const ::core::ffi::c_void, binding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSsGetThreadHandle() -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSsSetClientAllocFree(clientalloc: RPC_CLIENT_ALLOC, clientfree: RPC_CLIENT_FREE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSsSetThreadHandle(id: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcSsSwapClientAllocFree(clientalloc: RPC_CLIENT_ALLOC, clientfree: RPC_CLIENT_FREE, oldclientalloc: *mut RPC_CLIENT_ALLOC, oldclientfree: *mut RPC_CLIENT_FREE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcStringBindingComposeA(objuuid: *const u8, protseq: *const u8, networkaddr: *const u8, endpoint: *const u8, options: *const u8, stringbinding: *mut *mut u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcStringBindingComposeW(objuuid: *const u16, protseq: *const u16, networkaddr: *const u16, endpoint: *const u16, options: *const u16, stringbinding: *mut *mut u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcStringBindingParseA(stringbinding: *const u8, objuuid: *mut *mut u8, protseq: *mut *mut u8, networkaddr: *mut *mut u8, endpoint: *mut *mut u8, networkoptions: *mut *mut u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcStringBindingParseW(stringbinding: *const u16, objuuid: *mut *mut u16, protseq: *mut *mut u16, networkaddr: *mut *mut u16, endpoint: *mut *mut u16, networkoptions: *mut *mut u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcStringFreeA(string: *mut *mut u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcStringFreeW(string: *mut *mut u16) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcTestCancel() -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn RpcUserFree(asynchandle: *mut ::core::ffi::c_void, pbuffer: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn UuidCompare(uuid1: *const ::windows_sys::core::GUID, uuid2: *const ::windows_sys::core::GUID, status: *mut RPC_STATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn UuidCreate(uuid: *mut ::windows_sys::core::GUID) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn UuidCreateNil(niluuid: *mut ::windows_sys::core::GUID) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn UuidCreateSequential(uuid: *mut ::windows_sys::core::GUID) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn UuidEqual(uuid1: *const ::windows_sys::core::GUID, uuid2: *const ::windows_sys::core::GUID, status: *mut RPC_STATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn UuidFromStringA(stringuuid: *const u8, uuid: *mut ::windows_sys::core::GUID) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn UuidFromStringW(stringuuid: *const u16, uuid: *mut ::windows_sys::core::GUID) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn UuidHash(uuid: *const ::windows_sys::core::GUID, status: *mut RPC_STATUS) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn UuidIsNil(uuid: *const ::windows_sys::core::GUID, status: *mut RPC_STATUS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn UuidToStringA(uuid: *const ::windows_sys::core::GUID, stringuuid: *mut *mut u8) -> RPC_STATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] pub fn UuidToStringW(uuid: *const ::windows_sys::core::GUID, stringuuid: *mut *mut u16) -> RPC_STATUS; } diff --git a/crates/libs/sys/src/Windows/Win32/System/Search/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Search/mod.rs index b44e7f7ad2..efba56e993 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Search/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Search/mod.rs @@ -4,488 +4,1118 @@ pub mod Common; extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn ODBCGetTryWaitValue() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ODBCSetTryWaitValue(dwvalue: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLAllocConnect(environmenthandle: *mut ::core::ffi::c_void, connectionhandle: *mut *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLAllocEnv(environmenthandle: *mut *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLAllocHandle(handletype: i16, inputhandle: *mut ::core::ffi::c_void, outputhandle: *mut *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLAllocHandleStd(fhandletype: i16, hinput: *mut ::core::ffi::c_void, phoutput: *mut *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLAllocStmt(connectionhandle: *mut ::core::ffi::c_void, statementhandle: *mut *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLBindCol(statementhandle: *mut ::core::ffi::c_void, columnnumber: u16, targettype: i16, targetvalue: *mut ::core::ffi::c_void, bufferlength: i64, strlen_or_ind: *mut i64) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLBindCol(statementhandle: *mut ::core::ffi::c_void, columnnumber: u16, targettype: i16, targetvalue: *mut ::core::ffi::c_void, bufferlength: i32, strlen_or_ind: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLBindParam(statementhandle: *mut ::core::ffi::c_void, parameternumber: u16, valuetype: i16, parametertype: i16, lengthprecision: u64, parameterscale: i16, parametervalue: *mut ::core::ffi::c_void, strlen_or_ind: *mut i64) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLBindParam(statementhandle: *mut ::core::ffi::c_void, parameternumber: u16, valuetype: i16, parametertype: i16, lengthprecision: u32, parameterscale: i16, parametervalue: *mut ::core::ffi::c_void, strlen_or_ind: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLBindParameter(hstmt: *mut ::core::ffi::c_void, ipar: u16, fparamtype: i16, fctype: i16, fsqltype: i16, cbcoldef: u64, ibscale: i16, rgbvalue: *mut ::core::ffi::c_void, cbvaluemax: i64, pcbvalue: *mut i64) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLBindParameter(hstmt: *mut ::core::ffi::c_void, ipar: u16, fparamtype: i16, fctype: i16, fsqltype: i16, cbcoldef: u32, ibscale: i16, rgbvalue: *mut ::core::ffi::c_void, cbvaluemax: i32, pcbvalue: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLBrowseConnect(hdbc: *mut ::core::ffi::c_void, szconnstrin: *const u8, cchconnstrin: i16, szconnstrout: *mut u8, cchconnstroutmax: i16, pcchconnstrout: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLBrowseConnectA(hdbc: *mut ::core::ffi::c_void, szconnstrin: *const u8, cbconnstrin: i16, szconnstrout: *mut u8, cbconnstroutmax: i16, pcbconnstrout: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLBrowseConnectW(hdbc: *mut ::core::ffi::c_void, szconnstrin: *const u16, cchconnstrin: i16, szconnstrout: *mut u16, cchconnstroutmax: i16, pcchconnstrout: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLBulkOperations(statementhandle: *mut ::core::ffi::c_void, operation: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLCancel(statementhandle: *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLCancelHandle(handletype: i16, inputhandle: *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLCloseCursor(statementhandle: *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SQLCloseEnumServers(henumhandle: super::super::Foundation::HANDLE) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLColAttribute(statementhandle: *mut ::core::ffi::c_void, columnnumber: u16, fieldidentifier: u16, characterattribute: *mut ::core::ffi::c_void, bufferlength: i16, stringlength: *mut i16, numericattribute: *mut i64) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLColAttribute(statementhandle: *mut ::core::ffi::c_void, columnnumber: u16, fieldidentifier: u16, characterattribute: *mut ::core::ffi::c_void, bufferlength: i16, stringlength: *mut i16, numericattribute: *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLColAttributeA(hstmt: *mut ::core::ffi::c_void, icol: i16, ifield: i16, pcharattr: *mut ::core::ffi::c_void, cbcharattrmax: i16, pcbcharattr: *mut i16, pnumattr: *mut i64) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLColAttributeA(hstmt: *mut ::core::ffi::c_void, icol: i16, ifield: i16, pcharattr: *mut ::core::ffi::c_void, cbcharattrmax: i16, pcbcharattr: *mut i16, pnumattr: *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLColAttributeW(hstmt: *mut ::core::ffi::c_void, icol: u16, ifield: u16, pcharattr: *mut ::core::ffi::c_void, cbdescmax: i16, pcbcharattr: *mut i16, pnumattr: *mut i64) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLColAttributeW(hstmt: *mut ::core::ffi::c_void, icol: u16, ifield: u16, pcharattr: *mut ::core::ffi::c_void, cbdescmax: i16, pcbcharattr: *mut i16, pnumattr: *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLColAttributes(hstmt: *mut ::core::ffi::c_void, icol: u16, fdesctype: u16, rgbdesc: *mut ::core::ffi::c_void, cbdescmax: i16, pcbdesc: *mut i16, pfdesc: *mut i64) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLColAttributes(hstmt: *mut ::core::ffi::c_void, icol: u16, fdesctype: u16, rgbdesc: *mut ::core::ffi::c_void, cbdescmax: i16, pcbdesc: *mut i16, pfdesc: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLColAttributesA(hstmt: *mut ::core::ffi::c_void, icol: u16, fdesctype: u16, rgbdesc: *mut ::core::ffi::c_void, cbdescmax: i16, pcbdesc: *mut i16, pfdesc: *mut i64) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLColAttributesA(hstmt: *mut ::core::ffi::c_void, icol: u16, fdesctype: u16, rgbdesc: *mut ::core::ffi::c_void, cbdescmax: i16, pcbdesc: *mut i16, pfdesc: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLColAttributesW(hstmt: *mut ::core::ffi::c_void, icol: u16, fdesctype: u16, rgbdesc: *mut ::core::ffi::c_void, cbdescmax: i16, pcbdesc: *mut i16, pfdesc: *mut i64) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLColAttributesW(hstmt: *mut ::core::ffi::c_void, icol: u16, fdesctype: u16, rgbdesc: *mut ::core::ffi::c_void, cbdescmax: i16, pcbdesc: *mut i16, pfdesc: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLColumnPrivileges(hstmt: *mut ::core::ffi::c_void, szcatalogname: *const u8, cchcatalogname: i16, szschemaname: *const u8, cchschemaname: i16, sztablename: *const u8, cchtablename: i16, szcolumnname: *const u8, cchcolumnname: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLColumnPrivilegesA(hstmt: *mut ::core::ffi::c_void, szcatalogname: *const u8, cbcatalogname: i16, szschemaname: *const u8, cbschemaname: i16, sztablename: *const u8, cbtablename: i16, szcolumnname: *const u8, cbcolumnname: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLColumnPrivilegesW(hstmt: *mut ::core::ffi::c_void, szcatalogname: *const u16, cchcatalogname: i16, szschemaname: *const u16, cchschemaname: i16, sztablename: *const u16, cchtablename: i16, szcolumnname: *const u16, cchcolumnname: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLColumns(statementhandle: *mut ::core::ffi::c_void, catalogname: *const u8, namelength1: i16, schemaname: *const u8, namelength2: i16, tablename: *const u8, namelength3: i16, columnname: *const u8, namelength4: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLColumnsA(hstmt: *mut ::core::ffi::c_void, szcatalogname: *const u8, cbcatalogname: i16, szschemaname: *const u8, cbschemaname: i16, sztablename: *const u8, cbtablename: i16, szcolumnname: *const u8, cbcolumnname: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLColumnsW(hstmt: *mut ::core::ffi::c_void, szcatalogname: *const u16, cchcatalogname: i16, szschemaname: *const u16, cchschemaname: i16, sztablename: *const u16, cchtablename: i16, szcolumnname: *const u16, cchcolumnname: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLCompleteAsync(handletype: i16, handle: *mut ::core::ffi::c_void, asyncretcodeptr: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLConnect(connectionhandle: *mut ::core::ffi::c_void, servername: *const u8, namelength1: i16, username: *const u8, namelength2: i16, authentication: *const u8, namelength3: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLConnectA(hdbc: *mut ::core::ffi::c_void, szdsn: *const u8, cbdsn: i16, szuid: *const u8, cbuid: i16, szauthstr: *const u8, cbauthstr: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLConnectW(hdbc: *mut ::core::ffi::c_void, szdsn: *const u16, cchdsn: i16, szuid: *const u16, cchuid: i16, szauthstr: *const u16, cchauthstr: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLCopyDesc(sourcedeschandle: *mut ::core::ffi::c_void, targetdeschandle: *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLDataSources(environmenthandle: *mut ::core::ffi::c_void, direction: u16, servername: *mut u8, bufferlength1: i16, namelength1ptr: *mut i16, description: *mut u8, bufferlength2: i16, namelength2ptr: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLDataSourcesA(henv: *mut ::core::ffi::c_void, fdirection: u16, szdsn: *mut u8, cbdsnmax: i16, pcbdsn: *mut i16, szdescription: *mut u8, cbdescriptionmax: i16, pcbdescription: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLDataSourcesW(henv: *mut ::core::ffi::c_void, fdirection: u16, szdsn: *mut u16, cchdsnmax: i16, pcchdsn: *mut i16, wszdescription: *mut u16, cchdescriptionmax: i16, pcchdescription: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLDescribeCol(statementhandle: *mut ::core::ffi::c_void, columnnumber: u16, columnname: *mut u8, bufferlength: i16, namelength: *mut i16, datatype: *mut i16, columnsize: *mut u64, decimaldigits: *mut i16, nullable: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLDescribeCol(statementhandle: *mut ::core::ffi::c_void, columnnumber: u16, columnname: *mut u8, bufferlength: i16, namelength: *mut i16, datatype: *mut i16, columnsize: *mut u32, decimaldigits: *mut i16, nullable: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLDescribeColA(hstmt: *mut ::core::ffi::c_void, icol: u16, szcolname: *mut u8, cbcolnamemax: i16, pcbcolname: *mut i16, pfsqltype: *mut i16, pcbcoldef: *mut u64, pibscale: *mut i16, pfnullable: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLDescribeColA(hstmt: *mut ::core::ffi::c_void, icol: u16, szcolname: *mut u8, cbcolnamemax: i16, pcbcolname: *mut i16, pfsqltype: *mut i16, pcbcoldef: *mut u32, pibscale: *mut i16, pfnullable: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLDescribeColW(hstmt: *mut ::core::ffi::c_void, icol: u16, szcolname: *mut u16, cchcolnamemax: i16, pcchcolname: *mut i16, pfsqltype: *mut i16, pcbcoldef: *mut u64, pibscale: *mut i16, pfnullable: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLDescribeColW(hstmt: *mut ::core::ffi::c_void, icol: u16, szcolname: *mut u16, cchcolnamemax: i16, pcchcolname: *mut i16, pfsqltype: *mut i16, pcbcoldef: *mut u32, pibscale: *mut i16, pfnullable: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLDescribeParam(hstmt: *mut ::core::ffi::c_void, ipar: u16, pfsqltype: *mut i16, pcbparamdef: *mut u64, pibscale: *mut i16, pfnullable: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLDescribeParam(hstmt: *mut ::core::ffi::c_void, ipar: u16, pfsqltype: *mut i16, pcbparamdef: *mut u32, pibscale: *mut i16, pfnullable: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLDisconnect(connectionhandle: *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLDriverConnect(hdbc: *mut ::core::ffi::c_void, hwnd: isize, szconnstrin: *const u8, cchconnstrin: i16, szconnstrout: *mut u8, cchconnstroutmax: i16, pcchconnstrout: *mut i16, fdrivercompletion: u16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLDriverConnectA(hdbc: *mut ::core::ffi::c_void, hwnd: isize, szconnstrin: *const u8, cbconnstrin: i16, szconnstrout: *mut u8, cbconnstroutmax: i16, pcbconnstrout: *mut i16, fdrivercompletion: u16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLDriverConnectW(hdbc: *mut ::core::ffi::c_void, hwnd: isize, szconnstrin: *const u16, cchconnstrin: i16, szconnstrout: *mut u16, cchconnstroutmax: i16, pcchconnstrout: *mut i16, fdrivercompletion: u16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLDrivers(henv: *mut ::core::ffi::c_void, fdirection: u16, szdriverdesc: *mut u8, cchdriverdescmax: i16, pcchdriverdesc: *mut i16, szdriverattributes: *mut u8, cchdrvrattrmax: i16, pcchdrvrattr: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLDriversA(henv: *mut ::core::ffi::c_void, fdirection: u16, szdriverdesc: *mut u8, cbdriverdescmax: i16, pcbdriverdesc: *mut i16, szdriverattributes: *mut u8, cbdrvrattrmax: i16, pcbdrvrattr: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLDriversW(henv: *mut ::core::ffi::c_void, fdirection: u16, szdriverdesc: *mut u16, cchdriverdescmax: i16, pcchdriverdesc: *mut i16, szdriverattributes: *mut u16, cchdrvrattrmax: i16, pcchdrvrattr: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLEndTran(handletype: i16, handle: *mut ::core::ffi::c_void, completiontype: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLError(environmenthandle: *mut ::core::ffi::c_void, connectionhandle: *mut ::core::ffi::c_void, statementhandle: *mut ::core::ffi::c_void, sqlstate: *mut u8, nativeerror: *mut i32, messagetext: *mut u8, bufferlength: i16, textlength: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLErrorA(henv: *mut ::core::ffi::c_void, hdbc: *mut ::core::ffi::c_void, hstmt: *mut ::core::ffi::c_void, szsqlstate: *mut u8, pfnativeerror: *mut i32, szerrormsg: *mut u8, cberrormsgmax: i16, pcberrormsg: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLErrorW(henv: *mut ::core::ffi::c_void, hdbc: *mut ::core::ffi::c_void, hstmt: *mut ::core::ffi::c_void, wszsqlstate: *mut u16, pfnativeerror: *mut i32, wszerrormsg: *mut u16, ccherrormsgmax: i16, pccherrormsg: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLExecDirect(statementhandle: *mut ::core::ffi::c_void, statementtext: *const u8, textlength: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLExecDirectA(hstmt: *mut ::core::ffi::c_void, szsqlstr: *const u8, cbsqlstr: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLExecDirectW(hstmt: *mut ::core::ffi::c_void, szsqlstr: *const u16, textlength: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLExecute(statementhandle: *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLExtendedFetch(hstmt: *mut ::core::ffi::c_void, ffetchtype: u16, irow: i64, pcrow: *mut u64, rgfrowstatus: *mut u16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLExtendedFetch(hstmt: *mut ::core::ffi::c_void, ffetchtype: u16, irow: i32, pcrow: *mut u32, rgfrowstatus: *mut u16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLFetch(statementhandle: *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLFetchScroll(statementhandle: *mut ::core::ffi::c_void, fetchorientation: i16, fetchoffset: i64) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLFetchScroll(statementhandle: *mut ::core::ffi::c_void, fetchorientation: i16, fetchoffset: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLForeignKeys(hstmt: *mut ::core::ffi::c_void, szpkcatalogname: *const u8, cchpkcatalogname: i16, szpkschemaname: *const u8, cchpkschemaname: i16, szpktablename: *const u8, cchpktablename: i16, szfkcatalogname: *const u8, cchfkcatalogname: i16, szfkschemaname: *const u8, cchfkschemaname: i16, szfktablename: *const u8, cchfktablename: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLForeignKeysA(hstmt: *mut ::core::ffi::c_void, szpkcatalogname: *const u8, cbpkcatalogname: i16, szpkschemaname: *const u8, cbpkschemaname: i16, szpktablename: *const u8, cbpktablename: i16, szfkcatalogname: *const u8, cbfkcatalogname: i16, szfkschemaname: *const u8, cbfkschemaname: i16, szfktablename: *const u8, cbfktablename: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLForeignKeysW(hstmt: *mut ::core::ffi::c_void, szpkcatalogname: *const u16, cchpkcatalogname: i16, szpkschemaname: *const u16, cchpkschemaname: i16, szpktablename: *const u16, cchpktablename: i16, szfkcatalogname: *const u16, cchfkcatalogname: i16, szfkschemaname: *const u16, cchfkschemaname: i16, szfktablename: *const u16, cchfktablename: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLFreeConnect(connectionhandle: *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLFreeEnv(environmenthandle: *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLFreeHandle(handletype: i16, handle: *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLFreeStmt(statementhandle: *mut ::core::ffi::c_void, option: u16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetConnectAttr(connectionhandle: *mut ::core::ffi::c_void, attribute: i32, value: *mut ::core::ffi::c_void, bufferlength: i32, stringlengthptr: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetConnectAttrA(hdbc: *mut ::core::ffi::c_void, fattribute: i32, rgbvalue: *mut ::core::ffi::c_void, cbvaluemax: i32, pcbvalue: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetConnectAttrW(hdbc: *mut ::core::ffi::c_void, fattribute: i32, rgbvalue: *mut ::core::ffi::c_void, cbvaluemax: i32, pcbvalue: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetConnectOption(connectionhandle: *mut ::core::ffi::c_void, option: u16, value: *mut ::core::ffi::c_void) -> i16; - #[doc = "*Required features: `\"Win32_System_Search\"`*"] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetConnectOptionA(hdbc: *mut ::core::ffi::c_void, foption: u16, pvparam: *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetConnectOptionW(hdbc: *mut ::core::ffi::c_void, foption: u16, pvparam: *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetCursorName(statementhandle: *mut ::core::ffi::c_void, cursorname: *mut u8, bufferlength: i16, namelengthptr: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetCursorNameA(hstmt: *mut ::core::ffi::c_void, szcursor: *mut u8, cbcursormax: i16, pcbcursor: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetCursorNameW(hstmt: *mut ::core::ffi::c_void, szcursor: *mut u16, cchcursormax: i16, pcchcursor: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLGetData(statementhandle: *mut ::core::ffi::c_void, columnnumber: u16, targettype: i16, targetvalue: *mut ::core::ffi::c_void, bufferlength: i64, strlen_or_indptr: *mut i64) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLGetData(statementhandle: *mut ::core::ffi::c_void, columnnumber: u16, targettype: i16, targetvalue: *mut ::core::ffi::c_void, bufferlength: i32, strlen_or_indptr: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetDescField(descriptorhandle: *mut ::core::ffi::c_void, recnumber: i16, fieldidentifier: i16, value: *mut ::core::ffi::c_void, bufferlength: i32, stringlength: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetDescFieldA(hdesc: *mut ::core::ffi::c_void, irecord: i16, ifield: i16, rgbvalue: *mut ::core::ffi::c_void, cbbufferlength: i32, stringlength: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetDescFieldW(hdesc: *mut ::core::ffi::c_void, irecord: i16, ifield: i16, rgbvalue: *mut ::core::ffi::c_void, cbbufferlength: i32, stringlength: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLGetDescRec(descriptorhandle: *mut ::core::ffi::c_void, recnumber: i16, name: *mut u8, bufferlength: i16, stringlengthptr: *mut i16, typeptr: *mut i16, subtypeptr: *mut i16, lengthptr: *mut i64, precisionptr: *mut i16, scaleptr: *mut i16, nullableptr: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLGetDescRec(descriptorhandle: *mut ::core::ffi::c_void, recnumber: i16, name: *mut u8, bufferlength: i16, stringlengthptr: *mut i16, typeptr: *mut i16, subtypeptr: *mut i16, lengthptr: *mut i32, precisionptr: *mut i16, scaleptr: *mut i16, nullableptr: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLGetDescRecA(hdesc: *mut ::core::ffi::c_void, irecord: i16, szname: *mut u8, cbnamemax: i16, pcbname: *mut i16, pftype: *mut i16, pfsubtype: *mut i16, plength: *mut i64, pprecision: *mut i16, pscale: *mut i16, pnullable: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLGetDescRecA(hdesc: *mut ::core::ffi::c_void, irecord: i16, szname: *mut u8, cbnamemax: i16, pcbname: *mut i16, pftype: *mut i16, pfsubtype: *mut i16, plength: *mut i32, pprecision: *mut i16, pscale: *mut i16, pnullable: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLGetDescRecW(hdesc: *mut ::core::ffi::c_void, irecord: i16, szname: *mut u16, cchnamemax: i16, pcchname: *mut i16, pftype: *mut i16, pfsubtype: *mut i16, plength: *mut i64, pprecision: *mut i16, pscale: *mut i16, pnullable: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLGetDescRecW(hdesc: *mut ::core::ffi::c_void, irecord: i16, szname: *mut u16, cchnamemax: i16, pcchname: *mut i16, pftype: *mut i16, pfsubtype: *mut i16, plength: *mut i32, pprecision: *mut i16, pscale: *mut i16, pnullable: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetDiagField(handletype: i16, handle: *mut ::core::ffi::c_void, recnumber: i16, diagidentifier: i16, diaginfo: *mut ::core::ffi::c_void, bufferlength: i16, stringlength: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetDiagFieldA(fhandletype: i16, handle: *mut ::core::ffi::c_void, irecord: i16, fdiagfield: i16, rgbdiaginfo: *mut ::core::ffi::c_void, cbdiaginfomax: i16, pcbdiaginfo: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetDiagFieldW(fhandletype: i16, handle: *mut ::core::ffi::c_void, irecord: i16, fdiagfield: i16, rgbdiaginfo: *mut ::core::ffi::c_void, cbbufferlength: i16, pcbstringlength: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetDiagRec(handletype: i16, handle: *mut ::core::ffi::c_void, recnumber: i16, sqlstate: *mut u8, nativeerror: *mut i32, messagetext: *mut u8, bufferlength: i16, textlength: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetDiagRecA(fhandletype: i16, handle: *mut ::core::ffi::c_void, irecord: i16, szsqlstate: *mut u8, pfnativeerror: *mut i32, szerrormsg: *mut u8, cberrormsgmax: i16, pcberrormsg: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetDiagRecW(fhandletype: i16, handle: *mut ::core::ffi::c_void, irecord: i16, szsqlstate: *mut u16, pfnativeerror: *mut i32, szerrormsg: *mut u16, ccherrormsgmax: i16, pccherrormsg: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetEnvAttr(environmenthandle: *mut ::core::ffi::c_void, attribute: i32, value: *mut ::core::ffi::c_void, bufferlength: i32, stringlength: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetFunctions(connectionhandle: *mut ::core::ffi::c_void, functionid: u16, supported: *mut u16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetInfo(connectionhandle: *mut ::core::ffi::c_void, infotype: u16, infovalue: *mut ::core::ffi::c_void, bufferlength: i16, stringlengthptr: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetInfoA(hdbc: *mut ::core::ffi::c_void, finfotype: u16, rgbinfovalue: *mut ::core::ffi::c_void, cbinfovaluemax: i16, pcbinfovalue: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetInfoW(hdbc: *mut ::core::ffi::c_void, finfotype: u16, rgbinfovalue: *mut ::core::ffi::c_void, cbinfovaluemax: i16, pcbinfovalue: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SQLGetNextEnumeration(henumhandle: super::super::Foundation::HANDLE, prgenumdata: *mut u8, pienumlength: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetStmtAttr(statementhandle: *mut ::core::ffi::c_void, attribute: i32, value: *mut ::core::ffi::c_void, bufferlength: i32, stringlength: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetStmtAttrA(hstmt: *mut ::core::ffi::c_void, fattribute: i32, rgbvalue: *mut ::core::ffi::c_void, cbvaluemax: i32, pcbvalue: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetStmtAttrW(hstmt: *mut ::core::ffi::c_void, fattribute: i32, rgbvalue: *mut ::core::ffi::c_void, cbvaluemax: i32, pcbvalue: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetStmtOption(statementhandle: *mut ::core::ffi::c_void, option: u16, value: *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetTypeInfo(statementhandle: *mut ::core::ffi::c_void, datatype: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetTypeInfoA(statementhandle: *mut ::core::ffi::c_void, datatype: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLGetTypeInfoW(statementhandle: *mut ::core::ffi::c_void, datatype: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SQLInitEnumServers(pwchservername: ::windows_sys::core::PCWSTR, pwchinstancename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLLinkedCatalogsA(param0: *mut ::core::ffi::c_void, param1: ::windows_sys::core::PCSTR, param2: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLLinkedCatalogsW(param0: *mut ::core::ffi::c_void, param1: ::windows_sys::core::PCWSTR, param2: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLLinkedServers(param0: *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLMoreResults(hstmt: *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLNativeSql(hdbc: *mut ::core::ffi::c_void, szsqlstrin: *const u8, cchsqlstrin: i32, szsqlstr: *mut u8, cchsqlstrmax: i32, pcbsqlstr: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLNativeSqlA(hdbc: *mut ::core::ffi::c_void, szsqlstrin: *const u8, cbsqlstrin: i32, szsqlstr: *mut u8, cbsqlstrmax: i32, pcbsqlstr: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLNativeSqlW(hdbc: *mut ::core::ffi::c_void, szsqlstrin: *const u16, cchsqlstrin: i32, szsqlstr: *mut u16, cchsqlstrmax: i32, pcchsqlstr: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLNumParams(hstmt: *mut ::core::ffi::c_void, pcpar: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLNumResultCols(statementhandle: *mut ::core::ffi::c_void, columncount: *mut i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLParamData(statementhandle: *mut ::core::ffi::c_void, value: *mut *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLParamOptions(hstmt: *mut ::core::ffi::c_void, crow: u64, pirow: *mut u64) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLParamOptions(hstmt: *mut ::core::ffi::c_void, crow: u32, pirow: *mut u32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLPrepare(statementhandle: *mut ::core::ffi::c_void, statementtext: *const u8, textlength: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLPrepareA(hstmt: *mut ::core::ffi::c_void, szsqlstr: *const u8, cbsqlstr: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLPrepareW(hstmt: *mut ::core::ffi::c_void, szsqlstr: *const u16, cchsqlstr: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLPrimaryKeys(hstmt: *mut ::core::ffi::c_void, szcatalogname: *const u8, cchcatalogname: i16, szschemaname: *const u8, cchschemaname: i16, sztablename: *const u8, cchtablename: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLPrimaryKeysA(hstmt: *mut ::core::ffi::c_void, szcatalogname: *const u8, cbcatalogname: i16, szschemaname: *const u8, cbschemaname: i16, sztablename: *const u8, cbtablename: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLPrimaryKeysW(hstmt: *mut ::core::ffi::c_void, szcatalogname: *const u16, cchcatalogname: i16, szschemaname: *const u16, cchschemaname: i16, sztablename: *const u16, cchtablename: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLProcedureColumns(hstmt: *mut ::core::ffi::c_void, szcatalogname: *const u8, cchcatalogname: i16, szschemaname: *const u8, cchschemaname: i16, szprocname: *const u8, cchprocname: i16, szcolumnname: *const u8, cchcolumnname: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLProcedureColumnsA(hstmt: *mut ::core::ffi::c_void, szcatalogname: *const u8, cbcatalogname: i16, szschemaname: *const u8, cbschemaname: i16, szprocname: *const u8, cbprocname: i16, szcolumnname: *const u8, cbcolumnname: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLProcedureColumnsW(hstmt: *mut ::core::ffi::c_void, szcatalogname: *const u16, cchcatalogname: i16, szschemaname: *const u16, cchschemaname: i16, szprocname: *const u16, cchprocname: i16, szcolumnname: *const u16, cchcolumnname: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLProcedures(hstmt: *mut ::core::ffi::c_void, szcatalogname: *const u8, cchcatalogname: i16, szschemaname: *const u8, cchschemaname: i16, szprocname: *const u8, cchprocname: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLProceduresA(hstmt: *mut ::core::ffi::c_void, szcatalogname: *const u8, cbcatalogname: i16, szschemaname: *const u8, cbschemaname: i16, szprocname: *const u8, cbprocname: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLProceduresW(hstmt: *mut ::core::ffi::c_void, szcatalogname: *const u16, cchcatalogname: i16, szschemaname: *const u16, cchschemaname: i16, szprocname: *const u16, cchprocname: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLPutData(statementhandle: *mut ::core::ffi::c_void, data: *const ::core::ffi::c_void, strlen_or_ind: i64) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLPutData(statementhandle: *mut ::core::ffi::c_void, data: *const ::core::ffi::c_void, strlen_or_ind: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLRowCount(statementhandle: *const ::core::ffi::c_void, rowcount: *mut i64) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLRowCount(statementhandle: *const ::core::ffi::c_void, rowcount: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLSetConnectAttr(connectionhandle: *mut ::core::ffi::c_void, attribute: i32, value: *const ::core::ffi::c_void, stringlength: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLSetConnectAttrA(hdbc: *mut ::core::ffi::c_void, fattribute: i32, rgbvalue: *const ::core::ffi::c_void, cbvalue: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLSetConnectAttrW(hdbc: *mut ::core::ffi::c_void, fattribute: i32, rgbvalue: *const ::core::ffi::c_void, cbvalue: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLSetConnectOption(connectionhandle: *mut ::core::ffi::c_void, option: u16, value: u64) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLSetConnectOption(connectionhandle: *mut ::core::ffi::c_void, option: u16, value: u32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLSetConnectOptionA(hdbc: *mut ::core::ffi::c_void, foption: u16, vparam: u64) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLSetConnectOptionA(hdbc: *mut ::core::ffi::c_void, foption: u16, vparam: u32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLSetConnectOptionW(hdbc: *mut ::core::ffi::c_void, foption: u16, vparam: u64) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLSetConnectOptionW(hdbc: *mut ::core::ffi::c_void, foption: u16, vparam: u32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLSetCursorName(statementhandle: *mut ::core::ffi::c_void, cursorname: *const u8, namelength: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLSetCursorNameA(hstmt: *mut ::core::ffi::c_void, szcursor: *const u8, cbcursor: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLSetCursorNameW(hstmt: *mut ::core::ffi::c_void, szcursor: *const u16, cchcursor: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLSetDescField(descriptorhandle: *mut ::core::ffi::c_void, recnumber: i16, fieldidentifier: i16, value: *const ::core::ffi::c_void, bufferlength: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLSetDescFieldW(descriptorhandle: *mut ::core::ffi::c_void, recnumber: i16, fieldidentifier: i16, value: *mut ::core::ffi::c_void, bufferlength: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLSetDescRec(descriptorhandle: *mut ::core::ffi::c_void, recnumber: i16, r#type: i16, subtype: i16, length: i64, precision: i16, scale: i16, data: *mut ::core::ffi::c_void, stringlength: *mut i64, indicator: *mut i64) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLSetDescRec(descriptorhandle: *mut ::core::ffi::c_void, recnumber: i16, r#type: i16, subtype: i16, length: i32, precision: i16, scale: i16, data: *mut ::core::ffi::c_void, stringlength: *mut i32, indicator: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLSetEnvAttr(environmenthandle: *mut ::core::ffi::c_void, attribute: i32, value: *const ::core::ffi::c_void, stringlength: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLSetParam(statementhandle: *mut ::core::ffi::c_void, parameternumber: u16, valuetype: i16, parametertype: i16, lengthprecision: u64, parameterscale: i16, parametervalue: *const ::core::ffi::c_void, strlen_or_ind: *mut i64) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLSetParam(statementhandle: *mut ::core::ffi::c_void, parameternumber: u16, valuetype: i16, parametertype: i16, lengthprecision: u32, parameterscale: i16, parametervalue: *const ::core::ffi::c_void, strlen_or_ind: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLSetPos(hstmt: *mut ::core::ffi::c_void, irow: u64, foption: u16, flock: u16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLSetPos(hstmt: *mut ::core::ffi::c_void, irow: u16, foption: u16, flock: u16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLSetScrollOptions(hstmt: *mut ::core::ffi::c_void, fconcurrency: u16, crowkeyset: i64, crowrowset: u16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLSetScrollOptions(hstmt: *mut ::core::ffi::c_void, fconcurrency: u16, crowkeyset: i32, crowrowset: u16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLSetStmtAttr(statementhandle: *mut ::core::ffi::c_void, attribute: i32, value: *const ::core::ffi::c_void, stringlength: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLSetStmtAttrW(hstmt: *mut ::core::ffi::c_void, fattribute: i32, rgbvalue: *mut ::core::ffi::c_void, cbvaluemax: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn SQLSetStmtOption(statementhandle: *mut ::core::ffi::c_void, option: u16, value: u64) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] pub fn SQLSetStmtOption(statementhandle: *mut ::core::ffi::c_void, option: u16, value: u32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLSpecialColumns(statementhandle: *mut ::core::ffi::c_void, identifiertype: u16, catalogname: *const u8, namelength1: i16, schemaname: *const u8, namelength2: i16, tablename: *const u8, namelength3: i16, scope: u16, nullable: u16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLSpecialColumnsA(hstmt: *mut ::core::ffi::c_void, fcoltype: u16, szcatalogname: *const u8, cbcatalogname: i16, szschemaname: *const u8, cbschemaname: i16, sztablename: *const u8, cbtablename: i16, fscope: u16, fnullable: u16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLSpecialColumnsW(hstmt: *mut ::core::ffi::c_void, fcoltype: u16, szcatalogname: *const u16, cchcatalogname: i16, szschemaname: *const u16, cchschemaname: i16, sztablename: *const u16, cchtablename: i16, fscope: u16, fnullable: u16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLStatistics(statementhandle: *mut ::core::ffi::c_void, catalogname: *const u8, namelength1: i16, schemaname: *const u8, namelength2: i16, tablename: *const u8, namelength3: i16, unique: u16, reserved: u16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLStatisticsA(hstmt: *mut ::core::ffi::c_void, szcatalogname: *const u8, cbcatalogname: i16, szschemaname: *const u8, cbschemaname: i16, sztablename: *const u8, cbtablename: i16, funique: u16, faccuracy: u16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLStatisticsW(hstmt: *mut ::core::ffi::c_void, szcatalogname: *const u16, cchcatalogname: i16, szschemaname: *const u16, cchschemaname: i16, sztablename: *const u16, cchtablename: i16, funique: u16, faccuracy: u16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLTablePrivileges(hstmt: *mut ::core::ffi::c_void, szcatalogname: *const u8, cchcatalogname: i16, szschemaname: *const u8, cchschemaname: i16, sztablename: *const u8, cchtablename: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLTablePrivilegesA(hstmt: *mut ::core::ffi::c_void, szcatalogname: *const u8, cbcatalogname: i16, szschemaname: *const u8, cbschemaname: i16, sztablename: *const u8, cbtablename: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLTablePrivilegesW(hstmt: *mut ::core::ffi::c_void, szcatalogname: *const u16, cchcatalogname: i16, szschemaname: *const u16, cchschemaname: i16, sztablename: *const u16, cchtablename: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLTables(statementhandle: *mut ::core::ffi::c_void, catalogname: *const u8, namelength1: i16, schemaname: *const u8, namelength2: i16, tablename: *const u8, namelength3: i16, tabletype: *const u8, namelength4: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLTablesA(hstmt: *mut ::core::ffi::c_void, szcatalogname: *const u8, cbcatalogname: i16, szschemaname: *const u8, cbschemaname: i16, sztablename: *const u8, cbtablename: i16, sztabletype: *const u8, cbtabletype: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLTablesW(hstmt: *mut ::core::ffi::c_void, szcatalogname: *const u16, cchcatalogname: i16, szschemaname: *const u16, cchschemaname: i16, sztablename: *const u16, cchtablename: i16, sztabletype: *const u16, cchtabletype: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn SQLTransact(environmenthandle: *mut ::core::ffi::c_void, connectionhandle: *mut ::core::ffi::c_void, completiontype: u16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn bcp_batch(param0: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn bcp_bind(param0: *mut ::core::ffi::c_void, param1: *mut u8, param2: i32, param3: i32, param4: *mut u8, param5: i32, param6: i32, param7: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn bcp_colfmt(param0: *mut ::core::ffi::c_void, param1: i32, param2: u8, param3: i32, param4: i32, param5: *mut u8, param6: i32, param7: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn bcp_collen(param0: *mut ::core::ffi::c_void, param1: i32, param2: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn bcp_colptr(param0: *mut ::core::ffi::c_void, param1: *mut u8, param2: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn bcp_columns(param0: *mut ::core::ffi::c_void, param1: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn bcp_control(param0: *mut ::core::ffi::c_void, param1: i32, param2: *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn bcp_done(param0: *mut ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn bcp_exec(param0: *mut ::core::ffi::c_void, param1: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn bcp_getcolfmt(param0: *mut ::core::ffi::c_void, param1: i32, param2: i32, param3: *mut ::core::ffi::c_void, param4: i32, param5: *mut i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn bcp_initA(param0: *mut ::core::ffi::c_void, param1: ::windows_sys::core::PCSTR, param2: ::windows_sys::core::PCSTR, param3: ::windows_sys::core::PCSTR, param4: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn bcp_initW(param0: *mut ::core::ffi::c_void, param1: ::windows_sys::core::PCWSTR, param2: ::windows_sys::core::PCWSTR, param3: ::windows_sys::core::PCWSTR, param4: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn bcp_moretext(param0: *mut ::core::ffi::c_void, param1: i32, param2: *mut u8) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn bcp_readfmtA(param0: *mut ::core::ffi::c_void, param1: ::windows_sys::core::PCSTR) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn bcp_readfmtW(param0: *mut ::core::ffi::c_void, param1: ::windows_sys::core::PCWSTR) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn bcp_sendrow(param0: *mut ::core::ffi::c_void) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn bcp_setcolfmt(param0: *mut ::core::ffi::c_void, param1: i32, param2: i32, param3: *mut ::core::ffi::c_void, param4: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn bcp_writefmtA(param0: *mut ::core::ffi::c_void, param1: ::windows_sys::core::PCSTR) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn bcp_writefmtW(param0: *mut ::core::ffi::c_void, param1: ::windows_sys::core::PCWSTR) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn dbprtypeA(param0: i32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub fn dbprtypeW(param0: i32) -> ::windows_sys::core::PWSTR; } diff --git a/crates/libs/sys/src/Windows/Win32/System/SecurityCenter/mod.rs b/crates/libs/sys/src/Windows/Win32/System/SecurityCenter/mod.rs index efe564796d..18ee093dc4 100644 --- a/crates/libs/sys/src/Windows/Win32/System/SecurityCenter/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/SecurityCenter/mod.rs @@ -2,15 +2,30 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`*"] pub fn WscGetAntiMalwareUri(ppszuri: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`*"] pub fn WscGetSecurityProviderHealth(providers: u32, phealth: *mut WSC_SECURITY_PROVIDER_HEALTH) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`*"] pub fn WscQueryAntiMalwareUri() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] pub fn WscRegisterForChanges(reserved: *mut ::core::ffi::c_void, phcallbackregistration: *mut super::super::Foundation::HANDLE, lpcallbackaddress: super::Threading::LPTHREAD_START_ROUTINE, pcontext: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`*"] pub fn WscRegisterForUserNotifications() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WscUnRegisterChanges(hregistrationhandle: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/System/Services/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Services/mod.rs index a054869f15..e88654bc1d 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Services/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Services/mod.rs @@ -3,163 +3,328 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn ChangeServiceConfig2A(hservice: super::super::Security::SC_HANDLE, dwinfolevel: SERVICE_CONFIG, lpinfo: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn ChangeServiceConfig2W(hservice: super::super::Security::SC_HANDLE, dwinfolevel: SERVICE_CONFIG, lpinfo: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn ChangeServiceConfigA(hservice: super::super::Security::SC_HANDLE, dwservicetype: u32, dwstarttype: SERVICE_START_TYPE, dwerrorcontrol: SERVICE_ERROR, lpbinarypathname: ::windows_sys::core::PCSTR, lploadordergroup: ::windows_sys::core::PCSTR, lpdwtagid: *mut u32, lpdependencies: ::windows_sys::core::PCSTR, lpservicestartname: ::windows_sys::core::PCSTR, lppassword: ::windows_sys::core::PCSTR, lpdisplayname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn ChangeServiceConfigW(hservice: super::super::Security::SC_HANDLE, dwservicetype: u32, dwstarttype: SERVICE_START_TYPE, dwerrorcontrol: SERVICE_ERROR, lpbinarypathname: ::windows_sys::core::PCWSTR, lploadordergroup: ::windows_sys::core::PCWSTR, lpdwtagid: *mut u32, lpdependencies: ::windows_sys::core::PCWSTR, lpservicestartname: ::windows_sys::core::PCWSTR, lppassword: ::windows_sys::core::PCWSTR, lpdisplayname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CloseServiceHandle(hscobject: super::super::Security::SC_HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn ControlService(hservice: super::super::Security::SC_HANDLE, dwcontrol: u32, lpservicestatus: *mut SERVICE_STATUS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn ControlServiceExA(hservice: super::super::Security::SC_HANDLE, dwcontrol: u32, dwinfolevel: u32, pcontrolparams: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn ControlServiceExW(hservice: super::super::Security::SC_HANDLE, dwcontrol: u32, dwinfolevel: u32, pcontrolparams: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn CreateServiceA(hscmanager: super::super::Security::SC_HANDLE, lpservicename: ::windows_sys::core::PCSTR, lpdisplayname: ::windows_sys::core::PCSTR, dwdesiredaccess: u32, dwservicetype: ENUM_SERVICE_TYPE, dwstarttype: SERVICE_START_TYPE, dwerrorcontrol: SERVICE_ERROR, lpbinarypathname: ::windows_sys::core::PCSTR, lploadordergroup: ::windows_sys::core::PCSTR, lpdwtagid: *mut u32, lpdependencies: ::windows_sys::core::PCSTR, lpservicestartname: ::windows_sys::core::PCSTR, lppassword: ::windows_sys::core::PCSTR) -> super::super::Security::SC_HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn CreateServiceW(hscmanager: super::super::Security::SC_HANDLE, lpservicename: ::windows_sys::core::PCWSTR, lpdisplayname: ::windows_sys::core::PCWSTR, dwdesiredaccess: u32, dwservicetype: ENUM_SERVICE_TYPE, dwstarttype: SERVICE_START_TYPE, dwerrorcontrol: SERVICE_ERROR, lpbinarypathname: ::windows_sys::core::PCWSTR, lploadordergroup: ::windows_sys::core::PCWSTR, lpdwtagid: *mut u32, lpdependencies: ::windows_sys::core::PCWSTR, lpservicestartname: ::windows_sys::core::PCWSTR, lppassword: ::windows_sys::core::PCWSTR) -> super::super::Security::SC_HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn DeleteService(hservice: super::super::Security::SC_HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn EnumDependentServicesA(hservice: super::super::Security::SC_HANDLE, dwservicestate: ENUM_SERVICE_STATE, lpservices: *mut ENUM_SERVICE_STATUSA, cbbufsize: u32, pcbbytesneeded: *mut u32, lpservicesreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn EnumDependentServicesW(hservice: super::super::Security::SC_HANDLE, dwservicestate: ENUM_SERVICE_STATE, lpservices: *mut ENUM_SERVICE_STATUSW, cbbufsize: u32, pcbbytesneeded: *mut u32, lpservicesreturned: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn EnumServicesStatusA(hscmanager: super::super::Security::SC_HANDLE, dwservicetype: ENUM_SERVICE_TYPE, dwservicestate: ENUM_SERVICE_STATE, lpservices: *mut ENUM_SERVICE_STATUSA, cbbufsize: u32, pcbbytesneeded: *mut u32, lpservicesreturned: *mut u32, lpresumehandle: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn EnumServicesStatusExA(hscmanager: super::super::Security::SC_HANDLE, infolevel: SC_ENUM_TYPE, dwservicetype: ENUM_SERVICE_TYPE, dwservicestate: ENUM_SERVICE_STATE, lpservices: *mut u8, cbbufsize: u32, pcbbytesneeded: *mut u32, lpservicesreturned: *mut u32, lpresumehandle: *mut u32, pszgroupname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn EnumServicesStatusExW(hscmanager: super::super::Security::SC_HANDLE, infolevel: SC_ENUM_TYPE, dwservicetype: ENUM_SERVICE_TYPE, dwservicestate: ENUM_SERVICE_STATE, lpservices: *mut u8, cbbufsize: u32, pcbbytesneeded: *mut u32, lpservicesreturned: *mut u32, lpresumehandle: *mut u32, pszgroupname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn EnumServicesStatusW(hscmanager: super::super::Security::SC_HANDLE, dwservicetype: ENUM_SERVICE_TYPE, dwservicestate: ENUM_SERVICE_STATE, lpservices: *mut ENUM_SERVICE_STATUSW, cbbufsize: u32, pcbbytesneeded: *mut u32, lpservicesreturned: *mut u32, lpresumehandle: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`*"] pub fn GetServiceDirectory(hservicestatus: SERVICE_STATUS_HANDLE, edirectorytype: SERVICE_DIRECTORY_TYPE, lppathbuffer: ::windows_sys::core::PWSTR, cchpathbufferlength: u32, lpcchrequiredbufferlength: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn GetServiceDisplayNameA(hscmanager: super::super::Security::SC_HANDLE, lpservicename: ::windows_sys::core::PCSTR, lpdisplayname: ::windows_sys::core::PSTR, lpcchbuffer: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn GetServiceDisplayNameW(hscmanager: super::super::Security::SC_HANDLE, lpservicename: ::windows_sys::core::PCWSTR, lpdisplayname: ::windows_sys::core::PWSTR, lpcchbuffer: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn GetServiceKeyNameA(hscmanager: super::super::Security::SC_HANDLE, lpdisplayname: ::windows_sys::core::PCSTR, lpservicename: ::windows_sys::core::PSTR, lpcchbuffer: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn GetServiceKeyNameW(hscmanager: super::super::Security::SC_HANDLE, lpdisplayname: ::windows_sys::core::PCWSTR, lpservicename: ::windows_sys::core::PWSTR, lpcchbuffer: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn GetServiceRegistryStateKey(servicestatushandle: SERVICE_STATUS_HANDLE, statetype: SERVICE_REGISTRY_STATE_TYPE, accessmask: u32, servicestatekey: *mut super::Registry::HKEY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn GetSharedServiceDirectory(servicehandle: super::super::Security::SC_HANDLE, directorytype: SERVICE_SHARED_DIRECTORY_TYPE, pathbuffer: ::windows_sys::core::PWSTR, pathbufferlength: u32, requiredbufferlength: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Security\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Security", feature = "Win32_System_Registry"))] pub fn GetSharedServiceRegistryStateKey(servicehandle: super::super::Security::SC_HANDLE, statetype: SERVICE_SHARED_REGISTRY_STATE_TYPE, accessmask: u32, servicestatekey: *mut super::Registry::HKEY) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn LockServiceDatabase(hscmanager: super::super::Security::SC_HANDLE) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NotifyBootConfigStatus(bootacceptable: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn NotifyServiceStatusChangeA(hservice: super::super::Security::SC_HANDLE, dwnotifymask: SERVICE_NOTIFY, pnotifybuffer: *const SERVICE_NOTIFY_2A) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn NotifyServiceStatusChangeW(hservice: super::super::Security::SC_HANDLE, dwnotifymask: SERVICE_NOTIFY, pnotifybuffer: *const SERVICE_NOTIFY_2W) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn OpenSCManagerA(lpmachinename: ::windows_sys::core::PCSTR, lpdatabasename: ::windows_sys::core::PCSTR, dwdesiredaccess: u32) -> super::super::Security::SC_HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn OpenSCManagerW(lpmachinename: ::windows_sys::core::PCWSTR, lpdatabasename: ::windows_sys::core::PCWSTR, dwdesiredaccess: u32) -> super::super::Security::SC_HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn OpenServiceA(hscmanager: super::super::Security::SC_HANDLE, lpservicename: ::windows_sys::core::PCSTR, dwdesiredaccess: u32) -> super::super::Security::SC_HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] pub fn OpenServiceW(hscmanager: super::super::Security::SC_HANDLE, lpservicename: ::windows_sys::core::PCWSTR, dwdesiredaccess: u32) -> super::super::Security::SC_HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn QueryServiceConfig2A(hservice: super::super::Security::SC_HANDLE, dwinfolevel: SERVICE_CONFIG, lpbuffer: *mut u8, cbbufsize: u32, pcbbytesneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn QueryServiceConfig2W(hservice: super::super::Security::SC_HANDLE, dwinfolevel: SERVICE_CONFIG, lpbuffer: *mut u8, cbbufsize: u32, pcbbytesneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn QueryServiceConfigA(hservice: super::super::Security::SC_HANDLE, lpserviceconfig: *mut QUERY_SERVICE_CONFIGA, cbbufsize: u32, pcbbytesneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn QueryServiceConfigW(hservice: super::super::Security::SC_HANDLE, lpserviceconfig: *mut QUERY_SERVICE_CONFIGW, cbbufsize: u32, pcbbytesneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryServiceDynamicInformation(hservicestatus: SERVICE_STATUS_HANDLE, dwinfolevel: u32, ppdynamicinfo: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn QueryServiceLockStatusA(hscmanager: super::super::Security::SC_HANDLE, lplockstatus: *mut QUERY_SERVICE_LOCK_STATUSA, cbbufsize: u32, pcbbytesneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn QueryServiceLockStatusW(hscmanager: super::super::Security::SC_HANDLE, lplockstatus: *mut QUERY_SERVICE_LOCK_STATUSW, cbbufsize: u32, pcbbytesneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn QueryServiceObjectSecurity(hservice: super::super::Security::SC_HANDLE, dwsecurityinformation: u32, lpsecuritydescriptor: super::super::Security::PSECURITY_DESCRIPTOR, cbbufsize: u32, pcbbytesneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn QueryServiceStatus(hservice: super::super::Security::SC_HANDLE, lpservicestatus: *mut SERVICE_STATUS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn QueryServiceStatusEx(hservice: super::super::Security::SC_HANDLE, infolevel: SC_STATUS_TYPE, lpbuffer: *mut u8, cbbufsize: u32, pcbbytesneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`*"] pub fn RegisterServiceCtrlHandlerA(lpservicename: ::windows_sys::core::PCSTR, lphandlerproc: LPHANDLER_FUNCTION) -> SERVICE_STATUS_HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`*"] pub fn RegisterServiceCtrlHandlerExA(lpservicename: ::windows_sys::core::PCSTR, lphandlerproc: LPHANDLER_FUNCTION_EX, lpcontext: *const ::core::ffi::c_void) -> SERVICE_STATUS_HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`*"] pub fn RegisterServiceCtrlHandlerExW(lpservicename: ::windows_sys::core::PCWSTR, lphandlerproc: LPHANDLER_FUNCTION_EX, lpcontext: *const ::core::ffi::c_void) -> SERVICE_STATUS_HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`*"] pub fn RegisterServiceCtrlHandlerW(lpservicename: ::windows_sys::core::PCWSTR, lphandlerproc: LPHANDLER_FUNCTION) -> SERVICE_STATUS_HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetServiceBits(hservicestatus: SERVICE_STATUS_HANDLE, dwservicebits: u32, bsetbitson: super::super::Foundation::BOOL, bupdateimmediately: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn SetServiceObjectSecurity(hservice: super::super::Security::SC_HANDLE, dwsecurityinformation: super::super::Security::OBJECT_SECURITY_INFORMATION, lpsecuritydescriptor: super::super::Security::PSECURITY_DESCRIPTOR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetServiceStatus(hservicestatus: SERVICE_STATUS_HANDLE, lpservicestatus: *const SERVICE_STATUS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn StartServiceA(hservice: super::super::Security::SC_HANDLE, dwnumserviceargs: u32, lpserviceargvectors: *const ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StartServiceCtrlDispatcherA(lpservicestarttable: *const SERVICE_TABLE_ENTRYA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StartServiceCtrlDispatcherW(lpservicestarttable: *const SERVICE_TABLE_ENTRYW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn StartServiceW(hservice: super::super::Security::SC_HANDLE, dwnumserviceargs: u32, lpserviceargvectors: *const ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnlockServiceDatabase(sclock: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn WaitServiceState(hservice: super::super::Security::SC_HANDLE, dwnotify: u32, dwtimeout: u32, hcancelevent: super::super::Foundation::HANDLE) -> u32; diff --git a/crates/libs/sys/src/Windows/Win32/System/SetupAndMigration/mod.rs b/crates/libs/sys/src/Windows/Win32/System/SetupAndMigration/mod.rs index dd35fa4e56..aee07eb164 100644 --- a/crates/libs/sys/src/Windows/Win32/System/SetupAndMigration/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/SetupAndMigration/mod.rs @@ -3,9 +3,15 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_SetupAndMigration\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OOBEComplete(isoobecomplete: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SetupAndMigration\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterWaitUntilOOBECompleted(oobecompletedcallback: OOBE_COMPLETED_CALLBACK, callbackcontext: *const ::core::ffi::c_void, waithandle: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SetupAndMigration\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnregisterWaitUntilOOBECompleted(waithandle: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/Shutdown/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Shutdown/mod.rs index f6ed9a02c8..23f025b207 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Shutdown/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Shutdown/mod.rs @@ -3,40 +3,79 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AbortSystemShutdownA(lpmachinename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AbortSystemShutdownW(lpmachinename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CheckForHiberboot(phiberboot: *mut super::super::Foundation::BOOLEAN, bclearflag: super::super::Foundation::BOOLEAN) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ExitWindowsEx(uflags: EXIT_WINDOWS_FLAGS, dwreason: SHUTDOWN_REASON) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] pub fn InitiateShutdownA(lpmachinename: ::windows_sys::core::PCSTR, lpmessage: ::windows_sys::core::PCSTR, dwgraceperiod: u32, dwshutdownflags: SHUTDOWN_FLAGS, dwreason: SHUTDOWN_REASON) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] pub fn InitiateShutdownW(lpmachinename: ::windows_sys::core::PCWSTR, lpmessage: ::windows_sys::core::PCWSTR, dwgraceperiod: u32, dwshutdownflags: SHUTDOWN_FLAGS, dwreason: SHUTDOWN_REASON) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InitiateSystemShutdownA(lpmachinename: ::windows_sys::core::PCSTR, lpmessage: ::windows_sys::core::PCSTR, dwtimeout: u32, bforceappsclosed: super::super::Foundation::BOOL, brebootaftershutdown: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InitiateSystemShutdownExA(lpmachinename: ::windows_sys::core::PCSTR, lpmessage: ::windows_sys::core::PCSTR, dwtimeout: u32, bforceappsclosed: super::super::Foundation::BOOL, brebootaftershutdown: super::super::Foundation::BOOL, dwreason: SHUTDOWN_REASON) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InitiateSystemShutdownExW(lpmachinename: ::windows_sys::core::PCWSTR, lpmessage: ::windows_sys::core::PCWSTR, dwtimeout: u32, bforceappsclosed: super::super::Foundation::BOOL, brebootaftershutdown: super::super::Foundation::BOOL, dwreason: SHUTDOWN_REASON) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InitiateSystemShutdownW(lpmachinename: ::windows_sys::core::PCWSTR, lpmessage: ::windows_sys::core::PCWSTR, dwtimeout: u32, bforceappsclosed: super::super::Foundation::BOOL, brebootaftershutdown: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LockWorkStation() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ShutdownBlockReasonCreate(hwnd: super::super::Foundation::HWND, pwszreason: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ShutdownBlockReasonDestroy(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ShutdownBlockReasonQuery(hwnd: super::super::Foundation::HWND, pwszbuff: ::windows_sys::core::PWSTR, pcchbuff: *mut u32) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/StationsAndDesktops/mod.rs b/crates/libs/sys/src/Windows/Win32/System/StationsAndDesktops/mod.rs index 48d6446a1b..610fa74729 100644 --- a/crates/libs/sys/src/Windows/Win32/System/StationsAndDesktops/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/StationsAndDesktops/mod.rs @@ -3,91 +3,181 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BroadcastSystemMessageA(flags: u32, lpinfo: *mut u32, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BroadcastSystemMessageExA(flags: BROADCAST_SYSTEM_MESSAGE_FLAGS, lpinfo: *mut BROADCAST_SYSTEM_MESSAGE_INFO, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, pbsminfo: *mut BSMINFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BroadcastSystemMessageExW(flags: BROADCAST_SYSTEM_MESSAGE_FLAGS, lpinfo: *mut BROADCAST_SYSTEM_MESSAGE_INFO, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, pbsminfo: *mut BSMINFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BroadcastSystemMessageW(flags: BROADCAST_SYSTEM_MESSAGE_FLAGS, lpinfo: *mut BROADCAST_SYSTEM_MESSAGE_INFO, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseDesktop(hdesktop: HDESK) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseWindowStation(hwinsta: HWINSTA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))] pub fn CreateDesktopA(lpszdesktop: ::windows_sys::core::PCSTR, lpszdevice: ::windows_sys::core::PCSTR, pdevmode: *mut super::super::Graphics::Gdi::DEVMODEA, dwflags: u32, dwdesiredaccess: u32, lpsa: *const super::super::Security::SECURITY_ATTRIBUTES) -> HDESK; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))] pub fn CreateDesktopExA(lpszdesktop: ::windows_sys::core::PCSTR, lpszdevice: ::windows_sys::core::PCSTR, pdevmode: *mut super::super::Graphics::Gdi::DEVMODEA, dwflags: u32, dwdesiredaccess: u32, lpsa: *const super::super::Security::SECURITY_ATTRIBUTES, ulheapsize: u32, pvoid: *mut ::core::ffi::c_void) -> HDESK; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))] pub fn CreateDesktopExW(lpszdesktop: ::windows_sys::core::PCWSTR, lpszdevice: ::windows_sys::core::PCWSTR, pdevmode: *mut super::super::Graphics::Gdi::DEVMODEW, dwflags: u32, dwdesiredaccess: u32, lpsa: *const super::super::Security::SECURITY_ATTRIBUTES, ulheapsize: u32, pvoid: *mut ::core::ffi::c_void) -> HDESK; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))] pub fn CreateDesktopW(lpszdesktop: ::windows_sys::core::PCWSTR, lpszdevice: ::windows_sys::core::PCWSTR, pdevmode: *mut super::super::Graphics::Gdi::DEVMODEW, dwflags: u32, dwdesiredaccess: u32, lpsa: *const super::super::Security::SECURITY_ATTRIBUTES) -> HDESK; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateWindowStationA(lpwinsta: ::windows_sys::core::PCSTR, dwflags: u32, dwdesiredaccess: u32, lpsa: *const super::super::Security::SECURITY_ATTRIBUTES) -> HWINSTA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateWindowStationW(lpwinsta: ::windows_sys::core::PCWSTR, dwflags: u32, dwdesiredaccess: u32, lpsa: *const super::super::Security::SECURITY_ATTRIBUTES) -> HWINSTA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn EnumDesktopWindows(hdesktop: HDESK, lpfn: super::super::UI::WindowsAndMessaging::WNDENUMPROC, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumDesktopsA(hwinsta: HWINSTA, lpenumfunc: DESKTOPENUMPROCA, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumDesktopsW(hwinsta: HWINSTA, lpenumfunc: DESKTOPENUMPROCW, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumWindowStationsA(lpenumfunc: WINSTAENUMPROCA, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumWindowStationsW(lpenumfunc: WINSTAENUMPROCW, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`*"] pub fn GetProcessWindowStation() -> HWINSTA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`*"] pub fn GetThreadDesktop(dwthreadid: u32) -> HDESK; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUserObjectInformationA(hobj: super::super::Foundation::HANDLE, nindex: USER_OBJECT_INFORMATION_INDEX, pvinfo: *mut ::core::ffi::c_void, nlength: u32, lpnlengthneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUserObjectInformationW(hobj: super::super::Foundation::HANDLE, nindex: USER_OBJECT_INFORMATION_INDEX, pvinfo: *mut ::core::ffi::c_void, nlength: u32, lpnlengthneeded: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenDesktopA(lpszdesktop: ::windows_sys::core::PCSTR, dwflags: u32, finherit: super::super::Foundation::BOOL, dwdesiredaccess: u32) -> HDESK; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenDesktopW(lpszdesktop: ::windows_sys::core::PCWSTR, dwflags: u32, finherit: super::super::Foundation::BOOL, dwdesiredaccess: u32) -> HDESK; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenInputDesktop(dwflags: u32, finherit: super::super::Foundation::BOOL, dwdesiredaccess: u32) -> HDESK; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenWindowStationA(lpszwinsta: ::windows_sys::core::PCSTR, finherit: super::super::Foundation::BOOL, dwdesiredaccess: u32) -> HWINSTA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenWindowStationW(lpszwinsta: ::windows_sys::core::PCWSTR, finherit: super::super::Foundation::BOOL, dwdesiredaccess: u32) -> HWINSTA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetProcessWindowStation(hwinsta: HWINSTA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetThreadDesktop(hdesktop: HDESK) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetUserObjectInformationA(hobj: super::super::Foundation::HANDLE, nindex: i32, pvinfo: *const ::core::ffi::c_void, nlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetUserObjectInformationW(hobj: super::super::Foundation::HANDLE, nindex: i32, pvinfo: *const ::core::ffi::c_void, nlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SwitchDesktop(hdesktop: HDESK) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/SubsystemForLinux/mod.rs b/crates/libs/sys/src/Windows/Win32/System/SubsystemForLinux/mod.rs index dc00314cbd..bbc9261142 100644 --- a/crates/libs/sys/src/Windows/Win32/System/SubsystemForLinux/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/SubsystemForLinux/mod.rs @@ -1,20 +1,38 @@ #[cfg_attr(windows, link(name = "windows"))] -extern "system" { +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`*"] pub fn WslConfigureDistribution(distributionname: ::windows_sys::core::PCWSTR, defaultuid: u32, wsldistributionflags: WSL_DISTRIBUTION_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`*"] pub fn WslGetDistributionConfiguration(distributionname: ::windows_sys::core::PCWSTR, distributionversion: *mut u32, defaultuid: *mut u32, wsldistributionflags: *mut WSL_DISTRIBUTION_FLAGS, defaultenvironmentvariables: *mut *mut ::windows_sys::core::PSTR, defaultenvironmentvariablecount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WslIsDistributionRegistered(distributionname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WslLaunch(distributionname: ::windows_sys::core::PCWSTR, command: ::windows_sys::core::PCWSTR, usecurrentworkingdirectory: super::super::Foundation::BOOL, stdin: super::super::Foundation::HANDLE, stdout: super::super::Foundation::HANDLE, stderr: super::super::Foundation::HANDLE, process: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WslLaunchInteractive(distributionname: ::windows_sys::core::PCWSTR, command: ::windows_sys::core::PCWSTR, usecurrentworkingdirectory: super::super::Foundation::BOOL, exitcode: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`*"] pub fn WslRegisterDistribution(distributionname: ::windows_sys::core::PCWSTR, targzfilename: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`*"] pub fn WslUnregisterDistribution(distributionname: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/System/SystemInformation/mod.rs b/crates/libs/sys/src/Windows/Win32/System/SystemInformation/mod.rs index 98834647a2..619c10aec6 100644 --- a/crates/libs/sys/src/Windows/Win32/System/SystemInformation/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/SystemInformation/mod.rs @@ -3,162 +3,345 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsHostnameToComputerNameExW(hostname: ::windows_sys::core::PCWSTR, computername: ::windows_sys::core::PWSTR, nsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn EnumSystemFirmwareTables(firmwaretableprovidersignature: FIRMWARE_TABLE_PROVIDER, pfirmwaretableenumbuffer: *mut FIRMWARE_TABLE_ID, buffersize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetComputerNameExA(nametype: COMPUTER_NAME_FORMAT, lpbuffer: ::windows_sys::core::PSTR, nsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetComputerNameExW(nametype: COMPUTER_NAME_FORMAT, lpbuffer: ::windows_sys::core::PWSTR, nsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFirmwareType(firmwaretype: *mut FIRMWARE_TYPE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn GetIntegratedDisplaySize(sizeininches: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetLocalTime(lpsystemtime: *mut super::super::Foundation::SYSTEMTIME); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetLogicalProcessorInformation(buffer: *mut SYSTEM_LOGICAL_PROCESSOR_INFORMATION, returnedlength: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetLogicalProcessorInformationEx(relationshiptype: LOGICAL_PROCESSOR_RELATIONSHIP, buffer: *mut SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX, returnedlength: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(feature = "Win32_System_Diagnostics_Debug")] pub fn GetNativeSystemInfo(lpsysteminfo: *mut SYSTEM_INFO); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetOsManufacturingMode(pbenabled: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetOsSafeBootMode(flags: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPhysicallyInstalledSystemMemory(totalmemoryinkilobytes: *mut u64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProcessorSystemCycleTime(group: u16, buffer: *mut SYSTEM_PROCESSOR_CYCLE_TIME_INFORMATION, returnedlength: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProductInfo(dwosmajorversion: u32, dwosminorversion: u32, dwspmajorversion: u32, dwspminorversion: u32, pdwreturnedproducttype: *mut OS_PRODUCT_TYPE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSystemCpuSetInformation(information: *mut SYSTEM_CPU_SET_INFORMATION, bufferlength: u32, returnedlength: *mut u32, process: super::super::Foundation::HANDLE, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn GetSystemDEPPolicy() -> DEP_SYSTEM_POLICY_TYPE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn GetSystemDirectoryA(lpbuffer: ::windows_sys::core::PSTR, usize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn GetSystemDirectoryW(lpbuffer: ::windows_sys::core::PWSTR, usize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn GetSystemFirmwareTable(firmwaretableprovidersignature: FIRMWARE_TABLE_PROVIDER, firmwaretableid: FIRMWARE_TABLE_ID, pfirmwaretablebuffer: *mut ::core::ffi::c_void, buffersize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(feature = "Win32_System_Diagnostics_Debug")] pub fn GetSystemInfo(lpsysteminfo: *mut SYSTEM_INFO); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSystemLeapSecondInformation(enabled: *mut super::super::Foundation::BOOL, flags: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSystemTime(lpsystemtime: *mut super::super::Foundation::SYSTEMTIME); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSystemTimeAdjustment(lptimeadjustment: *mut u32, lptimeincrement: *mut u32, lptimeadjustmentdisabled: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSystemTimeAdjustmentPrecise(lptimeadjustment: *mut u64, lptimeincrement: *mut u64, lptimeadjustmentdisabled: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSystemTimeAsFileTime(lpsystemtimeasfiletime: *mut super::super::Foundation::FILETIME); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSystemTimePreciseAsFileTime(lpsystemtimeasfiletime: *mut super::super::Foundation::FILETIME); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn GetSystemWindowsDirectoryA(lpbuffer: ::windows_sys::core::PSTR, usize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn GetSystemWindowsDirectoryW(lpbuffer: ::windows_sys::core::PWSTR, usize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn GetSystemWow64Directory2A(lpbuffer: ::windows_sys::core::PSTR, usize: u32, imagefilemachinetype: IMAGE_FILE_MACHINE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn GetSystemWow64Directory2W(lpbuffer: ::windows_sys::core::PWSTR, usize: u32, imagefilemachinetype: IMAGE_FILE_MACHINE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn GetSystemWow64DirectoryA(lpbuffer: ::windows_sys::core::PSTR, usize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn GetSystemWow64DirectoryW(lpbuffer: ::windows_sys::core::PWSTR, usize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn GetTickCount() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn GetTickCount64() -> u64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn GetVersion() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetVersionExA(lpversioninformation: *mut OSVERSIONINFOA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetVersionExW(lpversioninformation: *mut OSVERSIONINFOW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn GetWindowsDirectoryA(lpbuffer: ::windows_sys::core::PSTR, usize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn GetWindowsDirectoryW(lpbuffer: ::windows_sys::core::PWSTR, usize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn GlobalMemoryStatus(lpbuffer: *mut MEMORYSTATUS); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GlobalMemoryStatusEx(lpbuffer: *mut MEMORYSTATUSEX) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsUserCetAvailableInEnvironment(usercetenvironment: USER_CET_ENVIRONMENT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsWow64GuestMachineSupported(wowguestmachine: IMAGE_FILE_MACHINE, machineissupported: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn RtlConvertDeviceFamilyInfoToString(puldevicefamilybuffersize: *mut u32, puldeviceformbuffersize: *mut u32, devicefamily: ::windows_sys::core::PWSTR, deviceform: ::windows_sys::core::PWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn RtlGetDeviceFamilyInfoEnum(pulluapinfo: *mut u64, puldevicefamily: *mut DEVICEFAMILYINFOENUM, puldeviceform: *mut DEVICEFAMILYDEVICEFORM); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtlGetProductInfo(osmajorversion: u32, osminorversion: u32, spmajorversion: u32, spminorversion: u32, returnedproducttype: *mut u32) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn RtlGetSystemGlobalData(dataid: RTL_SYSTEM_GLOBAL_DATA_ID, buffer: *mut ::core::ffi::c_void, size: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn RtlOsDeploymentState(flags: u32) -> OS_DEPLOYEMENT_STATE_VALUES; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn RtlSwitchedVVI(versioninfo: *const OSVERSIONINFOEXW, typemask: u32, conditionmask: u64) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetComputerNameA(lpcomputername: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetComputerNameEx2W(nametype: COMPUTER_NAME_FORMAT, flags: u32, lpbuffer: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetComputerNameExA(nametype: COMPUTER_NAME_FORMAT, lpbuffer: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetComputerNameExW(nametype: COMPUTER_NAME_FORMAT, lpbuffer: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetComputerNameW(lpcomputername: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetLocalTime(lpsystemtime: *const super::super::Foundation::SYSTEMTIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetSystemTime(lpsystemtime: *const super::super::Foundation::SYSTEMTIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetSystemTimeAdjustment(dwtimeadjustment: u32, btimeadjustmentdisabled: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetSystemTimeAdjustmentPrecise(dwtimeadjustment: u64, btimeadjustmentdisabled: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] pub fn VerSetConditionMask(conditionmask: u64, typemask: VER_FLAGS, condition: u8) -> u64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VerifyVersionInfoA(lpversioninformation: *mut OSVERSIONINFOEXA, dwtypemask: VER_FLAGS, dwlconditionmask: u64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VerifyVersionInfoW(lpversioninformation: *mut OSVERSIONINFOEXW, dwtypemask: VER_FLAGS, dwlconditionmask: u64) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/Threading/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Threading/mod.rs index c565e989ed..ca0f06799a 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Threading/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Threading/mod.rs @@ -2,834 +2,1725 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn AcquireSRWLockExclusive(srwlock: *mut RTL_SRWLOCK); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn AcquireSRWLockShared(srwlock: *mut RTL_SRWLOCK); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddIntegrityLabelToBoundaryDescriptor(boundarydescriptor: *mut super::super::Foundation::HANDLE, integritylabel: super::super::Foundation::PSID) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AddSIDToBoundaryDescriptor(boundarydescriptor: *mut super::super::Foundation::HANDLE, requiredsid: super::super::Foundation::PSID) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AttachThreadInput(idattach: u32, idattachto: u32, fattach: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AvQuerySystemResponsiveness(avrthandle: super::super::Foundation::HANDLE, systemresponsivenessvalue: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AvRevertMmThreadCharacteristics(avrthandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AvRtCreateThreadOrderingGroup(context: *mut super::super::Foundation::HANDLE, period: *const i64, threadorderingguid: *mut ::windows_sys::core::GUID, timeout: *const i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AvRtCreateThreadOrderingGroupExA(context: *mut super::super::Foundation::HANDLE, period: *const i64, threadorderingguid: *mut ::windows_sys::core::GUID, timeout: *const i64, taskname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AvRtCreateThreadOrderingGroupExW(context: *mut super::super::Foundation::HANDLE, period: *const i64, threadorderingguid: *mut ::windows_sys::core::GUID, timeout: *const i64, taskname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AvRtDeleteThreadOrderingGroup(context: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AvRtJoinThreadOrderingGroup(context: *mut super::super::Foundation::HANDLE, threadorderingguid: *const ::windows_sys::core::GUID, before: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AvRtLeaveThreadOrderingGroup(context: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AvRtWaitOnThreadOrderingGroup(context: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AvSetMmMaxThreadCharacteristicsA(firsttask: ::windows_sys::core::PCSTR, secondtask: ::windows_sys::core::PCSTR, taskindex: *mut u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AvSetMmMaxThreadCharacteristicsW(firsttask: ::windows_sys::core::PCWSTR, secondtask: ::windows_sys::core::PCWSTR, taskindex: *mut u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AvSetMmThreadCharacteristicsA(taskname: ::windows_sys::core::PCSTR, taskindex: *mut u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AvSetMmThreadCharacteristicsW(taskname: ::windows_sys::core::PCWSTR, taskindex: *mut u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AvSetMmThreadPriority(avrthandle: super::super::Foundation::HANDLE, priority: AVRT_PRIORITY) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CallbackMayRunLong(pci: *mut TP_CALLBACK_INSTANCE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn CancelThreadpoolIo(pio: *mut TP_IO); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CancelWaitableTimer(htimer: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ChangeTimerQueueTimer(timerqueue: super::super::Foundation::HANDLE, timer: super::super::Foundation::HANDLE, duetime: u32, period: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ClosePrivateNamespace(handle: NamespaceHandle, flags: u32) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn CloseThreadpool(ptpp: PTP_POOL); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn CloseThreadpoolCleanupGroup(ptpcg: isize); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseThreadpoolCleanupGroupMembers(ptpcg: isize, fcancelpendingcallbacks: super::super::Foundation::BOOL, pvcleanupcontext: *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn CloseThreadpoolIo(pio: *mut TP_IO); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn CloseThreadpoolTimer(pti: *mut TP_TIMER); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn CloseThreadpoolWait(pwa: *mut TP_WAIT); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn CloseThreadpoolWork(pwk: *mut TP_WORK); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ConvertFiberToThread() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn ConvertThreadToFiber(lpparameter: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn ConvertThreadToFiberEx(lpparameter: *const ::core::ffi::c_void, dwflags: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn CreateBoundaryDescriptorA(name: ::windows_sys::core::PCSTR, flags: u32) -> BoundaryDescriptorHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn CreateBoundaryDescriptorW(name: ::windows_sys::core::PCWSTR, flags: u32) -> BoundaryDescriptorHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateEventA(lpeventattributes: *const super::super::Security::SECURITY_ATTRIBUTES, bmanualreset: super::super::Foundation::BOOL, binitialstate: super::super::Foundation::BOOL, lpname: ::windows_sys::core::PCSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateEventExA(lpeventattributes: *const super::super::Security::SECURITY_ATTRIBUTES, lpname: ::windows_sys::core::PCSTR, dwflags: CREATE_EVENT, dwdesiredaccess: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateEventExW(lpeventattributes: *const super::super::Security::SECURITY_ATTRIBUTES, lpname: ::windows_sys::core::PCWSTR, dwflags: CREATE_EVENT, dwdesiredaccess: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateEventW(lpeventattributes: *const super::super::Security::SECURITY_ATTRIBUTES, bmanualreset: super::super::Foundation::BOOL, binitialstate: super::super::Foundation::BOOL, lpname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn CreateFiber(dwstacksize: usize, lpstartaddress: LPFIBER_START_ROUTINE, lpparameter: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn CreateFiberEx(dwstackcommitsize: usize, dwstackreservesize: usize, dwflags: u32, lpstartaddress: LPFIBER_START_ROUTINE, lpparameter: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateMutexA(lpmutexattributes: *const super::super::Security::SECURITY_ATTRIBUTES, binitialowner: super::super::Foundation::BOOL, lpname: ::windows_sys::core::PCSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateMutexExA(lpmutexattributes: *const super::super::Security::SECURITY_ATTRIBUTES, lpname: ::windows_sys::core::PCSTR, dwflags: u32, dwdesiredaccess: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateMutexExW(lpmutexattributes: *const super::super::Security::SECURITY_ATTRIBUTES, lpname: ::windows_sys::core::PCWSTR, dwflags: u32, dwdesiredaccess: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateMutexW(lpmutexattributes: *const super::super::Security::SECURITY_ATTRIBUTES, binitialowner: super::super::Foundation::BOOL, lpname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreatePrivateNamespaceA(lpprivatenamespaceattributes: *const super::super::Security::SECURITY_ATTRIBUTES, lpboundarydescriptor: *const ::core::ffi::c_void, lpaliasprefix: ::windows_sys::core::PCSTR) -> NamespaceHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreatePrivateNamespaceW(lpprivatenamespaceattributes: *const super::super::Security::SECURITY_ATTRIBUTES, lpboundarydescriptor: *const ::core::ffi::c_void, lpaliasprefix: ::windows_sys::core::PCWSTR) -> NamespaceHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateProcessA(lpapplicationname: ::windows_sys::core::PCSTR, lpcommandline: ::windows_sys::core::PSTR, lpprocessattributes: *const super::super::Security::SECURITY_ATTRIBUTES, lpthreadattributes: *const super::super::Security::SECURITY_ATTRIBUTES, binherithandles: super::super::Foundation::BOOL, dwcreationflags: PROCESS_CREATION_FLAGS, lpenvironment: *const ::core::ffi::c_void, lpcurrentdirectory: ::windows_sys::core::PCSTR, lpstartupinfo: *const STARTUPINFOA, lpprocessinformation: *mut PROCESS_INFORMATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateProcessAsUserA(htoken: super::super::Foundation::HANDLE, lpapplicationname: ::windows_sys::core::PCSTR, lpcommandline: ::windows_sys::core::PSTR, lpprocessattributes: *const super::super::Security::SECURITY_ATTRIBUTES, lpthreadattributes: *const super::super::Security::SECURITY_ATTRIBUTES, binherithandles: super::super::Foundation::BOOL, dwcreationflags: u32, lpenvironment: *const ::core::ffi::c_void, lpcurrentdirectory: ::windows_sys::core::PCSTR, lpstartupinfo: *const STARTUPINFOA, lpprocessinformation: *mut PROCESS_INFORMATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateProcessAsUserW(htoken: super::super::Foundation::HANDLE, lpapplicationname: ::windows_sys::core::PCWSTR, lpcommandline: ::windows_sys::core::PWSTR, lpprocessattributes: *const super::super::Security::SECURITY_ATTRIBUTES, lpthreadattributes: *const super::super::Security::SECURITY_ATTRIBUTES, binherithandles: super::super::Foundation::BOOL, dwcreationflags: u32, lpenvironment: *const ::core::ffi::c_void, lpcurrentdirectory: ::windows_sys::core::PCWSTR, lpstartupinfo: *const STARTUPINFOW, lpprocessinformation: *mut PROCESS_INFORMATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateProcessW(lpapplicationname: ::windows_sys::core::PCWSTR, lpcommandline: ::windows_sys::core::PWSTR, lpprocessattributes: *const super::super::Security::SECURITY_ATTRIBUTES, lpthreadattributes: *const super::super::Security::SECURITY_ATTRIBUTES, binherithandles: super::super::Foundation::BOOL, dwcreationflags: PROCESS_CREATION_FLAGS, lpenvironment: *const ::core::ffi::c_void, lpcurrentdirectory: ::windows_sys::core::PCWSTR, lpstartupinfo: *const STARTUPINFOW, lpprocessinformation: *mut PROCESS_INFORMATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateProcessWithLogonW(lpusername: ::windows_sys::core::PCWSTR, lpdomain: ::windows_sys::core::PCWSTR, lppassword: ::windows_sys::core::PCWSTR, dwlogonflags: CREATE_PROCESS_LOGON_FLAGS, lpapplicationname: ::windows_sys::core::PCWSTR, lpcommandline: ::windows_sys::core::PWSTR, dwcreationflags: u32, lpenvironment: *const ::core::ffi::c_void, lpcurrentdirectory: ::windows_sys::core::PCWSTR, lpstartupinfo: *const STARTUPINFOW, lpprocessinformation: *mut PROCESS_INFORMATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateProcessWithTokenW(htoken: super::super::Foundation::HANDLE, dwlogonflags: CREATE_PROCESS_LOGON_FLAGS, lpapplicationname: ::windows_sys::core::PCWSTR, lpcommandline: ::windows_sys::core::PWSTR, dwcreationflags: u32, lpenvironment: *const ::core::ffi::c_void, lpcurrentdirectory: ::windows_sys::core::PCWSTR, lpstartupinfo: *const STARTUPINFOW, lpprocessinformation: *mut PROCESS_INFORMATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateRemoteThread(hprocess: super::super::Foundation::HANDLE, lpthreadattributes: *const super::super::Security::SECURITY_ATTRIBUTES, dwstacksize: usize, lpstartaddress: LPTHREAD_START_ROUTINE, lpparameter: *const ::core::ffi::c_void, dwcreationflags: u32, lpthreadid: *mut u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateRemoteThreadEx(hprocess: super::super::Foundation::HANDLE, lpthreadattributes: *const super::super::Security::SECURITY_ATTRIBUTES, dwstacksize: usize, lpstartaddress: LPTHREAD_START_ROUTINE, lpparameter: *const ::core::ffi::c_void, dwcreationflags: u32, lpattributelist: LPPROC_THREAD_ATTRIBUTE_LIST, lpthreadid: *mut u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateSemaphoreA(lpsemaphoreattributes: *const super::super::Security::SECURITY_ATTRIBUTES, linitialcount: i32, lmaximumcount: i32, lpname: ::windows_sys::core::PCSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateSemaphoreExA(lpsemaphoreattributes: *const super::super::Security::SECURITY_ATTRIBUTES, linitialcount: i32, lmaximumcount: i32, lpname: ::windows_sys::core::PCSTR, dwflags: u32, dwdesiredaccess: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateSemaphoreExW(lpsemaphoreattributes: *const super::super::Security::SECURITY_ATTRIBUTES, linitialcount: i32, lmaximumcount: i32, lpname: ::windows_sys::core::PCWSTR, dwflags: u32, dwdesiredaccess: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateSemaphoreW(lpsemaphoreattributes: *const super::super::Security::SECURITY_ATTRIBUTES, linitialcount: i32, lmaximumcount: i32, lpname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateThread(lpthreadattributes: *const super::super::Security::SECURITY_ATTRIBUTES, dwstacksize: usize, lpstartaddress: LPTHREAD_START_ROUTINE, lpparameter: *const ::core::ffi::c_void, dwcreationflags: THREAD_CREATION_FLAGS, lpthreadid: *mut u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn CreateThreadpool(reserved: *mut ::core::ffi::c_void) -> PTP_POOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn CreateThreadpoolCleanupGroup() -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateThreadpoolIo(fl: super::super::Foundation::HANDLE, pfnio: PTP_WIN32_IO_CALLBACK, pv: *mut ::core::ffi::c_void, pcbe: *const TP_CALLBACK_ENVIRON_V3) -> *mut TP_IO; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn CreateThreadpoolTimer(pfnti: PTP_TIMER_CALLBACK, pv: *mut ::core::ffi::c_void, pcbe: *const TP_CALLBACK_ENVIRON_V3) -> *mut TP_TIMER; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn CreateThreadpoolWait(pfnwa: PTP_WAIT_CALLBACK, pv: *mut ::core::ffi::c_void, pcbe: *const TP_CALLBACK_ENVIRON_V3) -> *mut TP_WAIT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn CreateThreadpoolWork(pfnwk: PTP_WORK_CALLBACK, pv: *mut ::core::ffi::c_void, pcbe: *const TP_CALLBACK_ENVIRON_V3) -> *mut TP_WORK; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateTimerQueue() -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateTimerQueueTimer(phnewtimer: *mut super::super::Foundation::HANDLE, timerqueue: super::super::Foundation::HANDLE, callback: WAITORTIMERCALLBACK, parameter: *const ::core::ffi::c_void, duetime: u32, period: u32, flags: WORKER_THREAD_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateUmsCompletionList(umscompletionlist: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateUmsThreadContext(lpumsthread: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateWaitableTimerExW(lptimerattributes: *const super::super::Security::SECURITY_ATTRIBUTES, lptimername: ::windows_sys::core::PCWSTR, dwflags: u32, dwdesiredaccess: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateWaitableTimerW(lptimerattributes: *const super::super::Security::SECURITY_ATTRIBUTES, bmanualreset: super::super::Foundation::BOOL, lptimername: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn DeleteBoundaryDescriptor(boundarydescriptor: BoundaryDescriptorHandle); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn DeleteCriticalSection(lpcriticalsection: *mut RTL_CRITICAL_SECTION); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn DeleteFiber(lpfiber: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn DeleteProcThreadAttributeList(lpattributelist: LPPROC_THREAD_ATTRIBUTE_LIST); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteSynchronizationBarrier(lpbarrier: *mut RTL_BARRIER) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteTimerQueue(timerqueue: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteTimerQueueEx(timerqueue: super::super::Foundation::HANDLE, completionevent: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteTimerQueueTimer(timerqueue: super::super::Foundation::HANDLE, timer: super::super::Foundation::HANDLE, completionevent: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteUmsCompletionList(umscompletionlist: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteUmsThreadContext(umsthread: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DequeueUmsCompletionListItems(umscompletionlist: *const ::core::ffi::c_void, waittimeout: u32, umsthreadlist: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn DisassociateCurrentThreadFromCallback(pci: *mut TP_CALLBACK_INSTANCE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn EnterCriticalSection(lpcriticalsection: *mut RTL_CRITICAL_SECTION); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnterSynchronizationBarrier(lpbarrier: *mut RTL_BARRIER, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))] pub fn EnterUmsSchedulingMode(schedulerstartupinfo: *const UMS_SCHEDULER_STARTUP_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ExecuteUmsThread(umsthread: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn ExitProcess(uexitcode: u32) -> !; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn ExitThread(dwexitcode: u32) -> !; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn FlsAlloc(lpcallback: PFLS_CALLBACK_FUNCTION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FlsFree(dwflsindex: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn FlsGetValue(dwflsindex: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FlsSetValue(dwflsindex: u32, lpflsdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn FlushProcessWriteBuffers(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FreeLibraryWhenCallbackReturns(pci: *mut TP_CALLBACK_INSTANCE, r#mod: super::super::Foundation::HINSTANCE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn GetActiveProcessorCount(groupnumber: u16) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn GetActiveProcessorGroupCount() -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCurrentProcess() -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn GetCurrentProcessId() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn GetCurrentProcessorNumber() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] pub fn GetCurrentProcessorNumberEx(procnumber: *mut super::Kernel::PROCESSOR_NUMBER); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCurrentThread() -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn GetCurrentThreadId() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn GetCurrentThreadStackLimits(lowlimit: *mut usize, highlimit: *mut usize); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn GetCurrentUmsThread() -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetExitCodeProcess(hprocess: super::super::Foundation::HANDLE, lpexitcode: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetExitCodeThread(hthread: super::super::Foundation::HANDLE, lpexitcode: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetGuiResources(hprocess: super::super::Foundation::HANDLE, uiflags: GET_GUI_RESOURCES_FLAGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn GetMachineTypeAttributes(machine: u16, machinetypeattributes: *mut MACHINE_ATTRIBUTES) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn GetMaximumProcessorCount(groupnumber: u16) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn GetMaximumProcessorGroupCount() -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn GetNextUmsListItem(umscontext: *mut ::core::ffi::c_void) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNumaAvailableMemoryNode(node: u8, availablebytes: *mut u64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNumaAvailableMemoryNodeEx(node: u16, availablebytes: *mut u64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNumaHighestNodeNumber(highestnodenumber: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNumaNodeNumberFromHandle(hfile: super::super::Foundation::HANDLE, nodenumber: *mut u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNumaNodeProcessorMask(node: u8, processormask: *mut u64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))] pub fn GetNumaNodeProcessorMask2(nodenumber: u16, processormasks: *mut super::SystemInformation::GROUP_AFFINITY, processormaskcount: u16, requiredmaskcount: *mut u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))] pub fn GetNumaNodeProcessorMaskEx(node: u16, processormask: *mut super::SystemInformation::GROUP_AFFINITY) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNumaProcessorNode(processor: u8, nodenumber: *mut u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn GetNumaProcessorNodeEx(processor: *const super::Kernel::PROCESSOR_NUMBER, nodenumber: *mut u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNumaProximityNode(proximityid: u32, nodenumber: *mut u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNumaProximityNodeEx(proximityid: u32, nodenumber: *mut u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPriorityClass(hprocess: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProcessAffinityMask(hprocess: super::super::Foundation::HANDLE, lpprocessaffinitymask: *mut usize, lpsystemaffinitymask: *mut usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProcessDEPPolicy(hprocess: super::super::Foundation::HANDLE, lpflags: *mut u32, lppermanent: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))] pub fn GetProcessDefaultCpuSetMasks(process: super::super::Foundation::HANDLE, cpusetmasks: *mut super::SystemInformation::GROUP_AFFINITY, cpusetmaskcount: u16, requiredmaskcount: *mut u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProcessDefaultCpuSets(process: super::super::Foundation::HANDLE, cpusetids: *mut u32, cpusetidcount: u32, requiredidcount: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProcessGroupAffinity(hprocess: super::super::Foundation::HANDLE, groupcount: *mut u16, grouparray: *mut u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProcessHandleCount(hprocess: super::super::Foundation::HANDLE, pdwhandlecount: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProcessId(process: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProcessIdOfThread(thread: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProcessInformation(hprocess: super::super::Foundation::HANDLE, processinformationclass: PROCESS_INFORMATION_CLASS, processinformation: *mut ::core::ffi::c_void, processinformationsize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProcessIoCounters(hprocess: super::super::Foundation::HANDLE, lpiocounters: *mut IO_COUNTERS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProcessMitigationPolicy(hprocess: super::super::Foundation::HANDLE, mitigationpolicy: PROCESS_MITIGATION_POLICY, lpbuffer: *mut ::core::ffi::c_void, dwlength: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProcessPriorityBoost(hprocess: super::super::Foundation::HANDLE, pdisablepriorityboost: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProcessShutdownParameters(lpdwlevel: *mut u32, lpdwflags: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProcessTimes(hprocess: super::super::Foundation::HANDLE, lpcreationtime: *mut super::super::Foundation::FILETIME, lpexittime: *mut super::super::Foundation::FILETIME, lpkerneltime: *mut super::super::Foundation::FILETIME, lpusertime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn GetProcessVersion(processid: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProcessWorkingSetSize(hprocess: super::super::Foundation::HANDLE, lpminimumworkingsetsize: *mut usize, lpmaximumworkingsetsize: *mut usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetStartupInfoA(lpstartupinfo: *mut STARTUPINFOA); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetStartupInfoW(lpstartupinfo: *mut STARTUPINFOW); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSystemTimes(lpidletime: *mut super::super::Foundation::FILETIME, lpkerneltime: *mut super::super::Foundation::FILETIME, lpusertime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetThreadDescription(hthread: super::super::Foundation::HANDLE, ppszthreaddescription: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))] pub fn GetThreadGroupAffinity(hthread: super::super::Foundation::HANDLE, groupaffinity: *mut super::SystemInformation::GROUP_AFFINITY) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetThreadIOPendingFlag(hthread: super::super::Foundation::HANDLE, lpioispending: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetThreadId(thread: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn GetThreadIdealProcessorEx(hthread: super::super::Foundation::HANDLE, lpidealprocessor: *mut super::Kernel::PROCESSOR_NUMBER) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetThreadInformation(hthread: super::super::Foundation::HANDLE, threadinformationclass: THREAD_INFORMATION_CLASS, threadinformation: *mut ::core::ffi::c_void, threadinformationsize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetThreadPriority(hthread: super::super::Foundation::HANDLE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetThreadPriorityBoost(hthread: super::super::Foundation::HANDLE, pdisablepriorityboost: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))] pub fn GetThreadSelectedCpuSetMasks(thread: super::super::Foundation::HANDLE, cpusetmasks: *mut super::SystemInformation::GROUP_AFFINITY, cpusetmaskcount: u16, requiredmaskcount: *mut u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetThreadSelectedCpuSets(thread: super::super::Foundation::HANDLE, cpusetids: *mut u32, cpusetidcount: u32, requiredidcount: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetThreadTimes(hthread: super::super::Foundation::HANDLE, lpcreationtime: *mut super::super::Foundation::FILETIME, lpexittime: *mut super::super::Foundation::FILETIME, lpkerneltime: *mut super::super::Foundation::FILETIME, lpusertime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUmsCompletionListEvent(umscompletionlist: *const ::core::ffi::c_void, umscompletionevent: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUmsSystemThreadInformation(threadhandle: super::super::Foundation::HANDLE, systemthreadinfo: *mut UMS_SYSTEM_THREAD_INFORMATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InitOnceBeginInitialize(lpinitonce: *mut RTL_RUN_ONCE, dwflags: u32, fpending: *mut super::super::Foundation::BOOL, lpcontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InitOnceComplete(lpinitonce: *mut RTL_RUN_ONCE, dwflags: u32, lpcontext: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InitOnceExecuteOnce(initonce: *mut RTL_RUN_ONCE, initfn: PINIT_ONCE_FN, parameter: *mut ::core::ffi::c_void, context: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn InitOnceInitialize(initonce: *mut RTL_RUN_ONCE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn InitializeConditionVariable(conditionvariable: *mut RTL_CONDITION_VARIABLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn InitializeCriticalSection(lpcriticalsection: *mut RTL_CRITICAL_SECTION); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn InitializeCriticalSectionAndSpinCount(lpcriticalsection: *mut RTL_CRITICAL_SECTION, dwspincount: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn InitializeCriticalSectionEx(lpcriticalsection: *mut RTL_CRITICAL_SECTION, dwspincount: u32, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InitializeProcThreadAttributeList(lpattributelist: LPPROC_THREAD_ATTRIBUTE_LIST, dwattributecount: u32, dwflags: u32, lpsize: *mut usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] pub fn InitializeSListHead(listhead: *mut super::Kernel::SLIST_HEADER); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn InitializeSRWLock(srwlock: *mut RTL_SRWLOCK); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InitializeSynchronizationBarrier(lpbarrier: *mut RTL_BARRIER, ltotalthreads: i32, lspincount: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] pub fn InterlockedFlushSList(listhead: *mut super::Kernel::SLIST_HEADER) -> *mut super::Kernel::SLIST_ENTRY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] pub fn InterlockedPopEntrySList(listhead: *mut super::Kernel::SLIST_HEADER) -> *mut super::Kernel::SLIST_ENTRY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] pub fn InterlockedPushEntrySList(listhead: *mut super::Kernel::SLIST_HEADER, listentry: *mut super::Kernel::SLIST_ENTRY) -> *mut super::Kernel::SLIST_ENTRY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] pub fn InterlockedPushListSListEx(listhead: *mut super::Kernel::SLIST_HEADER, list: *mut super::Kernel::SLIST_ENTRY, listend: *mut super::Kernel::SLIST_ENTRY, count: u32) -> *mut super::Kernel::SLIST_ENTRY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsImmersiveProcess(hprocess: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsProcessCritical(hprocess: super::super::Foundation::HANDLE, critical: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsProcessorFeaturePresent(processorfeature: PROCESSOR_FEATURE_ID) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsThreadAFiber() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsThreadpoolTimerSet(pti: *mut TP_TIMER) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsWow64Process(hprocess: super::super::Foundation::HANDLE, wow64process: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))] pub fn IsWow64Process2(hprocess: super::super::Foundation::HANDLE, pprocessmachine: *mut super::SystemInformation::IMAGE_FILE_MACHINE, pnativemachine: *mut super::SystemInformation::IMAGE_FILE_MACHINE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn LeaveCriticalSection(lpcriticalsection: *mut RTL_CRITICAL_SECTION); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn LeaveCriticalSectionWhenCallbackReturns(pci: *mut TP_CALLBACK_INSTANCE, pcs: *mut RTL_CRITICAL_SECTION); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NtQueryInformationProcess(processhandle: super::super::Foundation::HANDLE, processinformationclass: PROCESSINFOCLASS, processinformation: *mut ::core::ffi::c_void, processinformationlength: u32, returnlength: *mut u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NtQueryInformationThread(threadhandle: super::super::Foundation::HANDLE, threadinformationclass: THREADINFOCLASS, threadinformation: *mut ::core::ffi::c_void, threadinformationlength: u32, returnlength: *mut u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NtSetInformationThread(threadhandle: super::super::Foundation::HANDLE, threadinformationclass: THREADINFOCLASS, threadinformation: *const ::core::ffi::c_void, threadinformationlength: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenEventA(dwdesiredaccess: SYNCHRONIZATION_ACCESS_RIGHTS, binherithandle: super::super::Foundation::BOOL, lpname: ::windows_sys::core::PCSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenEventW(dwdesiredaccess: SYNCHRONIZATION_ACCESS_RIGHTS, binherithandle: super::super::Foundation::BOOL, lpname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenMutexW(dwdesiredaccess: SYNCHRONIZATION_ACCESS_RIGHTS, binherithandle: super::super::Foundation::BOOL, lpname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn OpenPrivateNamespaceA(lpboundarydescriptor: *const ::core::ffi::c_void, lpaliasprefix: ::windows_sys::core::PCSTR) -> NamespaceHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn OpenPrivateNamespaceW(lpboundarydescriptor: *const ::core::ffi::c_void, lpaliasprefix: ::windows_sys::core::PCWSTR) -> NamespaceHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenProcess(dwdesiredaccess: PROCESS_ACCESS_RIGHTS, binherithandle: super::super::Foundation::BOOL, dwprocessid: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn OpenProcessToken(processhandle: super::super::Foundation::HANDLE, desiredaccess: super::super::Security::TOKEN_ACCESS_MASK, tokenhandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenSemaphoreW(dwdesiredaccess: SYNCHRONIZATION_ACCESS_RIGHTS, binherithandle: super::super::Foundation::BOOL, lpname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenThread(dwdesiredaccess: THREAD_ACCESS_RIGHTS, binherithandle: super::super::Foundation::BOOL, dwthreadid: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn OpenThreadToken(threadhandle: super::super::Foundation::HANDLE, desiredaccess: super::super::Security::TOKEN_ACCESS_MASK, openasself: super::super::Foundation::BOOL, tokenhandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenWaitableTimerW(dwdesiredaccess: SYNCHRONIZATION_ACCESS_RIGHTS, binherithandle: super::super::Foundation::BOOL, lptimername: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PulseEvent(hevent: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] pub fn QueryDepthSList(listhead: *const super::Kernel::SLIST_HEADER) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryFullProcessImageNameA(hprocess: super::super::Foundation::HANDLE, dwflags: PROCESS_NAME_FORMAT, lpexename: ::windows_sys::core::PSTR, lpdwsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryFullProcessImageNameW(hprocess: super::super::Foundation::HANDLE, dwflags: PROCESS_NAME_FORMAT, lpexename: ::windows_sys::core::PWSTR, lpdwsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryProcessAffinityUpdateMode(hprocess: super::super::Foundation::HANDLE, lpdwflags: *mut PROCESS_AFFINITY_AUTO_UPDATE_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryProtectedPolicy(policyguid: *const ::windows_sys::core::GUID, policyvalue: *mut usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryThreadpoolStackInformation(ptpp: PTP_POOL, ptpsi: *mut TP_POOL_STACK_INFORMATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryUmsThreadInformation(umsthread: *const ::core::ffi::c_void, umsthreadinfoclass: RTL_UMS_THREAD_INFO_CLASS, umsthreadinformation: *mut ::core::ffi::c_void, umsthreadinformationlength: u32, returnlength: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueueUserAPC(pfnapc: super::super::Foundation::PAPCFUNC, hthread: super::super::Foundation::HANDLE, dwdata: usize) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueueUserAPC2(apcroutine: super::super::Foundation::PAPCFUNC, thread: super::super::Foundation::HANDLE, data: usize, flags: QUEUE_USER_APC_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueueUserWorkItem(function: LPTHREAD_START_ROUTINE, context: *const ::core::ffi::c_void, flags: WORKER_THREAD_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterWaitForSingleObject(phnewwaitobject: *mut super::super::Foundation::HANDLE, hobject: super::super::Foundation::HANDLE, callback: WAITORTIMERCALLBACK, context: *const ::core::ffi::c_void, dwmilliseconds: u32, dwflags: WORKER_THREAD_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReleaseMutex(hmutex: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReleaseMutexWhenCallbackReturns(pci: *mut TP_CALLBACK_INSTANCE, r#mut: super::super::Foundation::HANDLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn ReleaseSRWLockExclusive(srwlock: *mut RTL_SRWLOCK); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn ReleaseSRWLockShared(srwlock: *mut RTL_SRWLOCK); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReleaseSemaphore(hsemaphore: super::super::Foundation::HANDLE, lreleasecount: i32, lppreviouscount: *mut i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReleaseSemaphoreWhenCallbackReturns(pci: *mut TP_CALLBACK_INSTANCE, sem: super::super::Foundation::HANDLE, crel: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResetEvent(hevent: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ResumeThread(hthread: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn SetCriticalSectionSpinCount(lpcriticalsection: *mut RTL_CRITICAL_SECTION, dwspincount: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetEvent(hevent: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetEventWhenCallbackReturns(pci: *mut TP_CALLBACK_INSTANCE, evt: super::super::Foundation::HANDLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetPriorityClass(hprocess: super::super::Foundation::HANDLE, dwpriorityclass: PROCESS_CREATION_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetProcessAffinityMask(hprocess: super::super::Foundation::HANDLE, dwprocessaffinitymask: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetProcessAffinityUpdateMode(hprocess: super::super::Foundation::HANDLE, dwflags: PROCESS_AFFINITY_AUTO_UPDATE_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetProcessDEPPolicy(dwflags: PROCESS_DEP_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))] pub fn SetProcessDefaultCpuSetMasks(process: super::super::Foundation::HANDLE, cpusetmasks: *const super::SystemInformation::GROUP_AFFINITY, cpusetmaskcount: u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetProcessDefaultCpuSets(process: super::super::Foundation::HANDLE, cpusetids: *const u32, cpusetidcount: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetProcessDynamicEHContinuationTargets(process: super::super::Foundation::HANDLE, numberoftargets: u16, targets: *mut PROCESS_DYNAMIC_EH_CONTINUATION_TARGET) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetProcessDynamicEnforcedCetCompatibleRanges(process: super::super::Foundation::HANDLE, numberofranges: u16, ranges: *mut PROCESS_DYNAMIC_ENFORCED_ADDRESS_RANGE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetProcessInformation(hprocess: super::super::Foundation::HANDLE, processinformationclass: PROCESS_INFORMATION_CLASS, processinformation: *const ::core::ffi::c_void, processinformationsize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetProcessMitigationPolicy(mitigationpolicy: PROCESS_MITIGATION_POLICY, lpbuffer: *const ::core::ffi::c_void, dwlength: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetProcessPriorityBoost(hprocess: super::super::Foundation::HANDLE, bdisablepriorityboost: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetProcessRestrictionExemption(fenableexemption: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetProcessShutdownParameters(dwlevel: u32, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetProcessWorkingSetSize(hprocess: super::super::Foundation::HANDLE, dwminimumworkingsetsize: usize, dwmaximumworkingsetsize: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetProtectedPolicy(policyguid: *const ::windows_sys::core::GUID, policyvalue: usize, oldpolicyvalue: *mut usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetThreadAffinityMask(hthread: super::super::Foundation::HANDLE, dwthreadaffinitymask: usize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetThreadDescription(hthread: super::super::Foundation::HANDLE, lpthreaddescription: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))] pub fn SetThreadGroupAffinity(hthread: super::super::Foundation::HANDLE, groupaffinity: *const super::SystemInformation::GROUP_AFFINITY, previousgroupaffinity: *mut super::SystemInformation::GROUP_AFFINITY) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetThreadIdealProcessor(hthread: super::super::Foundation::HANDLE, dwidealprocessor: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn SetThreadIdealProcessorEx(hthread: super::super::Foundation::HANDLE, lpidealprocessor: *const super::Kernel::PROCESSOR_NUMBER, lppreviousidealprocessor: *mut super::Kernel::PROCESSOR_NUMBER) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetThreadInformation(hthread: super::super::Foundation::HANDLE, threadinformationclass: THREAD_INFORMATION_CLASS, threadinformation: *const ::core::ffi::c_void, threadinformationsize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetThreadPriority(hthread: super::super::Foundation::HANDLE, npriority: THREAD_PRIORITY) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetThreadPriorityBoost(hthread: super::super::Foundation::HANDLE, bdisablepriorityboost: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))] pub fn SetThreadSelectedCpuSetMasks(thread: super::super::Foundation::HANDLE, cpusetmasks: *const super::SystemInformation::GROUP_AFFINITY, cpusetmaskcount: u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetThreadSelectedCpuSets(thread: super::super::Foundation::HANDLE, cpusetids: *const u32, cpusetidcount: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetThreadStackGuarantee(stacksizeinbytes: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetThreadToken(thread: *const super::super::Foundation::HANDLE, token: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetThreadpoolStackInformation(ptpp: PTP_POOL, ptpsi: *const TP_POOL_STACK_INFORMATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn SetThreadpoolThreadMaximum(ptpp: PTP_POOL, cthrdmost: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetThreadpoolThreadMinimum(ptpp: PTP_POOL, cthrdmic: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetThreadpoolTimer(pti: *mut TP_TIMER, pftduetime: *const super::super::Foundation::FILETIME, msperiod: u32, mswindowlength: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetThreadpoolTimerEx(pti: *mut TP_TIMER, pftduetime: *const super::super::Foundation::FILETIME, msperiod: u32, mswindowlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetThreadpoolWait(pwa: *mut TP_WAIT, h: super::super::Foundation::HANDLE, pfttimeout: *const super::super::Foundation::FILETIME); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetThreadpoolWaitEx(pwa: *mut TP_WAIT, h: super::super::Foundation::HANDLE, pfttimeout: *const super::super::Foundation::FILETIME, reserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetTimerQueueTimer(timerqueue: super::super::Foundation::HANDLE, callback: WAITORTIMERCALLBACK, parameter: *const ::core::ffi::c_void, duetime: u32, period: u32, preferio: super::super::Foundation::BOOL) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetUmsThreadInformation(umsthread: *const ::core::ffi::c_void, umsthreadinfoclass: RTL_UMS_THREAD_INFO_CLASS, umsthreadinformation: *const ::core::ffi::c_void, umsthreadinformationlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWaitableTimer(htimer: super::super::Foundation::HANDLE, lpduetime: *const i64, lperiod: i32, pfncompletionroutine: PTIMERAPCROUTINE, lpargtocompletionroutine: *const ::core::ffi::c_void, fresume: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWaitableTimerEx(htimer: super::super::Foundation::HANDLE, lpduetime: *const i64, lperiod: i32, pfncompletionroutine: PTIMERAPCROUTINE, lpargtocompletionroutine: *const ::core::ffi::c_void, wakecontext: *const REASON_CONTEXT, tolerabledelay: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn Sleep(dwmilliseconds: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn SleepConditionVariableCS(conditionvariable: *mut RTL_CONDITION_VARIABLE, criticalsection: *mut RTL_CRITICAL_SECTION, dwmilliseconds: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SleepConditionVariableSRW(conditionvariable: *mut RTL_CONDITION_VARIABLE, srwlock: *mut RTL_SRWLOCK, dwmilliseconds: u32, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SleepEx(dwmilliseconds: u32, balertable: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn StartThreadpoolIo(pio: *mut TP_IO); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn SubmitThreadpoolWork(pwk: *mut TP_WORK); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SuspendThread(hthread: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn SwitchToFiber(lpfiber: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SwitchToThread() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TerminateProcess(hprocess: super::super::Foundation::HANDLE, uexitcode: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TerminateThread(hthread: super::super::Foundation::HANDLE, dwexitcode: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn TlsAlloc() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TlsFree(dwtlsindex: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn TlsGetValue(dwtlsindex: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TlsSetValue(dwtlsindex: u32, lptlsvalue: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TryAcquireSRWLockExclusive(srwlock: *mut RTL_SRWLOCK) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TryAcquireSRWLockShared(srwlock: *mut RTL_SRWLOCK) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn TryEnterCriticalSection(lpcriticalsection: *mut RTL_CRITICAL_SECTION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TrySubmitThreadpoolCallback(pfns: PTP_SIMPLE_CALLBACK, pv: *mut ::core::ffi::c_void, pcbe: *const TP_CALLBACK_ENVIRON_V3) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UmsThreadYield(schedulerparam: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnregisterWait(waithandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnregisterWaitEx(waithandle: super::super::Foundation::HANDLE, completionevent: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UpdateProcThreadAttribute(lpattributelist: LPPROC_THREAD_ATTRIBUTE_LIST, dwflags: u32, attribute: usize, lpvalue: *const ::core::ffi::c_void, cbsize: usize, lppreviousvalue: *mut ::core::ffi::c_void, lpreturnsize: *const usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WaitForInputIdle(hprocess: super::super::Foundation::HANDLE, dwmilliseconds: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WaitForMultipleObjects(ncount: u32, lphandles: *const super::super::Foundation::HANDLE, bwaitall: super::super::Foundation::BOOL, dwmilliseconds: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WaitForMultipleObjectsEx(ncount: u32, lphandles: *const super::super::Foundation::HANDLE, bwaitall: super::super::Foundation::BOOL, dwmilliseconds: u32, balertable: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WaitForSingleObject(hhandle: super::super::Foundation::HANDLE, dwmilliseconds: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WaitForSingleObjectEx(hhandle: super::super::Foundation::HANDLE, dwmilliseconds: u32, balertable: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WaitForThreadpoolIoCallbacks(pio: *mut TP_IO, fcancelpendingcallbacks: super::super::Foundation::BOOL); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WaitForThreadpoolTimerCallbacks(pti: *mut TP_TIMER, fcancelpendingcallbacks: super::super::Foundation::BOOL); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WaitForThreadpoolWaitCallbacks(pwa: *mut TP_WAIT, fcancelpendingcallbacks: super::super::Foundation::BOOL); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WaitForThreadpoolWorkCallbacks(pwk: *mut TP_WORK, fcancelpendingcallbacks: super::super::Foundation::BOOL); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WaitOnAddress(address: *const ::core::ffi::c_void, compareaddress: *const ::core::ffi::c_void, addresssize: usize, dwmilliseconds: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn WakeAllConditionVariable(conditionvariable: *mut RTL_CONDITION_VARIABLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn WakeByAddressAll(address: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn WakeByAddressSingle(address: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn WakeConditionVariable(conditionvariable: *mut RTL_CONDITION_VARIABLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn WinExec(lpcmdline: ::windows_sys::core::PCSTR, ucmdshow: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub fn Wow64SetThreadDefaultGuestMachine(machine: u16) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Wow64SuspendThread(hthread: super::super::Foundation::HANDLE) -> u32; diff --git a/crates/libs/sys/src/Windows/Win32/System/Time/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Time/mod.rs index f80fd7507d..5d2d29bb73 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Time/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Time/mod.rs @@ -3,45 +3,87 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumDynamicTimeZoneInformation(dwindex: u32, lptimezoneinformation: *mut DYNAMIC_TIME_ZONE_INFORMATION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FileTimeToSystemTime(lpfiletime: *const super::super::Foundation::FILETIME, lpsystemtime: *mut super::super::Foundation::SYSTEMTIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDynamicTimeZoneInformation(ptimezoneinformation: *mut DYNAMIC_TIME_ZONE_INFORMATION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDynamicTimeZoneInformationEffectiveYears(lptimezoneinformation: *const DYNAMIC_TIME_ZONE_INFORMATION, firstyear: *mut u32, lastyear: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTimeZoneInformation(lptimezoneinformation: *mut TIME_ZONE_INFORMATION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTimeZoneInformationForYear(wyear: u16, pdtzi: *const DYNAMIC_TIME_ZONE_INFORMATION, ptzi: *mut TIME_ZONE_INFORMATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LocalFileTimeToLocalSystemTime(timezoneinformation: *const TIME_ZONE_INFORMATION, localfiletime: *const super::super::Foundation::FILETIME, localsystemtime: *mut super::super::Foundation::SYSTEMTIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LocalSystemTimeToLocalFileTime(timezoneinformation: *const TIME_ZONE_INFORMATION, localsystemtime: *const super::super::Foundation::SYSTEMTIME, localfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetDynamicTimeZoneInformation(lptimezoneinformation: *const DYNAMIC_TIME_ZONE_INFORMATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetTimeZoneInformation(lptimezoneinformation: *const TIME_ZONE_INFORMATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SystemTimeToFileTime(lpsystemtime: *const super::super::Foundation::SYSTEMTIME, lpfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SystemTimeToTzSpecificLocalTime(lptimezoneinformation: *const TIME_ZONE_INFORMATION, lpuniversaltime: *const super::super::Foundation::SYSTEMTIME, lplocaltime: *mut super::super::Foundation::SYSTEMTIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SystemTimeToTzSpecificLocalTimeEx(lptimezoneinformation: *const DYNAMIC_TIME_ZONE_INFORMATION, lpuniversaltime: *const super::super::Foundation::SYSTEMTIME, lplocaltime: *mut super::super::Foundation::SYSTEMTIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TzSpecificLocalTimeToSystemTime(lptimezoneinformation: *const TIME_ZONE_INFORMATION, lplocaltime: *const super::super::Foundation::SYSTEMTIME, lpuniversaltime: *mut super::super::Foundation::SYSTEMTIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TzSpecificLocalTimeToSystemTimeEx(lptimezoneinformation: *const DYNAMIC_TIME_ZONE_INFORMATION, lplocaltime: *const super::super::Foundation::SYSTEMTIME, lpuniversaltime: *mut super::super::Foundation::SYSTEMTIME) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/System/TpmBaseServices/mod.rs b/crates/libs/sys/src/Windows/Win32/System/TpmBaseServices/mod.rs index a41d615030..a2fd0b8532 100644 --- a/crates/libs/sys/src/Windows/Win32/System/TpmBaseServices/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/TpmBaseServices/mod.rs @@ -1,31 +1,67 @@ #[cfg_attr(windows, link(name = "windows"))] -extern "system" { +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDeviceID(pbwindowsaik: *mut u8, cbwindowsaik: u32, pcbresult: *mut u32, pfprotectedbytpm: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDeviceIDString(pszwindowsaik: ::windows_sys::core::PWSTR, cchwindowsaik: u32, pcchresult: *mut u32, pfprotectedbytpm: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] pub fn Tbsi_Context_Create(pcontextparams: *const TBS_CONTEXT_PARAMS, phcontext: *mut *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] pub fn Tbsi_Create_Windows_Key(keyhandle: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] pub fn Tbsi_GetDeviceInfo(size: u32, info: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] pub fn Tbsi_Get_OwnerAuth(hcontext: *const ::core::ffi::c_void, ownerauthtype: u32, poutputbuf: *mut u8, poutputbuflen: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] pub fn Tbsi_Get_TCG_Log(hcontext: *const ::core::ffi::c_void, poutputbuf: *mut u8, poutputbuflen: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] pub fn Tbsi_Get_TCG_Log_Ex(logtype: u32, pboutput: *mut u8, pcboutput: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] pub fn Tbsi_Physical_Presence_Command(hcontext: *const ::core::ffi::c_void, pabinput: *const u8, cbinput: u32, paboutput: *mut u8, pcboutput: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] pub fn Tbsi_Revoke_Attestation() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] pub fn Tbsip_Cancel_Commands(hcontext: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] pub fn Tbsip_Context_Close(hcontext: *const ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] pub fn Tbsip_Submit_Command(hcontext: *const ::core::ffi::c_void, locality: TBS_COMMAND_LOCALITY, priority: TBS_COMMAND_PRIORITY, pabcommand: *const u8, cbcommand: u32, pabresult: *mut u8, pcbresult: *mut u32) -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/System/UserAccessLogging/mod.rs b/crates/libs/sys/src/Windows/Win32/System/UserAccessLogging/mod.rs index 35ac497498..5da3e29b40 100644 --- a/crates/libs/sys/src/Windows/Win32/System/UserAccessLogging/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/UserAccessLogging/mod.rs @@ -3,11 +3,20 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_UserAccessLogging\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn UalInstrument(data: *const UAL_DATA_BLOB) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_UserAccessLogging\"`*"] pub fn UalRegisterProduct(wszproductname: ::windows_sys::core::PCWSTR, wszrolename: ::windows_sys::core::PCWSTR, wszguid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_UserAccessLogging\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn UalStart(data: *const UAL_DATA_BLOB) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_UserAccessLogging\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub fn UalStop(data: *const UAL_DATA_BLOB) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs b/crates/libs/sys/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs index da7b9cc8c0..987f06286e 100644 --- a/crates/libs/sys/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs @@ -3,6 +3,9 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT_Direct3D11\"`, `\"Win32_Graphics_Dxgi\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi")] pub fn CreateDirect3D11DeviceFromDXGIDevice(dxgidevice: super::super::super::Graphics::Dxgi::IDXGIDevice, graphicsdevice: *mut ::windows_sys::core::IInspectable) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT_Direct3D11\"`, `\"Win32_Graphics_Dxgi\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi")] pub fn CreateDirect3D11SurfaceFromDXGISurface(dgxisurface: super::super::super::Graphics::Dxgi::IDXGISurface, graphicssurface: *mut ::windows_sys::core::IInspectable) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/System/WinRT/mod.rs b/crates/libs/sys/src/Windows/Win32/System/WinRT/mod.rs index 1a5d80b100..23ee14538c 100644 --- a/crates/libs/sys/src/Windows/Win32/System/WinRT/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/WinRT/mod.rs @@ -32,153 +32,360 @@ pub mod Xaml; extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn CoDecodeProxy(dwclientpid: u32, ui64proxyaddress: u64, pserverinformation: *mut ServerInformation) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn CreateControlInput(riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn CreateControlInputEx(pcorewindow: ::windows_sys::core::IUnknown, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"System\"`*"] #[cfg(feature = "System")] pub fn CreateDispatcherQueueController(options: DispatcherQueueOptions, dispatcherqueuecontroller: *mut super::super::super::System::DispatcherQueueController) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn CreateRandomAccessStreamOnFile(filepath: ::windows_sys::core::PCWSTR, accessmode: u32, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn CreateRandomAccessStreamOverStream(stream: super::Com::IStream, options: BSOS_OPTIONS, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn CreateStreamOverRandomAccessStream(randomaccessstream: ::windows_sys::core::IUnknown, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn GetRestrictedErrorInfo(pprestrictederrorinfo: *mut IRestrictedErrorInfo) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn HSTRING_UserFree(param0: *const u32, param1: *const ::windows_sys::core::HSTRING); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn HSTRING_UserFree64(param0: *const u32, param1: *const ::windows_sys::core::HSTRING); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn HSTRING_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const ::windows_sys::core::HSTRING) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn HSTRING_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const ::windows_sys::core::HSTRING) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn HSTRING_UserSize(param0: *const u32, param1: u32, param2: *const ::windows_sys::core::HSTRING) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn HSTRING_UserSize64(param0: *const u32, param1: u32, param2: *const ::windows_sys::core::HSTRING) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn HSTRING_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut ::windows_sys::core::HSTRING) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn HSTRING_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut ::windows_sys::core::HSTRING) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsErrorPropagationEnabled() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn MetaDataGetDispenser(rclsid: *const ::windows_sys::core::GUID, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoActivateInstance(activatableclassid: ::windows_sys::core::HSTRING, instance: *mut ::windows_sys::core::IInspectable) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoCaptureErrorContext(hr: ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoClearError(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoFailFastWithErrorContext(hrerror: ::windows_sys::core::HRESULT); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoFreeParameterizedTypeExtra(extra: ROPARAMIIDHANDLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoGetActivationFactory(activatableclassid: ::windows_sys::core::HSTRING, iid: *const ::windows_sys::core::GUID, factory: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoGetAgileReference(options: AgileReferenceOptions, riid: *const ::windows_sys::core::GUID, punk: ::windows_sys::core::IUnknown, ppagilereference: *mut IAgileReference) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoGetApartmentIdentifier(apartmentidentifier: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_System_Com_Marshal\"`*"] #[cfg(feature = "Win32_System_Com_Marshal")] pub fn RoGetBufferMarshaler(buffermarshaler: *mut super::Com::Marshal::IMarshal) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoGetErrorReportingFlags(pflags: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoGetMatchingRestrictedErrorInfo(hrin: ::windows_sys::core::HRESULT, pprestrictederrorinfo: *mut IRestrictedErrorInfo) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoGetParameterizedTypeInstanceIID(nameelementcount: u32, nameelements: *const ::windows_sys::core::PWSTR, metadatalocator: IRoMetaDataLocator, iid: *mut ::windows_sys::core::GUID, pextra: *mut ROPARAMIIDHANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoGetServerActivatableClasses(servername: ::windows_sys::core::HSTRING, activatableclassids: *mut *mut ::windows_sys::core::HSTRING, count: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoInitialize(inittype: RO_INIT_TYPE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoInspectCapturedStackBackTrace(targeterrorinfoaddress: usize, machine: u16, readmemorycallback: PINSPECT_MEMORY_CALLBACK, context: *const ::core::ffi::c_void, framecount: *mut u32, targetbacktraceaddress: *mut usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoInspectThreadErrorInfo(targettebaddress: usize, machine: u16, readmemorycallback: PINSPECT_MEMORY_CALLBACK, context: *const ::core::ffi::c_void, targeterrorinfoaddress: *mut usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RoOriginateError(error: ::windows_sys::core::HRESULT, message: ::windows_sys::core::HSTRING) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RoOriginateErrorW(error: ::windows_sys::core::HRESULT, cchmax: u32, message: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RoOriginateLanguageException(error: ::windows_sys::core::HRESULT, message: ::windows_sys::core::HSTRING, languageexception: ::windows_sys::core::IUnknown) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoParameterizedTypeExtraGetTypeSignature(extra: ROPARAMIIDHANDLE) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoRegisterActivationFactories(activatableclassids: *const ::windows_sys::core::HSTRING, activationfactorycallbacks: *const isize, count: u32, cookie: *mut isize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoRegisterForApartmentShutdown(callbackobject: IApartmentShutdown, apartmentidentifier: *mut u64, regcookie: *mut APARTMENT_SHUTDOWN_REGISTRATION_COOKIE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoReportFailedDelegate(punkdelegate: ::windows_sys::core::IUnknown, prestrictederrorinfo: IRestrictedErrorInfo) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoReportUnhandledError(prestrictederrorinfo: IRestrictedErrorInfo) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoResolveRestrictedErrorInfoReference(reference: ::windows_sys::core::PCWSTR, pprestrictederrorinfo: *mut IRestrictedErrorInfo) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoRevokeActivationFactories(cookie: isize); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoSetErrorReportingFlags(flags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RoTransformError(olderror: ::windows_sys::core::HRESULT, newerror: ::windows_sys::core::HRESULT, message: ::windows_sys::core::HSTRING) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RoTransformErrorW(olderror: ::windows_sys::core::HRESULT, newerror: ::windows_sys::core::HRESULT, cchmax: u32, message: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoUninitialize(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn RoUnregisterForApartmentShutdown(regcookie: APARTMENT_SHUTDOWN_REGISTRATION_COOKIE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn SetRestrictedErrorInfo(prestrictederrorinfo: IRestrictedErrorInfo) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn WindowsCompareStringOrdinal(string1: ::windows_sys::core::HSTRING, string2: ::windows_sys::core::HSTRING, result: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn WindowsConcatString(string1: ::windows_sys::core::HSTRING, string2: ::windows_sys::core::HSTRING, newstring: *mut ::windows_sys::core::HSTRING) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn WindowsCreateString(sourcestring: ::windows_sys::core::PCWSTR, length: u32, string: *mut ::windows_sys::core::HSTRING) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn WindowsCreateStringReference(sourcestring: ::windows_sys::core::PCWSTR, length: u32, hstringheader: *mut HSTRING_HEADER, string: *mut ::windows_sys::core::HSTRING) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn WindowsDeleteString(string: ::windows_sys::core::HSTRING) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn WindowsDeleteStringBuffer(bufferhandle: HSTRING_BUFFER) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn WindowsDuplicateString(string: ::windows_sys::core::HSTRING, newstring: *mut ::windows_sys::core::HSTRING) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn WindowsGetStringLen(string: ::windows_sys::core::HSTRING) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn WindowsGetStringRawBuffer(string: ::windows_sys::core::HSTRING, length: *mut u32) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn WindowsInspectString(targethstring: usize, machine: u16, callback: PINSPECT_HSTRING_CALLBACK, context: *const ::core::ffi::c_void, length: *mut u32, targetstringaddress: *mut usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn WindowsInspectString2(targethstring: u64, machine: u16, callback: PINSPECT_HSTRING_CALLBACK2, context: *const ::core::ffi::c_void, length: *mut u32, targetstringaddress: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WindowsIsStringEmpty(string: ::windows_sys::core::HSTRING) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn WindowsPreallocateStringBuffer(length: u32, charbuffer: *mut *mut u16, bufferhandle: *mut HSTRING_BUFFER) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn WindowsPromoteStringBuffer(bufferhandle: HSTRING_BUFFER, string: *mut ::windows_sys::core::HSTRING) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn WindowsReplaceString(string: ::windows_sys::core::HSTRING, stringreplaced: ::windows_sys::core::HSTRING, stringreplacewith: ::windows_sys::core::HSTRING, newstring: *mut ::windows_sys::core::HSTRING) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WindowsStringHasEmbeddedNull(string: ::windows_sys::core::HSTRING, hasembednull: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn WindowsSubstring(string: ::windows_sys::core::HSTRING, startindex: u32, newstring: *mut ::windows_sys::core::HSTRING) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn WindowsSubstringWithSpecifiedLength(string: ::windows_sys::core::HSTRING, startindex: u32, length: u32, newstring: *mut ::windows_sys::core::HSTRING) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn WindowsTrimStringEnd(string: ::windows_sys::core::HSTRING, trimstring: ::windows_sys::core::HSTRING, newstring: *mut ::windows_sys::core::HSTRING) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] pub fn WindowsTrimStringStart(string: ::windows_sys::core::HSTRING, trimstring: ::windows_sys::core::HSTRING, newstring: *mut ::windows_sys::core::HSTRING) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/System/WindowsProgramming/mod.rs b/crates/libs/sys/src/Windows/Win32/System/WindowsProgramming/mod.rs index f251bdc320..afeedaddc9 100644 --- a/crates/libs/sys/src/Windows/Win32/System/WindowsProgramming/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/WindowsProgramming/mod.rs @@ -2,611 +2,1289 @@ extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn AddDelBackupEntryA(lpcszfilelist: ::windows_sys::core::PCSTR, lpcszbackupdir: ::windows_sys::core::PCSTR, lpcszbasename: ::windows_sys::core::PCSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn AddDelBackupEntryW(lpcszfilelist: ::windows_sys::core::PCWSTR, lpcszbackupdir: ::windows_sys::core::PCWSTR, lpcszbasename: ::windows_sys::core::PCWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AdvInstallFileA(hwnd: super::super::Foundation::HWND, lpszsourcedir: ::windows_sys::core::PCSTR, lpszsourcefile: ::windows_sys::core::PCSTR, lpszdestdir: ::windows_sys::core::PCSTR, lpszdestfile: ::windows_sys::core::PCSTR, dwflags: u32, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AdvInstallFileW(hwnd: super::super::Foundation::HWND, lpszsourcedir: ::windows_sys::core::PCWSTR, lpszsourcefile: ::windows_sys::core::PCWSTR, lpszdestdir: ::windows_sys::core::PCWSTR, lpszdestfile: ::windows_sys::core::PCWSTR, dwflags: u32, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ApphelpCheckShellObject(objectclsid: *const ::windows_sys::core::GUID, bshimifnecessary: super::super::Foundation::BOOL, pullflags: *mut u64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CancelDeviceWakeupRequest(hdevice: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CancelTimerQueueTimer(timerqueue: super::super::Foundation::HANDLE, timer: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn CloseINFEngine(hinf: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn ConvertAuxiliaryCounterToPerformanceCounter(ullauxiliarycountervalue: u64, lpperformancecountervalue: *mut u64, lpconversionerror: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn ConvertPerformanceCounterToAuxiliaryCounter(ullperformancecountervalue: u64, lpauxiliarycountervalue: *mut u64, lpconversionerror: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateWaitableTimerA(lptimerattributes: *const super::super::Security::SECURITY_ATTRIBUTES, bmanualreset: super::super::Foundation::BOOL, lptimername: ::windows_sys::core::PCSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn CreateWaitableTimerExA(lptimerattributes: *const super::super::Security::SECURITY_ATTRIBUTES, lptimername: ::windows_sys::core::PCSTR, dwflags: u32, dwdesiredaccess: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn DCIBeginAccess(pdci: *mut DCISURFACEINFO, x: i32, y: i32, dx: i32, dy: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn DCICloseProvider(hdc: super::super::Graphics::Gdi::HDC); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] 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; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn DCICreateOverlay(hdc: super::super::Graphics::Gdi::HDC, lpoffscreensurf: *mut ::core::ffi::c_void, lplpsurface: *mut *mut DCIOVERLAY) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn DCICreatePrimary(hdc: super::super::Graphics::Gdi::HDC, lplpsurface: *mut *mut DCISURFACEINFO) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn DCIDestroy(pdci: *mut DCISURFACEINFO); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn DCIDraw(pdci: *mut DCIOFFSCREEN) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn DCIEndAccess(pdci: *mut DCISURFACEINFO); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 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; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn DCIOpenProvider() -> super::super::Graphics::Gdi::HDC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DCISetClipList(pdci: *mut DCIOFFSCREEN, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DCISetDestination(pdci: *mut DCIOFFSCREEN, dst: *mut super::super::Foundation::RECT, src: *mut super::super::Foundation::RECT) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 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; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn DelNodeA(pszfileordirname: ::windows_sys::core::PCSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DelNodeRunDLL32W(hwnd: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszparms: ::windows_sys::core::PWSTR, nshow: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn DelNodeW(pszfileordirname: ::windows_sys::core::PCWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsHostnameToComputerNameA(hostname: ::windows_sys::core::PCSTR, computername: ::windows_sys::core::PSTR, nsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DnsHostnameToComputerNameW(hostname: ::windows_sys::core::PCWSTR, computername: ::windows_sys::core::PWSTR, nsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DosDateTimeToFileTime(wfatdate: u16, wfattime: u16, lpfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] #[cfg(feature = "Win32_Foundation")] pub fn EnableProcessOptionalXStateFeatures(features: u64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ExecuteCabA(hwnd: super::super::Foundation::HWND, pcab: *mut CABINFOA, preserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ExecuteCabW(hwnd: super::super::Foundation::HWND, pcab: *mut CABINFOW, preserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn ExtractFilesA(pszcabname: ::windows_sys::core::PCSTR, pszexpanddir: ::windows_sys::core::PCSTR, dwflags: u32, pszfilelist: ::windows_sys::core::PCSTR, lpreserved: *mut ::core::ffi::c_void, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn ExtractFilesW(pszcabname: ::windows_sys::core::PCWSTR, pszexpanddir: ::windows_sys::core::PCWSTR, dwflags: u32, pszfilelist: ::windows_sys::core::PCWSTR, lpreserved: *mut ::core::ffi::c_void, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn FileSaveMarkNotExistA(lpfilelist: ::windows_sys::core::PCSTR, lpdir: ::windows_sys::core::PCSTR, lpbasename: ::windows_sys::core::PCSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn FileSaveMarkNotExistW(lpfilelist: ::windows_sys::core::PCWSTR, lpdir: ::windows_sys::core::PCWSTR, lpbasename: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FileSaveRestoreOnINFA(hwnd: super::super::Foundation::HWND, psztitle: ::windows_sys::core::PCSTR, pszinf: ::windows_sys::core::PCSTR, pszsection: ::windows_sys::core::PCSTR, pszbackupdir: ::windows_sys::core::PCSTR, pszbasebackupfile: ::windows_sys::core::PCSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FileSaveRestoreOnINFW(hwnd: super::super::Foundation::HWND, psztitle: ::windows_sys::core::PCWSTR, pszinf: ::windows_sys::core::PCWSTR, pszsection: ::windows_sys::core::PCWSTR, pszbackupdir: ::windows_sys::core::PCWSTR, pszbasebackupfile: ::windows_sys::core::PCWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FileSaveRestoreW(hdlg: super::super::Foundation::HWND, lpfilelist: ::windows_sys::core::PCWSTR, lpdir: ::windows_sys::core::PCWSTR, lpbasename: ::windows_sys::core::PCWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FileTimeToDosDateTime(lpfiletime: *const super::super::Foundation::FILETIME, lpfatdate: *mut u16, lpfattime: *mut u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GdiEntry13() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetComputerNameA(lpbuffer: ::windows_sys::core::PSTR, nsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetComputerNameW(lpbuffer: ::windows_sys::core::PWSTR, nsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCurrentHwProfileA(lphwprofileinfo: *mut HW_PROFILE_INFOA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCurrentHwProfileW(lphwprofileinfo: *mut HW_PROFILE_INFOW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetDCRegionData(hdc: super::super::Graphics::Gdi::HDC, size: u32, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GetFeatureEnabledState(featureid: u32, changetime: FEATURE_CHANGE_TIME) -> FEATURE_ENABLED_STATE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFeatureVariant(featureid: u32, changetime: FEATURE_CHANGE_TIME, payloadid: *mut u32, hasnotification: *mut super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GetFirmwareEnvironmentVariableA(lpname: ::windows_sys::core::PCSTR, lpguid: ::windows_sys::core::PCSTR, pbuffer: *mut ::core::ffi::c_void, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GetFirmwareEnvironmentVariableExA(lpname: ::windows_sys::core::PCSTR, lpguid: ::windows_sys::core::PCSTR, pbuffer: *mut ::core::ffi::c_void, nsize: u32, pdwattribubutes: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GetFirmwareEnvironmentVariableExW(lpname: ::windows_sys::core::PCWSTR, lpguid: ::windows_sys::core::PCWSTR, pbuffer: *mut ::core::ffi::c_void, nsize: u32, pdwattribubutes: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GetFirmwareEnvironmentVariableW(lpname: ::windows_sys::core::PCWSTR, lpguid: ::windows_sys::core::PCWSTR, pbuffer: *mut ::core::ffi::c_void, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GetPrivateProfileIntA(lpappname: ::windows_sys::core::PCSTR, lpkeyname: ::windows_sys::core::PCSTR, ndefault: i32, lpfilename: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GetPrivateProfileIntW(lpappname: ::windows_sys::core::PCWSTR, lpkeyname: ::windows_sys::core::PCWSTR, ndefault: i32, lpfilename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GetPrivateProfileSectionA(lpappname: ::windows_sys::core::PCSTR, lpreturnedstring: ::windows_sys::core::PSTR, nsize: u32, lpfilename: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GetPrivateProfileSectionNamesA(lpszreturnbuffer: ::windows_sys::core::PSTR, nsize: u32, lpfilename: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GetPrivateProfileSectionNamesW(lpszreturnbuffer: ::windows_sys::core::PWSTR, nsize: u32, lpfilename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GetPrivateProfileSectionW(lpappname: ::windows_sys::core::PCWSTR, lpreturnedstring: ::windows_sys::core::PWSTR, nsize: u32, lpfilename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GetPrivateProfileStringA(lpappname: ::windows_sys::core::PCSTR, lpkeyname: ::windows_sys::core::PCSTR, lpdefault: ::windows_sys::core::PCSTR, lpreturnedstring: ::windows_sys::core::PSTR, nsize: u32, lpfilename: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GetPrivateProfileStringW(lpappname: ::windows_sys::core::PCWSTR, lpkeyname: ::windows_sys::core::PCWSTR, lpdefault: ::windows_sys::core::PCWSTR, lpreturnedstring: ::windows_sys::core::PWSTR, nsize: u32, lpfilename: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPrivateProfileStructA(lpszsection: ::windows_sys::core::PCSTR, lpszkey: ::windows_sys::core::PCSTR, lpstruct: *mut ::core::ffi::c_void, usizestruct: u32, szfile: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPrivateProfileStructW(lpszsection: ::windows_sys::core::PCWSTR, lpszkey: ::windows_sys::core::PCWSTR, lpstruct: *mut ::core::ffi::c_void, usizestruct: u32, szfile: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GetProfileIntA(lpappname: ::windows_sys::core::PCSTR, lpkeyname: ::windows_sys::core::PCSTR, ndefault: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GetProfileIntW(lpappname: ::windows_sys::core::PCWSTR, lpkeyname: ::windows_sys::core::PCWSTR, ndefault: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GetProfileSectionA(lpappname: ::windows_sys::core::PCSTR, lpreturnedstring: ::windows_sys::core::PSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GetProfileSectionW(lpappname: ::windows_sys::core::PCWSTR, lpreturnedstring: ::windows_sys::core::PWSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GetProfileStringA(lpappname: ::windows_sys::core::PCSTR, lpkeyname: ::windows_sys::core::PCSTR, lpdefault: ::windows_sys::core::PCSTR, lpreturnedstring: ::windows_sys::core::PSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GetProfileStringW(lpappname: ::windows_sys::core::PCWSTR, lpkeyname: ::windows_sys::core::PCWSTR, lpdefault: ::windows_sys::core::PCWSTR, lpreturnedstring: ::windows_sys::core::PWSTR, nsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSystemRegistryQuota(pdwquotaallowed: *mut u32, pdwquotaused: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] pub fn GetThreadEnabledXStateFeatures() -> u64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUserNameA(lpbuffer: ::windows_sys::core::PSTR, pcbbuffer: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUserNameW(lpbuffer: ::windows_sys::core::PWSTR, pcbbuffer: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetVersionFromFileA(lpszfilename: ::windows_sys::core::PCSTR, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetVersionFromFileExA(lpszfilename: ::windows_sys::core::PCSTR, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetVersionFromFileExW(lpszfilename: ::windows_sys::core::PCWSTR, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetVersionFromFileW(lpszfilename: ::windows_sys::core::PCWSTR, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetWindowRegionData(hwnd: super::super::Foundation::HWND, size: u32, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GlobalCompact(dwminfree: u32) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GlobalFix(hmem: isize); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GlobalUnWire(hmem: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GlobalUnfix(hmem: isize); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn GlobalWire(hmem: isize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IMPGetIMEA(param0: super::super::Foundation::HWND, param1: *mut IMEPROA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IMPGetIMEW(param0: super::super::Foundation::HWND, param1: *mut IMEPROW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IMPQueryIMEA(param0: *mut IMEPROA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IMPQueryIMEW(param0: *mut IMEPROW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IMPSetIMEA(param0: super::super::Foundation::HWND, param1: *mut IMEPROA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IMPSetIMEW(param0: super::super::Foundation::HWND, param1: *mut IMEPROW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsApiSetImplemented(contract: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsBadHugeReadPtr(lp: *const ::core::ffi::c_void, ucb: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsBadHugeWritePtr(lp: *const ::core::ffi::c_void, ucb: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsNTAdmin(dwreserved: u32, lpdwreserved: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsNativeVhdBoot(nativevhdboot: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsTokenUntrusted(tokenhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LaunchINFSectionExW(hwnd: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszparms: ::windows_sys::core::PCWSTR, nshow: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LaunchINFSectionW(hwndowner: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszparams: ::windows_sys::core::PWSTR, nshow: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn LocalCompact(uminfree: u32) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn LocalShrink(hmem: isize, cbnewsize: u32) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn MulDiv(nnumber: i32, nnumerator: i32, ndenominator: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NeedReboot(dwrebootcheck: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn NeedRebootInit() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NtClose(handle: super::super::Foundation::HANDLE) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NtDeviceIoControlFile(filehandle: super::super::Foundation::HANDLE, event: super::super::Foundation::HANDLE, apcroutine: 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; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NtNotifyChangeMultipleKeys(masterkeyhandle: super::super::Foundation::HANDLE, count: u32, subordinateobjects: *const OBJECT_ATTRIBUTES, event: super::super::Foundation::HANDLE, apcroutine: 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::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] 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; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] 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; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] 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; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NtQuerySystemInformation(systeminformationclass: SYSTEM_INFORMATION_CLASS, systeminformation: *mut ::core::ffi::c_void, systeminformationlength: u32, returnlength: *mut u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NtQuerySystemTime(systemtime: *mut i64) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NtQueryTimerResolution(maximumtime: *mut u32, minimumtime: *mut u32, currenttime: *mut u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NtRenameKey(keyhandle: super::super::Foundation::HANDLE, newname: *const super::super::Foundation::UNICODE_STRING) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] 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; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NtWaitForSingleObject(handle: super::super::Foundation::HANDLE, alertable: super::super::Foundation::BOOLEAN, timeout: *mut i64) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn OpenINFEngineA(pszinffilename: ::windows_sys::core::PCSTR, pszinstallsection: ::windows_sys::core::PCSTR, dwflags: u32, phinf: *mut *mut ::core::ffi::c_void, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn OpenINFEngineW(pszinffilename: ::windows_sys::core::PCWSTR, pszinstallsection: ::windows_sys::core::PCWSTR, dwflags: u32, phinf: *mut *mut ::core::ffi::c_void, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenMutexA(dwdesiredaccess: u32, binherithandle: super::super::Foundation::BOOL, lpname: ::windows_sys::core::PCSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenSemaphoreA(dwdesiredaccess: u32, binherithandle: super::super::Foundation::BOOL, lpname: ::windows_sys::core::PCSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenWaitableTimerA(dwdesiredaccess: u32, binherithandle: super::super::Foundation::BOOL, lptimername: ::windows_sys::core::PCSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn QueryAuxiliaryCounterFrequency(lpauxiliarycounterfrequency: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryIdleProcessorCycleTime(bufferlength: *mut u32, processoridlecycletime: *mut u64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryIdleProcessorCycleTimeEx(group: u16, bufferlength: *mut u32, processoridlecycletime: *mut u64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn QueryInterruptTime(lpinterrupttime: *mut u64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn QueryInterruptTimePrecise(lpinterrupttimeprecise: *mut u64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryProcessCycleTime(processhandle: super::super::Foundation::HANDLE, cycletime: *mut u64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryThreadCycleTime(threadhandle: super::super::Foundation::HANDLE, cycletime: *mut u64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn QueryUnbiasedInterruptTime(unbiasedtime: *mut u64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn QueryUnbiasedInterruptTimePrecise(lpunbiasedinterrupttimeprecise: *mut u64); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn RaiseCustomSystemEventTrigger(customsystemeventtriggerconfig: *const CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RebootCheckOnInstallA(hwnd: super::super::Foundation::HWND, pszinf: ::windows_sys::core::PCSTR, pszsec: ::windows_sys::core::PCSTR, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RebootCheckOnInstallW(hwnd: super::super::Foundation::HWND, pszinf: ::windows_sys::core::PCWSTR, pszsec: ::windows_sys::core::PCWSTR, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn RecordFeatureError(featureid: u32, error: *const FEATURE_ERROR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn RecordFeatureUsage(featureid: u32, kind: u32, addend: u32, originname: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegInstallA(hmod: super::super::Foundation::HINSTANCE, pszsection: ::windows_sys::core::PCSTR, psttable: *const STRTABLEA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegInstallW(hmod: super::super::Foundation::HINSTANCE, pszsection: ::windows_sys::core::PCWSTR, psttable: *const STRTABLEW) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn RegRestoreAllA(hwnd: super::super::Foundation::HWND, psztitlestring: ::windows_sys::core::PCSTR, hkbckupkey: super::Registry::HKEY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn RegRestoreAllW(hwnd: super::super::Foundation::HWND, psztitlestring: ::windows_sys::core::PCWSTR, hkbckupkey: super::Registry::HKEY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn RegSaveRestoreA(hwnd: super::super::Foundation::HWND, psztitlestring: ::windows_sys::core::PCSTR, hkbckupkey: super::Registry::HKEY, pcszrootkey: ::windows_sys::core::PCSTR, pcszsubkey: ::windows_sys::core::PCSTR, pcszvaluename: ::windows_sys::core::PCSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn RegSaveRestoreOnINFA(hwnd: super::super::Foundation::HWND, psztitle: ::windows_sys::core::PCSTR, pszinf: ::windows_sys::core::PCSTR, pszsection: ::windows_sys::core::PCSTR, hhklmbackkey: super::Registry::HKEY, hhkcubackkey: super::Registry::HKEY, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn RegSaveRestoreOnINFW(hwnd: super::super::Foundation::HWND, psztitle: ::windows_sys::core::PCWSTR, pszinf: ::windows_sys::core::PCWSTR, pszsection: ::windows_sys::core::PCWSTR, hhklmbackkey: super::Registry::HKEY, hhkcubackkey: super::Registry::HKEY, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn RegSaveRestoreW(hwnd: super::super::Foundation::HWND, psztitlestring: ::windows_sys::core::PCWSTR, hkbckupkey: super::Registry::HKEY, pcszrootkey: ::windows_sys::core::PCWSTR, pcszsubkey: ::windows_sys::core::PCWSTR, pcszvaluename: ::windows_sys::core::PCWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReplacePartitionUnit(targetpartition: ::windows_sys::core::PCWSTR, sparepartition: ::windows_sys::core::PCWSTR, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RequestDeviceWakeup(hdevice: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn RtlAnsiStringToUnicodeString(destinationstring: *mut super::super::Foundation::UNICODE_STRING, sourcestring: *mut super::Kernel::STRING, allocatedestinationstring: super::super::Foundation::BOOLEAN) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtlCharToInteger(string: *mut i8, base: u32, value: *mut u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] pub fn RtlFreeAnsiString(ansistring: *mut super::Kernel::STRING); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] pub fn RtlFreeOemString(oemstring: *mut super::Kernel::STRING); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtlFreeUnicodeString(unicodestring: *mut super::super::Foundation::UNICODE_STRING); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn RtlGetReturnAddressHijackTarget() -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] pub fn RtlInitAnsiString(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn RtlInitAnsiStringEx(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] pub fn RtlInitString(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn RtlInitStringEx(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtlInitUnicodeString(destinationstring: *mut super::super::Foundation::UNICODE_STRING, sourcestring: ::windows_sys::core::PCWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] 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; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtlLocalTimeToSystemTime(localtime: *mut i64, systemtime: *mut i64) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn RtlRaiseCustomSystemEventTrigger(triggerconfig: *const CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtlTimeToSecondsSince1970(time: *mut i64, elapsedseconds: *mut u32) -> super::super::Foundation::BOOLEAN; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn RtlUnicodeStringToAnsiString(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut super::super::Foundation::UNICODE_STRING, allocatedestinationstring: super::super::Foundation::BOOLEAN) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub fn RtlUnicodeStringToOemString(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut super::super::Foundation::UNICODE_STRING, allocatedestinationstring: super::super::Foundation::BOOLEAN) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RtlUnicodeToMultiByteSize(bytesinmultibytestring: *mut u32, unicodestring: ::windows_sys::core::PCWSTR, bytesinunicodestring: u32) -> super::super::Foundation::NTSTATUS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn RtlUniform(seed: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RunSetupCommandA(hwnd: super::super::Foundation::HWND, szcmdname: ::windows_sys::core::PCSTR, szinfsection: ::windows_sys::core::PCSTR, szdir: ::windows_sys::core::PCSTR, lpsztitle: ::windows_sys::core::PCSTR, phexe: *mut super::super::Foundation::HANDLE, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RunSetupCommandW(hwnd: super::super::Foundation::HWND, szcmdname: ::windows_sys::core::PCWSTR, szinfsection: ::windows_sys::core::PCWSTR, szdir: ::windows_sys::core::PCWSTR, lpsztitle: ::windows_sys::core::PCWSTR, phexe: *mut super::super::Foundation::HANDLE, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SendIMEMessageExA(param0: super::super::Foundation::HWND, param1: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SendIMEMessageExW(param0: super::super::Foundation::HWND, param1: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetEnvironmentStringsA(newenvironment: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFirmwareEnvironmentVariableA(lpname: ::windows_sys::core::PCSTR, lpguid: ::windows_sys::core::PCSTR, pvalue: *const ::core::ffi::c_void, nsize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFirmwareEnvironmentVariableExA(lpname: ::windows_sys::core::PCSTR, lpguid: ::windows_sys::core::PCSTR, pvalue: *const ::core::ffi::c_void, nsize: u32, dwattributes: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFirmwareEnvironmentVariableExW(lpname: ::windows_sys::core::PCWSTR, lpguid: ::windows_sys::core::PCWSTR, pvalue: *const ::core::ffi::c_void, nsize: u32, dwattributes: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFirmwareEnvironmentVariableW(lpname: ::windows_sys::core::PCWSTR, lpguid: ::windows_sys::core::PCWSTR, pvalue: *const ::core::ffi::c_void, nsize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn SetHandleCount(unumber: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetMessageWaitingIndicator(hmsgindicator: super::super::Foundation::HANDLE, ulmsgcount: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetPerUserSecValuesA(pperuser: *mut PERUSERSECTIONA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetPerUserSecValuesW(pperuser: *mut PERUSERSECTIONW) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SignalObjectAndWait(hobjecttosignal: super::super::Foundation::HANDLE, hobjecttowaiton: super::super::Foundation::HANDLE, dwmilliseconds: u32, balertable: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn SubscribeFeatureStateChangeNotification(subscription: *mut FEATURE_STATE_CHANGE_SUBSCRIPTION, callback: PFEATURE_STATE_CHANGE_CALLBACK, context: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn TranslateInfStringA(pszinffilename: ::windows_sys::core::PCSTR, pszinstallsection: ::windows_sys::core::PCSTR, psztranslatesection: ::windows_sys::core::PCSTR, psztranslatekey: ::windows_sys::core::PCSTR, pszbuffer: ::windows_sys::core::PSTR, cchbuffer: u32, pdwrequiredsize: *mut u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn TranslateInfStringExA(hinf: *mut ::core::ffi::c_void, pszinffilename: ::windows_sys::core::PCSTR, psztranslatesection: ::windows_sys::core::PCSTR, psztranslatekey: ::windows_sys::core::PCSTR, pszbuffer: ::windows_sys::core::PSTR, dwbuffersize: u32, pdwrequiredsize: *mut u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn TranslateInfStringExW(hinf: *mut ::core::ffi::c_void, pszinffilename: ::windows_sys::core::PCWSTR, psztranslatesection: ::windows_sys::core::PCWSTR, psztranslatekey: ::windows_sys::core::PCWSTR, pszbuffer: ::windows_sys::core::PWSTR, dwbuffersize: u32, pdwrequiredsize: *mut u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn TranslateInfStringW(pszinffilename: ::windows_sys::core::PCWSTR, pszinstallsection: ::windows_sys::core::PCWSTR, psztranslatesection: ::windows_sys::core::PCWSTR, psztranslatekey: ::windows_sys::core::PCWSTR, pszbuffer: ::windows_sys::core::PWSTR, cchbuffer: u32, pdwrequiredsize: *mut u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn UnsubscribeFeatureStateChangeNotification(subscription: FEATURE_STATE_CHANGE_SUBSCRIPTION); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UserInstStubWrapperA(hwnd: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszparms: ::windows_sys::core::PCSTR, nshow: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UserInstStubWrapperW(hwnd: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszparms: ::windows_sys::core::PCWSTR, nshow: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UserUnInstStubWrapperA(hwnd: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszparms: ::windows_sys::core::PCSTR, nshow: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UserUnInstStubWrapperW(hwnd: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszparms: ::windows_sys::core::PCWSTR, nshow: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WINNLSEnableIME(param0: super::super::Foundation::HWND, param1: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WINNLSGetEnableStatus(param0: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WINNLSGetIMEHotkey(param0: super::super::Foundation::HWND) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn WinWatchClose(hww: HWINWATCH); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinWatchDidStatusChange(hww: HWINWATCH) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn WinWatchGetClipList(hww: HWINWATCH, prc: *mut super::super::Foundation::RECT, size: u32, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinWatchNotify(hww: HWINWATCH, notifycallback: WINWATCHNOTIFYPROC, notifyparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinWatchOpen(hwnd: super::super::Foundation::HWND) -> HWINWATCH; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WldpGetLockdownPolicy(hostinformation: *const WLDP_HOST_INFORMATION, lockdownstate: *mut u32, lockdownflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] 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; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WldpIsDynamicCodePolicyEnabled(isenabled: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn WldpQueryDeviceSecurityInformation(information: *mut WLDP_DEVICE_SECURITY_INFORMATION, informationlength: u32, returnlength: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WldpQueryDynamicCodeTrust(filehandle: super::super::Foundation::HANDLE, baseimage: *const ::core::ffi::c_void, imagesize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WldpSetDynamicCodeTrust(filehandle: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WritePrivateProfileSectionA(lpappname: ::windows_sys::core::PCSTR, lpstring: ::windows_sys::core::PCSTR, lpfilename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WritePrivateProfileSectionW(lpappname: ::windows_sys::core::PCWSTR, lpstring: ::windows_sys::core::PCWSTR, lpfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WritePrivateProfileStringA(lpappname: ::windows_sys::core::PCSTR, lpkeyname: ::windows_sys::core::PCSTR, lpstring: ::windows_sys::core::PCSTR, lpfilename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WritePrivateProfileStringW(lpappname: ::windows_sys::core::PCWSTR, lpkeyname: ::windows_sys::core::PCWSTR, lpstring: ::windows_sys::core::PCWSTR, lpfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WritePrivateProfileStructA(lpszsection: ::windows_sys::core::PCSTR, lpszkey: ::windows_sys::core::PCSTR, lpstruct: *const ::core::ffi::c_void, usizestruct: u32, szfile: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WritePrivateProfileStructW(lpszsection: ::windows_sys::core::PCWSTR, lpszkey: ::windows_sys::core::PCWSTR, lpstruct: *const ::core::ffi::c_void, usizestruct: u32, szfile: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WriteProfileSectionA(lpappname: ::windows_sys::core::PCSTR, lpstring: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WriteProfileSectionW(lpappname: ::windows_sys::core::PCWSTR, lpstring: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WriteProfileStringA(lpappname: ::windows_sys::core::PCSTR, lpkeyname: ::windows_sys::core::PCSTR, lpstring: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WriteProfileStringW(lpappname: ::windows_sys::core::PCWSTR, lpkeyname: ::windows_sys::core::PCWSTR, lpstring: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn _hread(hfile: i32, lpbuffer: *mut ::core::ffi::c_void, lbytes: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn _hwrite(hfile: i32, lpbuffer: ::windows_sys::core::PCSTR, lbytes: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn _lclose(hfile: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn _lcreat(lppathname: ::windows_sys::core::PCSTR, iattribute: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn _llseek(hfile: i32, loffset: i32, iorigin: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn _lopen(lppathname: ::windows_sys::core::PCSTR, ireadwrite: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn _lread(hfile: i32, lpbuffer: *mut ::core::ffi::c_void, ubytes: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] pub fn _lwrite(hfile: i32, lpbuffer: ::windows_sys::core::PCSTR, ubytes: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn uaw_lstrcmpW(string1: *const u16, string2: *const u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn uaw_lstrcmpiW(string1: *const u16, string2: *const u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn uaw_lstrlenW(string: *const u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn uaw_wcschr(string: *const u16, character: u16) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn uaw_wcscpy(destination: *mut u16, source: *const u16) -> *mut u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn uaw_wcsicmp(string1: *const u16, string2: *const u16) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn uaw_wcslen(string: *const u16) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub fn uaw_wcsrchr(string: *const u16, character: u16) -> *mut u16; diff --git a/crates/libs/sys/src/Windows/Win32/System/Wmi/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Wmi/mod.rs index c8bf4494e0..825fac24fe 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Wmi/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Wmi/mod.rs @@ -1,5 +1,5 @@ #[cfg_attr(windows, link(name = "windows"))] -extern "system" { +extern "cdecl" { #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] pub fn MI_Application_InitializeV1(flags: u32, applicationid: *const u16, extendederror: *mut *mut MI_Instance, application: *mut MI_Application) -> MI_Result; } diff --git a/crates/libs/sys/src/Windows/Win32/UI/Accessibility/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Accessibility/mod.rs index df6293c0e1..7a8f625834 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Accessibility/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Accessibility/mod.rs @@ -3,310 +3,676 @@ extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AccNotifyTouchInteraction(hwndapp: super::super::Foundation::HWND, hwndtarget: super::super::Foundation::HWND, pttarget: super::super::Foundation::POINT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AccSetRunningUtilityState(hwndapp: super::super::Foundation::HWND, dwutilitystatemask: u32, dwutilitystate: ACC_UTILITY_STATE_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn AccessibleChildren(pacccontainer: IAccessible, ichildstart: i32, cchildren: i32, rgvarchildren: *mut super::super::System::Com::VARIANT, pcobtained: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn AccessibleObjectFromEvent(hwnd: super::super::Foundation::HWND, dwid: u32, dwchildid: u32, ppacc: *mut IAccessible, pvarchild: *mut super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn AccessibleObjectFromPoint(ptscreen: super::super::Foundation::POINT, ppacc: *mut IAccessible, pvarchild: *mut super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AccessibleObjectFromWindow(hwnd: super::super::Foundation::HWND, dwid: u32, riid: *const ::windows_sys::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateStdAccessibleObject(hwnd: super::super::Foundation::HWND, idobject: i32, riid: *const ::windows_sys::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateStdAccessibleProxyA(hwnd: super::super::Foundation::HWND, pclassname: ::windows_sys::core::PCSTR, idobject: i32, riid: *const ::windows_sys::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateStdAccessibleProxyW(hwnd: super::super::Foundation::HWND, pclassname: ::windows_sys::core::PCWSTR, idobject: i32, riid: *const ::windows_sys::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn DockPattern_SetDockPosition(hobj: HUIAPATTERNOBJECT, dockposition: DockPosition) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn ExpandCollapsePattern_Collapse(hobj: HUIAPATTERNOBJECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn ExpandCollapsePattern_Expand(hobj: HUIAPATTERNOBJECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn GetOleaccVersionInfo(pver: *mut u32, pbuild: *mut u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn GetRoleTextA(lrole: u32, lpszrole: ::windows_sys::core::PSTR, cchrolemax: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn GetRoleTextW(lrole: u32, lpszrole: ::windows_sys::core::PWSTR, cchrolemax: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn GetStateTextA(lstatebit: u32, lpszstate: ::windows_sys::core::PSTR, cchstate: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn GetStateTextW(lstatebit: u32, lpszstate: ::windows_sys::core::PWSTR, cchstate: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn GridPattern_GetItem(hobj: HUIAPATTERNOBJECT, row: i32, column: i32, presult: *mut HUIANODE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn InvokePattern_Invoke(hobj: HUIAPATTERNOBJECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsWinEventHookInstalled(event: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn ItemContainerPattern_FindItemByProperty(hobj: HUIAPATTERNOBJECT, hnodestartafter: HUIANODE, propertyid: i32, value: super::super::System::Com::VARIANT, pfound: *mut HUIANODE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn LegacyIAccessiblePattern_DoDefaultAction(hobj: HUIAPATTERNOBJECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn LegacyIAccessiblePattern_GetIAccessible(hobj: HUIAPATTERNOBJECT, paccessible: *mut IAccessible) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn LegacyIAccessiblePattern_Select(hobj: HUIAPATTERNOBJECT, flagsselect: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn LegacyIAccessiblePattern_SetValue(hobj: HUIAPATTERNOBJECT, szvalue: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LresultFromObject(riid: *const ::windows_sys::core::GUID, wparam: super::super::Foundation::WPARAM, punk: ::windows_sys::core::IUnknown) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MultipleViewPattern_GetViewName(hobj: HUIAPATTERNOBJECT, viewid: i32, ppstr: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn MultipleViewPattern_SetCurrentView(hobj: HUIAPATTERNOBJECT, viewid: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn NotifyWinEvent(event: u32, hwnd: super::super::Foundation::HWND, idobject: i32, idchild: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ObjectFromLresult(lresult: super::super::Foundation::LRESULT, riid: *const ::windows_sys::core::GUID, wparam: super::super::Foundation::WPARAM, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn RangeValuePattern_SetValue(hobj: HUIAPATTERNOBJECT, val: f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn RegisterPointerInputTarget(hwnd: super::super::Foundation::HWND, pointertype: super::WindowsAndMessaging::POINTER_INPUT_TYPE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn RegisterPointerInputTargetEx(hwnd: super::super::Foundation::HWND, pointertype: super::WindowsAndMessaging::POINTER_INPUT_TYPE, fobserve: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn ScrollItemPattern_ScrollIntoView(hobj: HUIAPATTERNOBJECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn ScrollPattern_Scroll(hobj: HUIAPATTERNOBJECT, horizontalamount: ScrollAmount, verticalamount: ScrollAmount) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn ScrollPattern_SetScrollPercent(hobj: HUIAPATTERNOBJECT, horizontalpercent: f64, verticalpercent: f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn SelectionItemPattern_AddToSelection(hobj: HUIAPATTERNOBJECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn SelectionItemPattern_RemoveFromSelection(hobj: HUIAPATTERNOBJECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn SelectionItemPattern_Select(hobj: HUIAPATTERNOBJECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWinEventHook(eventmin: u32, eventmax: u32, hmodwineventproc: super::super::Foundation::HINSTANCE, pfnwineventproc: WINEVENTPROC, idprocess: u32, idthread: u32, dwflags: u32) -> HWINEVENTHOOK; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn SynchronizedInputPattern_Cancel(hobj: HUIAPATTERNOBJECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn SynchronizedInputPattern_StartListening(hobj: HUIAPATTERNOBJECT, inputtype: SynchronizedInputType) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn TextPattern_GetSelection(hobj: HUIAPATTERNOBJECT, pretval: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn TextPattern_GetVisibleRanges(hobj: HUIAPATTERNOBJECT, pretval: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn TextPattern_RangeFromChild(hobj: HUIAPATTERNOBJECT, hnodechild: HUIANODE, pretval: *mut HUIATEXTRANGE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn TextPattern_RangeFromPoint(hobj: HUIAPATTERNOBJECT, point: UiaPoint, pretval: *mut HUIATEXTRANGE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn TextPattern_get_DocumentRange(hobj: HUIAPATTERNOBJECT, pretval: *mut HUIATEXTRANGE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn TextPattern_get_SupportedTextSelection(hobj: HUIAPATTERNOBJECT, pretval: *mut SupportedTextSelection) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn TextRange_AddToSelection(hobj: HUIATEXTRANGE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn TextRange_Clone(hobj: HUIATEXTRANGE, pretval: *mut HUIATEXTRANGE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TextRange_Compare(hobj: HUIATEXTRANGE, range: HUIATEXTRANGE, pretval: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn TextRange_CompareEndpoints(hobj: HUIATEXTRANGE, endpoint: TextPatternRangeEndpoint, targetrange: HUIATEXTRANGE, targetendpoint: TextPatternRangeEndpoint, pretval: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn TextRange_ExpandToEnclosingUnit(hobj: HUIATEXTRANGE, unit: TextUnit) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn TextRange_FindAttribute(hobj: HUIATEXTRANGE, attributeid: i32, val: super::super::System::Com::VARIANT, backward: super::super::Foundation::BOOL, pretval: *mut HUIATEXTRANGE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TextRange_FindText(hobj: HUIATEXTRANGE, text: super::super::Foundation::BSTR, backward: super::super::Foundation::BOOL, ignorecase: super::super::Foundation::BOOL, pretval: *mut HUIATEXTRANGE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn TextRange_GetAttributeValue(hobj: HUIATEXTRANGE, attributeid: i32, pretval: *mut super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn TextRange_GetBoundingRectangles(hobj: HUIATEXTRANGE, pretval: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn TextRange_GetChildren(hobj: HUIATEXTRANGE, pretval: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn TextRange_GetEnclosingElement(hobj: HUIATEXTRANGE, pretval: *mut HUIANODE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TextRange_GetText(hobj: HUIATEXTRANGE, maxlength: i32, pretval: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn TextRange_Move(hobj: HUIATEXTRANGE, unit: TextUnit, count: i32, pretval: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn TextRange_MoveEndpointByRange(hobj: HUIATEXTRANGE, endpoint: TextPatternRangeEndpoint, targetrange: HUIATEXTRANGE, targetendpoint: TextPatternRangeEndpoint) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn TextRange_MoveEndpointByUnit(hobj: HUIATEXTRANGE, endpoint: TextPatternRangeEndpoint, unit: TextUnit, count: i32, pretval: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn TextRange_RemoveFromSelection(hobj: HUIATEXTRANGE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TextRange_ScrollIntoView(hobj: HUIATEXTRANGE, aligntotop: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn TextRange_Select(hobj: HUIATEXTRANGE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn TogglePattern_Toggle(hobj: HUIAPATTERNOBJECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn TransformPattern_Move(hobj: HUIAPATTERNOBJECT, x: f64, y: f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn TransformPattern_Resize(hobj: HUIAPATTERNOBJECT, width: f64, height: f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn TransformPattern_Rotate(hobj: HUIAPATTERNOBJECT, degrees: f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn UiaAddEvent(hnode: HUIANODE, eventid: i32, pcallback: *mut UiaEventCallback, scope: TreeScope, pproperties: *mut i32, cproperties: i32, prequest: *mut UiaCacheRequest, phevent: *mut HUIAEVENT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UiaClientsAreListening() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn UiaDisconnectAllProviders() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn UiaDisconnectProvider(pprovider: IRawElementProviderSimple) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UiaEventAddWindow(hevent: HUIAEVENT, hwnd: super::super::Foundation::HWND) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UiaEventRemoveWindow(hevent: HUIAEVENT, hwnd: super::super::Foundation::HWND) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn UiaFind(hnode: HUIANODE, pparams: *mut UiaFindParams, prequest: *mut UiaCacheRequest, pprequesteddata: *mut *mut super::super::System::Com::SAFEARRAY, ppoffsets: *mut *mut super::super::System::Com::SAFEARRAY, pptreestructures: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UiaGetErrorDescription(pdescription: *mut super::super::Foundation::BSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn UiaGetPatternProvider(hnode: HUIANODE, patternid: i32, phobj: *mut HUIAPATTERNOBJECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn UiaGetPropertyValue(hnode: HUIANODE, propertyid: i32, pvalue: *mut super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn UiaGetReservedMixedAttributeValue(punkmixedattributevalue: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn UiaGetReservedNotSupportedValue(punknotsupportedvalue: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn UiaGetRootNode(phnode: *mut HUIANODE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn UiaGetRuntimeId(hnode: HUIANODE, pruntimeid: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn UiaGetUpdatedCache(hnode: HUIANODE, prequest: *mut UiaCacheRequest, normalizestate: NormalizeState, pnormalizecondition: *mut UiaCondition, pprequesteddata: *mut *mut super::super::System::Com::SAFEARRAY, pptreestructure: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn UiaHPatternObjectFromVariant(pvar: *mut super::super::System::Com::VARIANT, phobj: *mut HUIAPATTERNOBJECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn UiaHTextRangeFromVariant(pvar: *mut super::super::System::Com::VARIANT, phtextrange: *mut HUIATEXTRANGE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn UiaHUiaNodeFromVariant(pvar: *mut super::super::System::Com::VARIANT, phnode: *mut HUIANODE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UiaHasServerSideProvider(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UiaHostProviderFromHwnd(hwnd: super::super::Foundation::HWND, ppprovider: *mut IRawElementProviderSimple) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn UiaIAccessibleFromProvider(pprovider: IRawElementProviderSimple, dwflags: u32, ppaccessible: *mut IAccessible, pvarchild: *mut super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn UiaLookupId(r#type: AutomationIdentifierType, pguid: *const ::windows_sys::core::GUID) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn UiaNavigate(hnode: HUIANODE, direction: NavigateDirection, pcondition: *mut UiaCondition, prequest: *mut UiaCacheRequest, pprequesteddata: *mut *mut super::super::System::Com::SAFEARRAY, pptreestructure: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn UiaNodeFromFocus(prequest: *mut UiaCacheRequest, pprequesteddata: *mut *mut super::super::System::Com::SAFEARRAY, pptreestructure: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UiaNodeFromHandle(hwnd: super::super::Foundation::HWND, phnode: *mut HUIANODE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn UiaNodeFromPoint(x: f64, y: f64, prequest: *mut UiaCacheRequest, pprequesteddata: *mut *mut super::super::System::Com::SAFEARRAY, pptreestructure: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn UiaNodeFromProvider(pprovider: IRawElementProviderSimple, phnode: *mut HUIANODE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UiaNodeRelease(hnode: HUIANODE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UiaPatternRelease(hobj: HUIAPATTERNOBJECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UiaProviderForNonClient(hwnd: super::super::Foundation::HWND, idobject: i32, idchild: i32, ppprovider: *mut IRawElementProviderSimple) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn UiaProviderFromIAccessible(paccessible: IAccessible, idchild: i32, dwflags: u32, ppprovider: *mut IRawElementProviderSimple) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn UiaRaiseActiveTextPositionChangedEvent(provider: IRawElementProviderSimple, textrange: ITextRangeProvider) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn UiaRaiseAsyncContentLoadedEvent(pprovider: IRawElementProviderSimple, asynccontentloadedstate: AsyncContentLoadedState, percentcomplete: f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn UiaRaiseAutomationEvent(pprovider: IRawElementProviderSimple, id: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn UiaRaiseAutomationPropertyChangedEvent(pprovider: IRawElementProviderSimple, id: i32, oldvalue: super::super::System::Com::VARIANT, newvalue: super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn UiaRaiseChangesEvent(pprovider: IRawElementProviderSimple, eventidcount: i32, puiachanges: *mut UiaChangeInfo) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UiaRaiseNotificationEvent(provider: IRawElementProviderSimple, notificationkind: NotificationKind, notificationprocessing: NotificationProcessing, displaystring: super::super::Foundation::BSTR, activityid: super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn UiaRaiseStructureChangedEvent(pprovider: IRawElementProviderSimple, structurechangetype: StructureChangeType, pruntimeid: *mut i32, cruntimeidlen: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn UiaRaiseTextEditTextChangedEvent(pprovider: IRawElementProviderSimple, texteditchangetype: TextEditChangeType, pchangeddata: *mut super::super::System::Com::SAFEARRAY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn UiaRegisterProviderCallback(pcallback: *mut UiaProviderCallback); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn UiaRemoveEvent(hevent: HUIAEVENT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UiaReturnRawElementProvider(hwnd: super::super::Foundation::HWND, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, el: IRawElementProviderSimple) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn UiaSetFocus(hnode: HUIANODE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UiaTextRangeRelease(hobj: HUIATEXTRANGE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnhookWinEvent(hwineventhook: HWINEVENTHOOK) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn UnregisterPointerInputTarget(hwnd: super::super::Foundation::HWND, pointertype: super::WindowsAndMessaging::POINTER_INPUT_TYPE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn UnregisterPointerInputTargetEx(hwnd: super::super::Foundation::HWND, pointertype: super::WindowsAndMessaging::POINTER_INPUT_TYPE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn ValuePattern_SetValue(hobj: HUIAPATTERNOBJECT, pval: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn VirtualizedItemPattern_Realize(hobj: HUIAPATTERNOBJECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn WindowFromAccessibleObject(param0: IAccessible, phwnd: *mut super::super::Foundation::HWND) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn WindowPattern_Close(hobj: HUIAPATTERNOBJECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] pub fn WindowPattern_SetWindowVisualState(hobj: HUIAPATTERNOBJECT, state: WindowVisualState) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WindowPattern_WaitForInputIdle(hobj: HUIAPATTERNOBJECT, milliseconds: i32, presult: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/UI/ColorSystem/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/ColorSystem/mod.rs index 534056828d..7530c77377 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/ColorSystem/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/ColorSystem/mod.rs @@ -3,354 +3,714 @@ extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AssociateColorProfileWithDeviceA(pmachinename: ::windows_sys::core::PCSTR, pprofilename: ::windows_sys::core::PCSTR, pdevicename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AssociateColorProfileWithDeviceW(pmachinename: ::windows_sys::core::PCWSTR, pprofilename: ::windows_sys::core::PCWSTR, pdevicename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CMCheckColors(hcmtransform: isize, lpainputcolors: *const COLOR, ncolors: u32, ctinput: COLORTYPE, lparesult: *mut u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn CMCheckColorsInGamut(hcmtransform: isize, lpargbtriple: *const super::super::Graphics::Gdi::RGBTRIPLE, lparesult: *mut u8, ncount: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CMCheckRGBs(hcmtransform: isize, lpsrcbits: *const ::core::ffi::c_void, bminput: BMFORMAT, dwwidth: u32, dwheight: u32, dwstride: u32, lparesult: *mut u8, pfncallback: LPBMCALLBACKFN, ulcallbackdata: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CMConvertColorNameToIndex(hprofile: isize, pacolorname: *const *const i8, paindex: *mut u32, dwcount: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CMConvertIndexToColorName(hprofile: isize, paindex: *const u32, pacolorname: *mut *mut i8, dwcount: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CMCreateDeviceLinkProfile(pahprofiles: *const isize, nprofiles: u32, padwintents: *const u32, nintents: u32, dwflags: u32, lpprofiledata: *mut *mut u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`*"] pub fn CMCreateMultiProfileTransform(pahprofiles: *const isize, nprofiles: u32, padwintents: *const u32, nintents: u32, dwflags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn CMCreateProfile(lpcolorspace: *mut LOGCOLORSPACEA, lpprofiledata: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn CMCreateProfileW(lpcolorspace: *mut LOGCOLORSPACEW, lpprofiledata: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn CMCreateTransform(lpcolorspace: *const LOGCOLORSPACEA, lpdevcharacter: *const ::core::ffi::c_void, lptargetdevcharacter: *const ::core::ffi::c_void) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn CMCreateTransformExt(lpcolorspace: *const LOGCOLORSPACEA, lpdevcharacter: *const ::core::ffi::c_void, lptargetdevcharacter: *const ::core::ffi::c_void, dwflags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn CMCreateTransformExtW(lpcolorspace: *const LOGCOLORSPACEW, lpdevcharacter: *const ::core::ffi::c_void, lptargetdevcharacter: *const ::core::ffi::c_void, dwflags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn CMCreateTransformW(lpcolorspace: *const LOGCOLORSPACEW, lpdevcharacter: *const ::core::ffi::c_void, lptargetdevcharacter: *const ::core::ffi::c_void) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CMDeleteTransform(hcmtransform: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`*"] pub fn CMGetInfo(dwinfo: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CMGetNamedProfileInfo(hprofile: isize, pnamedprofileinfo: *mut NAMED_PROFILE_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CMIsProfileValid(hprofile: isize, lpbvalid: *mut i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CMTranslateColors(hcmtransform: isize, lpainputcolors: *const COLOR, ncolors: u32, ctinput: COLORTYPE, lpaoutputcolors: *mut COLOR, ctoutput: COLORTYPE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CMTranslateRGB(hcmtransform: isize, colorref: super::super::Foundation::COLORREF, lpcolorref: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CMTranslateRGBs(hcmtransform: isize, lpsrcbits: *const ::core::ffi::c_void, bminput: BMFORMAT, dwwidth: u32, dwheight: u32, dwstride: u32, lpdestbits: *mut ::core::ffi::c_void, bmoutput: BMFORMAT, dwtranslatedirection: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CMTranslateRGBsExt(hcmtransform: isize, lpsrcbits: *const ::core::ffi::c_void, bminput: BMFORMAT, dwwidth: u32, dwheight: u32, dwinputstride: u32, lpdestbits: *mut ::core::ffi::c_void, bmoutput: BMFORMAT, dwoutputstride: u32, lpfncallback: LPBMCALLBACKFN, ulcallbackdata: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CheckBitmapBits(hcolortransform: isize, psrcbits: *const ::core::ffi::c_void, bminput: BMFORMAT, dwwidth: u32, dwheight: u32, dwstride: u32, paresult: *mut u8, pfncallback: LPBMCALLBACKFN, lpcallbackdata: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CheckColors(hcolortransform: isize, painputcolors: *const COLOR, ncolors: u32, ctinput: COLORTYPE, paresult: *mut u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn CheckColorsInGamut(hdc: super::super::Graphics::Gdi::HDC, lprgbtriple: *const super::super::Graphics::Gdi::RGBTRIPLE, dlpbuffer: *mut ::core::ffi::c_void, ncount: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseColorProfile(hprofile: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ColorCorrectPalette(hdc: super::super::Graphics::Gdi::HDC, hpal: super::super::Graphics::Gdi::HPALETTE, defirst: u32, num: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ColorMatchToTarget(hdc: super::super::Graphics::Gdi::HDC, hdctarget: super::super::Graphics::Gdi::HDC, action: COLOR_MATCH_TO_TARGET_ACTION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ColorProfileAddDisplayAssociation(scope: WCS_PROFILE_MANAGEMENT_SCOPE, profilename: ::windows_sys::core::PCWSTR, targetadapterid: super::super::Foundation::LUID, sourceid: u32, setasdefault: super::super::Foundation::BOOL, associateasadvancedcolor: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ColorProfileGetDisplayDefault(scope: WCS_PROFILE_MANAGEMENT_SCOPE, targetadapterid: super::super::Foundation::LUID, sourceid: u32, profiletype: COLORPROFILETYPE, profilesubtype: COLORPROFILESUBTYPE, profilename: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ColorProfileGetDisplayList(scope: WCS_PROFILE_MANAGEMENT_SCOPE, targetadapterid: super::super::Foundation::LUID, sourceid: u32, profilelist: *mut *mut ::windows_sys::core::PWSTR, profilecount: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ColorProfileGetDisplayUserScope(targetadapterid: super::super::Foundation::LUID, sourceid: u32, scope: *mut WCS_PROFILE_MANAGEMENT_SCOPE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ColorProfileRemoveDisplayAssociation(scope: WCS_PROFILE_MANAGEMENT_SCOPE, profilename: ::windows_sys::core::PCWSTR, targetadapterid: super::super::Foundation::LUID, sourceid: u32, dissociateadvancedcolor: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ColorProfileSetDisplayDefaultAssociation(scope: WCS_PROFILE_MANAGEMENT_SCOPE, profilename: ::windows_sys::core::PCWSTR, profiletype: COLORPROFILETYPE, profilesubtype: COLORPROFILESUBTYPE, targetadapterid: super::super::Foundation::LUID, sourceid: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ConvertColorNameToIndex(hprofile: isize, pacolorname: *const *const i8, paindex: *mut u32, dwcount: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ConvertIndexToColorName(hprofile: isize, paindex: *const u32, pacolorname: *mut *mut i8, dwcount: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn CreateColorSpaceA(lplcs: *const LOGCOLORSPACEA) -> HCOLORSPACE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn CreateColorSpaceW(lplcs: *const LOGCOLORSPACEW) -> HCOLORSPACE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn CreateColorTransformA(plogcolorspace: *const LOGCOLORSPACEA, hdestprofile: isize, htargetprofile: isize, dwflags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn CreateColorTransformW(plogcolorspace: *const LOGCOLORSPACEW, hdestprofile: isize, htargetprofile: isize, dwflags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateDeviceLinkProfile(hprofile: *const isize, nprofiles: u32, padwintent: *const u32, nintents: u32, dwflags: u32, pprofiledata: *mut *mut u8, indexpreferredcmm: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`*"] pub fn CreateMultiProfileTransform(pahprofiles: *const isize, nprofiles: u32, padwintent: *const u32, nintents: u32, dwflags: u32, indexpreferredcmm: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn CreateProfileFromLogColorSpaceA(plogcolorspace: *const LOGCOLORSPACEA, pprofile: *mut *mut u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn CreateProfileFromLogColorSpaceW(plogcolorspace: *const LOGCOLORSPACEW, pprofile: *mut *mut u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteColorSpace(hcs: HCOLORSPACE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteColorTransform(hxform: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DisassociateColorProfileFromDeviceA(pmachinename: ::windows_sys::core::PCSTR, pprofilename: ::windows_sys::core::PCSTR, pdevicename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DisassociateColorProfileFromDeviceW(pmachinename: ::windows_sys::core::PCWSTR, pprofilename: ::windows_sys::core::PCWSTR, pdevicename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumColorProfilesA(pmachinename: ::windows_sys::core::PCSTR, penumrecord: *const ENUMTYPEA, penumerationbuffer: *mut u8, pdwsizeofenumerationbuffer: *mut u32, pnprofiles: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumColorProfilesW(pmachinename: ::windows_sys::core::PCWSTR, penumrecord: *const ENUMTYPEW, penumerationbuffer: *mut u8, pdwsizeofenumerationbuffer: *mut u32, pnprofiles: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn EnumICMProfilesA(hdc: super::super::Graphics::Gdi::HDC, proc: ICMENUMPROCA, param2: super::super::Foundation::LPARAM) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn EnumICMProfilesW(hdc: super::super::Graphics::Gdi::HDC, proc: ICMENUMPROCW, param2: super::super::Foundation::LPARAM) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`*"] pub fn GetCMMInfo(hcolortransform: isize, param1: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetColorDirectoryA(pmachinename: ::windows_sys::core::PCSTR, pbuffer: ::windows_sys::core::PSTR, pdwsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetColorDirectoryW(pmachinename: ::windows_sys::core::PCWSTR, pbuffer: ::windows_sys::core::PWSTR, pdwsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetColorProfileElement(hprofile: isize, tag: u32, dwoffset: u32, pcbelement: *mut u32, pelement: *mut ::core::ffi::c_void, pbreference: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetColorProfileElementTag(hprofile: isize, dwindex: u32, ptag: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetColorProfileFromHandle(hprofile: isize, pprofile: *mut u8, pcbprofile: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetColorProfileHeader(hprofile: isize, pheader: *mut PROFILEHEADER) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn GetColorSpace(hdc: super::super::Graphics::Gdi::HDC) -> HCOLORSPACE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCountColorProfileElements(hprofile: isize, pnelementcount: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetDeviceGammaRamp(hdc: super::super::Graphics::Gdi::HDC, lpramp: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetICMProfileA(hdc: super::super::Graphics::Gdi::HDC, pbufsize: *mut u32, pszfilename: ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetICMProfileW(hdc: super::super::Graphics::Gdi::HDC, pbufsize: *mut u32, pszfilename: ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetLogColorSpaceA(hcolorspace: HCOLORSPACE, lpbuffer: *mut LOGCOLORSPACEA, nsize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetLogColorSpaceW(hcolorspace: HCOLORSPACE, lpbuffer: *mut LOGCOLORSPACEW, nsize: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNamedProfileInfo(hprofile: isize, pnamedprofileinfo: *mut NAMED_PROFILE_INFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPS2ColorRenderingDictionary(hprofile: isize, dwintent: u32, pps2colorrenderingdictionary: *mut u8, pcbps2colorrenderingdictionary: *mut u32, pbbinary: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPS2ColorRenderingIntent(hprofile: isize, dwintent: u32, pbuffer: *mut u8, pcbps2colorrenderingintent: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPS2ColorSpaceArray(hprofile: isize, dwintent: u32, dwcsatype: u32, pps2colorspacearray: *mut u8, pcbps2colorspacearray: *mut u32, pbbinary: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetStandardColorSpaceProfileA(pmachinename: ::windows_sys::core::PCSTR, dwscs: u32, pbuffer: ::windows_sys::core::PSTR, pcbsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetStandardColorSpaceProfileW(pmachinename: ::windows_sys::core::PCWSTR, dwscs: u32, pbuffer: ::windows_sys::core::PWSTR, pcbsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InstallColorProfileA(pmachinename: ::windows_sys::core::PCSTR, pprofilename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InstallColorProfileW(pmachinename: ::windows_sys::core::PCWSTR, pprofilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsColorProfileTagPresent(hprofile: isize, tag: u32, pbpresent: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsColorProfileValid(hprofile: isize, pbvalid: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`*"] pub fn OpenColorProfileA(pprofile: *const PROFILE, dwdesiredaccess: u32, dwsharemode: u32, dwcreationmode: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`*"] pub fn OpenColorProfileW(pprofile: *const PROFILE, dwdesiredaccess: u32, dwsharemode: u32, dwcreationmode: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterCMMA(pmachinename: ::windows_sys::core::PCSTR, cmmid: u32, pcmmdll: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterCMMW(pmachinename: ::windows_sys::core::PCWSTR, cmmid: u32, pcmmdll: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SelectCMM(dwcmmtype: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetColorProfileElement(hprofile: isize, tag: u32, dwoffset: u32, pcbelement: *const u32, pelement: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetColorProfileElementReference(hprofile: isize, newtag: u32, reftag: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetColorProfileElementSize(hprofile: isize, tagtype: u32, pcbelement: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn SetColorProfileHeader(hprofile: isize, pheader: *const PROFILEHEADER) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn SetColorSpace(hdc: super::super::Graphics::Gdi::HDC, hcs: HCOLORSPACE) -> HCOLORSPACE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn SetDeviceGammaRamp(hdc: super::super::Graphics::Gdi::HDC, lpramp: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn SetICMMode(hdc: super::super::Graphics::Gdi::HDC, mode: ICM_MODE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn SetICMProfileA(hdc: super::super::Graphics::Gdi::HDC, lpfilename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn SetICMProfileW(hdc: super::super::Graphics::Gdi::HDC, lpfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetStandardColorSpaceProfileA(pmachinename: ::windows_sys::core::PCSTR, dwprofileid: u32, pprofilename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetStandardColorSpaceProfileW(pmachinename: ::windows_sys::core::PCWSTR, dwprofileid: u32, pprofilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn SetupColorMatchingA(pcms: *mut COLORMATCHSETUPA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn SetupColorMatchingW(pcms: *mut COLORMATCHSETUPW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TranslateBitmapBits(hcolortransform: isize, psrcbits: *const ::core::ffi::c_void, bminput: BMFORMAT, dwwidth: u32, dwheight: u32, dwinputstride: u32, pdestbits: *mut ::core::ffi::c_void, bmoutput: BMFORMAT, dwoutputstride: u32, pfncallback: LPBMCALLBACKFN, ulcallbackdata: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TranslateColors(hcolortransform: isize, painputcolors: *const COLOR, ncolors: u32, ctinput: COLORTYPE, paoutputcolors: *mut COLOR, ctoutput: COLORTYPE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UninstallColorProfileA(pmachinename: ::windows_sys::core::PCSTR, pprofilename: ::windows_sys::core::PCSTR, bdelete: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UninstallColorProfileW(pmachinename: ::windows_sys::core::PCWSTR, pprofilename: ::windows_sys::core::PCWSTR, bdelete: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnregisterCMMA(pmachinename: ::windows_sys::core::PCSTR, cmmid: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnregisterCMMW(pmachinename: ::windows_sys::core::PCWSTR, cmmid: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UpdateICMRegKeyA(reserved: u32, lpszcmid: ::windows_sys::core::PCSTR, lpszfilename: ::windows_sys::core::PCSTR, command: ICM_COMMAND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UpdateICMRegKeyW(reserved: u32, lpszcmid: ::windows_sys::core::PCWSTR, lpszfilename: ::windows_sys::core::PCWSTR, command: ICM_COMMAND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WcsAssociateColorProfileWithDevice(scope: WCS_PROFILE_MANAGEMENT_SCOPE, pprofilename: ::windows_sys::core::PCWSTR, pdevicename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WcsCheckColors(hcolortransform: isize, ncolors: u32, ninputchannels: u32, cdtinput: COLORDATATYPE, cbinput: u32, pinputdata: *const ::core::ffi::c_void, paresult: *mut u8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`*"] pub fn WcsCreateIccProfile(hwcsprofile: isize, dwoptions: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WcsDisassociateColorProfileFromDevice(scope: WCS_PROFILE_MANAGEMENT_SCOPE, pprofilename: ::windows_sys::core::PCWSTR, pdevicename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WcsEnumColorProfiles(scope: WCS_PROFILE_MANAGEMENT_SCOPE, penumrecord: *const ENUMTYPEW, pbuffer: *mut u8, dwsize: u32, pnprofiles: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WcsEnumColorProfilesSize(scope: WCS_PROFILE_MANAGEMENT_SCOPE, penumrecord: *const ENUMTYPEW, pdwsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WcsGetCalibrationManagementState(pbisenabled: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WcsGetDefaultColorProfile(scope: WCS_PROFILE_MANAGEMENT_SCOPE, pdevicename: ::windows_sys::core::PCWSTR, cptcolorprofiletype: COLORPROFILETYPE, cpstcolorprofilesubtype: COLORPROFILESUBTYPE, dwprofileid: u32, cbprofilename: u32, pprofilename: ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WcsGetDefaultColorProfileSize(scope: WCS_PROFILE_MANAGEMENT_SCOPE, pdevicename: ::windows_sys::core::PCWSTR, cptcolorprofiletype: COLORPROFILETYPE, cpstcolorprofilesubtype: COLORPROFILESUBTYPE, dwprofileid: u32, pcbprofilename: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WcsGetDefaultRenderingIntent(scope: WCS_PROFILE_MANAGEMENT_SCOPE, pdwrenderingintent: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WcsGetUsePerUserProfiles(pdevicename: ::windows_sys::core::PCWSTR, dwdeviceclass: u32, puseperuserprofiles: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`*"] pub fn WcsOpenColorProfileA(pcdmpprofile: *const PROFILE, pcampprofile: *const PROFILE, pgmmpprofile: *const PROFILE, dwdesireaccess: u32, dwsharemode: u32, dwcreationmode: u32, dwflags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`*"] pub fn WcsOpenColorProfileW(pcdmpprofile: *const PROFILE, pcampprofile: *const PROFILE, pgmmpprofile: *const PROFILE, dwdesireaccess: u32, dwsharemode: u32, dwcreationmode: u32, dwflags: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WcsSetCalibrationManagementState(bisenabled: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WcsSetDefaultColorProfile(scope: WCS_PROFILE_MANAGEMENT_SCOPE, pdevicename: ::windows_sys::core::PCWSTR, cptcolorprofiletype: COLORPROFILETYPE, cpstcolorprofilesubtype: COLORPROFILESUBTYPE, dwprofileid: u32, pprofilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WcsSetDefaultRenderingIntent(scope: WCS_PROFILE_MANAGEMENT_SCOPE, dwrenderingintent: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WcsSetUsePerUserProfiles(pdevicename: ::windows_sys::core::PCWSTR, dwdeviceclass: u32, useperuserprofiles: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WcsTranslateColors(hcolortransform: isize, ncolors: u32, ninputchannels: u32, cdtinput: COLORDATATYPE, cbinput: u32, pinputdata: *const ::core::ffi::c_void, noutputchannels: u32, cdtoutput: COLORDATATYPE, cboutput: u32, poutputdata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/UI/Controls/Dialogs/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Controls/Dialogs/mod.rs index 351f1529fc..77faee46e1 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Controls/Dialogs/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Controls/Dialogs/mod.rs @@ -3,60 +3,120 @@ extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ChooseColorA(param0: *mut CHOOSECOLORA) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ChooseColorW(param0: *mut CHOOSECOLORW) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ChooseFontA(param0: *mut CHOOSEFONTA) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ChooseFontW(param0: *mut CHOOSEFONTW) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] pub fn CommDlgExtendedError() -> COMMON_DLG_ERRORS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindTextA(param0: *mut FINDREPLACEA) -> super::super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindTextW(param0: *mut FINDREPLACEW) -> super::super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] pub fn GetFileTitleA(param0: ::windows_sys::core::PCSTR, buf: ::windows_sys::core::PSTR, cchsize: u16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] pub fn GetFileTitleW(param0: ::windows_sys::core::PCWSTR, buf: ::windows_sys::core::PWSTR, cchsize: u16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetOpenFileNameA(param0: *mut OPENFILENAMEA) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetOpenFileNameW(param0: *mut OPENFILENAMEW) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSaveFileNameA(param0: *mut OPENFILENAMEA) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSaveFileNameW(param0: *mut OPENFILENAMEW) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PageSetupDlgA(param0: *mut PAGESETUPDLGA) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PageSetupDlgW(param0: *mut PAGESETUPDLGW) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn PrintDlgA(ppd: *mut PRINTDLGA) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn PrintDlgExA(ppd: *mut PRINTDLGEXA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn PrintDlgExW(ppd: *mut PRINTDLGEXW) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn PrintDlgW(ppd: *mut PRINTDLGW) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReplaceTextA(param0: *mut FINDREPLACEA) -> super::super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReplaceTextW(param0: *mut FINDREPLACEW) -> super::super::super::Foundation::HWND; diff --git a/crates/libs/sys/src/Windows/Win32/UI/Controls/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Controls/mod.rs index 641d6837f4..788350ce27 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Controls/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Controls/mod.rs @@ -7,595 +7,1234 @@ extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn BeginBufferedAnimation(hwnd: super::super::Foundation::HWND, hdctarget: super::super::Graphics::Gdi::HDC, prctarget: *const super::super::Foundation::RECT, dwformat: BP_BUFFERFORMAT, ppaintparams: *const BP_PAINTPARAMS, panimationparams: *const BP_ANIMATIONPARAMS, phdcfrom: *mut super::super::Graphics::Gdi::HDC, phdcto: *mut super::super::Graphics::Gdi::HDC) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn BeginBufferedPaint(hdctarget: super::super::Graphics::Gdi::HDC, prctarget: *const super::super::Foundation::RECT, dwformat: BP_BUFFERFORMAT, ppaintparams: *const BP_PAINTPARAMS, phdc: *mut super::super::Graphics::Gdi::HDC) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BeginPanningFeedback(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BufferedPaintClear(hbufferedpaint: isize, prc: *const super::super::Foundation::RECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn BufferedPaintInit() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn BufferedPaintRenderAnimation(hwnd: super::super::Foundation::HWND, hdctarget: super::super::Graphics::Gdi::HDC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BufferedPaintSetAlpha(hbufferedpaint: isize, prc: *const super::super::Foundation::RECT, alpha: u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BufferedPaintStopAllAnimations(hwnd: super::super::Foundation::HWND) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn BufferedPaintUnInit() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CheckDlgButton(hdlg: super::super::Foundation::HWND, nidbutton: i32, ucheck: DLG_BUTTON_CHECK_STATE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CheckRadioButton(hdlg: super::super::Foundation::HWND, nidfirstbutton: i32, nidlastbutton: i32, nidcheckbutton: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn CloseThemeData(htheme: isize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn CreateMappedBitmap(hinstance: super::super::Foundation::HINSTANCE, idbitmap: isize, wflags: u32, lpcolormap: *const COLORMAP, inummaps: i32) -> super::super::Graphics::Gdi::HBITMAP; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))] pub fn CreatePropertySheetPageA(constpropsheetpagepointer: *mut PROPSHEETPAGEA) -> HPROPSHEETPAGE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))] pub fn CreatePropertySheetPageW(constpropsheetpagepointer: *mut PROPSHEETPAGEW) -> HPROPSHEETPAGE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateStatusWindowA(style: i32, lpsztext: ::windows_sys::core::PCSTR, hwndparent: super::super::Foundation::HWND, wid: u32) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateStatusWindowW(style: i32, lpsztext: ::windows_sys::core::PCWSTR, hwndparent: super::super::Foundation::HWND, wid: u32) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn CreateSyntheticPointerDevice(pointertype: super::WindowsAndMessaging::POINTER_INPUT_TYPE, maxcount: u32, mode: POINTER_FEEDBACK_MODE) -> HSYNTHETICPOINTERDEVICE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateToolbarEx(hwnd: super::super::Foundation::HWND, ws: u32, wid: u32, nbitmaps: i32, hbminst: super::super::Foundation::HINSTANCE, wbmid: usize, lpbuttons: *mut TBBUTTON, inumbuttons: i32, dxbutton: i32, dybutton: i32, dxbitmap: i32, dybitmap: i32, ustructsize: u32) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateUpDownControl(dwstyle: u32, x: i32, y: i32, cx: i32, cy: i32, hparent: super::super::Foundation::HWND, nid: i32, hinst: super::super::Foundation::HINSTANCE, hbuddy: super::super::Foundation::HWND, nupper: i32, nlower: i32, npos: i32) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn DPA_Clone(hdpa: HDPA, hdpanew: HDPA) -> HDPA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn DPA_Create(citemgrow: i32) -> HDPA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DPA_CreateEx(cpgrow: i32, hheap: super::super::Foundation::HANDLE) -> HDPA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DPA_DeleteAllPtrs(hdpa: HDPA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn DPA_DeletePtr(hdpa: HDPA, i: i32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DPA_Destroy(hdpa: HDPA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn DPA_DestroyCallback(hdpa: HDPA, pfncb: PFNDAENUMCALLBACK, pdata: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn DPA_EnumCallback(hdpa: HDPA, pfncb: PFNDAENUMCALLBACK, pdata: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn DPA_GetPtr(hdpa: HDPA, i: isize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn DPA_GetPtrIndex(hdpa: HDPA, p: *const ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn DPA_GetSize(hdpa: HDPA) -> u64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DPA_Grow(pdpa: HDPA, cp: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn DPA_InsertPtr(hdpa: HDPA, i: i32, p: *const ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn DPA_LoadStream(phdpa: *mut HDPA, pfn: PFNDPASTREAM, pstream: super::super::System::Com::IStream, pvinstdata: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DPA_Merge(hdpadest: HDPA, hdpasrc: HDPA, dwflags: u32, pfncompare: PFNDACOMPARE, pfnmerge: PFNDPAMERGE, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn DPA_SaveStream(hdpa: HDPA, pfn: PFNDPASTREAM, pstream: super::super::System::Com::IStream, pvinstdata: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DPA_Search(hdpa: HDPA, pfind: *const ::core::ffi::c_void, istart: i32, pfncompare: PFNDACOMPARE, lparam: super::super::Foundation::LPARAM, options: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DPA_SetPtr(hdpa: HDPA, i: i32, p: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DPA_Sort(hdpa: HDPA, pfncompare: PFNDACOMPARE, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn DSA_Clone(hdsa: HDSA) -> HDSA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn DSA_Create(cbitem: i32, citemgrow: i32) -> HDSA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DSA_DeleteAllItems(hdsa: HDSA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DSA_DeleteItem(hdsa: HDSA, i: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DSA_Destroy(hdsa: HDSA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn DSA_DestroyCallback(hdsa: HDSA, pfncb: PFNDAENUMCALLBACK, pdata: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn DSA_EnumCallback(hdsa: HDSA, pfncb: PFNDAENUMCALLBACK, pdata: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DSA_GetItem(hdsa: HDSA, i: i32, pitem: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn DSA_GetItemPtr(hdsa: HDSA, i: i32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn DSA_GetSize(hdsa: HDSA) -> u64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn DSA_InsertItem(hdsa: HDSA, i: i32, pitem: *const ::core::ffi::c_void) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DSA_SetItem(hdsa: HDSA, i: i32, pitem: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DSA_Sort(pdsa: HDSA, pfncompare: PFNDACOMPARE, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DestroyPropertySheetPage(param0: HPROPSHEETPAGE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn DestroySyntheticPointerDevice(device: HSYNTHETICPOINTERDEVICE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DlgDirListA(hdlg: super::super::Foundation::HWND, lppathspec: ::windows_sys::core::PSTR, nidlistbox: i32, nidstaticpath: i32, ufiletype: DLG_DIR_LIST_FILE_TYPE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DlgDirListComboBoxA(hdlg: super::super::Foundation::HWND, lppathspec: ::windows_sys::core::PSTR, nidcombobox: i32, nidstaticpath: i32, ufiletype: DLG_DIR_LIST_FILE_TYPE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DlgDirListComboBoxW(hdlg: super::super::Foundation::HWND, lppathspec: ::windows_sys::core::PWSTR, nidcombobox: i32, nidstaticpath: i32, ufiletype: DLG_DIR_LIST_FILE_TYPE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DlgDirListW(hdlg: super::super::Foundation::HWND, lppathspec: ::windows_sys::core::PWSTR, nidlistbox: i32, nidstaticpath: i32, ufiletype: DLG_DIR_LIST_FILE_TYPE) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DlgDirSelectComboBoxExA(hwnddlg: super::super::Foundation::HWND, lpstring: ::windows_sys::core::PSTR, cchout: i32, idcombobox: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DlgDirSelectComboBoxExW(hwnddlg: super::super::Foundation::HWND, lpstring: ::windows_sys::core::PWSTR, cchout: i32, idcombobox: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DlgDirSelectExA(hwnddlg: super::super::Foundation::HWND, lpstring: ::windows_sys::core::PSTR, chcount: i32, idlistbox: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DlgDirSelectExW(hwnddlg: super::super::Foundation::HWND, lpstring: ::windows_sys::core::PWSTR, chcount: i32, idlistbox: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DrawInsert(handparent: super::super::Foundation::HWND, hlb: super::super::Foundation::HWND, nitem: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DrawShadowText(hdc: super::super::Graphics::Gdi::HDC, psztext: ::windows_sys::core::PCWSTR, cch: u32, prc: *const super::super::Foundation::RECT, dwflags: u32, crtext: super::super::Foundation::COLORREF, crshadow: super::super::Foundation::COLORREF, ixoffset: i32, iyoffset: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DrawStatusTextA(hdc: super::super::Graphics::Gdi::HDC, lprc: *mut super::super::Foundation::RECT, psztext: ::windows_sys::core::PCSTR, uflags: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DrawStatusTextW(hdc: super::super::Graphics::Gdi::HDC, lprc: *mut super::super::Foundation::RECT, psztext: ::windows_sys::core::PCWSTR, uflags: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DrawThemeBackground(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, prect: *const super::super::Foundation::RECT, pcliprect: *const super::super::Foundation::RECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DrawThemeBackgroundEx(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, prect: *const super::super::Foundation::RECT, poptions: *const DTBGOPTS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DrawThemeEdge(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, pdestrect: *const super::super::Foundation::RECT, uedge: u32, uflags: u32, pcontentrect: *mut super::super::Foundation::RECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DrawThemeIcon(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, prect: *const super::super::Foundation::RECT, himl: HIMAGELIST, iimageindex: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DrawThemeParentBackground(hwnd: super::super::Foundation::HWND, hdc: super::super::Graphics::Gdi::HDC, prc: *const super::super::Foundation::RECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DrawThemeParentBackgroundEx(hwnd: super::super::Foundation::HWND, hdc: super::super::Graphics::Gdi::HDC, dwflags: DRAW_THEME_PARENT_BACKGROUND_FLAGS, prc: *const super::super::Foundation::RECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DrawThemeText(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, psztext: ::windows_sys::core::PCWSTR, cchtext: i32, dwtextflags: u32, dwtextflags2: u32, prect: *const super::super::Foundation::RECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DrawThemeTextEx(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, psztext: ::windows_sys::core::PCWSTR, cchtext: i32, dwtextflags: u32, prect: *mut super::super::Foundation::RECT, poptions: *const DTTOPTS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn EnableScrollBar(hwnd: super::super::Foundation::HWND, wsbflags: super::WindowsAndMessaging::SCROLLBAR_CONSTANTS, warrows: ENABLE_SCROLL_BAR_ARROWS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnableThemeDialogTexture(hwnd: super::super::Foundation::HWND, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnableTheming(fenable: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EndBufferedAnimation(hbpanimation: isize, fupdatetarget: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EndBufferedPaint(hbufferedpaint: isize, fupdatetarget: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EndPanningFeedback(hwnd: super::super::Foundation::HWND, fanimateback: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvaluateProximityToPolygon(numvertices: u32, controlpolygon: *const super::super::Foundation::POINT, phittestinginput: *const TOUCH_HIT_TESTING_INPUT, pproximityeval: *mut TOUCH_HIT_TESTING_PROXIMITY_EVALUATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EvaluateProximityToRect(controlboundingbox: *const super::super::Foundation::RECT, phittestinginput: *const TOUCH_HIT_TESTING_INPUT, pproximityeval: *mut TOUCH_HIT_TESTING_PROXIMITY_EVALUATION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FlatSB_EnableScrollBar(param0: super::super::Foundation::HWND, param1: i32, param2: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn FlatSB_GetScrollInfo(param0: super::super::Foundation::HWND, code: super::WindowsAndMessaging::SCROLLBAR_CONSTANTS, param2: *mut super::WindowsAndMessaging::SCROLLINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn FlatSB_GetScrollPos(param0: super::super::Foundation::HWND, code: super::WindowsAndMessaging::SCROLLBAR_CONSTANTS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FlatSB_GetScrollProp(param0: super::super::Foundation::HWND, propindex: WSB_PROP, param2: *mut i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn FlatSB_GetScrollRange(param0: super::super::Foundation::HWND, code: super::WindowsAndMessaging::SCROLLBAR_CONSTANTS, param2: *mut i32, param3: *mut i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn FlatSB_SetScrollInfo(param0: super::super::Foundation::HWND, code: super::WindowsAndMessaging::SCROLLBAR_CONSTANTS, psi: *mut super::WindowsAndMessaging::SCROLLINFO, fredraw: super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn FlatSB_SetScrollPos(param0: super::super::Foundation::HWND, code: super::WindowsAndMessaging::SCROLLBAR_CONSTANTS, pos: i32, fredraw: super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FlatSB_SetScrollProp(param0: super::super::Foundation::HWND, index: WSB_PROP, newvalue: isize, param3: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn FlatSB_SetScrollRange(param0: super::super::Foundation::HWND, code: super::WindowsAndMessaging::SCROLLBAR_CONSTANTS, min: i32, max: i32, fredraw: super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn FlatSB_ShowScrollBar(param0: super::super::Foundation::HWND, code: super::WindowsAndMessaging::SCROLLBAR_CONSTANTS, param2: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn GetBufferedPaintBits(hbufferedpaint: isize, ppbbuffer: *mut *mut super::super::Graphics::Gdi::RGBQUAD, pcxrow: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn GetBufferedPaintDC(hbufferedpaint: isize) -> super::super::Graphics::Gdi::HDC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn GetBufferedPaintTargetDC(hbufferedpaint: isize) -> super::super::Graphics::Gdi::HDC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetBufferedPaintTargetRect(hbufferedpaint: isize, prc: *mut super::super::Foundation::RECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetComboBoxInfo(hwndcombo: super::super::Foundation::HWND, pcbi: *mut COMBOBOXINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn GetCurrentThemeName(pszthemefilename: ::windows_sys::core::PWSTR, cchmaxnamechars: i32, pszcolorbuff: ::windows_sys::core::PWSTR, cchmaxcolorchars: i32, pszsizebuff: ::windows_sys::core::PWSTR, cchmaxsizechars: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetEffectiveClientRect(hwnd: super::super::Foundation::HWND, lprc: *mut super::super::Foundation::RECT, lpinfo: *const i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetListBoxInfo(hwnd: super::super::Foundation::HWND) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn GetMUILanguage() -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn GetThemeAnimationProperty(htheme: isize, istoryboardid: i32, itargetid: i32, eproperty: TA_PROPERTY, pvproperty: *mut ::core::ffi::c_void, cbsize: u32, pcbsizeout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn GetThemeAnimationTransform(htheme: isize, istoryboardid: i32, itargetid: i32, dwtransformindex: u32, ptransform: *mut TA_TRANSFORM, cbsize: u32, pcbsizeout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn GetThemeAppProperties() -> SET_THEME_APP_PROPERTIES_FLAGS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetThemeBackgroundContentRect(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, pboundingrect: *const super::super::Foundation::RECT, pcontentrect: *mut super::super::Foundation::RECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetThemeBackgroundExtent(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, pcontentrect: *const super::super::Foundation::RECT, pextentrect: *mut super::super::Foundation::RECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetThemeBackgroundRegion(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, prect: *const super::super::Foundation::RECT, pregion: *mut super::super::Graphics::Gdi::HRGN) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn GetThemeBitmap(htheme: isize, ipartid: i32, istateid: i32, ipropid: THEME_PROPERTY_SYMBOL_ID, dwflags: GET_THEME_BITMAP_FLAGS, phbitmap: *mut super::super::Graphics::Gdi::HBITMAP) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetThemeBool(htheme: isize, ipartid: i32, istateid: i32, ipropid: THEME_PROPERTY_SYMBOL_ID, pfval: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetThemeColor(htheme: isize, ipartid: i32, istateid: i32, ipropid: THEME_PROPERTY_SYMBOL_ID, pcolor: *mut super::super::Foundation::COLORREF) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn GetThemeDocumentationProperty(pszthemename: ::windows_sys::core::PCWSTR, pszpropertyname: ::windows_sys::core::PCWSTR, pszvaluebuff: ::windows_sys::core::PWSTR, cchmaxvalchars: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn GetThemeEnumValue(htheme: isize, ipartid: i32, istateid: i32, ipropid: THEME_PROPERTY_SYMBOL_ID, pival: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn GetThemeFilename(htheme: isize, ipartid: i32, istateid: i32, ipropid: THEME_PROPERTY_SYMBOL_ID, pszthemefilename: ::windows_sys::core::PWSTR, cchmaxbuffchars: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn GetThemeFont(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, ipropid: i32, pfont: *mut super::super::Graphics::Gdi::LOGFONTW) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn GetThemeInt(htheme: isize, ipartid: i32, istateid: i32, ipropid: THEME_PROPERTY_SYMBOL_ID, pival: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn GetThemeIntList(htheme: isize, ipartid: i32, istateid: i32, ipropid: THEME_PROPERTY_SYMBOL_ID, pintlist: *mut INTLIST) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetThemeMargins(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, ipropid: THEME_PROPERTY_SYMBOL_ID, prc: *const super::super::Foundation::RECT, pmargins: *mut MARGINS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn GetThemeMetric(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, ipropid: THEME_PROPERTY_SYMBOL_ID, pival: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetThemePartSize(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, prc: *const super::super::Foundation::RECT, esize: THEMESIZE, psz: *mut super::super::Foundation::SIZE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetThemePosition(htheme: isize, ipartid: i32, istateid: i32, ipropid: THEME_PROPERTY_SYMBOL_ID, ppoint: *mut super::super::Foundation::POINT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn GetThemePropertyOrigin(htheme: isize, ipartid: i32, istateid: i32, ipropid: i32, porigin: *mut PROPERTYORIGIN) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetThemeRect(htheme: isize, ipartid: i32, istateid: i32, ipropid: i32, prect: *mut super::super::Foundation::RECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetThemeStream(htheme: isize, ipartid: i32, istateid: i32, ipropid: i32, ppvstream: *mut *mut ::core::ffi::c_void, pcbstream: *mut u32, hinst: super::super::Foundation::HINSTANCE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn GetThemeString(htheme: isize, ipartid: i32, istateid: i32, ipropid: i32, pszbuff: ::windows_sys::core::PWSTR, cchmaxbuffchars: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetThemeSysBool(htheme: isize, iboolid: THEME_PROPERTY_SYMBOL_ID) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetThemeSysColor(htheme: isize, icolorid: i32) -> super::super::Foundation::COLORREF; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn GetThemeSysColorBrush(htheme: isize, icolorid: THEME_PROPERTY_SYMBOL_ID) -> super::super::Graphics::Gdi::HBRUSH; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn GetThemeSysFont(htheme: isize, ifontid: THEME_PROPERTY_SYMBOL_ID, plf: *mut super::super::Graphics::Gdi::LOGFONTW) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn GetThemeSysInt(htheme: isize, iintid: THEME_PROPERTY_SYMBOL_ID, pivalue: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn GetThemeSysSize(htheme: isize, isizeid: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn GetThemeSysString(htheme: isize, istringid: THEME_PROPERTY_SYMBOL_ID, pszstringbuff: ::windows_sys::core::PWSTR, cchmaxstringchars: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetThemeTextExtent(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, psztext: ::windows_sys::core::PCWSTR, cchcharcount: i32, dwtextflags: u32, pboundingrect: *const super::super::Foundation::RECT, pextentrect: *mut super::super::Foundation::RECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn GetThemeTextMetrics(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, ptm: *mut super::super::Graphics::Gdi::TEXTMETRICW) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn GetThemeTimingFunction(htheme: isize, itimingfunctionid: i32, ptimingfunction: *mut TA_TIMINGFUNCTION, cbsize: u32, pcbsizeout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn GetThemeTransitionDuration(htheme: isize, ipartid: i32, istateidfrom: i32, istateidto: i32, ipropid: i32, pdwduration: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowFeedbackSetting(hwnd: super::super::Foundation::HWND, feedback: FEEDBACK_TYPE, dwflags: u32, psize: *mut u32, config: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowTheme(hwnd: super::super::Foundation::HWND) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn HIMAGELIST_QueryInterface(himl: HIMAGELIST, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn HitTestThemeBackground(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, dwoptions: u32, prect: *const super::super::Foundation::RECT, hrgn: super::super::Graphics::Gdi::HRGN, pttest: super::super::Foundation::POINT, pwhittestcode: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn ImageList_Add(himl: HIMAGELIST, hbmimage: super::super::Graphics::Gdi::HBITMAP, hbmmask: super::super::Graphics::Gdi::HBITMAP) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ImageList_AddMasked(himl: HIMAGELIST, hbmimage: super::super::Graphics::Gdi::HBITMAP, crmask: super::super::Foundation::COLORREF) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImageList_BeginDrag(himltrack: HIMAGELIST, itrack: i32, dxhotspot: i32, dyhotspot: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn ImageList_CoCreateInstance(rclsid: *const ::windows_sys::core::GUID, punkouter: ::windows_sys::core::IUnknown, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImageList_Copy(himldst: HIMAGELIST, idst: i32, himlsrc: HIMAGELIST, isrc: i32, uflags: IMAGE_LIST_COPY_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn ImageList_Create(cx: i32, cy: i32, flags: IMAGELIST_CREATION_FLAGS, cinitial: i32, cgrow: i32) -> HIMAGELIST; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImageList_Destroy(himl: HIMAGELIST) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImageList_DragEnter(hwndlock: super::super::Foundation::HWND, x: i32, y: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImageList_DragLeave(hwndlock: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImageList_DragMove(x: i32, y: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImageList_DragShowNolock(fshow: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ImageList_Draw(himl: HIMAGELIST, i: i32, hdcdst: super::super::Graphics::Gdi::HDC, x: i32, y: i32, fstyle: IMAGE_LIST_DRAW_STYLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ImageList_DrawEx(himl: HIMAGELIST, i: i32, hdcdst: super::super::Graphics::Gdi::HDC, x: i32, y: i32, dx: i32, dy: i32, rgbbk: super::super::Foundation::COLORREF, rgbfg: super::super::Foundation::COLORREF, fstyle: IMAGE_LIST_DRAW_STYLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ImageList_DrawIndirect(pimldp: *const IMAGELISTDRAWPARAMS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn ImageList_Duplicate(himl: HIMAGELIST) -> HIMAGELIST; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn ImageList_EndDrag(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImageList_GetBkColor(himl: HIMAGELIST) -> super::super::Foundation::COLORREF; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImageList_GetDragImage(ppt: *mut super::super::Foundation::POINT, ppthotspot: *mut super::super::Foundation::POINT) -> HIMAGELIST; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn ImageList_GetIcon(himl: HIMAGELIST, i: i32, flags: u32) -> super::WindowsAndMessaging::HICON; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImageList_GetIconSize(himl: HIMAGELIST, cx: *mut i32, cy: *mut i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn ImageList_GetImageCount(himl: HIMAGELIST) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ImageList_GetImageInfo(himl: HIMAGELIST, i: i32, pimageinfo: *mut IMAGEINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn ImageList_LoadImageA(hi: super::super::Foundation::HINSTANCE, lpbmp: ::windows_sys::core::PCSTR, cx: i32, cgrow: i32, crmask: super::super::Foundation::COLORREF, utype: u32, uflags: super::WindowsAndMessaging::IMAGE_FLAGS) -> HIMAGELIST; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn ImageList_LoadImageW(hi: super::super::Foundation::HINSTANCE, lpbmp: ::windows_sys::core::PCWSTR, cx: i32, cgrow: i32, crmask: super::super::Foundation::COLORREF, utype: u32, uflags: super::WindowsAndMessaging::IMAGE_FLAGS) -> HIMAGELIST; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn ImageList_Merge(himl1: HIMAGELIST, i1: i32, himl2: HIMAGELIST, i2: i32, dx: i32, dy: i32) -> HIMAGELIST; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn ImageList_Read(pstm: super::super::System::Com::IStream) -> HIMAGELIST; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn ImageList_ReadEx(dwflags: u32, pstm: super::super::System::Com::IStream, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImageList_Remove(himl: HIMAGELIST, i: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ImageList_Replace(himl: HIMAGELIST, i: i32, hbmimage: super::super::Graphics::Gdi::HBITMAP, hbmmask: super::super::Graphics::Gdi::HBITMAP) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn ImageList_ReplaceIcon(himl: HIMAGELIST, i: i32, hicon: super::WindowsAndMessaging::HICON) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImageList_SetBkColor(himl: HIMAGELIST, clrbk: super::super::Foundation::COLORREF) -> super::super::Foundation::COLORREF; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImageList_SetDragCursorImage(himldrag: HIMAGELIST, idrag: i32, dxhotspot: i32, dyhotspot: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImageList_SetIconSize(himl: HIMAGELIST, cx: i32, cy: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImageList_SetImageCount(himl: HIMAGELIST, unewcount: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImageList_SetOverlayImage(himl: HIMAGELIST, iimage: i32, ioverlay: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn ImageList_Write(himl: HIMAGELIST, pstm: super::super::System::Com::IStream) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn ImageList_WriteEx(himl: HIMAGELIST, dwflags: u32, pstm: super::super::System::Com::IStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn InitCommonControls(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InitCommonControlsEx(picce: *const INITCOMMONCONTROLSEX) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn InitMUILanguage(uilang: u16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InitializeFlatSB(param0: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsAppThemed() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsCharLowerW(ch: u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsCompositionActive() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsDlgButtonChecked(hdlg: super::super::Foundation::HWND, nidbutton: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsThemeActive() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsThemeBackgroundPartiallyTransparent(htheme: isize, ipartid: i32, istateid: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsThemeDialogTextureEnabled(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsThemePartDefined(htheme: isize, ipartid: i32, istateid: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LBItemFromPt(hlb: super::super::Foundation::HWND, pt: super::super::Foundation::POINT, bautoscroll: super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn LoadIconMetric(hinst: super::super::Foundation::HINSTANCE, pszname: ::windows_sys::core::PCWSTR, lims: _LI_METRIC, phico: *mut super::WindowsAndMessaging::HICON) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn LoadIconWithScaleDown(hinst: super::super::Foundation::HINSTANCE, pszname: ::windows_sys::core::PCWSTR, cx: i32, cy: i32, phico: *mut super::WindowsAndMessaging::HICON) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MakeDragList(hlb: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn MenuHelp(umsg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, hmainmenu: super::WindowsAndMessaging::HMENU, hinst: super::super::Foundation::HINSTANCE, hwndstatus: super::super::Foundation::HWND, lpwids: *const u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenThemeData(hwnd: super::super::Foundation::HWND, pszclasslist: ::windows_sys::core::PCWSTR) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenThemeDataEx(hwnd: super::super::Foundation::HWND, pszclasslist: ::windows_sys::core::PCWSTR, dwflags: OPEN_THEME_DATA_FLAGS) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PackTouchHitTestingProximityEvaluation(phittestinginput: *const TOUCH_HIT_TESTING_INPUT, pproximityeval: *const TOUCH_HIT_TESTING_PROXIMITY_EVALUATION) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))] pub fn PropertySheetA(param0: *mut PROPSHEETHEADERA_V2) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))] pub fn PropertySheetW(param0: *mut PROPSHEETHEADERW_V2) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterPointerDeviceNotifications(window: super::super::Foundation::HWND, notifyrange: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterTouchHitTestingWindow(hwnd: super::super::Foundation::HWND, value: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn SetScrollInfo(hwnd: super::super::Foundation::HWND, nbar: super::WindowsAndMessaging::SCROLLBAR_CONSTANTS, lpsi: *const super::WindowsAndMessaging::SCROLLINFO, redraw: super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn SetScrollPos(hwnd: super::super::Foundation::HWND, nbar: super::WindowsAndMessaging::SCROLLBAR_CONSTANTS, npos: i32, bredraw: super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn SetScrollRange(hwnd: super::super::Foundation::HWND, nbar: super::WindowsAndMessaging::SCROLLBAR_CONSTANTS, nminpos: i32, nmaxpos: i32, bredraw: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub fn SetThemeAppProperties(dwflags: SET_THEME_APP_PROPERTIES_FLAGS); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWindowFeedbackSetting(hwnd: super::super::Foundation::HWND, feedback: FEEDBACK_TYPE, dwflags: u32, size: u32, configuration: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWindowTheme(hwnd: super::super::Foundation::HWND, pszsubappname: ::windows_sys::core::PCWSTR, pszsubidlist: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWindowThemeAttribute(hwnd: super::super::Foundation::HWND, eattribute: WINDOWTHEMEATTRIBUTETYPE, pvattribute: *const ::core::ffi::c_void, cbattribute: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ShowHideMenuCtl(hwnd: super::super::Foundation::HWND, uflags: usize, lpinfo: *const i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn ShowScrollBar(hwnd: super::super::Foundation::HWND, wbar: super::WindowsAndMessaging::SCROLLBAR_CONSTANTS, bshow: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Str_SetPtrW(ppsz: *mut ::windows_sys::core::PWSTR, psz: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TaskDialog(hwndowner: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszwindowtitle: ::windows_sys::core::PCWSTR, pszmaininstruction: ::windows_sys::core::PCWSTR, pszcontent: ::windows_sys::core::PCWSTR, dwcommonbuttons: TASKDIALOG_COMMON_BUTTON_FLAGS, pszicon: ::windows_sys::core::PCWSTR, pnbutton: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn TaskDialogIndirect(ptaskconfig: *const TASKDIALOGCONFIG, pnbutton: *mut i32, pnradiobutton: *mut i32, pfverificationflagchecked: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UninitializeFlatSB(param0: super::super::Foundation::HWND) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UpdatePanningFeedback(hwnd: super::super::Foundation::HWND, ltotaloverpanoffsetx: i32, ltotaloverpanoffsety: i32, fininertia: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/UI/HiDpi/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/HiDpi/mod.rs index 5fe73202b5..862cf3267b 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/HiDpi/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/HiDpi/mod.rs @@ -3,78 +3,162 @@ extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn AdjustWindowRectExForDpi(lprect: *mut super::super::Foundation::RECT, dwstyle: super::WindowsAndMessaging::WINDOW_STYLE, bmenu: super::super::Foundation::BOOL, dwexstyle: super::WindowsAndMessaging::WINDOW_EX_STYLE, dpi: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AreDpiAwarenessContextsEqual(dpicontexta: DPI_AWARENESS_CONTEXT, dpicontextb: DPI_AWARENESS_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnableNonClientDpiScaling(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`*"] pub fn GetAwarenessFromDpiAwarenessContext(value: DPI_AWARENESS_CONTEXT) -> DPI_AWARENESS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDialogControlDpiChangeBehavior(hwnd: super::super::Foundation::HWND) -> DIALOG_CONTROL_DPI_CHANGE_BEHAVIORS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDialogDpiChangeBehavior(hdlg: super::super::Foundation::HWND) -> DIALOG_DPI_CHANGE_BEHAVIORS; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDpiAwarenessContextForProcess(hprocess: super::super::Foundation::HANDLE) -> DPI_AWARENESS_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn GetDpiForMonitor(hmonitor: super::super::Graphics::Gdi::HMONITOR, dpitype: MONITOR_DPI_TYPE, dpix: *mut u32, dpiy: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`*"] pub fn GetDpiForSystem() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDpiForWindow(hwnd: super::super::Foundation::HWND) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`*"] pub fn GetDpiFromDpiAwarenessContext(value: DPI_AWARENESS_CONTEXT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProcessDpiAwareness(hprocess: super::super::Foundation::HANDLE, value: *mut PROCESS_DPI_AWARENESS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSystemDpiForProcess(hprocess: super::super::Foundation::HANDLE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`*"] pub fn GetSystemMetricsForDpi(nindex: i32, dpi: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`*"] pub fn GetThreadDpiAwarenessContext() -> DPI_AWARENESS_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`*"] pub fn GetThreadDpiHostingBehavior() -> DPI_HOSTING_BEHAVIOR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowDpiAwarenessContext(hwnd: super::super::Foundation::HWND) -> DPI_AWARENESS_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowDpiHostingBehavior(hwnd: super::super::Foundation::HWND) -> DPI_HOSTING_BEHAVIOR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsValidDpiAwarenessContext(value: DPI_AWARENESS_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LogicalToPhysicalPointForPerMonitorDPI(hwnd: super::super::Foundation::HWND, lppoint: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenThemeDataForDpi(hwnd: super::super::Foundation::HWND, pszclasslist: ::windows_sys::core::PCWSTR, dpi: u32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PhysicalToLogicalPointForPerMonitorDPI(hwnd: super::super::Foundation::HWND, lppoint: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetDialogControlDpiChangeBehavior(hwnd: super::super::Foundation::HWND, mask: DIALOG_CONTROL_DPI_CHANGE_BEHAVIORS, values: DIALOG_CONTROL_DPI_CHANGE_BEHAVIORS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetDialogDpiChangeBehavior(hdlg: super::super::Foundation::HWND, mask: DIALOG_DPI_CHANGE_BEHAVIORS, values: DIALOG_DPI_CHANGE_BEHAVIORS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`*"] pub fn SetProcessDpiAwareness(value: PROCESS_DPI_AWARENESS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetProcessDpiAwarenessContext(value: DPI_AWARENESS_CONTEXT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`*"] pub fn SetThreadDpiAwarenessContext(dpicontext: DPI_AWARENESS_CONTEXT) -> DPI_AWARENESS_CONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`*"] pub fn SetThreadDpiHostingBehavior(value: DPI_HOSTING_BEHAVIOR) -> DPI_HOSTING_BEHAVIOR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SystemParametersInfoForDpi(uiaction: u32, uiparam: u32, pvparam: *mut ::core::ffi::c_void, fwinini: u32, dpi: u32) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/UI/Input/Ime/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Input/Ime/mod.rs index d56608e136..bea3e769b8 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Input/Ime/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Input/Ime/mod.rs @@ -3,246 +3,489 @@ extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmAssociateContext(param0: super::super::super::Foundation::HWND, param1: super::super::super::Globalization::HIMC) -> super::super::super::Globalization::HIMC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmAssociateContextEx(param0: super::super::super::Foundation::HWND, param1: super::super::super::Globalization::HIMC, param2: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub fn ImmConfigureIMEA(param0: super::super::TextServices::HKL, param1: super::super::super::Foundation::HWND, param2: u32, param3: *mut ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub fn ImmConfigureIMEW(param0: super::super::TextServices::HKL, param1: super::super::super::Foundation::HWND, param2: u32, param3: *mut ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] #[cfg(feature = "Win32_Globalization")] pub fn ImmCreateContext() -> super::super::super::Globalization::HIMC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] #[cfg(feature = "Win32_Globalization")] pub fn ImmCreateIMCC(param0: u32) -> super::super::super::Globalization::HIMCC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImmCreateSoftKeyboard(param0: u32, param1: super::super::super::Foundation::HWND, param2: i32, param3: i32) -> super::super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmDestroyContext(param0: super::super::super::Globalization::HIMC) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] #[cfg(feature = "Win32_Globalization")] pub fn ImmDestroyIMCC(param0: super::super::super::Globalization::HIMCC) -> super::super::super::Globalization::HIMCC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImmDestroySoftKeyboard(param0: super::super::super::Foundation::HWND) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImmDisableIME(param0: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImmDisableLegacyIME() -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImmDisableTextFrameService(idthread: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmEnumInputContext(idthread: u32, lpfn: IMCENUMPROC, lparam: super::super::super::Foundation::LPARAM) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] pub fn ImmEnumRegisterWordA(param0: super::super::TextServices::HKL, param1: REGISTERWORDENUMPROCA, lpszreading: ::windows_sys::core::PCSTR, param3: u32, lpszregister: ::windows_sys::core::PCSTR, param5: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] pub fn ImmEnumRegisterWordW(param0: super::super::TextServices::HKL, param1: REGISTERWORDENUMPROCW, lpszreading: ::windows_sys::core::PCWSTR, param3: u32, lpszregister: ::windows_sys::core::PCWSTR, param5: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))] pub fn ImmEscapeA(param0: super::super::TextServices::HKL, param1: super::super::super::Globalization::HIMC, param2: IME_ESCAPE, param3: *mut ::core::ffi::c_void) -> super::super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))] pub fn ImmEscapeW(param0: super::super::TextServices::HKL, param1: super::super::super::Globalization::HIMC, param2: IME_ESCAPE, param3: *mut ::core::ffi::c_void) -> super::super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmGenerateMessage(param0: super::super::super::Globalization::HIMC) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] #[cfg(feature = "Win32_Globalization")] pub fn ImmGetCandidateListA(param0: super::super::super::Globalization::HIMC, deindex: u32, lpcandlist: *mut CANDIDATELIST, dwbuflen: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] #[cfg(feature = "Win32_Globalization")] pub fn ImmGetCandidateListCountA(param0: super::super::super::Globalization::HIMC, lpdwlistcount: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] #[cfg(feature = "Win32_Globalization")] pub fn ImmGetCandidateListCountW(param0: super::super::super::Globalization::HIMC, lpdwlistcount: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] #[cfg(feature = "Win32_Globalization")] pub fn ImmGetCandidateListW(param0: super::super::super::Globalization::HIMC, deindex: u32, lpcandlist: *mut CANDIDATELIST, dwbuflen: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmGetCandidateWindow(param0: super::super::super::Globalization::HIMC, param1: u32, lpcandidate: *mut CANDIDATEFORM) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))] pub fn ImmGetCompositionFontA(param0: super::super::super::Globalization::HIMC, lplf: *mut super::super::super::Graphics::Gdi::LOGFONTA) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))] pub fn ImmGetCompositionFontW(param0: super::super::super::Globalization::HIMC, lplf: *mut super::super::super::Graphics::Gdi::LOGFONTW) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] #[cfg(feature = "Win32_Globalization")] pub fn ImmGetCompositionStringA(param0: super::super::super::Globalization::HIMC, param1: IME_COMPOSITION_STRING, lpbuf: *mut ::core::ffi::c_void, dwbuflen: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] #[cfg(feature = "Win32_Globalization")] pub fn ImmGetCompositionStringW(param0: super::super::super::Globalization::HIMC, param1: IME_COMPOSITION_STRING, lpbuf: *mut ::core::ffi::c_void, dwbuflen: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmGetCompositionWindow(param0: super::super::super::Globalization::HIMC, lpcompform: *mut COMPOSITIONFORM) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmGetContext(param0: super::super::super::Foundation::HWND) -> super::super::super::Globalization::HIMC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(all(feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))] pub fn ImmGetConversionListA(param0: super::super::TextServices::HKL, param1: super::super::super::Globalization::HIMC, lpsrc: ::windows_sys::core::PCSTR, lpdst: *mut CANDIDATELIST, dwbuflen: u32, uflag: GET_CONVERSION_LIST_FLAG) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(all(feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))] pub fn ImmGetConversionListW(param0: super::super::TextServices::HKL, param1: super::super::super::Globalization::HIMC, lpsrc: ::windows_sys::core::PCWSTR, lpdst: *mut CANDIDATELIST, dwbuflen: u32, uflag: GET_CONVERSION_LIST_FLAG) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmGetConversionStatus(param0: super::super::super::Globalization::HIMC, lpfdwconversion: *mut IME_CONVERSION_MODE, lpfdwsentence: *mut IME_SENTENCE_MODE) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImmGetDefaultIMEWnd(param0: super::super::super::Foundation::HWND) -> super::super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] pub fn ImmGetDescriptionA(param0: super::super::TextServices::HKL, lpszdescription: ::windows_sys::core::PSTR, ubuflen: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] pub fn ImmGetDescriptionW(param0: super::super::TextServices::HKL, lpszdescription: ::windows_sys::core::PWSTR, ubuflen: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] #[cfg(feature = "Win32_Globalization")] pub fn ImmGetGuideLineA(param0: super::super::super::Globalization::HIMC, dwindex: GET_GUIDE_LINE_TYPE, lpbuf: ::windows_sys::core::PSTR, dwbuflen: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] #[cfg(feature = "Win32_Globalization")] pub fn ImmGetGuideLineW(param0: super::super::super::Globalization::HIMC, dwindex: GET_GUIDE_LINE_TYPE, lpbuf: ::windows_sys::core::PWSTR, dwbuflen: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImmGetHotKey(param0: u32, lpumodifiers: *mut u32, lpuvkey: *mut u32, phkl: *mut isize) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] #[cfg(feature = "Win32_Globalization")] pub fn ImmGetIMCCLockCount(param0: super::super::super::Globalization::HIMCC) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] #[cfg(feature = "Win32_Globalization")] pub fn ImmGetIMCCSize(param0: super::super::super::Globalization::HIMCC) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] #[cfg(feature = "Win32_Globalization")] pub fn ImmGetIMCLockCount(param0: super::super::super::Globalization::HIMC) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] pub fn ImmGetIMEFileNameA(param0: super::super::TextServices::HKL, lpszfilename: ::windows_sys::core::PSTR, ubuflen: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] pub fn ImmGetIMEFileNameW(param0: super::super::TextServices::HKL, lpszfilename: ::windows_sys::core::PWSTR, ubuflen: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))] pub fn ImmGetImeMenuItemsA(param0: super::super::super::Globalization::HIMC, param1: u32, param2: u32, lpimeparentmenu: *mut IMEMENUITEMINFOA, lpimemenu: *mut IMEMENUITEMINFOA, dwsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))] pub fn ImmGetImeMenuItemsW(param0: super::super::super::Globalization::HIMC, param1: u32, param2: u32, lpimeparentmenu: *mut IMEMENUITEMINFOW, lpimemenu: *mut IMEMENUITEMINFOW, dwsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmGetOpenStatus(param0: super::super::super::Globalization::HIMC) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] pub fn ImmGetProperty(param0: super::super::TextServices::HKL, param1: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub fn ImmGetRegisterWordStyleA(param0: super::super::TextServices::HKL, nitem: u32, lpstylebuf: *mut STYLEBUFA) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] pub fn ImmGetRegisterWordStyleW(param0: super::super::TextServices::HKL, nitem: u32, lpstylebuf: *mut STYLEBUFW) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmGetStatusWindowPos(param0: super::super::super::Globalization::HIMC, lpptpos: *mut super::super::super::Foundation::POINT) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImmGetVirtualKey(param0: super::super::super::Foundation::HWND) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] pub fn ImmInstallIMEA(lpszimefilename: ::windows_sys::core::PCSTR, lpszlayouttext: ::windows_sys::core::PCSTR) -> super::super::TextServices::HKL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] pub fn ImmInstallIMEW(lpszimefilename: ::windows_sys::core::PCWSTR, lpszlayouttext: ::windows_sys::core::PCWSTR) -> super::super::TextServices::HKL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub fn ImmIsIME(param0: super::super::TextServices::HKL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImmIsUIMessageA(param0: super::super::super::Foundation::HWND, param1: u32, param2: super::super::super::Foundation::WPARAM, param3: super::super::super::Foundation::LPARAM) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImmIsUIMessageW(param0: super::super::super::Foundation::HWND, param1: u32, param2: super::super::super::Foundation::WPARAM, param3: super::super::super::Foundation::LPARAM) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))] pub fn ImmLockIMC(param0: super::super::super::Globalization::HIMC) -> *mut INPUTCONTEXT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] #[cfg(feature = "Win32_Globalization")] pub fn ImmLockIMCC(param0: super::super::super::Globalization::HIMCC) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmNotifyIME(param0: super::super::super::Globalization::HIMC, dwaction: NOTIFY_IME_ACTION, dwindex: NOTIFY_IME_INDEX, dwvalue: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] #[cfg(feature = "Win32_Globalization")] pub fn ImmReSizeIMCC(param0: super::super::super::Globalization::HIMCC, param1: u32) -> super::super::super::Globalization::HIMCC; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub fn ImmRegisterWordA(param0: super::super::TextServices::HKL, lpszreading: ::windows_sys::core::PCSTR, param2: u32, lpszregister: ::windows_sys::core::PCSTR) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub fn ImmRegisterWordW(param0: super::super::TextServices::HKL, lpszreading: ::windows_sys::core::PCWSTR, param2: u32, lpszregister: ::windows_sys::core::PCWSTR) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmReleaseContext(param0: super::super::super::Foundation::HWND, param1: super::super::super::Globalization::HIMC) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmRequestMessageA(param0: super::super::super::Globalization::HIMC, param1: super::super::super::Foundation::WPARAM, param2: super::super::super::Foundation::LPARAM) -> super::super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmRequestMessageW(param0: super::super::super::Globalization::HIMC, param1: super::super::super::Foundation::WPARAM, param2: super::super::super::Foundation::LPARAM) -> super::super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmSetCandidateWindow(param0: super::super::super::Globalization::HIMC, lpcandidate: *const CANDIDATEFORM) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))] pub fn ImmSetCompositionFontA(param0: super::super::super::Globalization::HIMC, lplf: *const super::super::super::Graphics::Gdi::LOGFONTA) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))] pub fn ImmSetCompositionFontW(param0: super::super::super::Globalization::HIMC, lplf: *const super::super::super::Graphics::Gdi::LOGFONTW) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmSetCompositionStringA(param0: super::super::super::Globalization::HIMC, dwindex: SET_COMPOSITION_STRING_TYPE, lpcomp: *const ::core::ffi::c_void, dwcomplen: u32, lpread: *const ::core::ffi::c_void, dwreadlen: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmSetCompositionStringW(param0: super::super::super::Globalization::HIMC, dwindex: SET_COMPOSITION_STRING_TYPE, lpcomp: *const ::core::ffi::c_void, dwcomplen: u32, lpread: *const ::core::ffi::c_void, dwreadlen: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmSetCompositionWindow(param0: super::super::super::Globalization::HIMC, lpcompform: *const COMPOSITIONFORM) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmSetConversionStatus(param0: super::super::super::Globalization::HIMC, param1: IME_CONVERSION_MODE, param2: IME_SENTENCE_MODE) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub fn ImmSetHotKey(param0: u32, param1: u32, param2: u32, param3: super::super::TextServices::HKL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmSetOpenStatus(param0: super::super::super::Globalization::HIMC, param1: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmSetStatusWindowPos(param0: super::super::super::Globalization::HIMC, lpptpos: *const super::super::super::Foundation::POINT) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImmShowSoftKeyboard(param0: super::super::super::Foundation::HWND, param1: i32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImmSimulateHotKey(param0: super::super::super::Foundation::HWND, param1: IME_HOTKEY_IDENTIFIER) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmUnlockIMC(param0: super::super::super::Globalization::HIMC) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub fn ImmUnlockIMCC(param0: super::super::super::Globalization::HIMCC) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub fn ImmUnregisterWordA(param0: super::super::TextServices::HKL, lpszreading: ::windows_sys::core::PCSTR, param2: u32, lpszunregister: ::windows_sys::core::PCSTR) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub fn ImmUnregisterWordW(param0: super::super::TextServices::HKL, lpszreading: ::windows_sys::core::PCWSTR, param2: u32, lpszunregister: ::windows_sys::core::PCWSTR) -> super::super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs index 5e9476f155..12dfefbc0f 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs @@ -3,140 +3,293 @@ extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] pub fn ActivateKeyboardLayout(hkl: super::super::TextServices::HKL, flags: ACTIVATE_KEYBOARD_LAYOUT_FLAGS) -> super::super::TextServices::HKL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BlockInput(fblockit: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DragDetect(hwnd: super::super::super::Foundation::HWND, pt: super::super::super::Foundation::POINT) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnableWindow(hwnd: super::super::super::Foundation::HWND, benable: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetActiveWindow() -> super::super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] pub fn GetAsyncKeyState(vkey: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCapture() -> super::super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] pub fn GetDoubleClickTime() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFocus() -> super::super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] pub fn GetKBCodePage() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] pub fn GetKeyNameTextA(lparam: i32, lpstring: ::windows_sys::core::PSTR, cchsize: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] pub fn GetKeyNameTextW(lparam: i32, lpstring: ::windows_sys::core::PWSTR, cchsize: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] pub fn GetKeyState(nvirtkey: i32) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] pub fn GetKeyboardLayout(idthread: u32) -> super::super::TextServices::HKL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] pub fn GetKeyboardLayoutList(nbuff: i32, lplist: *mut super::super::TextServices::HKL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetKeyboardLayoutNameA(pwszklid: ::windows_sys::core::PSTR) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetKeyboardLayoutNameW(pwszklid: ::windows_sys::core::PWSTR) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetKeyboardState(lpkeystate: *mut u8) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] pub fn GetKeyboardType(ntypeflag: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetLastInputInfo(plii: *mut LASTINPUTINFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] pub fn GetMouseMovePointsEx(cbsize: u32, lppt: *const MOUSEMOVEPOINT, lpptbuf: *mut MOUSEMOVEPOINT, nbufpoints: i32, resolution: GET_MOUSE_MOVE_POINTS_EX_RESOLUTION) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsWindowEnabled(hwnd: super::super::super::Foundation::HWND) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] pub fn LoadKeyboardLayoutA(pwszklid: ::windows_sys::core::PCSTR, flags: ACTIVATE_KEYBOARD_LAYOUT_FLAGS) -> super::super::TextServices::HKL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] pub fn LoadKeyboardLayoutW(pwszklid: ::windows_sys::core::PCWSTR, flags: ACTIVATE_KEYBOARD_LAYOUT_FLAGS) -> super::super::TextServices::HKL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] pub fn MapVirtualKeyA(ucode: u32, umaptype: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] pub fn MapVirtualKeyExA(ucode: u32, umaptype: u32, dwhkl: super::super::TextServices::HKL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] pub fn MapVirtualKeyExW(ucode: u32, umaptype: u32, dwhkl: super::super::TextServices::HKL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] pub fn MapVirtualKeyW(ucode: u32, umaptype: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] pub fn OemKeyScan(woemchar: u16) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterHotKey(hwnd: super::super::super::Foundation::HWND, id: i32, fsmodifiers: HOT_KEY_MODIFIERS, vk: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReleaseCapture() -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] pub fn SendInput(cinputs: u32, pinputs: *const INPUT, cbsize: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetActiveWindow(hwnd: super::super::super::Foundation::HWND) -> super::super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetCapture(hwnd: super::super::super::Foundation::HWND) -> super::super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetDoubleClickTime(param0: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetFocus(hwnd: super::super::super::Foundation::HWND) -> super::super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetKeyboardState(lpkeystate: *const u8) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SwapMouseButton(fswap: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] pub fn ToAscii(uvirtkey: u32, uscancode: u32, lpkeystate: *const u8, lpchar: *mut u16, uflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] pub fn ToAsciiEx(uvirtkey: u32, uscancode: u32, lpkeystate: *const u8, lpchar: *mut u16, uflags: u32, dwhkl: super::super::TextServices::HKL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] pub fn ToUnicode(wvirtkey: u32, wscancode: u32, lpkeystate: *const u8, pwszbuff: ::windows_sys::core::PWSTR, cchbuff: i32, wflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] pub fn ToUnicodeEx(wvirtkey: u32, wscancode: u32, lpkeystate: *const u8, pwszbuff: ::windows_sys::core::PWSTR, cchbuff: i32, wflags: u32, dwhkl: super::super::TextServices::HKL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TrackMouseEvent(lpeventtrack: *mut TRACKMOUSEEVENT) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub fn UnloadKeyboardLayout(hkl: super::super::TextServices::HKL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnregisterHotKey(hwnd: super::super::super::Foundation::HWND, id: i32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn VkKeyScanA(ch: super::super::super::Foundation::CHAR) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub fn VkKeyScanExA(ch: super::super::super::Foundation::CHAR, dwhkl: super::super::TextServices::HKL) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] pub fn VkKeyScanExW(ch: u16, dwhkl: super::super::TextServices::HKL) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] pub fn VkKeyScanW(ch: u16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn _TrackMouseEvent(lpeventtrack: *mut TRACKMOUSEEVENT) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] pub fn keybd_event(bvk: u8, bscan: u8, dwflags: KEYBD_EVENT_FLAGS, dwextrainfo: usize); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] pub fn mouse_event(dwflags: MOUSE_EVENT_FLAGS, dx: i32, dy: i32, dwdata: u32, dwextrainfo: usize); } diff --git a/crates/libs/sys/src/Windows/Win32/UI/Input/Pointer/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Input/Pointer/mod.rs index 7d37d371c7..5d893939d9 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Input/Pointer/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Input/Pointer/mod.rs @@ -3,83 +3,164 @@ extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnableMouseInPointer(fenable: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPointerCursorId(pointerid: u32, cursorid: *mut u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls"))] pub fn GetPointerDevice(device: super::super::super::Foundation::HANDLE, pointerdevice: *mut super::super::Controls::POINTER_DEVICE_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] pub fn GetPointerDeviceCursors(device: super::super::super::Foundation::HANDLE, cursorcount: *mut u32, devicecursors: *mut super::super::Controls::POINTER_DEVICE_CURSOR_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] pub fn GetPointerDeviceProperties(device: super::super::super::Foundation::HANDLE, propertycount: *mut u32, pointerproperties: *mut super::super::Controls::POINTER_DEVICE_PROPERTY) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPointerDeviceRects(device: super::super::super::Foundation::HANDLE, pointerdevicerect: *mut super::super::super::Foundation::RECT, displayrect: *mut super::super::super::Foundation::RECT) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls"))] pub fn GetPointerDevices(devicecount: *mut u32, pointerdevices: *mut super::super::Controls::POINTER_DEVICE_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn GetPointerFrameInfo(pointerid: u32, pointercount: *mut u32, pointerinfo: *mut POINTER_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn GetPointerFrameInfoHistory(pointerid: u32, entriescount: *mut u32, pointercount: *mut u32, pointerinfo: *mut POINTER_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn GetPointerFramePenInfo(pointerid: u32, pointercount: *mut u32, peninfo: *mut POINTER_PEN_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn GetPointerFramePenInfoHistory(pointerid: u32, entriescount: *mut u32, pointercount: *mut u32, peninfo: *mut POINTER_PEN_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn GetPointerFrameTouchInfo(pointerid: u32, pointercount: *mut u32, touchinfo: *mut POINTER_TOUCH_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn GetPointerFrameTouchInfoHistory(pointerid: u32, entriescount: *mut u32, pointercount: *mut u32, touchinfo: *mut POINTER_TOUCH_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn GetPointerInfo(pointerid: u32, pointerinfo: *mut POINTER_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn GetPointerInfoHistory(pointerid: u32, entriescount: *mut u32, pointerinfo: *mut POINTER_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPointerInputTransform(pointerid: u32, historycount: u32, inputtransform: *mut INPUT_TRANSFORM) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn GetPointerPenInfo(pointerid: u32, peninfo: *mut POINTER_PEN_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn GetPointerPenInfoHistory(pointerid: u32, entriescount: *mut u32, peninfo: *mut POINTER_PEN_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn GetPointerTouchInfo(pointerid: u32, touchinfo: *mut POINTER_TOUCH_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn GetPointerTouchInfoHistory(pointerid: u32, entriescount: *mut u32, touchinfo: *mut POINTER_TOUCH_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn GetPointerType(pointerid: u32, pointertype: *mut super::super::WindowsAndMessaging::POINTER_INPUT_TYPE) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] pub fn GetRawPointerDeviceData(pointerid: u32, historycount: u32, propertiescount: u32, pproperties: *const super::super::Controls::POINTER_DEVICE_PROPERTY, pvalues: *mut i32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`*"] pub fn GetUnpredictedMessagePos() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InitializeTouchInjection(maxcount: u32, dwmode: TOUCH_FEEDBACK_MODE) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] pub fn InjectSyntheticPointerInput(device: super::super::Controls::HSYNTHETICPOINTERDEVICE, pointerinfo: *const super::super::Controls::POINTER_TYPE_INFO, count: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn InjectTouchInput(count: u32, contacts: *const POINTER_TOUCH_INFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsMouseInPointerEnabled() -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SkipPointerFrameMessages(pointerid: u32) -> super::super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/UI/Input/Touch/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Input/Touch/mod.rs index 01402e84c1..c9d91713b9 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Input/Touch/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Input/Touch/mod.rs @@ -3,30 +3,57 @@ extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseGestureInfoHandle(hgestureinfo: HGESTUREINFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseTouchInputHandle(htouchinput: HTOUCHINPUT) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetGestureConfig(hwnd: super::super::super::Foundation::HWND, dwreserved: u32, dwflags: u32, pcids: *const u32, pgestureconfig: *mut GESTURECONFIG, cbsize: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetGestureExtraArgs(hgestureinfo: HGESTUREINFO, cbextraargs: u32, pextraargs: *mut u8) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetGestureInfo(hgestureinfo: HGESTUREINFO, pgestureinfo: *mut GESTUREINFO) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTouchInputInfo(htouchinput: HTOUCHINPUT, cinputs: u32, pinputs: *mut TOUCHINPUT, cbsize: i32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsTouchWindow(hwnd: super::super::super::Foundation::HWND, pulflags: *mut u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterTouchWindow(hwnd: super::super::super::Foundation::HWND, ulflags: REGISTER_TOUCH_WINDOW_FLAGS) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetGestureConfig(hwnd: super::super::super::Foundation::HWND, dwreserved: u32, cids: u32, pgestureconfig: *const GESTURECONFIG, cbsize: u32) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnregisterTouchWindow(hwnd: super::super::super::Foundation::HWND) -> super::super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/UI/Input/XboxController/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Input/XboxController/mod.rs index f928b5eda5..7024658e9d 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Input/XboxController/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Input/XboxController/mod.rs @@ -3,16 +3,34 @@ extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_XboxController\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn XInputEnable(enable: super::super::super::Foundation::BOOL); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_XboxController\"`*"] pub fn XInputGetAudioDeviceIds(dwuserindex: u32, prenderdeviceid: ::windows_sys::core::PWSTR, prendercount: *mut u32, pcapturedeviceid: ::windows_sys::core::PWSTR, pcapturecount: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_XboxController\"`*"] pub fn XInputGetBatteryInformation(dwuserindex: u32, devtype: BATTERY_DEVTYPE, pbatteryinformation: *mut XINPUT_BATTERY_INFORMATION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_XboxController\"`*"] pub fn XInputGetCapabilities(dwuserindex: u32, dwflags: XINPUT_FLAG, pcapabilities: *mut XINPUT_CAPABILITIES) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_XboxController\"`*"] pub fn XInputGetKeystroke(dwuserindex: u32, dwreserved: u32, pkeystroke: *mut XINPUT_KEYSTROKE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_XboxController\"`*"] pub fn XInputGetState(dwuserindex: u32, pstate: *mut XINPUT_STATE) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input_XboxController\"`*"] pub fn XInputSetState(dwuserindex: u32, pvibration: *const XINPUT_VIBRATION) -> u32; } diff --git a/crates/libs/sys/src/Windows/Win32/UI/Input/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Input/mod.rs index afea02f91e..c0d1077301 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Input/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Input/mod.rs @@ -17,29 +17,56 @@ extern "system" { #[doc = "*Required features: `\"Win32_UI_Input\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DefRawInputProc(parawinput: *const *const RAWINPUT, ninput: i32, cbsizeheader: u32) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCIMSSM(inputmessagesource: *mut INPUT_MESSAGE_SOURCE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCurrentInputMessageSource(inputmessagesource: *mut INPUT_MESSAGE_SOURCE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetRawInputBuffer(pdata: *mut RAWINPUT, pcbsize: *mut u32, cbsizeheader: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input\"`*"] pub fn GetRawInputData(hrawinput: HRAWINPUT, uicommand: RAW_INPUT_DATA_COMMAND_FLAGS, pdata: *mut ::core::ffi::c_void, pcbsize: *mut u32, cbsizeheader: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetRawInputDeviceInfoA(hdevice: super::super::Foundation::HANDLE, uicommand: RAW_INPUT_DEVICE_INFO_COMMAND, pdata: *mut ::core::ffi::c_void, pcbsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetRawInputDeviceInfoW(hdevice: super::super::Foundation::HANDLE, uicommand: RAW_INPUT_DEVICE_INFO_COMMAND, pdata: *mut ::core::ffi::c_void, pcbsize: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetRawInputDeviceList(prawinputdevicelist: *mut RAWINPUTDEVICELIST, puinumdevices: *mut u32, cbsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetRegisteredRawInputDevices(prawinputdevices: *mut RAWINPUTDEVICE, puinumdevices: *mut u32, cbsize: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Input\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterRawInputDevices(prawinputdevices: *const RAWINPUTDEVICE, uinumdevices: u32, cbsize: u32) -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/UI/InteractionContext/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/InteractionContext/mod.rs index 7a80a4aff4..da46eec58c 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/InteractionContext/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/InteractionContext/mod.rs @@ -2,67 +2,154 @@ extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn AddPointerInteractionContext(interactioncontext: HINTERACTIONCONTEXT, pointerid: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Input_Pointer\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Input_Pointer", feature = "Win32_UI_WindowsAndMessaging"))] pub fn BufferPointerPacketsInteractionContext(interactioncontext: HINTERACTIONCONTEXT, entriescount: u32, pointerinfo: *const super::Input::Pointer::POINTER_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn CreateInteractionContext(interactioncontext: *mut HINTERACTIONCONTEXT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn DestroyInteractionContext(interactioncontext: HINTERACTIONCONTEXT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn GetCrossSlideParameterInteractionContext(interactioncontext: HINTERACTIONCONTEXT, threshold: CROSS_SLIDE_THRESHOLD, distance: *mut f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn GetHoldParameterInteractionContext(interactioncontext: HINTERACTIONCONTEXT, parameter: HOLD_PARAMETER, value: *mut f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn GetInertiaParameterInteractionContext(interactioncontext: HINTERACTIONCONTEXT, inertiaparameter: INERTIA_PARAMETER, value: *mut f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn GetInteractionConfigurationInteractionContext(interactioncontext: HINTERACTIONCONTEXT, configurationcount: u32, configuration: *mut INTERACTION_CONTEXT_CONFIGURATION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn GetMouseWheelParameterInteractionContext(interactioncontext: HINTERACTIONCONTEXT, parameter: MOUSE_WHEEL_PARAMETER, value: *mut f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn GetPropertyInteractionContext(interactioncontext: HINTERACTIONCONTEXT, contextproperty: INTERACTION_CONTEXT_PROPERTY, value: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Input_Pointer\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Input_Pointer", feature = "Win32_UI_WindowsAndMessaging"))] pub fn GetStateInteractionContext(interactioncontext: HINTERACTIONCONTEXT, pointerinfo: *const super::Input::Pointer::POINTER_INFO, state: *mut INTERACTION_STATE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn GetTapParameterInteractionContext(interactioncontext: HINTERACTIONCONTEXT, parameter: TAP_PARAMETER, value: *mut f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn GetTranslationParameterInteractionContext(interactioncontext: HINTERACTIONCONTEXT, parameter: TRANSLATION_PARAMETER, value: *mut f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn ProcessBufferedPacketsInteractionContext(interactioncontext: HINTERACTIONCONTEXT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn ProcessInertiaInteractionContext(interactioncontext: HINTERACTIONCONTEXT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Input_Pointer\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Input_Pointer", feature = "Win32_UI_WindowsAndMessaging"))] pub fn ProcessPointerFramesInteractionContext(interactioncontext: HINTERACTIONCONTEXT, entriescount: u32, pointercount: u32, pointerinfo: *const super::Input::Pointer::POINTER_INFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn RegisterOutputCallbackInteractionContext(interactioncontext: HINTERACTIONCONTEXT, outputcallback: INTERACTION_CONTEXT_OUTPUT_CALLBACK, clientdata: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn RegisterOutputCallbackInteractionContext2(interactioncontext: HINTERACTIONCONTEXT, outputcallback: INTERACTION_CONTEXT_OUTPUT_CALLBACK2, clientdata: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn RemovePointerInteractionContext(interactioncontext: HINTERACTIONCONTEXT, pointerid: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn ResetInteractionContext(interactioncontext: HINTERACTIONCONTEXT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn SetCrossSlideParametersInteractionContext(interactioncontext: HINTERACTIONCONTEXT, parametercount: u32, crossslideparameters: *const CROSS_SLIDE_PARAMETER) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn SetHoldParameterInteractionContext(interactioncontext: HINTERACTIONCONTEXT, parameter: HOLD_PARAMETER, value: f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn SetInertiaParameterInteractionContext(interactioncontext: HINTERACTIONCONTEXT, inertiaparameter: INERTIA_PARAMETER, value: f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn SetInteractionConfigurationInteractionContext(interactioncontext: HINTERACTIONCONTEXT, configurationcount: u32, configuration: *const INTERACTION_CONTEXT_CONFIGURATION) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn SetMouseWheelParameterInteractionContext(interactioncontext: HINTERACTIONCONTEXT, parameter: MOUSE_WHEEL_PARAMETER, value: f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn SetPivotInteractionContext(interactioncontext: HINTERACTIONCONTEXT, x: f32, y: f32, radius: f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn SetPropertyInteractionContext(interactioncontext: HINTERACTIONCONTEXT, contextproperty: INTERACTION_CONTEXT_PROPERTY, value: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn SetTapParameterInteractionContext(interactioncontext: HINTERACTIONCONTEXT, parameter: TAP_PARAMETER, value: f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn SetTranslationParameterInteractionContext(interactioncontext: HINTERACTIONCONTEXT, parameter: TRANSLATION_PARAMETER, value: f32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] pub fn StopInteractionContext(interactioncontext: HINTERACTIONCONTEXT) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/UI/Magnification/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Magnification/mod.rs index 39ebfe72d4..47426fc91d 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Magnification/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Magnification/mod.rs @@ -3,57 +3,111 @@ extern "system" { #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MagGetColorEffect(hwnd: super::super::Foundation::HWND, peffect: *mut MAGCOLOREFFECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MagGetFullscreenColorEffect(peffect: *mut MAGCOLOREFFECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MagGetFullscreenTransform(pmaglevel: *mut f32, pxoffset: *mut i32, pyoffset: *mut i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn MagGetImageScalingCallback(hwnd: super::super::Foundation::HWND) -> MagImageScalingCallback; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MagGetInputTransform(pfenabled: *mut super::super::Foundation::BOOL, prectsource: *mut super::super::Foundation::RECT, prectdest: *mut super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MagGetWindowFilterList(hwnd: super::super::Foundation::HWND, pdwfiltermode: *mut u32, count: i32, phwnd: *mut super::super::Foundation::HWND) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MagGetWindowSource(hwnd: super::super::Foundation::HWND, prect: *mut super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MagGetWindowTransform(hwnd: super::super::Foundation::HWND, ptransform: *mut MAGTRANSFORM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MagInitialize() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MagSetColorEffect(hwnd: super::super::Foundation::HWND, peffect: *mut MAGCOLOREFFECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MagSetFullscreenColorEffect(peffect: *const MAGCOLOREFFECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MagSetFullscreenTransform(maglevel: f32, xoffset: i32, yoffset: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn MagSetImageScalingCallback(hwnd: super::super::Foundation::HWND, callback: MagImageScalingCallback) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MagSetInputTransform(fenabled: super::super::Foundation::BOOL, prectsource: *const super::super::Foundation::RECT, prectdest: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MagSetWindowFilterList(hwnd: super::super::Foundation::HWND, dwfiltermode: u32, count: i32, phwnd: *mut super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MagSetWindowSource(hwnd: super::super::Foundation::HWND, rect: super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MagSetWindowTransform(hwnd: super::super::Foundation::HWND, ptransform: *mut MAGTRANSFORM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MagShowSystemCursor(fshowcursor: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MagUninitialize() -> super::super::Foundation::BOOL; diff --git a/crates/libs/sys/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs index 6169d3d2ad..8d22aeefe7 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs @@ -3,661 +3,1339 @@ extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn ClearPropVariantArray(rgpropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT, cvars: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn ClearVariantArray(pvars: *mut super::super::super::System::Com::VARIANT, cvars: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromBooleanVector(prgf: *const super::super::super::Foundation::BOOL, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromBuffer(pv: *const ::core::ffi::c_void, cb: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromCLSID(clsid: *const ::windows_sys::core::GUID, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromDoubleVector(prgn: *const f64, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromFileTime(pftin: *const super::super::super::Foundation::FILETIME, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromFileTimeVector(prgft: *const super::super::super::Foundation::FILETIME, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromGUIDAsString(guid: *const ::windows_sys::core::GUID, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromInt16Vector(prgn: *const i16, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromInt32Vector(prgn: *const i32, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromInt64Vector(prgn: *const i64, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromPropVariantVectorElem(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromResource(hinst: super::super::super::Foundation::HINSTANCE, id: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common"))] pub fn InitPropVariantFromStrRet(pstrret: *mut super::Common::STRRET, pidl: *const super::Common::ITEMIDLIST, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromStringAsVector(psz: ::windows_sys::core::PCWSTR, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromStringVector(prgsz: *const ::windows_sys::core::PWSTR, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromUInt16Vector(prgn: *const u16, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromUInt32Vector(prgn: *const u32, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromUInt64Vector(prgn: *const u64, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantVectorFromPropVariant(propvarsingle: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ppropvarvector: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn InitVariantFromBooleanArray(prgf: *const super::super::super::Foundation::BOOL, celems: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn InitVariantFromBuffer(pv: *const ::core::ffi::c_void, cb: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn InitVariantFromDoubleArray(prgn: *const f64, celems: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn InitVariantFromFileTime(pft: *const super::super::super::Foundation::FILETIME, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn InitVariantFromFileTimeArray(prgft: *const super::super::super::Foundation::FILETIME, celems: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn InitVariantFromGUIDAsString(guid: *const ::windows_sys::core::GUID, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn InitVariantFromInt16Array(prgn: *const i16, celems: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn InitVariantFromInt32Array(prgn: *const i32, celems: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn InitVariantFromInt64Array(prgn: *const i64, celems: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn InitVariantFromResource(hinst: super::super::super::Foundation::HINSTANCE, id: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] pub fn InitVariantFromStrRet(pstrret: *const super::Common::STRRET, pidl: *const super::Common::ITEMIDLIST, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn InitVariantFromStringArray(prgsz: *const ::windows_sys::core::PWSTR, celems: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn InitVariantFromUInt16Array(prgn: *const u16, celems: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn InitVariantFromUInt32Array(prgn: *const u32, celems: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn InitVariantFromUInt64Array(prgn: *const u64, celems: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn InitVariantFromVariantArrayElem(varin: *const super::super::super::System::Com::VARIANT, ielem: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSCoerceToCanonicalValue(key: *const PROPERTYKEY, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] pub fn PSCreateAdapterFromPropertyStore(pps: IPropertyStore, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] pub fn PSCreateDelayedMultiplexPropertyStore(flags: GETPROPERTYSTOREFLAGS, pdpsf: IDelayedPropertyStoreFactory, rgstoreids: *const u32, cstores: u32, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] pub fn PSCreateMemoryPropertyStore(riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] pub fn PSCreateMultiplexPropertyStore(prgpunkstores: *const ::windows_sys::core::IUnknown, cstores: u32, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSCreatePropertyChangeArray(rgpropkey: *const PROPERTYKEY, rgflags: *const PKA_FLAGS, rgpropvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, cchanges: u32, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] pub fn PSCreatePropertyStoreFromObject(punk: ::windows_sys::core::IUnknown, grfmode: u32, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSCreatePropertyStoreFromPropertySetStorage(ppss: super::super::super::System::Com::StructuredStorage::IPropertySetStorage, grfmode: u32, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSCreateSimplePropertyChange(flags: PKA_FLAGS, key: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] pub fn PSEnumeratePropertyDescriptions(filteron: PROPDESC_ENUMFILTER, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSFormatForDisplay(propkey: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdfflags: PROPDESC_FORMAT_FLAGS, pwsztext: ::windows_sys::core::PWSTR, cchtext: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSFormatForDisplayAlloc(key: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdff: PROPDESC_FORMAT_FLAGS, ppszdisplay: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] pub fn PSFormatPropertyValue(pps: IPropertyStore, ppd: IPropertyDescription, pdff: PROPDESC_FORMAT_FLAGS, ppszdisplay: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSGetImageReferenceForValue(propkey: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ppszimageres: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PSGetItemPropertyHandler(punkitem: ::windows_sys::core::IUnknown, freadwrite: super::super::super::Foundation::BOOL, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PSGetItemPropertyHandlerWithCreateObject(punkitem: ::windows_sys::core::IUnknown, freadwrite: super::super::super::Foundation::BOOL, punkcreateobject: ::windows_sys::core::IUnknown, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] pub fn PSGetNameFromPropertyKey(propkey: *const PROPERTYKEY, ppszcanonicalname: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSGetNamedPropertyFromPropertyStorage(psps: *const SERIALIZEDPROPSTORAGE, cb: u32, pszname: ::windows_sys::core::PCWSTR, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] pub fn PSGetPropertyDescription(propkey: *const PROPERTYKEY, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] pub fn PSGetPropertyDescriptionByName(pszcanonicalname: ::windows_sys::core::PCWSTR, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] pub fn PSGetPropertyDescriptionListFromString(pszproplist: ::windows_sys::core::PCWSTR, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSGetPropertyFromPropertyStorage(psps: *const SERIALIZEDPROPSTORAGE, cb: u32, rpkey: *const PROPERTYKEY, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] pub fn PSGetPropertyKeyFromName(pszname: ::windows_sys::core::PCWSTR, ppropkey: *mut PROPERTYKEY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] pub fn PSGetPropertySystem(riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSGetPropertyValue(pps: IPropertyStore, ppd: IPropertyDescription, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] pub fn PSLookupPropertyHandlerCLSID(pszfilepath: ::windows_sys::core::PCWSTR, pclsid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSPropertyBag_Delete(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSPropertyBag_ReadBOOL(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: *mut super::super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSPropertyBag_ReadBSTR(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: *mut super::super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSPropertyBag_ReadDWORD(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSPropertyBag_ReadGUID(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSPropertyBag_ReadInt(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSPropertyBag_ReadLONG(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSPropertyBag_ReadPOINTL(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: *mut super::super::super::Foundation::POINTL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSPropertyBag_ReadPOINTS(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: *mut super::super::super::Foundation::POINTS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSPropertyBag_ReadPropertyKey(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: *mut PROPERTYKEY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSPropertyBag_ReadRECTL(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: *mut super::super::super::Foundation::RECTL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSPropertyBag_ReadSHORT(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSPropertyBag_ReadStr(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: ::windows_sys::core::PWSTR, charactercount: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSPropertyBag_ReadStrAlloc(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSPropertyBag_ReadStream(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: *mut super::super::super::System::Com::IStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub fn PSPropertyBag_ReadType(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, var: *mut super::super::super::System::Com::VARIANT, r#type: super::super::super::System::Com::VARENUM) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSPropertyBag_ReadULONGLONG(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSPropertyBag_ReadUnknown(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSPropertyBag_WriteBOOL(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: super::super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSPropertyBag_WriteBSTR(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: super::super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSPropertyBag_WriteDWORD(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSPropertyBag_WriteGUID(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSPropertyBag_WriteInt(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSPropertyBag_WriteLONG(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSPropertyBag_WritePOINTL(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: *const super::super::super::Foundation::POINTL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSPropertyBag_WritePOINTS(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: *const super::super::super::Foundation::POINTS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSPropertyBag_WritePropertyKey(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: *const PROPERTYKEY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSPropertyBag_WriteRECTL(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: *const super::super::super::Foundation::RECTL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSPropertyBag_WriteSHORT(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSPropertyBag_WriteStr(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSPropertyBag_WriteStream(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: super::super::super::System::Com::IStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSPropertyBag_WriteULONGLONG(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, value: u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSPropertyBag_WriteUnknown(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: ::windows_sys::core::PCWSTR, punk: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] pub fn PSPropertyKeyFromString(pszstring: ::windows_sys::core::PCWSTR, pkey: *mut PROPERTYKEY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] pub fn PSRefreshPropertySchema() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] pub fn PSRegisterPropertySchema(pszpath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSSetPropertyValue(pps: IPropertyStore, ppd: IPropertyDescription, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] pub fn PSStringFromPropertyKey(pkey: *const PROPERTYKEY, psz: ::windows_sys::core::PWSTR, cch: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] pub fn PSUnregisterPropertySchema(pszpath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PifMgr_CloseProperties(hprops: super::super::super::Foundation::HANDLE, flopt: u32) -> super::super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PifMgr_GetProperties(hprops: super::super::super::Foundation::HANDLE, pszgroup: ::windows_sys::core::PCSTR, lpprops: *mut ::core::ffi::c_void, cbprops: i32, flopt: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PifMgr_OpenProperties(pszapp: ::windows_sys::core::PCWSTR, pszpif: ::windows_sys::core::PCWSTR, hinf: u32, flopt: u32) -> super::super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PifMgr_SetProperties(hprops: super::super::super::Foundation::HANDLE, pszgroup: ::windows_sys::core::PCSTR, lpprops: *const ::core::ffi::c_void, cbprops: i32, flopt: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantChangeType(ppropvardest: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT, propvarsrc: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, flags: PROPVAR_CHANGE_FLAGS, vt: super::super::super::System::Com::VARENUM) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantCompareEx(propvar1: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, propvar2: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, unit: PROPVAR_COMPARE_UNIT, flags: PROPVAR_COMPARE_FLAGS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetBooleanElem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pfval: *mut super::super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetDoubleElem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pnval: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetElementCount(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetFileTimeElem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pftval: *mut super::super::super::Foundation::FILETIME) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetInt16Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pnval: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetInt32Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pnval: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetInt64Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pnval: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetStringElem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, ppszval: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetUInt16Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pnval: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetUInt32Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pnval: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetUInt64Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pnval: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToBSTR(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pbstrout: *mut super::super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToBoolean(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pfret: *mut super::super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToBooleanVector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgf: *mut super::super::super::Foundation::BOOL, crgf: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToBooleanVectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgf: *mut *mut super::super::super::Foundation::BOOL, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToBooleanWithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, fdefault: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToBuffer(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pv: *mut ::core::ffi::c_void, cb: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToDouble(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdblret: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToDoubleVector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: *mut f64, crgn: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToDoubleVectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgn: *mut *mut f64, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToDoubleWithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, dbldefault: f64) -> f64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToFileTime(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pstfout: PSTIME_FLAGS, pftout: *mut super::super::super::Foundation::FILETIME) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToFileTimeVector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgft: *mut super::super::super::Foundation::FILETIME, crgft: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToFileTimeVectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgft: *mut *mut super::super::super::Foundation::FILETIME, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToGUID(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pguid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt16(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, piret: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt16Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: *mut i16, crgn: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt16VectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgn: *mut *mut i16, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt16WithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, idefault: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt32(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, plret: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt32Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: *mut i32, crgn: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt32VectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgn: *mut *mut i32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt32WithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ldefault: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt64(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pllret: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt64Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: *mut i64, crgn: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt64VectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgn: *mut *mut i64, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt64WithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, lldefault: i64) -> i64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common"))] pub fn PropVariantToStrRet(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pstrret: *mut super::Common::STRRET) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToString(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, psz: ::windows_sys::core::PWSTR, cch: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToStringAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ppszout: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToStringVector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgsz: *mut ::windows_sys::core::PWSTR, crgsz: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToStringVectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgsz: *mut *mut ::windows_sys::core::PWSTR, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToStringWithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pszdefault: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt16(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, puiret: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt16Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: *mut u16, crgn: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt16VectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgn: *mut *mut u16, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt16WithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, uidefault: u16) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt32(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pulret: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt32Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: *mut u32, crgn: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt32VectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgn: *mut *mut u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt32WithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, uldefault: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt64(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pullret: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt64Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: *mut u64, crgn: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt64VectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgn: *mut *mut u64, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt64WithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ulldefault: u64) -> u64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub fn PropVariantToVariant(ppropvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToWinRTPropertyValue(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] pub fn SHAddDefaultPropertiesByExt(pszext: ::windows_sys::core::PCWSTR, ppropstore: IPropertyStore) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHGetPropertyStoreForWindow(hwnd: super::super::super::Foundation::HWND, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn SHGetPropertyStoreFromIDList(pidl: *const super::Common::ITEMIDLIST, flags: GETPROPERTYSTOREFLAGS, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SHGetPropertyStoreFromParsingName(pszpath: ::windows_sys::core::PCWSTR, pbc: super::super::super::System::Com::IBindCtx, flags: GETPROPERTYSTOREFLAGS, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn SHPropStgCreate(psstg: super::super::super::System::Com::StructuredStorage::IPropertySetStorage, fmtid: *const ::windows_sys::core::GUID, pclsid: *const ::windows_sys::core::GUID, grfflags: u32, grfmode: u32, dwdisposition: u32, ppstg: *mut super::super::super::System::Com::StructuredStorage::IPropertyStorage, pucodepage: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn SHPropStgReadMultiple(pps: super::super::super::System::Com::StructuredStorage::IPropertyStorage, ucodepage: u32, cpspec: u32, rgpspec: *const super::super::super::System::Com::StructuredStorage::PROPSPEC, rgvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn SHPropStgWriteMultiple(pps: super::super::super::System::Com::StructuredStorage::IPropertyStorage, pucodepage: *mut u32, cpspec: u32, rgpspec: *const super::super::super::System::Com::StructuredStorage::PROPSPEC, rgvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT, propidnamefirst: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantCompare(var1: *const super::super::super::System::Com::VARIANT, var2: *const super::super::super::System::Com::VARIANT) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantGetBooleanElem(var: *const super::super::super::System::Com::VARIANT, ielem: u32, pfval: *mut super::super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantGetDoubleElem(var: *const super::super::super::System::Com::VARIANT, ielem: u32, pnval: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantGetElementCount(varin: *const super::super::super::System::Com::VARIANT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantGetInt16Elem(var: *const super::super::super::System::Com::VARIANT, ielem: u32, pnval: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantGetInt32Elem(var: *const super::super::super::System::Com::VARIANT, ielem: u32, pnval: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantGetInt64Elem(var: *const super::super::super::System::Com::VARIANT, ielem: u32, pnval: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantGetStringElem(var: *const super::super::super::System::Com::VARIANT, ielem: u32, ppszval: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantGetUInt16Elem(var: *const super::super::super::System::Com::VARIANT, ielem: u32, pnval: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantGetUInt32Elem(var: *const super::super::super::System::Com::VARIANT, ielem: u32, pnval: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantGetUInt64Elem(var: *const super::super::super::System::Com::VARIANT, ielem: u32, pnval: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToBoolean(varin: *const super::super::super::System::Com::VARIANT, pfret: *mut super::super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToBooleanArray(var: *const super::super::super::System::Com::VARIANT, prgf: *mut super::super::super::Foundation::BOOL, crgn: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToBooleanArrayAlloc(var: *const super::super::super::System::Com::VARIANT, pprgf: *mut *mut super::super::super::Foundation::BOOL, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToBooleanWithDefault(varin: *const super::super::super::System::Com::VARIANT, fdefault: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToBuffer(varin: *const super::super::super::System::Com::VARIANT, pv: *mut ::core::ffi::c_void, cb: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToDosDateTime(varin: *const super::super::super::System::Com::VARIANT, pwdate: *mut u16, pwtime: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToDouble(varin: *const super::super::super::System::Com::VARIANT, pdblret: *mut f64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToDoubleArray(var: *const super::super::super::System::Com::VARIANT, prgn: *mut f64, crgn: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToDoubleArrayAlloc(var: *const super::super::super::System::Com::VARIANT, pprgn: *mut *mut f64, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToDoubleWithDefault(varin: *const super::super::super::System::Com::VARIANT, dbldefault: f64) -> f64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToFileTime(varin: *const super::super::super::System::Com::VARIANT, stfout: PSTIME_FLAGS, pftout: *mut super::super::super::Foundation::FILETIME) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToGUID(varin: *const super::super::super::System::Com::VARIANT, pguid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToInt16(varin: *const super::super::super::System::Com::VARIANT, piret: *mut i16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToInt16Array(var: *const super::super::super::System::Com::VARIANT, prgn: *mut i16, crgn: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToInt16ArrayAlloc(var: *const super::super::super::System::Com::VARIANT, pprgn: *mut *mut i16, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToInt16WithDefault(varin: *const super::super::super::System::Com::VARIANT, idefault: i16) -> i16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToInt32(varin: *const super::super::super::System::Com::VARIANT, plret: *mut i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToInt32Array(var: *const super::super::super::System::Com::VARIANT, prgn: *mut i32, crgn: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToInt32ArrayAlloc(var: *const super::super::super::System::Com::VARIANT, pprgn: *mut *mut i32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToInt32WithDefault(varin: *const super::super::super::System::Com::VARIANT, ldefault: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToInt64(varin: *const super::super::super::System::Com::VARIANT, pllret: *mut i64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToInt64Array(var: *const super::super::super::System::Com::VARIANT, prgn: *mut i64, crgn: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToInt64ArrayAlloc(var: *const super::super::super::System::Com::VARIANT, pprgn: *mut *mut i64, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToInt64WithDefault(varin: *const super::super::super::System::Com::VARIANT, lldefault: i64) -> i64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub fn VariantToPropVariant(pvar: *const super::super::super::System::Com::VARIANT, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] pub fn VariantToStrRet(varin: *const super::super::super::System::Com::VARIANT, pstrret: *mut super::Common::STRRET) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToString(varin: *const super::super::super::System::Com::VARIANT, pszbuf: ::windows_sys::core::PWSTR, cchbuf: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToStringAlloc(varin: *const super::super::super::System::Com::VARIANT, ppszbuf: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToStringArray(var: *const super::super::super::System::Com::VARIANT, prgsz: *mut ::windows_sys::core::PWSTR, crgsz: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToStringArrayAlloc(var: *const super::super::super::System::Com::VARIANT, pprgsz: *mut *mut ::windows_sys::core::PWSTR, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToStringWithDefault(varin: *const super::super::super::System::Com::VARIANT, pszdefault: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToUInt16(varin: *const super::super::super::System::Com::VARIANT, puiret: *mut u16) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToUInt16Array(var: *const super::super::super::System::Com::VARIANT, prgn: *mut u16, crgn: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToUInt16ArrayAlloc(var: *const super::super::super::System::Com::VARIANT, pprgn: *mut *mut u16, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToUInt16WithDefault(varin: *const super::super::super::System::Com::VARIANT, uidefault: u16) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToUInt32(varin: *const super::super::super::System::Com::VARIANT, pulret: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToUInt32Array(var: *const super::super::super::System::Com::VARIANT, prgn: *mut u32, crgn: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToUInt32ArrayAlloc(var: *const super::super::super::System::Com::VARIANT, pprgn: *mut *mut u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToUInt32WithDefault(varin: *const super::super::super::System::Com::VARIANT, uldefault: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToUInt64(varin: *const super::super::super::System::Com::VARIANT, pullret: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToUInt64Array(var: *const super::super::super::System::Com::VARIANT, prgn: *mut u64, crgn: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToUInt64ArrayAlloc(var: *const super::super::super::System::Com::VARIANT, pprgn: *mut *mut u64, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn VariantToUInt64WithDefault(varin: *const super::super::super::System::Com::VARIANT, ulldefault: u64) -> u64; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn WinRTPropertyValueToPropVariant(punkpropertyvalue: ::windows_sys::core::IUnknown, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/UI/Shell/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Shell/mod.rs index acb6d955f7..a7969ea980 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Shell/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Shell/mod.rs @@ -6,1811 +6,3872 @@ pub mod PropertiesSystem; extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn AssocCreate(clsid: ::windows_sys::core::GUID, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn AssocCreateForClasses(rgclasses: *const ASSOCIATIONELEMENT, cclasses: u32, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn AssocGetDetailsOfPropKey(psf: IShellFolder, pidl: *const Common::ITEMIDLIST, pkey: *const PropertiesSystem::PROPERTYKEY, pv: *mut super::super::System::Com::VARIANT, pffoundpropkey: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn AssocGetPerceivedType(pszext: ::windows_sys::core::PCWSTR, ptype: *mut Common::PERCEIVED, pflag: *mut u32, ppsztype: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AssocIsDangerous(pszassoc: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn AssocQueryKeyA(flags: u32, key: ASSOCKEY, pszassoc: ::windows_sys::core::PCSTR, pszextra: ::windows_sys::core::PCSTR, phkeyout: *mut super::super::System::Registry::HKEY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn AssocQueryKeyW(flags: u32, key: ASSOCKEY, pszassoc: ::windows_sys::core::PCWSTR, pszextra: ::windows_sys::core::PCWSTR, phkeyout: *mut super::super::System::Registry::HKEY) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn AssocQueryStringA(flags: u32, str: ASSOCSTR, pszassoc: ::windows_sys::core::PCSTR, pszextra: ::windows_sys::core::PCSTR, pszout: ::windows_sys::core::PSTR, pcchout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn AssocQueryStringByKeyA(flags: u32, str: ASSOCSTR, hkassoc: super::super::System::Registry::HKEY, pszextra: ::windows_sys::core::PCSTR, pszout: ::windows_sys::core::PSTR, pcchout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn AssocQueryStringByKeyW(flags: u32, str: ASSOCSTR, hkassoc: super::super::System::Registry::HKEY, pszextra: ::windows_sys::core::PCWSTR, pszout: ::windows_sys::core::PWSTR, pcchout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn AssocQueryStringW(flags: u32, str: ASSOCSTR, pszassoc: ::windows_sys::core::PCWSTR, pszextra: ::windows_sys::core::PCWSTR, pszout: ::windows_sys::core::PWSTR, pcchout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Registry\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Registry", feature = "Win32_UI_Shell_Common"))] pub fn CDefFolderMenu_Create2(pidlfolder: *const Common::ITEMIDLIST, hwnd: super::super::Foundation::HWND, cidl: u32, apidl: *const *const Common::ITEMIDLIST, psf: IShellFolder, pfn: LPFNDFMCALLBACK, nkeys: u32, ahkeys: *const super::super::System::Registry::HKEY, ppcm: *mut IContextMenu) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] pub fn CIDLData_CreateFromIDArray(pidlfolder: *const Common::ITEMIDLIST, cidl: u32, apidl: *const *const Common::ITEMIDLIST, ppdtobj: *mut super::super::System::Com::IDataObject) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ChrCmpIA(w1: u16, w2: u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ChrCmpIW(w1: u16, w2: u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ColorAdjustLuma(clrrgb: super::super::Foundation::COLORREF, n: i32, fscale: super::super::Foundation::BOOL) -> super::super::Foundation::COLORREF; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ColorHLSToRGB(whue: u16, wluminance: u16, wsaturation: u16) -> super::super::Foundation::COLORREF; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ColorRGBToHLS(clrrgb: super::super::Foundation::COLORREF, pwhue: *mut u16, pwluminance: *mut u16, pwsaturation: *mut u16); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn CommandLineToArgvW(lpcmdline: ::windows_sys::core::PCWSTR, pnumargs: *mut i32) -> *mut ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn ConnectToConnectionPoint(punk: ::windows_sys::core::IUnknown, riidevent: *const ::windows_sys::core::GUID, fconnect: super::super::Foundation::BOOL, punktarget: ::windows_sys::core::IUnknown, pdwcookie: *mut u32, ppcpout: *mut super::super::System::Com::IConnectionPoint) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn CreateProfile(pszusersid: ::windows_sys::core::PCWSTR, pszusername: ::windows_sys::core::PCWSTR, pszprofilepath: ::windows_sys::core::PWSTR, cchprofilepath: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DAD_AutoScroll(hwnd: super::super::Foundation::HWND, pad: *mut AUTO_SCROLL_DATA, pptnow: *const super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DAD_DragEnterEx(hwndtarget: super::super::Foundation::HWND, ptstart: super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn DAD_DragEnterEx2(hwndtarget: super::super::Foundation::HWND, ptstart: super::super::Foundation::POINT, pdtobject: super::super::System::Com::IDataObject) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DAD_DragLeave() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DAD_DragMove(pt: super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] pub fn DAD_SetDragImage(him: super::Controls::HIMAGELIST, pptoffset: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DAD_ShowDragImage(fshow: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DefSubclassProc(hwnd: super::super::Foundation::HWND, umsg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteProfileA(lpsidstring: ::windows_sys::core::PCSTR, lpprofilepath: ::windows_sys::core::PCSTR, lpcomputername: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteProfileW(lpsidstring: ::windows_sys::core::PCWSTR, lpprofilepath: ::windows_sys::core::PCWSTR, lpcomputername: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn DoEnvironmentSubstA(pszsrc: ::windows_sys::core::PSTR, cchsrc: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn DoEnvironmentSubstW(pszsrc: ::windows_sys::core::PWSTR, cchsrc: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DragAcceptFiles(hwnd: super::super::Foundation::HWND, faccept: super::super::Foundation::BOOL); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn DragFinish(hdrop: HDROP); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn DragQueryFileA(hdrop: HDROP, ifile: u32, lpszfile: ::windows_sys::core::PSTR, cch: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn DragQueryFileW(hdrop: HDROP, ifile: u32, lpszfile: ::windows_sys::core::PWSTR, cch: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DragQueryPoint(hdrop: HDROP, ppt: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn DriveType(idrive: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn DuplicateIcon(hinst: super::super::Foundation::HINSTANCE, hicon: super::WindowsAndMessaging::HICON) -> super::WindowsAndMessaging::HICON; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn ExtractAssociatedIconA(hinst: super::super::Foundation::HINSTANCE, psziconpath: ::windows_sys::core::PSTR, piicon: *mut u16) -> super::WindowsAndMessaging::HICON; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn ExtractAssociatedIconExA(hinst: super::super::Foundation::HINSTANCE, psziconpath: ::windows_sys::core::PSTR, piiconindex: *mut u16, piiconid: *mut u16) -> super::WindowsAndMessaging::HICON; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn ExtractAssociatedIconExW(hinst: super::super::Foundation::HINSTANCE, psziconpath: ::windows_sys::core::PWSTR, piiconindex: *mut u16, piiconid: *mut u16) -> super::WindowsAndMessaging::HICON; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn ExtractAssociatedIconW(hinst: super::super::Foundation::HINSTANCE, psziconpath: ::windows_sys::core::PWSTR, piicon: *mut u16) -> super::WindowsAndMessaging::HICON; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn ExtractIconA(hinst: super::super::Foundation::HINSTANCE, pszexefilename: ::windows_sys::core::PCSTR, niconindex: u32) -> super::WindowsAndMessaging::HICON; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn ExtractIconExA(lpszfile: ::windows_sys::core::PCSTR, niconindex: i32, phiconlarge: *mut super::WindowsAndMessaging::HICON, phiconsmall: *mut super::WindowsAndMessaging::HICON, nicons: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn ExtractIconExW(lpszfile: ::windows_sys::core::PCWSTR, niconindex: i32, phiconlarge: *mut super::WindowsAndMessaging::HICON, phiconsmall: *mut super::WindowsAndMessaging::HICON, nicons: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn ExtractIconW(hinst: super::super::Foundation::HINSTANCE, pszexefilename: ::windows_sys::core::PCWSTR, niconindex: u32) -> super::WindowsAndMessaging::HICON; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindExecutableA(lpfile: ::windows_sys::core::PCSTR, lpdirectory: ::windows_sys::core::PCSTR, lpresult: ::windows_sys::core::PSTR) -> super::super::Foundation::HINSTANCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindExecutableW(lpfile: ::windows_sys::core::PCWSTR, lpdirectory: ::windows_sys::core::PCWSTR, lpresult: ::windows_sys::core::PWSTR) -> super::super::Foundation::HINSTANCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn GetAcceptLanguagesA(pszlanguages: ::windows_sys::core::PSTR, pcchlanguages: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn GetAcceptLanguagesW(pszlanguages: ::windows_sys::core::PWSTR, pcchlanguages: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetAllUsersProfileDirectoryA(lpprofiledir: ::windows_sys::core::PSTR, lpcchsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetAllUsersProfileDirectoryW(lpprofiledir: ::windows_sys::core::PWSTR, lpcchsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn GetCurrentProcessExplicitAppUserModelID(appid: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDefaultUserProfileDirectoryA(lpprofiledir: ::windows_sys::core::PSTR, lpcchsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDefaultUserProfileDirectoryW(lpprofiledir: ::windows_sys::core::PWSTR, lpcchsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn GetDpiForShellUIComponent(param0: SHELL_UI_COMPONENT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetFileNameFromBrowse(hwnd: super::super::Foundation::HWND, pszfilepath: ::windows_sys::core::PWSTR, cchfilepath: u32, pszworkingdir: ::windows_sys::core::PCWSTR, pszdefext: ::windows_sys::core::PCWSTR, pszfilters: ::windows_sys::core::PCWSTR, psztitle: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn GetMenuContextHelpId(param0: super::WindowsAndMessaging::HMENU) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn GetMenuPosFromID(hmenu: super::WindowsAndMessaging::HMENU, id: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProfileType(dwflags: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProfilesDirectoryA(lpprofiledir: ::windows_sys::core::PSTR, lpcchsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProfilesDirectoryW(lpprofiledir: ::windows_sys::core::PWSTR, lpcchsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn GetScaleFactorForDevice(devicetype: DISPLAY_DEVICE_TYPE) -> Common::DEVICE_SCALE_FACTOR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Shell_Common"))] pub fn GetScaleFactorForMonitor(hmon: super::super::Graphics::Gdi::HMONITOR, pscale: *mut Common::DEVICE_SCALE_FACTOR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUserProfileDirectoryA(htoken: super::super::Foundation::HANDLE, lpprofiledir: ::windows_sys::core::PSTR, lpcchsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetUserProfileDirectoryW(htoken: super::super::Foundation::HANDLE, lpprofiledir: ::windows_sys::core::PWSTR, lpcchsize: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowContextHelpId(param0: super::super::Foundation::HWND) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowSubclass(hwnd: super::super::Foundation::HWND, pfnsubclass: SUBCLASSPROC, uidsubclass: usize, pdwrefdata: *mut usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HMONITOR_UserFree(param0: *const u32, param1: *const super::super::Graphics::Gdi::HMONITOR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HMONITOR_UserFree64(param0: *const u32, param1: *const super::super::Graphics::Gdi::HMONITOR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HMONITOR_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::Graphics::Gdi::HMONITOR) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HMONITOR_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::super::Graphics::Gdi::HMONITOR) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HMONITOR_UserSize(param0: *const u32, param1: u32, param2: *const super::super::Graphics::Gdi::HMONITOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HMONITOR_UserSize64(param0: *const u32, param1: u32, param2: *const super::super::Graphics::Gdi::HMONITOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HMONITOR_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::super::Graphics::Gdi::HMONITOR) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn HMONITOR_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::super::Graphics::Gdi::HMONITOR) -> *mut u8; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn HashData(pbdata: *const u8, cbdata: u32, pbhash: *mut u8, cbhash: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn HlinkClone(pihl: IHlink, riid: *const ::windows_sys::core::GUID, pihlsiteforclone: IHlinkSite, dwsitedata: u32, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn HlinkCreateBrowseContext(piunkouter: ::windows_sys::core::IUnknown, riid: *const ::windows_sys::core::GUID, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HlinkCreateExtensionServices(pwzadditionalheaders: ::windows_sys::core::PCWSTR, phwnd: super::super::Foundation::HWND, pszusername: ::windows_sys::core::PCWSTR, pszpassword: ::windows_sys::core::PCWSTR, piunkouter: ::windows_sys::core::IUnknown, riid: *const ::windows_sys::core::GUID, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn HlinkCreateFromData(pidataobj: super::super::System::Com::IDataObject, pihlsite: IHlinkSite, dwsitedata: u32, piunkouter: ::windows_sys::core::IUnknown, riid: *const ::windows_sys::core::GUID, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn HlinkCreateFromMoniker(pimktrgt: super::super::System::Com::IMoniker, pwzlocation: ::windows_sys::core::PCWSTR, pwzfriendlyname: ::windows_sys::core::PCWSTR, pihlsite: IHlinkSite, dwsitedata: u32, piunkouter: ::windows_sys::core::IUnknown, riid: *const ::windows_sys::core::GUID, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn HlinkCreateFromString(pwztarget: ::windows_sys::core::PCWSTR, pwzlocation: ::windows_sys::core::PCWSTR, pwzfriendlyname: ::windows_sys::core::PCWSTR, pihlsite: IHlinkSite, dwsitedata: u32, piunkouter: ::windows_sys::core::IUnknown, riid: *const ::windows_sys::core::GUID, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn HlinkCreateShortcut(grfhlshortcutf: u32, pihl: IHlink, pwzdir: ::windows_sys::core::PCWSTR, pwzfilename: ::windows_sys::core::PCWSTR, ppwzshortcutfile: *mut ::windows_sys::core::PWSTR, dwreserved: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn HlinkCreateShortcutFromMoniker(grfhlshortcutf: u32, pimktarget: super::super::System::Com::IMoniker, pwzlocation: ::windows_sys::core::PCWSTR, pwzdir: ::windows_sys::core::PCWSTR, pwzfilename: ::windows_sys::core::PCWSTR, ppwzshortcutfile: *mut ::windows_sys::core::PWSTR, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn HlinkCreateShortcutFromString(grfhlshortcutf: u32, pwztarget: ::windows_sys::core::PCWSTR, pwzlocation: ::windows_sys::core::PCWSTR, pwzdir: ::windows_sys::core::PCWSTR, pwzfilename: ::windows_sys::core::PCWSTR, ppwzshortcutfile: *mut ::windows_sys::core::PWSTR, dwreserved: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn HlinkGetSpecialReference(ureference: u32, ppwzreference: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn HlinkGetValueFromParams(pwzparams: ::windows_sys::core::PCWSTR, pwzname: ::windows_sys::core::PCWSTR, ppwzvalue: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn HlinkIsShortcut(pwzfilename: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn HlinkNavigate(pihl: IHlink, pihlframe: IHlinkFrame, grfhlnf: u32, pbc: super::super::System::Com::IBindCtx, pibsc: super::super::System::Com::IBindStatusCallback, pihlbc: IHlinkBrowseContext) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn HlinkNavigateToStringReference(pwztarget: ::windows_sys::core::PCWSTR, pwzlocation: ::windows_sys::core::PCWSTR, pihlsite: IHlinkSite, dwsitedata: u32, pihlframe: IHlinkFrame, grfhlnf: u32, pibc: super::super::System::Com::IBindCtx, pibsc: super::super::System::Com::IBindStatusCallback, pihlbc: IHlinkBrowseContext) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn HlinkOnNavigate(pihlframe: IHlinkFrame, pihlbc: IHlinkBrowseContext, grfhlnf: u32, pimktarget: super::super::System::Com::IMoniker, pwzlocation: ::windows_sys::core::PCWSTR, pwzfriendlyname: ::windows_sys::core::PCWSTR, puhlid: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn HlinkOnRenameDocument(dwreserved: u32, pihlbc: IHlinkBrowseContext, pimkold: super::super::System::Com::IMoniker, pimknew: super::super::System::Com::IMoniker) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn HlinkParseDisplayName(pibc: super::super::System::Com::IBindCtx, pwzdisplayname: ::windows_sys::core::PCWSTR, fnoforceabs: super::super::Foundation::BOOL, pccheaten: *mut u32, ppimk: *mut super::super::System::Com::IMoniker) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn HlinkPreprocessMoniker(pibc: super::super::System::Com::IBindCtx, pimkin: super::super::System::Com::IMoniker, ppimkout: *mut super::super::System::Com::IMoniker) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn HlinkQueryCreateFromData(pidataobj: super::super::System::Com::IDataObject) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn HlinkResolveMonikerForData(pimkreference: super::super::System::Com::IMoniker, reserved: u32, pibc: super::super::System::Com::IBindCtx, cfmtetc: u32, rgfmtetc: *mut super::super::System::Com::FORMATETC, pibsc: super::super::System::Com::IBindStatusCallback, pimkbase: super::super::System::Com::IMoniker) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn HlinkResolveShortcut(pwzshortcutfilename: ::windows_sys::core::PCWSTR, pihlsite: IHlinkSite, dwsitedata: u32, piunkouter: ::windows_sys::core::IUnknown, riid: *const ::windows_sys::core::GUID, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn HlinkResolveShortcutToMoniker(pwzshortcutfilename: ::windows_sys::core::PCWSTR, ppimktarget: *mut super::super::System::Com::IMoniker, ppwzlocation: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn HlinkResolveShortcutToString(pwzshortcutfilename: ::windows_sys::core::PCWSTR, ppwztarget: *mut ::windows_sys::core::PWSTR, ppwzlocation: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn HlinkResolveStringForData(pwzreference: ::windows_sys::core::PCWSTR, reserved: u32, pibc: super::super::System::Com::IBindCtx, cfmtetc: u32, rgfmtetc: *mut super::super::System::Com::FORMATETC, pibsc: super::super::System::Com::IBindStatusCallback, pimkbase: super::super::System::Com::IMoniker) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn HlinkSetSpecialReference(ureference: u32, pwzreference: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn HlinkTranslateURL(pwzurl: ::windows_sys::core::PCWSTR, grfflags: u32, ppwztranslatedurl: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn HlinkUpdateStackItem(pihlframe: IHlinkFrame, pihlbc: IHlinkBrowseContext, uhlid: u32, pimktrgt: super::super::System::Com::IMoniker, pwzlocation: ::windows_sys::core::PCWSTR, pwzfriendlyname: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub fn ILAppendID(pidl: *const Common::ITEMIDLIST, pmkid: *const Common::SHITEMID, fappend: super::super::Foundation::BOOL) -> *mut Common::ITEMIDLIST; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn ILClone(pidl: *const Common::ITEMIDLIST) -> *mut Common::ITEMIDLIST; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn ILCloneFirst(pidl: *const Common::ITEMIDLIST) -> *mut Common::ITEMIDLIST; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn ILCombine(pidl1: *const Common::ITEMIDLIST, pidl2: *const Common::ITEMIDLIST) -> *mut Common::ITEMIDLIST; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn ILCreateFromPathA(pszpath: ::windows_sys::core::PCSTR) -> *mut Common::ITEMIDLIST; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn ILCreateFromPathW(pszpath: ::windows_sys::core::PCWSTR) -> *mut Common::ITEMIDLIST; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn ILFindChild(pidlparent: *const Common::ITEMIDLIST, pidlchild: *const Common::ITEMIDLIST) -> *mut Common::ITEMIDLIST; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn ILFindLastID(pidl: *const Common::ITEMIDLIST) -> *mut Common::ITEMIDLIST; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn ILFree(pidl: *const Common::ITEMIDLIST); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn ILGetNext(pidl: *const Common::ITEMIDLIST) -> *mut Common::ITEMIDLIST; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn ILGetSize(pidl: *const Common::ITEMIDLIST) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub fn ILIsEqual(pidl1: *const Common::ITEMIDLIST, pidl2: *const Common::ITEMIDLIST) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub fn ILIsParent(pidl1: *const Common::ITEMIDLIST, pidl2: *const Common::ITEMIDLIST, fimmediate: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] pub fn ILLoadFromStreamEx(pstm: super::super::System::Com::IStream, pidl: *mut *mut Common::ITEMIDLIST) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub fn ILRemoveLastID(pidl: *mut Common::ITEMIDLIST) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] pub fn ILSaveToStream(pstm: super::super::System::Com::IStream, pidl: *const Common::ITEMIDLIST) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn IStream_Copy(pstmfrom: super::super::System::Com::IStream, pstmto: super::super::System::Com::IStream, cb: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn IStream_Read(pstm: super::super::System::Com::IStream, pv: *mut ::core::ffi::c_void, cb: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] pub fn IStream_ReadPidl(pstm: super::super::System::Com::IStream, ppidlout: *mut *mut Common::ITEMIDLIST) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn IStream_ReadStr(pstm: super::super::System::Com::IStream, ppsz: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn IStream_Reset(pstm: super::super::System::Com::IStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn IStream_Size(pstm: super::super::System::Com::IStream, pui: *mut u64) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn IStream_Write(pstm: super::super::System::Com::IStream, pv: *const ::core::ffi::c_void, cb: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] pub fn IStream_WritePidl(pstm: super::super::System::Com::IStream, pidlwrite: *const Common::ITEMIDLIST) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn IStream_WriteStr(pstm: super::super::System::Com::IStream, psz: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn IUnknown_AtomicRelease(ppunk: *mut *mut ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn IUnknown_GetSite(punk: ::windows_sys::core::IUnknown, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IUnknown_GetWindow(punk: ::windows_sys::core::IUnknown, phwnd: *mut super::super::Foundation::HWND) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn IUnknown_QueryService(punk: ::windows_sys::core::IUnknown, guidservice: *const ::windows_sys::core::GUID, riid: *const ::windows_sys::core::GUID, ppvout: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn IUnknown_Set(ppunk: *mut ::windows_sys::core::IUnknown, punk: ::windows_sys::core::IUnknown); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn IUnknown_SetSite(punk: ::windows_sys::core::IUnknown, punksite: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ImportPrivacySettings(pszfilename: ::windows_sys::core::PCWSTR, pfparseprivacypreferences: *mut super::super::Foundation::BOOL, pfparsepersiterules: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InitNetworkAddressControl() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IntlStrEqWorkerA(fcasesens: super::super::Foundation::BOOL, lpstring1: ::windows_sys::core::PCSTR, lpstring2: ::windows_sys::core::PCSTR, nchar: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IntlStrEqWorkerW(fcasesens: super::super::Foundation::BOOL, lpstring1: ::windows_sys::core::PCWSTR, lpstring2: ::windows_sys::core::PCWSTR, nchar: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsCharSpaceA(wch: super::super::Foundation::CHAR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsCharSpaceW(wch: u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsInternetESCEnabled() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsLFNDriveA(pszpath: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsLFNDriveW(pszpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn IsNetDrive(idrive: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsOS(dwos: OS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsUserAnAdmin() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadUserProfileA(htoken: super::super::Foundation::HANDLE, lpprofileinfo: *mut PROFILEINFOA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadUserProfileW(htoken: super::super::Foundation::HANDLE, lpprofileinfo: *mut PROFILEINFOW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn OleSaveToStreamEx(piunk: ::windows_sys::core::IUnknown, pistm: super::super::System::Com::IStream, fcleardirty: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Registry"))] pub fn OpenRegStream(hkey: super::super::System::Registry::HKEY, pszsubkey: ::windows_sys::core::PCWSTR, pszvalue: ::windows_sys::core::PCWSTR, grfmode: u32) -> super::super::System::Com::IStream; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn ParseURLA(pcszurl: ::windows_sys::core::PCSTR, ppu: *mut PARSEDURLA) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn ParseURLW(pcszurl: ::windows_sys::core::PCWSTR, ppu: *mut PARSEDURLW) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathAddBackslashA(pszpath: ::windows_sys::core::PSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathAddBackslashW(pszpath: ::windows_sys::core::PWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathAddExtensionA(pszpath: ::windows_sys::core::PSTR, pszext: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathAddExtensionW(pszpath: ::windows_sys::core::PWSTR, pszext: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathAllocCanonicalize(pszpathin: ::windows_sys::core::PCWSTR, dwflags: PATHCCH_OPTIONS, ppszpathout: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathAllocCombine(pszpathin: ::windows_sys::core::PCWSTR, pszmore: ::windows_sys::core::PCWSTR, dwflags: PATHCCH_OPTIONS, ppszpathout: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathAppendA(pszpath: ::windows_sys::core::PSTR, pszmore: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathAppendW(pszpath: ::windows_sys::core::PWSTR, pszmore: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathBuildRootA(pszroot: ::windows_sys::core::PSTR, idrive: i32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathBuildRootW(pszroot: ::windows_sys::core::PWSTR, idrive: i32) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathCanonicalizeA(pszbuf: ::windows_sys::core::PSTR, pszpath: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathCanonicalizeW(pszbuf: ::windows_sys::core::PWSTR, pszpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCchAddBackslash(pszpath: ::windows_sys::core::PWSTR, cchpath: usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCchAddBackslashEx(pszpath: ::windows_sys::core::PWSTR, cchpath: usize, ppszend: *mut ::windows_sys::core::PWSTR, pcchremaining: *mut usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCchAddExtension(pszpath: ::windows_sys::core::PWSTR, cchpath: usize, pszext: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCchAppend(pszpath: ::windows_sys::core::PWSTR, cchpath: usize, pszmore: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCchAppendEx(pszpath: ::windows_sys::core::PWSTR, cchpath: usize, pszmore: ::windows_sys::core::PCWSTR, dwflags: PATHCCH_OPTIONS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCchCanonicalize(pszpathout: ::windows_sys::core::PWSTR, cchpathout: usize, pszpathin: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCchCanonicalizeEx(pszpathout: ::windows_sys::core::PWSTR, cchpathout: usize, pszpathin: ::windows_sys::core::PCWSTR, dwflags: PATHCCH_OPTIONS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCchCombine(pszpathout: ::windows_sys::core::PWSTR, cchpathout: usize, pszpathin: ::windows_sys::core::PCWSTR, pszmore: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCchCombineEx(pszpathout: ::windows_sys::core::PWSTR, cchpathout: usize, pszpathin: ::windows_sys::core::PCWSTR, pszmore: ::windows_sys::core::PCWSTR, dwflags: PATHCCH_OPTIONS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCchFindExtension(pszpath: ::windows_sys::core::PCWSTR, cchpath: usize, ppszext: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathCchIsRoot(pszpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCchRemoveBackslash(pszpath: ::windows_sys::core::PWSTR, cchpath: usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCchRemoveBackslashEx(pszpath: ::windows_sys::core::PWSTR, cchpath: usize, ppszend: *mut ::windows_sys::core::PWSTR, pcchremaining: *mut usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCchRemoveExtension(pszpath: ::windows_sys::core::PWSTR, cchpath: usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCchRemoveFileSpec(pszpath: ::windows_sys::core::PWSTR, cchpath: usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCchRenameExtension(pszpath: ::windows_sys::core::PWSTR, cchpath: usize, pszext: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCchSkipRoot(pszpath: ::windows_sys::core::PCWSTR, ppszrootend: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCchStripPrefix(pszpath: ::windows_sys::core::PWSTR, cchpath: usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCchStripToRoot(pszpath: ::windows_sys::core::PWSTR, cchpath: usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCleanupSpec(pszdir: ::windows_sys::core::PCWSTR, pszspec: ::windows_sys::core::PWSTR) -> PCS_RET; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCombineA(pszdest: ::windows_sys::core::PSTR, pszdir: ::windows_sys::core::PCSTR, pszfile: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCombineW(pszdest: ::windows_sys::core::PWSTR, pszdir: ::windows_sys::core::PCWSTR, pszfile: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCommonPrefixA(pszfile1: ::windows_sys::core::PCSTR, pszfile2: ::windows_sys::core::PCSTR, achpath: ::windows_sys::core::PSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCommonPrefixW(pszfile1: ::windows_sys::core::PCWSTR, pszfile2: ::windows_sys::core::PCWSTR, achpath: ::windows_sys::core::PWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn PathCompactPathA(hdc: super::super::Graphics::Gdi::HDC, pszpath: ::windows_sys::core::PSTR, dx: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathCompactPathExA(pszout: ::windows_sys::core::PSTR, pszsrc: ::windows_sys::core::PCSTR, cchmax: u32, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathCompactPathExW(pszout: ::windows_sys::core::PWSTR, pszsrc: ::windows_sys::core::PCWSTR, cchmax: u32, dwflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn PathCompactPathW(hdc: super::super::Graphics::Gdi::HDC, pszpath: ::windows_sys::core::PWSTR, dx: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCreateFromUrlA(pszurl: ::windows_sys::core::PCSTR, pszpath: ::windows_sys::core::PSTR, pcchpath: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCreateFromUrlAlloc(pszin: ::windows_sys::core::PCWSTR, ppszout: *mut ::windows_sys::core::PWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathCreateFromUrlW(pszurl: ::windows_sys::core::PCWSTR, pszpath: ::windows_sys::core::PWSTR, pcchpath: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathFileExistsA(pszpath: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathFileExistsW(pszpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathFindExtensionA(pszpath: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathFindExtensionW(pszpath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathFindFileNameA(pszpath: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathFindFileNameW(pszpath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathFindNextComponentA(pszpath: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathFindNextComponentW(pszpath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathFindOnPathA(pszpath: ::windows_sys::core::PSTR, ppszotherdirs: *const *const i8) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathFindOnPathW(pszpath: ::windows_sys::core::PWSTR, ppszotherdirs: *const *const u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathFindSuffixArrayA(pszpath: ::windows_sys::core::PCSTR, apszsuffix: *const ::windows_sys::core::PSTR, iarraysize: i32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathFindSuffixArrayW(pszpath: ::windows_sys::core::PCWSTR, apszsuffix: *const ::windows_sys::core::PWSTR, iarraysize: i32) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathGetArgsA(pszpath: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathGetArgsW(pszpath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathGetCharTypeA(ch: u8) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathGetCharTypeW(ch: u16) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathGetDriveNumberA(pszpath: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathGetDriveNumberW(pszpath: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathGetShortPath(pszlongpath: ::windows_sys::core::PWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsContentTypeA(pszpath: ::windows_sys::core::PCSTR, pszcontenttype: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsContentTypeW(pszpath: ::windows_sys::core::PCWSTR, pszcontenttype: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsDirectoryA(pszpath: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsDirectoryEmptyA(pszpath: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsDirectoryEmptyW(pszpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsDirectoryW(pszpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsExe(pszpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsFileSpecA(pszpath: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsFileSpecW(pszpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsLFNFileSpecA(pszname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsLFNFileSpecW(pszname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsNetworkPathA(pszpath: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsNetworkPathW(pszpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsPrefixA(pszprefix: ::windows_sys::core::PCSTR, pszpath: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsPrefixW(pszprefix: ::windows_sys::core::PCWSTR, pszpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsRelativeA(pszpath: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsRelativeW(pszpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsRootA(pszpath: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsRootW(pszpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsSameRootA(pszpath1: ::windows_sys::core::PCSTR, pszpath2: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsSameRootW(pszpath1: ::windows_sys::core::PCWSTR, pszpath2: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsSlowA(pszfile: ::windows_sys::core::PCSTR, dwattr: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsSlowW(pszfile: ::windows_sys::core::PCWSTR, dwattr: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsSystemFolderA(pszpath: ::windows_sys::core::PCSTR, dwattrb: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsSystemFolderW(pszpath: ::windows_sys::core::PCWSTR, dwattrb: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsUNCA(pszpath: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsUNCEx(pszpath: ::windows_sys::core::PCWSTR, ppszserver: *mut ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsUNCServerA(pszpath: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsUNCServerShareA(pszpath: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsUNCServerShareW(pszpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsUNCServerW(pszpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsUNCW(pszpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsURLA(pszpath: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathIsURLW(pszpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathMakePrettyA(pszpath: ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathMakePrettyW(pszpath: ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathMakeSystemFolderA(pszpath: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathMakeSystemFolderW(pszpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathMakeUniqueName(pszuniquename: ::windows_sys::core::PWSTR, cchmax: u32, psztemplate: ::windows_sys::core::PCWSTR, pszlongplate: ::windows_sys::core::PCWSTR, pszdir: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathMatchSpecA(pszfile: ::windows_sys::core::PCSTR, pszspec: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathMatchSpecExA(pszfile: ::windows_sys::core::PCSTR, pszspec: ::windows_sys::core::PCSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathMatchSpecExW(pszfile: ::windows_sys::core::PCWSTR, pszspec: ::windows_sys::core::PCWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathMatchSpecW(pszfile: ::windows_sys::core::PCWSTR, pszspec: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathParseIconLocationA(psziconfile: ::windows_sys::core::PSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathParseIconLocationW(psziconfile: ::windows_sys::core::PWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathQualify(psz: ::windows_sys::core::PWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathQuoteSpacesA(lpsz: ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathQuoteSpacesW(lpsz: ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathRelativePathToA(pszpath: ::windows_sys::core::PSTR, pszfrom: ::windows_sys::core::PCSTR, dwattrfrom: u32, pszto: ::windows_sys::core::PCSTR, dwattrto: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathRelativePathToW(pszpath: ::windows_sys::core::PWSTR, pszfrom: ::windows_sys::core::PCWSTR, dwattrfrom: u32, pszto: ::windows_sys::core::PCWSTR, dwattrto: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathRemoveArgsA(pszpath: ::windows_sys::core::PSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathRemoveArgsW(pszpath: ::windows_sys::core::PWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathRemoveBackslashA(pszpath: ::windows_sys::core::PSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathRemoveBackslashW(pszpath: ::windows_sys::core::PWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathRemoveBlanksA(pszpath: ::windows_sys::core::PSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathRemoveBlanksW(pszpath: ::windows_sys::core::PWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathRemoveExtensionA(pszpath: ::windows_sys::core::PSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathRemoveExtensionW(pszpath: ::windows_sys::core::PWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathRemoveFileSpecA(pszpath: ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathRemoveFileSpecW(pszpath: ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathRenameExtensionA(pszpath: ::windows_sys::core::PSTR, pszext: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathRenameExtensionW(pszpath: ::windows_sys::core::PWSTR, pszext: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathResolve(pszpath: ::windows_sys::core::PWSTR, dirs: *const *const u16, fflags: PRF_FLAGS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathSearchAndQualifyA(pszpath: ::windows_sys::core::PCSTR, pszbuf: ::windows_sys::core::PSTR, cchbuf: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathSearchAndQualifyW(pszpath: ::windows_sys::core::PCWSTR, pszbuf: ::windows_sys::core::PWSTR, cchbuf: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathSetDlgItemPathA(hdlg: super::super::Foundation::HWND, id: i32, pszpath: ::windows_sys::core::PCSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathSetDlgItemPathW(hdlg: super::super::Foundation::HWND, id: i32, pszpath: ::windows_sys::core::PCWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathSkipRootA(pszpath: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathSkipRootW(pszpath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathStripPathA(pszpath: ::windows_sys::core::PSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathStripPathW(pszpath: ::windows_sys::core::PWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathStripToRootA(pszpath: ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathStripToRootW(pszpath: ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathUnExpandEnvStringsA(pszpath: ::windows_sys::core::PCSTR, pszbuf: ::windows_sys::core::PSTR, cchbuf: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathUnExpandEnvStringsW(pszpath: ::windows_sys::core::PCWSTR, pszbuf: ::windows_sys::core::PWSTR, cchbuf: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathUndecorateA(pszpath: ::windows_sys::core::PSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn PathUndecorateW(pszpath: ::windows_sys::core::PWSTR); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathUnmakeSystemFolderA(pszpath: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathUnmakeSystemFolderW(pszpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathUnquoteSpacesA(lpsz: ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathUnquoteSpacesW(lpsz: ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PathYetAnotherMakeUniqueName(pszuniquename: ::windows_sys::core::PWSTR, pszpath: ::windows_sys::core::PCWSTR, pszshort: ::windows_sys::core::PCWSTR, pszfilespec: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PickIconDlg(hwnd: super::super::Foundation::HWND, psziconpath: ::windows_sys::core::PWSTR, cchiconpath: u32, piiconindex: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn QISearch(that: *mut ::core::ffi::c_void, pqit: *const QITAB, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReadCabinetState(pcs: *mut CABINETSTATE, clength: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RealDriveType(idrive: i32, foktohitnet: super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterAppConstrainedChangeNotification(routine: PAPPCONSTRAIN_CHANGE_ROUTINE, context: *const ::core::ffi::c_void, registration: *mut *mut _APPCONSTRAIN_REGISTRATION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterAppStateChangeNotification(routine: PAPPSTATE_CHANGE_ROUTINE, context: *const ::core::ffi::c_void, registration: *mut *mut _APPSTATE_REGISTRATION) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterScaleChangeEvent(hevent: super::super::Foundation::HANDLE, pdwcookie: *mut usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterScaleChangeNotifications(displaydevice: DISPLAY_DEVICE_TYPE, hwndnotify: super::super::Foundation::HWND, umsgnotify: u32, pdwcookie: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveWindowSubclass(hwnd: super::super::Foundation::HWND, pfnsubclass: SUBCLASSPROC, uidsubclass: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RestartDialog(hwnd: super::super::Foundation::HWND, pszprompt: ::windows_sys::core::PCWSTR, dwreturn: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RestartDialogEx(hwnd: super::super::Foundation::HWND, pszprompt: ::windows_sys::core::PCWSTR, dwreturn: u32, dwreasoncode: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn RevokeScaleChangeNotifications(displaydevice: DISPLAY_DEVICE_TYPE, dwcookie: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] pub fn SHAddFromPropSheetExtArray(hpsxa: HPSXA, lpfnaddpage: super::Controls::LPFNSVADDPROPSHEETPAGE, lparam: super::super::Foundation::LPARAM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHAddToRecentDocs(uflags: u32, pv: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHAlloc(cb: usize) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHAllocShared(pvdata: *const ::core::ffi::c_void, dwsize: u32, dwprocessid: u32) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHAnsiToAnsi(pszsrc: ::windows_sys::core::PCSTR, pszdst: ::windows_sys::core::PSTR, cchbuf: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHAnsiToUnicode(pszsrc: ::windows_sys::core::PCSTR, pwszdst: ::windows_sys::core::PWSTR, cwchbuf: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHAppBarMessage(dwmessage: u32, pdata: *mut APPBARDATA) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHAssocEnumHandlers(pszextra: ::windows_sys::core::PCWSTR, affilter: ASSOC_FILTER, ppenumhandler: *mut IEnumAssocHandlers) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHAssocEnumHandlersForProtocolByApplication(protocol: ::windows_sys::core::PCWSTR, riid: *const ::windows_sys::core::GUID, enumhandlers: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHAutoComplete(hwndedit: super::super::Foundation::HWND, dwflags: SHELL_AUTOCOMPLETE_FLAGS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn SHBindToFolderIDListParent(psfroot: IShellFolder, pidl: *const Common::ITEMIDLIST, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void, ppidllast: *mut *mut Common::ITEMIDLIST) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] pub fn SHBindToFolderIDListParentEx(psfroot: IShellFolder, pidl: *const Common::ITEMIDLIST, ppbc: super::super::System::Com::IBindCtx, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void, ppidllast: *mut *mut Common::ITEMIDLIST) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] pub fn SHBindToObject(psf: IShellFolder, pidl: *const Common::ITEMIDLIST, pbc: super::super::System::Com::IBindCtx, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn SHBindToParent(pidl: *const Common::ITEMIDLIST, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void, ppidllast: *mut *mut Common::ITEMIDLIST) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub fn SHBrowseForFolderA(lpbi: *const BROWSEINFOA) -> *mut Common::ITEMIDLIST; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub fn SHBrowseForFolderW(lpbi: *const BROWSEINFOW) -> *mut Common::ITEMIDLIST; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHCLSIDFromString(psz: ::windows_sys::core::PCWSTR, pclsid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub fn SHChangeNotification_Lock(hchange: super::super::Foundation::HANDLE, dwprocid: u32, pppidl: *mut *mut *mut Common::ITEMIDLIST, plevent: *mut i32) -> ShFindChangeNotificationHandle; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHChangeNotification_Unlock(hlock: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHChangeNotify(weventid: SHCNE_ID, uflags: SHCNF_FLAGS, dwitem1: *const ::core::ffi::c_void, dwitem2: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHChangeNotifyDeregister(ulid: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub fn SHChangeNotifyRegister(hwnd: super::super::Foundation::HWND, fsources: SHCNRF_SOURCE, fevents: i32, wmsg: u32, centries: i32, pshcne: *const SHChangeNotifyEntry) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHChangeNotifyRegisterThread(status: SCNRT_STATUS); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub fn SHCloneSpecialIDList(hwnd: super::super::Foundation::HWND, csidl: i32, fcreate: super::super::Foundation::BOOL) -> *mut Common::ITEMIDLIST; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHCoCreateInstance(pszclsid: ::windows_sys::core::PCWSTR, pclsid: *const ::windows_sys::core::GUID, punkouter: ::windows_sys::core::IUnknown, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHCopyKeyA(hkeysrc: super::super::System::Registry::HKEY, pszsrcsubkey: ::windows_sys::core::PCSTR, hkeydest: super::super::System::Registry::HKEY, freserved: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHCopyKeyW(hkeysrc: super::super::System::Registry::HKEY, pszsrcsubkey: ::windows_sys::core::PCWSTR, hkeydest: super::super::System::Registry::HKEY, freserved: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHCreateAssociationRegistration(riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] pub fn SHCreateDataObject(pidlfolder: *const Common::ITEMIDLIST, cidl: u32, apidl: *const *const Common::ITEMIDLIST, pdtinner: super::super::System::Com::IDataObject, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry", feature = "Win32_UI_Shell_Common"))] pub fn SHCreateDefaultContextMenu(pdcm: *const DEFCONTEXTMENU, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHCreateDefaultExtractIcon(riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHCreateDefaultPropertiesOp(psi: IShellItem, ppfileop: *mut IFileOperation) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHCreateDirectory(hwnd: super::super::Foundation::HWND, pszpath: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn SHCreateDirectoryExA(hwnd: super::super::Foundation::HWND, pszpath: ::windows_sys::core::PCSTR, psa: *const super::super::Security::SECURITY_ATTRIBUTES) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] pub fn SHCreateDirectoryExW(hwnd: super::super::Foundation::HWND, pszpath: ::windows_sys::core::PCWSTR, psa: *const super::super::Security::SECURITY_ATTRIBUTES) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHCreateFileExtractIconW(pszfile: ::windows_sys::core::PCWSTR, dwfileattributes: u32, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn SHCreateItemFromIDList(pidl: *const Common::ITEMIDLIST, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SHCreateItemFromParsingName(pszpath: ::windows_sys::core::PCWSTR, pbc: super::super::System::Com::IBindCtx, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SHCreateItemFromRelativeName(psiparent: IShellItem, pszname: ::windows_sys::core::PCWSTR, pbc: super::super::System::Com::IBindCtx, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHCreateItemInKnownFolder(kfid: *const ::windows_sys::core::GUID, dwkfflags: u32, pszitem: ::windows_sys::core::PCWSTR, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn SHCreateItemWithParent(pidlparent: *const Common::ITEMIDLIST, psfparent: IShellFolder, pidl: *const Common::ITEMIDLIST, riid: *const ::windows_sys::core::GUID, ppvitem: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SHCreateMemStream(pinit: *const u8, cbinit: u32) -> super::super::System::Com::IStream; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_Threading\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_Threading"))] pub fn SHCreateProcessAsUserW(pscpi: *mut SHCREATEPROCESSINFOW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn SHCreatePropSheetExtArray(hkey: super::super::System::Registry::HKEY, pszsubkey: ::windows_sys::core::PCWSTR, max_iface: u32) -> HPSXA; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SHCreateQueryCancelAutoPlayMoniker(ppmoniker: *mut super::super::System::Com::IMoniker) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub fn SHCreateShellFolderView(pcsfv: *const SFV_CREATE, ppsv: *mut IShellView) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] pub fn SHCreateShellFolderViewEx(pcsfv: *const CSFV, ppsv: *mut IShellView) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn SHCreateShellItem(pidlparent: *const Common::ITEMIDLIST, psfparent: IShellFolder, pidl: *const Common::ITEMIDLIST, ppsi: *mut IShellItem) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn SHCreateShellItemArray(pidlparent: *const Common::ITEMIDLIST, psf: IShellFolder, cidl: u32, ppidl: *const *const Common::ITEMIDLIST, ppsiitemarray: *mut IShellItemArray) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SHCreateShellItemArrayFromDataObject(pdo: super::super::System::Com::IDataObject, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn SHCreateShellItemArrayFromIDLists(cidl: u32, rgpidl: *const *const Common::ITEMIDLIST, ppsiitemarray: *mut IShellItemArray) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHCreateShellItemArrayFromShellItem(psi: IShellItem, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn SHCreateShellPalette(hdc: super::super::Graphics::Gdi::HDC) -> super::super::Graphics::Gdi::HPALETTE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SHCreateStdEnumFmtEtc(cfmt: u32, afmt: *const super::super::System::Com::FORMATETC, ppenumformatetc: *mut super::super::System::Com::IEnumFORMATETC) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SHCreateStreamOnFileA(pszfile: ::windows_sys::core::PCSTR, grfmode: u32, ppstm: *mut super::super::System::Com::IStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn SHCreateStreamOnFileEx(pszfile: ::windows_sys::core::PCWSTR, grfmode: u32, dwattributes: u32, fcreate: super::super::Foundation::BOOL, pstmtemplate: super::super::System::Com::IStream, ppstm: *mut super::super::System::Com::IStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SHCreateStreamOnFileW(pszfile: ::windows_sys::core::PCWSTR, grfmode: u32, ppstm: *mut super::super::System::Com::IStream) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] pub fn SHCreateThread(pfnthreadproc: super::super::System::Threading::LPTHREAD_START_ROUTINE, pdata: *const ::core::ffi::c_void, flags: u32, pfncallback: super::super::System::Threading::LPTHREAD_START_ROUTINE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHCreateThreadRef(pcref: *mut i32, ppunk: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] pub fn SHCreateThreadWithHandle(pfnthreadproc: super::super::System::Threading::LPTHREAD_START_ROUTINE, pdata: *const ::core::ffi::c_void, flags: u32, pfncallback: super::super::System::Threading::LPTHREAD_START_ROUTINE, phandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn SHDefExtractIconA(psziconfile: ::windows_sys::core::PCSTR, iindex: i32, uflags: u32, phiconlarge: *mut super::WindowsAndMessaging::HICON, phiconsmall: *mut super::WindowsAndMessaging::HICON, niconsize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn SHDefExtractIconW(psziconfile: ::windows_sys::core::PCWSTR, iindex: i32, uflags: u32, phiconlarge: *mut super::WindowsAndMessaging::HICON, phiconsmall: *mut super::WindowsAndMessaging::HICON, niconsize: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHDeleteEmptyKeyA(hkey: super::super::System::Registry::HKEY, pszsubkey: ::windows_sys::core::PCSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHDeleteEmptyKeyW(hkey: super::super::System::Registry::HKEY, pszsubkey: ::windows_sys::core::PCWSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHDeleteKeyA(hkey: super::super::System::Registry::HKEY, pszsubkey: ::windows_sys::core::PCSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHDeleteKeyW(hkey: super::super::System::Registry::HKEY, pszsubkey: ::windows_sys::core::PCWSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHDeleteValueA(hkey: super::super::System::Registry::HKEY, pszsubkey: ::windows_sys::core::PCSTR, pszvalue: ::windows_sys::core::PCSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHDeleteValueW(hkey: super::super::System::Registry::HKEY, pszsubkey: ::windows_sys::core::PCWSTR, pszvalue: ::windows_sys::core::PCWSTR) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHDestroyPropSheetExtArray(hpsxa: HPSXA); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub fn SHDoDragDrop(hwnd: super::super::Foundation::HWND, pdata: super::super::System::Com::IDataObject, pdsrc: super::super::System::Ole::IDropSource, dweffect: super::super::System::Ole::DROPEFFECT, pdweffect: *mut super::super::System::Ole::DROPEFFECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHEmptyRecycleBinA(hwnd: super::super::Foundation::HWND, pszrootpath: ::windows_sys::core::PCSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHEmptyRecycleBinW(hwnd: super::super::Foundation::HWND, pszrootpath: ::windows_sys::core::PCWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHEnumKeyExA(hkey: super::super::System::Registry::HKEY, dwindex: u32, pszname: ::windows_sys::core::PSTR, pcchname: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHEnumKeyExW(hkey: super::super::System::Registry::HKEY, dwindex: u32, pszname: ::windows_sys::core::PWSTR, pcchname: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHEnumValueA(hkey: super::super::System::Registry::HKEY, dwindex: u32, pszvaluename: ::windows_sys::core::PSTR, pcchvaluename: *mut u32, pdwtype: *mut u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHEnumValueW(hkey: super::super::System::Registry::HKEY, dwindex: u32, pszvaluename: ::windows_sys::core::PWSTR, pcchvaluename: *mut u32, pdwtype: *mut u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn SHEnumerateUnreadMailAccountsW(hkeyuser: super::super::System::Registry::HKEY, dwindex: u32, pszmailaddress: ::windows_sys::core::PWSTR, cchmailaddress: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHEvaluateSystemCommandTemplate(pszcmdtemplate: ::windows_sys::core::PCWSTR, ppszapplication: *mut ::windows_sys::core::PWSTR, ppszcommandline: *mut ::windows_sys::core::PWSTR, ppszparameters: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHFileOperationA(lpfileop: *mut SHFILEOPSTRUCTA) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHFileOperationW(lpfileop: *mut SHFILEOPSTRUCTW) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub fn SHFindFiles(pidlfolder: *const Common::ITEMIDLIST, pidlsavefile: *const Common::ITEMIDLIST) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn SHFind_InitMenuPopup(hmenu: super::WindowsAndMessaging::HMENU, hwndowner: super::super::Foundation::HWND, idcmdfirst: u32, idcmdlast: u32) -> IContextMenu; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHFlushSFCache(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHFormatDateTimeA(pft: *const super::super::Foundation::FILETIME, pdwflags: *mut u32, pszbuf: ::windows_sys::core::PSTR, cchbuf: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHFormatDateTimeW(pft: *const super::super::Foundation::FILETIME, pdwflags: *mut u32, pszbuf: ::windows_sys::core::PWSTR, cchbuf: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHFormatDrive(hwnd: super::super::Foundation::HWND, drive: u32, fmtid: SHFMT_ID, options: SHFMT_OPT) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHFree(pv: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHFreeNameMappings(hnamemappings: super::super::Foundation::HANDLE); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHFreeShared(hdata: super::super::Foundation::HANDLE, dwprocessid: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SHGetAttributesFromDataObject(pdo: super::super::System::Com::IDataObject, dwattributemask: u32, pdwattributes: *mut u32, pcitems: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn SHGetDataFromIDListA(psf: IShellFolder, pidl: *const Common::ITEMIDLIST, nformat: SHGDFIL_FORMAT, pv: *mut ::core::ffi::c_void, cb: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn SHGetDataFromIDListW(psf: IShellFolder, pidl: *const Common::ITEMIDLIST, nformat: SHGDFIL_FORMAT, pv: *mut ::core::ffi::c_void, cb: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHGetDesktopFolder(ppshf: *mut IShellFolder) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHGetDiskFreeSpaceExA(pszdirectoryname: ::windows_sys::core::PCSTR, pulfreebytesavailabletocaller: *mut u64, pultotalnumberofbytes: *mut u64, pultotalnumberoffreebytes: *mut u64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHGetDiskFreeSpaceExW(pszdirectoryname: ::windows_sys::core::PCWSTR, pulfreebytesavailabletocaller: *mut u64, pultotalnumberofbytes: *mut u64, pultotalnumberoffreebytes: *mut u64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHGetDriveMedia(pszdrive: ::windows_sys::core::PCWSTR, pdwmediacontent: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem", feature = "Win32_UI_WindowsAndMessaging"))] pub fn SHGetFileInfoA(pszpath: ::windows_sys::core::PCSTR, dwfileattributes: super::super::Storage::FileSystem::FILE_FLAGS_AND_ATTRIBUTES, psfi: *mut SHFILEINFOA, cbfileinfo: u32, uflags: SHGFI_FLAGS) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Storage_FileSystem", feature = "Win32_UI_WindowsAndMessaging"))] pub fn SHGetFileInfoW(pszpath: ::windows_sys::core::PCWSTR, dwfileattributes: super::super::Storage::FileSystem::FILE_FLAGS_AND_ATTRIBUTES, psfi: *mut SHFILEINFOW, cbfileinfo: u32, uflags: SHGFI_FLAGS) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub fn SHGetFolderLocation(hwnd: super::super::Foundation::HWND, csidl: i32, htoken: super::super::Foundation::HANDLE, dwflags: u32, ppidl: *mut *mut Common::ITEMIDLIST) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHGetFolderPathA(hwnd: super::super::Foundation::HWND, csidl: i32, htoken: super::super::Foundation::HANDLE, dwflags: u32, pszpath: ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHGetFolderPathAndSubDirA(hwnd: super::super::Foundation::HWND, csidl: i32, htoken: super::super::Foundation::HANDLE, dwflags: u32, pszsubdir: ::windows_sys::core::PCSTR, pszpath: ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHGetFolderPathAndSubDirW(hwnd: super::super::Foundation::HWND, csidl: i32, htoken: super::super::Foundation::HANDLE, dwflags: u32, pszsubdir: ::windows_sys::core::PCWSTR, pszpath: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHGetFolderPathW(hwnd: super::super::Foundation::HWND, csidl: i32, htoken: super::super::Foundation::HANDLE, dwflags: u32, pszpath: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn SHGetIDListFromObject(punk: ::windows_sys::core::IUnknown, ppidl: *mut *mut Common::ITEMIDLIST) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHGetIconOverlayIndexA(psziconpath: ::windows_sys::core::PCSTR, iiconindex: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHGetIconOverlayIndexW(psziconpath: ::windows_sys::core::PCWSTR, iiconindex: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHGetImageList(iimagelist: i32, riid: *const ::windows_sys::core::GUID, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHGetInstanceExplorer(ppunk: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHGetInverseCMAP(pbmap: *mut u8, cbmap: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SHGetItemFromDataObject(pdtobj: super::super::System::Com::IDataObject, dwflags: DATAOBJ_GET_ITEM_FLAGS, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHGetItemFromObject(punk: ::windows_sys::core::IUnknown, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub fn SHGetKnownFolderIDList(rfid: *const ::windows_sys::core::GUID, dwflags: u32, htoken: super::super::Foundation::HANDLE, ppidl: *mut *mut Common::ITEMIDLIST) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHGetKnownFolderItem(rfid: *const ::windows_sys::core::GUID, flags: KNOWN_FOLDER_FLAG, htoken: super::super::Foundation::HANDLE, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHGetKnownFolderPath(rfid: *const ::windows_sys::core::GUID, dwflags: u32, htoken: super::super::Foundation::HANDLE, ppszpath: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHGetLocalizedName(pszpath: ::windows_sys::core::PCWSTR, pszresmodule: ::windows_sys::core::PWSTR, cch: u32, pidsres: *mut i32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SHGetMalloc(ppmalloc: *mut super::super::System::Com::IMalloc) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn SHGetNameFromIDList(pidl: *const Common::ITEMIDLIST, sigdnname: SIGDN, ppszname: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHGetNewLinkInfoA(pszlinkto: ::windows_sys::core::PCSTR, pszdir: ::windows_sys::core::PCSTR, pszname: ::windows_sys::core::PSTR, pfmustcopy: *mut super::super::Foundation::BOOL, uflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHGetNewLinkInfoW(pszlinkto: ::windows_sys::core::PCWSTR, pszdir: ::windows_sys::core::PCWSTR, pszname: ::windows_sys::core::PWSTR, pfmustcopy: *mut super::super::Foundation::BOOL, uflags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub fn SHGetPathFromIDListA(pidl: *const Common::ITEMIDLIST, pszpath: ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub fn SHGetPathFromIDListEx(pidl: *const Common::ITEMIDLIST, pszpath: ::windows_sys::core::PWSTR, cchpath: u32, uopts: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub fn SHGetPathFromIDListW(pidl: *const Common::ITEMIDLIST, pszpath: ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn SHGetRealIDL(psf: IShellFolder, pidlsimple: *const Common::ITEMIDLIST, ppidlreal: *mut *mut Common::ITEMIDLIST) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHGetSetFolderCustomSettings(pfcs: *mut SHFOLDERCUSTOMSETTINGS, pszpath: ::windows_sys::core::PCWSTR, dwreadwrite: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHGetSetSettings(lpss: *mut SHELLSTATEA, dwmask: SSF_MASK, bset: super::super::Foundation::BOOL); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHGetSettings(psfs: *mut SHELLFLAGSTATE, dwmask: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub fn SHGetSpecialFolderLocation(hwnd: super::super::Foundation::HWND, csidl: i32, ppidl: *mut *mut Common::ITEMIDLIST) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHGetSpecialFolderPathA(hwnd: super::super::Foundation::HWND, pszpath: ::windows_sys::core::PSTR, csidl: i32, fcreate: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHGetSpecialFolderPathW(hwnd: super::super::Foundation::HWND, pszpath: ::windows_sys::core::PWSTR, csidl: i32, fcreate: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn SHGetStockIconInfo(siid: SHSTOCKICONID, uflags: u32, psii: *mut SHSTOCKICONINFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn SHGetTemporaryPropertyForItem(psi: IShellItem, propkey: *const PropertiesSystem::PROPERTYKEY, ppropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHGetThreadRef(ppunk: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHGetUnreadMailCountW(hkeyuser: super::super::System::Registry::HKEY, pszmailaddress: ::windows_sys::core::PCWSTR, pdwcount: *mut u32, pfiletime: *mut super::super::Foundation::FILETIME, pszshellexecutecommand: ::windows_sys::core::PWSTR, cchshellexecutecommand: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHGetValueA(hkey: super::super::System::Registry::HKEY, pszsubkey: ::windows_sys::core::PCSTR, pszvalue: ::windows_sys::core::PCSTR, pdwtype: *mut u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHGetValueW(hkey: super::super::System::Registry::HKEY, pszsubkey: ::windows_sys::core::PCWSTR, pszvalue: ::windows_sys::core::PCWSTR, pdwtype: *mut u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn SHGetViewStatePropertyBag(pidl: *const Common::ITEMIDLIST, pszbagname: ::windows_sys::core::PCWSTR, dwflags: u32, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHGlobalCounterDecrement(id: SHGLOBALCOUNTER) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHGlobalCounterGetValue(id: SHGLOBALCOUNTER) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHGlobalCounterIncrement(id: SHGLOBALCOUNTER) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn SHHandleUpdateImage(pidlextra: *const Common::ITEMIDLIST) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn SHILCreateFromPath(pszpath: ::windows_sys::core::PCWSTR, ppidl: *mut *mut Common::ITEMIDLIST, rgfinout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHInvokePrinterCommandA(hwnd: super::super::Foundation::HWND, uaction: u32, lpbuf1: ::windows_sys::core::PCSTR, lpbuf2: ::windows_sys::core::PCSTR, fmodal: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHInvokePrinterCommandW(hwnd: super::super::Foundation::HWND, uaction: u32, lpbuf1: ::windows_sys::core::PCWSTR, lpbuf2: ::windows_sys::core::PCWSTR, fmodal: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHIsFileAvailableOffline(pwszpath: ::windows_sys::core::PCWSTR, pdwstatus: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHIsLowMemoryMachine(dwtype: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHLimitInputEdit(hwndedit: super::super::Foundation::HWND, psf: IShellFolder) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHLoadInProc(rclsid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHLoadIndirectString(pszsource: ::windows_sys::core::PCWSTR, pszoutbuf: ::windows_sys::core::PWSTR, cchoutbuf: u32, ppvreserved: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHLoadNonloadedIconOverlayIdentifiers() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHLockShared(hdata: super::super::Foundation::HANDLE, dwprocessid: u32) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn SHMapPIDLToSystemImageListIndex(pshf: IShellFolder, pidl: *const Common::ITEMIDLIST, piindexsel: *mut i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHMessageBoxCheckA(hwnd: super::super::Foundation::HWND, psztext: ::windows_sys::core::PCSTR, pszcaption: ::windows_sys::core::PCSTR, utype: u32, idefault: i32, pszregval: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHMessageBoxCheckW(hwnd: super::super::Foundation::HWND, psztext: ::windows_sys::core::PCWSTR, pszcaption: ::windows_sys::core::PCWSTR, utype: u32, idefault: i32, pszregval: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub fn SHMultiFileProperties(pdtobj: super::super::System::Com::IDataObject, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHObjectProperties(hwnd: super::super::Foundation::HWND, shopobjecttype: SHOP_TYPE, pszobjectname: ::windows_sys::core::PCWSTR, pszpropertypage: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn SHOpenFolderAndSelectItems(pidlfolder: *const Common::ITEMIDLIST, cidl: u32, apidl: *const *const Common::ITEMIDLIST, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Registry"))] pub fn SHOpenPropSheetW(pszcaption: ::windows_sys::core::PCWSTR, ahkeys: *const super::super::System::Registry::HKEY, ckeys: u32, pclsiddefault: *const ::windows_sys::core::GUID, pdtobj: super::super::System::Com::IDataObject, psb: IShellBrowser, pstartpage: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Registry"))] pub fn SHOpenRegStream2A(hkey: super::super::System::Registry::HKEY, pszsubkey: ::windows_sys::core::PCSTR, pszvalue: ::windows_sys::core::PCSTR, grfmode: u32) -> super::super::System::Com::IStream; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Registry"))] pub fn SHOpenRegStream2W(hkey: super::super::System::Registry::HKEY, pszsubkey: ::windows_sys::core::PCWSTR, pszvalue: ::windows_sys::core::PCWSTR, grfmode: u32) -> super::super::System::Com::IStream; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Registry"))] pub fn SHOpenRegStreamA(hkey: super::super::System::Registry::HKEY, pszsubkey: ::windows_sys::core::PCSTR, pszvalue: ::windows_sys::core::PCSTR, grfmode: u32) -> super::super::System::Com::IStream; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Registry"))] pub fn SHOpenRegStreamW(hkey: super::super::System::Registry::HKEY, pszsubkey: ::windows_sys::core::PCWSTR, pszvalue: ::windows_sys::core::PCWSTR, grfmode: u32) -> super::super::System::Com::IStream; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHOpenWithDialog(hwndparent: super::super::Foundation::HWND, poainfo: *const OPENASINFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] pub fn SHParseDisplayName(pszname: ::windows_sys::core::PCWSTR, pbc: super::super::System::Com::IBindCtx, ppidl: *mut *mut Common::ITEMIDLIST, sfgaoin: u32, psfgaoout: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHPathPrepareForWriteA(hwnd: super::super::Foundation::HWND, punkenablemodless: ::windows_sys::core::IUnknown, pszpath: ::windows_sys::core::PCSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHPathPrepareForWriteW(hwnd: super::super::Foundation::HWND, punkenablemodless: ::windows_sys::core::IUnknown, pszpath: ::windows_sys::core::PCWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHQueryInfoKeyA(hkey: super::super::System::Registry::HKEY, pcsubkeys: *mut u32, pcchmaxsubkeylen: *mut u32, pcvalues: *mut u32, pcchmaxvaluenamelen: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHQueryInfoKeyW(hkey: super::super::System::Registry::HKEY, pcsubkeys: *mut u32, pcchmaxsubkeylen: *mut u32, pcvalues: *mut u32, pcchmaxvaluenamelen: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHQueryRecycleBinA(pszrootpath: ::windows_sys::core::PCSTR, pshqueryrbinfo: *mut SHQUERYRBINFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHQueryRecycleBinW(pszrootpath: ::windows_sys::core::PCWSTR, pshqueryrbinfo: *mut SHQUERYRBINFO) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHQueryUserNotificationState(pquns: *mut QUERY_USER_NOTIFICATION_STATE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHQueryValueExA(hkey: super::super::System::Registry::HKEY, pszvalue: ::windows_sys::core::PCSTR, pdwreserved: *mut u32, pdwtype: *mut u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHQueryValueExW(hkey: super::super::System::Registry::HKEY, pszvalue: ::windows_sys::core::PCWSTR, pdwreserved: *mut u32, pdwtype: *mut u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegCloseUSKey(huskey: isize) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegCreateUSKeyA(pszpath: ::windows_sys::core::PCSTR, samdesired: u32, hrelativeuskey: isize, phnewuskey: *mut isize, dwflags: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegCreateUSKeyW(pwzpath: ::windows_sys::core::PCWSTR, samdesired: u32, hrelativeuskey: isize, phnewuskey: *mut isize, dwflags: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegDeleteEmptyUSKeyA(huskey: isize, pszsubkey: ::windows_sys::core::PCSTR, delregflags: SHREGDEL_FLAGS) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegDeleteEmptyUSKeyW(huskey: isize, pwzsubkey: ::windows_sys::core::PCWSTR, delregflags: SHREGDEL_FLAGS) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegDeleteUSValueA(huskey: isize, pszvalue: ::windows_sys::core::PCSTR, delregflags: SHREGDEL_FLAGS) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegDeleteUSValueW(huskey: isize, pwzvalue: ::windows_sys::core::PCWSTR, delregflags: SHREGDEL_FLAGS) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn SHRegDuplicateHKey(hkey: super::super::System::Registry::HKEY) -> super::super::System::Registry::HKEY; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegEnumUSKeyA(huskey: isize, dwindex: u32, pszname: ::windows_sys::core::PSTR, pcchname: *mut u32, enumregflags: SHREGENUM_FLAGS) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegEnumUSKeyW(huskey: isize, dwindex: u32, pwzname: ::windows_sys::core::PWSTR, pcchname: *mut u32, enumregflags: SHREGENUM_FLAGS) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegEnumUSValueA(huskey: isize, dwindex: u32, pszvaluename: ::windows_sys::core::PSTR, pcchvaluename: *mut u32, pdwtype: *mut u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32, enumregflags: SHREGENUM_FLAGS) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegEnumUSValueW(huskey: isize, dwindex: u32, pszvaluename: ::windows_sys::core::PWSTR, pcchvaluename: *mut u32, pdwtype: *mut u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32, enumregflags: SHREGENUM_FLAGS) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegGetBoolUSValueA(pszsubkey: ::windows_sys::core::PCSTR, pszvalue: ::windows_sys::core::PCSTR, fignorehkcu: super::super::Foundation::BOOL, fdefault: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegGetBoolUSValueW(pszsubkey: ::windows_sys::core::PCWSTR, pszvalue: ::windows_sys::core::PCWSTR, fignorehkcu: super::super::Foundation::BOOL, fdefault: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHRegGetIntW(hk: super::super::System::Registry::HKEY, pwzkey: ::windows_sys::core::PCWSTR, idefault: i32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHRegGetPathA(hkey: super::super::System::Registry::HKEY, pcszsubkey: ::windows_sys::core::PCSTR, pcszvalue: ::windows_sys::core::PCSTR, pszpath: ::windows_sys::core::PSTR, dwflags: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHRegGetPathW(hkey: super::super::System::Registry::HKEY, pcszsubkey: ::windows_sys::core::PCWSTR, pcszvalue: ::windows_sys::core::PCWSTR, pszpath: ::windows_sys::core::PWSTR, dwflags: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegGetUSValueA(pszsubkey: ::windows_sys::core::PCSTR, pszvalue: ::windows_sys::core::PCSTR, pdwtype: *mut u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32, fignorehkcu: super::super::Foundation::BOOL, pvdefaultdata: *const ::core::ffi::c_void, dwdefaultdatasize: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegGetUSValueW(pszsubkey: ::windows_sys::core::PCWSTR, pszvalue: ::windows_sys::core::PCWSTR, pdwtype: *mut u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32, fignorehkcu: super::super::Foundation::BOOL, pvdefaultdata: *const ::core::ffi::c_void, dwdefaultdatasize: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHRegGetValueA(hkey: super::super::System::Registry::HKEY, pszsubkey: ::windows_sys::core::PCSTR, pszvalue: ::windows_sys::core::PCSTR, srrfflags: i32, pdwtype: *mut u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegGetValueFromHKCUHKLM(pwszkey: ::windows_sys::core::PCWSTR, pwszvalue: ::windows_sys::core::PCWSTR, srrfflags: i32, pdwtype: *mut u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHRegGetValueW(hkey: super::super::System::Registry::HKEY, pszsubkey: ::windows_sys::core::PCWSTR, pszvalue: ::windows_sys::core::PCWSTR, srrfflags: i32, pdwtype: *mut u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegOpenUSKeyA(pszpath: ::windows_sys::core::PCSTR, samdesired: u32, hrelativeuskey: isize, phnewuskey: *mut isize, fignorehkcu: super::super::Foundation::BOOL) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegOpenUSKeyW(pwzpath: ::windows_sys::core::PCWSTR, samdesired: u32, hrelativeuskey: isize, phnewuskey: *mut isize, fignorehkcu: super::super::Foundation::BOOL) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegQueryInfoUSKeyA(huskey: isize, pcsubkeys: *mut u32, pcchmaxsubkeylen: *mut u32, pcvalues: *mut u32, pcchmaxvaluenamelen: *mut u32, enumregflags: SHREGENUM_FLAGS) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegQueryInfoUSKeyW(huskey: isize, pcsubkeys: *mut u32, pcchmaxsubkeylen: *mut u32, pcvalues: *mut u32, pcchmaxvaluenamelen: *mut u32, enumregflags: SHREGENUM_FLAGS) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegQueryUSValueA(huskey: isize, pszvalue: ::windows_sys::core::PCSTR, pdwtype: *mut u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32, fignorehkcu: super::super::Foundation::BOOL, pvdefaultdata: *const ::core::ffi::c_void, dwdefaultdatasize: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegQueryUSValueW(huskey: isize, pszvalue: ::windows_sys::core::PCWSTR, pdwtype: *mut u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32, fignorehkcu: super::super::Foundation::BOOL, pvdefaultdata: *const ::core::ffi::c_void, dwdefaultdatasize: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHRegSetPathA(hkey: super::super::System::Registry::HKEY, pcszsubkey: ::windows_sys::core::PCSTR, pcszvalue: ::windows_sys::core::PCSTR, pcszpath: ::windows_sys::core::PCSTR, dwflags: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn SHRegSetPathW(hkey: super::super::System::Registry::HKEY, pcszsubkey: ::windows_sys::core::PCWSTR, pcszvalue: ::windows_sys::core::PCWSTR, pcszpath: ::windows_sys::core::PCWSTR, dwflags: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegSetUSValueA(pszsubkey: ::windows_sys::core::PCSTR, pszvalue: ::windows_sys::core::PCSTR, dwtype: u32, pvdata: *const ::core::ffi::c_void, cbdata: u32, dwflags: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegSetUSValueW(pwzsubkey: ::windows_sys::core::PCWSTR, pwzvalue: ::windows_sys::core::PCWSTR, dwtype: u32, pvdata: *const ::core::ffi::c_void, cbdata: u32, dwflags: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegWriteUSValueA(huskey: isize, pszvalue: ::windows_sys::core::PCSTR, dwtype: u32, pvdata: *const ::core::ffi::c_void, cbdata: u32, dwflags: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHRegWriteUSValueW(huskey: isize, pwzvalue: ::windows_sys::core::PCWSTR, dwtype: u32, pvdata: *const ::core::ffi::c_void, cbdata: u32, dwflags: u32) -> super::super::Foundation::WIN32_ERROR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHReleaseThreadRef() -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHRemoveLocalizedName(pszpath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] pub fn SHReplaceFromPropSheetExtArray(hpsxa: HPSXA, upageid: u32, lpfnreplacewith: super::Controls::LPFNSVADDPROPSHEETPAGE, lparam: super::super::Foundation::LPARAM) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHResolveLibrary(psilibrary: IShellItem) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHRestricted(rest: RESTRICTIONS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHSendMessageBroadcastA(umsg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHSendMessageBroadcastW(umsg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHSetDefaultProperties(hwnd: super::super::Foundation::HWND, psi: IShellItem, dwfileopflags: u32, pfops: IFileOperationProgressSink) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHSetFolderPathA(csidl: i32, htoken: super::super::Foundation::HANDLE, dwflags: u32, pszpath: ::windows_sys::core::PCSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHSetFolderPathW(csidl: i32, htoken: super::super::Foundation::HANDLE, dwflags: u32, pszpath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHSetInstanceExplorer(punk: ::windows_sys::core::IUnknown); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHSetKnownFolderPath(rfid: *const ::windows_sys::core::GUID, dwflags: u32, htoken: super::super::Foundation::HANDLE, pszpath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHSetLocalizedName(pszpath: ::windows_sys::core::PCWSTR, pszresmodule: ::windows_sys::core::PCWSTR, idsres: i32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn SHSetTemporaryPropertyForItem(psi: IShellItem, propkey: *const PropertiesSystem::PROPERTYKEY, propvar: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHSetThreadRef(punk: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHSetUnreadMailCountW(pszmailaddress: ::windows_sys::core::PCWSTR, dwcount: u32, pszshellexecutecommand: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn SHSetValueA(hkey: super::super::System::Registry::HKEY, pszsubkey: ::windows_sys::core::PCSTR, pszvalue: ::windows_sys::core::PCSTR, dwtype: u32, pvdata: *const ::core::ffi::c_void, cbdata: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn SHSetValueW(hkey: super::super::System::Registry::HKEY, pszsubkey: ::windows_sys::core::PCWSTR, pszvalue: ::windows_sys::core::PCWSTR, dwtype: u32, pvdata: *const ::core::ffi::c_void, cbdata: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHShellFolderView_Message(hwndmain: super::super::Foundation::HWND, umsg: u32, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHShowManageLibraryUI(psilibrary: IShellItem, hwndowner: super::super::Foundation::HWND, psztitle: ::windows_sys::core::PCWSTR, pszinstruction: ::windows_sys::core::PCWSTR, lmdoptions: LIBRARYMANAGEDIALOGOPTIONS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn SHSimpleIDListFromPath(pszpath: ::windows_sys::core::PCWSTR) -> *mut Common::ITEMIDLIST; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn SHSkipJunction(pbc: super::super::System::Com::IBindCtx, pclsid: *const ::windows_sys::core::GUID) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHStartNetConnectionDialogW(hwnd: super::super::Foundation::HWND, pszremotename: ::windows_sys::core::PCWSTR, dwtype: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHStrDupA(psz: ::windows_sys::core::PCSTR, ppwsz: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHStrDupW(psz: ::windows_sys::core::PCWSTR, ppwsz: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHStripMneumonicA(pszmenu: ::windows_sys::core::PSTR) -> super::super::Foundation::CHAR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHStripMneumonicW(pszmenu: ::windows_sys::core::PWSTR) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHTestTokenMembership(htoken: super::super::Foundation::HANDLE, ulrid: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHUnicodeToAnsi(pwszsrc: ::windows_sys::core::PCWSTR, pszdst: ::windows_sys::core::PSTR, cchbuf: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHUnicodeToUnicode(pwzsrc: ::windows_sys::core::PCWSTR, pwzdst: ::windows_sys::core::PWSTR, cwchbuf: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHUnlockShared(pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHUpdateImageA(pszhashitem: ::windows_sys::core::PCSTR, iindex: i32, uflags: u32, iimageindex: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SHUpdateImageW(pszhashitem: ::windows_sys::core::PCWSTR, iindex: i32, uflags: u32, iimageindex: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SHValidateUNC(hwndowner: super::super::Foundation::HWND, pszfile: ::windows_sys::core::PWSTR, fconnect: VALIDATEUNC_OPTION) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn SetCurrentProcessExplicitAppUserModelID(appid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn SetMenuContextHelpId(param0: super::WindowsAndMessaging::HMENU, param1: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWindowContextHelpId(param0: super::super::Foundation::HWND, param1: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWindowSubclass(hwnd: super::super::Foundation::HWND, pfnsubclass: SUBCLASSPROC, uidsubclass: usize, dwrefdata: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn ShellAboutA(hwnd: super::super::Foundation::HWND, szapp: ::windows_sys::core::PCSTR, szotherstuff: ::windows_sys::core::PCSTR, hicon: super::WindowsAndMessaging::HICON) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn ShellAboutW(hwnd: super::super::Foundation::HWND, szapp: ::windows_sys::core::PCWSTR, szotherstuff: ::windows_sys::core::PCWSTR, hicon: super::WindowsAndMessaging::HICON) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ShellExecuteA(hwnd: super::super::Foundation::HWND, lpoperation: ::windows_sys::core::PCSTR, lpfile: ::windows_sys::core::PCSTR, lpparameters: ::windows_sys::core::PCSTR, lpdirectory: ::windows_sys::core::PCSTR, nshowcmd: i32) -> super::super::Foundation::HINSTANCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn ShellExecuteExA(pexecinfo: *mut SHELLEXECUTEINFOA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] pub fn ShellExecuteExW(pexecinfo: *mut SHELLEXECUTEINFOW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ShellExecuteW(hwnd: super::super::Foundation::HWND, lpoperation: ::windows_sys::core::PCWSTR, lpfile: ::windows_sys::core::PCWSTR, lpparameters: ::windows_sys::core::PCWSTR, lpdirectory: ::windows_sys::core::PCWSTR, nshowcmd: i32) -> super::super::Foundation::HINSTANCE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ShellMessageBoxA(happinst: super::super::Foundation::HINSTANCE, hwnd: super::super::Foundation::HWND, lpctext: ::windows_sys::core::PCSTR, lpctitle: ::windows_sys::core::PCSTR, fustyle: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ShellMessageBoxW(happinst: super::super::Foundation::HINSTANCE, hwnd: super::super::Foundation::HWND, lpctext: ::windows_sys::core::PCWSTR, lpctitle: ::windows_sys::core::PCWSTR, fustyle: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn Shell_GetCachedImageIndex(pwsziconpath: ::windows_sys::core::PCWSTR, iiconindex: i32, uiconflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn Shell_GetCachedImageIndexA(psziconpath: ::windows_sys::core::PCSTR, iiconindex: i32, uiconflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn Shell_GetCachedImageIndexW(psziconpath: ::windows_sys::core::PCWSTR, iiconindex: i32, uiconflags: u32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] pub fn Shell_GetImageLists(phiml: *mut super::Controls::HIMAGELIST, phimlsmall: *mut super::Controls::HIMAGELIST) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn Shell_MergeMenus(hmdst: super::WindowsAndMessaging::HMENU, hmsrc: super::WindowsAndMessaging::HMENU, uinsert: u32, uidadjust: u32, uidadjustmax: u32, uflags: MM_FLAGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn Shell_NotifyIconA(dwmessage: NOTIFY_ICON_MESSAGE, lpdata: *const NOTIFYICONDATAA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Shell_NotifyIconGetRect(identifier: *const NOTIFYICONIDENTIFIER, iconlocation: *mut super::super::Foundation::RECT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub fn Shell_NotifyIconW(dwmessage: NOTIFY_ICON_MESSAGE, lpdata: *const NOTIFYICONDATAW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub fn SignalFileOpen(pidl: *const Common::ITEMIDLIST) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_Urlmon\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_Urlmon"))] pub fn SoftwareUpdateMessageBox(hwnd: super::super::Foundation::HWND, pszdistunit: ::windows_sys::core::PCWSTR, dwflags: u32, psdi: *mut super::super::System::Com::Urlmon::SOFTDISTINFO) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn StgMakeUniqueName(pstgparent: super::super::System::Com::StructuredStorage::IStorage, pszfilespec: ::windows_sys::core::PCWSTR, grfmode: u32, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCSpnA(pszstr: ::windows_sys::core::PCSTR, pszset: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCSpnIA(pszstr: ::windows_sys::core::PCSTR, pszset: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCSpnIW(pszstr: ::windows_sys::core::PCWSTR, pszset: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCSpnW(pszstr: ::windows_sys::core::PCWSTR, pszset: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCatBuffA(pszdest: ::windows_sys::core::PSTR, pszsrc: ::windows_sys::core::PCSTR, cchdestbuffsize: i32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCatBuffW(pszdest: ::windows_sys::core::PWSTR, pszsrc: ::windows_sys::core::PCWSTR, cchdestbuffsize: i32) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCatChainW(pszdst: ::windows_sys::core::PWSTR, cchdst: u32, ichat: u32, pszsrc: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCatW(psz1: ::windows_sys::core::PWSTR, psz2: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrChrA(pszstart: ::windows_sys::core::PCSTR, wmatch: u16) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrChrIA(pszstart: ::windows_sys::core::PCSTR, wmatch: u16) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrChrIW(pszstart: ::windows_sys::core::PCWSTR, wmatch: u16) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrChrNIW(pszstart: ::windows_sys::core::PCWSTR, wmatch: u16, cchmax: u32) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrChrNW(pszstart: ::windows_sys::core::PCWSTR, wmatch: u16, cchmax: u32) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrChrW(pszstart: ::windows_sys::core::PCWSTR, wmatch: u16) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCmpCA(pszstr1: ::windows_sys::core::PCSTR, pszstr2: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCmpCW(pszstr1: ::windows_sys::core::PCWSTR, pszstr2: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCmpICA(pszstr1: ::windows_sys::core::PCSTR, pszstr2: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCmpICW(pszstr1: ::windows_sys::core::PCWSTR, pszstr2: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCmpIW(psz1: ::windows_sys::core::PCWSTR, psz2: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCmpLogicalW(psz1: ::windows_sys::core::PCWSTR, psz2: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCmpNA(psz1: ::windows_sys::core::PCSTR, psz2: ::windows_sys::core::PCSTR, nchar: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCmpNCA(pszstr1: ::windows_sys::core::PCSTR, pszstr2: ::windows_sys::core::PCSTR, nchar: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCmpNCW(pszstr1: ::windows_sys::core::PCWSTR, pszstr2: ::windows_sys::core::PCWSTR, nchar: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCmpNIA(psz1: ::windows_sys::core::PCSTR, psz2: ::windows_sys::core::PCSTR, nchar: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCmpNICA(pszstr1: ::windows_sys::core::PCSTR, pszstr2: ::windows_sys::core::PCSTR, nchar: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCmpNICW(pszstr1: ::windows_sys::core::PCWSTR, pszstr2: ::windows_sys::core::PCWSTR, nchar: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCmpNIW(psz1: ::windows_sys::core::PCWSTR, psz2: ::windows_sys::core::PCWSTR, nchar: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCmpNW(psz1: ::windows_sys::core::PCWSTR, psz2: ::windows_sys::core::PCWSTR, nchar: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCmpW(psz1: ::windows_sys::core::PCWSTR, psz2: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCpyNW(pszdst: ::windows_sys::core::PWSTR, pszsrc: ::windows_sys::core::PCWSTR, cchmax: i32) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrCpyW(psz1: ::windows_sys::core::PWSTR, psz2: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrDupA(pszsrch: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrDupW(pszsrch: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrFormatByteSize64A(qdw: i64, pszbuf: ::windows_sys::core::PSTR, cchbuf: u32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrFormatByteSizeA(dw: u32, pszbuf: ::windows_sys::core::PSTR, cchbuf: u32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrFormatByteSizeEx(ull: u64, flags: SFBS_FLAGS, pszbuf: ::windows_sys::core::PWSTR, cchbuf: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrFormatByteSizeW(qdw: i64, pszbuf: ::windows_sys::core::PWSTR, cchbuf: u32) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrFormatKBSizeA(qdw: i64, pszbuf: ::windows_sys::core::PSTR, cchbuf: u32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrFormatKBSizeW(qdw: i64, pszbuf: ::windows_sys::core::PWSTR, cchbuf: u32) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrFromTimeIntervalA(pszout: ::windows_sys::core::PSTR, cchmax: u32, dwtimems: u32, digits: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrFromTimeIntervalW(pszout: ::windows_sys::core::PWSTR, cchmax: u32, dwtimems: u32, digits: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StrIsIntlEqualA(fcasesens: super::super::Foundation::BOOL, pszstring1: ::windows_sys::core::PCSTR, pszstring2: ::windows_sys::core::PCSTR, nchar: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StrIsIntlEqualW(fcasesens: super::super::Foundation::BOOL, pszstring1: ::windows_sys::core::PCWSTR, pszstring2: ::windows_sys::core::PCWSTR, nchar: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrNCatA(psz1: ::windows_sys::core::PSTR, psz2: ::windows_sys::core::PCSTR, cchmax: i32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrNCatW(psz1: ::windows_sys::core::PWSTR, psz2: ::windows_sys::core::PCWSTR, cchmax: i32) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrPBrkA(psz: ::windows_sys::core::PCSTR, pszset: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrPBrkW(psz: ::windows_sys::core::PCWSTR, pszset: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrRChrA(pszstart: ::windows_sys::core::PCSTR, pszend: ::windows_sys::core::PCSTR, wmatch: u16) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrRChrIA(pszstart: ::windows_sys::core::PCSTR, pszend: ::windows_sys::core::PCSTR, wmatch: u16) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrRChrIW(pszstart: ::windows_sys::core::PCWSTR, pszend: ::windows_sys::core::PCWSTR, wmatch: u16) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrRChrW(pszstart: ::windows_sys::core::PCWSTR, pszend: ::windows_sys::core::PCWSTR, wmatch: u16) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrRStrIA(pszsource: ::windows_sys::core::PCSTR, pszlast: ::windows_sys::core::PCSTR, pszsrch: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrRStrIW(pszsource: ::windows_sys::core::PCWSTR, pszlast: ::windows_sys::core::PCWSTR, pszsrch: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub fn StrRetToBSTR(pstr: *mut Common::STRRET, pidl: *const Common::ITEMIDLIST, pbstr: *mut super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn StrRetToBufA(pstr: *mut Common::STRRET, pidl: *const Common::ITEMIDLIST, pszbuf: ::windows_sys::core::PSTR, cchbuf: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn StrRetToBufW(pstr: *mut Common::STRRET, pidl: *const Common::ITEMIDLIST, pszbuf: ::windows_sys::core::PWSTR, cchbuf: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn StrRetToStrA(pstr: *mut Common::STRRET, pidl: *const Common::ITEMIDLIST, ppsz: *mut ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub fn StrRetToStrW(pstr: *mut Common::STRRET, pidl: *const Common::ITEMIDLIST, ppsz: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrSpnA(psz: ::windows_sys::core::PCSTR, pszset: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrSpnW(psz: ::windows_sys::core::PCWSTR, pszset: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrStrA(pszfirst: ::windows_sys::core::PCSTR, pszsrch: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrStrIA(pszfirst: ::windows_sys::core::PCSTR, pszsrch: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrStrIW(pszfirst: ::windows_sys::core::PCWSTR, pszsrch: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrStrNIW(pszfirst: ::windows_sys::core::PCWSTR, pszsrch: ::windows_sys::core::PCWSTR, cchmax: u32) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrStrNW(pszfirst: ::windows_sys::core::PCWSTR, pszsrch: ::windows_sys::core::PCWSTR, cchmax: u32) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrStrW(pszfirst: ::windows_sys::core::PCWSTR, pszsrch: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StrToInt64ExA(pszstring: ::windows_sys::core::PCSTR, dwflags: i32, pllret: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StrToInt64ExW(pszstring: ::windows_sys::core::PCWSTR, dwflags: i32, pllret: *mut i64) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrToIntA(pszsrc: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StrToIntExA(pszstring: ::windows_sys::core::PCSTR, dwflags: i32, piret: *mut i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StrToIntExW(pszstring: ::windows_sys::core::PCWSTR, dwflags: i32, piret: *mut i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn StrToIntW(pszsrc: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StrTrimA(psz: ::windows_sys::core::PSTR, psztrimchars: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn StrTrimW(psz: ::windows_sys::core::PWSTR, psztrimchars: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnloadUserProfile(htoken: super::super::Foundation::HANDLE, hprofile: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn UnregisterAppConstrainedChangeNotification(registration: *mut _APPCONSTRAIN_REGISTRATION); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn UnregisterAppStateChangeNotification(registration: *mut _APPSTATE_REGISTRATION); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn UnregisterScaleChangeEvent(dwcookie: usize) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn UrlApplySchemeA(pszin: ::windows_sys::core::PCSTR, pszout: ::windows_sys::core::PSTR, pcchout: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn UrlApplySchemeW(pszin: ::windows_sys::core::PCWSTR, pszout: ::windows_sys::core::PWSTR, pcchout: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn UrlCanonicalizeA(pszurl: ::windows_sys::core::PCSTR, pszcanonicalized: ::windows_sys::core::PSTR, pcchcanonicalized: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn UrlCanonicalizeW(pszurl: ::windows_sys::core::PCWSTR, pszcanonicalized: ::windows_sys::core::PWSTR, pcchcanonicalized: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn UrlCombineA(pszbase: ::windows_sys::core::PCSTR, pszrelative: ::windows_sys::core::PCSTR, pszcombined: ::windows_sys::core::PSTR, pcchcombined: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn UrlCombineW(pszbase: ::windows_sys::core::PCWSTR, pszrelative: ::windows_sys::core::PCWSTR, pszcombined: ::windows_sys::core::PWSTR, pcchcombined: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UrlCompareA(psz1: ::windows_sys::core::PCSTR, psz2: ::windows_sys::core::PCSTR, fignoreslash: super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UrlCompareW(psz1: ::windows_sys::core::PCWSTR, psz2: ::windows_sys::core::PCWSTR, fignoreslash: super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn UrlCreateFromPathA(pszpath: ::windows_sys::core::PCSTR, pszurl: ::windows_sys::core::PSTR, pcchurl: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn UrlCreateFromPathW(pszpath: ::windows_sys::core::PCWSTR, pszurl: ::windows_sys::core::PWSTR, pcchurl: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn UrlEscapeA(pszurl: ::windows_sys::core::PCSTR, pszescaped: ::windows_sys::core::PSTR, pcchescaped: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn UrlEscapeW(pszurl: ::windows_sys::core::PCWSTR, pszescaped: ::windows_sys::core::PWSTR, pcchescaped: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn UrlFixupW(pcszurl: ::windows_sys::core::PCWSTR, psztranslatedurl: ::windows_sys::core::PWSTR, cchmax: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn UrlGetLocationA(pszurl: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn UrlGetLocationW(pszurl: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn UrlGetPartA(pszin: ::windows_sys::core::PCSTR, pszout: ::windows_sys::core::PSTR, pcchout: *mut u32, dwpart: u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn UrlGetPartW(pszin: ::windows_sys::core::PCWSTR, pszout: ::windows_sys::core::PWSTR, pcchout: *mut u32, dwpart: u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn UrlHashA(pszurl: ::windows_sys::core::PCSTR, pbhash: *mut u8, cbhash: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn UrlHashW(pszurl: ::windows_sys::core::PCWSTR, pbhash: *mut u8, cbhash: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UrlIsA(pszurl: ::windows_sys::core::PCSTR, urlis: URLIS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UrlIsNoHistoryA(pszurl: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UrlIsNoHistoryW(pszurl: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UrlIsOpaqueA(pszurl: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UrlIsOpaqueW(pszurl: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UrlIsW(pszurl: ::windows_sys::core::PCWSTR, urlis: URLIS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn UrlUnescapeA(pszurl: ::windows_sys::core::PSTR, pszunescaped: ::windows_sys::core::PSTR, pcchunescaped: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn UrlUnescapeW(pszurl: ::windows_sys::core::PWSTR, pszunescaped: ::windows_sys::core::PWSTR, pcchunescaped: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn WhichPlatform() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Win32DeleteFile(pszpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHelpA(hwndmain: super::super::Foundation::HWND, lpszhelp: ::windows_sys::core::PCSTR, ucommand: u32, dwdata: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WinHelpW(hwndmain: super::super::Foundation::HWND, lpszhelp: ::windows_sys::core::PCWSTR, ucommand: u32, dwdata: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WriteCabinetState(pcs: *const CABINETSTATE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn wnsprintfA(pszdest: ::windows_sys::core::PSTR, cchdest: i32, pszfmt: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn wnsprintfW(pszdest: ::windows_sys::core::PWSTR, cchdest: i32, pszfmt: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn wvnsprintfA(pszdest: ::windows_sys::core::PSTR, cchdest: i32, pszfmt: ::windows_sys::core::PCSTR, arglist: *const i8) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub fn wvnsprintfW(pszdest: ::windows_sys::core::PWSTR, cchdest: i32, pszfmt: ::windows_sys::core::PCWSTR, arglist: *const i8) -> i32; } diff --git a/crates/libs/sys/src/Windows/Win32/UI/TabletPC/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/TabletPC/mod.rs index 49e8e0e192..2011151939 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/TabletPC/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/TabletPC/mod.rs @@ -3,58 +3,136 @@ extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub fn AddStroke(hrc: HRECOCONTEXT, ppacketdesc: *const PACKET_DESCRIPTION, cbpacket: u32, ppacket: *const u8, pxform: *const super::super::Graphics::Gdi::XFORM) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn AddWordsToWordList(hwl: HRECOWORDLIST, pwcwords: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AdviseInkChange(hrc: HRECOCONTEXT, bnewstroke: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn CreateContext(hrec: HRECOGNIZER, phrc: *mut HRECOCONTEXT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn CreateRecognizer(pclsid: *mut ::windows_sys::core::GUID, phrec: *mut HRECOGNIZER) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn DestroyContext(hrc: HRECOCONTEXT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn DestroyRecognizer(hrec: HRECOGNIZER) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn DestroyWordList(hwl: HRECOWORDLIST) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn EndInkInput(hrc: HRECOCONTEXT) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn GetAllRecognizers(recognizerclsids: *mut *mut ::windows_sys::core::GUID, count: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn GetBestResultString(hrc: HRECOCONTEXT, pcsize: *mut u32, pwcbestresult: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn GetLatticePtr(hrc: HRECOCONTEXT, pplattice: *mut *mut RECO_LATTICE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn GetLeftSeparator(hrc: HRECOCONTEXT, pcsize: *mut u32, pwcleftseparator: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn GetRecoAttributes(hrec: HRECOGNIZER, precoattrs: *mut RECO_ATTRS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn GetResultPropertyList(hrec: HRECOGNIZER, ppropertycount: *mut u32, ppropertyguid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn GetRightSeparator(hrc: HRECOCONTEXT, pcsize: *mut u32, pwcrightseparator: ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn GetUnicodeRanges(hrec: HRECOGNIZER, pcranges: *mut u32, pcr: *mut CHARACTER_RANGE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn IsStringSupported(hrc: HRECOCONTEXT, wcstring: u32, pwcstring: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn LoadCachedAttributes(clsid: ::windows_sys::core::GUID, precoattributes: *mut RECO_ATTRS) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn MakeWordList(hrec: HRECOGNIZER, pbuffer: ::windows_sys::core::PCWSTR, phwl: *mut HRECOWORDLIST) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn Process(hrc: HRECOCONTEXT, pbpartialprocessing: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn SetEnabledUnicodeRanges(hrc: HRECOCONTEXT, cranges: u32, pcr: *mut CHARACTER_RANGE) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn SetFactoid(hrc: HRECOCONTEXT, cwcfactoid: u32, pwcfactoid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn SetFlags(hrc: HRECOCONTEXT, dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn SetGuide(hrc: HRECOCONTEXT, pguide: *const RECO_GUIDE, iindex: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn SetTextContext(hrc: HRECOCONTEXT, cwcbefore: u32, pwcbefore: ::windows_sys::core::PCWSTR, cwcafter: u32, pwcafter: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] pub fn SetWordList(hrc: HRECOCONTEXT, hwl: HRECOWORDLIST) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/UI/TextServices/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/TextServices/mod.rs index 78d2b6cf17..74a4c29489 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/TextServices/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/TextServices/mod.rs @@ -3,8 +3,14 @@ extern "system" { #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DoMsCtfMonitor(dwflags: u32, heventforservicestop: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] pub fn InitLocalMsCtfMonitor(dwflags: u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] pub fn UninitLocalMsCtfMonitor() -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/sys/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs index 0d93700099..caf9e96d08 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs @@ -3,1168 +3,2407 @@ extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AdjustWindowRect(lprect: *mut super::super::Foundation::RECT, dwstyle: WINDOW_STYLE, bmenu: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AdjustWindowRectEx(lprect: *mut super::super::Foundation::RECT, dwstyle: WINDOW_STYLE, bmenu: super::super::Foundation::BOOL, dwexstyle: WINDOW_EX_STYLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AllowSetForegroundWindow(dwprocessid: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AnimateWindow(hwnd: super::super::Foundation::HWND, dwtime: u32, dwflags: ANIMATE_WINDOW_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AnyPopup() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AppendMenuA(hmenu: HMENU, uflags: MENU_ITEM_FLAGS, uidnewitem: usize, lpnewitem: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn AppendMenuW(hmenu: HMENU, uflags: MENU_ITEM_FLAGS, uidnewitem: usize, lpnewitem: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ArrangeIconicWindows(hwnd: super::super::Foundation::HWND) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn BeginDeferWindowPos(nnumwindows: i32) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn BringWindowToTop(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CalculatePopupWindowPosition(anchorpoint: *const super::super::Foundation::POINT, windowsize: *const super::super::Foundation::SIZE, flags: u32, excluderect: *const super::super::Foundation::RECT, popupwindowposition: *mut super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CallMsgFilterA(lpmsg: *const MSG, ncode: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CallMsgFilterW(lpmsg: *const MSG, ncode: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CallNextHookEx(hhk: HHOOK, ncode: i32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CallWindowProcA(lpprevwndfunc: WNDPROC, hwnd: super::super::Foundation::HWND, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CallWindowProcW(lpprevwndfunc: WNDPROC, hwnd: super::super::Foundation::HWND, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CancelShutdown() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CascadeWindows(hwndparent: super::super::Foundation::HWND, whow: CASCADE_WINDOWS_HOW, lprect: *const super::super::Foundation::RECT, ckids: u32, lpkids: *const super::super::Foundation::HWND) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ChangeMenuA(hmenu: HMENU, cmd: u32, lpsznewitem: ::windows_sys::core::PCSTR, cmdinsert: u32, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ChangeMenuW(hmenu: HMENU, cmd: u32, lpsznewitem: ::windows_sys::core::PCWSTR, cmdinsert: u32, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ChangeWindowMessageFilter(message: u32, dwflag: CHANGE_WINDOW_MESSAGE_FILTER_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ChangeWindowMessageFilterEx(hwnd: super::super::Foundation::HWND, message: u32, action: WINDOW_MESSAGE_FILTER_ACTION, pchangefilterstruct: *mut CHANGEFILTERSTRUCT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CharLowerA(lpsz: ::windows_sys::core::PSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CharLowerBuffA(lpsz: ::windows_sys::core::PSTR, cchlength: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CharLowerBuffW(lpsz: ::windows_sys::core::PWSTR, cchlength: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CharLowerW(lpsz: ::windows_sys::core::PWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CharNextA(lpsz: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CharNextExA(codepage: u16, lpcurrentchar: ::windows_sys::core::PCSTR, dwflags: u32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CharNextW(lpsz: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CharPrevA(lpszstart: ::windows_sys::core::PCSTR, lpszcurrent: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CharPrevExA(codepage: u16, lpstart: ::windows_sys::core::PCSTR, lpcurrentchar: ::windows_sys::core::PCSTR, dwflags: u32) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CharPrevW(lpszstart: ::windows_sys::core::PCWSTR, lpszcurrent: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CharToOemA(psrc: ::windows_sys::core::PCSTR, pdst: ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CharToOemBuffA(lpszsrc: ::windows_sys::core::PCSTR, lpszdst: ::windows_sys::core::PSTR, cchdstlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CharToOemBuffW(lpszsrc: ::windows_sys::core::PCWSTR, lpszdst: ::windows_sys::core::PSTR, cchdstlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CharToOemW(psrc: ::windows_sys::core::PCWSTR, pdst: ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CharUpperA(lpsz: ::windows_sys::core::PSTR) -> ::windows_sys::core::PSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CharUpperBuffA(lpsz: ::windows_sys::core::PSTR, cchlength: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CharUpperBuffW(lpsz: ::windows_sys::core::PWSTR, cchlength: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CharUpperW(lpsz: ::windows_sys::core::PWSTR) -> ::windows_sys::core::PWSTR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CheckMenuItem(hmenu: HMENU, uidcheckitem: u32, ucheck: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CheckMenuRadioItem(hmenu: HMENU, first: u32, last: u32, check: u32, flags: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ChildWindowFromPoint(hwndparent: super::super::Foundation::HWND, point: super::super::Foundation::POINT) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ChildWindowFromPointEx(hwnd: super::super::Foundation::HWND, pt: super::super::Foundation::POINT, flags: CWP_FLAGS) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ClipCursor(lprect: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CloseWindow(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CopyAcceleratorTableA(haccelsrc: HACCEL, lpacceldst: *mut ACCEL, caccelentries: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CopyAcceleratorTableW(haccelsrc: HACCEL, lpacceldst: *mut ACCEL, caccelentries: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CopyIcon(hicon: HICON) -> HICON; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CopyImage(h: super::super::Foundation::HANDLE, r#type: GDI_IMAGE_TYPE, cx: i32, cy: i32, flags: IMAGE_FLAGS) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CreateAcceleratorTableA(paccel: *const ACCEL, caccel: i32) -> HACCEL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CreateAcceleratorTableW(paccel: *const ACCEL, caccel: i32) -> HACCEL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn CreateCaret(hwnd: super::super::Foundation::HWND, hbitmap: super::super::Graphics::Gdi::HBITMAP, nwidth: i32, nheight: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateCursor(hinst: super::super::Foundation::HINSTANCE, xhotspot: i32, yhotspot: i32, nwidth: i32, nheight: i32, pvandplane: *const ::core::ffi::c_void, pvxorplane: *const ::core::ffi::c_void) -> HCURSOR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateDialogIndirectParamA(hinstance: super::super::Foundation::HINSTANCE, lptemplate: *const DLGTEMPLATE, hwndparent: super::super::Foundation::HWND, lpdialogfunc: DLGPROC, dwinitparam: super::super::Foundation::LPARAM) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateDialogIndirectParamW(hinstance: super::super::Foundation::HINSTANCE, lptemplate: *const DLGTEMPLATE, hwndparent: super::super::Foundation::HWND, lpdialogfunc: DLGPROC, dwinitparam: super::super::Foundation::LPARAM) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateDialogParamA(hinstance: super::super::Foundation::HINSTANCE, lptemplatename: ::windows_sys::core::PCSTR, hwndparent: super::super::Foundation::HWND, lpdialogfunc: DLGPROC, dwinitparam: super::super::Foundation::LPARAM) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateDialogParamW(hinstance: super::super::Foundation::HINSTANCE, lptemplatename: ::windows_sys::core::PCWSTR, hwndparent: super::super::Foundation::HWND, lpdialogfunc: DLGPROC, dwinitparam: super::super::Foundation::LPARAM) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateIcon(hinstance: super::super::Foundation::HINSTANCE, nwidth: i32, nheight: i32, cplanes: u8, cbitspixel: u8, lpbandbits: *const u8, lpbxorbits: *const u8) -> HICON; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateIconFromResource(presbits: *const u8, dwressize: u32, ficon: super::super::Foundation::BOOL, dwver: u32) -> HICON; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateIconFromResourceEx(presbits: *const u8, dwressize: u32, ficon: super::super::Foundation::BOOL, dwver: u32, cxdesired: i32, cydesired: i32, flags: IMAGE_FLAGS) -> HICON; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn CreateIconIndirect(piconinfo: *const ICONINFO) -> HICON; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateMDIWindowA(lpclassname: ::windows_sys::core::PCSTR, lpwindowname: ::windows_sys::core::PCSTR, dwstyle: WINDOW_STYLE, x: i32, y: i32, nwidth: i32, nheight: i32, hwndparent: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateMDIWindowW(lpclassname: ::windows_sys::core::PCWSTR, lpwindowname: ::windows_sys::core::PCWSTR, dwstyle: WINDOW_STYLE, x: i32, y: i32, nwidth: i32, nheight: i32, hwndparent: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CreateMenu() -> HMENU; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CreatePopupMenu() -> HMENU; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn CreateResourceIndexer(projectroot: ::windows_sys::core::PCWSTR, extensiondllpath: ::windows_sys::core::PCWSTR, ppresourceindexer: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateWindowExA(dwexstyle: WINDOW_EX_STYLE, lpclassname: ::windows_sys::core::PCSTR, lpwindowname: ::windows_sys::core::PCSTR, dwstyle: WINDOW_STYLE, x: i32, y: i32, nwidth: i32, nheight: i32, hwndparent: super::super::Foundation::HWND, hmenu: HMENU, hinstance: super::super::Foundation::HINSTANCE, lpparam: *const ::core::ffi::c_void) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn CreateWindowExW(dwexstyle: WINDOW_EX_STYLE, lpclassname: ::windows_sys::core::PCWSTR, lpwindowname: ::windows_sys::core::PCWSTR, dwstyle: WINDOW_STYLE, x: i32, y: i32, nwidth: i32, nheight: i32, hwndparent: super::super::Foundation::HWND, hmenu: HMENU, hinstance: super::super::Foundation::HINSTANCE, lpparam: *const ::core::ffi::c_void) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DefDlgProcA(hdlg: super::super::Foundation::HWND, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DefDlgProcW(hdlg: super::super::Foundation::HWND, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DefFrameProcA(hwnd: super::super::Foundation::HWND, hwndmdiclient: super::super::Foundation::HWND, umsg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DefFrameProcW(hwnd: super::super::Foundation::HWND, hwndmdiclient: super::super::Foundation::HWND, umsg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DefMDIChildProcA(hwnd: super::super::Foundation::HWND, umsg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DefMDIChildProcW(hwnd: super::super::Foundation::HWND, umsg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DefWindowProcA(hwnd: super::super::Foundation::HWND, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DefWindowProcW(hwnd: super::super::Foundation::HWND, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeferWindowPos(hwinposinfo: isize, hwnd: super::super::Foundation::HWND, hwndinsertafter: super::super::Foundation::HWND, x: i32, y: i32, cx: i32, cy: i32, uflags: SET_WINDOW_POS_FLAGS) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeleteMenu(hmenu: HMENU, uposition: u32, uflags: MENU_ITEM_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DeregisterShellHookWindow(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DestroyAcceleratorTable(haccel: HACCEL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DestroyCaret() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DestroyCursor(hcursor: HCURSOR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DestroyIcon(hicon: HICON) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn DestroyIndexedResults(resourceuri: ::windows_sys::core::PCWSTR, qualifiercount: u32, qualifiers: *const IndexedResourceQualifier); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DestroyMenu(hmenu: HMENU) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn DestroyResourceIndexer(resourceindexer: *const ::core::ffi::c_void); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DestroyWindow(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DialogBoxIndirectParamA(hinstance: super::super::Foundation::HINSTANCE, hdialogtemplate: *const DLGTEMPLATE, hwndparent: super::super::Foundation::HWND, lpdialogfunc: DLGPROC, dwinitparam: super::super::Foundation::LPARAM) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DialogBoxIndirectParamW(hinstance: super::super::Foundation::HINSTANCE, hdialogtemplate: *const DLGTEMPLATE, hwndparent: super::super::Foundation::HWND, lpdialogfunc: DLGPROC, dwinitparam: super::super::Foundation::LPARAM) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DialogBoxParamA(hinstance: super::super::Foundation::HINSTANCE, lptemplatename: ::windows_sys::core::PCSTR, hwndparent: super::super::Foundation::HWND, lpdialogfunc: DLGPROC, dwinitparam: super::super::Foundation::LPARAM) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DialogBoxParamW(hinstance: super::super::Foundation::HINSTANCE, lptemplatename: ::windows_sys::core::PCWSTR, hwndparent: super::super::Foundation::HWND, lpdialogfunc: DLGPROC, dwinitparam: super::super::Foundation::LPARAM) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn DisableProcessWindowsGhosting(); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DispatchMessageA(lpmsg: *const MSG) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DispatchMessageW(lpmsg: *const MSG) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DragObject(hwndparent: super::super::Foundation::HWND, hwndfrom: super::super::Foundation::HWND, fmt: u32, data: usize, hcur: HCURSOR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DrawIcon(hdc: super::super::Graphics::Gdi::HDC, x: i32, y: i32, hicon: HICON) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn DrawIconEx(hdc: super::super::Graphics::Gdi::HDC, xleft: i32, ytop: i32, hicon: HICON, cxwidth: i32, cywidth: i32, istepifanicur: u32, hbrflickerfreedraw: super::super::Graphics::Gdi::HBRUSH, diflags: DI_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn DrawMenuBar(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnableMenuItem(hmenu: HMENU, uidenableitem: u32, uenable: MENU_ITEM_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EndDeferWindowPos(hwinposinfo: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EndDialog(hdlg: super::super::Foundation::HWND, nresult: isize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EndMenu() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumChildWindows(hwndparent: super::super::Foundation::HWND, lpenumfunc: WNDENUMPROC, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumPropsA(hwnd: super::super::Foundation::HWND, lpenumfunc: PROPENUMPROCA) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumPropsExA(hwnd: super::super::Foundation::HWND, lpenumfunc: PROPENUMPROCEXA, lparam: super::super::Foundation::LPARAM) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumPropsExW(hwnd: super::super::Foundation::HWND, lpenumfunc: PROPENUMPROCEXW, lparam: super::super::Foundation::LPARAM) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumPropsW(hwnd: super::super::Foundation::HWND, lpenumfunc: PROPENUMPROCW) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumThreadWindows(dwthreadid: u32, lpfn: WNDENUMPROC, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn EnumWindows(lpenumfunc: WNDENUMPROC, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindWindowA(lpclassname: ::windows_sys::core::PCSTR, lpwindowname: ::windows_sys::core::PCSTR) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindWindowExA(hwndparent: super::super::Foundation::HWND, hwndchildafter: super::super::Foundation::HWND, lpszclass: ::windows_sys::core::PCSTR, lpszwindow: ::windows_sys::core::PCSTR) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindWindowExW(hwndparent: super::super::Foundation::HWND, hwndchildafter: super::super::Foundation::HWND, lpszclass: ::windows_sys::core::PCWSTR, lpszwindow: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FindWindowW(lpclassname: ::windows_sys::core::PCWSTR, lpwindowname: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FlashWindow(hwnd: super::super::Foundation::HWND, binvert: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn FlashWindowEx(pfwi: *const FLASHWINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetAltTabInfoA(hwnd: super::super::Foundation::HWND, iitem: i32, pati: *mut ALTTABINFO, pszitemtext: ::windows_sys::core::PSTR, cchitemtext: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetAltTabInfoW(hwnd: super::super::Foundation::HWND, iitem: i32, pati: *mut ALTTABINFO, pszitemtext: ::windows_sys::core::PWSTR, cchitemtext: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetAncestor(hwnd: super::super::Foundation::HWND, gaflags: GET_ANCESTOR_FLAGS) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn GetCaretBlinkTime() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCaretPos(lppoint: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetClassInfoA(hinstance: super::super::Foundation::HINSTANCE, lpclassname: ::windows_sys::core::PCSTR, lpwndclass: *mut WNDCLASSA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetClassInfoExA(hinstance: super::super::Foundation::HINSTANCE, lpszclass: ::windows_sys::core::PCSTR, lpwcx: *mut WNDCLASSEXA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetClassInfoExW(hinstance: super::super::Foundation::HINSTANCE, lpszclass: ::windows_sys::core::PCWSTR, lpwcx: *mut WNDCLASSEXW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetClassInfoW(hinstance: super::super::Foundation::HINSTANCE, lpclassname: ::windows_sys::core::PCWSTR, lpwndclass: *mut WNDCLASSW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetClassLongA(hwnd: super::super::Foundation::HWND, nindex: GET_CLASS_LONG_INDEX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_Foundation")] pub fn GetClassLongPtrA(hwnd: super::super::Foundation::HWND, nindex: GET_CLASS_LONG_INDEX) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_Foundation")] pub fn GetClassLongPtrW(hwnd: super::super::Foundation::HWND, nindex: GET_CLASS_LONG_INDEX) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetClassLongW(hwnd: super::super::Foundation::HWND, nindex: GET_CLASS_LONG_INDEX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetClassNameA(hwnd: super::super::Foundation::HWND, lpclassname: ::windows_sys::core::PSTR, nmaxcount: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetClassNameW(hwnd: super::super::Foundation::HWND, lpclassname: ::windows_sys::core::PWSTR, nmaxcount: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetClassWord(hwnd: super::super::Foundation::HWND, nindex: i32) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetClientRect(hwnd: super::super::Foundation::HWND, lprect: *mut super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetClipCursor(lprect: *mut super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn GetCursor() -> HCURSOR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCursorInfo(pci: *mut CURSORINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetCursorPos(lppoint: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDesktopWindow() -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn GetDialogBaseUnits() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDlgCtrlID(hwnd: super::super::Foundation::HWND) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDlgItem(hdlg: super::super::Foundation::HWND, niddlgitem: i32) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDlgItemInt(hdlg: super::super::Foundation::HWND, niddlgitem: i32, lptranslated: *mut super::super::Foundation::BOOL, bsigned: super::super::Foundation::BOOL) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDlgItemTextA(hdlg: super::super::Foundation::HWND, niddlgitem: i32, lpstring: ::windows_sys::core::PSTR, cchmax: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetDlgItemTextW(hdlg: super::super::Foundation::HWND, niddlgitem: i32, lpstring: ::windows_sys::core::PWSTR, cchmax: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetForegroundWindow() -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetGUIThreadInfo(idthread: u32, pgui: *mut GUITHREADINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetIconInfo(hicon: HICON, piconinfo: *mut ICONINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetIconInfoExA(hicon: HICON, piconinfo: *mut ICONINFOEXA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetIconInfoExW(hicon: HICON, piconinfo: *mut ICONINFOEXW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetInputState() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetLastActivePopup(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetLayeredWindowAttributes(hwnd: super::super::Foundation::HWND, pcrkey: *mut super::super::Foundation::COLORREF, pbalpha: *mut u8, pdwflags: *mut LAYERED_WINDOW_ATTRIBUTES_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetMenu(hwnd: super::super::Foundation::HWND) -> HMENU; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetMenuBarInfo(hwnd: super::super::Foundation::HWND, idobject: OBJECT_IDENTIFIER, iditem: i32, pmbi: *mut MENUBARINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn GetMenuCheckMarkDimensions() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn GetMenuDefaultItem(hmenu: HMENU, fbypos: u32, gmdiflags: GET_MENU_DEFAULT_ITEM_FLAGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetMenuInfo(param0: HMENU, param1: *mut MENUINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn GetMenuItemCount(hmenu: HMENU) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn GetMenuItemID(hmenu: HMENU, npos: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetMenuItemInfoA(hmenu: HMENU, item: u32, fbyposition: super::super::Foundation::BOOL, lpmii: *mut MENUITEMINFOA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn GetMenuItemInfoW(hmenu: HMENU, item: u32, fbyposition: super::super::Foundation::BOOL, lpmii: *mut MENUITEMINFOW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetMenuItemRect(hwnd: super::super::Foundation::HWND, hmenu: HMENU, uitem: u32, lprcitem: *mut super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn GetMenuState(hmenu: HMENU, uid: u32, uflags: MENU_ITEM_FLAGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn GetMenuStringA(hmenu: HMENU, uiditem: u32, lpstring: ::windows_sys::core::PSTR, cchmax: i32, flags: MENU_ITEM_FLAGS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn GetMenuStringW(hmenu: HMENU, uiditem: u32, lpstring: ::windows_sys::core::PWSTR, cchmax: i32, flags: MENU_ITEM_FLAGS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetMessageA(lpmsg: *mut MSG, hwnd: super::super::Foundation::HWND, wmsgfiltermin: u32, wmsgfiltermax: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetMessageExtraInfo() -> super::super::Foundation::LPARAM; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn GetMessagePos() -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn GetMessageTime() -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetMessageW(lpmsg: *mut MSG, hwnd: super::super::Foundation::HWND, wmsgfiltermin: u32, wmsgfiltermax: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNextDlgGroupItem(hdlg: super::super::Foundation::HWND, hctl: super::super::Foundation::HWND, bprevious: super::super::Foundation::BOOL) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetNextDlgTabItem(hdlg: super::super::Foundation::HWND, hctl: super::super::Foundation::HWND, bprevious: super::super::Foundation::BOOL) -> super::super::Foundation::HWND; - #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { + #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetParent(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPhysicalCursorPos(lppoint: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetProcessDefaultLayout(pdwdefaultlayout: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPropA(hwnd: super::super::Foundation::HWND, lpstring: ::windows_sys::core::PCSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPropW(hwnd: super::super::Foundation::HWND, lpstring: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn GetQueueStatus(flags: QUEUE_STATUS_FLAGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetScrollBarInfo(hwnd: super::super::Foundation::HWND, idobject: OBJECT_IDENTIFIER, psbi: *mut SCROLLBARINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetScrollInfo(hwnd: super::super::Foundation::HWND, nbar: SCROLLBAR_CONSTANTS, lpsi: *mut SCROLLINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetScrollPos(hwnd: super::super::Foundation::HWND, nbar: SCROLLBAR_CONSTANTS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetScrollRange(hwnd: super::super::Foundation::HWND, nbar: SCROLLBAR_CONSTANTS, lpminpos: *mut i32, lpmaxpos: *mut i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetShellWindow() -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn GetSubMenu(hmenu: HMENU, npos: i32) -> HMENU; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn GetSysColor(nindex: SYS_COLOR_INDEX) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetSystemMenu(hwnd: super::super::Foundation::HWND, brevert: super::super::Foundation::BOOL) -> HMENU; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn GetSystemMetrics(nindex: SYSTEM_METRICS_INDEX) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTitleBarInfo(hwnd: super::super::Foundation::HWND, pti: *mut TITLEBARINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetTopWindow(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindow(hwnd: super::super::Foundation::HWND, ucmd: GET_WINDOW_CMD) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowDisplayAffinity(hwnd: super::super::Foundation::HWND, pdwaffinity: *mut u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowInfo(hwnd: super::super::Foundation::HWND, pwi: *mut WINDOWINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowLongA(hwnd: super::super::Foundation::HWND, nindex: WINDOW_LONG_PTR_INDEX) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowLongPtrA(hwnd: super::super::Foundation::HWND, nindex: WINDOW_LONG_PTR_INDEX) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowLongPtrW(hwnd: super::super::Foundation::HWND, nindex: WINDOW_LONG_PTR_INDEX) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowLongW(hwnd: super::super::Foundation::HWND, nindex: WINDOW_LONG_PTR_INDEX) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowModuleFileNameA(hwnd: super::super::Foundation::HWND, pszfilename: ::windows_sys::core::PSTR, cchfilenamemax: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowModuleFileNameW(hwnd: super::super::Foundation::HWND, pszfilename: ::windows_sys::core::PWSTR, cchfilenamemax: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowPlacement(hwnd: super::super::Foundation::HWND, lpwndpl: *mut WINDOWPLACEMENT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowRect(hwnd: super::super::Foundation::HWND, lprect: *mut super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowTextA(hwnd: super::super::Foundation::HWND, lpstring: ::windows_sys::core::PSTR, nmaxcount: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowTextLengthA(hwnd: super::super::Foundation::HWND) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowTextLengthW(hwnd: super::super::Foundation::HWND) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowTextW(hwnd: super::super::Foundation::HWND, lpstring: ::windows_sys::core::PWSTR, nmaxcount: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowThreadProcessId(hwnd: super::super::Foundation::HWND, lpdwprocessid: *mut u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn GetWindowWord(hwnd: super::super::Foundation::HWND, nindex: i32) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HideCaret(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn HiliteMenuItem(hwnd: super::super::Foundation::HWND, hmenu: HMENU, uidhiliteitem: u32, uhilite: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InSendMessage() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn InSendMessageEx(lpreserved: *mut ::core::ffi::c_void) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn IndexFilePath(resourceindexer: *const ::core::ffi::c_void, filepath: ::windows_sys::core::PCWSTR, ppresourceuri: *mut ::windows_sys::core::PWSTR, pqualifiercount: *mut u32, ppqualifiers: *mut *mut IndexedResourceQualifier) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InheritWindowMonitor(hwnd: super::super::Foundation::HWND, hwndinherit: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InsertMenuA(hmenu: HMENU, uposition: u32, uflags: MENU_ITEM_FLAGS, uidnewitem: usize, lpnewitem: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn InsertMenuItemA(hmenu: HMENU, item: u32, fbyposition: super::super::Foundation::BOOL, lpmi: *const MENUITEMINFOA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn InsertMenuItemW(hmenu: HMENU, item: u32, fbyposition: super::super::Foundation::BOOL, lpmi: *const MENUITEMINFOW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InsertMenuW(hmenu: HMENU, uposition: u32, uflags: MENU_ITEM_FLAGS, uidnewitem: usize, lpnewitem: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn InternalGetWindowText(hwnd: super::super::Foundation::HWND, pstring: ::windows_sys::core::PWSTR, cchmaxcount: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsCharAlphaA(ch: super::super::Foundation::CHAR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsCharAlphaNumericA(ch: super::super::Foundation::CHAR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsCharAlphaNumericW(ch: u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsCharAlphaW(ch: u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsCharLowerA(ch: super::super::Foundation::CHAR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsCharUpperA(ch: super::super::Foundation::CHAR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsCharUpperW(ch: u16) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsChild(hwndparent: super::super::Foundation::HWND, hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsDialogMessageA(hdlg: super::super::Foundation::HWND, lpmsg: *const MSG) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsDialogMessageW(hdlg: super::super::Foundation::HWND, lpmsg: *const MSG) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsGUIThread(bconvert: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsHungAppWindow(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsIconic(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsMenu(hmenu: HMENU) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsProcessDPIAware() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsWindow(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsWindowUnicode(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsWindowVisible(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsWow64Message() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn IsZoomed(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn KillTimer(hwnd: super::super::Foundation::HWND, uidevent: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadAcceleratorsA(hinstance: super::super::Foundation::HINSTANCE, lptablename: ::windows_sys::core::PCSTR) -> HACCEL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadAcceleratorsW(hinstance: super::super::Foundation::HINSTANCE, lptablename: ::windows_sys::core::PCWSTR) -> HACCEL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadCursorA(hinstance: super::super::Foundation::HINSTANCE, lpcursorname: ::windows_sys::core::PCSTR) -> HCURSOR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn LoadCursorFromFileA(lpfilename: ::windows_sys::core::PCSTR) -> HCURSOR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn LoadCursorFromFileW(lpfilename: ::windows_sys::core::PCWSTR) -> HCURSOR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadCursorW(hinstance: super::super::Foundation::HINSTANCE, lpcursorname: ::windows_sys::core::PCWSTR) -> HCURSOR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadIconA(hinstance: super::super::Foundation::HINSTANCE, lpiconname: ::windows_sys::core::PCSTR) -> HICON; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadIconW(hinstance: super::super::Foundation::HINSTANCE, lpiconname: ::windows_sys::core::PCWSTR) -> HICON; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadImageA(hinst: super::super::Foundation::HINSTANCE, name: ::windows_sys::core::PCSTR, r#type: GDI_IMAGE_TYPE, cx: i32, cy: i32, fuload: IMAGE_FLAGS) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadImageW(hinst: super::super::Foundation::HINSTANCE, name: ::windows_sys::core::PCWSTR, r#type: GDI_IMAGE_TYPE, cx: i32, cy: i32, fuload: IMAGE_FLAGS) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadMenuA(hinstance: super::super::Foundation::HINSTANCE, lpmenuname: ::windows_sys::core::PCSTR) -> HMENU; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn LoadMenuIndirectA(lpmenutemplate: *const ::core::ffi::c_void) -> HMENU; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn LoadMenuIndirectW(lpmenutemplate: *const ::core::ffi::c_void) -> HMENU; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadMenuW(hinstance: super::super::Foundation::HINSTANCE, lpmenuname: ::windows_sys::core::PCWSTR) -> HMENU; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadStringA(hinstance: super::super::Foundation::HINSTANCE, uid: u32, lpbuffer: ::windows_sys::core::PSTR, cchbuffermax: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LoadStringW(hinstance: super::super::Foundation::HINSTANCE, uid: u32, lpbuffer: ::windows_sys::core::PWSTR, cchbuffermax: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LockSetForegroundWindow(ulockcode: FOREGROUND_WINDOW_LOCK_CODE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LogicalToPhysicalPoint(hwnd: super::super::Foundation::HWND, lppoint: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LookupIconIdFromDirectory(presbits: *const u8, ficon: super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn LookupIconIdFromDirectoryEx(presbits: *const u8, ficon: super::super::Foundation::BOOL, cxdesired: i32, cydesired: i32, flags: IMAGE_FLAGS) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MapDialogRect(hdlg: super::super::Foundation::HWND, lprect: *mut super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MenuItemFromPoint(hwnd: super::super::Foundation::HWND, hmenu: HMENU, ptscreen: super::super::Foundation::POINT) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MessageBoxA(hwnd: super::super::Foundation::HWND, lptext: ::windows_sys::core::PCSTR, lpcaption: ::windows_sys::core::PCSTR, utype: MESSAGEBOX_STYLE) -> MESSAGEBOX_RESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MessageBoxExA(hwnd: super::super::Foundation::HWND, lptext: ::windows_sys::core::PCSTR, lpcaption: ::windows_sys::core::PCSTR, utype: MESSAGEBOX_STYLE, wlanguageid: u16) -> MESSAGEBOX_RESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MessageBoxExW(hwnd: super::super::Foundation::HWND, lptext: ::windows_sys::core::PCWSTR, lpcaption: ::windows_sys::core::PCWSTR, utype: MESSAGEBOX_STYLE, wlanguageid: u16) -> MESSAGEBOX_RESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell"))] pub fn MessageBoxIndirectA(lpmbp: *const MSGBOXPARAMSA) -> MESSAGEBOX_RESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell"))] pub fn MessageBoxIndirectW(lpmbp: *const MSGBOXPARAMSW) -> MESSAGEBOX_RESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MessageBoxW(hwnd: super::super::Foundation::HWND, lptext: ::windows_sys::core::PCWSTR, lpcaption: ::windows_sys::core::PCWSTR, utype: MESSAGEBOX_STYLE) -> MESSAGEBOX_RESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ModifyMenuA(hmnu: HMENU, uposition: u32, uflags: MENU_ITEM_FLAGS, uidnewitem: usize, lpnewitem: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ModifyMenuW(hmnu: HMENU, uposition: u32, uflags: MENU_ITEM_FLAGS, uidnewitem: usize, lpnewitem: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MoveWindow(hwnd: super::super::Foundation::HWND, x: i32, y: i32, nwidth: i32, nheight: i32, brepaint: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmCreateConfig(platformversion: MrmPlatformVersion, defaultqualifiers: ::windows_sys::core::PCWSTR, outputxmlfile: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmCreateConfigInMemory(platformversion: MrmPlatformVersion, defaultqualifiers: ::windows_sys::core::PCWSTR, outputxmldata: *mut *mut u8, outputxmlsize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmCreateResourceFile(indexer: MrmResourceIndexerHandle, packagingmode: MrmPackagingMode, packagingoptions: MrmPackagingOptions, outputdirectory: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmCreateResourceFileInMemory(indexer: MrmResourceIndexerHandle, packagingmode: MrmPackagingMode, packagingoptions: MrmPackagingOptions, outputpridata: *mut *mut u8, outputprisize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmCreateResourceFileWithChecksum(indexer: MrmResourceIndexerHandle, packagingmode: MrmPackagingMode, packagingoptions: MrmPackagingOptions, checksum: u32, outputdirectory: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmCreateResourceIndexer(packagefamilyname: ::windows_sys::core::PCWSTR, projectroot: ::windows_sys::core::PCWSTR, platformversion: MrmPlatformVersion, defaultqualifiers: ::windows_sys::core::PCWSTR, indexer: *mut MrmResourceIndexerHandle) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmCreateResourceIndexerFromPreviousPriData(projectroot: ::windows_sys::core::PCWSTR, platformversion: MrmPlatformVersion, defaultqualifiers: ::windows_sys::core::PCWSTR, pridata: *const u8, prisize: u32, indexer: *mut MrmResourceIndexerHandle) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmCreateResourceIndexerFromPreviousPriFile(projectroot: ::windows_sys::core::PCWSTR, platformversion: MrmPlatformVersion, defaultqualifiers: ::windows_sys::core::PCWSTR, prifile: ::windows_sys::core::PCWSTR, indexer: *mut MrmResourceIndexerHandle) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmCreateResourceIndexerFromPreviousSchemaData(projectroot: ::windows_sys::core::PCWSTR, platformversion: MrmPlatformVersion, defaultqualifiers: ::windows_sys::core::PCWSTR, schemaxmldata: *const u8, schemaxmlsize: u32, indexer: *mut MrmResourceIndexerHandle) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmCreateResourceIndexerFromPreviousSchemaFile(projectroot: ::windows_sys::core::PCWSTR, platformversion: MrmPlatformVersion, defaultqualifiers: ::windows_sys::core::PCWSTR, schemafile: ::windows_sys::core::PCWSTR, indexer: *mut MrmResourceIndexerHandle) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmCreateResourceIndexerWithFlags(packagefamilyname: ::windows_sys::core::PCWSTR, projectroot: ::windows_sys::core::PCWSTR, platformversion: MrmPlatformVersion, defaultqualifiers: ::windows_sys::core::PCWSTR, flags: MrmIndexerFlags, indexer: *mut MrmResourceIndexerHandle) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmDestroyIndexerAndMessages(indexer: MrmResourceIndexerHandle) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmDumpPriDataInMemory(inputpridata: *const u8, inputprisize: u32, schemapridata: *const u8, schemaprisize: u32, dumptype: MrmDumpType, outputxmldata: *mut *mut u8, outputxmlsize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmDumpPriFile(indexfilename: ::windows_sys::core::PCWSTR, schemaprifile: ::windows_sys::core::PCWSTR, dumptype: MrmDumpType, outputxmlfile: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmDumpPriFileInMemory(indexfilename: ::windows_sys::core::PCWSTR, schemaprifile: ::windows_sys::core::PCWSTR, dumptype: MrmDumpType, outputxmldata: *mut *mut u8, outputxmlsize: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmFreeMemory(data: *const u8) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmGetPriFileContentChecksum(prifile: ::windows_sys::core::PCWSTR, checksum: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmIndexEmbeddedData(indexer: MrmResourceIndexerHandle, resourceuri: ::windows_sys::core::PCWSTR, embeddeddata: *const u8, embeddeddatasize: u32, qualifiers: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmIndexFile(indexer: MrmResourceIndexerHandle, resourceuri: ::windows_sys::core::PCWSTR, filepath: ::windows_sys::core::PCWSTR, qualifiers: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmIndexFileAutoQualifiers(indexer: MrmResourceIndexerHandle, filepath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmIndexResourceContainerAutoQualifiers(indexer: MrmResourceIndexerHandle, containerpath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmIndexString(indexer: MrmResourceIndexerHandle, resourceuri: ::windows_sys::core::PCWSTR, resourcestring: ::windows_sys::core::PCWSTR, qualifiers: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn MrmPeekResourceIndexerMessages(handle: MrmResourceIndexerHandle, messages: *mut *mut MrmResourceIndexerMessage, nummsgs: *mut u32) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MsgWaitForMultipleObjects(ncount: u32, phandles: *const super::super::Foundation::HANDLE, fwaitall: super::super::Foundation::BOOL, dwmilliseconds: u32, dwwakemask: QUEUE_STATUS_FLAGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn MsgWaitForMultipleObjectsEx(ncount: u32, phandles: *const super::super::Foundation::HANDLE, dwmilliseconds: u32, dwwakemask: QUEUE_STATUS_FLAGS, dwflags: MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OemToCharA(psrc: ::windows_sys::core::PCSTR, pdst: ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OemToCharBuffA(lpszsrc: ::windows_sys::core::PCSTR, lpszdst: ::windows_sys::core::PSTR, cchdstlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OemToCharBuffW(lpszsrc: ::windows_sys::core::PCSTR, lpszdst: ::windows_sys::core::PWSTR, cchdstlength: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OemToCharW(psrc: ::windows_sys::core::PCSTR, pdst: ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenIcon(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeekMessageA(lpmsg: *mut MSG, hwnd: super::super::Foundation::HWND, wmsgfiltermin: u32, wmsgfiltermax: u32, wremovemsg: PEEK_MESSAGE_REMOVE_TYPE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PeekMessageW(lpmsg: *mut MSG, hwnd: super::super::Foundation::HWND, wmsgfiltermin: u32, wmsgfiltermax: u32, wremovemsg: PEEK_MESSAGE_REMOVE_TYPE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PhysicalToLogicalPoint(hwnd: super::super::Foundation::HWND, lppoint: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PostMessageA(hwnd: super::super::Foundation::HWND, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PostMessageW(hwnd: super::super::Foundation::HWND, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn PostQuitMessage(nexitcode: i32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PostThreadMessageA(idthread: u32, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn PostThreadMessageW(idthread: u32, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn PrivateExtractIconsA(szfilename: ::windows_sys::core::PCSTR, niconindex: i32, cxicon: i32, cyicon: i32, phicon: *mut HICON, piconid: *mut u32, nicons: u32, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn PrivateExtractIconsW(szfilename: ::windows_sys::core::PCWSTR, niconindex: i32, cxicon: i32, cyicon: i32, phicon: *mut HICON, piconid: *mut u32, nicons: u32, flags: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RealChildWindowFromPoint(hwndparent: super::super::Foundation::HWND, ptparentclientcoords: super::super::Foundation::POINT) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RealGetWindowClassA(hwnd: super::super::Foundation::HWND, ptszclassname: ::windows_sys::core::PSTR, cchclassnamemax: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RealGetWindowClassW(hwnd: super::super::Foundation::HWND, ptszclassname: ::windows_sys::core::PWSTR, cchclassnamemax: u32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn RegisterClassA(lpwndclass: *const WNDCLASSA) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn RegisterClassExA(param0: *const WNDCLASSEXA) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn RegisterClassExW(param0: *const WNDCLASSEXW) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn RegisterClassW(lpwndclass: *const WNDCLASSW) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_System_Power\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))] pub fn RegisterDeviceNotificationA(hrecipient: super::super::Foundation::HANDLE, notificationfilter: *const ::core::ffi::c_void, flags: super::super::System::Power::POWER_SETTING_REGISTER_NOTIFICATION_FLAGS) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_System_Power\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))] pub fn RegisterDeviceNotificationW(hrecipient: super::super::Foundation::HANDLE, notificationfilter: *const ::core::ffi::c_void, flags: super::super::System::Power::POWER_SETTING_REGISTER_NOTIFICATION_FLAGS) -> *mut ::core::ffi::c_void; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RegisterShellHookWindow(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn RegisterWindowMessageA(lpstring: ::windows_sys::core::PCSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn RegisterWindowMessageW(lpstring: ::windows_sys::core::PCWSTR) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemoveMenu(hmenu: HMENU, uposition: u32, uflags: MENU_ITEM_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemovePropA(hwnd: super::super::Foundation::HWND, lpstring: ::windows_sys::core::PCSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn RemovePropW(hwnd: super::super::Foundation::HWND, lpstring: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ReplyMessage(lresult: super::super::Foundation::LRESULT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ScrollDC(hdc: super::super::Graphics::Gdi::HDC, dx: i32, dy: i32, lprcscroll: *const super::super::Foundation::RECT, lprcclip: *const super::super::Foundation::RECT, hrgnupdate: super::super::Graphics::Gdi::HRGN, lprcupdate: *mut super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ScrollWindow(hwnd: super::super::Foundation::HWND, xamount: i32, yamount: i32, lprect: *const super::super::Foundation::RECT, lpcliprect: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn ScrollWindowEx(hwnd: super::super::Foundation::HWND, dx: i32, dy: i32, prcscroll: *const super::super::Foundation::RECT, prcclip: *const super::super::Foundation::RECT, hrgnupdate: super::super::Graphics::Gdi::HRGN, prcupdate: *mut super::super::Foundation::RECT, flags: SHOW_WINDOW_CMD) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SendDlgItemMessageA(hdlg: super::super::Foundation::HWND, niddlgitem: i32, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SendDlgItemMessageW(hdlg: super::super::Foundation::HWND, niddlgitem: i32, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SendMessageA(hwnd: super::super::Foundation::HWND, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SendMessageCallbackA(hwnd: super::super::Foundation::HWND, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, lpresultcallback: SENDASYNCPROC, dwdata: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SendMessageCallbackW(hwnd: super::super::Foundation::HWND, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, lpresultcallback: SENDASYNCPROC, dwdata: usize) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SendMessageTimeoutA(hwnd: super::super::Foundation::HWND, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, fuflags: SEND_MESSAGE_TIMEOUT_FLAGS, utimeout: u32, lpdwresult: *mut usize) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SendMessageTimeoutW(hwnd: super::super::Foundation::HWND, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, fuflags: SEND_MESSAGE_TIMEOUT_FLAGS, utimeout: u32, lpdwresult: *mut usize) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SendMessageW(hwnd: super::super::Foundation::HWND, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SendNotifyMessageA(hwnd: super::super::Foundation::HWND, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SendNotifyMessageW(hwnd: super::super::Foundation::HWND, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetCaretBlinkTime(umseconds: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetCaretPos(x: i32, y: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetClassLongA(hwnd: super::super::Foundation::HWND, nindex: GET_CLASS_LONG_INDEX, dwnewlong: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_Foundation")] pub fn SetClassLongPtrA(hwnd: super::super::Foundation::HWND, nindex: GET_CLASS_LONG_INDEX, dwnewlong: isize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_Foundation")] pub fn SetClassLongPtrW(hwnd: super::super::Foundation::HWND, nindex: GET_CLASS_LONG_INDEX, dwnewlong: isize) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetClassLongW(hwnd: super::super::Foundation::HWND, nindex: GET_CLASS_LONG_INDEX, dwnewlong: i32) -> u32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetClassWord(hwnd: super::super::Foundation::HWND, nindex: i32, wnewword: u16) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetCoalescableTimer(hwnd: super::super::Foundation::HWND, nidevent: usize, uelapse: u32, lptimerfunc: TIMERPROC, utolerancedelay: u32) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn SetCursor(hcursor: HCURSOR) -> HCURSOR; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetCursorPos(x: i32, y: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn SetDebugErrorLevel(dwlevel: u32); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetDlgItemInt(hdlg: super::super::Foundation::HWND, niddlgitem: i32, uvalue: u32, bsigned: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetDlgItemTextA(hdlg: super::super::Foundation::HWND, niddlgitem: i32, lpstring: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetDlgItemTextW(hdlg: super::super::Foundation::HWND, niddlgitem: i32, lpstring: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetForegroundWindow(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetLayeredWindowAttributes(hwnd: super::super::Foundation::HWND, crkey: super::super::Foundation::COLORREF, balpha: u8, dwflags: LAYERED_WINDOW_ATTRIBUTES_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetMenu(hwnd: super::super::Foundation::HWND, hmenu: HMENU) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetMenuDefaultItem(hmenu: HMENU, uitem: u32, fbypos: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn SetMenuInfo(param0: HMENU, param1: *const MENUINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn SetMenuItemBitmaps(hmenu: HMENU, uposition: u32, uflags: MENU_ITEM_FLAGS, hbitmapunchecked: super::super::Graphics::Gdi::HBITMAP, hbitmapchecked: super::super::Graphics::Gdi::HBITMAP) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn SetMenuItemInfoA(hmenu: HMENU, item: u32, fbypositon: super::super::Foundation::BOOL, lpmii: *const MENUITEMINFOA) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn SetMenuItemInfoW(hmenu: HMENU, item: u32, fbypositon: super::super::Foundation::BOOL, lpmii: *const MENUITEMINFOW) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetMessageExtraInfo(lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::LPARAM; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetMessageQueue(cmessagesmax: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetParent(hwndchild: super::super::Foundation::HWND, hwndnewparent: super::super::Foundation::HWND) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetPhysicalCursorPos(x: i32, y: i32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetProcessDPIAware() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetProcessDefaultLayout(dwdefaultlayout: u32) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetPropA(hwnd: super::super::Foundation::HWND, lpstring: ::windows_sys::core::PCSTR, hdata: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetPropW(hwnd: super::super::Foundation::HWND, lpstring: ::windows_sys::core::PCWSTR, hdata: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetSysColors(celements: i32, lpaelements: *const i32, lpargbvalues: *const super::super::Foundation::COLORREF) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetSystemCursor(hcur: HCURSOR, id: SYSTEM_CURSOR_ID) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetTimer(hwnd: super::super::Foundation::HWND, nidevent: usize, uelapse: u32, lptimerfunc: TIMERPROC) -> usize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWindowDisplayAffinity(hwnd: super::super::Foundation::HWND, dwaffinity: WINDOW_DISPLAY_AFFINITY) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWindowLongA(hwnd: super::super::Foundation::HWND, nindex: WINDOW_LONG_PTR_INDEX, dwnewlong: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_Foundation")] pub fn SetWindowLongPtrA(hwnd: super::super::Foundation::HWND, nindex: WINDOW_LONG_PTR_INDEX, dwnewlong: isize) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_Foundation")] pub fn SetWindowLongPtrW(hwnd: super::super::Foundation::HWND, nindex: WINDOW_LONG_PTR_INDEX, dwnewlong: isize) -> isize; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWindowLongW(hwnd: super::super::Foundation::HWND, nindex: WINDOW_LONG_PTR_INDEX, dwnewlong: i32) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWindowPlacement(hwnd: super::super::Foundation::HWND, lpwndpl: *const WINDOWPLACEMENT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWindowPos(hwnd: super::super::Foundation::HWND, hwndinsertafter: super::super::Foundation::HWND, x: i32, y: i32, cx: i32, cy: i32, uflags: SET_WINDOW_POS_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWindowTextA(hwnd: super::super::Foundation::HWND, lpstring: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWindowTextW(hwnd: super::super::Foundation::HWND, lpstring: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWindowWord(hwnd: super::super::Foundation::HWND, nindex: i32, wnewword: u16) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWindowsHookA(nfiltertype: i32, pfnfilterproc: HOOKPROC) -> HHOOK; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWindowsHookExA(idhook: WINDOWS_HOOK_ID, lpfn: HOOKPROC, hmod: super::super::Foundation::HINSTANCE, dwthreadid: u32) -> HHOOK; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWindowsHookExW(idhook: WINDOWS_HOOK_ID, lpfn: HOOKPROC, hmod: super::super::Foundation::HINSTANCE, dwthreadid: u32) -> HHOOK; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SetWindowsHookW(nfiltertype: i32, pfnfilterproc: HOOKPROC) -> HHOOK; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ShowCaret(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ShowCursor(bshow: super::super::Foundation::BOOL) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ShowOwnedPopups(hwnd: super::super::Foundation::HWND, fshow: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ShowWindow(hwnd: super::super::Foundation::HWND, ncmdshow: SHOW_WINDOW_CMD) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn ShowWindowAsync(hwnd: super::super::Foundation::HWND, ncmdshow: SHOW_WINDOW_CMD) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SoundSentry() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SwitchToThisWindow(hwnd: super::super::Foundation::HWND, funknown: super::super::Foundation::BOOL); +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SystemParametersInfoA(uiaction: SYSTEM_PARAMETERS_INFO_ACTION, uiparam: u32, pvparam: *mut ::core::ffi::c_void, fwinini: SYSTEM_PARAMETERS_INFO_UPDATE_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn SystemParametersInfoW(uiaction: SYSTEM_PARAMETERS_INFO_ACTION, uiparam: u32, pvparam: *mut ::core::ffi::c_void, fwinini: SYSTEM_PARAMETERS_INFO_UPDATE_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TileWindows(hwndparent: super::super::Foundation::HWND, whow: TILE_WINDOWS_HOW, lprect: *const super::super::Foundation::RECT, ckids: u32, lpkids: *const super::super::Foundation::HWND) -> u16; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TrackPopupMenu(hmenu: HMENU, uflags: TRACK_POPUP_MENU_FLAGS, x: i32, y: i32, nreserved: i32, hwnd: super::super::Foundation::HWND, prcrect: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TrackPopupMenuEx(hmenu: HMENU, uflags: u32, x: i32, y: i32, hwnd: super::super::Foundation::HWND, lptpm: *const TPMPARAMS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TranslateAcceleratorA(hwnd: super::super::Foundation::HWND, hacctable: HACCEL, lpmsg: *const MSG) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TranslateAcceleratorW(hwnd: super::super::Foundation::HWND, hacctable: HACCEL, lpmsg: *const MSG) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TranslateMDISysAccel(hwndclient: super::super::Foundation::HWND, lpmsg: *const MSG) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn TranslateMessage(lpmsg: *const MSG) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnhookWindowsHook(ncode: i32, pfnfilterproc: HOOKPROC) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnhookWindowsHookEx(hhk: HHOOK) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnregisterClassA(lpclassname: ::windows_sys::core::PCSTR, hinstance: super::super::Foundation::HINSTANCE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn UnregisterClassW(lpclassname: ::windows_sys::core::PCWSTR, hinstance: super::super::Foundation::HINSTANCE) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn UpdateLayeredWindow(hwnd: super::super::Foundation::HWND, hdcdst: super::super::Graphics::Gdi::HDC, pptdst: *const super::super::Foundation::POINT, psize: *const super::super::Foundation::SIZE, hdcsrc: super::super::Graphics::Gdi::HDC, pptsrc: *const super::super::Foundation::POINT, crkey: super::super::Foundation::COLORREF, pblend: *const super::super::Graphics::Gdi::BLENDFUNCTION, dwflags: UPDATE_LAYERED_WINDOW_FLAGS) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub fn UpdateLayeredWindowIndirect(hwnd: super::super::Foundation::HWND, pulwinfo: *const UPDATELAYEREDWINDOWINFO) -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WaitMessage() -> super::super::Foundation::BOOL; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WindowFromPhysicalPoint(point: super::super::Foundation::POINT) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub fn WindowFromPoint(point: super::super::Foundation::POINT) -> super::super::Foundation::HWND; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn wsprintfA(param0: ::windows_sys::core::PSTR, param1: ::windows_sys::core::PCSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn wsprintfW(param0: ::windows_sys::core::PWSTR, param1: ::windows_sys::core::PCWSTR) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn wvsprintfA(param0: ::windows_sys::core::PSTR, param1: ::windows_sys::core::PCSTR, arglist: *const i8) -> i32; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "system" { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub fn wvsprintfW(param0: ::windows_sys::core::PWSTR, param1: ::windows_sys::core::PCWSTR, arglist: *const i8) -> i32; } diff --git a/crates/libs/sys/src/Windows/Win32/UI/Xaml/Diagnostics/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Xaml/Diagnostics/mod.rs index a78b204859..90e411aae4 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Xaml/Diagnostics/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Xaml/Diagnostics/mod.rs @@ -1,7 +1,10 @@ #[cfg_attr(windows, link(name = "windows"))] -extern "system" { +extern "cdecl" { #[doc = "*Required features: `\"Win32_UI_Xaml_Diagnostics\"`*"] pub fn InitializeXamlDiagnostic(endpointname: ::windows_sys::core::PCWSTR, pid: u32, wszdllxamldiagnostics: ::windows_sys::core::PCWSTR, wsztapdllname: ::windows_sys::core::PCWSTR, tapclsid: ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; +} +#[cfg_attr(windows, link(name = "windows"))] +extern "cdecl" { #[doc = "*Required features: `\"Win32_UI_Xaml_Diagnostics\"`*"] pub fn InitializeXamlDiagnosticsEx(endpointname: ::windows_sys::core::PCWSTR, pid: u32, wszdllxamldiagnostics: ::windows_sys::core::PCWSTR, wsztapdllname: ::windows_sys::core::PCWSTR, tapclsid: ::windows_sys::core::GUID, wszinitializationdata: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/AllJoyn/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/AllJoyn/mod.rs index bd4a07d2b1..011b96f427 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/AllJoyn/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/AllJoyn/mod.rs @@ -6140,7 +6140,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn alljoyn_message_parseargs(msg: alljoyn_message, signature: ::windows::core::PCSTR) -> QStatus; } alljoyn_message_parseargs(msg.into(), signature.into()) @@ -6262,7 +6262,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn alljoyn_msgarg_array_get(args: alljoyn_msgarg, numargs: usize, signature: ::windows::core::PCSTR) -> QStatus; } alljoyn_msgarg_array_get(args.into(), numargs, signature.into()) @@ -6275,7 +6275,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn alljoyn_msgarg_array_set(args: alljoyn_msgarg, numargs: *mut usize, signature: ::windows::core::PCSTR) -> QStatus; } alljoyn_msgarg_array_set(args.into(), ::core::mem::transmute(numargs), signature.into()) @@ -6288,7 +6288,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn alljoyn_msgarg_array_set_offset(args: alljoyn_msgarg, argoffset: usize, numargs: *mut usize, signature: ::windows::core::PCSTR) -> QStatus; } alljoyn_msgarg_array_set_offset(args.into(), argoffset, ::core::mem::transmute(numargs), signature.into()) @@ -6372,7 +6372,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn alljoyn_msgarg_create_and_set(signature: ::windows::core::PCSTR) -> alljoyn_msgarg; } alljoyn_msgarg_create_and_set(signature.into()) @@ -6410,7 +6410,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn alljoyn_msgarg_get(arg: alljoyn_msgarg, signature: ::windows::core::PCSTR) -> QStatus; } alljoyn_msgarg_get(arg.into(), signature.into()) @@ -6737,7 +6737,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn alljoyn_msgarg_getdictelement(arg: alljoyn_msgarg, elemsig: ::windows::core::PCSTR) -> QStatus; } alljoyn_msgarg_getdictelement(arg.into(), elemsig.into()) @@ -6823,7 +6823,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn alljoyn_msgarg_set(arg: alljoyn_msgarg, signature: ::windows::core::PCSTR) -> QStatus; } alljoyn_msgarg_set(arg.into(), signature.into()) @@ -6836,7 +6836,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn alljoyn_msgarg_set_and_stabilize(arg: alljoyn_msgarg, signature: ::windows::core::PCSTR) -> QStatus; } alljoyn_msgarg_set_and_stabilize(arg.into(), signature.into()) diff --git a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs index 4d5fbc70ba..569a2b16fd 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs @@ -16056,7 +16056,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn SetupWriteTextLog(logtoken: u64, category: u32, flags: u32, messagestr: ::windows::core::PCSTR); } SetupWriteTextLog(logtoken, category, flags, messagestr.into()) @@ -16068,7 +16068,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn SetupWriteTextLogError(logtoken: u64, category: u32, logflags: u32, error: u32, messagestr: ::windows::core::PCSTR); } SetupWriteTextLogError(logtoken, category, logflags, error, messagestr.into()) diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs index 90056699ba..e803d9996b 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs @@ -102,7 +102,7 @@ impl ::core::fmt::Debug for AXIS { #[inline] pub unsafe fn CollectionsListAllocateBufferAndSerialize(sourcecollection: &SENSOR_COLLECTION_LIST, ptargetbuffersizeinbytes: &mut u32, ptargetbuffer: &mut *mut u8) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn CollectionsListAllocateBufferAndSerialize(sourcecollection: *const SENSOR_COLLECTION_LIST, ptargetbuffersizeinbytes: *mut u32, ptargetbuffer: *mut *mut u8) -> super::super::Foundation::NTSTATUS; } CollectionsListAllocateBufferAndSerialize(::core::mem::transmute(sourcecollection), ::core::mem::transmute(ptargetbuffersizeinbytes), ::core::mem::transmute(ptargetbuffer)).ok() @@ -112,7 +112,7 @@ pub unsafe fn CollectionsListAllocateBufferAndSerialize(sourcecollection: &SENSO #[inline] pub unsafe fn CollectionsListCopyAndMarshall(target: &mut SENSOR_COLLECTION_LIST, source: &SENSOR_COLLECTION_LIST) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn CollectionsListCopyAndMarshall(target: *mut SENSOR_COLLECTION_LIST, source: *const SENSOR_COLLECTION_LIST) -> super::super::Foundation::NTSTATUS; } CollectionsListCopyAndMarshall(::core::mem::transmute(target), ::core::mem::transmute(source)).ok() @@ -122,7 +122,7 @@ pub unsafe fn CollectionsListCopyAndMarshall(target: &mut SENSOR_COLLECTION_LIST #[inline] pub unsafe fn CollectionsListDeserializeFromBuffer(sourcebuffer: &[u8], targetcollection: &mut SENSOR_COLLECTION_LIST) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn CollectionsListDeserializeFromBuffer(sourcebuffersizeinbytes: u32, sourcebuffer: *const u8, targetcollection: *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation::NTSTATUS; } CollectionsListDeserializeFromBuffer(sourcebuffer.len() as _, ::core::mem::transmute(sourcebuffer.as_ptr()), ::core::mem::transmute(targetcollection)).ok() @@ -131,7 +131,7 @@ pub unsafe fn CollectionsListDeserializeFromBuffer(sourcebuffer: &[u8], targetco #[inline] pub unsafe fn CollectionsListGetFillableCount(buffersizebytes: u32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn CollectionsListGetFillableCount(buffersizebytes: u32) -> u32; } CollectionsListGetFillableCount(buffersizebytes) @@ -141,7 +141,7 @@ pub unsafe fn CollectionsListGetFillableCount(buffersizebytes: u32) -> u32 { #[inline] pub unsafe fn CollectionsListGetMarshalledSize(collection: &SENSOR_COLLECTION_LIST) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn CollectionsListGetMarshalledSize(collection: *const SENSOR_COLLECTION_LIST) -> u32; } CollectionsListGetMarshalledSize(::core::mem::transmute(collection)) @@ -151,7 +151,7 @@ pub unsafe fn CollectionsListGetMarshalledSize(collection: &SENSOR_COLLECTION_LI #[inline] pub unsafe fn CollectionsListGetMarshalledSizeWithoutSerialization(collection: &SENSOR_COLLECTION_LIST) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn CollectionsListGetMarshalledSizeWithoutSerialization(collection: *const SENSOR_COLLECTION_LIST) -> u32; } CollectionsListGetMarshalledSizeWithoutSerialization(::core::mem::transmute(collection)) @@ -161,7 +161,7 @@ pub unsafe fn CollectionsListGetMarshalledSizeWithoutSerialization(collection: & #[inline] pub unsafe fn CollectionsListGetSerializedSize(collection: &SENSOR_COLLECTION_LIST) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn CollectionsListGetSerializedSize(collection: *const SENSOR_COLLECTION_LIST) -> u32; } CollectionsListGetSerializedSize(::core::mem::transmute(collection)) @@ -171,7 +171,7 @@ pub unsafe fn CollectionsListGetSerializedSize(collection: &SENSOR_COLLECTION_LI #[inline] pub unsafe fn CollectionsListMarshall(target: &mut SENSOR_COLLECTION_LIST) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn CollectionsListMarshall(target: *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation::NTSTATUS; } CollectionsListMarshall(::core::mem::transmute(target)).ok() @@ -181,7 +181,7 @@ pub unsafe fn CollectionsListMarshall(target: &mut SENSOR_COLLECTION_LIST) -> :: #[inline] pub unsafe fn CollectionsListSerializeToBuffer(sourcecollection: &SENSOR_COLLECTION_LIST, targetbuffer: &mut [u8]) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn CollectionsListSerializeToBuffer(sourcecollection: *const SENSOR_COLLECTION_LIST, targetbuffersizeinbytes: u32, targetbuffer: *mut u8) -> super::super::Foundation::NTSTATUS; } CollectionsListSerializeToBuffer(::core::mem::transmute(sourcecollection), targetbuffer.len() as _, ::core::mem::transmute(targetbuffer.as_ptr())).ok() @@ -191,7 +191,7 @@ pub unsafe fn CollectionsListSerializeToBuffer(sourcecollection: &SENSOR_COLLECT #[inline] pub unsafe fn CollectionsListSortSubscribedActivitiesByConfidence(thresholds: &SENSOR_COLLECTION_LIST, pcollection: &mut SENSOR_COLLECTION_LIST) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn CollectionsListSortSubscribedActivitiesByConfidence(thresholds: *const SENSOR_COLLECTION_LIST, pcollection: *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation::NTSTATUS; } CollectionsListSortSubscribedActivitiesByConfidence(::core::mem::transmute(thresholds), ::core::mem::transmute(pcollection)).ok() @@ -201,7 +201,7 @@ pub unsafe fn CollectionsListSortSubscribedActivitiesByConfidence(thresholds: &S #[inline] pub unsafe fn CollectionsListUpdateMarshalledPointer(collection: &mut SENSOR_COLLECTION_LIST) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn CollectionsListUpdateMarshalledPointer(collection: *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation::NTSTATUS; } CollectionsListUpdateMarshalledPointer(::core::mem::transmute(collection)).ok() @@ -244,7 +244,7 @@ impl ::core::fmt::Debug for ELEVATION_CHANGE_MODE { #[inline] pub unsafe fn EvaluateActivityThresholds(newsample: &SENSOR_COLLECTION_LIST, oldsample: &SENSOR_COLLECTION_LIST, thresholds: &SENSOR_COLLECTION_LIST) -> super::super::Foundation::BOOLEAN { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn EvaluateActivityThresholds(newsample: *const SENSOR_COLLECTION_LIST, oldsample: *const SENSOR_COLLECTION_LIST, thresholds: *const SENSOR_COLLECTION_LIST) -> super::super::Foundation::BOOLEAN; } EvaluateActivityThresholds(::core::mem::transmute(newsample), ::core::mem::transmute(oldsample), ::core::mem::transmute(thresholds)) @@ -289,7 +289,7 @@ pub const GUID_SensorType_Temperature: ::windows::core::GUID = ::windows::core:: #[inline] pub unsafe fn GetPerformanceTime(timems: &mut u32) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn GetPerformanceTime(timems: *mut u32) -> super::super::Foundation::NTSTATUS; } GetPerformanceTime(::core::mem::transmute(timems)).ok() @@ -937,7 +937,7 @@ pub struct ISensorManagerEvents_Vtbl { #[inline] pub unsafe fn InitPropVariantFromCLSIDArray(members: &[::windows::core::GUID]) -> ::windows::core::Result { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn InitPropVariantFromCLSIDArray(members: *const ::windows::core::GUID, size: u32, ppropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } let mut result__ = ::core::mem::MaybeUninit::zeroed(); @@ -948,7 +948,7 @@ pub unsafe fn InitPropVariantFromCLSIDArray(members: &[::windows::core::GUID]) - #[inline] pub unsafe fn InitPropVariantFromFloat(fltval: f32) -> ::windows::core::Result { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn InitPropVariantFromFloat(fltval: f32, ppropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } let mut result__ = ::core::mem::MaybeUninit::zeroed(); @@ -959,7 +959,7 @@ pub unsafe fn InitPropVariantFromFloat(fltval: f32) -> ::windows::core::Result super::super::Foundation::BOOLEAN { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn IsCollectionListSame(lista: *const SENSOR_COLLECTION_LIST, listb: *const SENSOR_COLLECTION_LIST) -> super::super::Foundation::BOOLEAN; } IsCollectionListSame(::core::mem::transmute(lista), ::core::mem::transmute(listb)) @@ -969,7 +969,7 @@ pub unsafe fn IsCollectionListSame(lista: &SENSOR_COLLECTION_LIST, listb: &SENSO #[inline] pub unsafe fn IsGUIDPresentInList(guidarray: &[::windows::core::GUID], guidelem: &::windows::core::GUID) -> super::super::Foundation::BOOLEAN { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn IsGUIDPresentInList(guidarray: *const ::windows::core::GUID, arraylength: u32, guidelem: *const ::windows::core::GUID) -> super::super::Foundation::BOOLEAN; } IsGUIDPresentInList(::core::mem::transmute(guidarray.as_ptr()), guidarray.len() as _, ::core::mem::transmute(guidelem)) @@ -979,7 +979,7 @@ pub unsafe fn IsGUIDPresentInList(guidarray: &[::windows::core::GUID], guidelem: #[inline] pub unsafe fn IsKeyPresentInCollectionList(plist: &SENSOR_COLLECTION_LIST, pkey: &super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> super::super::Foundation::BOOLEAN { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn IsKeyPresentInCollectionList(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> super::super::Foundation::BOOLEAN; } IsKeyPresentInCollectionList(::core::mem::transmute(plist), ::core::mem::transmute(pkey)) @@ -989,7 +989,7 @@ pub unsafe fn IsKeyPresentInCollectionList(plist: &SENSOR_COLLECTION_LIST, pkey: #[inline] pub unsafe fn IsKeyPresentInPropertyList(plist: &SENSOR_PROPERTY_LIST, pkey: &super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> super::super::Foundation::BOOLEAN { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn IsKeyPresentInPropertyList(plist: *const SENSOR_PROPERTY_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> super::super::Foundation::BOOLEAN; } IsKeyPresentInPropertyList(::core::mem::transmute(plist), ::core::mem::transmute(pkey)) @@ -999,7 +999,7 @@ pub unsafe fn IsKeyPresentInPropertyList(plist: &SENSOR_PROPERTY_LIST, pkey: &su #[inline] pub unsafe fn IsSensorSubscribed(subscriptionlist: &SENSOR_COLLECTION_LIST, currenttype: ::windows::core::GUID) -> super::super::Foundation::BOOLEAN { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn IsSensorSubscribed(subscriptionlist: *const SENSOR_COLLECTION_LIST, currenttype: ::windows::core::GUID) -> super::super::Foundation::BOOLEAN; } IsSensorSubscribed(::core::mem::transmute(subscriptionlist), ::core::mem::transmute(currenttype)) @@ -1340,7 +1340,7 @@ impl ::core::fmt::Debug for PROXIMITY_TYPE { #[inline] pub unsafe fn PropKeyFindKeyGetBool(plist: &SENSOR_COLLECTION_LIST, pkey: &super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: &mut super::super::Foundation::BOOL) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PropKeyFindKeyGetBool(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut super::super::Foundation::BOOL) -> super::super::Foundation::NTSTATUS; } PropKeyFindKeyGetBool(::core::mem::transmute(plist), ::core::mem::transmute(pkey), ::core::mem::transmute(pretvalue)).ok() @@ -1350,7 +1350,7 @@ pub unsafe fn PropKeyFindKeyGetBool(plist: &SENSOR_COLLECTION_LIST, pkey: &super #[inline] pub unsafe fn PropKeyFindKeyGetDouble(plist: &SENSOR_COLLECTION_LIST, pkey: &super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: &mut f64) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PropKeyFindKeyGetDouble(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut f64) -> super::super::Foundation::NTSTATUS; } PropKeyFindKeyGetDouble(::core::mem::transmute(plist), ::core::mem::transmute(pkey), ::core::mem::transmute(pretvalue)).ok() @@ -1360,7 +1360,7 @@ pub unsafe fn PropKeyFindKeyGetDouble(plist: &SENSOR_COLLECTION_LIST, pkey: &sup #[inline] pub unsafe fn PropKeyFindKeyGetFileTime(plist: &SENSOR_COLLECTION_LIST, pkey: &super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: &mut super::super::Foundation::FILETIME) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PropKeyFindKeyGetFileTime(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::NTSTATUS; } PropKeyFindKeyGetFileTime(::core::mem::transmute(plist), ::core::mem::transmute(pkey), ::core::mem::transmute(pretvalue)).ok() @@ -1370,7 +1370,7 @@ pub unsafe fn PropKeyFindKeyGetFileTime(plist: &SENSOR_COLLECTION_LIST, pkey: &s #[inline] pub unsafe fn PropKeyFindKeyGetFloat(plist: &SENSOR_COLLECTION_LIST, pkey: &super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: &mut f32) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PropKeyFindKeyGetFloat(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut f32) -> super::super::Foundation::NTSTATUS; } PropKeyFindKeyGetFloat(::core::mem::transmute(plist), ::core::mem::transmute(pkey), ::core::mem::transmute(pretvalue)).ok() @@ -1380,7 +1380,7 @@ pub unsafe fn PropKeyFindKeyGetFloat(plist: &SENSOR_COLLECTION_LIST, pkey: &supe #[inline] pub unsafe fn PropKeyFindKeyGetGuid(plist: &SENSOR_COLLECTION_LIST, pkey: &super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: &mut ::windows::core::GUID) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PropKeyFindKeyGetGuid(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut ::windows::core::GUID) -> super::super::Foundation::NTSTATUS; } PropKeyFindKeyGetGuid(::core::mem::transmute(plist), ::core::mem::transmute(pkey), ::core::mem::transmute(pretvalue)).ok() @@ -1390,7 +1390,7 @@ pub unsafe fn PropKeyFindKeyGetGuid(plist: &SENSOR_COLLECTION_LIST, pkey: &super #[inline] pub unsafe fn PropKeyFindKeyGetInt32(plist: &SENSOR_COLLECTION_LIST, pkey: &super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: &mut i32) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PropKeyFindKeyGetInt32(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut i32) -> super::super::Foundation::NTSTATUS; } PropKeyFindKeyGetInt32(::core::mem::transmute(plist), ::core::mem::transmute(pkey), ::core::mem::transmute(pretvalue)).ok() @@ -1400,7 +1400,7 @@ pub unsafe fn PropKeyFindKeyGetInt32(plist: &SENSOR_COLLECTION_LIST, pkey: &supe #[inline] pub unsafe fn PropKeyFindKeyGetInt64(plist: &SENSOR_COLLECTION_LIST, pkey: &super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: &mut i64) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PropKeyFindKeyGetInt64(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut i64) -> super::super::Foundation::NTSTATUS; } PropKeyFindKeyGetInt64(::core::mem::transmute(plist), ::core::mem::transmute(pkey), ::core::mem::transmute(pretvalue)).ok() @@ -1410,7 +1410,7 @@ pub unsafe fn PropKeyFindKeyGetInt64(plist: &SENSOR_COLLECTION_LIST, pkey: &supe #[inline] pub unsafe fn PropKeyFindKeyGetNthInt64(plist: &SENSOR_COLLECTION_LIST, pkey: &super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, occurrence: u32, pretvalue: &mut i64) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PropKeyFindKeyGetNthInt64(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, occurrence: u32, pretvalue: *mut i64) -> super::super::Foundation::NTSTATUS; } PropKeyFindKeyGetNthInt64(::core::mem::transmute(plist), ::core::mem::transmute(pkey), occurrence, ::core::mem::transmute(pretvalue)).ok() @@ -1420,7 +1420,7 @@ pub unsafe fn PropKeyFindKeyGetNthInt64(plist: &SENSOR_COLLECTION_LIST, pkey: &s #[inline] pub unsafe fn PropKeyFindKeyGetNthUlong(plist: &SENSOR_COLLECTION_LIST, pkey: &super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, occurrence: u32, pretvalue: &mut u32) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PropKeyFindKeyGetNthUlong(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, occurrence: u32, pretvalue: *mut u32) -> super::super::Foundation::NTSTATUS; } PropKeyFindKeyGetNthUlong(::core::mem::transmute(plist), ::core::mem::transmute(pkey), occurrence, ::core::mem::transmute(pretvalue)).ok() @@ -1430,7 +1430,7 @@ pub unsafe fn PropKeyFindKeyGetNthUlong(plist: &SENSOR_COLLECTION_LIST, pkey: &s #[inline] pub unsafe fn PropKeyFindKeyGetNthUshort(plist: &SENSOR_COLLECTION_LIST, pkey: &super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, occurrence: u32, pretvalue: &mut u16) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PropKeyFindKeyGetNthUshort(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, occurrence: u32, pretvalue: *mut u16) -> super::super::Foundation::NTSTATUS; } PropKeyFindKeyGetNthUshort(::core::mem::transmute(plist), ::core::mem::transmute(pkey), occurrence, ::core::mem::transmute(pretvalue)).ok() @@ -1443,7 +1443,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PropKeyFindKeyGetPropVariant(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, typecheck: super::super::Foundation::BOOLEAN, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> super::super::Foundation::NTSTATUS; } PropKeyFindKeyGetPropVariant(::core::mem::transmute(plist), ::core::mem::transmute(pkey), typecheck.into(), ::core::mem::transmute(pvalue)).ok() @@ -1453,7 +1453,7 @@ where #[inline] pub unsafe fn PropKeyFindKeyGetUlong(plist: &SENSOR_COLLECTION_LIST, pkey: &super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: &mut u32) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PropKeyFindKeyGetUlong(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut u32) -> super::super::Foundation::NTSTATUS; } PropKeyFindKeyGetUlong(::core::mem::transmute(plist), ::core::mem::transmute(pkey), ::core::mem::transmute(pretvalue)).ok() @@ -1463,7 +1463,7 @@ pub unsafe fn PropKeyFindKeyGetUlong(plist: &SENSOR_COLLECTION_LIST, pkey: &supe #[inline] pub unsafe fn PropKeyFindKeyGetUshort(plist: &SENSOR_COLLECTION_LIST, pkey: &super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: &mut u16) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PropKeyFindKeyGetUshort(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut u16) -> super::super::Foundation::NTSTATUS; } PropKeyFindKeyGetUshort(::core::mem::transmute(plist), ::core::mem::transmute(pkey), ::core::mem::transmute(pretvalue)).ok() @@ -1476,7 +1476,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PropKeyFindKeySetPropVariant(plist: *mut SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, typecheck: super::super::Foundation::BOOLEAN, pvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> super::super::Foundation::NTSTATUS; } PropKeyFindKeySetPropVariant(::core::mem::transmute(plist), ::core::mem::transmute(pkey), typecheck.into(), ::core::mem::transmute(pvalue)).ok() @@ -1486,7 +1486,7 @@ where #[inline] pub unsafe fn PropVariantGetInformation(propvariantvalue: &super::super::System::Com::StructuredStorage::PROPVARIANT, propvariantoffset: ::core::option::Option<&mut u32>, propvariantsize: ::core::option::Option<&mut u32>, propvariantpointer: *mut *mut ::core::ffi::c_void, remappedtype: ::core::option::Option<&mut u32>) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PropVariantGetInformation(propvariantvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT, propvariantoffset: *mut u32, propvariantsize: *mut u32, propvariantpointer: *mut *mut ::core::ffi::c_void, remappedtype: *mut u32) -> super::super::Foundation::NTSTATUS; } PropVariantGetInformation(::core::mem::transmute(propvariantvalue), ::core::mem::transmute(propvariantoffset), ::core::mem::transmute(propvariantsize), ::core::mem::transmute(propvariantpointer), ::core::mem::transmute(remappedtype)).ok() @@ -1496,7 +1496,7 @@ pub unsafe fn PropVariantGetInformation(propvariantvalue: &super::super::System: #[inline] pub unsafe fn PropertiesListCopy(target: &mut SENSOR_PROPERTY_LIST, source: &SENSOR_PROPERTY_LIST) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PropertiesListCopy(target: *mut SENSOR_PROPERTY_LIST, source: *const SENSOR_PROPERTY_LIST) -> super::super::Foundation::NTSTATUS; } PropertiesListCopy(::core::mem::transmute(target), ::core::mem::transmute(source)).ok() @@ -1505,7 +1505,7 @@ pub unsafe fn PropertiesListCopy(target: &mut SENSOR_PROPERTY_LIST, source: &SEN #[inline] pub unsafe fn PropertiesListGetFillableCount(buffersizebytes: u32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PropertiesListGetFillableCount(buffersizebytes: u32) -> u32; } PropertiesListGetFillableCount(buffersizebytes) @@ -2307,7 +2307,7 @@ pub const SensorCollection: ::windows::core::GUID = ::windows::core::GUID::from_ #[inline] pub unsafe fn SensorCollectionGetAt(index: u32, psensorslist: &SENSOR_COLLECTION_LIST, pkey: ::core::option::Option<&mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY>, pvalue: ::core::option::Option<&mut super::super::System::Com::StructuredStorage::PROPVARIANT>) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn SensorCollectionGetAt(index: u32, psensorslist: *const SENSOR_COLLECTION_LIST, pkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> super::super::Foundation::NTSTATUS; } SensorCollectionGetAt(index, ::core::mem::transmute(psensorslist), ::core::mem::transmute(pkey), ::core::mem::transmute(pvalue)).ok() @@ -2387,7 +2387,7 @@ impl ::core::fmt::Debug for SensorState { #[inline] pub unsafe fn SerializationBufferAllocate(sizeinbytes: u32, pbuffer: &mut *mut u8) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn SerializationBufferAllocate(sizeinbytes: u32, pbuffer: *mut *mut u8) -> super::super::Foundation::NTSTATUS; } SerializationBufferAllocate(sizeinbytes, ::core::mem::transmute(pbuffer)).ok() @@ -2396,7 +2396,7 @@ pub unsafe fn SerializationBufferAllocate(sizeinbytes: u32, pbuffer: &mut *mut u #[inline] pub unsafe fn SerializationBufferFree(buffer: ::core::option::Option<&u8>) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn SerializationBufferFree(buffer: *const u8); } SerializationBufferFree(::core::mem::transmute(buffer)) diff --git a/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs b/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs index 2710f15ebb..a87c1938c1 100644 --- a/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs @@ -9220,7 +9220,7 @@ pub const UCNV_ESCAPE_XML_HEX: &str = "X"; #[inline] pub unsafe fn UCNV_FROM_U_CALLBACK_ESCAPE(context: *const ::core::ffi::c_void, fromuargs: &mut UConverterFromUnicodeArgs, codeunits: &u16, length: i32, codepoint: i32, reason: UConverterCallbackReason, err: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn UCNV_FROM_U_CALLBACK_ESCAPE(context: *const ::core::ffi::c_void, fromuargs: *mut UConverterFromUnicodeArgs, codeunits: *const u16, length: i32, codepoint: i32, reason: UConverterCallbackReason, err: *mut UErrorCode); } UCNV_FROM_U_CALLBACK_ESCAPE(::core::mem::transmute(context), ::core::mem::transmute(fromuargs), ::core::mem::transmute(codeunits), length, codepoint, reason, ::core::mem::transmute(err)) @@ -9229,7 +9229,7 @@ pub unsafe fn UCNV_FROM_U_CALLBACK_ESCAPE(context: *const ::core::ffi::c_void, f #[inline] pub unsafe fn UCNV_FROM_U_CALLBACK_SKIP(context: *const ::core::ffi::c_void, fromuargs: &mut UConverterFromUnicodeArgs, codeunits: &u16, length: i32, codepoint: i32, reason: UConverterCallbackReason, err: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn UCNV_FROM_U_CALLBACK_SKIP(context: *const ::core::ffi::c_void, fromuargs: *mut UConverterFromUnicodeArgs, codeunits: *const u16, length: i32, codepoint: i32, reason: UConverterCallbackReason, err: *mut UErrorCode); } UCNV_FROM_U_CALLBACK_SKIP(::core::mem::transmute(context), ::core::mem::transmute(fromuargs), ::core::mem::transmute(codeunits), length, codepoint, reason, ::core::mem::transmute(err)) @@ -9238,7 +9238,7 @@ pub unsafe fn UCNV_FROM_U_CALLBACK_SKIP(context: *const ::core::ffi::c_void, fro #[inline] pub unsafe fn UCNV_FROM_U_CALLBACK_STOP(context: *const ::core::ffi::c_void, fromuargs: &mut UConverterFromUnicodeArgs, codeunits: &u16, length: i32, codepoint: i32, reason: UConverterCallbackReason, err: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn UCNV_FROM_U_CALLBACK_STOP(context: *const ::core::ffi::c_void, fromuargs: *mut UConverterFromUnicodeArgs, codeunits: *const u16, length: i32, codepoint: i32, reason: UConverterCallbackReason, err: *mut UErrorCode); } UCNV_FROM_U_CALLBACK_STOP(::core::mem::transmute(context), ::core::mem::transmute(fromuargs), ::core::mem::transmute(codeunits), length, codepoint, reason, ::core::mem::transmute(err)) @@ -9247,7 +9247,7 @@ pub unsafe fn UCNV_FROM_U_CALLBACK_STOP(context: *const ::core::ffi::c_void, fro #[inline] pub unsafe fn UCNV_FROM_U_CALLBACK_SUBSTITUTE(context: *const ::core::ffi::c_void, fromuargs: &mut UConverterFromUnicodeArgs, codeunits: &u16, length: i32, codepoint: i32, reason: UConverterCallbackReason, err: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn UCNV_FROM_U_CALLBACK_SUBSTITUTE(context: *const ::core::ffi::c_void, fromuargs: *mut UConverterFromUnicodeArgs, codeunits: *const u16, length: i32, codepoint: i32, reason: UConverterCallbackReason, err: *mut UErrorCode); } UCNV_FROM_U_CALLBACK_SUBSTITUTE(::core::mem::transmute(context), ::core::mem::transmute(fromuargs), ::core::mem::transmute(codeunits), length, codepoint, reason, ::core::mem::transmute(err)) @@ -9275,7 +9275,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn UCNV_TO_U_CALLBACK_ESCAPE(context: *const ::core::ffi::c_void, touargs: *mut UConverterToUnicodeArgs, codeunits: ::windows::core::PCSTR, length: i32, reason: UConverterCallbackReason, err: *mut UErrorCode); } UCNV_TO_U_CALLBACK_ESCAPE(::core::mem::transmute(context), ::core::mem::transmute(touargs), codeunits.into(), length, reason, ::core::mem::transmute(err)) @@ -9287,7 +9287,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn UCNV_TO_U_CALLBACK_SKIP(context: *const ::core::ffi::c_void, touargs: *mut UConverterToUnicodeArgs, codeunits: ::windows::core::PCSTR, length: i32, reason: UConverterCallbackReason, err: *mut UErrorCode); } UCNV_TO_U_CALLBACK_SKIP(::core::mem::transmute(context), ::core::mem::transmute(touargs), codeunits.into(), length, reason, ::core::mem::transmute(err)) @@ -9299,7 +9299,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn UCNV_TO_U_CALLBACK_STOP(context: *const ::core::ffi::c_void, touargs: *mut UConverterToUnicodeArgs, codeunits: ::windows::core::PCSTR, length: i32, reason: UConverterCallbackReason, err: *mut UErrorCode); } UCNV_TO_U_CALLBACK_STOP(::core::mem::transmute(context), ::core::mem::transmute(touargs), codeunits.into(), length, reason, ::core::mem::transmute(err)) @@ -9311,7 +9311,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn UCNV_TO_U_CALLBACK_SUBSTITUTE(context: *const ::core::ffi::c_void, touargs: *mut UConverterToUnicodeArgs, codeunits: ::windows::core::PCSTR, length: i32, reason: UConverterCallbackReason, err: *mut UErrorCode); } UCNV_TO_U_CALLBACK_SUBSTITUTE(::core::mem::transmute(context), ::core::mem::transmute(touargs), codeunits.into(), length, reason, ::core::mem::transmute(err)) @@ -17241,7 +17241,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_UCharsToChars(us: *const u16, cs: ::windows::core::PCSTR, length: i32); } u_UCharsToChars(::core::mem::transmute(us), cs.into(), length) @@ -17253,7 +17253,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_austrcpy(dst: ::windows::core::PCSTR, src: *const u16) -> ::windows::core::PSTR; } u_austrcpy(dst.into(), ::core::mem::transmute(src)) @@ -17265,7 +17265,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_austrncpy(dst: ::windows::core::PCSTR, src: *const u16, n: i32) -> ::windows::core::PSTR; } u_austrncpy(dst.into(), ::core::mem::transmute(src), n) @@ -17274,7 +17274,7 @@ where #[inline] pub unsafe fn u_catclose(catd: &mut UResourceBundle) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_catclose(catd: *mut UResourceBundle); } u_catclose(::core::mem::transmute(catd)) @@ -17283,7 +17283,7 @@ pub unsafe fn u_catclose(catd: &mut UResourceBundle) { #[inline] pub unsafe fn u_catgets(catd: &mut UResourceBundle, set_num: i32, msg_num: i32, s: &u16, len: &mut i32, ec: &mut UErrorCode) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_catgets(catd: *mut UResourceBundle, set_num: i32, msg_num: i32, s: *const u16, len: *mut i32, ec: *mut UErrorCode) -> *mut u16; } u_catgets(::core::mem::transmute(catd), set_num, msg_num, ::core::mem::transmute(s), ::core::mem::transmute(len), ::core::mem::transmute(ec)) @@ -17296,7 +17296,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_catopen(name: ::windows::core::PCSTR, locale: ::windows::core::PCSTR, ec: *mut UErrorCode) -> *mut UResourceBundle; } u_catopen(name.into(), locale.into(), ::core::mem::transmute(ec)) @@ -17305,7 +17305,7 @@ where #[inline] pub unsafe fn u_charAge(c: i32, versionarray: &mut u8) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_charAge(c: i32, versionarray: *mut u8); } u_charAge(c, ::core::mem::transmute(versionarray)) @@ -17314,7 +17314,7 @@ pub unsafe fn u_charAge(c: i32, versionarray: &mut u8) { #[inline] pub unsafe fn u_charDigitValue(c: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_charDigitValue(c: i32) -> i32; } u_charDigitValue(c) @@ -17323,7 +17323,7 @@ pub unsafe fn u_charDigitValue(c: i32) -> i32 { #[inline] pub unsafe fn u_charDirection(c: i32) -> UCharDirection { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_charDirection(c: i32) -> UCharDirection; } u_charDirection(c) @@ -17335,7 +17335,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_charFromName(namechoice: UCharNameChoice, name: ::windows::core::PCSTR, perrorcode: *mut UErrorCode) -> i32; } u_charFromName(namechoice, name.into(), ::core::mem::transmute(perrorcode)) @@ -17344,7 +17344,7 @@ where #[inline] pub unsafe fn u_charMirror(c: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_charMirror(c: i32) -> i32; } u_charMirror(c) @@ -17356,7 +17356,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_charName(code: i32, namechoice: UCharNameChoice, buffer: ::windows::core::PCSTR, bufferlength: i32, perrorcode: *mut UErrorCode) -> i32; } u_charName(code, namechoice, buffer.into(), bufferlength, ::core::mem::transmute(perrorcode)) @@ -17365,7 +17365,7 @@ where #[inline] pub unsafe fn u_charType(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_charType(c: i32) -> i8; } u_charType(c) @@ -17377,7 +17377,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_charsToUChars(cs: ::windows::core::PCSTR, us: *mut u16, length: i32); } u_charsToUChars(cs.into(), ::core::mem::transmute(us), length) @@ -17386,7 +17386,7 @@ where #[inline] pub unsafe fn u_cleanup() { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_cleanup(); } u_cleanup() @@ -17395,7 +17395,7 @@ pub unsafe fn u_cleanup() { #[inline] pub unsafe fn u_countChar32(s: &u16, length: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_countChar32(s: *const u16, length: i32) -> i32; } u_countChar32(::core::mem::transmute(s), length) @@ -17404,7 +17404,7 @@ pub unsafe fn u_countChar32(s: &u16, length: i32) -> i32 { #[inline] pub unsafe fn u_digit(ch: i32, radix: i8) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_digit(ch: i32, radix: i8) -> i32; } u_digit(ch, radix) @@ -17413,7 +17413,7 @@ pub unsafe fn u_digit(ch: i32, radix: i8) -> i32 { #[inline] pub unsafe fn u_enumCharNames(start: i32, limit: i32, r#fn: &mut UEnumCharNamesFn, context: *mut ::core::ffi::c_void, namechoice: UCharNameChoice, perrorcode: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_enumCharNames(start: i32, limit: i32, r#fn: *mut *mut ::core::ffi::c_void, context: *mut ::core::ffi::c_void, namechoice: UCharNameChoice, perrorcode: *mut UErrorCode); } u_enumCharNames(start, limit, ::core::mem::transmute(r#fn), ::core::mem::transmute(context), namechoice, ::core::mem::transmute(perrorcode)) @@ -17422,7 +17422,7 @@ pub unsafe fn u_enumCharNames(start: i32, limit: i32, r#fn: &mut UEnumCharNamesF #[inline] pub unsafe fn u_enumCharTypes(enumrange: &mut UCharEnumTypeRange, context: *const ::core::ffi::c_void) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_enumCharTypes(enumrange: *mut *mut ::core::ffi::c_void, context: *const ::core::ffi::c_void); } u_enumCharTypes(::core::mem::transmute(enumrange), ::core::mem::transmute(context)) @@ -17431,7 +17431,7 @@ pub unsafe fn u_enumCharTypes(enumrange: &mut UCharEnumTypeRange, context: *cons #[inline] pub unsafe fn u_errorName(code: UErrorCode) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_errorName(code: UErrorCode) -> ::windows::core::PSTR; } u_errorName(code) @@ -17440,7 +17440,7 @@ pub unsafe fn u_errorName(code: UErrorCode) -> ::windows::core::PSTR { #[inline] pub unsafe fn u_foldCase(c: i32, options: u32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_foldCase(c: i32, options: u32) -> i32; } u_foldCase(c, options) @@ -17449,7 +17449,7 @@ pub unsafe fn u_foldCase(c: i32, options: u32) -> i32 { #[inline] pub unsafe fn u_forDigit(digit: i32, radix: i8) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_forDigit(digit: i32, radix: i8) -> i32; } u_forDigit(digit, radix) @@ -17461,7 +17461,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_formatMessage(locale: ::windows::core::PCSTR, pattern: *const u16, patternlength: i32, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; } u_formatMessage(locale.into(), ::core::mem::transmute(pattern), patternlength, ::core::mem::transmute(result), resultlength, ::core::mem::transmute(status)) @@ -17473,7 +17473,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_formatMessageWithError(locale: ::windows::core::PCSTR, pattern: *const u16, patternlength: i32, result: *mut u16, resultlength: i32, parseerror: *mut UParseError, status: *mut UErrorCode) -> i32; } u_formatMessageWithError(locale.into(), ::core::mem::transmute(pattern), patternlength, ::core::mem::transmute(result), resultlength, ::core::mem::transmute(parseerror), ::core::mem::transmute(status)) @@ -17482,7 +17482,7 @@ where #[inline] pub unsafe fn u_getBidiPairedBracket(c: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_getBidiPairedBracket(c: i32) -> i32; } u_getBidiPairedBracket(c) @@ -17491,7 +17491,7 @@ pub unsafe fn u_getBidiPairedBracket(c: i32) -> i32 { #[inline] pub unsafe fn u_getBinaryPropertySet(property: UProperty, perrorcode: &mut UErrorCode) -> *mut USet { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_getBinaryPropertySet(property: UProperty, perrorcode: *mut UErrorCode) -> *mut USet; } u_getBinaryPropertySet(property, ::core::mem::transmute(perrorcode)) @@ -17500,7 +17500,7 @@ pub unsafe fn u_getBinaryPropertySet(property: UProperty, perrorcode: &mut UErro #[inline] pub unsafe fn u_getCombiningClass(c: i32) -> u8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_getCombiningClass(c: i32) -> u8; } u_getCombiningClass(c) @@ -17509,7 +17509,7 @@ pub unsafe fn u_getCombiningClass(c: i32) -> u8 { #[inline] pub unsafe fn u_getDataVersion(dataversionfillin: &mut u8, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_getDataVersion(dataversionfillin: *mut u8, status: *mut UErrorCode); } u_getDataVersion(::core::mem::transmute(dataversionfillin), ::core::mem::transmute(status)) @@ -17518,7 +17518,7 @@ pub unsafe fn u_getDataVersion(dataversionfillin: &mut u8, status: &mut UErrorCo #[inline] pub unsafe fn u_getFC_NFKC_Closure(c: i32, dest: &mut u16, destcapacity: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_getFC_NFKC_Closure(c: i32, dest: *mut u16, destcapacity: i32, perrorcode: *mut UErrorCode) -> i32; } u_getFC_NFKC_Closure(c, ::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(perrorcode)) @@ -17527,7 +17527,7 @@ pub unsafe fn u_getFC_NFKC_Closure(c: i32, dest: &mut u16, destcapacity: i32, pe #[inline] pub unsafe fn u_getIntPropertyMap(property: UProperty, perrorcode: &mut UErrorCode) -> *mut UCPMap { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_getIntPropertyMap(property: UProperty, perrorcode: *mut UErrorCode) -> *mut UCPMap; } u_getIntPropertyMap(property, ::core::mem::transmute(perrorcode)) @@ -17536,7 +17536,7 @@ pub unsafe fn u_getIntPropertyMap(property: UProperty, perrorcode: &mut UErrorCo #[inline] pub unsafe fn u_getIntPropertyMaxValue(which: UProperty) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_getIntPropertyMaxValue(which: UProperty) -> i32; } u_getIntPropertyMaxValue(which) @@ -17545,7 +17545,7 @@ pub unsafe fn u_getIntPropertyMaxValue(which: UProperty) -> i32 { #[inline] pub unsafe fn u_getIntPropertyMinValue(which: UProperty) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_getIntPropertyMinValue(which: UProperty) -> i32; } u_getIntPropertyMinValue(which) @@ -17554,7 +17554,7 @@ pub unsafe fn u_getIntPropertyMinValue(which: UProperty) -> i32 { #[inline] pub unsafe fn u_getIntPropertyValue(c: i32, which: UProperty) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_getIntPropertyValue(c: i32, which: UProperty) -> i32; } u_getIntPropertyValue(c, which) @@ -17563,7 +17563,7 @@ pub unsafe fn u_getIntPropertyValue(c: i32, which: UProperty) -> i32 { #[inline] pub unsafe fn u_getNumericValue(c: i32) -> f64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_getNumericValue(c: i32) -> f64; } u_getNumericValue(c) @@ -17575,7 +17575,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_getPropertyEnum(alias: ::windows::core::PCSTR) -> UProperty; } u_getPropertyEnum(alias.into()) @@ -17584,7 +17584,7 @@ where #[inline] pub unsafe fn u_getPropertyName(property: UProperty, namechoice: UPropertyNameChoice) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_getPropertyName(property: UProperty, namechoice: UPropertyNameChoice) -> ::windows::core::PSTR; } u_getPropertyName(property, namechoice) @@ -17596,7 +17596,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_getPropertyValueEnum(property: UProperty, alias: ::windows::core::PCSTR) -> i32; } u_getPropertyValueEnum(property, alias.into()) @@ -17605,7 +17605,7 @@ where #[inline] pub unsafe fn u_getPropertyValueName(property: UProperty, value: i32, namechoice: UPropertyNameChoice) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_getPropertyValueName(property: UProperty, value: i32, namechoice: UPropertyNameChoice) -> ::windows::core::PSTR; } u_getPropertyValueName(property, value, namechoice) @@ -17614,7 +17614,7 @@ pub unsafe fn u_getPropertyValueName(property: UProperty, value: i32, namechoice #[inline] pub unsafe fn u_getUnicodeVersion(versionarray: &mut u8) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_getUnicodeVersion(versionarray: *mut u8); } u_getUnicodeVersion(::core::mem::transmute(versionarray)) @@ -17623,7 +17623,7 @@ pub unsafe fn u_getUnicodeVersion(versionarray: &mut u8) { #[inline] pub unsafe fn u_getVersion(versionarray: &mut u8) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_getVersion(versionarray: *mut u8); } u_getVersion(::core::mem::transmute(versionarray)) @@ -17632,7 +17632,7 @@ pub unsafe fn u_getVersion(versionarray: &mut u8) { #[inline] pub unsafe fn u_hasBinaryProperty(c: i32, which: UProperty) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_hasBinaryProperty(c: i32, which: UProperty) -> i8; } u_hasBinaryProperty(c, which) @@ -17641,7 +17641,7 @@ pub unsafe fn u_hasBinaryProperty(c: i32, which: UProperty) -> i8 { #[inline] pub unsafe fn u_init(status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_init(status: *mut UErrorCode); } u_init(::core::mem::transmute(status)) @@ -17650,7 +17650,7 @@ pub unsafe fn u_init(status: &mut UErrorCode) { #[inline] pub unsafe fn u_isIDIgnorable(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isIDIgnorable(c: i32) -> i8; } u_isIDIgnorable(c) @@ -17659,7 +17659,7 @@ pub unsafe fn u_isIDIgnorable(c: i32) -> i8 { #[inline] pub unsafe fn u_isIDPart(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isIDPart(c: i32) -> i8; } u_isIDPart(c) @@ -17668,7 +17668,7 @@ pub unsafe fn u_isIDPart(c: i32) -> i8 { #[inline] pub unsafe fn u_isIDStart(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isIDStart(c: i32) -> i8; } u_isIDStart(c) @@ -17677,7 +17677,7 @@ pub unsafe fn u_isIDStart(c: i32) -> i8 { #[inline] pub unsafe fn u_isISOControl(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isISOControl(c: i32) -> i8; } u_isISOControl(c) @@ -17686,7 +17686,7 @@ pub unsafe fn u_isISOControl(c: i32) -> i8 { #[inline] pub unsafe fn u_isJavaIDPart(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isJavaIDPart(c: i32) -> i8; } u_isJavaIDPart(c) @@ -17695,7 +17695,7 @@ pub unsafe fn u_isJavaIDPart(c: i32) -> i8 { #[inline] pub unsafe fn u_isJavaIDStart(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isJavaIDStart(c: i32) -> i8; } u_isJavaIDStart(c) @@ -17704,7 +17704,7 @@ pub unsafe fn u_isJavaIDStart(c: i32) -> i8 { #[inline] pub unsafe fn u_isJavaSpaceChar(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isJavaSpaceChar(c: i32) -> i8; } u_isJavaSpaceChar(c) @@ -17713,7 +17713,7 @@ pub unsafe fn u_isJavaSpaceChar(c: i32) -> i8 { #[inline] pub unsafe fn u_isMirrored(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isMirrored(c: i32) -> i8; } u_isMirrored(c) @@ -17722,7 +17722,7 @@ pub unsafe fn u_isMirrored(c: i32) -> i8 { #[inline] pub unsafe fn u_isUAlphabetic(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isUAlphabetic(c: i32) -> i8; } u_isUAlphabetic(c) @@ -17731,7 +17731,7 @@ pub unsafe fn u_isUAlphabetic(c: i32) -> i8 { #[inline] pub unsafe fn u_isULowercase(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isULowercase(c: i32) -> i8; } u_isULowercase(c) @@ -17740,7 +17740,7 @@ pub unsafe fn u_isULowercase(c: i32) -> i8 { #[inline] pub unsafe fn u_isUUppercase(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isUUppercase(c: i32) -> i8; } u_isUUppercase(c) @@ -17749,7 +17749,7 @@ pub unsafe fn u_isUUppercase(c: i32) -> i8 { #[inline] pub unsafe fn u_isUWhiteSpace(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isUWhiteSpace(c: i32) -> i8; } u_isUWhiteSpace(c) @@ -17758,7 +17758,7 @@ pub unsafe fn u_isUWhiteSpace(c: i32) -> i8 { #[inline] pub unsafe fn u_isWhitespace(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isWhitespace(c: i32) -> i8; } u_isWhitespace(c) @@ -17767,7 +17767,7 @@ pub unsafe fn u_isWhitespace(c: i32) -> i8 { #[inline] pub unsafe fn u_isalnum(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isalnum(c: i32) -> i8; } u_isalnum(c) @@ -17776,7 +17776,7 @@ pub unsafe fn u_isalnum(c: i32) -> i8 { #[inline] pub unsafe fn u_isalpha(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isalpha(c: i32) -> i8; } u_isalpha(c) @@ -17785,7 +17785,7 @@ pub unsafe fn u_isalpha(c: i32) -> i8 { #[inline] pub unsafe fn u_isbase(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isbase(c: i32) -> i8; } u_isbase(c) @@ -17794,7 +17794,7 @@ pub unsafe fn u_isbase(c: i32) -> i8 { #[inline] pub unsafe fn u_isblank(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isblank(c: i32) -> i8; } u_isblank(c) @@ -17803,7 +17803,7 @@ pub unsafe fn u_isblank(c: i32) -> i8 { #[inline] pub unsafe fn u_iscntrl(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_iscntrl(c: i32) -> i8; } u_iscntrl(c) @@ -17812,7 +17812,7 @@ pub unsafe fn u_iscntrl(c: i32) -> i8 { #[inline] pub unsafe fn u_isdefined(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isdefined(c: i32) -> i8; } u_isdefined(c) @@ -17821,7 +17821,7 @@ pub unsafe fn u_isdefined(c: i32) -> i8 { #[inline] pub unsafe fn u_isdigit(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isdigit(c: i32) -> i8; } u_isdigit(c) @@ -17830,7 +17830,7 @@ pub unsafe fn u_isdigit(c: i32) -> i8 { #[inline] pub unsafe fn u_isgraph(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isgraph(c: i32) -> i8; } u_isgraph(c) @@ -17839,7 +17839,7 @@ pub unsafe fn u_isgraph(c: i32) -> i8 { #[inline] pub unsafe fn u_islower(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_islower(c: i32) -> i8; } u_islower(c) @@ -17848,7 +17848,7 @@ pub unsafe fn u_islower(c: i32) -> i8 { #[inline] pub unsafe fn u_isprint(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isprint(c: i32) -> i8; } u_isprint(c) @@ -17857,7 +17857,7 @@ pub unsafe fn u_isprint(c: i32) -> i8 { #[inline] pub unsafe fn u_ispunct(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_ispunct(c: i32) -> i8; } u_ispunct(c) @@ -17866,7 +17866,7 @@ pub unsafe fn u_ispunct(c: i32) -> i8 { #[inline] pub unsafe fn u_isspace(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isspace(c: i32) -> i8; } u_isspace(c) @@ -17875,7 +17875,7 @@ pub unsafe fn u_isspace(c: i32) -> i8 { #[inline] pub unsafe fn u_istitle(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_istitle(c: i32) -> i8; } u_istitle(c) @@ -17884,7 +17884,7 @@ pub unsafe fn u_istitle(c: i32) -> i8 { #[inline] pub unsafe fn u_isupper(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isupper(c: i32) -> i8; } u_isupper(c) @@ -17893,7 +17893,7 @@ pub unsafe fn u_isupper(c: i32) -> i8 { #[inline] pub unsafe fn u_isxdigit(c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_isxdigit(c: i32) -> i8; } u_isxdigit(c) @@ -17902,7 +17902,7 @@ pub unsafe fn u_isxdigit(c: i32) -> i8 { #[inline] pub unsafe fn u_memcasecmp(s1: &u16, s2: &u16, length: i32, options: u32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_memcasecmp(s1: *const u16, s2: *const u16, length: i32, options: u32) -> i32; } u_memcasecmp(::core::mem::transmute(s1), ::core::mem::transmute(s2), length, options) @@ -17911,7 +17911,7 @@ pub unsafe fn u_memcasecmp(s1: &u16, s2: &u16, length: i32, options: u32) -> i32 #[inline] pub unsafe fn u_memchr(s: &u16, c: u16, count: i32) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_memchr(s: *const u16, c: u16, count: i32) -> *mut u16; } u_memchr(::core::mem::transmute(s), c, count) @@ -17920,7 +17920,7 @@ pub unsafe fn u_memchr(s: &u16, c: u16, count: i32) -> *mut u16 { #[inline] pub unsafe fn u_memchr32(s: &u16, c: i32, count: i32) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_memchr32(s: *const u16, c: i32, count: i32) -> *mut u16; } u_memchr32(::core::mem::transmute(s), c, count) @@ -17929,7 +17929,7 @@ pub unsafe fn u_memchr32(s: &u16, c: i32, count: i32) -> *mut u16 { #[inline] pub unsafe fn u_memcmp(buf1: &u16, buf2: &u16, count: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_memcmp(buf1: *const u16, buf2: *const u16, count: i32) -> i32; } u_memcmp(::core::mem::transmute(buf1), ::core::mem::transmute(buf2), count) @@ -17938,7 +17938,7 @@ pub unsafe fn u_memcmp(buf1: &u16, buf2: &u16, count: i32) -> i32 { #[inline] pub unsafe fn u_memcmpCodePointOrder(s1: &u16, s2: &u16, count: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_memcmpCodePointOrder(s1: *const u16, s2: *const u16, count: i32) -> i32; } u_memcmpCodePointOrder(::core::mem::transmute(s1), ::core::mem::transmute(s2), count) @@ -17947,7 +17947,7 @@ pub unsafe fn u_memcmpCodePointOrder(s1: &u16, s2: &u16, count: i32) -> i32 { #[inline] pub unsafe fn u_memcpy(dest: &mut u16, src: &u16, count: i32) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_memcpy(dest: *mut u16, src: *const u16, count: i32) -> *mut u16; } u_memcpy(::core::mem::transmute(dest), ::core::mem::transmute(src), count) @@ -17956,7 +17956,7 @@ pub unsafe fn u_memcpy(dest: &mut u16, src: &u16, count: i32) -> *mut u16 { #[inline] pub unsafe fn u_memmove(dest: &mut u16, src: &u16, count: i32) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_memmove(dest: *mut u16, src: *const u16, count: i32) -> *mut u16; } u_memmove(::core::mem::transmute(dest), ::core::mem::transmute(src), count) @@ -17965,7 +17965,7 @@ pub unsafe fn u_memmove(dest: &mut u16, src: &u16, count: i32) -> *mut u16 { #[inline] pub unsafe fn u_memrchr(s: &u16, c: u16, count: i32) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_memrchr(s: *const u16, c: u16, count: i32) -> *mut u16; } u_memrchr(::core::mem::transmute(s), c, count) @@ -17974,7 +17974,7 @@ pub unsafe fn u_memrchr(s: &u16, c: u16, count: i32) -> *mut u16 { #[inline] pub unsafe fn u_memrchr32(s: &u16, c: i32, count: i32) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_memrchr32(s: *const u16, c: i32, count: i32) -> *mut u16; } u_memrchr32(::core::mem::transmute(s), c, count) @@ -17983,7 +17983,7 @@ pub unsafe fn u_memrchr32(s: &u16, c: i32, count: i32) -> *mut u16 { #[inline] pub unsafe fn u_memset(dest: &mut u16, c: u16, count: i32) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_memset(dest: *mut u16, c: u16, count: i32) -> *mut u16; } u_memset(::core::mem::transmute(dest), c, count) @@ -17995,7 +17995,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_parseMessage(locale: ::windows::core::PCSTR, pattern: *const u16, patternlength: i32, source: *const u16, sourcelength: i32, status: *mut UErrorCode); } u_parseMessage(locale.into(), ::core::mem::transmute(pattern), patternlength, ::core::mem::transmute(source), sourcelength, ::core::mem::transmute(status)) @@ -18007,7 +18007,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_parseMessageWithError(locale: ::windows::core::PCSTR, pattern: *const u16, patternlength: i32, source: *const u16, sourcelength: i32, parseerror: *mut UParseError, status: *mut UErrorCode); } u_parseMessageWithError(locale.into(), ::core::mem::transmute(pattern), patternlength, ::core::mem::transmute(source), sourcelength, ::core::mem::transmute(parseerror), ::core::mem::transmute(status)) @@ -18016,7 +18016,7 @@ where #[inline] pub unsafe fn u_setMemoryFunctions(context: *const ::core::ffi::c_void, a: &mut UMemAllocFn, r: &mut UMemReallocFn, f: &mut UMemFreeFn, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_setMemoryFunctions(context: *const ::core::ffi::c_void, a: *mut *mut ::core::ffi::c_void, r: *mut *mut ::core::ffi::c_void, f: *mut *mut ::core::ffi::c_void, status: *mut UErrorCode); } u_setMemoryFunctions(::core::mem::transmute(context), ::core::mem::transmute(a), ::core::mem::transmute(r), ::core::mem::transmute(f), ::core::mem::transmute(status)) @@ -18025,7 +18025,7 @@ pub unsafe fn u_setMemoryFunctions(context: *const ::core::ffi::c_void, a: &mut #[inline] pub unsafe fn u_shapeArabic(source: &u16, sourcelength: i32, dest: &mut u16, destsize: i32, options: u32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_shapeArabic(source: *const u16, sourcelength: i32, dest: *mut u16, destsize: i32, options: u32, perrorcode: *mut UErrorCode) -> i32; } u_shapeArabic(::core::mem::transmute(source), sourcelength, ::core::mem::transmute(dest), destsize, options, ::core::mem::transmute(perrorcode)) @@ -18034,7 +18034,7 @@ pub unsafe fn u_shapeArabic(source: &u16, sourcelength: i32, dest: &mut u16, des #[inline] pub unsafe fn u_strCaseCompare(s1: &u16, length1: i32, s2: &u16, length2: i32, options: u32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strCaseCompare(s1: *const u16, length1: i32, s2: *const u16, length2: i32, options: u32, perrorcode: *mut UErrorCode) -> i32; } u_strCaseCompare(::core::mem::transmute(s1), length1, ::core::mem::transmute(s2), length2, options, ::core::mem::transmute(perrorcode)) @@ -18043,7 +18043,7 @@ pub unsafe fn u_strCaseCompare(s1: &u16, length1: i32, s2: &u16, length2: i32, o #[inline] pub unsafe fn u_strCompare(s1: &u16, length1: i32, s2: &u16, length2: i32, codepointorder: i8) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strCompare(s1: *const u16, length1: i32, s2: *const u16, length2: i32, codepointorder: i8) -> i32; } u_strCompare(::core::mem::transmute(s1), length1, ::core::mem::transmute(s2), length2, codepointorder) @@ -18052,7 +18052,7 @@ pub unsafe fn u_strCompare(s1: &u16, length1: i32, s2: &u16, length2: i32, codep #[inline] pub unsafe fn u_strCompareIter(iter1: &mut UCharIterator, iter2: &mut UCharIterator, codepointorder: i8) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strCompareIter(iter1: *mut UCharIterator, iter2: *mut UCharIterator, codepointorder: i8) -> i32; } u_strCompareIter(::core::mem::transmute(iter1), ::core::mem::transmute(iter2), codepointorder) @@ -18061,7 +18061,7 @@ pub unsafe fn u_strCompareIter(iter1: &mut UCharIterator, iter2: &mut UCharItera #[inline] pub unsafe fn u_strFindFirst(s: &u16, length: i32, substring: &u16, sublength: i32) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strFindFirst(s: *const u16, length: i32, substring: *const u16, sublength: i32) -> *mut u16; } u_strFindFirst(::core::mem::transmute(s), length, ::core::mem::transmute(substring), sublength) @@ -18070,7 +18070,7 @@ pub unsafe fn u_strFindFirst(s: &u16, length: i32, substring: &u16, sublength: i #[inline] pub unsafe fn u_strFindLast(s: &u16, length: i32, substring: &u16, sublength: i32) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strFindLast(s: *const u16, length: i32, substring: *const u16, sublength: i32) -> *mut u16; } u_strFindLast(::core::mem::transmute(s), length, ::core::mem::transmute(substring), sublength) @@ -18079,7 +18079,7 @@ pub unsafe fn u_strFindLast(s: &u16, length: i32, substring: &u16, sublength: i3 #[inline] pub unsafe fn u_strFoldCase(dest: &mut u16, destcapacity: i32, src: &u16, srclength: i32, options: u32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strFoldCase(dest: *mut u16, destcapacity: i32, src: *const u16, srclength: i32, options: u32, perrorcode: *mut UErrorCode) -> i32; } u_strFoldCase(::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(src), srclength, options, ::core::mem::transmute(perrorcode)) @@ -18091,7 +18091,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strFromJavaModifiedUTF8WithSub(dest: *mut u16, destcapacity: i32, pdestlength: *mut i32, src: ::windows::core::PCSTR, srclength: i32, subchar: i32, pnumsubstitutions: *mut i32, perrorcode: *mut UErrorCode) -> *mut u16; } u_strFromJavaModifiedUTF8WithSub(::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(pdestlength), src.into(), srclength, subchar, ::core::mem::transmute(pnumsubstitutions), ::core::mem::transmute(perrorcode)) @@ -18100,7 +18100,7 @@ where #[inline] pub unsafe fn u_strFromUTF32(dest: &mut u16, destcapacity: i32, pdestlength: &mut i32, src: &i32, srclength: i32, perrorcode: &mut UErrorCode) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strFromUTF32(dest: *mut u16, destcapacity: i32, pdestlength: *mut i32, src: *const i32, srclength: i32, perrorcode: *mut UErrorCode) -> *mut u16; } u_strFromUTF32(::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(pdestlength), ::core::mem::transmute(src), srclength, ::core::mem::transmute(perrorcode)) @@ -18109,7 +18109,7 @@ pub unsafe fn u_strFromUTF32(dest: &mut u16, destcapacity: i32, pdestlength: &mu #[inline] pub unsafe fn u_strFromUTF32WithSub(dest: &mut u16, destcapacity: i32, pdestlength: &mut i32, src: &i32, srclength: i32, subchar: i32, pnumsubstitutions: &mut i32, perrorcode: &mut UErrorCode) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strFromUTF32WithSub(dest: *mut u16, destcapacity: i32, pdestlength: *mut i32, src: *const i32, srclength: i32, subchar: i32, pnumsubstitutions: *mut i32, perrorcode: *mut UErrorCode) -> *mut u16; } u_strFromUTF32WithSub(::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(pdestlength), ::core::mem::transmute(src), srclength, subchar, ::core::mem::transmute(pnumsubstitutions), ::core::mem::transmute(perrorcode)) @@ -18121,7 +18121,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strFromUTF8(dest: *mut u16, destcapacity: i32, pdestlength: *mut i32, src: ::windows::core::PCSTR, srclength: i32, perrorcode: *mut UErrorCode) -> *mut u16; } u_strFromUTF8(::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(pdestlength), src.into(), srclength, ::core::mem::transmute(perrorcode)) @@ -18133,7 +18133,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strFromUTF8Lenient(dest: *mut u16, destcapacity: i32, pdestlength: *mut i32, src: ::windows::core::PCSTR, srclength: i32, perrorcode: *mut UErrorCode) -> *mut u16; } u_strFromUTF8Lenient(::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(pdestlength), src.into(), srclength, ::core::mem::transmute(perrorcode)) @@ -18145,7 +18145,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strFromUTF8WithSub(dest: *mut u16, destcapacity: i32, pdestlength: *mut i32, src: ::windows::core::PCSTR, srclength: i32, subchar: i32, pnumsubstitutions: *mut i32, perrorcode: *mut UErrorCode) -> *mut u16; } u_strFromUTF8WithSub(::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(pdestlength), src.into(), srclength, subchar, ::core::mem::transmute(pnumsubstitutions), ::core::mem::transmute(perrorcode)) @@ -18157,7 +18157,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strFromWCS(dest: *mut u16, destcapacity: i32, pdestlength: *mut i32, src: ::windows::core::PCWSTR, srclength: i32, perrorcode: *mut UErrorCode) -> *mut u16; } u_strFromWCS(::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(pdestlength), src.into(), srclength, ::core::mem::transmute(perrorcode)) @@ -18166,7 +18166,7 @@ where #[inline] pub unsafe fn u_strHasMoreChar32Than(s: &u16, length: i32, number: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strHasMoreChar32Than(s: *const u16, length: i32, number: i32) -> i8; } u_strHasMoreChar32Than(::core::mem::transmute(s), length, number) @@ -18178,7 +18178,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strToJavaModifiedUTF8(dest: ::windows::core::PCSTR, destcapacity: i32, pdestlength: *mut i32, src: *const u16, srclength: i32, perrorcode: *mut UErrorCode) -> ::windows::core::PSTR; } u_strToJavaModifiedUTF8(dest.into(), destcapacity, ::core::mem::transmute(pdestlength), ::core::mem::transmute(src), srclength, ::core::mem::transmute(perrorcode)) @@ -18190,7 +18190,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strToLower(dest: *mut u16, destcapacity: i32, src: *const u16, srclength: i32, locale: ::windows::core::PCSTR, perrorcode: *mut UErrorCode) -> i32; } u_strToLower(::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(src), srclength, locale.into(), ::core::mem::transmute(perrorcode)) @@ -18202,7 +18202,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strToTitle(dest: *mut u16, destcapacity: i32, src: *const u16, srclength: i32, titleiter: *mut UBreakIterator, locale: ::windows::core::PCSTR, perrorcode: *mut UErrorCode) -> i32; } u_strToTitle(::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(src), srclength, ::core::mem::transmute(titleiter), locale.into(), ::core::mem::transmute(perrorcode)) @@ -18211,7 +18211,7 @@ where #[inline] pub unsafe fn u_strToUTF32(dest: &mut i32, destcapacity: i32, pdestlength: &mut i32, src: &u16, srclength: i32, perrorcode: &mut UErrorCode) -> *mut i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strToUTF32(dest: *mut i32, destcapacity: i32, pdestlength: *mut i32, src: *const u16, srclength: i32, perrorcode: *mut UErrorCode) -> *mut i32; } u_strToUTF32(::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(pdestlength), ::core::mem::transmute(src), srclength, ::core::mem::transmute(perrorcode)) @@ -18220,7 +18220,7 @@ pub unsafe fn u_strToUTF32(dest: &mut i32, destcapacity: i32, pdestlength: &mut #[inline] pub unsafe fn u_strToUTF32WithSub(dest: &mut i32, destcapacity: i32, pdestlength: &mut i32, src: &u16, srclength: i32, subchar: i32, pnumsubstitutions: &mut i32, perrorcode: &mut UErrorCode) -> *mut i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strToUTF32WithSub(dest: *mut i32, destcapacity: i32, pdestlength: *mut i32, src: *const u16, srclength: i32, subchar: i32, pnumsubstitutions: *mut i32, perrorcode: *mut UErrorCode) -> *mut i32; } u_strToUTF32WithSub(::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(pdestlength), ::core::mem::transmute(src), srclength, subchar, ::core::mem::transmute(pnumsubstitutions), ::core::mem::transmute(perrorcode)) @@ -18232,7 +18232,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strToUTF8(dest: ::windows::core::PCSTR, destcapacity: i32, pdestlength: *mut i32, src: *const u16, srclength: i32, perrorcode: *mut UErrorCode) -> ::windows::core::PSTR; } u_strToUTF8(dest.into(), destcapacity, ::core::mem::transmute(pdestlength), ::core::mem::transmute(src), srclength, ::core::mem::transmute(perrorcode)) @@ -18244,7 +18244,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strToUTF8WithSub(dest: ::windows::core::PCSTR, destcapacity: i32, pdestlength: *mut i32, src: *const u16, srclength: i32, subchar: i32, pnumsubstitutions: *mut i32, perrorcode: *mut UErrorCode) -> ::windows::core::PSTR; } u_strToUTF8WithSub(dest.into(), destcapacity, ::core::mem::transmute(pdestlength), ::core::mem::transmute(src), srclength, subchar, ::core::mem::transmute(pnumsubstitutions), ::core::mem::transmute(perrorcode)) @@ -18256,7 +18256,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strToUpper(dest: *mut u16, destcapacity: i32, src: *const u16, srclength: i32, locale: ::windows::core::PCSTR, perrorcode: *mut UErrorCode) -> i32; } u_strToUpper(::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(src), srclength, locale.into(), ::core::mem::transmute(perrorcode)) @@ -18268,7 +18268,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strToWCS(dest: ::windows::core::PCWSTR, destcapacity: i32, pdestlength: *mut i32, src: *const u16, srclength: i32, perrorcode: *mut UErrorCode) -> ::windows::core::PWSTR; } u_strToWCS(dest.into(), destcapacity, ::core::mem::transmute(pdestlength), ::core::mem::transmute(src), srclength, ::core::mem::transmute(perrorcode)) @@ -18277,7 +18277,7 @@ where #[inline] pub unsafe fn u_strcasecmp(s1: &u16, s2: &u16, options: u32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strcasecmp(s1: *const u16, s2: *const u16, options: u32) -> i32; } u_strcasecmp(::core::mem::transmute(s1), ::core::mem::transmute(s2), options) @@ -18286,7 +18286,7 @@ pub unsafe fn u_strcasecmp(s1: &u16, s2: &u16, options: u32) -> i32 { #[inline] pub unsafe fn u_strcat(dst: &mut u16, src: &u16) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strcat(dst: *mut u16, src: *const u16) -> *mut u16; } u_strcat(::core::mem::transmute(dst), ::core::mem::transmute(src)) @@ -18295,7 +18295,7 @@ pub unsafe fn u_strcat(dst: &mut u16, src: &u16) -> *mut u16 { #[inline] pub unsafe fn u_strchr(s: &u16, c: u16) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strchr(s: *const u16, c: u16) -> *mut u16; } u_strchr(::core::mem::transmute(s), c) @@ -18304,7 +18304,7 @@ pub unsafe fn u_strchr(s: &u16, c: u16) -> *mut u16 { #[inline] pub unsafe fn u_strchr32(s: &u16, c: i32) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strchr32(s: *const u16, c: i32) -> *mut u16; } u_strchr32(::core::mem::transmute(s), c) @@ -18313,7 +18313,7 @@ pub unsafe fn u_strchr32(s: &u16, c: i32) -> *mut u16 { #[inline] pub unsafe fn u_strcmp(s1: &u16, s2: &u16) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strcmp(s1: *const u16, s2: *const u16) -> i32; } u_strcmp(::core::mem::transmute(s1), ::core::mem::transmute(s2)) @@ -18322,7 +18322,7 @@ pub unsafe fn u_strcmp(s1: &u16, s2: &u16) -> i32 { #[inline] pub unsafe fn u_strcmpCodePointOrder(s1: &u16, s2: &u16) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strcmpCodePointOrder(s1: *const u16, s2: *const u16) -> i32; } u_strcmpCodePointOrder(::core::mem::transmute(s1), ::core::mem::transmute(s2)) @@ -18331,7 +18331,7 @@ pub unsafe fn u_strcmpCodePointOrder(s1: &u16, s2: &u16) -> i32 { #[inline] pub unsafe fn u_strcpy(dst: &mut u16, src: &u16) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strcpy(dst: *mut u16, src: *const u16) -> *mut u16; } u_strcpy(::core::mem::transmute(dst), ::core::mem::transmute(src)) @@ -18340,7 +18340,7 @@ pub unsafe fn u_strcpy(dst: &mut u16, src: &u16) -> *mut u16 { #[inline] pub unsafe fn u_strcspn(string: &u16, matchset: &u16) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strcspn(string: *const u16, matchset: *const u16) -> i32; } u_strcspn(::core::mem::transmute(string), ::core::mem::transmute(matchset)) @@ -18349,7 +18349,7 @@ pub unsafe fn u_strcspn(string: &u16, matchset: &u16) -> i32 { #[inline] pub unsafe fn u_strlen(s: &u16) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strlen(s: *const u16) -> i32; } u_strlen(::core::mem::transmute(s)) @@ -18358,7 +18358,7 @@ pub unsafe fn u_strlen(s: &u16) -> i32 { #[inline] pub unsafe fn u_strncasecmp(s1: &u16, s2: &u16, n: i32, options: u32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strncasecmp(s1: *const u16, s2: *const u16, n: i32, options: u32) -> i32; } u_strncasecmp(::core::mem::transmute(s1), ::core::mem::transmute(s2), n, options) @@ -18367,7 +18367,7 @@ pub unsafe fn u_strncasecmp(s1: &u16, s2: &u16, n: i32, options: u32) -> i32 { #[inline] pub unsafe fn u_strncat(dst: &mut u16, src: &u16, n: i32) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strncat(dst: *mut u16, src: *const u16, n: i32) -> *mut u16; } u_strncat(::core::mem::transmute(dst), ::core::mem::transmute(src), n) @@ -18376,7 +18376,7 @@ pub unsafe fn u_strncat(dst: &mut u16, src: &u16, n: i32) -> *mut u16 { #[inline] pub unsafe fn u_strncmp(ucs1: &u16, ucs2: &u16, n: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strncmp(ucs1: *const u16, ucs2: *const u16, n: i32) -> i32; } u_strncmp(::core::mem::transmute(ucs1), ::core::mem::transmute(ucs2), n) @@ -18385,7 +18385,7 @@ pub unsafe fn u_strncmp(ucs1: &u16, ucs2: &u16, n: i32) -> i32 { #[inline] pub unsafe fn u_strncmpCodePointOrder(s1: &u16, s2: &u16, n: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strncmpCodePointOrder(s1: *const u16, s2: *const u16, n: i32) -> i32; } u_strncmpCodePointOrder(::core::mem::transmute(s1), ::core::mem::transmute(s2), n) @@ -18394,7 +18394,7 @@ pub unsafe fn u_strncmpCodePointOrder(s1: &u16, s2: &u16, n: i32) -> i32 { #[inline] pub unsafe fn u_strncpy(dst: &mut u16, src: &u16, n: i32) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strncpy(dst: *mut u16, src: *const u16, n: i32) -> *mut u16; } u_strncpy(::core::mem::transmute(dst), ::core::mem::transmute(src), n) @@ -18403,7 +18403,7 @@ pub unsafe fn u_strncpy(dst: &mut u16, src: &u16, n: i32) -> *mut u16 { #[inline] pub unsafe fn u_strpbrk(string: &u16, matchset: &u16) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strpbrk(string: *const u16, matchset: *const u16) -> *mut u16; } u_strpbrk(::core::mem::transmute(string), ::core::mem::transmute(matchset)) @@ -18412,7 +18412,7 @@ pub unsafe fn u_strpbrk(string: &u16, matchset: &u16) -> *mut u16 { #[inline] pub unsafe fn u_strrchr(s: &u16, c: u16) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strrchr(s: *const u16, c: u16) -> *mut u16; } u_strrchr(::core::mem::transmute(s), c) @@ -18421,7 +18421,7 @@ pub unsafe fn u_strrchr(s: &u16, c: u16) -> *mut u16 { #[inline] pub unsafe fn u_strrchr32(s: &u16, c: i32) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strrchr32(s: *const u16, c: i32) -> *mut u16; } u_strrchr32(::core::mem::transmute(s), c) @@ -18430,7 +18430,7 @@ pub unsafe fn u_strrchr32(s: &u16, c: i32) -> *mut u16 { #[inline] pub unsafe fn u_strrstr(s: &u16, substring: &u16) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strrstr(s: *const u16, substring: *const u16) -> *mut u16; } u_strrstr(::core::mem::transmute(s), ::core::mem::transmute(substring)) @@ -18439,7 +18439,7 @@ pub unsafe fn u_strrstr(s: &u16, substring: &u16) -> *mut u16 { #[inline] pub unsafe fn u_strspn(string: &u16, matchset: &u16) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strspn(string: *const u16, matchset: *const u16) -> i32; } u_strspn(::core::mem::transmute(string), ::core::mem::transmute(matchset)) @@ -18448,7 +18448,7 @@ pub unsafe fn u_strspn(string: &u16, matchset: &u16) -> i32 { #[inline] pub unsafe fn u_strstr(s: &u16, substring: &u16) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strstr(s: *const u16, substring: *const u16) -> *mut u16; } u_strstr(::core::mem::transmute(s), ::core::mem::transmute(substring)) @@ -18457,7 +18457,7 @@ pub unsafe fn u_strstr(s: &u16, substring: &u16) -> *mut u16 { #[inline] pub unsafe fn u_strtok_r(src: &mut u16, delim: &u16, savestate: &mut *mut u16) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_strtok_r(src: *mut u16, delim: *const u16, savestate: *mut *mut u16) -> *mut u16; } u_strtok_r(::core::mem::transmute(src), ::core::mem::transmute(delim), ::core::mem::transmute(savestate)) @@ -18466,7 +18466,7 @@ pub unsafe fn u_strtok_r(src: &mut u16, delim: &u16, savestate: &mut *mut u16) - #[inline] pub unsafe fn u_tolower(c: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_tolower(c: i32) -> i32; } u_tolower(c) @@ -18475,7 +18475,7 @@ pub unsafe fn u_tolower(c: i32) -> i32 { #[inline] pub unsafe fn u_totitle(c: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_totitle(c: i32) -> i32; } u_totitle(c) @@ -18484,7 +18484,7 @@ pub unsafe fn u_totitle(c: i32) -> i32 { #[inline] pub unsafe fn u_toupper(c: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_toupper(c: i32) -> i32; } u_toupper(c) @@ -18496,7 +18496,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_uastrcpy(dst: *mut u16, src: ::windows::core::PCSTR) -> *mut u16; } u_uastrcpy(::core::mem::transmute(dst), src.into()) @@ -18508,7 +18508,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_uastrncpy(dst: *mut u16, src: ::windows::core::PCSTR, n: i32) -> *mut u16; } u_uastrncpy(::core::mem::transmute(dst), src.into(), n) @@ -18520,7 +18520,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_unescape(src: ::windows::core::PCSTR, dest: *mut u16, destcapacity: i32) -> i32; } u_unescape(src.into(), ::core::mem::transmute(dest), destcapacity) @@ -18529,7 +18529,7 @@ where #[inline] pub unsafe fn u_unescapeAt(charat: UNESCAPE_CHAR_AT, offset: &mut i32, length: i32, context: *mut ::core::ffi::c_void) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_unescapeAt(charat: *mut ::core::ffi::c_void, offset: *mut i32, length: i32, context: *mut ::core::ffi::c_void) -> i32; } u_unescapeAt(::core::mem::transmute(charat), ::core::mem::transmute(offset), length, ::core::mem::transmute(context)) @@ -18541,7 +18541,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_versionFromString(versionarray: *mut u8, versionstring: ::windows::core::PCSTR); } u_versionFromString(::core::mem::transmute(versionarray), versionstring.into()) @@ -18550,7 +18550,7 @@ where #[inline] pub unsafe fn u_versionFromUString(versionarray: &mut u8, versionstring: &u16) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_versionFromUString(versionarray: *mut u8, versionstring: *const u16); } u_versionFromUString(::core::mem::transmute(versionarray), ::core::mem::transmute(versionstring)) @@ -18562,7 +18562,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_versionToString(versionarray: *const u8, versionstring: ::windows::core::PCSTR); } u_versionToString(::core::mem::transmute(versionarray), versionstring.into()) @@ -18574,7 +18574,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_vformatMessage(locale: ::windows::core::PCSTR, pattern: *const u16, patternlength: i32, result: *mut u16, resultlength: i32, ap: *mut i8, status: *mut UErrorCode) -> i32; } u_vformatMessage(locale.into(), ::core::mem::transmute(pattern), patternlength, ::core::mem::transmute(result), resultlength, ::core::mem::transmute(ap), ::core::mem::transmute(status)) @@ -18586,7 +18586,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_vformatMessageWithError(locale: ::windows::core::PCSTR, pattern: *const u16, patternlength: i32, result: *mut u16, resultlength: i32, parseerror: *mut UParseError, ap: *mut i8, status: *mut UErrorCode) -> i32; } u_vformatMessageWithError(locale.into(), ::core::mem::transmute(pattern), patternlength, ::core::mem::transmute(result), resultlength, ::core::mem::transmute(parseerror), ::core::mem::transmute(ap), ::core::mem::transmute(status)) @@ -18598,7 +18598,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_vparseMessage(locale: ::windows::core::PCSTR, pattern: *const u16, patternlength: i32, source: *const u16, sourcelength: i32, ap: *mut i8, status: *mut UErrorCode); } u_vparseMessage(locale.into(), ::core::mem::transmute(pattern), patternlength, ::core::mem::transmute(source), sourcelength, ::core::mem::transmute(ap), ::core::mem::transmute(status)) @@ -18610,7 +18610,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn u_vparseMessageWithError(locale: ::windows::core::PCSTR, pattern: *const u16, patternlength: i32, source: *const u16, sourcelength: i32, ap: *mut i8, parseerror: *mut UParseError, status: *mut UErrorCode); } u_vparseMessageWithError(locale.into(), ::core::mem::transmute(pattern), patternlength, ::core::mem::transmute(source), sourcelength, ::core::mem::transmute(ap), ::core::mem::transmute(parseerror), ::core::mem::transmute(status)) @@ -18619,7 +18619,7 @@ where #[inline] pub unsafe fn ubidi_close(pbidi: &mut UBiDi) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_close(pbidi: *mut UBiDi); } ubidi_close(::core::mem::transmute(pbidi)) @@ -18628,7 +18628,7 @@ pub unsafe fn ubidi_close(pbidi: &mut UBiDi) { #[inline] pub unsafe fn ubidi_countParagraphs(pbidi: &mut UBiDi) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_countParagraphs(pbidi: *mut UBiDi) -> i32; } ubidi_countParagraphs(::core::mem::transmute(pbidi)) @@ -18637,7 +18637,7 @@ pub unsafe fn ubidi_countParagraphs(pbidi: &mut UBiDi) -> i32 { #[inline] pub unsafe fn ubidi_countRuns(pbidi: &mut UBiDi, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_countRuns(pbidi: *mut UBiDi, perrorcode: *mut UErrorCode) -> i32; } ubidi_countRuns(::core::mem::transmute(pbidi), ::core::mem::transmute(perrorcode)) @@ -18646,7 +18646,7 @@ pub unsafe fn ubidi_countRuns(pbidi: &mut UBiDi, perrorcode: &mut UErrorCode) -> #[inline] pub unsafe fn ubidi_getBaseDirection(text: &u16, length: i32) -> UBiDiDirection { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_getBaseDirection(text: *const u16, length: i32) -> UBiDiDirection; } ubidi_getBaseDirection(::core::mem::transmute(text), length) @@ -18655,7 +18655,7 @@ pub unsafe fn ubidi_getBaseDirection(text: &u16, length: i32) -> UBiDiDirection #[inline] pub unsafe fn ubidi_getClassCallback(pbidi: &mut UBiDi, r#fn: &mut UBiDiClassCallback, context: *const *const ::core::ffi::c_void) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_getClassCallback(pbidi: *mut UBiDi, r#fn: *mut *mut ::core::ffi::c_void, context: *const *const ::core::ffi::c_void); } ubidi_getClassCallback(::core::mem::transmute(pbidi), ::core::mem::transmute(r#fn), ::core::mem::transmute(context)) @@ -18664,7 +18664,7 @@ pub unsafe fn ubidi_getClassCallback(pbidi: &mut UBiDi, r#fn: &mut UBiDiClassCal #[inline] pub unsafe fn ubidi_getCustomizedClass(pbidi: &mut UBiDi, c: i32) -> UCharDirection { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_getCustomizedClass(pbidi: *mut UBiDi, c: i32) -> UCharDirection; } ubidi_getCustomizedClass(::core::mem::transmute(pbidi), c) @@ -18673,7 +18673,7 @@ pub unsafe fn ubidi_getCustomizedClass(pbidi: &mut UBiDi, c: i32) -> UCharDirect #[inline] pub unsafe fn ubidi_getDirection(pbidi: &UBiDi) -> UBiDiDirection { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_getDirection(pbidi: *const UBiDi) -> UBiDiDirection; } ubidi_getDirection(::core::mem::transmute(pbidi)) @@ -18682,7 +18682,7 @@ pub unsafe fn ubidi_getDirection(pbidi: &UBiDi) -> UBiDiDirection { #[inline] pub unsafe fn ubidi_getLength(pbidi: &UBiDi) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_getLength(pbidi: *const UBiDi) -> i32; } ubidi_getLength(::core::mem::transmute(pbidi)) @@ -18691,7 +18691,7 @@ pub unsafe fn ubidi_getLength(pbidi: &UBiDi) -> i32 { #[inline] pub unsafe fn ubidi_getLevelAt(pbidi: &UBiDi, charindex: i32) -> u8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_getLevelAt(pbidi: *const UBiDi, charindex: i32) -> u8; } ubidi_getLevelAt(::core::mem::transmute(pbidi), charindex) @@ -18700,7 +18700,7 @@ pub unsafe fn ubidi_getLevelAt(pbidi: &UBiDi, charindex: i32) -> u8 { #[inline] pub unsafe fn ubidi_getLevels(pbidi: &mut UBiDi, perrorcode: &mut UErrorCode) -> *mut u8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_getLevels(pbidi: *mut UBiDi, perrorcode: *mut UErrorCode) -> *mut u8; } ubidi_getLevels(::core::mem::transmute(pbidi), ::core::mem::transmute(perrorcode)) @@ -18709,7 +18709,7 @@ pub unsafe fn ubidi_getLevels(pbidi: &mut UBiDi, perrorcode: &mut UErrorCode) -> #[inline] pub unsafe fn ubidi_getLogicalIndex(pbidi: &mut UBiDi, visualindex: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_getLogicalIndex(pbidi: *mut UBiDi, visualindex: i32, perrorcode: *mut UErrorCode) -> i32; } ubidi_getLogicalIndex(::core::mem::transmute(pbidi), visualindex, ::core::mem::transmute(perrorcode)) @@ -18718,7 +18718,7 @@ pub unsafe fn ubidi_getLogicalIndex(pbidi: &mut UBiDi, visualindex: i32, perrorc #[inline] pub unsafe fn ubidi_getLogicalMap(pbidi: &mut UBiDi, indexmap: &mut i32, perrorcode: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_getLogicalMap(pbidi: *mut UBiDi, indexmap: *mut i32, perrorcode: *mut UErrorCode); } ubidi_getLogicalMap(::core::mem::transmute(pbidi), ::core::mem::transmute(indexmap), ::core::mem::transmute(perrorcode)) @@ -18727,7 +18727,7 @@ pub unsafe fn ubidi_getLogicalMap(pbidi: &mut UBiDi, indexmap: &mut i32, perrorc #[inline] pub unsafe fn ubidi_getLogicalRun(pbidi: &UBiDi, logicalposition: i32, plogicallimit: &mut i32, plevel: &mut u8) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_getLogicalRun(pbidi: *const UBiDi, logicalposition: i32, plogicallimit: *mut i32, plevel: *mut u8); } ubidi_getLogicalRun(::core::mem::transmute(pbidi), logicalposition, ::core::mem::transmute(plogicallimit), ::core::mem::transmute(plevel)) @@ -18736,7 +18736,7 @@ pub unsafe fn ubidi_getLogicalRun(pbidi: &UBiDi, logicalposition: i32, plogicall #[inline] pub unsafe fn ubidi_getParaLevel(pbidi: &UBiDi) -> u8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_getParaLevel(pbidi: *const UBiDi) -> u8; } ubidi_getParaLevel(::core::mem::transmute(pbidi)) @@ -18745,7 +18745,7 @@ pub unsafe fn ubidi_getParaLevel(pbidi: &UBiDi) -> u8 { #[inline] pub unsafe fn ubidi_getParagraph(pbidi: &UBiDi, charindex: i32, pparastart: &mut i32, pparalimit: &mut i32, pparalevel: &mut u8, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_getParagraph(pbidi: *const UBiDi, charindex: i32, pparastart: *mut i32, pparalimit: *mut i32, pparalevel: *mut u8, perrorcode: *mut UErrorCode) -> i32; } ubidi_getParagraph(::core::mem::transmute(pbidi), charindex, ::core::mem::transmute(pparastart), ::core::mem::transmute(pparalimit), ::core::mem::transmute(pparalevel), ::core::mem::transmute(perrorcode)) @@ -18754,7 +18754,7 @@ pub unsafe fn ubidi_getParagraph(pbidi: &UBiDi, charindex: i32, pparastart: &mut #[inline] pub unsafe fn ubidi_getParagraphByIndex(pbidi: &UBiDi, paraindex: i32, pparastart: &mut i32, pparalimit: &mut i32, pparalevel: &mut u8, perrorcode: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_getParagraphByIndex(pbidi: *const UBiDi, paraindex: i32, pparastart: *mut i32, pparalimit: *mut i32, pparalevel: *mut u8, perrorcode: *mut UErrorCode); } ubidi_getParagraphByIndex(::core::mem::transmute(pbidi), paraindex, ::core::mem::transmute(pparastart), ::core::mem::transmute(pparalimit), ::core::mem::transmute(pparalevel), ::core::mem::transmute(perrorcode)) @@ -18763,7 +18763,7 @@ pub unsafe fn ubidi_getParagraphByIndex(pbidi: &UBiDi, paraindex: i32, pparastar #[inline] pub unsafe fn ubidi_getProcessedLength(pbidi: &UBiDi) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_getProcessedLength(pbidi: *const UBiDi) -> i32; } ubidi_getProcessedLength(::core::mem::transmute(pbidi)) @@ -18772,7 +18772,7 @@ pub unsafe fn ubidi_getProcessedLength(pbidi: &UBiDi) -> i32 { #[inline] pub unsafe fn ubidi_getReorderingMode(pbidi: &mut UBiDi) -> UBiDiReorderingMode { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_getReorderingMode(pbidi: *mut UBiDi) -> UBiDiReorderingMode; } ubidi_getReorderingMode(::core::mem::transmute(pbidi)) @@ -18781,7 +18781,7 @@ pub unsafe fn ubidi_getReorderingMode(pbidi: &mut UBiDi) -> UBiDiReorderingMode #[inline] pub unsafe fn ubidi_getReorderingOptions(pbidi: &mut UBiDi) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_getReorderingOptions(pbidi: *mut UBiDi) -> u32; } ubidi_getReorderingOptions(::core::mem::transmute(pbidi)) @@ -18790,7 +18790,7 @@ pub unsafe fn ubidi_getReorderingOptions(pbidi: &mut UBiDi) -> u32 { #[inline] pub unsafe fn ubidi_getResultLength(pbidi: &UBiDi) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_getResultLength(pbidi: *const UBiDi) -> i32; } ubidi_getResultLength(::core::mem::transmute(pbidi)) @@ -18799,7 +18799,7 @@ pub unsafe fn ubidi_getResultLength(pbidi: &UBiDi) -> i32 { #[inline] pub unsafe fn ubidi_getText(pbidi: &UBiDi) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_getText(pbidi: *const UBiDi) -> *mut u16; } ubidi_getText(::core::mem::transmute(pbidi)) @@ -18808,7 +18808,7 @@ pub unsafe fn ubidi_getText(pbidi: &UBiDi) -> *mut u16 { #[inline] pub unsafe fn ubidi_getVisualIndex(pbidi: &mut UBiDi, logicalindex: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_getVisualIndex(pbidi: *mut UBiDi, logicalindex: i32, perrorcode: *mut UErrorCode) -> i32; } ubidi_getVisualIndex(::core::mem::transmute(pbidi), logicalindex, ::core::mem::transmute(perrorcode)) @@ -18817,7 +18817,7 @@ pub unsafe fn ubidi_getVisualIndex(pbidi: &mut UBiDi, logicalindex: i32, perrorc #[inline] pub unsafe fn ubidi_getVisualMap(pbidi: &mut UBiDi, indexmap: &mut i32, perrorcode: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_getVisualMap(pbidi: *mut UBiDi, indexmap: *mut i32, perrorcode: *mut UErrorCode); } ubidi_getVisualMap(::core::mem::transmute(pbidi), ::core::mem::transmute(indexmap), ::core::mem::transmute(perrorcode)) @@ -18826,7 +18826,7 @@ pub unsafe fn ubidi_getVisualMap(pbidi: &mut UBiDi, indexmap: &mut i32, perrorco #[inline] pub unsafe fn ubidi_getVisualRun(pbidi: &mut UBiDi, runindex: i32, plogicalstart: &mut i32, plength: &mut i32) -> UBiDiDirection { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_getVisualRun(pbidi: *mut UBiDi, runindex: i32, plogicalstart: *mut i32, plength: *mut i32) -> UBiDiDirection; } ubidi_getVisualRun(::core::mem::transmute(pbidi), runindex, ::core::mem::transmute(plogicalstart), ::core::mem::transmute(plength)) @@ -18835,7 +18835,7 @@ pub unsafe fn ubidi_getVisualRun(pbidi: &mut UBiDi, runindex: i32, plogicalstart #[inline] pub unsafe fn ubidi_invertMap(srcmap: &i32, destmap: &mut i32, length: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_invertMap(srcmap: *const i32, destmap: *mut i32, length: i32); } ubidi_invertMap(::core::mem::transmute(srcmap), ::core::mem::transmute(destmap), length) @@ -18844,7 +18844,7 @@ pub unsafe fn ubidi_invertMap(srcmap: &i32, destmap: &mut i32, length: i32) { #[inline] pub unsafe fn ubidi_isInverse(pbidi: &mut UBiDi) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_isInverse(pbidi: *mut UBiDi) -> i8; } ubidi_isInverse(::core::mem::transmute(pbidi)) @@ -18853,7 +18853,7 @@ pub unsafe fn ubidi_isInverse(pbidi: &mut UBiDi) -> i8 { #[inline] pub unsafe fn ubidi_isOrderParagraphsLTR(pbidi: &mut UBiDi) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_isOrderParagraphsLTR(pbidi: *mut UBiDi) -> i8; } ubidi_isOrderParagraphsLTR(::core::mem::transmute(pbidi)) @@ -18862,7 +18862,7 @@ pub unsafe fn ubidi_isOrderParagraphsLTR(pbidi: &mut UBiDi) -> i8 { #[inline] pub unsafe fn ubidi_open() -> *mut UBiDi { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_open() -> *mut UBiDi; } ubidi_open() @@ -18871,7 +18871,7 @@ pub unsafe fn ubidi_open() -> *mut UBiDi { #[inline] pub unsafe fn ubidi_openSized(maxlength: i32, maxruncount: i32, perrorcode: &mut UErrorCode) -> *mut UBiDi { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_openSized(maxlength: i32, maxruncount: i32, perrorcode: *mut UErrorCode) -> *mut UBiDi; } ubidi_openSized(maxlength, maxruncount, ::core::mem::transmute(perrorcode)) @@ -18880,7 +18880,7 @@ pub unsafe fn ubidi_openSized(maxlength: i32, maxruncount: i32, perrorcode: &mut #[inline] pub unsafe fn ubidi_orderParagraphsLTR(pbidi: &mut UBiDi, orderparagraphsltr: i8) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_orderParagraphsLTR(pbidi: *mut UBiDi, orderparagraphsltr: i8); } ubidi_orderParagraphsLTR(::core::mem::transmute(pbidi), orderparagraphsltr) @@ -18889,7 +18889,7 @@ pub unsafe fn ubidi_orderParagraphsLTR(pbidi: &mut UBiDi, orderparagraphsltr: i8 #[inline] pub unsafe fn ubidi_reorderLogical(levels: &u8, length: i32, indexmap: &mut i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_reorderLogical(levels: *const u8, length: i32, indexmap: *mut i32); } ubidi_reorderLogical(::core::mem::transmute(levels), length, ::core::mem::transmute(indexmap)) @@ -18898,7 +18898,7 @@ pub unsafe fn ubidi_reorderLogical(levels: &u8, length: i32, indexmap: &mut i32) #[inline] pub unsafe fn ubidi_reorderVisual(levels: &u8, length: i32, indexmap: &mut i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_reorderVisual(levels: *const u8, length: i32, indexmap: *mut i32); } ubidi_reorderVisual(::core::mem::transmute(levels), length, ::core::mem::transmute(indexmap)) @@ -18907,7 +18907,7 @@ pub unsafe fn ubidi_reorderVisual(levels: &u8, length: i32, indexmap: &mut i32) #[inline] pub unsafe fn ubidi_setClassCallback(pbidi: &mut UBiDi, newfn: UBiDiClassCallback, newcontext: *const ::core::ffi::c_void, oldfn: &mut UBiDiClassCallback, oldcontext: *const *const ::core::ffi::c_void, perrorcode: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_setClassCallback(pbidi: *mut UBiDi, newfn: *mut ::core::ffi::c_void, newcontext: *const ::core::ffi::c_void, oldfn: *mut *mut ::core::ffi::c_void, oldcontext: *const *const ::core::ffi::c_void, perrorcode: *mut UErrorCode); } ubidi_setClassCallback(::core::mem::transmute(pbidi), ::core::mem::transmute(newfn), ::core::mem::transmute(newcontext), ::core::mem::transmute(oldfn), ::core::mem::transmute(oldcontext), ::core::mem::transmute(perrorcode)) @@ -18916,7 +18916,7 @@ pub unsafe fn ubidi_setClassCallback(pbidi: &mut UBiDi, newfn: UBiDiClassCallbac #[inline] pub unsafe fn ubidi_setContext(pbidi: &mut UBiDi, prologue: &u16, prolength: i32, epilogue: &u16, epilength: i32, perrorcode: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_setContext(pbidi: *mut UBiDi, prologue: *const u16, prolength: i32, epilogue: *const u16, epilength: i32, perrorcode: *mut UErrorCode); } ubidi_setContext(::core::mem::transmute(pbidi), ::core::mem::transmute(prologue), prolength, ::core::mem::transmute(epilogue), epilength, ::core::mem::transmute(perrorcode)) @@ -18925,7 +18925,7 @@ pub unsafe fn ubidi_setContext(pbidi: &mut UBiDi, prologue: &u16, prolength: i32 #[inline] pub unsafe fn ubidi_setInverse(pbidi: &mut UBiDi, isinverse: i8) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_setInverse(pbidi: *mut UBiDi, isinverse: i8); } ubidi_setInverse(::core::mem::transmute(pbidi), isinverse) @@ -18934,7 +18934,7 @@ pub unsafe fn ubidi_setInverse(pbidi: &mut UBiDi, isinverse: i8) { #[inline] pub unsafe fn ubidi_setLine(pparabidi: &UBiDi, start: i32, limit: i32, plinebidi: &mut UBiDi, perrorcode: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_setLine(pparabidi: *const UBiDi, start: i32, limit: i32, plinebidi: *mut UBiDi, perrorcode: *mut UErrorCode); } ubidi_setLine(::core::mem::transmute(pparabidi), start, limit, ::core::mem::transmute(plinebidi), ::core::mem::transmute(perrorcode)) @@ -18943,7 +18943,7 @@ pub unsafe fn ubidi_setLine(pparabidi: &UBiDi, start: i32, limit: i32, plinebidi #[inline] pub unsafe fn ubidi_setPara(pbidi: &mut UBiDi, text: &u16, length: i32, paralevel: u8, embeddinglevels: &mut u8, perrorcode: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_setPara(pbidi: *mut UBiDi, text: *const u16, length: i32, paralevel: u8, embeddinglevels: *mut u8, perrorcode: *mut UErrorCode); } ubidi_setPara(::core::mem::transmute(pbidi), ::core::mem::transmute(text), length, paralevel, ::core::mem::transmute(embeddinglevels), ::core::mem::transmute(perrorcode)) @@ -18952,7 +18952,7 @@ pub unsafe fn ubidi_setPara(pbidi: &mut UBiDi, text: &u16, length: i32, paraleve #[inline] pub unsafe fn ubidi_setReorderingMode(pbidi: &mut UBiDi, reorderingmode: UBiDiReorderingMode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_setReorderingMode(pbidi: *mut UBiDi, reorderingmode: UBiDiReorderingMode); } ubidi_setReorderingMode(::core::mem::transmute(pbidi), reorderingmode) @@ -18961,7 +18961,7 @@ pub unsafe fn ubidi_setReorderingMode(pbidi: &mut UBiDi, reorderingmode: UBiDiRe #[inline] pub unsafe fn ubidi_setReorderingOptions(pbidi: &mut UBiDi, reorderingoptions: u32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_setReorderingOptions(pbidi: *mut UBiDi, reorderingoptions: u32); } ubidi_setReorderingOptions(::core::mem::transmute(pbidi), reorderingoptions) @@ -18970,7 +18970,7 @@ pub unsafe fn ubidi_setReorderingOptions(pbidi: &mut UBiDi, reorderingoptions: u #[inline] pub unsafe fn ubidi_writeReordered(pbidi: &mut UBiDi, dest: &mut u16, destsize: i32, options: u16, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_writeReordered(pbidi: *mut UBiDi, dest: *mut u16, destsize: i32, options: u16, perrorcode: *mut UErrorCode) -> i32; } ubidi_writeReordered(::core::mem::transmute(pbidi), ::core::mem::transmute(dest), destsize, options, ::core::mem::transmute(perrorcode)) @@ -18979,7 +18979,7 @@ pub unsafe fn ubidi_writeReordered(pbidi: &mut UBiDi, dest: &mut u16, destsize: #[inline] pub unsafe fn ubidi_writeReverse(src: &u16, srclength: i32, dest: &mut u16, destsize: i32, options: u16, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubidi_writeReverse(src: *const u16, srclength: i32, dest: *mut u16, destsize: i32, options: u16, perrorcode: *mut UErrorCode) -> i32; } ubidi_writeReverse(::core::mem::transmute(src), srclength, ::core::mem::transmute(dest), destsize, options, ::core::mem::transmute(perrorcode)) @@ -18988,7 +18988,7 @@ pub unsafe fn ubidi_writeReverse(src: &u16, srclength: i32, dest: &mut u16, dest #[inline] pub unsafe fn ubiditransform_close(pbiditransform: &mut UBiDiTransform) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubiditransform_close(pbiditransform: *mut UBiDiTransform); } ubiditransform_close(::core::mem::transmute(pbiditransform)) @@ -18997,7 +18997,7 @@ pub unsafe fn ubiditransform_close(pbiditransform: &mut UBiDiTransform) { #[inline] pub unsafe fn ubiditransform_open(perrorcode: &mut UErrorCode) -> *mut UBiDiTransform { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubiditransform_open(perrorcode: *mut UErrorCode) -> *mut UBiDiTransform; } ubiditransform_open(::core::mem::transmute(perrorcode)) @@ -19006,7 +19006,7 @@ pub unsafe fn ubiditransform_open(perrorcode: &mut UErrorCode) -> *mut UBiDiTran #[inline] pub unsafe fn ubiditransform_transform(pbiditransform: &mut UBiDiTransform, src: &u16, srclength: i32, dest: &mut u16, destsize: i32, inparalevel: u8, inorder: UBiDiOrder, outparalevel: u8, outorder: UBiDiOrder, domirroring: UBiDiMirroring, shapingoptions: u32, perrorcode: &mut UErrorCode) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubiditransform_transform(pbiditransform: *mut UBiDiTransform, src: *const u16, srclength: i32, dest: *mut u16, destsize: i32, inparalevel: u8, inorder: UBiDiOrder, outparalevel: u8, outorder: UBiDiOrder, domirroring: UBiDiMirroring, shapingoptions: u32, perrorcode: *mut UErrorCode) -> u32; } ubiditransform_transform(::core::mem::transmute(pbiditransform), ::core::mem::transmute(src), srclength, ::core::mem::transmute(dest), destsize, inparalevel, inorder, outparalevel, outorder, domirroring, shapingoptions, ::core::mem::transmute(perrorcode)) @@ -19015,7 +19015,7 @@ pub unsafe fn ubiditransform_transform(pbiditransform: &mut UBiDiTransform, src: #[inline] pub unsafe fn ublock_getCode(c: i32) -> UBlockCode { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ublock_getCode(c: i32) -> UBlockCode; } ublock_getCode(c) @@ -19024,7 +19024,7 @@ pub unsafe fn ublock_getCode(c: i32) -> UBlockCode { #[inline] pub unsafe fn ubrk_close(bi: &mut UBreakIterator) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubrk_close(bi: *mut UBreakIterator); } ubrk_close(::core::mem::transmute(bi)) @@ -19033,7 +19033,7 @@ pub unsafe fn ubrk_close(bi: &mut UBreakIterator) { #[inline] pub unsafe fn ubrk_countAvailable() -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubrk_countAvailable() -> i32; } ubrk_countAvailable() @@ -19042,7 +19042,7 @@ pub unsafe fn ubrk_countAvailable() -> i32 { #[inline] pub unsafe fn ubrk_current(bi: &UBreakIterator) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubrk_current(bi: *const UBreakIterator) -> i32; } ubrk_current(::core::mem::transmute(bi)) @@ -19051,7 +19051,7 @@ pub unsafe fn ubrk_current(bi: &UBreakIterator) -> i32 { #[inline] pub unsafe fn ubrk_first(bi: &mut UBreakIterator) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubrk_first(bi: *mut UBreakIterator) -> i32; } ubrk_first(::core::mem::transmute(bi)) @@ -19060,7 +19060,7 @@ pub unsafe fn ubrk_first(bi: &mut UBreakIterator) -> i32 { #[inline] pub unsafe fn ubrk_following(bi: &mut UBreakIterator, offset: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubrk_following(bi: *mut UBreakIterator, offset: i32) -> i32; } ubrk_following(::core::mem::transmute(bi), offset) @@ -19069,7 +19069,7 @@ pub unsafe fn ubrk_following(bi: &mut UBreakIterator, offset: i32) -> i32 { #[inline] pub unsafe fn ubrk_getAvailable(index: i32) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubrk_getAvailable(index: i32) -> ::windows::core::PSTR; } ubrk_getAvailable(index) @@ -19078,7 +19078,7 @@ pub unsafe fn ubrk_getAvailable(index: i32) -> ::windows::core::PSTR { #[inline] pub unsafe fn ubrk_getBinaryRules(bi: &mut UBreakIterator, binaryrules: &mut u8, rulescapacity: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubrk_getBinaryRules(bi: *mut UBreakIterator, binaryrules: *mut u8, rulescapacity: i32, status: *mut UErrorCode) -> i32; } ubrk_getBinaryRules(::core::mem::transmute(bi), ::core::mem::transmute(binaryrules), rulescapacity, ::core::mem::transmute(status)) @@ -19087,7 +19087,7 @@ pub unsafe fn ubrk_getBinaryRules(bi: &mut UBreakIterator, binaryrules: &mut u8, #[inline] pub unsafe fn ubrk_getLocaleByType(bi: &UBreakIterator, r#type: ULocDataLocaleType, status: &mut UErrorCode) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubrk_getLocaleByType(bi: *const UBreakIterator, r#type: ULocDataLocaleType, status: *mut UErrorCode) -> ::windows::core::PSTR; } ubrk_getLocaleByType(::core::mem::transmute(bi), r#type, ::core::mem::transmute(status)) @@ -19096,7 +19096,7 @@ pub unsafe fn ubrk_getLocaleByType(bi: &UBreakIterator, r#type: ULocDataLocaleTy #[inline] pub unsafe fn ubrk_getRuleStatus(bi: &mut UBreakIterator) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubrk_getRuleStatus(bi: *mut UBreakIterator) -> i32; } ubrk_getRuleStatus(::core::mem::transmute(bi)) @@ -19105,7 +19105,7 @@ pub unsafe fn ubrk_getRuleStatus(bi: &mut UBreakIterator) -> i32 { #[inline] pub unsafe fn ubrk_getRuleStatusVec(bi: &mut UBreakIterator, fillinvec: &mut i32, capacity: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubrk_getRuleStatusVec(bi: *mut UBreakIterator, fillinvec: *mut i32, capacity: i32, status: *mut UErrorCode) -> i32; } ubrk_getRuleStatusVec(::core::mem::transmute(bi), ::core::mem::transmute(fillinvec), capacity, ::core::mem::transmute(status)) @@ -19114,7 +19114,7 @@ pub unsafe fn ubrk_getRuleStatusVec(bi: &mut UBreakIterator, fillinvec: &mut i32 #[inline] pub unsafe fn ubrk_isBoundary(bi: &mut UBreakIterator, offset: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubrk_isBoundary(bi: *mut UBreakIterator, offset: i32) -> i8; } ubrk_isBoundary(::core::mem::transmute(bi), offset) @@ -19123,7 +19123,7 @@ pub unsafe fn ubrk_isBoundary(bi: &mut UBreakIterator, offset: i32) -> i8 { #[inline] pub unsafe fn ubrk_last(bi: &mut UBreakIterator) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubrk_last(bi: *mut UBreakIterator) -> i32; } ubrk_last(::core::mem::transmute(bi)) @@ -19132,7 +19132,7 @@ pub unsafe fn ubrk_last(bi: &mut UBreakIterator) -> i32 { #[inline] pub unsafe fn ubrk_next(bi: &mut UBreakIterator) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubrk_next(bi: *mut UBreakIterator) -> i32; } ubrk_next(::core::mem::transmute(bi)) @@ -19144,7 +19144,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubrk_open(r#type: UBreakIteratorType, locale: ::windows::core::PCSTR, text: *const u16, textlength: i32, status: *mut UErrorCode) -> *mut UBreakIterator; } ubrk_open(r#type, locale.into(), ::core::mem::transmute(text), textlength, ::core::mem::transmute(status)) @@ -19153,7 +19153,7 @@ where #[inline] pub unsafe fn ubrk_openBinaryRules(binaryrules: &u8, ruleslength: i32, text: &u16, textlength: i32, status: &mut UErrorCode) -> *mut UBreakIterator { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubrk_openBinaryRules(binaryrules: *const u8, ruleslength: i32, text: *const u16, textlength: i32, status: *mut UErrorCode) -> *mut UBreakIterator; } ubrk_openBinaryRules(::core::mem::transmute(binaryrules), ruleslength, ::core::mem::transmute(text), textlength, ::core::mem::transmute(status)) @@ -19162,7 +19162,7 @@ pub unsafe fn ubrk_openBinaryRules(binaryrules: &u8, ruleslength: i32, text: &u1 #[inline] pub unsafe fn ubrk_openRules(rules: &u16, ruleslength: i32, text: &u16, textlength: i32, parseerr: &mut UParseError, status: &mut UErrorCode) -> *mut UBreakIterator { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubrk_openRules(rules: *const u16, ruleslength: i32, text: *const u16, textlength: i32, parseerr: *mut UParseError, status: *mut UErrorCode) -> *mut UBreakIterator; } ubrk_openRules(::core::mem::transmute(rules), ruleslength, ::core::mem::transmute(text), textlength, ::core::mem::transmute(parseerr), ::core::mem::transmute(status)) @@ -19171,7 +19171,7 @@ pub unsafe fn ubrk_openRules(rules: &u16, ruleslength: i32, text: &u16, textleng #[inline] pub unsafe fn ubrk_preceding(bi: &mut UBreakIterator, offset: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubrk_preceding(bi: *mut UBreakIterator, offset: i32) -> i32; } ubrk_preceding(::core::mem::transmute(bi), offset) @@ -19180,7 +19180,7 @@ pub unsafe fn ubrk_preceding(bi: &mut UBreakIterator, offset: i32) -> i32 { #[inline] pub unsafe fn ubrk_previous(bi: &mut UBreakIterator) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubrk_previous(bi: *mut UBreakIterator) -> i32; } ubrk_previous(::core::mem::transmute(bi)) @@ -19189,7 +19189,7 @@ pub unsafe fn ubrk_previous(bi: &mut UBreakIterator) -> i32 { #[inline] pub unsafe fn ubrk_refreshUText(bi: &mut UBreakIterator, text: &mut UText, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubrk_refreshUText(bi: *mut UBreakIterator, text: *mut UText, status: *mut UErrorCode); } ubrk_refreshUText(::core::mem::transmute(bi), ::core::mem::transmute(text), ::core::mem::transmute(status)) @@ -19198,7 +19198,7 @@ pub unsafe fn ubrk_refreshUText(bi: &mut UBreakIterator, text: &mut UText, statu #[inline] pub unsafe fn ubrk_safeClone(bi: &UBreakIterator, stackbuffer: *mut ::core::ffi::c_void, pbuffersize: &mut i32, status: &mut UErrorCode) -> *mut UBreakIterator { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubrk_safeClone(bi: *const UBreakIterator, stackbuffer: *mut ::core::ffi::c_void, pbuffersize: *mut i32, status: *mut UErrorCode) -> *mut UBreakIterator; } ubrk_safeClone(::core::mem::transmute(bi), ::core::mem::transmute(stackbuffer), ::core::mem::transmute(pbuffersize), ::core::mem::transmute(status)) @@ -19207,7 +19207,7 @@ pub unsafe fn ubrk_safeClone(bi: &UBreakIterator, stackbuffer: *mut ::core::ffi: #[inline] pub unsafe fn ubrk_setText(bi: &mut UBreakIterator, text: &u16, textlength: i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubrk_setText(bi: *mut UBreakIterator, text: *const u16, textlength: i32, status: *mut UErrorCode); } ubrk_setText(::core::mem::transmute(bi), ::core::mem::transmute(text), textlength, ::core::mem::transmute(status)) @@ -19216,7 +19216,7 @@ pub unsafe fn ubrk_setText(bi: &mut UBreakIterator, text: &u16, textlength: i32, #[inline] pub unsafe fn ubrk_setUText(bi: &mut UBreakIterator, text: &mut UText, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ubrk_setUText(bi: *mut UBreakIterator, text: *mut UText, status: *mut UErrorCode); } ubrk_setUText(::core::mem::transmute(bi), ::core::mem::transmute(text), ::core::mem::transmute(status)) @@ -19225,7 +19225,7 @@ pub unsafe fn ubrk_setUText(bi: &mut UBreakIterator, text: &mut UText, status: & #[inline] pub unsafe fn ucal_add(cal: *mut *mut ::core::ffi::c_void, field: UCalendarDateFields, amount: i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_add(cal: *mut *mut ::core::ffi::c_void, field: UCalendarDateFields, amount: i32, status: *mut UErrorCode); } ucal_add(::core::mem::transmute(cal), field, amount, ::core::mem::transmute(status)) @@ -19234,7 +19234,7 @@ pub unsafe fn ucal_add(cal: *mut *mut ::core::ffi::c_void, field: UCalendarDateF #[inline] pub unsafe fn ucal_clear(calendar: *mut *mut ::core::ffi::c_void) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_clear(calendar: *mut *mut ::core::ffi::c_void); } ucal_clear(::core::mem::transmute(calendar)) @@ -19243,7 +19243,7 @@ pub unsafe fn ucal_clear(calendar: *mut *mut ::core::ffi::c_void) { #[inline] pub unsafe fn ucal_clearField(cal: *mut *mut ::core::ffi::c_void, field: UCalendarDateFields) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_clearField(cal: *mut *mut ::core::ffi::c_void, field: UCalendarDateFields); } ucal_clearField(::core::mem::transmute(cal), field) @@ -19252,7 +19252,7 @@ pub unsafe fn ucal_clearField(cal: *mut *mut ::core::ffi::c_void, field: UCalend #[inline] pub unsafe fn ucal_clone(cal: *const *const ::core::ffi::c_void, status: &mut UErrorCode) -> *mut *mut ::core::ffi::c_void { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_clone(cal: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; } ucal_clone(::core::mem::transmute(cal), ::core::mem::transmute(status)) @@ -19261,7 +19261,7 @@ pub unsafe fn ucal_clone(cal: *const *const ::core::ffi::c_void, status: &mut UE #[inline] pub unsafe fn ucal_close(cal: *mut *mut ::core::ffi::c_void) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_close(cal: *mut *mut ::core::ffi::c_void); } ucal_close(::core::mem::transmute(cal)) @@ -19270,7 +19270,7 @@ pub unsafe fn ucal_close(cal: *mut *mut ::core::ffi::c_void) { #[inline] pub unsafe fn ucal_countAvailable() -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_countAvailable() -> i32; } ucal_countAvailable() @@ -19279,7 +19279,7 @@ pub unsafe fn ucal_countAvailable() -> i32 { #[inline] pub unsafe fn ucal_equivalentTo(cal1: *const *const ::core::ffi::c_void, cal2: *const *const ::core::ffi::c_void) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_equivalentTo(cal1: *const *const ::core::ffi::c_void, cal2: *const *const ::core::ffi::c_void) -> i8; } ucal_equivalentTo(::core::mem::transmute(cal1), ::core::mem::transmute(cal2)) @@ -19288,7 +19288,7 @@ pub unsafe fn ucal_equivalentTo(cal1: *const *const ::core::ffi::c_void, cal2: * #[inline] pub unsafe fn ucal_get(cal: *const *const ::core::ffi::c_void, field: UCalendarDateFields, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_get(cal: *const *const ::core::ffi::c_void, field: UCalendarDateFields, status: *mut UErrorCode) -> i32; } ucal_get(::core::mem::transmute(cal), field, ::core::mem::transmute(status)) @@ -19297,7 +19297,7 @@ pub unsafe fn ucal_get(cal: *const *const ::core::ffi::c_void, field: UCalendarD #[inline] pub unsafe fn ucal_getAttribute(cal: *const *const ::core::ffi::c_void, attr: UCalendarAttribute) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_getAttribute(cal: *const *const ::core::ffi::c_void, attr: UCalendarAttribute) -> i32; } ucal_getAttribute(::core::mem::transmute(cal), attr) @@ -19306,7 +19306,7 @@ pub unsafe fn ucal_getAttribute(cal: *const *const ::core::ffi::c_void, attr: UC #[inline] pub unsafe fn ucal_getAvailable(localeindex: i32) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_getAvailable(localeindex: i32) -> ::windows::core::PSTR; } ucal_getAvailable(localeindex) @@ -19315,7 +19315,7 @@ pub unsafe fn ucal_getAvailable(localeindex: i32) -> ::windows::core::PSTR { #[inline] pub unsafe fn ucal_getCanonicalTimeZoneID(id: &u16, len: i32, result: &mut u16, resultcapacity: i32, issystemid: &mut i8, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_getCanonicalTimeZoneID(id: *const u16, len: i32, result: *mut u16, resultcapacity: i32, issystemid: *mut i8, status: *mut UErrorCode) -> i32; } ucal_getCanonicalTimeZoneID(::core::mem::transmute(id), len, ::core::mem::transmute(result), resultcapacity, ::core::mem::transmute(issystemid), ::core::mem::transmute(status)) @@ -19324,7 +19324,7 @@ pub unsafe fn ucal_getCanonicalTimeZoneID(id: &u16, len: i32, result: &mut u16, #[inline] pub unsafe fn ucal_getDSTSavings(zoneid: &u16, ec: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_getDSTSavings(zoneid: *const u16, ec: *mut UErrorCode) -> i32; } ucal_getDSTSavings(::core::mem::transmute(zoneid), ::core::mem::transmute(ec)) @@ -19333,7 +19333,7 @@ pub unsafe fn ucal_getDSTSavings(zoneid: &u16, ec: &mut UErrorCode) -> i32 { #[inline] pub unsafe fn ucal_getDayOfWeekType(cal: *const *const ::core::ffi::c_void, dayofweek: UCalendarDaysOfWeek, status: &mut UErrorCode) -> UCalendarWeekdayType { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_getDayOfWeekType(cal: *const *const ::core::ffi::c_void, dayofweek: UCalendarDaysOfWeek, status: *mut UErrorCode) -> UCalendarWeekdayType; } ucal_getDayOfWeekType(::core::mem::transmute(cal), dayofweek, ::core::mem::transmute(status)) @@ -19342,7 +19342,7 @@ pub unsafe fn ucal_getDayOfWeekType(cal: *const *const ::core::ffi::c_void, dayo #[inline] pub unsafe fn ucal_getDefaultTimeZone(result: &mut u16, resultcapacity: i32, ec: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_getDefaultTimeZone(result: *mut u16, resultcapacity: i32, ec: *mut UErrorCode) -> i32; } ucal_getDefaultTimeZone(::core::mem::transmute(result), resultcapacity, ::core::mem::transmute(ec)) @@ -19351,7 +19351,7 @@ pub unsafe fn ucal_getDefaultTimeZone(result: &mut u16, resultcapacity: i32, ec: #[inline] pub unsafe fn ucal_getFieldDifference(cal: *mut *mut ::core::ffi::c_void, target: f64, field: UCalendarDateFields, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_getFieldDifference(cal: *mut *mut ::core::ffi::c_void, target: f64, field: UCalendarDateFields, status: *mut UErrorCode) -> i32; } ucal_getFieldDifference(::core::mem::transmute(cal), target, field, ::core::mem::transmute(status)) @@ -19360,7 +19360,7 @@ pub unsafe fn ucal_getFieldDifference(cal: *mut *mut ::core::ffi::c_void, target #[inline] pub unsafe fn ucal_getGregorianChange(cal: *const *const ::core::ffi::c_void, perrorcode: &mut UErrorCode) -> f64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_getGregorianChange(cal: *const *const ::core::ffi::c_void, perrorcode: *mut UErrorCode) -> f64; } ucal_getGregorianChange(::core::mem::transmute(cal), ::core::mem::transmute(perrorcode)) @@ -19369,7 +19369,7 @@ pub unsafe fn ucal_getGregorianChange(cal: *const *const ::core::ffi::c_void, pe #[inline] pub unsafe fn ucal_getHostTimeZone(result: &mut u16, resultcapacity: i32, ec: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_getHostTimeZone(result: *mut u16, resultcapacity: i32, ec: *mut UErrorCode) -> i32; } ucal_getHostTimeZone(::core::mem::transmute(result), resultcapacity, ::core::mem::transmute(ec)) @@ -19382,7 +19382,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_getKeywordValuesForLocale(key: ::windows::core::PCSTR, locale: ::windows::core::PCSTR, commonlyused: i8, status: *mut UErrorCode) -> *mut UEnumeration; } ucal_getKeywordValuesForLocale(key.into(), locale.into(), commonlyused, ::core::mem::transmute(status)) @@ -19391,7 +19391,7 @@ where #[inline] pub unsafe fn ucal_getLimit(cal: *const *const ::core::ffi::c_void, field: UCalendarDateFields, r#type: UCalendarLimitType, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_getLimit(cal: *const *const ::core::ffi::c_void, field: UCalendarDateFields, r#type: UCalendarLimitType, status: *mut UErrorCode) -> i32; } ucal_getLimit(::core::mem::transmute(cal), field, r#type, ::core::mem::transmute(status)) @@ -19400,7 +19400,7 @@ pub unsafe fn ucal_getLimit(cal: *const *const ::core::ffi::c_void, field: UCale #[inline] pub unsafe fn ucal_getLocaleByType(cal: *const *const ::core::ffi::c_void, r#type: ULocDataLocaleType, status: &mut UErrorCode) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_getLocaleByType(cal: *const *const ::core::ffi::c_void, r#type: ULocDataLocaleType, status: *mut UErrorCode) -> ::windows::core::PSTR; } ucal_getLocaleByType(::core::mem::transmute(cal), r#type, ::core::mem::transmute(status)) @@ -19409,7 +19409,7 @@ pub unsafe fn ucal_getLocaleByType(cal: *const *const ::core::ffi::c_void, r#typ #[inline] pub unsafe fn ucal_getMillis(cal: *const *const ::core::ffi::c_void, status: &mut UErrorCode) -> f64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_getMillis(cal: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> f64; } ucal_getMillis(::core::mem::transmute(cal), ::core::mem::transmute(status)) @@ -19418,7 +19418,7 @@ pub unsafe fn ucal_getMillis(cal: *const *const ::core::ffi::c_void, status: &mu #[inline] pub unsafe fn ucal_getNow() -> f64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_getNow() -> f64; } ucal_getNow() @@ -19427,7 +19427,7 @@ pub unsafe fn ucal_getNow() -> f64 { #[inline] pub unsafe fn ucal_getTZDataVersion(status: &mut UErrorCode) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_getTZDataVersion(status: *mut UErrorCode) -> ::windows::core::PSTR; } ucal_getTZDataVersion(::core::mem::transmute(status)) @@ -19439,7 +19439,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_getTimeZoneDisplayName(cal: *const *const ::core::ffi::c_void, r#type: UCalendarDisplayNameType, locale: ::windows::core::PCSTR, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; } ucal_getTimeZoneDisplayName(::core::mem::transmute(cal), r#type, locale.into(), ::core::mem::transmute(result), resultlength, ::core::mem::transmute(status)) @@ -19448,7 +19448,7 @@ where #[inline] pub unsafe fn ucal_getTimeZoneID(cal: *const *const ::core::ffi::c_void, result: &mut u16, resultlength: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_getTimeZoneID(cal: *const *const ::core::ffi::c_void, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; } ucal_getTimeZoneID(::core::mem::transmute(cal), ::core::mem::transmute(result), resultlength, ::core::mem::transmute(status)) @@ -19460,7 +19460,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_getTimeZoneIDForWindowsID(winid: *const u16, len: i32, region: ::windows::core::PCSTR, id: *mut u16, idcapacity: i32, status: *mut UErrorCode) -> i32; } ucal_getTimeZoneIDForWindowsID(::core::mem::transmute(winid), len, region.into(), ::core::mem::transmute(id), idcapacity, ::core::mem::transmute(status)) @@ -19469,7 +19469,7 @@ where #[inline] pub unsafe fn ucal_getTimeZoneTransitionDate(cal: *const *const ::core::ffi::c_void, r#type: UTimeZoneTransitionType, transition: &mut f64, status: &mut UErrorCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_getTimeZoneTransitionDate(cal: *const *const ::core::ffi::c_void, r#type: UTimeZoneTransitionType, transition: *mut f64, status: *mut UErrorCode) -> i8; } ucal_getTimeZoneTransitionDate(::core::mem::transmute(cal), r#type, ::core::mem::transmute(transition), ::core::mem::transmute(status)) @@ -19478,7 +19478,7 @@ pub unsafe fn ucal_getTimeZoneTransitionDate(cal: *const *const ::core::ffi::c_v #[inline] pub unsafe fn ucal_getType(cal: *const *const ::core::ffi::c_void, status: &mut UErrorCode) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_getType(cal: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> ::windows::core::PSTR; } ucal_getType(::core::mem::transmute(cal), ::core::mem::transmute(status)) @@ -19487,7 +19487,7 @@ pub unsafe fn ucal_getType(cal: *const *const ::core::ffi::c_void, status: &mut #[inline] pub unsafe fn ucal_getWeekendTransition(cal: *const *const ::core::ffi::c_void, dayofweek: UCalendarDaysOfWeek, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_getWeekendTransition(cal: *const *const ::core::ffi::c_void, dayofweek: UCalendarDaysOfWeek, status: *mut UErrorCode) -> i32; } ucal_getWeekendTransition(::core::mem::transmute(cal), dayofweek, ::core::mem::transmute(status)) @@ -19496,7 +19496,7 @@ pub unsafe fn ucal_getWeekendTransition(cal: *const *const ::core::ffi::c_void, #[inline] pub unsafe fn ucal_getWindowsTimeZoneID(id: &u16, len: i32, winid: &mut u16, winidcapacity: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_getWindowsTimeZoneID(id: *const u16, len: i32, winid: *mut u16, winidcapacity: i32, status: *mut UErrorCode) -> i32; } ucal_getWindowsTimeZoneID(::core::mem::transmute(id), len, ::core::mem::transmute(winid), winidcapacity, ::core::mem::transmute(status)) @@ -19505,7 +19505,7 @@ pub unsafe fn ucal_getWindowsTimeZoneID(id: &u16, len: i32, winid: &mut u16, win #[inline] pub unsafe fn ucal_inDaylightTime(cal: *const *const ::core::ffi::c_void, status: &mut UErrorCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_inDaylightTime(cal: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> i8; } ucal_inDaylightTime(::core::mem::transmute(cal), ::core::mem::transmute(status)) @@ -19514,7 +19514,7 @@ pub unsafe fn ucal_inDaylightTime(cal: *const *const ::core::ffi::c_void, status #[inline] pub unsafe fn ucal_isSet(cal: *const *const ::core::ffi::c_void, field: UCalendarDateFields) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_isSet(cal: *const *const ::core::ffi::c_void, field: UCalendarDateFields) -> i8; } ucal_isSet(::core::mem::transmute(cal), field) @@ -19523,7 +19523,7 @@ pub unsafe fn ucal_isSet(cal: *const *const ::core::ffi::c_void, field: UCalenda #[inline] pub unsafe fn ucal_isWeekend(cal: *const *const ::core::ffi::c_void, date: f64, status: &mut UErrorCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_isWeekend(cal: *const *const ::core::ffi::c_void, date: f64, status: *mut UErrorCode) -> i8; } ucal_isWeekend(::core::mem::transmute(cal), date, ::core::mem::transmute(status)) @@ -19535,7 +19535,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_open(zoneid: *const u16, len: i32, locale: ::windows::core::PCSTR, r#type: UCalendarType, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; } ucal_open(::core::mem::transmute(zoneid), len, locale.into(), r#type, ::core::mem::transmute(status)) @@ -19547,7 +19547,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_openCountryTimeZones(country: ::windows::core::PCSTR, ec: *mut UErrorCode) -> *mut UEnumeration; } ucal_openCountryTimeZones(country.into(), ::core::mem::transmute(ec)) @@ -19559,7 +19559,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_openTimeZoneIDEnumeration(zonetype: USystemTimeZoneType, region: ::windows::core::PCSTR, rawoffset: *const i32, ec: *mut UErrorCode) -> *mut UEnumeration; } ucal_openTimeZoneIDEnumeration(zonetype, region.into(), ::core::mem::transmute(rawoffset), ::core::mem::transmute(ec)) @@ -19568,7 +19568,7 @@ where #[inline] pub unsafe fn ucal_openTimeZones(ec: &mut UErrorCode) -> *mut UEnumeration { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_openTimeZones(ec: *mut UErrorCode) -> *mut UEnumeration; } ucal_openTimeZones(::core::mem::transmute(ec)) @@ -19577,7 +19577,7 @@ pub unsafe fn ucal_openTimeZones(ec: &mut UErrorCode) -> *mut UEnumeration { #[inline] pub unsafe fn ucal_roll(cal: *mut *mut ::core::ffi::c_void, field: UCalendarDateFields, amount: i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_roll(cal: *mut *mut ::core::ffi::c_void, field: UCalendarDateFields, amount: i32, status: *mut UErrorCode); } ucal_roll(::core::mem::transmute(cal), field, amount, ::core::mem::transmute(status)) @@ -19586,7 +19586,7 @@ pub unsafe fn ucal_roll(cal: *mut *mut ::core::ffi::c_void, field: UCalendarDate #[inline] pub unsafe fn ucal_set(cal: *mut *mut ::core::ffi::c_void, field: UCalendarDateFields, value: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_set(cal: *mut *mut ::core::ffi::c_void, field: UCalendarDateFields, value: i32); } ucal_set(::core::mem::transmute(cal), field, value) @@ -19595,7 +19595,7 @@ pub unsafe fn ucal_set(cal: *mut *mut ::core::ffi::c_void, field: UCalendarDateF #[inline] pub unsafe fn ucal_setAttribute(cal: *mut *mut ::core::ffi::c_void, attr: UCalendarAttribute, newvalue: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_setAttribute(cal: *mut *mut ::core::ffi::c_void, attr: UCalendarAttribute, newvalue: i32); } ucal_setAttribute(::core::mem::transmute(cal), attr, newvalue) @@ -19604,7 +19604,7 @@ pub unsafe fn ucal_setAttribute(cal: *mut *mut ::core::ffi::c_void, attr: UCalen #[inline] pub unsafe fn ucal_setDate(cal: *mut *mut ::core::ffi::c_void, year: i32, month: i32, date: i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_setDate(cal: *mut *mut ::core::ffi::c_void, year: i32, month: i32, date: i32, status: *mut UErrorCode); } ucal_setDate(::core::mem::transmute(cal), year, month, date, ::core::mem::transmute(status)) @@ -19613,7 +19613,7 @@ pub unsafe fn ucal_setDate(cal: *mut *mut ::core::ffi::c_void, year: i32, month: #[inline] pub unsafe fn ucal_setDateTime(cal: *mut *mut ::core::ffi::c_void, year: i32, month: i32, date: i32, hour: i32, minute: i32, second: i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_setDateTime(cal: *mut *mut ::core::ffi::c_void, year: i32, month: i32, date: i32, hour: i32, minute: i32, second: i32, status: *mut UErrorCode); } ucal_setDateTime(::core::mem::transmute(cal), year, month, date, hour, minute, second, ::core::mem::transmute(status)) @@ -19622,7 +19622,7 @@ pub unsafe fn ucal_setDateTime(cal: *mut *mut ::core::ffi::c_void, year: i32, mo #[inline] pub unsafe fn ucal_setDefaultTimeZone(zoneid: &u16, ec: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_setDefaultTimeZone(zoneid: *const u16, ec: *mut UErrorCode); } ucal_setDefaultTimeZone(::core::mem::transmute(zoneid), ::core::mem::transmute(ec)) @@ -19631,7 +19631,7 @@ pub unsafe fn ucal_setDefaultTimeZone(zoneid: &u16, ec: &mut UErrorCode) { #[inline] pub unsafe fn ucal_setGregorianChange(cal: *mut *mut ::core::ffi::c_void, date: f64, perrorcode: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_setGregorianChange(cal: *mut *mut ::core::ffi::c_void, date: f64, perrorcode: *mut UErrorCode); } ucal_setGregorianChange(::core::mem::transmute(cal), date, ::core::mem::transmute(perrorcode)) @@ -19640,7 +19640,7 @@ pub unsafe fn ucal_setGregorianChange(cal: *mut *mut ::core::ffi::c_void, date: #[inline] pub unsafe fn ucal_setMillis(cal: *mut *mut ::core::ffi::c_void, datetime: f64, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_setMillis(cal: *mut *mut ::core::ffi::c_void, datetime: f64, status: *mut UErrorCode); } ucal_setMillis(::core::mem::transmute(cal), datetime, ::core::mem::transmute(status)) @@ -19649,7 +19649,7 @@ pub unsafe fn ucal_setMillis(cal: *mut *mut ::core::ffi::c_void, datetime: f64, #[inline] pub unsafe fn ucal_setTimeZone(cal: *mut *mut ::core::ffi::c_void, zoneid: &u16, len: i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucal_setTimeZone(cal: *mut *mut ::core::ffi::c_void, zoneid: *const u16, len: i32, status: *mut UErrorCode); } ucal_setTimeZone(::core::mem::transmute(cal), ::core::mem::transmute(zoneid), len, ::core::mem::transmute(status)) @@ -19658,7 +19658,7 @@ pub unsafe fn ucal_setTimeZone(cal: *mut *mut ::core::ffi::c_void, zoneid: &u16, #[inline] pub unsafe fn ucasemap_close(csm: &mut UCaseMap) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucasemap_close(csm: *mut UCaseMap); } ucasemap_close(::core::mem::transmute(csm)) @@ -19667,7 +19667,7 @@ pub unsafe fn ucasemap_close(csm: &mut UCaseMap) { #[inline] pub unsafe fn ucasemap_getBreakIterator(csm: &UCaseMap) -> *mut UBreakIterator { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucasemap_getBreakIterator(csm: *const UCaseMap) -> *mut UBreakIterator; } ucasemap_getBreakIterator(::core::mem::transmute(csm)) @@ -19676,7 +19676,7 @@ pub unsafe fn ucasemap_getBreakIterator(csm: &UCaseMap) -> *mut UBreakIterator { #[inline] pub unsafe fn ucasemap_getLocale(csm: &UCaseMap) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucasemap_getLocale(csm: *const UCaseMap) -> ::windows::core::PSTR; } ucasemap_getLocale(::core::mem::transmute(csm)) @@ -19685,7 +19685,7 @@ pub unsafe fn ucasemap_getLocale(csm: &UCaseMap) -> ::windows::core::PSTR { #[inline] pub unsafe fn ucasemap_getOptions(csm: &UCaseMap) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucasemap_getOptions(csm: *const UCaseMap) -> u32; } ucasemap_getOptions(::core::mem::transmute(csm)) @@ -19697,7 +19697,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucasemap_open(locale: ::windows::core::PCSTR, options: u32, perrorcode: *mut UErrorCode) -> *mut UCaseMap; } ucasemap_open(locale.into(), options, ::core::mem::transmute(perrorcode)) @@ -19706,7 +19706,7 @@ where #[inline] pub unsafe fn ucasemap_setBreakIterator(csm: &mut UCaseMap, itertoadopt: &mut UBreakIterator, perrorcode: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucasemap_setBreakIterator(csm: *mut UCaseMap, itertoadopt: *mut UBreakIterator, perrorcode: *mut UErrorCode); } ucasemap_setBreakIterator(::core::mem::transmute(csm), ::core::mem::transmute(itertoadopt), ::core::mem::transmute(perrorcode)) @@ -19718,7 +19718,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucasemap_setLocale(csm: *mut UCaseMap, locale: ::windows::core::PCSTR, perrorcode: *mut UErrorCode); } ucasemap_setLocale(::core::mem::transmute(csm), locale.into(), ::core::mem::transmute(perrorcode)) @@ -19727,7 +19727,7 @@ where #[inline] pub unsafe fn ucasemap_setOptions(csm: &mut UCaseMap, options: u32, perrorcode: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucasemap_setOptions(csm: *mut UCaseMap, options: u32, perrorcode: *mut UErrorCode); } ucasemap_setOptions(::core::mem::transmute(csm), options, ::core::mem::transmute(perrorcode)) @@ -19736,7 +19736,7 @@ pub unsafe fn ucasemap_setOptions(csm: &mut UCaseMap, options: u32, perrorcode: #[inline] pub unsafe fn ucasemap_toTitle(csm: &mut UCaseMap, dest: &mut u16, destcapacity: i32, src: &u16, srclength: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucasemap_toTitle(csm: *mut UCaseMap, dest: *mut u16, destcapacity: i32, src: *const u16, srclength: i32, perrorcode: *mut UErrorCode) -> i32; } ucasemap_toTitle(::core::mem::transmute(csm), ::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(src), srclength, ::core::mem::transmute(perrorcode)) @@ -19749,7 +19749,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucasemap_utf8FoldCase(csm: *const UCaseMap, dest: ::windows::core::PCSTR, destcapacity: i32, src: ::windows::core::PCSTR, srclength: i32, perrorcode: *mut UErrorCode) -> i32; } ucasemap_utf8FoldCase(::core::mem::transmute(csm), dest.into(), destcapacity, src.into(), srclength, ::core::mem::transmute(perrorcode)) @@ -19762,7 +19762,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucasemap_utf8ToLower(csm: *const UCaseMap, dest: ::windows::core::PCSTR, destcapacity: i32, src: ::windows::core::PCSTR, srclength: i32, perrorcode: *mut UErrorCode) -> i32; } ucasemap_utf8ToLower(::core::mem::transmute(csm), dest.into(), destcapacity, src.into(), srclength, ::core::mem::transmute(perrorcode)) @@ -19775,7 +19775,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucasemap_utf8ToTitle(csm: *mut UCaseMap, dest: ::windows::core::PCSTR, destcapacity: i32, src: ::windows::core::PCSTR, srclength: i32, perrorcode: *mut UErrorCode) -> i32; } ucasemap_utf8ToTitle(::core::mem::transmute(csm), dest.into(), destcapacity, src.into(), srclength, ::core::mem::transmute(perrorcode)) @@ -19788,7 +19788,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucasemap_utf8ToUpper(csm: *const UCaseMap, dest: ::windows::core::PCSTR, destcapacity: i32, src: ::windows::core::PCSTR, srclength: i32, perrorcode: *mut UErrorCode) -> i32; } ucasemap_utf8ToUpper(::core::mem::transmute(csm), dest.into(), destcapacity, src.into(), srclength, ::core::mem::transmute(perrorcode)) @@ -19797,7 +19797,7 @@ where #[inline] pub unsafe fn ucfpos_close(ucfpos: &mut UConstrainedFieldPosition) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucfpos_close(ucfpos: *mut UConstrainedFieldPosition); } ucfpos_close(::core::mem::transmute(ucfpos)) @@ -19806,7 +19806,7 @@ pub unsafe fn ucfpos_close(ucfpos: &mut UConstrainedFieldPosition) { #[inline] pub unsafe fn ucfpos_constrainCategory(ucfpos: &mut UConstrainedFieldPosition, category: i32, ec: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucfpos_constrainCategory(ucfpos: *mut UConstrainedFieldPosition, category: i32, ec: *mut UErrorCode); } ucfpos_constrainCategory(::core::mem::transmute(ucfpos), category, ::core::mem::transmute(ec)) @@ -19815,7 +19815,7 @@ pub unsafe fn ucfpos_constrainCategory(ucfpos: &mut UConstrainedFieldPosition, c #[inline] pub unsafe fn ucfpos_constrainField(ucfpos: &mut UConstrainedFieldPosition, category: i32, field: i32, ec: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucfpos_constrainField(ucfpos: *mut UConstrainedFieldPosition, category: i32, field: i32, ec: *mut UErrorCode); } ucfpos_constrainField(::core::mem::transmute(ucfpos), category, field, ::core::mem::transmute(ec)) @@ -19824,7 +19824,7 @@ pub unsafe fn ucfpos_constrainField(ucfpos: &mut UConstrainedFieldPosition, cate #[inline] pub unsafe fn ucfpos_getCategory(ucfpos: &UConstrainedFieldPosition, ec: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucfpos_getCategory(ucfpos: *const UConstrainedFieldPosition, ec: *mut UErrorCode) -> i32; } ucfpos_getCategory(::core::mem::transmute(ucfpos), ::core::mem::transmute(ec)) @@ -19833,7 +19833,7 @@ pub unsafe fn ucfpos_getCategory(ucfpos: &UConstrainedFieldPosition, ec: &mut UE #[inline] pub unsafe fn ucfpos_getField(ucfpos: &UConstrainedFieldPosition, ec: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucfpos_getField(ucfpos: *const UConstrainedFieldPosition, ec: *mut UErrorCode) -> i32; } ucfpos_getField(::core::mem::transmute(ucfpos), ::core::mem::transmute(ec)) @@ -19842,7 +19842,7 @@ pub unsafe fn ucfpos_getField(ucfpos: &UConstrainedFieldPosition, ec: &mut UErro #[inline] pub unsafe fn ucfpos_getIndexes(ucfpos: &UConstrainedFieldPosition, pstart: &mut i32, plimit: &mut i32, ec: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucfpos_getIndexes(ucfpos: *const UConstrainedFieldPosition, pstart: *mut i32, plimit: *mut i32, ec: *mut UErrorCode); } ucfpos_getIndexes(::core::mem::transmute(ucfpos), ::core::mem::transmute(pstart), ::core::mem::transmute(plimit), ::core::mem::transmute(ec)) @@ -19851,7 +19851,7 @@ pub unsafe fn ucfpos_getIndexes(ucfpos: &UConstrainedFieldPosition, pstart: &mut #[inline] pub unsafe fn ucfpos_getInt64IterationContext(ucfpos: &UConstrainedFieldPosition, ec: &mut UErrorCode) -> i64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucfpos_getInt64IterationContext(ucfpos: *const UConstrainedFieldPosition, ec: *mut UErrorCode) -> i64; } ucfpos_getInt64IterationContext(::core::mem::transmute(ucfpos), ::core::mem::transmute(ec)) @@ -19860,7 +19860,7 @@ pub unsafe fn ucfpos_getInt64IterationContext(ucfpos: &UConstrainedFieldPosition #[inline] pub unsafe fn ucfpos_matchesField(ucfpos: &UConstrainedFieldPosition, category: i32, field: i32, ec: &mut UErrorCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucfpos_matchesField(ucfpos: *const UConstrainedFieldPosition, category: i32, field: i32, ec: *mut UErrorCode) -> i8; } ucfpos_matchesField(::core::mem::transmute(ucfpos), category, field, ::core::mem::transmute(ec)) @@ -19869,7 +19869,7 @@ pub unsafe fn ucfpos_matchesField(ucfpos: &UConstrainedFieldPosition, category: #[inline] pub unsafe fn ucfpos_open(ec: &mut UErrorCode) -> *mut UConstrainedFieldPosition { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucfpos_open(ec: *mut UErrorCode) -> *mut UConstrainedFieldPosition; } ucfpos_open(::core::mem::transmute(ec)) @@ -19878,7 +19878,7 @@ pub unsafe fn ucfpos_open(ec: &mut UErrorCode) -> *mut UConstrainedFieldPosition #[inline] pub unsafe fn ucfpos_reset(ucfpos: &mut UConstrainedFieldPosition, ec: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucfpos_reset(ucfpos: *mut UConstrainedFieldPosition, ec: *mut UErrorCode); } ucfpos_reset(::core::mem::transmute(ucfpos), ::core::mem::transmute(ec)) @@ -19887,7 +19887,7 @@ pub unsafe fn ucfpos_reset(ucfpos: &mut UConstrainedFieldPosition, ec: &mut UErr #[inline] pub unsafe fn ucfpos_setInt64IterationContext(ucfpos: &mut UConstrainedFieldPosition, context: i64, ec: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucfpos_setInt64IterationContext(ucfpos: *mut UConstrainedFieldPosition, context: i64, ec: *mut UErrorCode); } ucfpos_setInt64IterationContext(::core::mem::transmute(ucfpos), context, ::core::mem::transmute(ec)) @@ -19896,7 +19896,7 @@ pub unsafe fn ucfpos_setInt64IterationContext(ucfpos: &mut UConstrainedFieldPosi #[inline] pub unsafe fn ucfpos_setState(ucfpos: &mut UConstrainedFieldPosition, category: i32, field: i32, start: i32, limit: i32, ec: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucfpos_setState(ucfpos: *mut UConstrainedFieldPosition, category: i32, field: i32, start: i32, limit: i32, ec: *mut UErrorCode); } ucfpos_setState(::core::mem::transmute(ucfpos), category, field, start, limit, ::core::mem::transmute(ec)) @@ -19908,7 +19908,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_cbFromUWriteBytes(args: *mut UConverterFromUnicodeArgs, source: ::windows::core::PCSTR, length: i32, offsetindex: i32, err: *mut UErrorCode); } ucnv_cbFromUWriteBytes(::core::mem::transmute(args), source.into(), length, offsetindex, ::core::mem::transmute(err)) @@ -19917,7 +19917,7 @@ where #[inline] pub unsafe fn ucnv_cbFromUWriteSub(args: &mut UConverterFromUnicodeArgs, offsetindex: i32, err: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_cbFromUWriteSub(args: *mut UConverterFromUnicodeArgs, offsetindex: i32, err: *mut UErrorCode); } ucnv_cbFromUWriteSub(::core::mem::transmute(args), offsetindex, ::core::mem::transmute(err)) @@ -19926,7 +19926,7 @@ pub unsafe fn ucnv_cbFromUWriteSub(args: &mut UConverterFromUnicodeArgs, offseti #[inline] pub unsafe fn ucnv_cbFromUWriteUChars(args: &mut UConverterFromUnicodeArgs, source: &*const u16, sourcelimit: &u16, offsetindex: i32, err: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_cbFromUWriteUChars(args: *mut UConverterFromUnicodeArgs, source: *const *const u16, sourcelimit: *const u16, offsetindex: i32, err: *mut UErrorCode); } ucnv_cbFromUWriteUChars(::core::mem::transmute(args), ::core::mem::transmute(source), ::core::mem::transmute(sourcelimit), offsetindex, ::core::mem::transmute(err)) @@ -19935,7 +19935,7 @@ pub unsafe fn ucnv_cbFromUWriteUChars(args: &mut UConverterFromUnicodeArgs, sour #[inline] pub unsafe fn ucnv_cbToUWriteSub(args: &mut UConverterToUnicodeArgs, offsetindex: i32, err: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_cbToUWriteSub(args: *mut UConverterToUnicodeArgs, offsetindex: i32, err: *mut UErrorCode); } ucnv_cbToUWriteSub(::core::mem::transmute(args), offsetindex, ::core::mem::transmute(err)) @@ -19944,7 +19944,7 @@ pub unsafe fn ucnv_cbToUWriteSub(args: &mut UConverterToUnicodeArgs, offsetindex #[inline] pub unsafe fn ucnv_cbToUWriteUChars(args: &mut UConverterToUnicodeArgs, source: &u16, length: i32, offsetindex: i32, err: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_cbToUWriteUChars(args: *mut UConverterToUnicodeArgs, source: *const u16, length: i32, offsetindex: i32, err: *mut UErrorCode); } ucnv_cbToUWriteUChars(::core::mem::transmute(args), ::core::mem::transmute(source), length, offsetindex, ::core::mem::transmute(err)) @@ -19953,7 +19953,7 @@ pub unsafe fn ucnv_cbToUWriteUChars(args: &mut UConverterToUnicodeArgs, source: #[inline] pub unsafe fn ucnv_close(converter: &mut UConverter) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_close(converter: *mut UConverter); } ucnv_close(::core::mem::transmute(converter)) @@ -19966,7 +19966,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_compareNames(name1: ::windows::core::PCSTR, name2: ::windows::core::PCSTR) -> i32; } ucnv_compareNames(name1.into(), name2.into()) @@ -19981,7 +19981,7 @@ where P3: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_convert(toconvertername: ::windows::core::PCSTR, fromconvertername: ::windows::core::PCSTR, target: ::windows::core::PCSTR, targetcapacity: i32, source: ::windows::core::PCSTR, sourcelength: i32, perrorcode: *mut UErrorCode) -> i32; } ucnv_convert(toconvertername.into(), fromconvertername.into(), target.into(), targetcapacity, source.into(), sourcelength, ::core::mem::transmute(perrorcode)) @@ -19994,7 +19994,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_convertEx(targetcnv: *mut UConverter, sourcecnv: *mut UConverter, target: *mut *mut i8, targetlimit: ::windows::core::PCSTR, source: *const *const i8, sourcelimit: ::windows::core::PCSTR, pivotstart: *mut u16, pivotsource: *mut *mut u16, pivottarget: *mut *mut u16, pivotlimit: *const u16, reset: i8, flush: i8, perrorcode: *mut UErrorCode); } ucnv_convertEx(::core::mem::transmute(targetcnv), ::core::mem::transmute(sourcecnv), ::core::mem::transmute(target), targetlimit.into(), ::core::mem::transmute(source), sourcelimit.into(), ::core::mem::transmute(pivotstart), ::core::mem::transmute(pivotsource), ::core::mem::transmute(pivottarget), ::core::mem::transmute(pivotlimit), reset, flush, ::core::mem::transmute(perrorcode)) @@ -20006,7 +20006,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_countAliases(alias: ::windows::core::PCSTR, perrorcode: *mut UErrorCode) -> u16; } ucnv_countAliases(alias.into(), ::core::mem::transmute(perrorcode)) @@ -20015,7 +20015,7 @@ where #[inline] pub unsafe fn ucnv_countAvailable() -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_countAvailable() -> i32; } ucnv_countAvailable() @@ -20024,7 +20024,7 @@ pub unsafe fn ucnv_countAvailable() -> i32 { #[inline] pub unsafe fn ucnv_countStandards() -> u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_countStandards() -> u16; } ucnv_countStandards() @@ -20036,7 +20036,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_detectUnicodeSignature(source: ::windows::core::PCSTR, sourcelength: i32, signaturelength: *mut i32, perrorcode: *mut UErrorCode) -> ::windows::core::PSTR; } ucnv_detectUnicodeSignature(source.into(), sourcelength, ::core::mem::transmute(signaturelength), ::core::mem::transmute(perrorcode)) @@ -20045,7 +20045,7 @@ where #[inline] pub unsafe fn ucnv_fixFileSeparator(cnv: &UConverter, source: &mut u16, sourcelen: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_fixFileSeparator(cnv: *const UConverter, source: *mut u16, sourcelen: i32); } ucnv_fixFileSeparator(::core::mem::transmute(cnv), ::core::mem::transmute(source), sourcelen) @@ -20054,7 +20054,7 @@ pub unsafe fn ucnv_fixFileSeparator(cnv: &UConverter, source: &mut u16, sourcele #[inline] pub unsafe fn ucnv_flushCache() -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_flushCache() -> i32; } ucnv_flushCache() @@ -20067,7 +20067,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_fromAlgorithmic(cnv: *mut UConverter, algorithmictype: UConverterType, target: ::windows::core::PCSTR, targetcapacity: i32, source: ::windows::core::PCSTR, sourcelength: i32, perrorcode: *mut UErrorCode) -> i32; } ucnv_fromAlgorithmic(::core::mem::transmute(cnv), algorithmictype, target.into(), targetcapacity, source.into(), sourcelength, ::core::mem::transmute(perrorcode)) @@ -20079,7 +20079,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_fromUChars(cnv: *mut UConverter, dest: ::windows::core::PCSTR, destcapacity: i32, src: *const u16, srclength: i32, perrorcode: *mut UErrorCode) -> i32; } ucnv_fromUChars(::core::mem::transmute(cnv), dest.into(), destcapacity, ::core::mem::transmute(src), srclength, ::core::mem::transmute(perrorcode)) @@ -20088,7 +20088,7 @@ where #[inline] pub unsafe fn ucnv_fromUCountPending(cnv: &UConverter, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_fromUCountPending(cnv: *const UConverter, status: *mut UErrorCode) -> i32; } ucnv_fromUCountPending(::core::mem::transmute(cnv), ::core::mem::transmute(status)) @@ -20100,7 +20100,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_fromUnicode(converter: *mut UConverter, target: *mut *mut i8, targetlimit: ::windows::core::PCSTR, source: *const *const u16, sourcelimit: *const u16, offsets: *mut i32, flush: i8, err: *mut UErrorCode); } ucnv_fromUnicode(::core::mem::transmute(converter), ::core::mem::transmute(target), targetlimit.into(), ::core::mem::transmute(source), ::core::mem::transmute(sourcelimit), ::core::mem::transmute(offsets), flush, ::core::mem::transmute(err)) @@ -20112,7 +20112,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_getAlias(alias: ::windows::core::PCSTR, n: u16, perrorcode: *mut UErrorCode) -> ::windows::core::PSTR; } ucnv_getAlias(alias.into(), n, ::core::mem::transmute(perrorcode)) @@ -20124,7 +20124,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_getAliases(alias: ::windows::core::PCSTR, aliases: *const *const i8, perrorcode: *mut UErrorCode); } ucnv_getAliases(alias.into(), ::core::mem::transmute(aliases), ::core::mem::transmute(perrorcode)) @@ -20133,7 +20133,7 @@ where #[inline] pub unsafe fn ucnv_getAvailableName(n: i32) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_getAvailableName(n: i32) -> ::windows::core::PSTR; } ucnv_getAvailableName(n) @@ -20142,7 +20142,7 @@ pub unsafe fn ucnv_getAvailableName(n: i32) -> ::windows::core::PSTR { #[inline] pub unsafe fn ucnv_getCCSID(converter: &UConverter, err: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_getCCSID(converter: *const UConverter, err: *mut UErrorCode) -> i32; } ucnv_getCCSID(::core::mem::transmute(converter), ::core::mem::transmute(err)) @@ -20155,7 +20155,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_getCanonicalName(alias: ::windows::core::PCSTR, standard: ::windows::core::PCSTR, perrorcode: *mut UErrorCode) -> ::windows::core::PSTR; } ucnv_getCanonicalName(alias.into(), standard.into(), ::core::mem::transmute(perrorcode)) @@ -20164,7 +20164,7 @@ where #[inline] pub unsafe fn ucnv_getDefaultName() -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_getDefaultName() -> ::windows::core::PSTR; } ucnv_getDefaultName() @@ -20176,7 +20176,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_getDisplayName(converter: *const UConverter, displaylocale: ::windows::core::PCSTR, displayname: *mut u16, displaynamecapacity: i32, err: *mut UErrorCode) -> i32; } ucnv_getDisplayName(::core::mem::transmute(converter), displaylocale.into(), ::core::mem::transmute(displayname), displaynamecapacity, ::core::mem::transmute(err)) @@ -20185,7 +20185,7 @@ where #[inline] pub unsafe fn ucnv_getFromUCallBack(converter: &UConverter, action: &mut UConverterFromUCallback, context: *const *const ::core::ffi::c_void) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_getFromUCallBack(converter: *const UConverter, action: *mut *mut ::core::ffi::c_void, context: *const *const ::core::ffi::c_void); } ucnv_getFromUCallBack(::core::mem::transmute(converter), ::core::mem::transmute(action), ::core::mem::transmute(context)) @@ -20197,7 +20197,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_getInvalidChars(converter: *const UConverter, errbytes: ::windows::core::PCSTR, len: *mut i8, err: *mut UErrorCode); } ucnv_getInvalidChars(::core::mem::transmute(converter), errbytes.into(), ::core::mem::transmute(len), ::core::mem::transmute(err)) @@ -20206,7 +20206,7 @@ where #[inline] pub unsafe fn ucnv_getInvalidUChars(converter: &UConverter, erruchars: &mut u16, len: &mut i8, err: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_getInvalidUChars(converter: *const UConverter, erruchars: *mut u16, len: *mut i8, err: *mut UErrorCode); } ucnv_getInvalidUChars(::core::mem::transmute(converter), ::core::mem::transmute(erruchars), ::core::mem::transmute(len), ::core::mem::transmute(err)) @@ -20215,7 +20215,7 @@ pub unsafe fn ucnv_getInvalidUChars(converter: &UConverter, erruchars: &mut u16, #[inline] pub unsafe fn ucnv_getMaxCharSize(converter: &UConverter) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_getMaxCharSize(converter: *const UConverter) -> i8; } ucnv_getMaxCharSize(::core::mem::transmute(converter)) @@ -20224,7 +20224,7 @@ pub unsafe fn ucnv_getMaxCharSize(converter: &UConverter) -> i8 { #[inline] pub unsafe fn ucnv_getMinCharSize(converter: &UConverter) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_getMinCharSize(converter: *const UConverter) -> i8; } ucnv_getMinCharSize(::core::mem::transmute(converter)) @@ -20233,7 +20233,7 @@ pub unsafe fn ucnv_getMinCharSize(converter: &UConverter) -> i8 { #[inline] pub unsafe fn ucnv_getName(converter: &UConverter, err: &mut UErrorCode) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_getName(converter: *const UConverter, err: *mut UErrorCode) -> ::windows::core::PSTR; } ucnv_getName(::core::mem::transmute(converter), ::core::mem::transmute(err)) @@ -20245,7 +20245,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_getNextUChar(converter: *mut UConverter, source: *const *const i8, sourcelimit: ::windows::core::PCSTR, err: *mut UErrorCode) -> i32; } ucnv_getNextUChar(::core::mem::transmute(converter), ::core::mem::transmute(source), sourcelimit.into(), ::core::mem::transmute(err)) @@ -20254,7 +20254,7 @@ where #[inline] pub unsafe fn ucnv_getPlatform(converter: &UConverter, err: &mut UErrorCode) -> UConverterPlatform { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_getPlatform(converter: *const UConverter, err: *mut UErrorCode) -> UConverterPlatform; } ucnv_getPlatform(::core::mem::transmute(converter), ::core::mem::transmute(err)) @@ -20263,7 +20263,7 @@ pub unsafe fn ucnv_getPlatform(converter: &UConverter, err: &mut UErrorCode) -> #[inline] pub unsafe fn ucnv_getStandard(n: u16, perrorcode: &mut UErrorCode) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_getStandard(n: u16, perrorcode: *mut UErrorCode) -> ::windows::core::PSTR; } ucnv_getStandard(n, ::core::mem::transmute(perrorcode)) @@ -20276,7 +20276,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_getStandardName(name: ::windows::core::PCSTR, standard: ::windows::core::PCSTR, perrorcode: *mut UErrorCode) -> ::windows::core::PSTR; } ucnv_getStandardName(name.into(), standard.into(), ::core::mem::transmute(perrorcode)) @@ -20285,7 +20285,7 @@ where #[inline] pub unsafe fn ucnv_getStarters(converter: &UConverter, starters: &mut i8, err: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_getStarters(converter: *const UConverter, starters: *mut i8, err: *mut UErrorCode); } ucnv_getStarters(::core::mem::transmute(converter), ::core::mem::transmute(starters), ::core::mem::transmute(err)) @@ -20297,7 +20297,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_getSubstChars(converter: *const UConverter, subchars: ::windows::core::PCSTR, len: *mut i8, err: *mut UErrorCode); } ucnv_getSubstChars(::core::mem::transmute(converter), subchars.into(), ::core::mem::transmute(len), ::core::mem::transmute(err)) @@ -20306,7 +20306,7 @@ where #[inline] pub unsafe fn ucnv_getToUCallBack(converter: &UConverter, action: &mut UConverterToUCallback, context: *const *const ::core::ffi::c_void) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_getToUCallBack(converter: *const UConverter, action: *mut *mut ::core::ffi::c_void, context: *const *const ::core::ffi::c_void); } ucnv_getToUCallBack(::core::mem::transmute(converter), ::core::mem::transmute(action), ::core::mem::transmute(context)) @@ -20315,7 +20315,7 @@ pub unsafe fn ucnv_getToUCallBack(converter: &UConverter, action: &mut UConverte #[inline] pub unsafe fn ucnv_getType(converter: &UConverter) -> UConverterType { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_getType(converter: *const UConverter) -> UConverterType; } ucnv_getType(::core::mem::transmute(converter)) @@ -20324,7 +20324,7 @@ pub unsafe fn ucnv_getType(converter: &UConverter) -> UConverterType { #[inline] pub unsafe fn ucnv_getUnicodeSet(cnv: &UConverter, setfillin: &mut USet, whichset: UConverterUnicodeSet, perrorcode: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_getUnicodeSet(cnv: *const UConverter, setfillin: *mut USet, whichset: UConverterUnicodeSet, perrorcode: *mut UErrorCode); } ucnv_getUnicodeSet(::core::mem::transmute(cnv), ::core::mem::transmute(setfillin), whichset, ::core::mem::transmute(perrorcode)) @@ -20333,7 +20333,7 @@ pub unsafe fn ucnv_getUnicodeSet(cnv: &UConverter, setfillin: &mut USet, whichse #[inline] pub unsafe fn ucnv_isAmbiguous(cnv: &UConverter) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_isAmbiguous(cnv: *const UConverter) -> i8; } ucnv_isAmbiguous(::core::mem::transmute(cnv)) @@ -20342,7 +20342,7 @@ pub unsafe fn ucnv_isAmbiguous(cnv: &UConverter) -> i8 { #[inline] pub unsafe fn ucnv_isFixedWidth(cnv: &mut UConverter, status: &mut UErrorCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_isFixedWidth(cnv: *mut UConverter, status: *mut UErrorCode) -> i8; } ucnv_isFixedWidth(::core::mem::transmute(cnv), ::core::mem::transmute(status)) @@ -20354,7 +20354,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_open(convertername: ::windows::core::PCSTR, err: *mut UErrorCode) -> *mut UConverter; } ucnv_open(convertername.into(), ::core::mem::transmute(err)) @@ -20363,7 +20363,7 @@ where #[inline] pub unsafe fn ucnv_openAllNames(perrorcode: &mut UErrorCode) -> *mut UEnumeration { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_openAllNames(perrorcode: *mut UErrorCode) -> *mut UEnumeration; } ucnv_openAllNames(::core::mem::transmute(perrorcode)) @@ -20372,7 +20372,7 @@ pub unsafe fn ucnv_openAllNames(perrorcode: &mut UErrorCode) -> *mut UEnumeratio #[inline] pub unsafe fn ucnv_openCCSID(codepage: i32, platform: UConverterPlatform, err: &mut UErrorCode) -> *mut UConverter { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_openCCSID(codepage: i32, platform: UConverterPlatform, err: *mut UErrorCode) -> *mut UConverter; } ucnv_openCCSID(codepage, platform, ::core::mem::transmute(err)) @@ -20385,7 +20385,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_openPackage(packagename: ::windows::core::PCSTR, convertername: ::windows::core::PCSTR, err: *mut UErrorCode) -> *mut UConverter; } ucnv_openPackage(packagename.into(), convertername.into(), ::core::mem::transmute(err)) @@ -20398,7 +20398,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_openStandardNames(convname: ::windows::core::PCSTR, standard: ::windows::core::PCSTR, perrorcode: *mut UErrorCode) -> *mut UEnumeration; } ucnv_openStandardNames(convname.into(), standard.into(), ::core::mem::transmute(perrorcode)) @@ -20407,7 +20407,7 @@ where #[inline] pub unsafe fn ucnv_openU(name: &u16, err: &mut UErrorCode) -> *mut UConverter { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_openU(name: *const u16, err: *mut UErrorCode) -> *mut UConverter; } ucnv_openU(::core::mem::transmute(name), ::core::mem::transmute(err)) @@ -20416,7 +20416,7 @@ pub unsafe fn ucnv_openU(name: &u16, err: &mut UErrorCode) -> *mut UConverter { #[inline] pub unsafe fn ucnv_reset(converter: &mut UConverter) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_reset(converter: *mut UConverter); } ucnv_reset(::core::mem::transmute(converter)) @@ -20425,7 +20425,7 @@ pub unsafe fn ucnv_reset(converter: &mut UConverter) { #[inline] pub unsafe fn ucnv_resetFromUnicode(converter: &mut UConverter) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_resetFromUnicode(converter: *mut UConverter); } ucnv_resetFromUnicode(::core::mem::transmute(converter)) @@ -20434,7 +20434,7 @@ pub unsafe fn ucnv_resetFromUnicode(converter: &mut UConverter) { #[inline] pub unsafe fn ucnv_resetToUnicode(converter: &mut UConverter) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_resetToUnicode(converter: *mut UConverter); } ucnv_resetToUnicode(::core::mem::transmute(converter)) @@ -20443,7 +20443,7 @@ pub unsafe fn ucnv_resetToUnicode(converter: &mut UConverter) { #[inline] pub unsafe fn ucnv_safeClone(cnv: &UConverter, stackbuffer: *mut ::core::ffi::c_void, pbuffersize: &mut i32, status: &mut UErrorCode) -> *mut UConverter { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_safeClone(cnv: *const UConverter, stackbuffer: *mut ::core::ffi::c_void, pbuffersize: *mut i32, status: *mut UErrorCode) -> *mut UConverter; } ucnv_safeClone(::core::mem::transmute(cnv), ::core::mem::transmute(stackbuffer), ::core::mem::transmute(pbuffersize), ::core::mem::transmute(status)) @@ -20455,7 +20455,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_setDefaultName(name: ::windows::core::PCSTR); } ucnv_setDefaultName(name.into()) @@ -20464,7 +20464,7 @@ where #[inline] pub unsafe fn ucnv_setFallback(cnv: &mut UConverter, usesfallback: i8) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_setFallback(cnv: *mut UConverter, usesfallback: i8); } ucnv_setFallback(::core::mem::transmute(cnv), usesfallback) @@ -20473,7 +20473,7 @@ pub unsafe fn ucnv_setFallback(cnv: &mut UConverter, usesfallback: i8) { #[inline] pub unsafe fn ucnv_setFromUCallBack(converter: &mut UConverter, newaction: UConverterFromUCallback, newcontext: *const ::core::ffi::c_void, oldaction: &mut UConverterFromUCallback, oldcontext: *const *const ::core::ffi::c_void, err: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_setFromUCallBack(converter: *mut UConverter, newaction: *mut ::core::ffi::c_void, newcontext: *const ::core::ffi::c_void, oldaction: *mut *mut ::core::ffi::c_void, oldcontext: *const *const ::core::ffi::c_void, err: *mut UErrorCode); } ucnv_setFromUCallBack(::core::mem::transmute(converter), ::core::mem::transmute(newaction), ::core::mem::transmute(newcontext), ::core::mem::transmute(oldaction), ::core::mem::transmute(oldcontext), ::core::mem::transmute(err)) @@ -20485,7 +20485,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_setSubstChars(converter: *mut UConverter, subchars: ::windows::core::PCSTR, len: i8, err: *mut UErrorCode); } ucnv_setSubstChars(::core::mem::transmute(converter), subchars.into(), len, ::core::mem::transmute(err)) @@ -20494,7 +20494,7 @@ where #[inline] pub unsafe fn ucnv_setSubstString(cnv: &mut UConverter, s: &u16, length: i32, err: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_setSubstString(cnv: *mut UConverter, s: *const u16, length: i32, err: *mut UErrorCode); } ucnv_setSubstString(::core::mem::transmute(cnv), ::core::mem::transmute(s), length, ::core::mem::transmute(err)) @@ -20503,7 +20503,7 @@ pub unsafe fn ucnv_setSubstString(cnv: &mut UConverter, s: &u16, length: i32, er #[inline] pub unsafe fn ucnv_setToUCallBack(converter: &mut UConverter, newaction: UConverterToUCallback, newcontext: *const ::core::ffi::c_void, oldaction: &mut UConverterToUCallback, oldcontext: *const *const ::core::ffi::c_void, err: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_setToUCallBack(converter: *mut UConverter, newaction: *mut ::core::ffi::c_void, newcontext: *const ::core::ffi::c_void, oldaction: *mut *mut ::core::ffi::c_void, oldcontext: *const *const ::core::ffi::c_void, err: *mut UErrorCode); } ucnv_setToUCallBack(::core::mem::transmute(converter), ::core::mem::transmute(newaction), ::core::mem::transmute(newcontext), ::core::mem::transmute(oldaction), ::core::mem::transmute(oldcontext), ::core::mem::transmute(err)) @@ -20516,7 +20516,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_toAlgorithmic(algorithmictype: UConverterType, cnv: *mut UConverter, target: ::windows::core::PCSTR, targetcapacity: i32, source: ::windows::core::PCSTR, sourcelength: i32, perrorcode: *mut UErrorCode) -> i32; } ucnv_toAlgorithmic(algorithmictype, ::core::mem::transmute(cnv), target.into(), targetcapacity, source.into(), sourcelength, ::core::mem::transmute(perrorcode)) @@ -20528,7 +20528,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_toUChars(cnv: *mut UConverter, dest: *mut u16, destcapacity: i32, src: ::windows::core::PCSTR, srclength: i32, perrorcode: *mut UErrorCode) -> i32; } ucnv_toUChars(::core::mem::transmute(cnv), ::core::mem::transmute(dest), destcapacity, src.into(), srclength, ::core::mem::transmute(perrorcode)) @@ -20537,7 +20537,7 @@ where #[inline] pub unsafe fn ucnv_toUCountPending(cnv: &UConverter, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_toUCountPending(cnv: *const UConverter, status: *mut UErrorCode) -> i32; } ucnv_toUCountPending(::core::mem::transmute(cnv), ::core::mem::transmute(status)) @@ -20549,7 +20549,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_toUnicode(converter: *mut UConverter, target: *mut *mut u16, targetlimit: *const u16, source: *const *const i8, sourcelimit: ::windows::core::PCSTR, offsets: *mut i32, flush: i8, err: *mut UErrorCode); } ucnv_toUnicode(::core::mem::transmute(converter), ::core::mem::transmute(target), ::core::mem::transmute(targetlimit), ::core::mem::transmute(source), sourcelimit.into(), ::core::mem::transmute(offsets), flush, ::core::mem::transmute(err)) @@ -20558,7 +20558,7 @@ where #[inline] pub unsafe fn ucnv_usesFallback(cnv: &UConverter) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnv_usesFallback(cnv: *const UConverter) -> i8; } ucnv_usesFallback(::core::mem::transmute(cnv)) @@ -20567,7 +20567,7 @@ pub unsafe fn ucnv_usesFallback(cnv: &UConverter) -> i8 { #[inline] pub unsafe fn ucnvsel_close(sel: &mut UConverterSelector) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnvsel_close(sel: *mut UConverterSelector); } ucnvsel_close(::core::mem::transmute(sel)) @@ -20576,7 +20576,7 @@ pub unsafe fn ucnvsel_close(sel: &mut UConverterSelector) { #[inline] pub unsafe fn ucnvsel_open(converterlist: &*const i8, converterlistsize: i32, excludedcodepoints: &USet, whichset: UConverterUnicodeSet, status: &mut UErrorCode) -> *mut UConverterSelector { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnvsel_open(converterlist: *const *const i8, converterlistsize: i32, excludedcodepoints: *const USet, whichset: UConverterUnicodeSet, status: *mut UErrorCode) -> *mut UConverterSelector; } ucnvsel_open(::core::mem::transmute(converterlist), converterlistsize, ::core::mem::transmute(excludedcodepoints), whichset, ::core::mem::transmute(status)) @@ -20585,7 +20585,7 @@ pub unsafe fn ucnvsel_open(converterlist: &*const i8, converterlistsize: i32, ex #[inline] pub unsafe fn ucnvsel_openFromSerialized(buffer: *const ::core::ffi::c_void, length: i32, status: &mut UErrorCode) -> *mut UConverterSelector { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnvsel_openFromSerialized(buffer: *const ::core::ffi::c_void, length: i32, status: *mut UErrorCode) -> *mut UConverterSelector; } ucnvsel_openFromSerialized(::core::mem::transmute(buffer), length, ::core::mem::transmute(status)) @@ -20594,7 +20594,7 @@ pub unsafe fn ucnvsel_openFromSerialized(buffer: *const ::core::ffi::c_void, len #[inline] pub unsafe fn ucnvsel_selectForString(sel: &UConverterSelector, s: &u16, length: i32, status: &mut UErrorCode) -> *mut UEnumeration { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnvsel_selectForString(sel: *const UConverterSelector, s: *const u16, length: i32, status: *mut UErrorCode) -> *mut UEnumeration; } ucnvsel_selectForString(::core::mem::transmute(sel), ::core::mem::transmute(s), length, ::core::mem::transmute(status)) @@ -20606,7 +20606,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnvsel_selectForUTF8(sel: *const UConverterSelector, s: ::windows::core::PCSTR, length: i32, status: *mut UErrorCode) -> *mut UEnumeration; } ucnvsel_selectForUTF8(::core::mem::transmute(sel), s.into(), length, ::core::mem::transmute(status)) @@ -20615,7 +20615,7 @@ where #[inline] pub unsafe fn ucnvsel_serialize(sel: &UConverterSelector, buffer: *mut ::core::ffi::c_void, buffercapacity: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucnvsel_serialize(sel: *const UConverterSelector, buffer: *mut ::core::ffi::c_void, buffercapacity: i32, status: *mut UErrorCode) -> i32; } ucnvsel_serialize(::core::mem::transmute(sel), ::core::mem::transmute(buffer), buffercapacity, ::core::mem::transmute(status)) @@ -20624,7 +20624,7 @@ pub unsafe fn ucnvsel_serialize(sel: &UConverterSelector, buffer: *mut ::core::f #[inline] pub unsafe fn ucol_cloneBinary(coll: &UCollator, buffer: &mut u8, capacity: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_cloneBinary(coll: *const UCollator, buffer: *mut u8, capacity: i32, status: *mut UErrorCode) -> i32; } ucol_cloneBinary(::core::mem::transmute(coll), ::core::mem::transmute(buffer), capacity, ::core::mem::transmute(status)) @@ -20633,7 +20633,7 @@ pub unsafe fn ucol_cloneBinary(coll: &UCollator, buffer: &mut u8, capacity: i32, #[inline] pub unsafe fn ucol_close(coll: &mut UCollator) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_close(coll: *mut UCollator); } ucol_close(::core::mem::transmute(coll)) @@ -20642,7 +20642,7 @@ pub unsafe fn ucol_close(coll: &mut UCollator) { #[inline] pub unsafe fn ucol_closeElements(elems: &mut UCollationElements) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_closeElements(elems: *mut UCollationElements); } ucol_closeElements(::core::mem::transmute(elems)) @@ -20651,7 +20651,7 @@ pub unsafe fn ucol_closeElements(elems: &mut UCollationElements) { #[inline] pub unsafe fn ucol_countAvailable() -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_countAvailable() -> i32; } ucol_countAvailable() @@ -20660,7 +20660,7 @@ pub unsafe fn ucol_countAvailable() -> i32 { #[inline] pub unsafe fn ucol_equal(coll: &UCollator, source: &u16, sourcelength: i32, target: &u16, targetlength: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_equal(coll: *const UCollator, source: *const u16, sourcelength: i32, target: *const u16, targetlength: i32) -> i8; } ucol_equal(::core::mem::transmute(coll), ::core::mem::transmute(source), sourcelength, ::core::mem::transmute(target), targetlength) @@ -20669,7 +20669,7 @@ pub unsafe fn ucol_equal(coll: &UCollator, source: &u16, sourcelength: i32, targ #[inline] pub unsafe fn ucol_getAttribute(coll: &UCollator, attr: UColAttribute, status: &mut UErrorCode) -> UColAttributeValue { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getAttribute(coll: *const UCollator, attr: UColAttribute, status: *mut UErrorCode) -> UColAttributeValue; } ucol_getAttribute(::core::mem::transmute(coll), attr, ::core::mem::transmute(status)) @@ -20678,7 +20678,7 @@ pub unsafe fn ucol_getAttribute(coll: &UCollator, attr: UColAttribute, status: & #[inline] pub unsafe fn ucol_getAvailable(localeindex: i32) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getAvailable(localeindex: i32) -> ::windows::core::PSTR; } ucol_getAvailable(localeindex) @@ -20687,7 +20687,7 @@ pub unsafe fn ucol_getAvailable(localeindex: i32) -> ::windows::core::PSTR { #[inline] pub unsafe fn ucol_getBound(source: &u8, sourcelength: i32, boundtype: UColBoundMode, nooflevels: u32, result: &mut u8, resultlength: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getBound(source: *const u8, sourcelength: i32, boundtype: UColBoundMode, nooflevels: u32, result: *mut u8, resultlength: i32, status: *mut UErrorCode) -> i32; } ucol_getBound(::core::mem::transmute(source), sourcelength, boundtype, nooflevels, ::core::mem::transmute(result), resultlength, ::core::mem::transmute(status)) @@ -20696,7 +20696,7 @@ pub unsafe fn ucol_getBound(source: &u8, sourcelength: i32, boundtype: UColBound #[inline] pub unsafe fn ucol_getContractionsAndExpansions(coll: &UCollator, contractions: &mut USet, expansions: &mut USet, addprefixes: i8, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getContractionsAndExpansions(coll: *const UCollator, contractions: *mut USet, expansions: *mut USet, addprefixes: i8, status: *mut UErrorCode); } ucol_getContractionsAndExpansions(::core::mem::transmute(coll), ::core::mem::transmute(contractions), ::core::mem::transmute(expansions), addprefixes, ::core::mem::transmute(status)) @@ -20709,7 +20709,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getDisplayName(objloc: ::windows::core::PCSTR, disploc: ::windows::core::PCSTR, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; } ucol_getDisplayName(objloc.into(), disploc.into(), ::core::mem::transmute(result), resultlength, ::core::mem::transmute(status)) @@ -20718,7 +20718,7 @@ where #[inline] pub unsafe fn ucol_getEquivalentReorderCodes(reordercode: i32, dest: &mut i32, destcapacity: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getEquivalentReorderCodes(reordercode: i32, dest: *mut i32, destcapacity: i32, perrorcode: *mut UErrorCode) -> i32; } ucol_getEquivalentReorderCodes(reordercode, ::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(perrorcode)) @@ -20732,7 +20732,7 @@ where P2: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getFunctionalEquivalent(result: ::windows::core::PCSTR, resultcapacity: i32, keyword: ::windows::core::PCSTR, locale: ::windows::core::PCSTR, isavailable: *mut i8, status: *mut UErrorCode) -> i32; } ucol_getFunctionalEquivalent(result.into(), resultcapacity, keyword.into(), locale.into(), ::core::mem::transmute(isavailable), ::core::mem::transmute(status)) @@ -20744,7 +20744,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getKeywordValues(keyword: ::windows::core::PCSTR, status: *mut UErrorCode) -> *mut UEnumeration; } ucol_getKeywordValues(keyword.into(), ::core::mem::transmute(status)) @@ -20757,7 +20757,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getKeywordValuesForLocale(key: ::windows::core::PCSTR, locale: ::windows::core::PCSTR, commonlyused: i8, status: *mut UErrorCode) -> *mut UEnumeration; } ucol_getKeywordValuesForLocale(key.into(), locale.into(), commonlyused, ::core::mem::transmute(status)) @@ -20766,7 +20766,7 @@ where #[inline] pub unsafe fn ucol_getKeywords(status: &mut UErrorCode) -> *mut UEnumeration { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getKeywords(status: *mut UErrorCode) -> *mut UEnumeration; } ucol_getKeywords(::core::mem::transmute(status)) @@ -20775,7 +20775,7 @@ pub unsafe fn ucol_getKeywords(status: &mut UErrorCode) -> *mut UEnumeration { #[inline] pub unsafe fn ucol_getLocaleByType(coll: &UCollator, r#type: ULocDataLocaleType, status: &mut UErrorCode) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getLocaleByType(coll: *const UCollator, r#type: ULocDataLocaleType, status: *mut UErrorCode) -> ::windows::core::PSTR; } ucol_getLocaleByType(::core::mem::transmute(coll), r#type, ::core::mem::transmute(status)) @@ -20784,7 +20784,7 @@ pub unsafe fn ucol_getLocaleByType(coll: &UCollator, r#type: ULocDataLocaleType, #[inline] pub unsafe fn ucol_getMaxExpansion(elems: &UCollationElements, order: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getMaxExpansion(elems: *const UCollationElements, order: i32) -> i32; } ucol_getMaxExpansion(::core::mem::transmute(elems), order) @@ -20793,7 +20793,7 @@ pub unsafe fn ucol_getMaxExpansion(elems: &UCollationElements, order: i32) -> i3 #[inline] pub unsafe fn ucol_getMaxVariable(coll: &UCollator) -> UColReorderCode { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getMaxVariable(coll: *const UCollator) -> UColReorderCode; } ucol_getMaxVariable(::core::mem::transmute(coll)) @@ -20802,7 +20802,7 @@ pub unsafe fn ucol_getMaxVariable(coll: &UCollator) -> UColReorderCode { #[inline] pub unsafe fn ucol_getOffset(elems: &UCollationElements) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getOffset(elems: *const UCollationElements) -> i32; } ucol_getOffset(::core::mem::transmute(elems)) @@ -20811,7 +20811,7 @@ pub unsafe fn ucol_getOffset(elems: &UCollationElements) -> i32 { #[inline] pub unsafe fn ucol_getReorderCodes(coll: &UCollator, dest: &mut i32, destcapacity: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getReorderCodes(coll: *const UCollator, dest: *mut i32, destcapacity: i32, perrorcode: *mut UErrorCode) -> i32; } ucol_getReorderCodes(::core::mem::transmute(coll), ::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(perrorcode)) @@ -20820,7 +20820,7 @@ pub unsafe fn ucol_getReorderCodes(coll: &UCollator, dest: &mut i32, destcapacit #[inline] pub unsafe fn ucol_getRules(coll: &UCollator, length: &mut i32) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getRules(coll: *const UCollator, length: *mut i32) -> *mut u16; } ucol_getRules(::core::mem::transmute(coll), ::core::mem::transmute(length)) @@ -20829,7 +20829,7 @@ pub unsafe fn ucol_getRules(coll: &UCollator, length: &mut i32) -> *mut u16 { #[inline] pub unsafe fn ucol_getRulesEx(coll: &UCollator, delta: UColRuleOption, buffer: &mut u16, bufferlen: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getRulesEx(coll: *const UCollator, delta: UColRuleOption, buffer: *mut u16, bufferlen: i32) -> i32; } ucol_getRulesEx(::core::mem::transmute(coll), delta, ::core::mem::transmute(buffer), bufferlen) @@ -20838,7 +20838,7 @@ pub unsafe fn ucol_getRulesEx(coll: &UCollator, delta: UColRuleOption, buffer: & #[inline] pub unsafe fn ucol_getSortKey(coll: &UCollator, source: &u16, sourcelength: i32, result: &mut u8, resultlength: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getSortKey(coll: *const UCollator, source: *const u16, sourcelength: i32, result: *mut u8, resultlength: i32) -> i32; } ucol_getSortKey(::core::mem::transmute(coll), ::core::mem::transmute(source), sourcelength, ::core::mem::transmute(result), resultlength) @@ -20847,7 +20847,7 @@ pub unsafe fn ucol_getSortKey(coll: &UCollator, source: &u16, sourcelength: i32, #[inline] pub unsafe fn ucol_getStrength(coll: &UCollator) -> UColAttributeValue { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getStrength(coll: *const UCollator) -> UColAttributeValue; } ucol_getStrength(::core::mem::transmute(coll)) @@ -20856,7 +20856,7 @@ pub unsafe fn ucol_getStrength(coll: &UCollator) -> UColAttributeValue { #[inline] pub unsafe fn ucol_getTailoredSet(coll: &UCollator, status: &mut UErrorCode) -> *mut USet { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getTailoredSet(coll: *const UCollator, status: *mut UErrorCode) -> *mut USet; } ucol_getTailoredSet(::core::mem::transmute(coll), ::core::mem::transmute(status)) @@ -20865,7 +20865,7 @@ pub unsafe fn ucol_getTailoredSet(coll: &UCollator, status: &mut UErrorCode) -> #[inline] pub unsafe fn ucol_getUCAVersion(coll: &UCollator, info: &mut u8) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getUCAVersion(coll: *const UCollator, info: *mut u8); } ucol_getUCAVersion(::core::mem::transmute(coll), ::core::mem::transmute(info)) @@ -20874,7 +20874,7 @@ pub unsafe fn ucol_getUCAVersion(coll: &UCollator, info: &mut u8) { #[inline] pub unsafe fn ucol_getVariableTop(coll: &UCollator, status: &mut UErrorCode) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getVariableTop(coll: *const UCollator, status: *mut UErrorCode) -> u32; } ucol_getVariableTop(::core::mem::transmute(coll), ::core::mem::transmute(status)) @@ -20883,7 +20883,7 @@ pub unsafe fn ucol_getVariableTop(coll: &UCollator, status: &mut UErrorCode) -> #[inline] pub unsafe fn ucol_getVersion(coll: &UCollator, info: &mut u8) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_getVersion(coll: *const UCollator, info: *mut u8); } ucol_getVersion(::core::mem::transmute(coll), ::core::mem::transmute(info)) @@ -20892,7 +20892,7 @@ pub unsafe fn ucol_getVersion(coll: &UCollator, info: &mut u8) { #[inline] pub unsafe fn ucol_greater(coll: &UCollator, source: &u16, sourcelength: i32, target: &u16, targetlength: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_greater(coll: *const UCollator, source: *const u16, sourcelength: i32, target: *const u16, targetlength: i32) -> i8; } ucol_greater(::core::mem::transmute(coll), ::core::mem::transmute(source), sourcelength, ::core::mem::transmute(target), targetlength) @@ -20901,7 +20901,7 @@ pub unsafe fn ucol_greater(coll: &UCollator, source: &u16, sourcelength: i32, ta #[inline] pub unsafe fn ucol_greaterOrEqual(coll: &UCollator, source: &u16, sourcelength: i32, target: &u16, targetlength: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_greaterOrEqual(coll: *const UCollator, source: *const u16, sourcelength: i32, target: *const u16, targetlength: i32) -> i8; } ucol_greaterOrEqual(::core::mem::transmute(coll), ::core::mem::transmute(source), sourcelength, ::core::mem::transmute(target), targetlength) @@ -20910,7 +20910,7 @@ pub unsafe fn ucol_greaterOrEqual(coll: &UCollator, source: &u16, sourcelength: #[inline] pub unsafe fn ucol_keyHashCode(key: &u8, length: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_keyHashCode(key: *const u8, length: i32) -> i32; } ucol_keyHashCode(::core::mem::transmute(key), length) @@ -20919,7 +20919,7 @@ pub unsafe fn ucol_keyHashCode(key: &u8, length: i32) -> i32 { #[inline] pub unsafe fn ucol_mergeSortkeys(src1: &u8, src1length: i32, src2: &u8, src2length: i32, dest: &mut u8, destcapacity: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_mergeSortkeys(src1: *const u8, src1length: i32, src2: *const u8, src2length: i32, dest: *mut u8, destcapacity: i32) -> i32; } ucol_mergeSortkeys(::core::mem::transmute(src1), src1length, ::core::mem::transmute(src2), src2length, ::core::mem::transmute(dest), destcapacity) @@ -20928,7 +20928,7 @@ pub unsafe fn ucol_mergeSortkeys(src1: &u8, src1length: i32, src2: &u8, src2leng #[inline] pub unsafe fn ucol_next(elems: &mut UCollationElements, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_next(elems: *mut UCollationElements, status: *mut UErrorCode) -> i32; } ucol_next(::core::mem::transmute(elems), ::core::mem::transmute(status)) @@ -20937,7 +20937,7 @@ pub unsafe fn ucol_next(elems: &mut UCollationElements, status: &mut UErrorCode) #[inline] pub unsafe fn ucol_nextSortKeyPart(coll: &UCollator, iter: &mut UCharIterator, state: &mut u32, dest: &mut u8, count: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_nextSortKeyPart(coll: *const UCollator, iter: *mut UCharIterator, state: *mut u32, dest: *mut u8, count: i32, status: *mut UErrorCode) -> i32; } ucol_nextSortKeyPart(::core::mem::transmute(coll), ::core::mem::transmute(iter), ::core::mem::transmute(state), ::core::mem::transmute(dest), count, ::core::mem::transmute(status)) @@ -20949,7 +20949,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_open(loc: ::windows::core::PCSTR, status: *mut UErrorCode) -> *mut UCollator; } ucol_open(loc.into(), ::core::mem::transmute(status)) @@ -20958,7 +20958,7 @@ where #[inline] pub unsafe fn ucol_openAvailableLocales(status: &mut UErrorCode) -> *mut UEnumeration { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_openAvailableLocales(status: *mut UErrorCode) -> *mut UEnumeration; } ucol_openAvailableLocales(::core::mem::transmute(status)) @@ -20967,7 +20967,7 @@ pub unsafe fn ucol_openAvailableLocales(status: &mut UErrorCode) -> *mut UEnumer #[inline] pub unsafe fn ucol_openBinary(bin: &u8, length: i32, base: &UCollator, status: &mut UErrorCode) -> *mut UCollator { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_openBinary(bin: *const u8, length: i32, base: *const UCollator, status: *mut UErrorCode) -> *mut UCollator; } ucol_openBinary(::core::mem::transmute(bin), length, ::core::mem::transmute(base), ::core::mem::transmute(status)) @@ -20976,7 +20976,7 @@ pub unsafe fn ucol_openBinary(bin: &u8, length: i32, base: &UCollator, status: & #[inline] pub unsafe fn ucol_openElements(coll: &UCollator, text: &u16, textlength: i32, status: &mut UErrorCode) -> *mut UCollationElements { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_openElements(coll: *const UCollator, text: *const u16, textlength: i32, status: *mut UErrorCode) -> *mut UCollationElements; } ucol_openElements(::core::mem::transmute(coll), ::core::mem::transmute(text), textlength, ::core::mem::transmute(status)) @@ -20985,7 +20985,7 @@ pub unsafe fn ucol_openElements(coll: &UCollator, text: &u16, textlength: i32, s #[inline] pub unsafe fn ucol_openRules(rules: &u16, ruleslength: i32, normalizationmode: UColAttributeValue, strength: UColAttributeValue, parseerror: &mut UParseError, status: &mut UErrorCode) -> *mut UCollator { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_openRules(rules: *const u16, ruleslength: i32, normalizationmode: UColAttributeValue, strength: UColAttributeValue, parseerror: *mut UParseError, status: *mut UErrorCode) -> *mut UCollator; } ucol_openRules(::core::mem::transmute(rules), ruleslength, normalizationmode, strength, ::core::mem::transmute(parseerror), ::core::mem::transmute(status)) @@ -20994,7 +20994,7 @@ pub unsafe fn ucol_openRules(rules: &u16, ruleslength: i32, normalizationmode: U #[inline] pub unsafe fn ucol_previous(elems: &mut UCollationElements, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_previous(elems: *mut UCollationElements, status: *mut UErrorCode) -> i32; } ucol_previous(::core::mem::transmute(elems), ::core::mem::transmute(status)) @@ -21003,7 +21003,7 @@ pub unsafe fn ucol_previous(elems: &mut UCollationElements, status: &mut UErrorC #[inline] pub unsafe fn ucol_primaryOrder(order: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_primaryOrder(order: i32) -> i32; } ucol_primaryOrder(order) @@ -21012,7 +21012,7 @@ pub unsafe fn ucol_primaryOrder(order: i32) -> i32 { #[inline] pub unsafe fn ucol_reset(elems: &mut UCollationElements) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_reset(elems: *mut UCollationElements); } ucol_reset(::core::mem::transmute(elems)) @@ -21021,7 +21021,7 @@ pub unsafe fn ucol_reset(elems: &mut UCollationElements) { #[inline] pub unsafe fn ucol_safeClone(coll: &UCollator, stackbuffer: *mut ::core::ffi::c_void, pbuffersize: &mut i32, status: &mut UErrorCode) -> *mut UCollator { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_safeClone(coll: *const UCollator, stackbuffer: *mut ::core::ffi::c_void, pbuffersize: *mut i32, status: *mut UErrorCode) -> *mut UCollator; } ucol_safeClone(::core::mem::transmute(coll), ::core::mem::transmute(stackbuffer), ::core::mem::transmute(pbuffersize), ::core::mem::transmute(status)) @@ -21030,7 +21030,7 @@ pub unsafe fn ucol_safeClone(coll: &UCollator, stackbuffer: *mut ::core::ffi::c_ #[inline] pub unsafe fn ucol_secondaryOrder(order: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_secondaryOrder(order: i32) -> i32; } ucol_secondaryOrder(order) @@ -21039,7 +21039,7 @@ pub unsafe fn ucol_secondaryOrder(order: i32) -> i32 { #[inline] pub unsafe fn ucol_setAttribute(coll: &mut UCollator, attr: UColAttribute, value: UColAttributeValue, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_setAttribute(coll: *mut UCollator, attr: UColAttribute, value: UColAttributeValue, status: *mut UErrorCode); } ucol_setAttribute(::core::mem::transmute(coll), attr, value, ::core::mem::transmute(status)) @@ -21048,7 +21048,7 @@ pub unsafe fn ucol_setAttribute(coll: &mut UCollator, attr: UColAttribute, value #[inline] pub unsafe fn ucol_setMaxVariable(coll: &mut UCollator, group: UColReorderCode, perrorcode: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_setMaxVariable(coll: *mut UCollator, group: UColReorderCode, perrorcode: *mut UErrorCode); } ucol_setMaxVariable(::core::mem::transmute(coll), group, ::core::mem::transmute(perrorcode)) @@ -21057,7 +21057,7 @@ pub unsafe fn ucol_setMaxVariable(coll: &mut UCollator, group: UColReorderCode, #[inline] pub unsafe fn ucol_setOffset(elems: &mut UCollationElements, offset: i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_setOffset(elems: *mut UCollationElements, offset: i32, status: *mut UErrorCode); } ucol_setOffset(::core::mem::transmute(elems), offset, ::core::mem::transmute(status)) @@ -21066,7 +21066,7 @@ pub unsafe fn ucol_setOffset(elems: &mut UCollationElements, offset: i32, status #[inline] pub unsafe fn ucol_setReorderCodes(coll: &mut UCollator, reordercodes: &i32, reordercodeslength: i32, perrorcode: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_setReorderCodes(coll: *mut UCollator, reordercodes: *const i32, reordercodeslength: i32, perrorcode: *mut UErrorCode); } ucol_setReorderCodes(::core::mem::transmute(coll), ::core::mem::transmute(reordercodes), reordercodeslength, ::core::mem::transmute(perrorcode)) @@ -21075,7 +21075,7 @@ pub unsafe fn ucol_setReorderCodes(coll: &mut UCollator, reordercodes: &i32, reo #[inline] pub unsafe fn ucol_setStrength(coll: &mut UCollator, strength: UColAttributeValue) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_setStrength(coll: *mut UCollator, strength: UColAttributeValue); } ucol_setStrength(::core::mem::transmute(coll), strength) @@ -21084,7 +21084,7 @@ pub unsafe fn ucol_setStrength(coll: &mut UCollator, strength: UColAttributeValu #[inline] pub unsafe fn ucol_setText(elems: &mut UCollationElements, text: &u16, textlength: i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_setText(elems: *mut UCollationElements, text: *const u16, textlength: i32, status: *mut UErrorCode); } ucol_setText(::core::mem::transmute(elems), ::core::mem::transmute(text), textlength, ::core::mem::transmute(status)) @@ -21093,7 +21093,7 @@ pub unsafe fn ucol_setText(elems: &mut UCollationElements, text: &u16, textlengt #[inline] pub unsafe fn ucol_strcoll(coll: &UCollator, source: &u16, sourcelength: i32, target: &u16, targetlength: i32) -> UCollationResult { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_strcoll(coll: *const UCollator, source: *const u16, sourcelength: i32, target: *const u16, targetlength: i32) -> UCollationResult; } ucol_strcoll(::core::mem::transmute(coll), ::core::mem::transmute(source), sourcelength, ::core::mem::transmute(target), targetlength) @@ -21102,7 +21102,7 @@ pub unsafe fn ucol_strcoll(coll: &UCollator, source: &u16, sourcelength: i32, ta #[inline] pub unsafe fn ucol_strcollIter(coll: &UCollator, siter: &mut UCharIterator, titer: &mut UCharIterator, status: &mut UErrorCode) -> UCollationResult { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_strcollIter(coll: *const UCollator, siter: *mut UCharIterator, titer: *mut UCharIterator, status: *mut UErrorCode) -> UCollationResult; } ucol_strcollIter(::core::mem::transmute(coll), ::core::mem::transmute(siter), ::core::mem::transmute(titer), ::core::mem::transmute(status)) @@ -21115,7 +21115,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_strcollUTF8(coll: *const UCollator, source: ::windows::core::PCSTR, sourcelength: i32, target: ::windows::core::PCSTR, targetlength: i32, status: *mut UErrorCode) -> UCollationResult; } ucol_strcollUTF8(::core::mem::transmute(coll), source.into(), sourcelength, target.into(), targetlength, ::core::mem::transmute(status)) @@ -21124,7 +21124,7 @@ where #[inline] pub unsafe fn ucol_tertiaryOrder(order: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucol_tertiaryOrder(order: i32) -> i32; } ucol_tertiaryOrder(order) @@ -21133,7 +21133,7 @@ pub unsafe fn ucol_tertiaryOrder(order: i32) -> i32 { #[inline] pub unsafe fn ucpmap_get(map: &UCPMap, c: i32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucpmap_get(map: *const UCPMap, c: i32) -> u32; } ucpmap_get(::core::mem::transmute(map), c) @@ -21142,7 +21142,7 @@ pub unsafe fn ucpmap_get(map: &UCPMap, c: i32) -> u32 { #[inline] pub unsafe fn ucpmap_getRange(map: &UCPMap, start: i32, option: UCPMapRangeOption, surrogatevalue: u32, filter: &mut UCPMapValueFilter, context: *const ::core::ffi::c_void, pvalue: &mut u32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucpmap_getRange(map: *const UCPMap, start: i32, option: UCPMapRangeOption, surrogatevalue: u32, filter: *mut *mut ::core::ffi::c_void, context: *const ::core::ffi::c_void, pvalue: *mut u32) -> i32; } ucpmap_getRange(::core::mem::transmute(map), start, option, surrogatevalue, ::core::mem::transmute(filter), ::core::mem::transmute(context), ::core::mem::transmute(pvalue)) @@ -21151,7 +21151,7 @@ pub unsafe fn ucpmap_getRange(map: &UCPMap, start: i32, option: UCPMapRangeOptio #[inline] pub unsafe fn ucptrie_close(trie: &mut UCPTrie) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucptrie_close(trie: *mut UCPTrie); } ucptrie_close(::core::mem::transmute(trie)) @@ -21160,7 +21160,7 @@ pub unsafe fn ucptrie_close(trie: &mut UCPTrie) { #[inline] pub unsafe fn ucptrie_get(trie: &UCPTrie, c: i32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucptrie_get(trie: *const UCPTrie, c: i32) -> u32; } ucptrie_get(::core::mem::transmute(trie), c) @@ -21169,7 +21169,7 @@ pub unsafe fn ucptrie_get(trie: &UCPTrie, c: i32) -> u32 { #[inline] pub unsafe fn ucptrie_getRange(trie: &UCPTrie, start: i32, option: UCPMapRangeOption, surrogatevalue: u32, filter: &mut UCPMapValueFilter, context: *const ::core::ffi::c_void, pvalue: &mut u32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucptrie_getRange(trie: *const UCPTrie, start: i32, option: UCPMapRangeOption, surrogatevalue: u32, filter: *mut *mut ::core::ffi::c_void, context: *const ::core::ffi::c_void, pvalue: *mut u32) -> i32; } ucptrie_getRange(::core::mem::transmute(trie), start, option, surrogatevalue, ::core::mem::transmute(filter), ::core::mem::transmute(context), ::core::mem::transmute(pvalue)) @@ -21178,7 +21178,7 @@ pub unsafe fn ucptrie_getRange(trie: &UCPTrie, start: i32, option: UCPMapRangeOp #[inline] pub unsafe fn ucptrie_getType(trie: &UCPTrie) -> UCPTrieType { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucptrie_getType(trie: *const UCPTrie) -> UCPTrieType; } ucptrie_getType(::core::mem::transmute(trie)) @@ -21187,7 +21187,7 @@ pub unsafe fn ucptrie_getType(trie: &UCPTrie) -> UCPTrieType { #[inline] pub unsafe fn ucptrie_getValueWidth(trie: &UCPTrie) -> UCPTrieValueWidth { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucptrie_getValueWidth(trie: *const UCPTrie) -> UCPTrieValueWidth; } ucptrie_getValueWidth(::core::mem::transmute(trie)) @@ -21196,7 +21196,7 @@ pub unsafe fn ucptrie_getValueWidth(trie: &UCPTrie) -> UCPTrieValueWidth { #[inline] pub unsafe fn ucptrie_internalSmallIndex(trie: &UCPTrie, c: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucptrie_internalSmallIndex(trie: *const UCPTrie, c: i32) -> i32; } ucptrie_internalSmallIndex(::core::mem::transmute(trie), c) @@ -21205,7 +21205,7 @@ pub unsafe fn ucptrie_internalSmallIndex(trie: &UCPTrie, c: i32) -> i32 { #[inline] pub unsafe fn ucptrie_internalSmallU8Index(trie: &UCPTrie, lt1: i32, t2: u8, t3: u8) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucptrie_internalSmallU8Index(trie: *const UCPTrie, lt1: i32, t2: u8, t3: u8) -> i32; } ucptrie_internalSmallU8Index(::core::mem::transmute(trie), lt1, t2, t3) @@ -21214,7 +21214,7 @@ pub unsafe fn ucptrie_internalSmallU8Index(trie: &UCPTrie, lt1: i32, t2: u8, t3: #[inline] pub unsafe fn ucptrie_internalU8PrevIndex(trie: &UCPTrie, c: i32, start: &u8, src: &u8) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucptrie_internalU8PrevIndex(trie: *const UCPTrie, c: i32, start: *const u8, src: *const u8) -> i32; } ucptrie_internalU8PrevIndex(::core::mem::transmute(trie), c, ::core::mem::transmute(start), ::core::mem::transmute(src)) @@ -21223,7 +21223,7 @@ pub unsafe fn ucptrie_internalU8PrevIndex(trie: &UCPTrie, c: i32, start: &u8, sr #[inline] pub unsafe fn ucptrie_openFromBinary(r#type: UCPTrieType, valuewidth: UCPTrieValueWidth, data: *const ::core::ffi::c_void, length: i32, pactuallength: &mut i32, perrorcode: &mut UErrorCode) -> *mut UCPTrie { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucptrie_openFromBinary(r#type: UCPTrieType, valuewidth: UCPTrieValueWidth, data: *const ::core::ffi::c_void, length: i32, pactuallength: *mut i32, perrorcode: *mut UErrorCode) -> *mut UCPTrie; } ucptrie_openFromBinary(r#type, valuewidth, ::core::mem::transmute(data), length, ::core::mem::transmute(pactuallength), ::core::mem::transmute(perrorcode)) @@ -21232,7 +21232,7 @@ pub unsafe fn ucptrie_openFromBinary(r#type: UCPTrieType, valuewidth: UCPTrieVal #[inline] pub unsafe fn ucptrie_toBinary(trie: &UCPTrie, data: *mut ::core::ffi::c_void, capacity: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucptrie_toBinary(trie: *const UCPTrie, data: *mut ::core::ffi::c_void, capacity: i32, perrorcode: *mut UErrorCode) -> i32; } ucptrie_toBinary(::core::mem::transmute(trie), ::core::mem::transmute(data), capacity, ::core::mem::transmute(perrorcode)) @@ -21241,7 +21241,7 @@ pub unsafe fn ucptrie_toBinary(trie: &UCPTrie, data: *mut ::core::ffi::c_void, c #[inline] pub unsafe fn ucsdet_close(ucsd: &mut UCharsetDetector) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucsdet_close(ucsd: *mut UCharsetDetector); } ucsdet_close(::core::mem::transmute(ucsd)) @@ -21250,7 +21250,7 @@ pub unsafe fn ucsdet_close(ucsd: &mut UCharsetDetector) { #[inline] pub unsafe fn ucsdet_detect(ucsd: &mut UCharsetDetector, status: &mut UErrorCode) -> *mut UCharsetMatch { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucsdet_detect(ucsd: *mut UCharsetDetector, status: *mut UErrorCode) -> *mut UCharsetMatch; } ucsdet_detect(::core::mem::transmute(ucsd), ::core::mem::transmute(status)) @@ -21259,7 +21259,7 @@ pub unsafe fn ucsdet_detect(ucsd: &mut UCharsetDetector, status: &mut UErrorCode #[inline] pub unsafe fn ucsdet_detectAll(ucsd: &mut UCharsetDetector, matchesfound: &mut i32, status: &mut UErrorCode) -> *mut *mut UCharsetMatch { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucsdet_detectAll(ucsd: *mut UCharsetDetector, matchesfound: *mut i32, status: *mut UErrorCode) -> *mut *mut UCharsetMatch; } ucsdet_detectAll(::core::mem::transmute(ucsd), ::core::mem::transmute(matchesfound), ::core::mem::transmute(status)) @@ -21268,7 +21268,7 @@ pub unsafe fn ucsdet_detectAll(ucsd: &mut UCharsetDetector, matchesfound: &mut i #[inline] pub unsafe fn ucsdet_enableInputFilter(ucsd: &mut UCharsetDetector, filter: i8) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucsdet_enableInputFilter(ucsd: *mut UCharsetDetector, filter: i8) -> i8; } ucsdet_enableInputFilter(::core::mem::transmute(ucsd), filter) @@ -21277,7 +21277,7 @@ pub unsafe fn ucsdet_enableInputFilter(ucsd: &mut UCharsetDetector, filter: i8) #[inline] pub unsafe fn ucsdet_getAllDetectableCharsets(ucsd: &UCharsetDetector, status: &mut UErrorCode) -> *mut UEnumeration { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucsdet_getAllDetectableCharsets(ucsd: *const UCharsetDetector, status: *mut UErrorCode) -> *mut UEnumeration; } ucsdet_getAllDetectableCharsets(::core::mem::transmute(ucsd), ::core::mem::transmute(status)) @@ -21286,7 +21286,7 @@ pub unsafe fn ucsdet_getAllDetectableCharsets(ucsd: &UCharsetDetector, status: & #[inline] pub unsafe fn ucsdet_getConfidence(ucsm: &UCharsetMatch, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucsdet_getConfidence(ucsm: *const UCharsetMatch, status: *mut UErrorCode) -> i32; } ucsdet_getConfidence(::core::mem::transmute(ucsm), ::core::mem::transmute(status)) @@ -21295,7 +21295,7 @@ pub unsafe fn ucsdet_getConfidence(ucsm: &UCharsetMatch, status: &mut UErrorCode #[inline] pub unsafe fn ucsdet_getLanguage(ucsm: &UCharsetMatch, status: &mut UErrorCode) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucsdet_getLanguage(ucsm: *const UCharsetMatch, status: *mut UErrorCode) -> ::windows::core::PSTR; } ucsdet_getLanguage(::core::mem::transmute(ucsm), ::core::mem::transmute(status)) @@ -21304,7 +21304,7 @@ pub unsafe fn ucsdet_getLanguage(ucsm: &UCharsetMatch, status: &mut UErrorCode) #[inline] pub unsafe fn ucsdet_getName(ucsm: &UCharsetMatch, status: &mut UErrorCode) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucsdet_getName(ucsm: *const UCharsetMatch, status: *mut UErrorCode) -> ::windows::core::PSTR; } ucsdet_getName(::core::mem::transmute(ucsm), ::core::mem::transmute(status)) @@ -21313,7 +21313,7 @@ pub unsafe fn ucsdet_getName(ucsm: &UCharsetMatch, status: &mut UErrorCode) -> : #[inline] pub unsafe fn ucsdet_getUChars(ucsm: &UCharsetMatch, buf: &mut u16, cap: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucsdet_getUChars(ucsm: *const UCharsetMatch, buf: *mut u16, cap: i32, status: *mut UErrorCode) -> i32; } ucsdet_getUChars(::core::mem::transmute(ucsm), ::core::mem::transmute(buf), cap, ::core::mem::transmute(status)) @@ -21322,7 +21322,7 @@ pub unsafe fn ucsdet_getUChars(ucsm: &UCharsetMatch, buf: &mut u16, cap: i32, st #[inline] pub unsafe fn ucsdet_isInputFilterEnabled(ucsd: &UCharsetDetector) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucsdet_isInputFilterEnabled(ucsd: *const UCharsetDetector) -> i8; } ucsdet_isInputFilterEnabled(::core::mem::transmute(ucsd)) @@ -21331,7 +21331,7 @@ pub unsafe fn ucsdet_isInputFilterEnabled(ucsd: &UCharsetDetector) -> i8 { #[inline] pub unsafe fn ucsdet_open(status: &mut UErrorCode) -> *mut UCharsetDetector { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucsdet_open(status: *mut UErrorCode) -> *mut UCharsetDetector; } ucsdet_open(::core::mem::transmute(status)) @@ -21343,7 +21343,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucsdet_setDeclaredEncoding(ucsd: *mut UCharsetDetector, encoding: ::windows::core::PCSTR, length: i32, status: *mut UErrorCode); } ucsdet_setDeclaredEncoding(::core::mem::transmute(ucsd), encoding.into(), length, ::core::mem::transmute(status)) @@ -21355,7 +21355,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucsdet_setText(ucsd: *mut UCharsetDetector, textin: ::windows::core::PCSTR, len: i32, status: *mut UErrorCode); } ucsdet_setText(::core::mem::transmute(ucsd), textin.into(), len, ::core::mem::transmute(status)) @@ -21367,7 +21367,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucurr_countCurrencies(locale: ::windows::core::PCSTR, date: f64, ec: *mut UErrorCode) -> i32; } ucurr_countCurrencies(locale.into(), date, ::core::mem::transmute(ec)) @@ -21379,7 +21379,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucurr_forLocale(locale: ::windows::core::PCSTR, buff: *mut u16, buffcapacity: i32, ec: *mut UErrorCode) -> i32; } ucurr_forLocale(locale.into(), ::core::mem::transmute(buff), buffcapacity, ::core::mem::transmute(ec)) @@ -21391,7 +21391,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucurr_forLocaleAndDate(locale: ::windows::core::PCSTR, date: f64, index: i32, buff: *mut u16, buffcapacity: i32, ec: *mut UErrorCode) -> i32; } ucurr_forLocaleAndDate(locale.into(), date, index, ::core::mem::transmute(buff), buffcapacity, ::core::mem::transmute(ec)) @@ -21400,7 +21400,7 @@ where #[inline] pub unsafe fn ucurr_getDefaultFractionDigits(currency: &u16, ec: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucurr_getDefaultFractionDigits(currency: *const u16, ec: *mut UErrorCode) -> i32; } ucurr_getDefaultFractionDigits(::core::mem::transmute(currency), ::core::mem::transmute(ec)) @@ -21409,7 +21409,7 @@ pub unsafe fn ucurr_getDefaultFractionDigits(currency: &u16, ec: &mut UErrorCode #[inline] pub unsafe fn ucurr_getDefaultFractionDigitsForUsage(currency: &u16, usage: UCurrencyUsage, ec: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucurr_getDefaultFractionDigitsForUsage(currency: *const u16, usage: UCurrencyUsage, ec: *mut UErrorCode) -> i32; } ucurr_getDefaultFractionDigitsForUsage(::core::mem::transmute(currency), usage, ::core::mem::transmute(ec)) @@ -21422,7 +21422,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucurr_getKeywordValuesForLocale(key: ::windows::core::PCSTR, locale: ::windows::core::PCSTR, commonlyused: i8, status: *mut UErrorCode) -> *mut UEnumeration; } ucurr_getKeywordValuesForLocale(key.into(), locale.into(), commonlyused, ::core::mem::transmute(status)) @@ -21434,7 +21434,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucurr_getName(currency: *const u16, locale: ::windows::core::PCSTR, namestyle: UCurrNameStyle, ischoiceformat: *mut i8, len: *mut i32, ec: *mut UErrorCode) -> *mut u16; } ucurr_getName(::core::mem::transmute(currency), locale.into(), namestyle, ::core::mem::transmute(ischoiceformat), ::core::mem::transmute(len), ::core::mem::transmute(ec)) @@ -21443,7 +21443,7 @@ where #[inline] pub unsafe fn ucurr_getNumericCode(currency: &u16) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucurr_getNumericCode(currency: *const u16) -> i32; } ucurr_getNumericCode(::core::mem::transmute(currency)) @@ -21456,7 +21456,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucurr_getPluralName(currency: *const u16, locale: ::windows::core::PCSTR, ischoiceformat: *mut i8, pluralcount: ::windows::core::PCSTR, len: *mut i32, ec: *mut UErrorCode) -> *mut u16; } ucurr_getPluralName(::core::mem::transmute(currency), locale.into(), ::core::mem::transmute(ischoiceformat), pluralcount.into(), ::core::mem::transmute(len), ::core::mem::transmute(ec)) @@ -21465,7 +21465,7 @@ where #[inline] pub unsafe fn ucurr_getRoundingIncrement(currency: &u16, ec: &mut UErrorCode) -> f64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucurr_getRoundingIncrement(currency: *const u16, ec: *mut UErrorCode) -> f64; } ucurr_getRoundingIncrement(::core::mem::transmute(currency), ::core::mem::transmute(ec)) @@ -21474,7 +21474,7 @@ pub unsafe fn ucurr_getRoundingIncrement(currency: &u16, ec: &mut UErrorCode) -> #[inline] pub unsafe fn ucurr_getRoundingIncrementForUsage(currency: &u16, usage: UCurrencyUsage, ec: &mut UErrorCode) -> f64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucurr_getRoundingIncrementForUsage(currency: *const u16, usage: UCurrencyUsage, ec: *mut UErrorCode) -> f64; } ucurr_getRoundingIncrementForUsage(::core::mem::transmute(currency), usage, ::core::mem::transmute(ec)) @@ -21483,7 +21483,7 @@ pub unsafe fn ucurr_getRoundingIncrementForUsage(currency: &u16, usage: UCurrenc #[inline] pub unsafe fn ucurr_isAvailable(isocode: &u16, from: f64, to: f64, errorcode: &mut UErrorCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucurr_isAvailable(isocode: *const u16, from: f64, to: f64, errorcode: *mut UErrorCode) -> i8; } ucurr_isAvailable(::core::mem::transmute(isocode), from, to, ::core::mem::transmute(errorcode)) @@ -21492,7 +21492,7 @@ pub unsafe fn ucurr_isAvailable(isocode: &u16, from: f64, to: f64, errorcode: &m #[inline] pub unsafe fn ucurr_openISOCurrencies(currtype: u32, perrorcode: &mut UErrorCode) -> *mut UEnumeration { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucurr_openISOCurrencies(currtype: u32, perrorcode: *mut UErrorCode) -> *mut UEnumeration; } ucurr_openISOCurrencies(currtype, ::core::mem::transmute(perrorcode)) @@ -21504,7 +21504,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucurr_register(isocode: *const u16, locale: ::windows::core::PCSTR, status: *mut UErrorCode) -> *mut ::core::ffi::c_void; } ucurr_register(::core::mem::transmute(isocode), locale.into(), ::core::mem::transmute(status)) @@ -21513,7 +21513,7 @@ where #[inline] pub unsafe fn ucurr_unregister(key: *mut ::core::ffi::c_void, status: &mut UErrorCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ucurr_unregister(key: *mut ::core::ffi::c_void, status: *mut UErrorCode) -> i8; } ucurr_unregister(::core::mem::transmute(key), ::core::mem::transmute(status)) @@ -21522,7 +21522,7 @@ pub unsafe fn ucurr_unregister(key: *mut ::core::ffi::c_void, status: &mut UErro #[inline] pub unsafe fn udat_adoptNumberFormat(fmt: *mut *mut ::core::ffi::c_void, numberformattoadopt: *mut *mut ::core::ffi::c_void) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_adoptNumberFormat(fmt: *mut *mut ::core::ffi::c_void, numberformattoadopt: *mut *mut ::core::ffi::c_void); } udat_adoptNumberFormat(::core::mem::transmute(fmt), ::core::mem::transmute(numberformattoadopt)) @@ -21531,7 +21531,7 @@ pub unsafe fn udat_adoptNumberFormat(fmt: *mut *mut ::core::ffi::c_void, numberf #[inline] pub unsafe fn udat_adoptNumberFormatForFields(fmt: *mut *mut ::core::ffi::c_void, fields: &u16, numberformattoset: *mut *mut ::core::ffi::c_void, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_adoptNumberFormatForFields(fmt: *mut *mut ::core::ffi::c_void, fields: *const u16, numberformattoset: *mut *mut ::core::ffi::c_void, status: *mut UErrorCode); } udat_adoptNumberFormatForFields(::core::mem::transmute(fmt), ::core::mem::transmute(fields), ::core::mem::transmute(numberformattoset), ::core::mem::transmute(status)) @@ -21540,7 +21540,7 @@ pub unsafe fn udat_adoptNumberFormatForFields(fmt: *mut *mut ::core::ffi::c_void #[inline] pub unsafe fn udat_applyPattern(format: *mut *mut ::core::ffi::c_void, localized: i8, pattern: &u16, patternlength: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_applyPattern(format: *mut *mut ::core::ffi::c_void, localized: i8, pattern: *const u16, patternlength: i32); } udat_applyPattern(::core::mem::transmute(format), localized, ::core::mem::transmute(pattern), patternlength) @@ -21549,7 +21549,7 @@ pub unsafe fn udat_applyPattern(format: *mut *mut ::core::ffi::c_void, localized #[inline] pub unsafe fn udat_clone(fmt: *const *const ::core::ffi::c_void, status: &mut UErrorCode) -> *mut *mut ::core::ffi::c_void { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_clone(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; } udat_clone(::core::mem::transmute(fmt), ::core::mem::transmute(status)) @@ -21558,7 +21558,7 @@ pub unsafe fn udat_clone(fmt: *const *const ::core::ffi::c_void, status: &mut UE #[inline] pub unsafe fn udat_close(format: *mut *mut ::core::ffi::c_void) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_close(format: *mut *mut ::core::ffi::c_void); } udat_close(::core::mem::transmute(format)) @@ -21567,7 +21567,7 @@ pub unsafe fn udat_close(format: *mut *mut ::core::ffi::c_void) { #[inline] pub unsafe fn udat_countAvailable() -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_countAvailable() -> i32; } udat_countAvailable() @@ -21576,7 +21576,7 @@ pub unsafe fn udat_countAvailable() -> i32 { #[inline] pub unsafe fn udat_countSymbols(fmt: *const *const ::core::ffi::c_void, r#type: UDateFormatSymbolType) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_countSymbols(fmt: *const *const ::core::ffi::c_void, r#type: UDateFormatSymbolType) -> i32; } udat_countSymbols(::core::mem::transmute(fmt), r#type) @@ -21585,7 +21585,7 @@ pub unsafe fn udat_countSymbols(fmt: *const *const ::core::ffi::c_void, r#type: #[inline] pub unsafe fn udat_format(format: *const *const ::core::ffi::c_void, datetoformat: f64, result: &mut u16, resultlength: i32, position: &mut UFieldPosition, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_format(format: *const *const ::core::ffi::c_void, datetoformat: f64, result: *mut u16, resultlength: i32, position: *mut UFieldPosition, status: *mut UErrorCode) -> i32; } udat_format(::core::mem::transmute(format), datetoformat, ::core::mem::transmute(result), resultlength, ::core::mem::transmute(position), ::core::mem::transmute(status)) @@ -21594,7 +21594,7 @@ pub unsafe fn udat_format(format: *const *const ::core::ffi::c_void, datetoforma #[inline] pub unsafe fn udat_formatCalendar(format: *const *const ::core::ffi::c_void, calendar: *mut *mut ::core::ffi::c_void, result: &mut u16, capacity: i32, position: &mut UFieldPosition, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_formatCalendar(format: *const *const ::core::ffi::c_void, calendar: *mut *mut ::core::ffi::c_void, result: *mut u16, capacity: i32, position: *mut UFieldPosition, status: *mut UErrorCode) -> i32; } udat_formatCalendar(::core::mem::transmute(format), ::core::mem::transmute(calendar), ::core::mem::transmute(result), capacity, ::core::mem::transmute(position), ::core::mem::transmute(status)) @@ -21603,7 +21603,7 @@ pub unsafe fn udat_formatCalendar(format: *const *const ::core::ffi::c_void, cal #[inline] pub unsafe fn udat_formatCalendarForFields(format: *const *const ::core::ffi::c_void, calendar: *mut *mut ::core::ffi::c_void, result: &mut u16, capacity: i32, fpositer: &mut UFieldPositionIterator, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_formatCalendarForFields(format: *const *const ::core::ffi::c_void, calendar: *mut *mut ::core::ffi::c_void, result: *mut u16, capacity: i32, fpositer: *mut UFieldPositionIterator, status: *mut UErrorCode) -> i32; } udat_formatCalendarForFields(::core::mem::transmute(format), ::core::mem::transmute(calendar), ::core::mem::transmute(result), capacity, ::core::mem::transmute(fpositer), ::core::mem::transmute(status)) @@ -21612,7 +21612,7 @@ pub unsafe fn udat_formatCalendarForFields(format: *const *const ::core::ffi::c_ #[inline] pub unsafe fn udat_formatForFields(format: *const *const ::core::ffi::c_void, datetoformat: f64, result: &mut u16, resultlength: i32, fpositer: &mut UFieldPositionIterator, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_formatForFields(format: *const *const ::core::ffi::c_void, datetoformat: f64, result: *mut u16, resultlength: i32, fpositer: *mut UFieldPositionIterator, status: *mut UErrorCode) -> i32; } udat_formatForFields(::core::mem::transmute(format), datetoformat, ::core::mem::transmute(result), resultlength, ::core::mem::transmute(fpositer), ::core::mem::transmute(status)) @@ -21621,7 +21621,7 @@ pub unsafe fn udat_formatForFields(format: *const *const ::core::ffi::c_void, da #[inline] pub unsafe fn udat_get2DigitYearStart(fmt: *const *const ::core::ffi::c_void, status: &mut UErrorCode) -> f64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_get2DigitYearStart(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> f64; } udat_get2DigitYearStart(::core::mem::transmute(fmt), ::core::mem::transmute(status)) @@ -21630,7 +21630,7 @@ pub unsafe fn udat_get2DigitYearStart(fmt: *const *const ::core::ffi::c_void, st #[inline] pub unsafe fn udat_getAvailable(localeindex: i32) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_getAvailable(localeindex: i32) -> ::windows::core::PSTR; } udat_getAvailable(localeindex) @@ -21639,7 +21639,7 @@ pub unsafe fn udat_getAvailable(localeindex: i32) -> ::windows::core::PSTR { #[inline] pub unsafe fn udat_getBooleanAttribute(fmt: *const *const ::core::ffi::c_void, attr: UDateFormatBooleanAttribute, status: &mut UErrorCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_getBooleanAttribute(fmt: *const *const ::core::ffi::c_void, attr: UDateFormatBooleanAttribute, status: *mut UErrorCode) -> i8; } udat_getBooleanAttribute(::core::mem::transmute(fmt), attr, ::core::mem::transmute(status)) @@ -21648,7 +21648,7 @@ pub unsafe fn udat_getBooleanAttribute(fmt: *const *const ::core::ffi::c_void, a #[inline] pub unsafe fn udat_getCalendar(fmt: *const *const ::core::ffi::c_void) -> *mut *mut ::core::ffi::c_void { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_getCalendar(fmt: *const *const ::core::ffi::c_void) -> *mut *mut ::core::ffi::c_void; } udat_getCalendar(::core::mem::transmute(fmt)) @@ -21657,7 +21657,7 @@ pub unsafe fn udat_getCalendar(fmt: *const *const ::core::ffi::c_void) -> *mut * #[inline] pub unsafe fn udat_getContext(fmt: *const *const ::core::ffi::c_void, r#type: UDisplayContextType, status: &mut UErrorCode) -> UDisplayContext { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_getContext(fmt: *const *const ::core::ffi::c_void, r#type: UDisplayContextType, status: *mut UErrorCode) -> UDisplayContext; } udat_getContext(::core::mem::transmute(fmt), r#type, ::core::mem::transmute(status)) @@ -21666,7 +21666,7 @@ pub unsafe fn udat_getContext(fmt: *const *const ::core::ffi::c_void, r#type: UD #[inline] pub unsafe fn udat_getLocaleByType(fmt: *const *const ::core::ffi::c_void, r#type: ULocDataLocaleType, status: &mut UErrorCode) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_getLocaleByType(fmt: *const *const ::core::ffi::c_void, r#type: ULocDataLocaleType, status: *mut UErrorCode) -> ::windows::core::PSTR; } udat_getLocaleByType(::core::mem::transmute(fmt), r#type, ::core::mem::transmute(status)) @@ -21675,7 +21675,7 @@ pub unsafe fn udat_getLocaleByType(fmt: *const *const ::core::ffi::c_void, r#typ #[inline] pub unsafe fn udat_getNumberFormat(fmt: *const *const ::core::ffi::c_void) -> *mut *mut ::core::ffi::c_void { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_getNumberFormat(fmt: *const *const ::core::ffi::c_void) -> *mut *mut ::core::ffi::c_void; } udat_getNumberFormat(::core::mem::transmute(fmt)) @@ -21684,7 +21684,7 @@ pub unsafe fn udat_getNumberFormat(fmt: *const *const ::core::ffi::c_void) -> *m #[inline] pub unsafe fn udat_getNumberFormatForField(fmt: *const *const ::core::ffi::c_void, field: u16) -> *mut *mut ::core::ffi::c_void { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_getNumberFormatForField(fmt: *const *const ::core::ffi::c_void, field: u16) -> *mut *mut ::core::ffi::c_void; } udat_getNumberFormatForField(::core::mem::transmute(fmt), field) @@ -21693,7 +21693,7 @@ pub unsafe fn udat_getNumberFormatForField(fmt: *const *const ::core::ffi::c_voi #[inline] pub unsafe fn udat_getSymbols(fmt: *const *const ::core::ffi::c_void, r#type: UDateFormatSymbolType, symbolindex: i32, result: &mut u16, resultlength: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_getSymbols(fmt: *const *const ::core::ffi::c_void, r#type: UDateFormatSymbolType, symbolindex: i32, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; } udat_getSymbols(::core::mem::transmute(fmt), r#type, symbolindex, ::core::mem::transmute(result), resultlength, ::core::mem::transmute(status)) @@ -21702,7 +21702,7 @@ pub unsafe fn udat_getSymbols(fmt: *const *const ::core::ffi::c_void, r#type: UD #[inline] pub unsafe fn udat_isLenient(fmt: *const *const ::core::ffi::c_void) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_isLenient(fmt: *const *const ::core::ffi::c_void) -> i8; } udat_isLenient(::core::mem::transmute(fmt)) @@ -21714,7 +21714,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_open(timestyle: UDateFormatStyle, datestyle: UDateFormatStyle, locale: ::windows::core::PCSTR, tzid: *const u16, tzidlength: i32, pattern: *const u16, patternlength: i32, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; } udat_open(timestyle, datestyle, locale.into(), ::core::mem::transmute(tzid), tzidlength, ::core::mem::transmute(pattern), patternlength, ::core::mem::transmute(status)) @@ -21723,7 +21723,7 @@ where #[inline] pub unsafe fn udat_parse(format: *const *const ::core::ffi::c_void, text: &u16, textlength: i32, parsepos: &mut i32, status: &mut UErrorCode) -> f64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_parse(format: *const *const ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, status: *mut UErrorCode) -> f64; } udat_parse(::core::mem::transmute(format), ::core::mem::transmute(text), textlength, ::core::mem::transmute(parsepos), ::core::mem::transmute(status)) @@ -21732,7 +21732,7 @@ pub unsafe fn udat_parse(format: *const *const ::core::ffi::c_void, text: &u16, #[inline] pub unsafe fn udat_parseCalendar(format: *const *const ::core::ffi::c_void, calendar: *mut *mut ::core::ffi::c_void, text: &u16, textlength: i32, parsepos: &mut i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_parseCalendar(format: *const *const ::core::ffi::c_void, calendar: *mut *mut ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, status: *mut UErrorCode); } udat_parseCalendar(::core::mem::transmute(format), ::core::mem::transmute(calendar), ::core::mem::transmute(text), textlength, ::core::mem::transmute(parsepos), ::core::mem::transmute(status)) @@ -21741,7 +21741,7 @@ pub unsafe fn udat_parseCalendar(format: *const *const ::core::ffi::c_void, cale #[inline] pub unsafe fn udat_set2DigitYearStart(fmt: *mut *mut ::core::ffi::c_void, d: f64, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_set2DigitYearStart(fmt: *mut *mut ::core::ffi::c_void, d: f64, status: *mut UErrorCode); } udat_set2DigitYearStart(::core::mem::transmute(fmt), d, ::core::mem::transmute(status)) @@ -21750,7 +21750,7 @@ pub unsafe fn udat_set2DigitYearStart(fmt: *mut *mut ::core::ffi::c_void, d: f64 #[inline] pub unsafe fn udat_setBooleanAttribute(fmt: *mut *mut ::core::ffi::c_void, attr: UDateFormatBooleanAttribute, newvalue: i8, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_setBooleanAttribute(fmt: *mut *mut ::core::ffi::c_void, attr: UDateFormatBooleanAttribute, newvalue: i8, status: *mut UErrorCode); } udat_setBooleanAttribute(::core::mem::transmute(fmt), attr, newvalue, ::core::mem::transmute(status)) @@ -21759,7 +21759,7 @@ pub unsafe fn udat_setBooleanAttribute(fmt: *mut *mut ::core::ffi::c_void, attr: #[inline] pub unsafe fn udat_setCalendar(fmt: *mut *mut ::core::ffi::c_void, calendartoset: *const *const ::core::ffi::c_void) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_setCalendar(fmt: *mut *mut ::core::ffi::c_void, calendartoset: *const *const ::core::ffi::c_void); } udat_setCalendar(::core::mem::transmute(fmt), ::core::mem::transmute(calendartoset)) @@ -21768,7 +21768,7 @@ pub unsafe fn udat_setCalendar(fmt: *mut *mut ::core::ffi::c_void, calendartoset #[inline] pub unsafe fn udat_setContext(fmt: *mut *mut ::core::ffi::c_void, value: UDisplayContext, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_setContext(fmt: *mut *mut ::core::ffi::c_void, value: UDisplayContext, status: *mut UErrorCode); } udat_setContext(::core::mem::transmute(fmt), value, ::core::mem::transmute(status)) @@ -21777,7 +21777,7 @@ pub unsafe fn udat_setContext(fmt: *mut *mut ::core::ffi::c_void, value: UDispla #[inline] pub unsafe fn udat_setLenient(fmt: *mut *mut ::core::ffi::c_void, islenient: i8) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_setLenient(fmt: *mut *mut ::core::ffi::c_void, islenient: i8); } udat_setLenient(::core::mem::transmute(fmt), islenient) @@ -21786,7 +21786,7 @@ pub unsafe fn udat_setLenient(fmt: *mut *mut ::core::ffi::c_void, islenient: i8) #[inline] pub unsafe fn udat_setNumberFormat(fmt: *mut *mut ::core::ffi::c_void, numberformattoset: *const *const ::core::ffi::c_void) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_setNumberFormat(fmt: *mut *mut ::core::ffi::c_void, numberformattoset: *const *const ::core::ffi::c_void); } udat_setNumberFormat(::core::mem::transmute(fmt), ::core::mem::transmute(numberformattoset)) @@ -21795,7 +21795,7 @@ pub unsafe fn udat_setNumberFormat(fmt: *mut *mut ::core::ffi::c_void, numberfor #[inline] pub unsafe fn udat_setSymbols(format: *mut *mut ::core::ffi::c_void, r#type: UDateFormatSymbolType, symbolindex: i32, value: &mut u16, valuelength: i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_setSymbols(format: *mut *mut ::core::ffi::c_void, r#type: UDateFormatSymbolType, symbolindex: i32, value: *mut u16, valuelength: i32, status: *mut UErrorCode); } udat_setSymbols(::core::mem::transmute(format), r#type, symbolindex, ::core::mem::transmute(value), valuelength, ::core::mem::transmute(status)) @@ -21804,7 +21804,7 @@ pub unsafe fn udat_setSymbols(format: *mut *mut ::core::ffi::c_void, r#type: UDa #[inline] pub unsafe fn udat_toCalendarDateField(field: UDateFormatField) -> UCalendarDateFields { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_toCalendarDateField(field: UDateFormatField) -> UCalendarDateFields; } udat_toCalendarDateField(field) @@ -21813,7 +21813,7 @@ pub unsafe fn udat_toCalendarDateField(field: UDateFormatField) -> UCalendarDate #[inline] pub unsafe fn udat_toPattern(fmt: *const *const ::core::ffi::c_void, localized: i8, result: &mut u16, resultlength: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udat_toPattern(fmt: *const *const ::core::ffi::c_void, localized: i8, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; } udat_toPattern(::core::mem::transmute(fmt), localized, ::core::mem::transmute(result), resultlength, ::core::mem::transmute(status)) @@ -21822,7 +21822,7 @@ pub unsafe fn udat_toPattern(fmt: *const *const ::core::ffi::c_void, localized: #[inline] pub unsafe fn udatpg_addPattern(dtpg: *mut *mut ::core::ffi::c_void, pattern: &u16, patternlength: i32, r#override: i8, conflictingpattern: &mut u16, capacity: i32, plength: &mut i32, perrorcode: &mut UErrorCode) -> UDateTimePatternConflict { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_addPattern(dtpg: *mut *mut ::core::ffi::c_void, pattern: *const u16, patternlength: i32, r#override: i8, conflictingpattern: *mut u16, capacity: i32, plength: *mut i32, perrorcode: *mut UErrorCode) -> UDateTimePatternConflict; } udatpg_addPattern(::core::mem::transmute(dtpg), ::core::mem::transmute(pattern), patternlength, r#override, ::core::mem::transmute(conflictingpattern), capacity, ::core::mem::transmute(plength), ::core::mem::transmute(perrorcode)) @@ -21831,7 +21831,7 @@ pub unsafe fn udatpg_addPattern(dtpg: *mut *mut ::core::ffi::c_void, pattern: &u #[inline] pub unsafe fn udatpg_clone(dtpg: *const *const ::core::ffi::c_void, perrorcode: &mut UErrorCode) -> *mut *mut ::core::ffi::c_void { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_clone(dtpg: *const *const ::core::ffi::c_void, perrorcode: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; } udatpg_clone(::core::mem::transmute(dtpg), ::core::mem::transmute(perrorcode)) @@ -21840,7 +21840,7 @@ pub unsafe fn udatpg_clone(dtpg: *const *const ::core::ffi::c_void, perrorcode: #[inline] pub unsafe fn udatpg_close(dtpg: *mut *mut ::core::ffi::c_void) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_close(dtpg: *mut *mut ::core::ffi::c_void); } udatpg_close(::core::mem::transmute(dtpg)) @@ -21849,7 +21849,7 @@ pub unsafe fn udatpg_close(dtpg: *mut *mut ::core::ffi::c_void) { #[inline] pub unsafe fn udatpg_getAppendItemFormat(dtpg: *const *const ::core::ffi::c_void, field: UDateTimePatternField, plength: &mut i32) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_getAppendItemFormat(dtpg: *const *const ::core::ffi::c_void, field: UDateTimePatternField, plength: *mut i32) -> *mut u16; } udatpg_getAppendItemFormat(::core::mem::transmute(dtpg), field, ::core::mem::transmute(plength)) @@ -21858,7 +21858,7 @@ pub unsafe fn udatpg_getAppendItemFormat(dtpg: *const *const ::core::ffi::c_void #[inline] pub unsafe fn udatpg_getAppendItemName(dtpg: *const *const ::core::ffi::c_void, field: UDateTimePatternField, plength: &mut i32) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_getAppendItemName(dtpg: *const *const ::core::ffi::c_void, field: UDateTimePatternField, plength: *mut i32) -> *mut u16; } udatpg_getAppendItemName(::core::mem::transmute(dtpg), field, ::core::mem::transmute(plength)) @@ -21867,7 +21867,7 @@ pub unsafe fn udatpg_getAppendItemName(dtpg: *const *const ::core::ffi::c_void, #[inline] pub unsafe fn udatpg_getBaseSkeleton(unuseddtpg: *mut *mut ::core::ffi::c_void, pattern: &u16, length: i32, baseskeleton: &mut u16, capacity: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_getBaseSkeleton(unuseddtpg: *mut *mut ::core::ffi::c_void, pattern: *const u16, length: i32, baseskeleton: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32; } udatpg_getBaseSkeleton(::core::mem::transmute(unuseddtpg), ::core::mem::transmute(pattern), length, ::core::mem::transmute(baseskeleton), capacity, ::core::mem::transmute(perrorcode)) @@ -21876,7 +21876,7 @@ pub unsafe fn udatpg_getBaseSkeleton(unuseddtpg: *mut *mut ::core::ffi::c_void, #[inline] pub unsafe fn udatpg_getBestPattern(dtpg: *mut *mut ::core::ffi::c_void, skeleton: &u16, length: i32, bestpattern: &mut u16, capacity: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_getBestPattern(dtpg: *mut *mut ::core::ffi::c_void, skeleton: *const u16, length: i32, bestpattern: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32; } udatpg_getBestPattern(::core::mem::transmute(dtpg), ::core::mem::transmute(skeleton), length, ::core::mem::transmute(bestpattern), capacity, ::core::mem::transmute(perrorcode)) @@ -21885,7 +21885,7 @@ pub unsafe fn udatpg_getBestPattern(dtpg: *mut *mut ::core::ffi::c_void, skeleto #[inline] pub unsafe fn udatpg_getBestPatternWithOptions(dtpg: *mut *mut ::core::ffi::c_void, skeleton: &u16, length: i32, options: UDateTimePatternMatchOptions, bestpattern: &mut u16, capacity: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_getBestPatternWithOptions(dtpg: *mut *mut ::core::ffi::c_void, skeleton: *const u16, length: i32, options: UDateTimePatternMatchOptions, bestpattern: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32; } udatpg_getBestPatternWithOptions(::core::mem::transmute(dtpg), ::core::mem::transmute(skeleton), length, options, ::core::mem::transmute(bestpattern), capacity, ::core::mem::transmute(perrorcode)) @@ -21894,7 +21894,7 @@ pub unsafe fn udatpg_getBestPatternWithOptions(dtpg: *mut *mut ::core::ffi::c_vo #[inline] pub unsafe fn udatpg_getDateTimeFormat(dtpg: *const *const ::core::ffi::c_void, plength: &mut i32) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_getDateTimeFormat(dtpg: *const *const ::core::ffi::c_void, plength: *mut i32) -> *mut u16; } udatpg_getDateTimeFormat(::core::mem::transmute(dtpg), ::core::mem::transmute(plength)) @@ -21903,7 +21903,7 @@ pub unsafe fn udatpg_getDateTimeFormat(dtpg: *const *const ::core::ffi::c_void, #[inline] pub unsafe fn udatpg_getDecimal(dtpg: *const *const ::core::ffi::c_void, plength: &mut i32) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_getDecimal(dtpg: *const *const ::core::ffi::c_void, plength: *mut i32) -> *mut u16; } udatpg_getDecimal(::core::mem::transmute(dtpg), ::core::mem::transmute(plength)) @@ -21912,7 +21912,7 @@ pub unsafe fn udatpg_getDecimal(dtpg: *const *const ::core::ffi::c_void, plength #[inline] pub unsafe fn udatpg_getFieldDisplayName(dtpg: *const *const ::core::ffi::c_void, field: UDateTimePatternField, width: UDateTimePGDisplayWidth, fieldname: &mut u16, capacity: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_getFieldDisplayName(dtpg: *const *const ::core::ffi::c_void, field: UDateTimePatternField, width: UDateTimePGDisplayWidth, fieldname: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32; } udatpg_getFieldDisplayName(::core::mem::transmute(dtpg), field, width, ::core::mem::transmute(fieldname), capacity, ::core::mem::transmute(perrorcode)) @@ -21921,7 +21921,7 @@ pub unsafe fn udatpg_getFieldDisplayName(dtpg: *const *const ::core::ffi::c_void #[inline] pub unsafe fn udatpg_getPatternForSkeleton(dtpg: *const *const ::core::ffi::c_void, skeleton: &u16, skeletonlength: i32, plength: &mut i32) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_getPatternForSkeleton(dtpg: *const *const ::core::ffi::c_void, skeleton: *const u16, skeletonlength: i32, plength: *mut i32) -> *mut u16; } udatpg_getPatternForSkeleton(::core::mem::transmute(dtpg), ::core::mem::transmute(skeleton), skeletonlength, ::core::mem::transmute(plength)) @@ -21930,7 +21930,7 @@ pub unsafe fn udatpg_getPatternForSkeleton(dtpg: *const *const ::core::ffi::c_vo #[inline] pub unsafe fn udatpg_getSkeleton(unuseddtpg: *mut *mut ::core::ffi::c_void, pattern: &u16, length: i32, skeleton: &mut u16, capacity: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_getSkeleton(unuseddtpg: *mut *mut ::core::ffi::c_void, pattern: *const u16, length: i32, skeleton: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32; } udatpg_getSkeleton(::core::mem::transmute(unuseddtpg), ::core::mem::transmute(pattern), length, ::core::mem::transmute(skeleton), capacity, ::core::mem::transmute(perrorcode)) @@ -21942,7 +21942,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_open(locale: ::windows::core::PCSTR, perrorcode: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; } udatpg_open(locale.into(), ::core::mem::transmute(perrorcode)) @@ -21951,7 +21951,7 @@ where #[inline] pub unsafe fn udatpg_openBaseSkeletons(dtpg: *const *const ::core::ffi::c_void, perrorcode: &mut UErrorCode) -> *mut UEnumeration { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_openBaseSkeletons(dtpg: *const *const ::core::ffi::c_void, perrorcode: *mut UErrorCode) -> *mut UEnumeration; } udatpg_openBaseSkeletons(::core::mem::transmute(dtpg), ::core::mem::transmute(perrorcode)) @@ -21960,7 +21960,7 @@ pub unsafe fn udatpg_openBaseSkeletons(dtpg: *const *const ::core::ffi::c_void, #[inline] pub unsafe fn udatpg_openEmpty(perrorcode: &mut UErrorCode) -> *mut *mut ::core::ffi::c_void { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_openEmpty(perrorcode: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; } udatpg_openEmpty(::core::mem::transmute(perrorcode)) @@ -21969,7 +21969,7 @@ pub unsafe fn udatpg_openEmpty(perrorcode: &mut UErrorCode) -> *mut *mut ::core: #[inline] pub unsafe fn udatpg_openSkeletons(dtpg: *const *const ::core::ffi::c_void, perrorcode: &mut UErrorCode) -> *mut UEnumeration { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_openSkeletons(dtpg: *const *const ::core::ffi::c_void, perrorcode: *mut UErrorCode) -> *mut UEnumeration; } udatpg_openSkeletons(::core::mem::transmute(dtpg), ::core::mem::transmute(perrorcode)) @@ -21978,7 +21978,7 @@ pub unsafe fn udatpg_openSkeletons(dtpg: *const *const ::core::ffi::c_void, perr #[inline] pub unsafe fn udatpg_replaceFieldTypes(dtpg: *mut *mut ::core::ffi::c_void, pattern: &u16, patternlength: i32, skeleton: &u16, skeletonlength: i32, dest: &mut u16, destcapacity: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_replaceFieldTypes(dtpg: *mut *mut ::core::ffi::c_void, pattern: *const u16, patternlength: i32, skeleton: *const u16, skeletonlength: i32, dest: *mut u16, destcapacity: i32, perrorcode: *mut UErrorCode) -> i32; } udatpg_replaceFieldTypes(::core::mem::transmute(dtpg), ::core::mem::transmute(pattern), patternlength, ::core::mem::transmute(skeleton), skeletonlength, ::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(perrorcode)) @@ -21987,7 +21987,7 @@ pub unsafe fn udatpg_replaceFieldTypes(dtpg: *mut *mut ::core::ffi::c_void, patt #[inline] pub unsafe fn udatpg_replaceFieldTypesWithOptions(dtpg: *mut *mut ::core::ffi::c_void, pattern: &u16, patternlength: i32, skeleton: &u16, skeletonlength: i32, options: UDateTimePatternMatchOptions, dest: &mut u16, destcapacity: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_replaceFieldTypesWithOptions(dtpg: *mut *mut ::core::ffi::c_void, pattern: *const u16, patternlength: i32, skeleton: *const u16, skeletonlength: i32, options: UDateTimePatternMatchOptions, dest: *mut u16, destcapacity: i32, perrorcode: *mut UErrorCode) -> i32; } udatpg_replaceFieldTypesWithOptions(::core::mem::transmute(dtpg), ::core::mem::transmute(pattern), patternlength, ::core::mem::transmute(skeleton), skeletonlength, options, ::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(perrorcode)) @@ -21996,7 +21996,7 @@ pub unsafe fn udatpg_replaceFieldTypesWithOptions(dtpg: *mut *mut ::core::ffi::c #[inline] pub unsafe fn udatpg_setAppendItemFormat(dtpg: *mut *mut ::core::ffi::c_void, field: UDateTimePatternField, value: &u16, length: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_setAppendItemFormat(dtpg: *mut *mut ::core::ffi::c_void, field: UDateTimePatternField, value: *const u16, length: i32); } udatpg_setAppendItemFormat(::core::mem::transmute(dtpg), field, ::core::mem::transmute(value), length) @@ -22005,7 +22005,7 @@ pub unsafe fn udatpg_setAppendItemFormat(dtpg: *mut *mut ::core::ffi::c_void, fi #[inline] pub unsafe fn udatpg_setAppendItemName(dtpg: *mut *mut ::core::ffi::c_void, field: UDateTimePatternField, value: &u16, length: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_setAppendItemName(dtpg: *mut *mut ::core::ffi::c_void, field: UDateTimePatternField, value: *const u16, length: i32); } udatpg_setAppendItemName(::core::mem::transmute(dtpg), field, ::core::mem::transmute(value), length) @@ -22014,7 +22014,7 @@ pub unsafe fn udatpg_setAppendItemName(dtpg: *mut *mut ::core::ffi::c_void, fiel #[inline] pub unsafe fn udatpg_setDateTimeFormat(dtpg: *const *const ::core::ffi::c_void, dtformat: &u16, length: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_setDateTimeFormat(dtpg: *const *const ::core::ffi::c_void, dtformat: *const u16, length: i32); } udatpg_setDateTimeFormat(::core::mem::transmute(dtpg), ::core::mem::transmute(dtformat), length) @@ -22023,7 +22023,7 @@ pub unsafe fn udatpg_setDateTimeFormat(dtpg: *const *const ::core::ffi::c_void, #[inline] pub unsafe fn udatpg_setDecimal(dtpg: *mut *mut ::core::ffi::c_void, decimal: &u16, length: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udatpg_setDecimal(dtpg: *mut *mut ::core::ffi::c_void, decimal: *const u16, length: i32); } udatpg_setDecimal(::core::mem::transmute(dtpg), ::core::mem::transmute(decimal), length) @@ -22032,7 +22032,7 @@ pub unsafe fn udatpg_setDecimal(dtpg: *mut *mut ::core::ffi::c_void, decimal: &u #[inline] pub unsafe fn udtitvfmt_close(formatter: &mut UDateIntervalFormat) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udtitvfmt_close(formatter: *mut UDateIntervalFormat); } udtitvfmt_close(::core::mem::transmute(formatter)) @@ -22041,7 +22041,7 @@ pub unsafe fn udtitvfmt_close(formatter: &mut UDateIntervalFormat) { #[inline] pub unsafe fn udtitvfmt_closeResult(uresult: &mut UFormattedDateInterval) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udtitvfmt_closeResult(uresult: *mut UFormattedDateInterval); } udtitvfmt_closeResult(::core::mem::transmute(uresult)) @@ -22050,7 +22050,7 @@ pub unsafe fn udtitvfmt_closeResult(uresult: &mut UFormattedDateInterval) { #[inline] pub unsafe fn udtitvfmt_format(formatter: &UDateIntervalFormat, fromdate: f64, todate: f64, result: &mut u16, resultcapacity: i32, position: &mut UFieldPosition, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udtitvfmt_format(formatter: *const UDateIntervalFormat, fromdate: f64, todate: f64, result: *mut u16, resultcapacity: i32, position: *mut UFieldPosition, status: *mut UErrorCode) -> i32; } udtitvfmt_format(::core::mem::transmute(formatter), fromdate, todate, ::core::mem::transmute(result), resultcapacity, ::core::mem::transmute(position), ::core::mem::transmute(status)) @@ -22062,7 +22062,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udtitvfmt_open(locale: ::windows::core::PCSTR, skeleton: *const u16, skeletonlength: i32, tzid: *const u16, tzidlength: i32, status: *mut UErrorCode) -> *mut UDateIntervalFormat; } udtitvfmt_open(locale.into(), ::core::mem::transmute(skeleton), skeletonlength, ::core::mem::transmute(tzid), tzidlength, ::core::mem::transmute(status)) @@ -22071,7 +22071,7 @@ where #[inline] pub unsafe fn udtitvfmt_openResult(ec: &mut UErrorCode) -> *mut UFormattedDateInterval { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udtitvfmt_openResult(ec: *mut UErrorCode) -> *mut UFormattedDateInterval; } udtitvfmt_openResult(::core::mem::transmute(ec)) @@ -22080,7 +22080,7 @@ pub unsafe fn udtitvfmt_openResult(ec: &mut UErrorCode) -> *mut UFormattedDateIn #[inline] pub unsafe fn udtitvfmt_resultAsValue(uresult: &UFormattedDateInterval, ec: &mut UErrorCode) -> *mut UFormattedValue { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn udtitvfmt_resultAsValue(uresult: *const UFormattedDateInterval, ec: *mut UErrorCode) -> *mut UFormattedValue; } udtitvfmt_resultAsValue(::core::mem::transmute(uresult), ::core::mem::transmute(ec)) @@ -22089,7 +22089,7 @@ pub unsafe fn udtitvfmt_resultAsValue(uresult: &UFormattedDateInterval, ec: &mut #[inline] pub unsafe fn uenum_close(en: &mut UEnumeration) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uenum_close(en: *mut UEnumeration); } uenum_close(::core::mem::transmute(en)) @@ -22098,7 +22098,7 @@ pub unsafe fn uenum_close(en: &mut UEnumeration) { #[inline] pub unsafe fn uenum_count(en: &mut UEnumeration, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uenum_count(en: *mut UEnumeration, status: *mut UErrorCode) -> i32; } uenum_count(::core::mem::transmute(en), ::core::mem::transmute(status)) @@ -22107,7 +22107,7 @@ pub unsafe fn uenum_count(en: &mut UEnumeration, status: &mut UErrorCode) -> i32 #[inline] pub unsafe fn uenum_next(en: &mut UEnumeration, resultlength: &mut i32, status: &mut UErrorCode) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uenum_next(en: *mut UEnumeration, resultlength: *mut i32, status: *mut UErrorCode) -> ::windows::core::PSTR; } uenum_next(::core::mem::transmute(en), ::core::mem::transmute(resultlength), ::core::mem::transmute(status)) @@ -22116,7 +22116,7 @@ pub unsafe fn uenum_next(en: &mut UEnumeration, resultlength: &mut i32, status: #[inline] pub unsafe fn uenum_openCharStringsEnumeration(strings: &*const i8, count: i32, ec: &mut UErrorCode) -> *mut UEnumeration { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uenum_openCharStringsEnumeration(strings: *const *const i8, count: i32, ec: *mut UErrorCode) -> *mut UEnumeration; } uenum_openCharStringsEnumeration(::core::mem::transmute(strings), count, ::core::mem::transmute(ec)) @@ -22125,7 +22125,7 @@ pub unsafe fn uenum_openCharStringsEnumeration(strings: &*const i8, count: i32, #[inline] pub unsafe fn uenum_openUCharStringsEnumeration(strings: &*const u16, count: i32, ec: &mut UErrorCode) -> *mut UEnumeration { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uenum_openUCharStringsEnumeration(strings: *const *const u16, count: i32, ec: *mut UErrorCode) -> *mut UEnumeration; } uenum_openUCharStringsEnumeration(::core::mem::transmute(strings), count, ::core::mem::transmute(ec)) @@ -22134,7 +22134,7 @@ pub unsafe fn uenum_openUCharStringsEnumeration(strings: &*const u16, count: i32 #[inline] pub unsafe fn uenum_reset(en: &mut UEnumeration, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uenum_reset(en: *mut UEnumeration, status: *mut UErrorCode); } uenum_reset(::core::mem::transmute(en), ::core::mem::transmute(status)) @@ -22143,7 +22143,7 @@ pub unsafe fn uenum_reset(en: &mut UEnumeration, status: &mut UErrorCode) { #[inline] pub unsafe fn uenum_unext(en: &mut UEnumeration, resultlength: &mut i32, status: &mut UErrorCode) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uenum_unext(en: *mut UEnumeration, resultlength: *mut i32, status: *mut UErrorCode) -> *mut u16; } uenum_unext(::core::mem::transmute(en), ::core::mem::transmute(resultlength), ::core::mem::transmute(status)) @@ -22152,7 +22152,7 @@ pub unsafe fn uenum_unext(en: &mut UEnumeration, resultlength: &mut i32, status: #[inline] pub unsafe fn ufieldpositer_close(fpositer: &mut UFieldPositionIterator) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ufieldpositer_close(fpositer: *mut UFieldPositionIterator); } ufieldpositer_close(::core::mem::transmute(fpositer)) @@ -22161,7 +22161,7 @@ pub unsafe fn ufieldpositer_close(fpositer: &mut UFieldPositionIterator) { #[inline] pub unsafe fn ufieldpositer_next(fpositer: &mut UFieldPositionIterator, beginindex: &mut i32, endindex: &mut i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ufieldpositer_next(fpositer: *mut UFieldPositionIterator, beginindex: *mut i32, endindex: *mut i32) -> i32; } ufieldpositer_next(::core::mem::transmute(fpositer), ::core::mem::transmute(beginindex), ::core::mem::transmute(endindex)) @@ -22170,7 +22170,7 @@ pub unsafe fn ufieldpositer_next(fpositer: &mut UFieldPositionIterator, beginind #[inline] pub unsafe fn ufieldpositer_open(status: &mut UErrorCode) -> *mut UFieldPositionIterator { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ufieldpositer_open(status: *mut UErrorCode) -> *mut UFieldPositionIterator; } ufieldpositer_open(::core::mem::transmute(status)) @@ -22179,7 +22179,7 @@ pub unsafe fn ufieldpositer_open(status: &mut UErrorCode) -> *mut UFieldPosition #[inline] pub unsafe fn ufmt_close(fmt: *mut *mut ::core::ffi::c_void) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ufmt_close(fmt: *mut *mut ::core::ffi::c_void); } ufmt_close(::core::mem::transmute(fmt)) @@ -22188,7 +22188,7 @@ pub unsafe fn ufmt_close(fmt: *mut *mut ::core::ffi::c_void) { #[inline] pub unsafe fn ufmt_getArrayItemByIndex(fmt: *mut *mut ::core::ffi::c_void, n: i32, status: &mut UErrorCode) -> *mut *mut ::core::ffi::c_void { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ufmt_getArrayItemByIndex(fmt: *mut *mut ::core::ffi::c_void, n: i32, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; } ufmt_getArrayItemByIndex(::core::mem::transmute(fmt), n, ::core::mem::transmute(status)) @@ -22197,7 +22197,7 @@ pub unsafe fn ufmt_getArrayItemByIndex(fmt: *mut *mut ::core::ffi::c_void, n: i3 #[inline] pub unsafe fn ufmt_getArrayLength(fmt: *const *const ::core::ffi::c_void, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ufmt_getArrayLength(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> i32; } ufmt_getArrayLength(::core::mem::transmute(fmt), ::core::mem::transmute(status)) @@ -22206,7 +22206,7 @@ pub unsafe fn ufmt_getArrayLength(fmt: *const *const ::core::ffi::c_void, status #[inline] pub unsafe fn ufmt_getDate(fmt: *const *const ::core::ffi::c_void, status: &mut UErrorCode) -> f64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ufmt_getDate(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> f64; } ufmt_getDate(::core::mem::transmute(fmt), ::core::mem::transmute(status)) @@ -22215,7 +22215,7 @@ pub unsafe fn ufmt_getDate(fmt: *const *const ::core::ffi::c_void, status: &mut #[inline] pub unsafe fn ufmt_getDecNumChars(fmt: *mut *mut ::core::ffi::c_void, len: &mut i32, status: &mut UErrorCode) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ufmt_getDecNumChars(fmt: *mut *mut ::core::ffi::c_void, len: *mut i32, status: *mut UErrorCode) -> ::windows::core::PSTR; } ufmt_getDecNumChars(::core::mem::transmute(fmt), ::core::mem::transmute(len), ::core::mem::transmute(status)) @@ -22224,7 +22224,7 @@ pub unsafe fn ufmt_getDecNumChars(fmt: *mut *mut ::core::ffi::c_void, len: &mut #[inline] pub unsafe fn ufmt_getDouble(fmt: *mut *mut ::core::ffi::c_void, status: &mut UErrorCode) -> f64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ufmt_getDouble(fmt: *mut *mut ::core::ffi::c_void, status: *mut UErrorCode) -> f64; } ufmt_getDouble(::core::mem::transmute(fmt), ::core::mem::transmute(status)) @@ -22233,7 +22233,7 @@ pub unsafe fn ufmt_getDouble(fmt: *mut *mut ::core::ffi::c_void, status: &mut UE #[inline] pub unsafe fn ufmt_getInt64(fmt: *mut *mut ::core::ffi::c_void, status: &mut UErrorCode) -> i64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ufmt_getInt64(fmt: *mut *mut ::core::ffi::c_void, status: *mut UErrorCode) -> i64; } ufmt_getInt64(::core::mem::transmute(fmt), ::core::mem::transmute(status)) @@ -22242,7 +22242,7 @@ pub unsafe fn ufmt_getInt64(fmt: *mut *mut ::core::ffi::c_void, status: &mut UEr #[inline] pub unsafe fn ufmt_getLong(fmt: *mut *mut ::core::ffi::c_void, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ufmt_getLong(fmt: *mut *mut ::core::ffi::c_void, status: *mut UErrorCode) -> i32; } ufmt_getLong(::core::mem::transmute(fmt), ::core::mem::transmute(status)) @@ -22251,7 +22251,7 @@ pub unsafe fn ufmt_getLong(fmt: *mut *mut ::core::ffi::c_void, status: &mut UErr #[inline] pub unsafe fn ufmt_getObject(fmt: *const *const ::core::ffi::c_void, status: &mut UErrorCode) -> *mut ::core::ffi::c_void { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ufmt_getObject(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> *mut ::core::ffi::c_void; } ufmt_getObject(::core::mem::transmute(fmt), ::core::mem::transmute(status)) @@ -22260,7 +22260,7 @@ pub unsafe fn ufmt_getObject(fmt: *const *const ::core::ffi::c_void, status: &mu #[inline] pub unsafe fn ufmt_getType(fmt: *const *const ::core::ffi::c_void, status: &mut UErrorCode) -> UFormattableType { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ufmt_getType(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> UFormattableType; } ufmt_getType(::core::mem::transmute(fmt), ::core::mem::transmute(status)) @@ -22269,7 +22269,7 @@ pub unsafe fn ufmt_getType(fmt: *const *const ::core::ffi::c_void, status: &mut #[inline] pub unsafe fn ufmt_getUChars(fmt: *mut *mut ::core::ffi::c_void, len: &mut i32, status: &mut UErrorCode) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ufmt_getUChars(fmt: *mut *mut ::core::ffi::c_void, len: *mut i32, status: *mut UErrorCode) -> *mut u16; } ufmt_getUChars(::core::mem::transmute(fmt), ::core::mem::transmute(len), ::core::mem::transmute(status)) @@ -22278,7 +22278,7 @@ pub unsafe fn ufmt_getUChars(fmt: *mut *mut ::core::ffi::c_void, len: &mut i32, #[inline] pub unsafe fn ufmt_isNumeric(fmt: *const *const ::core::ffi::c_void) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ufmt_isNumeric(fmt: *const *const ::core::ffi::c_void) -> i8; } ufmt_isNumeric(::core::mem::transmute(fmt)) @@ -22287,7 +22287,7 @@ pub unsafe fn ufmt_isNumeric(fmt: *const *const ::core::ffi::c_void) -> i8 { #[inline] pub unsafe fn ufmt_open(status: &mut UErrorCode) -> *mut *mut ::core::ffi::c_void { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ufmt_open(status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; } ufmt_open(::core::mem::transmute(status)) @@ -22296,7 +22296,7 @@ pub unsafe fn ufmt_open(status: &mut UErrorCode) -> *mut *mut ::core::ffi::c_voi #[inline] pub unsafe fn ufmtval_getString(ufmtval: &UFormattedValue, plength: &mut i32, ec: &mut UErrorCode) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ufmtval_getString(ufmtval: *const UFormattedValue, plength: *mut i32, ec: *mut UErrorCode) -> *mut u16; } ufmtval_getString(::core::mem::transmute(ufmtval), ::core::mem::transmute(plength), ::core::mem::transmute(ec)) @@ -22305,7 +22305,7 @@ pub unsafe fn ufmtval_getString(ufmtval: &UFormattedValue, plength: &mut i32, ec #[inline] pub unsafe fn ufmtval_nextPosition(ufmtval: &UFormattedValue, ucfpos: &mut UConstrainedFieldPosition, ec: &mut UErrorCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ufmtval_nextPosition(ufmtval: *const UFormattedValue, ucfpos: *mut UConstrainedFieldPosition, ec: *mut UErrorCode) -> i8; } ufmtval_nextPosition(::core::mem::transmute(ufmtval), ::core::mem::transmute(ucfpos), ::core::mem::transmute(ec)) @@ -22317,7 +22317,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ugender_getInstance(locale: ::windows::core::PCSTR, status: *mut UErrorCode) -> *mut UGenderInfo; } ugender_getInstance(locale.into(), ::core::mem::transmute(status)) @@ -22326,7 +22326,7 @@ where #[inline] pub unsafe fn ugender_getListGender(genderinfo: &UGenderInfo, genders: &UGender, size: i32, status: &mut UErrorCode) -> UGender { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ugender_getListGender(genderinfo: *const UGenderInfo, genders: *const UGender, size: i32, status: *mut UErrorCode) -> UGender; } ugender_getListGender(::core::mem::transmute(genderinfo), ::core::mem::transmute(genders), size, ::core::mem::transmute(status)) @@ -22335,7 +22335,7 @@ pub unsafe fn ugender_getListGender(genderinfo: &UGenderInfo, genders: &UGender, #[inline] pub unsafe fn uidna_close(idna: &mut UIDNA) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uidna_close(idna: *mut UIDNA); } uidna_close(::core::mem::transmute(idna)) @@ -22344,7 +22344,7 @@ pub unsafe fn uidna_close(idna: &mut UIDNA) { #[inline] pub unsafe fn uidna_labelToASCII(idna: &UIDNA, label: &u16, length: i32, dest: &mut u16, capacity: i32, pinfo: &mut UIDNAInfo, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uidna_labelToASCII(idna: *const UIDNA, label: *const u16, length: i32, dest: *mut u16, capacity: i32, pinfo: *mut UIDNAInfo, perrorcode: *mut UErrorCode) -> i32; } uidna_labelToASCII(::core::mem::transmute(idna), ::core::mem::transmute(label), length, ::core::mem::transmute(dest), capacity, ::core::mem::transmute(pinfo), ::core::mem::transmute(perrorcode)) @@ -22357,7 +22357,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uidna_labelToASCII_UTF8(idna: *const UIDNA, label: ::windows::core::PCSTR, length: i32, dest: ::windows::core::PCSTR, capacity: i32, pinfo: *mut UIDNAInfo, perrorcode: *mut UErrorCode) -> i32; } uidna_labelToASCII_UTF8(::core::mem::transmute(idna), label.into(), length, dest.into(), capacity, ::core::mem::transmute(pinfo), ::core::mem::transmute(perrorcode)) @@ -22366,7 +22366,7 @@ where #[inline] pub unsafe fn uidna_labelToUnicode(idna: &UIDNA, label: &u16, length: i32, dest: &mut u16, capacity: i32, pinfo: &mut UIDNAInfo, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uidna_labelToUnicode(idna: *const UIDNA, label: *const u16, length: i32, dest: *mut u16, capacity: i32, pinfo: *mut UIDNAInfo, perrorcode: *mut UErrorCode) -> i32; } uidna_labelToUnicode(::core::mem::transmute(idna), ::core::mem::transmute(label), length, ::core::mem::transmute(dest), capacity, ::core::mem::transmute(pinfo), ::core::mem::transmute(perrorcode)) @@ -22379,7 +22379,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uidna_labelToUnicodeUTF8(idna: *const UIDNA, label: ::windows::core::PCSTR, length: i32, dest: ::windows::core::PCSTR, capacity: i32, pinfo: *mut UIDNAInfo, perrorcode: *mut UErrorCode) -> i32; } uidna_labelToUnicodeUTF8(::core::mem::transmute(idna), label.into(), length, dest.into(), capacity, ::core::mem::transmute(pinfo), ::core::mem::transmute(perrorcode)) @@ -22388,7 +22388,7 @@ where #[inline] pub unsafe fn uidna_nameToASCII(idna: &UIDNA, name: &u16, length: i32, dest: &mut u16, capacity: i32, pinfo: &mut UIDNAInfo, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uidna_nameToASCII(idna: *const UIDNA, name: *const u16, length: i32, dest: *mut u16, capacity: i32, pinfo: *mut UIDNAInfo, perrorcode: *mut UErrorCode) -> i32; } uidna_nameToASCII(::core::mem::transmute(idna), ::core::mem::transmute(name), length, ::core::mem::transmute(dest), capacity, ::core::mem::transmute(pinfo), ::core::mem::transmute(perrorcode)) @@ -22401,7 +22401,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uidna_nameToASCII_UTF8(idna: *const UIDNA, name: ::windows::core::PCSTR, length: i32, dest: ::windows::core::PCSTR, capacity: i32, pinfo: *mut UIDNAInfo, perrorcode: *mut UErrorCode) -> i32; } uidna_nameToASCII_UTF8(::core::mem::transmute(idna), name.into(), length, dest.into(), capacity, ::core::mem::transmute(pinfo), ::core::mem::transmute(perrorcode)) @@ -22410,7 +22410,7 @@ where #[inline] pub unsafe fn uidna_nameToUnicode(idna: &UIDNA, name: &u16, length: i32, dest: &mut u16, capacity: i32, pinfo: &mut UIDNAInfo, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uidna_nameToUnicode(idna: *const UIDNA, name: *const u16, length: i32, dest: *mut u16, capacity: i32, pinfo: *mut UIDNAInfo, perrorcode: *mut UErrorCode) -> i32; } uidna_nameToUnicode(::core::mem::transmute(idna), ::core::mem::transmute(name), length, ::core::mem::transmute(dest), capacity, ::core::mem::transmute(pinfo), ::core::mem::transmute(perrorcode)) @@ -22423,7 +22423,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uidna_nameToUnicodeUTF8(idna: *const UIDNA, name: ::windows::core::PCSTR, length: i32, dest: ::windows::core::PCSTR, capacity: i32, pinfo: *mut UIDNAInfo, perrorcode: *mut UErrorCode) -> i32; } uidna_nameToUnicodeUTF8(::core::mem::transmute(idna), name.into(), length, dest.into(), capacity, ::core::mem::transmute(pinfo), ::core::mem::transmute(perrorcode)) @@ -22432,7 +22432,7 @@ where #[inline] pub unsafe fn uidna_openUTS46(options: u32, perrorcode: &mut UErrorCode) -> *mut UIDNA { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uidna_openUTS46(options: u32, perrorcode: *mut UErrorCode) -> *mut UIDNA; } uidna_openUTS46(options, ::core::mem::transmute(perrorcode)) @@ -22441,7 +22441,7 @@ pub unsafe fn uidna_openUTS46(options: u32, perrorcode: &mut UErrorCode) -> *mut #[inline] pub unsafe fn uiter_current32(iter: &mut UCharIterator) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uiter_current32(iter: *mut UCharIterator) -> i32; } uiter_current32(::core::mem::transmute(iter)) @@ -22450,7 +22450,7 @@ pub unsafe fn uiter_current32(iter: &mut UCharIterator) -> i32 { #[inline] pub unsafe fn uiter_getState(iter: &UCharIterator) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uiter_getState(iter: *const UCharIterator) -> u32; } uiter_getState(::core::mem::transmute(iter)) @@ -22459,7 +22459,7 @@ pub unsafe fn uiter_getState(iter: &UCharIterator) -> u32 { #[inline] pub unsafe fn uiter_next32(iter: &mut UCharIterator) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uiter_next32(iter: *mut UCharIterator) -> i32; } uiter_next32(::core::mem::transmute(iter)) @@ -22468,7 +22468,7 @@ pub unsafe fn uiter_next32(iter: &mut UCharIterator) -> i32 { #[inline] pub unsafe fn uiter_previous32(iter: &mut UCharIterator) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uiter_previous32(iter: *mut UCharIterator) -> i32; } uiter_previous32(::core::mem::transmute(iter)) @@ -22477,7 +22477,7 @@ pub unsafe fn uiter_previous32(iter: &mut UCharIterator) -> i32 { #[inline] pub unsafe fn uiter_setState(iter: &mut UCharIterator, state: u32, perrorcode: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uiter_setState(iter: *mut UCharIterator, state: u32, perrorcode: *mut UErrorCode); } uiter_setState(::core::mem::transmute(iter), state, ::core::mem::transmute(perrorcode)) @@ -22486,7 +22486,7 @@ pub unsafe fn uiter_setState(iter: &mut UCharIterator, state: u32, perrorcode: & #[inline] pub unsafe fn uiter_setString(iter: &mut UCharIterator, s: &u16, length: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uiter_setString(iter: *mut UCharIterator, s: *const u16, length: i32); } uiter_setString(::core::mem::transmute(iter), ::core::mem::transmute(s), length) @@ -22498,7 +22498,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uiter_setUTF16BE(iter: *mut UCharIterator, s: ::windows::core::PCSTR, length: i32); } uiter_setUTF16BE(::core::mem::transmute(iter), s.into(), length) @@ -22510,7 +22510,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uiter_setUTF8(iter: *mut UCharIterator, s: ::windows::core::PCSTR, length: i32); } uiter_setUTF8(::core::mem::transmute(iter), s.into(), length) @@ -22519,7 +22519,7 @@ where #[inline] pub unsafe fn uldn_close(ldn: &mut ULocaleDisplayNames) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uldn_close(ldn: *mut ULocaleDisplayNames); } uldn_close(::core::mem::transmute(ldn)) @@ -22528,7 +22528,7 @@ pub unsafe fn uldn_close(ldn: &mut ULocaleDisplayNames) { #[inline] pub unsafe fn uldn_getContext(ldn: &ULocaleDisplayNames, r#type: UDisplayContextType, perrorcode: &mut UErrorCode) -> UDisplayContext { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uldn_getContext(ldn: *const ULocaleDisplayNames, r#type: UDisplayContextType, perrorcode: *mut UErrorCode) -> UDisplayContext; } uldn_getContext(::core::mem::transmute(ldn), r#type, ::core::mem::transmute(perrorcode)) @@ -22537,7 +22537,7 @@ pub unsafe fn uldn_getContext(ldn: &ULocaleDisplayNames, r#type: UDisplayContext #[inline] pub unsafe fn uldn_getDialectHandling(ldn: &ULocaleDisplayNames) -> UDialectHandling { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uldn_getDialectHandling(ldn: *const ULocaleDisplayNames) -> UDialectHandling; } uldn_getDialectHandling(::core::mem::transmute(ldn)) @@ -22546,7 +22546,7 @@ pub unsafe fn uldn_getDialectHandling(ldn: &ULocaleDisplayNames) -> UDialectHand #[inline] pub unsafe fn uldn_getLocale(ldn: &ULocaleDisplayNames) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uldn_getLocale(ldn: *const ULocaleDisplayNames) -> ::windows::core::PSTR; } uldn_getLocale(::core::mem::transmute(ldn)) @@ -22558,7 +22558,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uldn_keyDisplayName(ldn: *const ULocaleDisplayNames, key: ::windows::core::PCSTR, result: *mut u16, maxresultsize: i32, perrorcode: *mut UErrorCode) -> i32; } uldn_keyDisplayName(::core::mem::transmute(ldn), key.into(), ::core::mem::transmute(result), maxresultsize, ::core::mem::transmute(perrorcode)) @@ -22571,7 +22571,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uldn_keyValueDisplayName(ldn: *const ULocaleDisplayNames, key: ::windows::core::PCSTR, value: ::windows::core::PCSTR, result: *mut u16, maxresultsize: i32, perrorcode: *mut UErrorCode) -> i32; } uldn_keyValueDisplayName(::core::mem::transmute(ldn), key.into(), value.into(), ::core::mem::transmute(result), maxresultsize, ::core::mem::transmute(perrorcode)) @@ -22583,7 +22583,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uldn_languageDisplayName(ldn: *const ULocaleDisplayNames, lang: ::windows::core::PCSTR, result: *mut u16, maxresultsize: i32, perrorcode: *mut UErrorCode) -> i32; } uldn_languageDisplayName(::core::mem::transmute(ldn), lang.into(), ::core::mem::transmute(result), maxresultsize, ::core::mem::transmute(perrorcode)) @@ -22595,7 +22595,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uldn_localeDisplayName(ldn: *const ULocaleDisplayNames, locale: ::windows::core::PCSTR, result: *mut u16, maxresultsize: i32, perrorcode: *mut UErrorCode) -> i32; } uldn_localeDisplayName(::core::mem::transmute(ldn), locale.into(), ::core::mem::transmute(result), maxresultsize, ::core::mem::transmute(perrorcode)) @@ -22607,7 +22607,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uldn_open(locale: ::windows::core::PCSTR, dialecthandling: UDialectHandling, perrorcode: *mut UErrorCode) -> *mut ULocaleDisplayNames; } uldn_open(locale.into(), dialecthandling, ::core::mem::transmute(perrorcode)) @@ -22619,7 +22619,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uldn_openForContext(locale: ::windows::core::PCSTR, contexts: *mut UDisplayContext, length: i32, perrorcode: *mut UErrorCode) -> *mut ULocaleDisplayNames; } uldn_openForContext(locale.into(), ::core::mem::transmute(contexts), length, ::core::mem::transmute(perrorcode)) @@ -22631,7 +22631,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uldn_regionDisplayName(ldn: *const ULocaleDisplayNames, region: ::windows::core::PCSTR, result: *mut u16, maxresultsize: i32, perrorcode: *mut UErrorCode) -> i32; } uldn_regionDisplayName(::core::mem::transmute(ldn), region.into(), ::core::mem::transmute(result), maxresultsize, ::core::mem::transmute(perrorcode)) @@ -22640,7 +22640,7 @@ where #[inline] pub unsafe fn uldn_scriptCodeDisplayName(ldn: &ULocaleDisplayNames, scriptcode: UScriptCode, result: &mut u16, maxresultsize: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uldn_scriptCodeDisplayName(ldn: *const ULocaleDisplayNames, scriptcode: UScriptCode, result: *mut u16, maxresultsize: i32, perrorcode: *mut UErrorCode) -> i32; } uldn_scriptCodeDisplayName(::core::mem::transmute(ldn), scriptcode, ::core::mem::transmute(result), maxresultsize, ::core::mem::transmute(perrorcode)) @@ -22652,7 +22652,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uldn_scriptDisplayName(ldn: *const ULocaleDisplayNames, script: ::windows::core::PCSTR, result: *mut u16, maxresultsize: i32, perrorcode: *mut UErrorCode) -> i32; } uldn_scriptDisplayName(::core::mem::transmute(ldn), script.into(), ::core::mem::transmute(result), maxresultsize, ::core::mem::transmute(perrorcode)) @@ -22664,7 +22664,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uldn_variantDisplayName(ldn: *const ULocaleDisplayNames, variant: ::windows::core::PCSTR, result: *mut u16, maxresultsize: i32, perrorcode: *mut UErrorCode) -> i32; } uldn_variantDisplayName(::core::mem::transmute(ldn), variant.into(), ::core::mem::transmute(result), maxresultsize, ::core::mem::transmute(perrorcode)) @@ -22673,7 +22673,7 @@ where #[inline] pub unsafe fn ulistfmt_close(listfmt: &mut UListFormatter) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ulistfmt_close(listfmt: *mut UListFormatter); } ulistfmt_close(::core::mem::transmute(listfmt)) @@ -22682,7 +22682,7 @@ pub unsafe fn ulistfmt_close(listfmt: &mut UListFormatter) { #[inline] pub unsafe fn ulistfmt_closeResult(uresult: &mut UFormattedList) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ulistfmt_closeResult(uresult: *mut UFormattedList); } ulistfmt_closeResult(::core::mem::transmute(uresult)) @@ -22691,7 +22691,7 @@ pub unsafe fn ulistfmt_closeResult(uresult: &mut UFormattedList) { #[inline] pub unsafe fn ulistfmt_format(listfmt: &UListFormatter, strings: &*const u16, stringlengths: &i32, stringcount: i32, result: &mut u16, resultcapacity: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ulistfmt_format(listfmt: *const UListFormatter, strings: *const *const u16, stringlengths: *const i32, stringcount: i32, result: *mut u16, resultcapacity: i32, status: *mut UErrorCode) -> i32; } ulistfmt_format(::core::mem::transmute(listfmt), ::core::mem::transmute(strings), ::core::mem::transmute(stringlengths), stringcount, ::core::mem::transmute(result), resultcapacity, ::core::mem::transmute(status)) @@ -22700,7 +22700,7 @@ pub unsafe fn ulistfmt_format(listfmt: &UListFormatter, strings: &*const u16, st #[inline] pub unsafe fn ulistfmt_formatStringsToResult(listfmt: &UListFormatter, strings: &*const u16, stringlengths: &i32, stringcount: i32, uresult: &mut UFormattedList, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ulistfmt_formatStringsToResult(listfmt: *const UListFormatter, strings: *const *const u16, stringlengths: *const i32, stringcount: i32, uresult: *mut UFormattedList, status: *mut UErrorCode); } ulistfmt_formatStringsToResult(::core::mem::transmute(listfmt), ::core::mem::transmute(strings), ::core::mem::transmute(stringlengths), stringcount, ::core::mem::transmute(uresult), ::core::mem::transmute(status)) @@ -22712,7 +22712,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ulistfmt_open(locale: ::windows::core::PCSTR, status: *mut UErrorCode) -> *mut UListFormatter; } ulistfmt_open(locale.into(), ::core::mem::transmute(status)) @@ -22724,7 +22724,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ulistfmt_openForType(locale: ::windows::core::PCSTR, r#type: UListFormatterType, width: UListFormatterWidth, status: *mut UErrorCode) -> *mut UListFormatter; } ulistfmt_openForType(locale.into(), r#type, width, ::core::mem::transmute(status)) @@ -22733,7 +22733,7 @@ where #[inline] pub unsafe fn ulistfmt_openResult(ec: &mut UErrorCode) -> *mut UFormattedList { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ulistfmt_openResult(ec: *mut UErrorCode) -> *mut UFormattedList; } ulistfmt_openResult(::core::mem::transmute(ec)) @@ -22742,7 +22742,7 @@ pub unsafe fn ulistfmt_openResult(ec: &mut UErrorCode) -> *mut UFormattedList { #[inline] pub unsafe fn ulistfmt_resultAsValue(uresult: &UFormattedList, ec: &mut UErrorCode) -> *mut UFormattedValue { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ulistfmt_resultAsValue(uresult: *const UFormattedList, ec: *mut UErrorCode) -> *mut UFormattedValue; } ulistfmt_resultAsValue(::core::mem::transmute(uresult), ::core::mem::transmute(ec)) @@ -22754,7 +22754,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_acceptLanguage(result: ::windows::core::PCSTR, resultavailable: i32, outresult: *mut UAcceptResult, acceptlist: *const *const i8, acceptlistcount: i32, availablelocales: *mut UEnumeration, status: *mut UErrorCode) -> i32; } uloc_acceptLanguage(result.into(), resultavailable, ::core::mem::transmute(outresult), ::core::mem::transmute(acceptlist), acceptlistcount, ::core::mem::transmute(availablelocales), ::core::mem::transmute(status)) @@ -22767,7 +22767,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_acceptLanguageFromHTTP(result: ::windows::core::PCSTR, resultavailable: i32, outresult: *mut UAcceptResult, httpacceptlanguage: ::windows::core::PCSTR, availablelocales: *mut UEnumeration, status: *mut UErrorCode) -> i32; } uloc_acceptLanguageFromHTTP(result.into(), resultavailable, ::core::mem::transmute(outresult), httpacceptlanguage.into(), ::core::mem::transmute(availablelocales), ::core::mem::transmute(status)) @@ -22780,7 +22780,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_addLikelySubtags(localeid: ::windows::core::PCSTR, maximizedlocaleid: ::windows::core::PCSTR, maximizedlocaleidcapacity: i32, err: *mut UErrorCode) -> i32; } uloc_addLikelySubtags(localeid.into(), maximizedlocaleid.into(), maximizedlocaleidcapacity, ::core::mem::transmute(err)) @@ -22793,7 +22793,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_canonicalize(localeid: ::windows::core::PCSTR, name: ::windows::core::PCSTR, namecapacity: i32, err: *mut UErrorCode) -> i32; } uloc_canonicalize(localeid.into(), name.into(), namecapacity, ::core::mem::transmute(err)) @@ -22802,7 +22802,7 @@ where #[inline] pub unsafe fn uloc_countAvailable() -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_countAvailable() -> i32; } uloc_countAvailable() @@ -22815,7 +22815,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_forLanguageTag(langtag: ::windows::core::PCSTR, localeid: ::windows::core::PCSTR, localeidcapacity: i32, parsedlength: *mut i32, err: *mut UErrorCode) -> i32; } uloc_forLanguageTag(langtag.into(), localeid.into(), localeidcapacity, ::core::mem::transmute(parsedlength), ::core::mem::transmute(err)) @@ -22824,7 +22824,7 @@ where #[inline] pub unsafe fn uloc_getAvailable(n: i32) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getAvailable(n: i32) -> ::windows::core::PSTR; } uloc_getAvailable(n) @@ -22837,7 +22837,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getBaseName(localeid: ::windows::core::PCSTR, name: ::windows::core::PCSTR, namecapacity: i32, err: *mut UErrorCode) -> i32; } uloc_getBaseName(localeid.into(), name.into(), namecapacity, ::core::mem::transmute(err)) @@ -22849,7 +22849,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getCharacterOrientation(localeid: ::windows::core::PCSTR, status: *mut UErrorCode) -> ULayoutType; } uloc_getCharacterOrientation(localeid.into(), ::core::mem::transmute(status)) @@ -22862,7 +22862,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getCountry(localeid: ::windows::core::PCSTR, country: ::windows::core::PCSTR, countrycapacity: i32, err: *mut UErrorCode) -> i32; } uloc_getCountry(localeid.into(), country.into(), countrycapacity, ::core::mem::transmute(err)) @@ -22871,7 +22871,7 @@ where #[inline] pub unsafe fn uloc_getDefault() -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getDefault() -> ::windows::core::PSTR; } uloc_getDefault() @@ -22884,7 +22884,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getDisplayCountry(locale: ::windows::core::PCSTR, displaylocale: ::windows::core::PCSTR, country: *mut u16, countrycapacity: i32, status: *mut UErrorCode) -> i32; } uloc_getDisplayCountry(locale.into(), displaylocale.into(), ::core::mem::transmute(country), countrycapacity, ::core::mem::transmute(status)) @@ -22897,7 +22897,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getDisplayKeyword(keyword: ::windows::core::PCSTR, displaylocale: ::windows::core::PCSTR, dest: *mut u16, destcapacity: i32, status: *mut UErrorCode) -> i32; } uloc_getDisplayKeyword(keyword.into(), displaylocale.into(), ::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(status)) @@ -22911,7 +22911,7 @@ where P2: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getDisplayKeywordValue(locale: ::windows::core::PCSTR, keyword: ::windows::core::PCSTR, displaylocale: ::windows::core::PCSTR, dest: *mut u16, destcapacity: i32, status: *mut UErrorCode) -> i32; } uloc_getDisplayKeywordValue(locale.into(), keyword.into(), displaylocale.into(), ::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(status)) @@ -22924,7 +22924,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getDisplayLanguage(locale: ::windows::core::PCSTR, displaylocale: ::windows::core::PCSTR, language: *mut u16, languagecapacity: i32, status: *mut UErrorCode) -> i32; } uloc_getDisplayLanguage(locale.into(), displaylocale.into(), ::core::mem::transmute(language), languagecapacity, ::core::mem::transmute(status)) @@ -22937,7 +22937,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getDisplayName(localeid: ::windows::core::PCSTR, inlocaleid: ::windows::core::PCSTR, result: *mut u16, maxresultsize: i32, err: *mut UErrorCode) -> i32; } uloc_getDisplayName(localeid.into(), inlocaleid.into(), ::core::mem::transmute(result), maxresultsize, ::core::mem::transmute(err)) @@ -22950,7 +22950,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getDisplayScript(locale: ::windows::core::PCSTR, displaylocale: ::windows::core::PCSTR, script: *mut u16, scriptcapacity: i32, status: *mut UErrorCode) -> i32; } uloc_getDisplayScript(locale.into(), displaylocale.into(), ::core::mem::transmute(script), scriptcapacity, ::core::mem::transmute(status)) @@ -22963,7 +22963,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getDisplayVariant(locale: ::windows::core::PCSTR, displaylocale: ::windows::core::PCSTR, variant: *mut u16, variantcapacity: i32, status: *mut UErrorCode) -> i32; } uloc_getDisplayVariant(locale.into(), displaylocale.into(), ::core::mem::transmute(variant), variantcapacity, ::core::mem::transmute(status)) @@ -22975,7 +22975,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getISO3Country(localeid: ::windows::core::PCSTR) -> ::windows::core::PSTR; } uloc_getISO3Country(localeid.into()) @@ -22987,7 +22987,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getISO3Language(localeid: ::windows::core::PCSTR) -> ::windows::core::PSTR; } uloc_getISO3Language(localeid.into()) @@ -22996,7 +22996,7 @@ where #[inline] pub unsafe fn uloc_getISOCountries() -> *mut *mut i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getISOCountries() -> *mut *mut i8; } uloc_getISOCountries() @@ -23005,7 +23005,7 @@ pub unsafe fn uloc_getISOCountries() -> *mut *mut i8 { #[inline] pub unsafe fn uloc_getISOLanguages() -> *mut *mut i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getISOLanguages() -> *mut *mut i8; } uloc_getISOLanguages() @@ -23019,7 +23019,7 @@ where P2: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getKeywordValue(localeid: ::windows::core::PCSTR, keywordname: ::windows::core::PCSTR, buffer: ::windows::core::PCSTR, buffercapacity: i32, status: *mut UErrorCode) -> i32; } uloc_getKeywordValue(localeid.into(), keywordname.into(), buffer.into(), buffercapacity, ::core::mem::transmute(status)) @@ -23031,7 +23031,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getLCID(localeid: ::windows::core::PCSTR) -> u32; } uloc_getLCID(localeid.into()) @@ -23044,7 +23044,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getLanguage(localeid: ::windows::core::PCSTR, language: ::windows::core::PCSTR, languagecapacity: i32, err: *mut UErrorCode) -> i32; } uloc_getLanguage(localeid.into(), language.into(), languagecapacity, ::core::mem::transmute(err)) @@ -23056,7 +23056,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getLineOrientation(localeid: ::windows::core::PCSTR, status: *mut UErrorCode) -> ULayoutType; } uloc_getLineOrientation(localeid.into(), ::core::mem::transmute(status)) @@ -23068,7 +23068,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getLocaleForLCID(hostid: u32, locale: ::windows::core::PCSTR, localecapacity: i32, status: *mut UErrorCode) -> i32; } uloc_getLocaleForLCID(hostid, locale.into(), localecapacity, ::core::mem::transmute(status)) @@ -23081,7 +23081,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getName(localeid: ::windows::core::PCSTR, name: ::windows::core::PCSTR, namecapacity: i32, err: *mut UErrorCode) -> i32; } uloc_getName(localeid.into(), name.into(), namecapacity, ::core::mem::transmute(err)) @@ -23094,7 +23094,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getParent(localeid: ::windows::core::PCSTR, parent: ::windows::core::PCSTR, parentcapacity: i32, err: *mut UErrorCode) -> i32; } uloc_getParent(localeid.into(), parent.into(), parentcapacity, ::core::mem::transmute(err)) @@ -23107,7 +23107,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getScript(localeid: ::windows::core::PCSTR, script: ::windows::core::PCSTR, scriptcapacity: i32, err: *mut UErrorCode) -> i32; } uloc_getScript(localeid.into(), script.into(), scriptcapacity, ::core::mem::transmute(err)) @@ -23120,7 +23120,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_getVariant(localeid: ::windows::core::PCSTR, variant: ::windows::core::PCSTR, variantcapacity: i32, err: *mut UErrorCode) -> i32; } uloc_getVariant(localeid.into(), variant.into(), variantcapacity, ::core::mem::transmute(err)) @@ -23132,7 +23132,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_isRightToLeft(locale: ::windows::core::PCSTR) -> i8; } uloc_isRightToLeft(locale.into()) @@ -23145,7 +23145,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_minimizeSubtags(localeid: ::windows::core::PCSTR, minimizedlocaleid: ::windows::core::PCSTR, minimizedlocaleidcapacity: i32, err: *mut UErrorCode) -> i32; } uloc_minimizeSubtags(localeid.into(), minimizedlocaleid.into(), minimizedlocaleidcapacity, ::core::mem::transmute(err)) @@ -23154,7 +23154,7 @@ where #[inline] pub unsafe fn uloc_openAvailableByType(r#type: ULocAvailableType, status: &mut UErrorCode) -> *mut UEnumeration { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_openAvailableByType(r#type: ULocAvailableType, status: *mut UErrorCode) -> *mut UEnumeration; } uloc_openAvailableByType(r#type, ::core::mem::transmute(status)) @@ -23166,7 +23166,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_openKeywords(localeid: ::windows::core::PCSTR, status: *mut UErrorCode) -> *mut UEnumeration; } uloc_openKeywords(localeid.into(), ::core::mem::transmute(status)) @@ -23178,7 +23178,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_setDefault(localeid: ::windows::core::PCSTR, status: *mut UErrorCode); } uloc_setDefault(localeid.into(), ::core::mem::transmute(status)) @@ -23192,7 +23192,7 @@ where P2: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_setKeywordValue(keywordname: ::windows::core::PCSTR, keywordvalue: ::windows::core::PCSTR, buffer: ::windows::core::PCSTR, buffercapacity: i32, status: *mut UErrorCode) -> i32; } uloc_setKeywordValue(keywordname.into(), keywordvalue.into(), buffer.into(), buffercapacity, ::core::mem::transmute(status)) @@ -23205,7 +23205,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_toLanguageTag(localeid: ::windows::core::PCSTR, langtag: ::windows::core::PCSTR, langtagcapacity: i32, strict: i8, err: *mut UErrorCode) -> i32; } uloc_toLanguageTag(localeid.into(), langtag.into(), langtagcapacity, strict, ::core::mem::transmute(err)) @@ -23217,7 +23217,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_toLegacyKey(keyword: ::windows::core::PCSTR) -> ::windows::core::PSTR; } uloc_toLegacyKey(keyword.into()) @@ -23230,7 +23230,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_toLegacyType(keyword: ::windows::core::PCSTR, value: ::windows::core::PCSTR) -> ::windows::core::PSTR; } uloc_toLegacyType(keyword.into(), value.into()) @@ -23242,7 +23242,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_toUnicodeLocaleKey(keyword: ::windows::core::PCSTR) -> ::windows::core::PSTR; } uloc_toUnicodeLocaleKey(keyword.into()) @@ -23255,7 +23255,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uloc_toUnicodeLocaleType(keyword: ::windows::core::PCSTR, value: ::windows::core::PCSTR) -> ::windows::core::PSTR; } uloc_toUnicodeLocaleType(keyword.into(), value.into()) @@ -23264,7 +23264,7 @@ where #[inline] pub unsafe fn ulocdata_close(uld: &mut ULocaleData) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ulocdata_close(uld: *mut ULocaleData); } ulocdata_close(::core::mem::transmute(uld)) @@ -23273,7 +23273,7 @@ pub unsafe fn ulocdata_close(uld: &mut ULocaleData) { #[inline] pub unsafe fn ulocdata_getCLDRVersion(versionarray: &mut u8, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ulocdata_getCLDRVersion(versionarray: *mut u8, status: *mut UErrorCode); } ulocdata_getCLDRVersion(::core::mem::transmute(versionarray), ::core::mem::transmute(status)) @@ -23282,7 +23282,7 @@ pub unsafe fn ulocdata_getCLDRVersion(versionarray: &mut u8, status: &mut UError #[inline] pub unsafe fn ulocdata_getDelimiter(uld: &mut ULocaleData, r#type: ULocaleDataDelimiterType, result: &mut u16, resultlength: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ulocdata_getDelimiter(uld: *mut ULocaleData, r#type: ULocaleDataDelimiterType, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; } ulocdata_getDelimiter(::core::mem::transmute(uld), r#type, ::core::mem::transmute(result), resultlength, ::core::mem::transmute(status)) @@ -23291,7 +23291,7 @@ pub unsafe fn ulocdata_getDelimiter(uld: &mut ULocaleData, r#type: ULocaleDataDe #[inline] pub unsafe fn ulocdata_getExemplarSet(uld: &mut ULocaleData, fillin: &mut USet, options: u32, extype: ULocaleDataExemplarSetType, status: &mut UErrorCode) -> *mut USet { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ulocdata_getExemplarSet(uld: *mut ULocaleData, fillin: *mut USet, options: u32, extype: ULocaleDataExemplarSetType, status: *mut UErrorCode) -> *mut USet; } ulocdata_getExemplarSet(::core::mem::transmute(uld), ::core::mem::transmute(fillin), options, extype, ::core::mem::transmute(status)) @@ -23300,7 +23300,7 @@ pub unsafe fn ulocdata_getExemplarSet(uld: &mut ULocaleData, fillin: &mut USet, #[inline] pub unsafe fn ulocdata_getLocaleDisplayPattern(uld: &mut ULocaleData, pattern: &mut u16, patterncapacity: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ulocdata_getLocaleDisplayPattern(uld: *mut ULocaleData, pattern: *mut u16, patterncapacity: i32, status: *mut UErrorCode) -> i32; } ulocdata_getLocaleDisplayPattern(::core::mem::transmute(uld), ::core::mem::transmute(pattern), patterncapacity, ::core::mem::transmute(status)) @@ -23309,7 +23309,7 @@ pub unsafe fn ulocdata_getLocaleDisplayPattern(uld: &mut ULocaleData, pattern: & #[inline] pub unsafe fn ulocdata_getLocaleSeparator(uld: &mut ULocaleData, separator: &mut u16, separatorcapacity: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ulocdata_getLocaleSeparator(uld: *mut ULocaleData, separator: *mut u16, separatorcapacity: i32, status: *mut UErrorCode) -> i32; } ulocdata_getLocaleSeparator(::core::mem::transmute(uld), ::core::mem::transmute(separator), separatorcapacity, ::core::mem::transmute(status)) @@ -23321,7 +23321,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ulocdata_getMeasurementSystem(localeid: ::windows::core::PCSTR, status: *mut UErrorCode) -> UMeasurementSystem; } ulocdata_getMeasurementSystem(localeid.into(), ::core::mem::transmute(status)) @@ -23330,7 +23330,7 @@ where #[inline] pub unsafe fn ulocdata_getNoSubstitute(uld: &mut ULocaleData) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ulocdata_getNoSubstitute(uld: *mut ULocaleData) -> i8; } ulocdata_getNoSubstitute(::core::mem::transmute(uld)) @@ -23342,7 +23342,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ulocdata_getPaperSize(localeid: ::windows::core::PCSTR, height: *mut i32, width: *mut i32, status: *mut UErrorCode); } ulocdata_getPaperSize(localeid.into(), ::core::mem::transmute(height), ::core::mem::transmute(width), ::core::mem::transmute(status)) @@ -23354,7 +23354,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ulocdata_open(localeid: ::windows::core::PCSTR, status: *mut UErrorCode) -> *mut ULocaleData; } ulocdata_open(localeid.into(), ::core::mem::transmute(status)) @@ -23363,7 +23363,7 @@ where #[inline] pub unsafe fn ulocdata_setNoSubstitute(uld: &mut ULocaleData, setting: i8) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ulocdata_setNoSubstitute(uld: *mut ULocaleData, setting: i8); } ulocdata_setNoSubstitute(::core::mem::transmute(uld), setting) @@ -23372,7 +23372,7 @@ pub unsafe fn ulocdata_setNoSubstitute(uld: &mut ULocaleData, setting: i8) { #[inline] pub unsafe fn umsg_applyPattern(fmt: *mut *mut ::core::ffi::c_void, pattern: &u16, patternlength: i32, parseerror: &mut UParseError, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn umsg_applyPattern(fmt: *mut *mut ::core::ffi::c_void, pattern: *const u16, patternlength: i32, parseerror: *mut UParseError, status: *mut UErrorCode); } umsg_applyPattern(::core::mem::transmute(fmt), ::core::mem::transmute(pattern), patternlength, ::core::mem::transmute(parseerror), ::core::mem::transmute(status)) @@ -23381,7 +23381,7 @@ pub unsafe fn umsg_applyPattern(fmt: *mut *mut ::core::ffi::c_void, pattern: &u1 #[inline] pub unsafe fn umsg_autoQuoteApostrophe(pattern: &u16, patternlength: i32, dest: &mut u16, destcapacity: i32, ec: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn umsg_autoQuoteApostrophe(pattern: *const u16, patternlength: i32, dest: *mut u16, destcapacity: i32, ec: *mut UErrorCode) -> i32; } umsg_autoQuoteApostrophe(::core::mem::transmute(pattern), patternlength, ::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(ec)) @@ -23390,7 +23390,7 @@ pub unsafe fn umsg_autoQuoteApostrophe(pattern: &u16, patternlength: i32, dest: #[inline] pub unsafe fn umsg_clone(fmt: *const *const ::core::ffi::c_void, status: &mut UErrorCode) -> *mut ::core::ffi::c_void { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn umsg_clone(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> *mut ::core::ffi::c_void; } umsg_clone(::core::mem::transmute(fmt), ::core::mem::transmute(status)) @@ -23399,7 +23399,7 @@ pub unsafe fn umsg_clone(fmt: *const *const ::core::ffi::c_void, status: &mut UE #[inline] pub unsafe fn umsg_close(format: *mut *mut ::core::ffi::c_void) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn umsg_close(format: *mut *mut ::core::ffi::c_void); } umsg_close(::core::mem::transmute(format)) @@ -23408,7 +23408,7 @@ pub unsafe fn umsg_close(format: *mut *mut ::core::ffi::c_void) { #[inline] pub unsafe fn umsg_format(fmt: *const *const ::core::ffi::c_void, result: &mut u16, resultlength: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn umsg_format(fmt: *const *const ::core::ffi::c_void, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; } umsg_format(::core::mem::transmute(fmt), ::core::mem::transmute(result), resultlength, ::core::mem::transmute(status)) @@ -23417,7 +23417,7 @@ pub unsafe fn umsg_format(fmt: *const *const ::core::ffi::c_void, result: &mut u #[inline] pub unsafe fn umsg_getLocale(fmt: *const *const ::core::ffi::c_void) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn umsg_getLocale(fmt: *const *const ::core::ffi::c_void) -> ::windows::core::PSTR; } umsg_getLocale(::core::mem::transmute(fmt)) @@ -23429,7 +23429,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn umsg_open(pattern: *const u16, patternlength: i32, locale: ::windows::core::PCSTR, parseerror: *mut UParseError, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; } umsg_open(::core::mem::transmute(pattern), patternlength, locale.into(), ::core::mem::transmute(parseerror), ::core::mem::transmute(status)) @@ -23438,7 +23438,7 @@ where #[inline] pub unsafe fn umsg_parse(fmt: *const *const ::core::ffi::c_void, source: &u16, sourcelength: i32, count: &mut i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn umsg_parse(fmt: *const *const ::core::ffi::c_void, source: *const u16, sourcelength: i32, count: *mut i32, status: *mut UErrorCode); } umsg_parse(::core::mem::transmute(fmt), ::core::mem::transmute(source), sourcelength, ::core::mem::transmute(count), ::core::mem::transmute(status)) @@ -23450,7 +23450,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn umsg_setLocale(fmt: *mut *mut ::core::ffi::c_void, locale: ::windows::core::PCSTR); } umsg_setLocale(::core::mem::transmute(fmt), locale.into()) @@ -23459,7 +23459,7 @@ where #[inline] pub unsafe fn umsg_toPattern(fmt: *const *const ::core::ffi::c_void, result: &mut u16, resultlength: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn umsg_toPattern(fmt: *const *const ::core::ffi::c_void, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; } umsg_toPattern(::core::mem::transmute(fmt), ::core::mem::transmute(result), resultlength, ::core::mem::transmute(status)) @@ -23468,7 +23468,7 @@ pub unsafe fn umsg_toPattern(fmt: *const *const ::core::ffi::c_void, result: &mu #[inline] pub unsafe fn umsg_vformat(fmt: *const *const ::core::ffi::c_void, result: &mut u16, resultlength: i32, ap: &mut i8, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn umsg_vformat(fmt: *const *const ::core::ffi::c_void, result: *mut u16, resultlength: i32, ap: *mut i8, status: *mut UErrorCode) -> i32; } umsg_vformat(::core::mem::transmute(fmt), ::core::mem::transmute(result), resultlength, ::core::mem::transmute(ap), ::core::mem::transmute(status)) @@ -23477,7 +23477,7 @@ pub unsafe fn umsg_vformat(fmt: *const *const ::core::ffi::c_void, result: &mut #[inline] pub unsafe fn umsg_vparse(fmt: *const *const ::core::ffi::c_void, source: &u16, sourcelength: i32, count: &mut i32, ap: &mut i8, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn umsg_vparse(fmt: *const *const ::core::ffi::c_void, source: *const u16, sourcelength: i32, count: *mut i32, ap: *mut i8, status: *mut UErrorCode); } umsg_vparse(::core::mem::transmute(fmt), ::core::mem::transmute(source), sourcelength, ::core::mem::transmute(count), ::core::mem::transmute(ap), ::core::mem::transmute(status)) @@ -23486,7 +23486,7 @@ pub unsafe fn umsg_vparse(fmt: *const *const ::core::ffi::c_void, source: &u16, #[inline] pub unsafe fn umutablecptrie_buildImmutable(trie: &mut UMutableCPTrie, r#type: UCPTrieType, valuewidth: UCPTrieValueWidth, perrorcode: &mut UErrorCode) -> *mut UCPTrie { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn umutablecptrie_buildImmutable(trie: *mut UMutableCPTrie, r#type: UCPTrieType, valuewidth: UCPTrieValueWidth, perrorcode: *mut UErrorCode) -> *mut UCPTrie; } umutablecptrie_buildImmutable(::core::mem::transmute(trie), r#type, valuewidth, ::core::mem::transmute(perrorcode)) @@ -23495,7 +23495,7 @@ pub unsafe fn umutablecptrie_buildImmutable(trie: &mut UMutableCPTrie, r#type: U #[inline] pub unsafe fn umutablecptrie_clone(other: &UMutableCPTrie, perrorcode: &mut UErrorCode) -> *mut UMutableCPTrie { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn umutablecptrie_clone(other: *const UMutableCPTrie, perrorcode: *mut UErrorCode) -> *mut UMutableCPTrie; } umutablecptrie_clone(::core::mem::transmute(other), ::core::mem::transmute(perrorcode)) @@ -23504,7 +23504,7 @@ pub unsafe fn umutablecptrie_clone(other: &UMutableCPTrie, perrorcode: &mut UErr #[inline] pub unsafe fn umutablecptrie_close(trie: &mut UMutableCPTrie) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn umutablecptrie_close(trie: *mut UMutableCPTrie); } umutablecptrie_close(::core::mem::transmute(trie)) @@ -23513,7 +23513,7 @@ pub unsafe fn umutablecptrie_close(trie: &mut UMutableCPTrie) { #[inline] pub unsafe fn umutablecptrie_fromUCPMap(map: &UCPMap, perrorcode: &mut UErrorCode) -> *mut UMutableCPTrie { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn umutablecptrie_fromUCPMap(map: *const UCPMap, perrorcode: *mut UErrorCode) -> *mut UMutableCPTrie; } umutablecptrie_fromUCPMap(::core::mem::transmute(map), ::core::mem::transmute(perrorcode)) @@ -23522,7 +23522,7 @@ pub unsafe fn umutablecptrie_fromUCPMap(map: &UCPMap, perrorcode: &mut UErrorCod #[inline] pub unsafe fn umutablecptrie_fromUCPTrie(trie: &UCPTrie, perrorcode: &mut UErrorCode) -> *mut UMutableCPTrie { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn umutablecptrie_fromUCPTrie(trie: *const UCPTrie, perrorcode: *mut UErrorCode) -> *mut UMutableCPTrie; } umutablecptrie_fromUCPTrie(::core::mem::transmute(trie), ::core::mem::transmute(perrorcode)) @@ -23531,7 +23531,7 @@ pub unsafe fn umutablecptrie_fromUCPTrie(trie: &UCPTrie, perrorcode: &mut UError #[inline] pub unsafe fn umutablecptrie_get(trie: &UMutableCPTrie, c: i32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn umutablecptrie_get(trie: *const UMutableCPTrie, c: i32) -> u32; } umutablecptrie_get(::core::mem::transmute(trie), c) @@ -23540,7 +23540,7 @@ pub unsafe fn umutablecptrie_get(trie: &UMutableCPTrie, c: i32) -> u32 { #[inline] pub unsafe fn umutablecptrie_getRange(trie: &UMutableCPTrie, start: i32, option: UCPMapRangeOption, surrogatevalue: u32, filter: &mut UCPMapValueFilter, context: *const ::core::ffi::c_void, pvalue: &mut u32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn umutablecptrie_getRange(trie: *const UMutableCPTrie, start: i32, option: UCPMapRangeOption, surrogatevalue: u32, filter: *mut *mut ::core::ffi::c_void, context: *const ::core::ffi::c_void, pvalue: *mut u32) -> i32; } umutablecptrie_getRange(::core::mem::transmute(trie), start, option, surrogatevalue, ::core::mem::transmute(filter), ::core::mem::transmute(context), ::core::mem::transmute(pvalue)) @@ -23549,7 +23549,7 @@ pub unsafe fn umutablecptrie_getRange(trie: &UMutableCPTrie, start: i32, option: #[inline] pub unsafe fn umutablecptrie_open(initialvalue: u32, errorvalue: u32, perrorcode: &mut UErrorCode) -> *mut UMutableCPTrie { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn umutablecptrie_open(initialvalue: u32, errorvalue: u32, perrorcode: *mut UErrorCode) -> *mut UMutableCPTrie; } umutablecptrie_open(initialvalue, errorvalue, ::core::mem::transmute(perrorcode)) @@ -23558,7 +23558,7 @@ pub unsafe fn umutablecptrie_open(initialvalue: u32, errorvalue: u32, perrorcode #[inline] pub unsafe fn umutablecptrie_set(trie: &mut UMutableCPTrie, c: i32, value: u32, perrorcode: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn umutablecptrie_set(trie: *mut UMutableCPTrie, c: i32, value: u32, perrorcode: *mut UErrorCode); } umutablecptrie_set(::core::mem::transmute(trie), c, value, ::core::mem::transmute(perrorcode)) @@ -23567,7 +23567,7 @@ pub unsafe fn umutablecptrie_set(trie: &mut UMutableCPTrie, c: i32, value: u32, #[inline] pub unsafe fn umutablecptrie_setRange(trie: &mut UMutableCPTrie, start: i32, end: i32, value: u32, perrorcode: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn umutablecptrie_setRange(trie: *mut UMutableCPTrie, start: i32, end: i32, value: u32, perrorcode: *mut UErrorCode); } umutablecptrie_setRange(::core::mem::transmute(trie), start, end, value, ::core::mem::transmute(perrorcode)) @@ -23576,7 +23576,7 @@ pub unsafe fn umutablecptrie_setRange(trie: &mut UMutableCPTrie, start: i32, end #[inline] pub unsafe fn unorm2_append(norm2: &UNormalizer2, first: &mut u16, firstlength: i32, firstcapacity: i32, second: &u16, secondlength: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unorm2_append(norm2: *const UNormalizer2, first: *mut u16, firstlength: i32, firstcapacity: i32, second: *const u16, secondlength: i32, perrorcode: *mut UErrorCode) -> i32; } unorm2_append(::core::mem::transmute(norm2), ::core::mem::transmute(first), firstlength, firstcapacity, ::core::mem::transmute(second), secondlength, ::core::mem::transmute(perrorcode)) @@ -23585,7 +23585,7 @@ pub unsafe fn unorm2_append(norm2: &UNormalizer2, first: &mut u16, firstlength: #[inline] pub unsafe fn unorm2_close(norm2: &mut UNormalizer2) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unorm2_close(norm2: *mut UNormalizer2); } unorm2_close(::core::mem::transmute(norm2)) @@ -23594,7 +23594,7 @@ pub unsafe fn unorm2_close(norm2: &mut UNormalizer2) { #[inline] pub unsafe fn unorm2_composePair(norm2: &UNormalizer2, a: i32, b: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unorm2_composePair(norm2: *const UNormalizer2, a: i32, b: i32) -> i32; } unorm2_composePair(::core::mem::transmute(norm2), a, b) @@ -23603,7 +23603,7 @@ pub unsafe fn unorm2_composePair(norm2: &UNormalizer2, a: i32, b: i32) -> i32 { #[inline] pub unsafe fn unorm2_getCombiningClass(norm2: &UNormalizer2, c: i32) -> u8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unorm2_getCombiningClass(norm2: *const UNormalizer2, c: i32) -> u8; } unorm2_getCombiningClass(::core::mem::transmute(norm2), c) @@ -23612,7 +23612,7 @@ pub unsafe fn unorm2_getCombiningClass(norm2: &UNormalizer2, c: i32) -> u8 { #[inline] pub unsafe fn unorm2_getDecomposition(norm2: &UNormalizer2, c: i32, decomposition: &mut u16, capacity: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unorm2_getDecomposition(norm2: *const UNormalizer2, c: i32, decomposition: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32; } unorm2_getDecomposition(::core::mem::transmute(norm2), c, ::core::mem::transmute(decomposition), capacity, ::core::mem::transmute(perrorcode)) @@ -23625,7 +23625,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unorm2_getInstance(packagename: ::windows::core::PCSTR, name: ::windows::core::PCSTR, mode: UNormalization2Mode, perrorcode: *mut UErrorCode) -> *mut UNormalizer2; } unorm2_getInstance(packagename.into(), name.into(), mode, ::core::mem::transmute(perrorcode)) @@ -23634,7 +23634,7 @@ where #[inline] pub unsafe fn unorm2_getNFCInstance(perrorcode: &mut UErrorCode) -> *mut UNormalizer2 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unorm2_getNFCInstance(perrorcode: *mut UErrorCode) -> *mut UNormalizer2; } unorm2_getNFCInstance(::core::mem::transmute(perrorcode)) @@ -23643,7 +23643,7 @@ pub unsafe fn unorm2_getNFCInstance(perrorcode: &mut UErrorCode) -> *mut UNormal #[inline] pub unsafe fn unorm2_getNFDInstance(perrorcode: &mut UErrorCode) -> *mut UNormalizer2 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unorm2_getNFDInstance(perrorcode: *mut UErrorCode) -> *mut UNormalizer2; } unorm2_getNFDInstance(::core::mem::transmute(perrorcode)) @@ -23652,7 +23652,7 @@ pub unsafe fn unorm2_getNFDInstance(perrorcode: &mut UErrorCode) -> *mut UNormal #[inline] pub unsafe fn unorm2_getNFKCCasefoldInstance(perrorcode: &mut UErrorCode) -> *mut UNormalizer2 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unorm2_getNFKCCasefoldInstance(perrorcode: *mut UErrorCode) -> *mut UNormalizer2; } unorm2_getNFKCCasefoldInstance(::core::mem::transmute(perrorcode)) @@ -23661,7 +23661,7 @@ pub unsafe fn unorm2_getNFKCCasefoldInstance(perrorcode: &mut UErrorCode) -> *mu #[inline] pub unsafe fn unorm2_getNFKCInstance(perrorcode: &mut UErrorCode) -> *mut UNormalizer2 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unorm2_getNFKCInstance(perrorcode: *mut UErrorCode) -> *mut UNormalizer2; } unorm2_getNFKCInstance(::core::mem::transmute(perrorcode)) @@ -23670,7 +23670,7 @@ pub unsafe fn unorm2_getNFKCInstance(perrorcode: &mut UErrorCode) -> *mut UNorma #[inline] pub unsafe fn unorm2_getNFKDInstance(perrorcode: &mut UErrorCode) -> *mut UNormalizer2 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unorm2_getNFKDInstance(perrorcode: *mut UErrorCode) -> *mut UNormalizer2; } unorm2_getNFKDInstance(::core::mem::transmute(perrorcode)) @@ -23679,7 +23679,7 @@ pub unsafe fn unorm2_getNFKDInstance(perrorcode: &mut UErrorCode) -> *mut UNorma #[inline] pub unsafe fn unorm2_getRawDecomposition(norm2: &UNormalizer2, c: i32, decomposition: &mut u16, capacity: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unorm2_getRawDecomposition(norm2: *const UNormalizer2, c: i32, decomposition: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32; } unorm2_getRawDecomposition(::core::mem::transmute(norm2), c, ::core::mem::transmute(decomposition), capacity, ::core::mem::transmute(perrorcode)) @@ -23688,7 +23688,7 @@ pub unsafe fn unorm2_getRawDecomposition(norm2: &UNormalizer2, c: i32, decomposi #[inline] pub unsafe fn unorm2_hasBoundaryAfter(norm2: &UNormalizer2, c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unorm2_hasBoundaryAfter(norm2: *const UNormalizer2, c: i32) -> i8; } unorm2_hasBoundaryAfter(::core::mem::transmute(norm2), c) @@ -23697,7 +23697,7 @@ pub unsafe fn unorm2_hasBoundaryAfter(norm2: &UNormalizer2, c: i32) -> i8 { #[inline] pub unsafe fn unorm2_hasBoundaryBefore(norm2: &UNormalizer2, c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unorm2_hasBoundaryBefore(norm2: *const UNormalizer2, c: i32) -> i8; } unorm2_hasBoundaryBefore(::core::mem::transmute(norm2), c) @@ -23706,7 +23706,7 @@ pub unsafe fn unorm2_hasBoundaryBefore(norm2: &UNormalizer2, c: i32) -> i8 { #[inline] pub unsafe fn unorm2_isInert(norm2: &UNormalizer2, c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unorm2_isInert(norm2: *const UNormalizer2, c: i32) -> i8; } unorm2_isInert(::core::mem::transmute(norm2), c) @@ -23715,7 +23715,7 @@ pub unsafe fn unorm2_isInert(norm2: &UNormalizer2, c: i32) -> i8 { #[inline] pub unsafe fn unorm2_isNormalized(norm2: &UNormalizer2, s: &u16, length: i32, perrorcode: &mut UErrorCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unorm2_isNormalized(norm2: *const UNormalizer2, s: *const u16, length: i32, perrorcode: *mut UErrorCode) -> i8; } unorm2_isNormalized(::core::mem::transmute(norm2), ::core::mem::transmute(s), length, ::core::mem::transmute(perrorcode)) @@ -23724,7 +23724,7 @@ pub unsafe fn unorm2_isNormalized(norm2: &UNormalizer2, s: &u16, length: i32, pe #[inline] pub unsafe fn unorm2_normalize(norm2: &UNormalizer2, src: &u16, length: i32, dest: &mut u16, capacity: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unorm2_normalize(norm2: *const UNormalizer2, src: *const u16, length: i32, dest: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32; } unorm2_normalize(::core::mem::transmute(norm2), ::core::mem::transmute(src), length, ::core::mem::transmute(dest), capacity, ::core::mem::transmute(perrorcode)) @@ -23733,7 +23733,7 @@ pub unsafe fn unorm2_normalize(norm2: &UNormalizer2, src: &u16, length: i32, des #[inline] pub unsafe fn unorm2_normalizeSecondAndAppend(norm2: &UNormalizer2, first: &mut u16, firstlength: i32, firstcapacity: i32, second: &u16, secondlength: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unorm2_normalizeSecondAndAppend(norm2: *const UNormalizer2, first: *mut u16, firstlength: i32, firstcapacity: i32, second: *const u16, secondlength: i32, perrorcode: *mut UErrorCode) -> i32; } unorm2_normalizeSecondAndAppend(::core::mem::transmute(norm2), ::core::mem::transmute(first), firstlength, firstcapacity, ::core::mem::transmute(second), secondlength, ::core::mem::transmute(perrorcode)) @@ -23742,7 +23742,7 @@ pub unsafe fn unorm2_normalizeSecondAndAppend(norm2: &UNormalizer2, first: &mut #[inline] pub unsafe fn unorm2_openFiltered(norm2: &UNormalizer2, filterset: &USet, perrorcode: &mut UErrorCode) -> *mut UNormalizer2 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unorm2_openFiltered(norm2: *const UNormalizer2, filterset: *const USet, perrorcode: *mut UErrorCode) -> *mut UNormalizer2; } unorm2_openFiltered(::core::mem::transmute(norm2), ::core::mem::transmute(filterset), ::core::mem::transmute(perrorcode)) @@ -23751,7 +23751,7 @@ pub unsafe fn unorm2_openFiltered(norm2: &UNormalizer2, filterset: &USet, perror #[inline] pub unsafe fn unorm2_quickCheck(norm2: &UNormalizer2, s: &u16, length: i32, perrorcode: &mut UErrorCode) -> UNormalizationCheckResult { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unorm2_quickCheck(norm2: *const UNormalizer2, s: *const u16, length: i32, perrorcode: *mut UErrorCode) -> UNormalizationCheckResult; } unorm2_quickCheck(::core::mem::transmute(norm2), ::core::mem::transmute(s), length, ::core::mem::transmute(perrorcode)) @@ -23760,7 +23760,7 @@ pub unsafe fn unorm2_quickCheck(norm2: &UNormalizer2, s: &u16, length: i32, perr #[inline] pub unsafe fn unorm2_spanQuickCheckYes(norm2: &UNormalizer2, s: &u16, length: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unorm2_spanQuickCheckYes(norm2: *const UNormalizer2, s: *const u16, length: i32, perrorcode: *mut UErrorCode) -> i32; } unorm2_spanQuickCheckYes(::core::mem::transmute(norm2), ::core::mem::transmute(s), length, ::core::mem::transmute(perrorcode)) @@ -23769,7 +23769,7 @@ pub unsafe fn unorm2_spanQuickCheckYes(norm2: &UNormalizer2, s: &u16, length: i3 #[inline] pub unsafe fn unorm_compare(s1: &u16, length1: i32, s2: &u16, length2: i32, options: u32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unorm_compare(s1: *const u16, length1: i32, s2: *const u16, length2: i32, options: u32, perrorcode: *mut UErrorCode) -> i32; } unorm_compare(::core::mem::transmute(s1), length1, ::core::mem::transmute(s2), length2, options, ::core::mem::transmute(perrorcode)) @@ -23778,7 +23778,7 @@ pub unsafe fn unorm_compare(s1: &u16, length1: i32, s2: &u16, length2: i32, opti #[inline] pub unsafe fn unum_applyPattern(format: *mut *mut ::core::ffi::c_void, localized: i8, pattern: &u16, patternlength: i32, parseerror: &mut UParseError, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_applyPattern(format: *mut *mut ::core::ffi::c_void, localized: i8, pattern: *const u16, patternlength: i32, parseerror: *mut UParseError, status: *mut UErrorCode); } unum_applyPattern(::core::mem::transmute(format), localized, ::core::mem::transmute(pattern), patternlength, ::core::mem::transmute(parseerror), ::core::mem::transmute(status)) @@ -23787,7 +23787,7 @@ pub unsafe fn unum_applyPattern(format: *mut *mut ::core::ffi::c_void, localized #[inline] pub unsafe fn unum_clone(fmt: *const *const ::core::ffi::c_void, status: &mut UErrorCode) -> *mut *mut ::core::ffi::c_void { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_clone(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; } unum_clone(::core::mem::transmute(fmt), ::core::mem::transmute(status)) @@ -23796,7 +23796,7 @@ pub unsafe fn unum_clone(fmt: *const *const ::core::ffi::c_void, status: &mut UE #[inline] pub unsafe fn unum_close(fmt: *mut *mut ::core::ffi::c_void) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_close(fmt: *mut *mut ::core::ffi::c_void); } unum_close(::core::mem::transmute(fmt)) @@ -23805,7 +23805,7 @@ pub unsafe fn unum_close(fmt: *mut *mut ::core::ffi::c_void) { #[inline] pub unsafe fn unum_countAvailable() -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_countAvailable() -> i32; } unum_countAvailable() @@ -23814,7 +23814,7 @@ pub unsafe fn unum_countAvailable() -> i32 { #[inline] pub unsafe fn unum_format(fmt: *const *const ::core::ffi::c_void, number: i32, result: &mut u16, resultlength: i32, pos: &mut UFieldPosition, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_format(fmt: *const *const ::core::ffi::c_void, number: i32, result: *mut u16, resultlength: i32, pos: *mut UFieldPosition, status: *mut UErrorCode) -> i32; } unum_format(::core::mem::transmute(fmt), number, ::core::mem::transmute(result), resultlength, ::core::mem::transmute(pos), ::core::mem::transmute(status)) @@ -23826,7 +23826,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_formatDecimal(fmt: *const *const ::core::ffi::c_void, number: ::windows::core::PCSTR, length: i32, result: *mut u16, resultlength: i32, pos: *mut UFieldPosition, status: *mut UErrorCode) -> i32; } unum_formatDecimal(::core::mem::transmute(fmt), number.into(), length, ::core::mem::transmute(result), resultlength, ::core::mem::transmute(pos), ::core::mem::transmute(status)) @@ -23835,7 +23835,7 @@ where #[inline] pub unsafe fn unum_formatDouble(fmt: *const *const ::core::ffi::c_void, number: f64, result: &mut u16, resultlength: i32, pos: &mut UFieldPosition, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_formatDouble(fmt: *const *const ::core::ffi::c_void, number: f64, result: *mut u16, resultlength: i32, pos: *mut UFieldPosition, status: *mut UErrorCode) -> i32; } unum_formatDouble(::core::mem::transmute(fmt), number, ::core::mem::transmute(result), resultlength, ::core::mem::transmute(pos), ::core::mem::transmute(status)) @@ -23844,7 +23844,7 @@ pub unsafe fn unum_formatDouble(fmt: *const *const ::core::ffi::c_void, number: #[inline] pub unsafe fn unum_formatDoubleCurrency(fmt: *const *const ::core::ffi::c_void, number: f64, currency: &mut u16, result: &mut u16, resultlength: i32, pos: &mut UFieldPosition, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_formatDoubleCurrency(fmt: *const *const ::core::ffi::c_void, number: f64, currency: *mut u16, result: *mut u16, resultlength: i32, pos: *mut UFieldPosition, status: *mut UErrorCode) -> i32; } unum_formatDoubleCurrency(::core::mem::transmute(fmt), number, ::core::mem::transmute(currency), ::core::mem::transmute(result), resultlength, ::core::mem::transmute(pos), ::core::mem::transmute(status)) @@ -23853,7 +23853,7 @@ pub unsafe fn unum_formatDoubleCurrency(fmt: *const *const ::core::ffi::c_void, #[inline] pub unsafe fn unum_formatDoubleForFields(format: *const *const ::core::ffi::c_void, number: f64, result: &mut u16, resultlength: i32, fpositer: &mut UFieldPositionIterator, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_formatDoubleForFields(format: *const *const ::core::ffi::c_void, number: f64, result: *mut u16, resultlength: i32, fpositer: *mut UFieldPositionIterator, status: *mut UErrorCode) -> i32; } unum_formatDoubleForFields(::core::mem::transmute(format), number, ::core::mem::transmute(result), resultlength, ::core::mem::transmute(fpositer), ::core::mem::transmute(status)) @@ -23862,7 +23862,7 @@ pub unsafe fn unum_formatDoubleForFields(format: *const *const ::core::ffi::c_vo #[inline] pub unsafe fn unum_formatInt64(fmt: *const *const ::core::ffi::c_void, number: i64, result: &mut u16, resultlength: i32, pos: &mut UFieldPosition, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_formatInt64(fmt: *const *const ::core::ffi::c_void, number: i64, result: *mut u16, resultlength: i32, pos: *mut UFieldPosition, status: *mut UErrorCode) -> i32; } unum_formatInt64(::core::mem::transmute(fmt), number, ::core::mem::transmute(result), resultlength, ::core::mem::transmute(pos), ::core::mem::transmute(status)) @@ -23871,7 +23871,7 @@ pub unsafe fn unum_formatInt64(fmt: *const *const ::core::ffi::c_void, number: i #[inline] pub unsafe fn unum_formatUFormattable(fmt: *const *const ::core::ffi::c_void, number: *const *const ::core::ffi::c_void, result: &mut u16, resultlength: i32, pos: &mut UFieldPosition, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_formatUFormattable(fmt: *const *const ::core::ffi::c_void, number: *const *const ::core::ffi::c_void, result: *mut u16, resultlength: i32, pos: *mut UFieldPosition, status: *mut UErrorCode) -> i32; } unum_formatUFormattable(::core::mem::transmute(fmt), ::core::mem::transmute(number), ::core::mem::transmute(result), resultlength, ::core::mem::transmute(pos), ::core::mem::transmute(status)) @@ -23880,7 +23880,7 @@ pub unsafe fn unum_formatUFormattable(fmt: *const *const ::core::ffi::c_void, nu #[inline] pub unsafe fn unum_getAttribute(fmt: *const *const ::core::ffi::c_void, attr: UNumberFormatAttribute) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_getAttribute(fmt: *const *const ::core::ffi::c_void, attr: UNumberFormatAttribute) -> i32; } unum_getAttribute(::core::mem::transmute(fmt), attr) @@ -23889,7 +23889,7 @@ pub unsafe fn unum_getAttribute(fmt: *const *const ::core::ffi::c_void, attr: UN #[inline] pub unsafe fn unum_getAvailable(localeindex: i32) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_getAvailable(localeindex: i32) -> ::windows::core::PSTR; } unum_getAvailable(localeindex) @@ -23898,7 +23898,7 @@ pub unsafe fn unum_getAvailable(localeindex: i32) -> ::windows::core::PSTR { #[inline] pub unsafe fn unum_getContext(fmt: *const *const ::core::ffi::c_void, r#type: UDisplayContextType, status: &mut UErrorCode) -> UDisplayContext { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_getContext(fmt: *const *const ::core::ffi::c_void, r#type: UDisplayContextType, status: *mut UErrorCode) -> UDisplayContext; } unum_getContext(::core::mem::transmute(fmt), r#type, ::core::mem::transmute(status)) @@ -23907,7 +23907,7 @@ pub unsafe fn unum_getContext(fmt: *const *const ::core::ffi::c_void, r#type: UD #[inline] pub unsafe fn unum_getDoubleAttribute(fmt: *const *const ::core::ffi::c_void, attr: UNumberFormatAttribute) -> f64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_getDoubleAttribute(fmt: *const *const ::core::ffi::c_void, attr: UNumberFormatAttribute) -> f64; } unum_getDoubleAttribute(::core::mem::transmute(fmt), attr) @@ -23916,7 +23916,7 @@ pub unsafe fn unum_getDoubleAttribute(fmt: *const *const ::core::ffi::c_void, at #[inline] pub unsafe fn unum_getLocaleByType(fmt: *const *const ::core::ffi::c_void, r#type: ULocDataLocaleType, status: &mut UErrorCode) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_getLocaleByType(fmt: *const *const ::core::ffi::c_void, r#type: ULocDataLocaleType, status: *mut UErrorCode) -> ::windows::core::PSTR; } unum_getLocaleByType(::core::mem::transmute(fmt), r#type, ::core::mem::transmute(status)) @@ -23925,7 +23925,7 @@ pub unsafe fn unum_getLocaleByType(fmt: *const *const ::core::ffi::c_void, r#typ #[inline] pub unsafe fn unum_getSymbol(fmt: *const *const ::core::ffi::c_void, symbol: UNumberFormatSymbol, buffer: &mut u16, size: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_getSymbol(fmt: *const *const ::core::ffi::c_void, symbol: UNumberFormatSymbol, buffer: *mut u16, size: i32, status: *mut UErrorCode) -> i32; } unum_getSymbol(::core::mem::transmute(fmt), symbol, ::core::mem::transmute(buffer), size, ::core::mem::transmute(status)) @@ -23934,7 +23934,7 @@ pub unsafe fn unum_getSymbol(fmt: *const *const ::core::ffi::c_void, symbol: UNu #[inline] pub unsafe fn unum_getTextAttribute(fmt: *const *const ::core::ffi::c_void, tag: UNumberFormatTextAttribute, result: &mut u16, resultlength: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_getTextAttribute(fmt: *const *const ::core::ffi::c_void, tag: UNumberFormatTextAttribute, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; } unum_getTextAttribute(::core::mem::transmute(fmt), tag, ::core::mem::transmute(result), resultlength, ::core::mem::transmute(status)) @@ -23946,7 +23946,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_open(style: UNumberFormatStyle, pattern: *const u16, patternlength: i32, locale: ::windows::core::PCSTR, parseerr: *mut UParseError, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; } unum_open(style, ::core::mem::transmute(pattern), patternlength, locale.into(), ::core::mem::transmute(parseerr), ::core::mem::transmute(status)) @@ -23955,7 +23955,7 @@ where #[inline] pub unsafe fn unum_parse(fmt: *const *const ::core::ffi::c_void, text: &u16, textlength: i32, parsepos: &mut i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_parse(fmt: *const *const ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, status: *mut UErrorCode) -> i32; } unum_parse(::core::mem::transmute(fmt), ::core::mem::transmute(text), textlength, ::core::mem::transmute(parsepos), ::core::mem::transmute(status)) @@ -23967,7 +23967,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_parseDecimal(fmt: *const *const ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, outbuf: ::windows::core::PCSTR, outbuflength: i32, status: *mut UErrorCode) -> i32; } unum_parseDecimal(::core::mem::transmute(fmt), ::core::mem::transmute(text), textlength, ::core::mem::transmute(parsepos), outbuf.into(), outbuflength, ::core::mem::transmute(status)) @@ -23976,7 +23976,7 @@ where #[inline] pub unsafe fn unum_parseDouble(fmt: *const *const ::core::ffi::c_void, text: &u16, textlength: i32, parsepos: &mut i32, status: &mut UErrorCode) -> f64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_parseDouble(fmt: *const *const ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, status: *mut UErrorCode) -> f64; } unum_parseDouble(::core::mem::transmute(fmt), ::core::mem::transmute(text), textlength, ::core::mem::transmute(parsepos), ::core::mem::transmute(status)) @@ -23985,7 +23985,7 @@ pub unsafe fn unum_parseDouble(fmt: *const *const ::core::ffi::c_void, text: &u1 #[inline] pub unsafe fn unum_parseDoubleCurrency(fmt: *const *const ::core::ffi::c_void, text: &u16, textlength: i32, parsepos: &mut i32, currency: &mut u16, status: &mut UErrorCode) -> f64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_parseDoubleCurrency(fmt: *const *const ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, currency: *mut u16, status: *mut UErrorCode) -> f64; } unum_parseDoubleCurrency(::core::mem::transmute(fmt), ::core::mem::transmute(text), textlength, ::core::mem::transmute(parsepos), ::core::mem::transmute(currency), ::core::mem::transmute(status)) @@ -23994,7 +23994,7 @@ pub unsafe fn unum_parseDoubleCurrency(fmt: *const *const ::core::ffi::c_void, t #[inline] pub unsafe fn unum_parseInt64(fmt: *const *const ::core::ffi::c_void, text: &u16, textlength: i32, parsepos: &mut i32, status: &mut UErrorCode) -> i64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_parseInt64(fmt: *const *const ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, status: *mut UErrorCode) -> i64; } unum_parseInt64(::core::mem::transmute(fmt), ::core::mem::transmute(text), textlength, ::core::mem::transmute(parsepos), ::core::mem::transmute(status)) @@ -24003,7 +24003,7 @@ pub unsafe fn unum_parseInt64(fmt: *const *const ::core::ffi::c_void, text: &u16 #[inline] pub unsafe fn unum_parseToUFormattable(fmt: *const *const ::core::ffi::c_void, result: *mut *mut ::core::ffi::c_void, text: &u16, textlength: i32, parsepos: &mut i32, status: &mut UErrorCode) -> *mut *mut ::core::ffi::c_void { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_parseToUFormattable(fmt: *const *const ::core::ffi::c_void, result: *mut *mut ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; } unum_parseToUFormattable(::core::mem::transmute(fmt), ::core::mem::transmute(result), ::core::mem::transmute(text), textlength, ::core::mem::transmute(parsepos), ::core::mem::transmute(status)) @@ -24012,7 +24012,7 @@ pub unsafe fn unum_parseToUFormattable(fmt: *const *const ::core::ffi::c_void, r #[inline] pub unsafe fn unum_setAttribute(fmt: *mut *mut ::core::ffi::c_void, attr: UNumberFormatAttribute, newvalue: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_setAttribute(fmt: *mut *mut ::core::ffi::c_void, attr: UNumberFormatAttribute, newvalue: i32); } unum_setAttribute(::core::mem::transmute(fmt), attr, newvalue) @@ -24021,7 +24021,7 @@ pub unsafe fn unum_setAttribute(fmt: *mut *mut ::core::ffi::c_void, attr: UNumbe #[inline] pub unsafe fn unum_setContext(fmt: *mut *mut ::core::ffi::c_void, value: UDisplayContext, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_setContext(fmt: *mut *mut ::core::ffi::c_void, value: UDisplayContext, status: *mut UErrorCode); } unum_setContext(::core::mem::transmute(fmt), value, ::core::mem::transmute(status)) @@ -24030,7 +24030,7 @@ pub unsafe fn unum_setContext(fmt: *mut *mut ::core::ffi::c_void, value: UDispla #[inline] pub unsafe fn unum_setDoubleAttribute(fmt: *mut *mut ::core::ffi::c_void, attr: UNumberFormatAttribute, newvalue: f64) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_setDoubleAttribute(fmt: *mut *mut ::core::ffi::c_void, attr: UNumberFormatAttribute, newvalue: f64); } unum_setDoubleAttribute(::core::mem::transmute(fmt), attr, newvalue) @@ -24039,7 +24039,7 @@ pub unsafe fn unum_setDoubleAttribute(fmt: *mut *mut ::core::ffi::c_void, attr: #[inline] pub unsafe fn unum_setSymbol(fmt: *mut *mut ::core::ffi::c_void, symbol: UNumberFormatSymbol, value: &u16, length: i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_setSymbol(fmt: *mut *mut ::core::ffi::c_void, symbol: UNumberFormatSymbol, value: *const u16, length: i32, status: *mut UErrorCode); } unum_setSymbol(::core::mem::transmute(fmt), symbol, ::core::mem::transmute(value), length, ::core::mem::transmute(status)) @@ -24048,7 +24048,7 @@ pub unsafe fn unum_setSymbol(fmt: *mut *mut ::core::ffi::c_void, symbol: UNumber #[inline] pub unsafe fn unum_setTextAttribute(fmt: *mut *mut ::core::ffi::c_void, tag: UNumberFormatTextAttribute, newvalue: &u16, newvaluelength: i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_setTextAttribute(fmt: *mut *mut ::core::ffi::c_void, tag: UNumberFormatTextAttribute, newvalue: *const u16, newvaluelength: i32, status: *mut UErrorCode); } unum_setTextAttribute(::core::mem::transmute(fmt), tag, ::core::mem::transmute(newvalue), newvaluelength, ::core::mem::transmute(status)) @@ -24057,7 +24057,7 @@ pub unsafe fn unum_setTextAttribute(fmt: *mut *mut ::core::ffi::c_void, tag: UNu #[inline] pub unsafe fn unum_toPattern(fmt: *const *const ::core::ffi::c_void, ispatternlocalized: i8, result: &mut u16, resultlength: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unum_toPattern(fmt: *const *const ::core::ffi::c_void, ispatternlocalized: i8, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; } unum_toPattern(::core::mem::transmute(fmt), ispatternlocalized, ::core::mem::transmute(result), resultlength, ::core::mem::transmute(status)) @@ -24066,7 +24066,7 @@ pub unsafe fn unum_toPattern(fmt: *const *const ::core::ffi::c_void, ispatternlo #[inline] pub unsafe fn unumf_close(uformatter: &mut UNumberFormatter) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unumf_close(uformatter: *mut UNumberFormatter); } unumf_close(::core::mem::transmute(uformatter)) @@ -24075,7 +24075,7 @@ pub unsafe fn unumf_close(uformatter: &mut UNumberFormatter) { #[inline] pub unsafe fn unumf_closeResult(uresult: &mut UFormattedNumber) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unumf_closeResult(uresult: *mut UFormattedNumber); } unumf_closeResult(::core::mem::transmute(uresult)) @@ -24087,7 +24087,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unumf_formatDecimal(uformatter: *const UNumberFormatter, value: ::windows::core::PCSTR, valuelen: i32, uresult: *mut UFormattedNumber, ec: *mut UErrorCode); } unumf_formatDecimal(::core::mem::transmute(uformatter), value.into(), valuelen, ::core::mem::transmute(uresult), ::core::mem::transmute(ec)) @@ -24096,7 +24096,7 @@ where #[inline] pub unsafe fn unumf_formatDouble(uformatter: &UNumberFormatter, value: f64, uresult: &mut UFormattedNumber, ec: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unumf_formatDouble(uformatter: *const UNumberFormatter, value: f64, uresult: *mut UFormattedNumber, ec: *mut UErrorCode); } unumf_formatDouble(::core::mem::transmute(uformatter), value, ::core::mem::transmute(uresult), ::core::mem::transmute(ec)) @@ -24105,7 +24105,7 @@ pub unsafe fn unumf_formatDouble(uformatter: &UNumberFormatter, value: f64, ures #[inline] pub unsafe fn unumf_formatInt(uformatter: &UNumberFormatter, value: i64, uresult: &mut UFormattedNumber, ec: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unumf_formatInt(uformatter: *const UNumberFormatter, value: i64, uresult: *mut UFormattedNumber, ec: *mut UErrorCode); } unumf_formatInt(::core::mem::transmute(uformatter), value, ::core::mem::transmute(uresult), ::core::mem::transmute(ec)) @@ -24117,7 +24117,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unumf_openForSkeletonAndLocale(skeleton: *const u16, skeletonlen: i32, locale: ::windows::core::PCSTR, ec: *mut UErrorCode) -> *mut UNumberFormatter; } unumf_openForSkeletonAndLocale(::core::mem::transmute(skeleton), skeletonlen, locale.into(), ::core::mem::transmute(ec)) @@ -24129,7 +24129,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unumf_openForSkeletonAndLocaleWithError(skeleton: *const u16, skeletonlen: i32, locale: ::windows::core::PCSTR, perror: *mut UParseError, ec: *mut UErrorCode) -> *mut UNumberFormatter; } unumf_openForSkeletonAndLocaleWithError(::core::mem::transmute(skeleton), skeletonlen, locale.into(), ::core::mem::transmute(perror), ::core::mem::transmute(ec)) @@ -24138,7 +24138,7 @@ where #[inline] pub unsafe fn unumf_openResult(ec: &mut UErrorCode) -> *mut UFormattedNumber { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unumf_openResult(ec: *mut UErrorCode) -> *mut UFormattedNumber; } unumf_openResult(::core::mem::transmute(ec)) @@ -24147,7 +24147,7 @@ pub unsafe fn unumf_openResult(ec: &mut UErrorCode) -> *mut UFormattedNumber { #[inline] pub unsafe fn unumf_resultAsValue(uresult: &UFormattedNumber, ec: &mut UErrorCode) -> *mut UFormattedValue { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unumf_resultAsValue(uresult: *const UFormattedNumber, ec: *mut UErrorCode) -> *mut UFormattedValue; } unumf_resultAsValue(::core::mem::transmute(uresult), ::core::mem::transmute(ec)) @@ -24156,7 +24156,7 @@ pub unsafe fn unumf_resultAsValue(uresult: &UFormattedNumber, ec: &mut UErrorCod #[inline] pub unsafe fn unumf_resultGetAllFieldPositions(uresult: &UFormattedNumber, ufpositer: &mut UFieldPositionIterator, ec: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unumf_resultGetAllFieldPositions(uresult: *const UFormattedNumber, ufpositer: *mut UFieldPositionIterator, ec: *mut UErrorCode); } unumf_resultGetAllFieldPositions(::core::mem::transmute(uresult), ::core::mem::transmute(ufpositer), ::core::mem::transmute(ec)) @@ -24165,7 +24165,7 @@ pub unsafe fn unumf_resultGetAllFieldPositions(uresult: &UFormattedNumber, ufpos #[inline] pub unsafe fn unumf_resultNextFieldPosition(uresult: &UFormattedNumber, ufpos: &mut UFieldPosition, ec: &mut UErrorCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unumf_resultNextFieldPosition(uresult: *const UFormattedNumber, ufpos: *mut UFieldPosition, ec: *mut UErrorCode) -> i8; } unumf_resultNextFieldPosition(::core::mem::transmute(uresult), ::core::mem::transmute(ufpos), ::core::mem::transmute(ec)) @@ -24174,7 +24174,7 @@ pub unsafe fn unumf_resultNextFieldPosition(uresult: &UFormattedNumber, ufpos: & #[inline] pub unsafe fn unumf_resultToString(uresult: &UFormattedNumber, buffer: &mut u16, buffercapacity: i32, ec: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unumf_resultToString(uresult: *const UFormattedNumber, buffer: *mut u16, buffercapacity: i32, ec: *mut UErrorCode) -> i32; } unumf_resultToString(::core::mem::transmute(uresult), ::core::mem::transmute(buffer), buffercapacity, ::core::mem::transmute(ec)) @@ -24183,7 +24183,7 @@ pub unsafe fn unumf_resultToString(uresult: &UFormattedNumber, buffer: &mut u16, #[inline] pub unsafe fn unumsys_close(unumsys: &mut UNumberingSystem) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unumsys_close(unumsys: *mut UNumberingSystem); } unumsys_close(::core::mem::transmute(unumsys)) @@ -24192,7 +24192,7 @@ pub unsafe fn unumsys_close(unumsys: &mut UNumberingSystem) { #[inline] pub unsafe fn unumsys_getDescription(unumsys: &UNumberingSystem, result: &mut u16, resultlength: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unumsys_getDescription(unumsys: *const UNumberingSystem, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; } unumsys_getDescription(::core::mem::transmute(unumsys), ::core::mem::transmute(result), resultlength, ::core::mem::transmute(status)) @@ -24201,7 +24201,7 @@ pub unsafe fn unumsys_getDescription(unumsys: &UNumberingSystem, result: &mut u1 #[inline] pub unsafe fn unumsys_getName(unumsys: &UNumberingSystem) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unumsys_getName(unumsys: *const UNumberingSystem) -> ::windows::core::PSTR; } unumsys_getName(::core::mem::transmute(unumsys)) @@ -24210,7 +24210,7 @@ pub unsafe fn unumsys_getName(unumsys: &UNumberingSystem) -> ::windows::core::PS #[inline] pub unsafe fn unumsys_getRadix(unumsys: &UNumberingSystem) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unumsys_getRadix(unumsys: *const UNumberingSystem) -> i32; } unumsys_getRadix(::core::mem::transmute(unumsys)) @@ -24219,7 +24219,7 @@ pub unsafe fn unumsys_getRadix(unumsys: &UNumberingSystem) -> i32 { #[inline] pub unsafe fn unumsys_isAlgorithmic(unumsys: &UNumberingSystem) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unumsys_isAlgorithmic(unumsys: *const UNumberingSystem) -> i8; } unumsys_isAlgorithmic(::core::mem::transmute(unumsys)) @@ -24231,7 +24231,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unumsys_open(locale: ::windows::core::PCSTR, status: *mut UErrorCode) -> *mut UNumberingSystem; } unumsys_open(locale.into(), ::core::mem::transmute(status)) @@ -24240,7 +24240,7 @@ where #[inline] pub unsafe fn unumsys_openAvailableNames(status: &mut UErrorCode) -> *mut UEnumeration { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unumsys_openAvailableNames(status: *mut UErrorCode) -> *mut UEnumeration; } unumsys_openAvailableNames(::core::mem::transmute(status)) @@ -24252,7 +24252,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn unumsys_openByName(name: ::windows::core::PCSTR, status: *mut UErrorCode) -> *mut UNumberingSystem; } unumsys_openByName(name.into(), ::core::mem::transmute(status)) @@ -24261,7 +24261,7 @@ where #[inline] pub unsafe fn uplrules_close(uplrules: &mut UPluralRules) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uplrules_close(uplrules: *mut UPluralRules); } uplrules_close(::core::mem::transmute(uplrules)) @@ -24270,7 +24270,7 @@ pub unsafe fn uplrules_close(uplrules: &mut UPluralRules) { #[inline] pub unsafe fn uplrules_getKeywords(uplrules: &UPluralRules, status: &mut UErrorCode) -> *mut UEnumeration { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uplrules_getKeywords(uplrules: *const UPluralRules, status: *mut UErrorCode) -> *mut UEnumeration; } uplrules_getKeywords(::core::mem::transmute(uplrules), ::core::mem::transmute(status)) @@ -24282,7 +24282,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uplrules_open(locale: ::windows::core::PCSTR, status: *mut UErrorCode) -> *mut UPluralRules; } uplrules_open(locale.into(), ::core::mem::transmute(status)) @@ -24294,7 +24294,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uplrules_openForType(locale: ::windows::core::PCSTR, r#type: UPluralType, status: *mut UErrorCode) -> *mut UPluralRules; } uplrules_openForType(locale.into(), r#type, ::core::mem::transmute(status)) @@ -24303,7 +24303,7 @@ where #[inline] pub unsafe fn uplrules_select(uplrules: &UPluralRules, number: f64, keyword: &mut u16, capacity: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uplrules_select(uplrules: *const UPluralRules, number: f64, keyword: *mut u16, capacity: i32, status: *mut UErrorCode) -> i32; } uplrules_select(::core::mem::transmute(uplrules), number, ::core::mem::transmute(keyword), capacity, ::core::mem::transmute(status)) @@ -24312,7 +24312,7 @@ pub unsafe fn uplrules_select(uplrules: &UPluralRules, number: f64, keyword: &mu #[inline] pub unsafe fn uplrules_selectFormatted(uplrules: &UPluralRules, number: &UFormattedNumber, keyword: &mut u16, capacity: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uplrules_selectFormatted(uplrules: *const UPluralRules, number: *const UFormattedNumber, keyword: *mut u16, capacity: i32, status: *mut UErrorCode) -> i32; } uplrules_selectFormatted(::core::mem::transmute(uplrules), ::core::mem::transmute(number), ::core::mem::transmute(keyword), capacity, ::core::mem::transmute(status)) @@ -24321,7 +24321,7 @@ pub unsafe fn uplrules_selectFormatted(uplrules: &UPluralRules, number: &UFormat #[inline] pub unsafe fn uregex_appendReplacement(regexp: &mut URegularExpression, replacementtext: &u16, replacementlength: i32, destbuf: &mut *mut u16, destcapacity: &mut i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_appendReplacement(regexp: *mut URegularExpression, replacementtext: *const u16, replacementlength: i32, destbuf: *mut *mut u16, destcapacity: *mut i32, status: *mut UErrorCode) -> i32; } uregex_appendReplacement(::core::mem::transmute(regexp), ::core::mem::transmute(replacementtext), replacementlength, ::core::mem::transmute(destbuf), ::core::mem::transmute(destcapacity), ::core::mem::transmute(status)) @@ -24330,7 +24330,7 @@ pub unsafe fn uregex_appendReplacement(regexp: &mut URegularExpression, replacem #[inline] pub unsafe fn uregex_appendReplacementUText(regexp: &mut URegularExpression, replacementtext: &mut UText, dest: &mut UText, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_appendReplacementUText(regexp: *mut URegularExpression, replacementtext: *mut UText, dest: *mut UText, status: *mut UErrorCode); } uregex_appendReplacementUText(::core::mem::transmute(regexp), ::core::mem::transmute(replacementtext), ::core::mem::transmute(dest), ::core::mem::transmute(status)) @@ -24339,7 +24339,7 @@ pub unsafe fn uregex_appendReplacementUText(regexp: &mut URegularExpression, rep #[inline] pub unsafe fn uregex_appendTail(regexp: &mut URegularExpression, destbuf: &mut *mut u16, destcapacity: &mut i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_appendTail(regexp: *mut URegularExpression, destbuf: *mut *mut u16, destcapacity: *mut i32, status: *mut UErrorCode) -> i32; } uregex_appendTail(::core::mem::transmute(regexp), ::core::mem::transmute(destbuf), ::core::mem::transmute(destcapacity), ::core::mem::transmute(status)) @@ -24348,7 +24348,7 @@ pub unsafe fn uregex_appendTail(regexp: &mut URegularExpression, destbuf: &mut * #[inline] pub unsafe fn uregex_appendTailUText(regexp: &mut URegularExpression, dest: &mut UText, status: &mut UErrorCode) -> *mut UText { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_appendTailUText(regexp: *mut URegularExpression, dest: *mut UText, status: *mut UErrorCode) -> *mut UText; } uregex_appendTailUText(::core::mem::transmute(regexp), ::core::mem::transmute(dest), ::core::mem::transmute(status)) @@ -24357,7 +24357,7 @@ pub unsafe fn uregex_appendTailUText(regexp: &mut URegularExpression, dest: &mut #[inline] pub unsafe fn uregex_clone(regexp: &URegularExpression, status: &mut UErrorCode) -> *mut URegularExpression { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_clone(regexp: *const URegularExpression, status: *mut UErrorCode) -> *mut URegularExpression; } uregex_clone(::core::mem::transmute(regexp), ::core::mem::transmute(status)) @@ -24366,7 +24366,7 @@ pub unsafe fn uregex_clone(regexp: &URegularExpression, status: &mut UErrorCode) #[inline] pub unsafe fn uregex_close(regexp: &mut URegularExpression) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_close(regexp: *mut URegularExpression); } uregex_close(::core::mem::transmute(regexp)) @@ -24375,7 +24375,7 @@ pub unsafe fn uregex_close(regexp: &mut URegularExpression) { #[inline] pub unsafe fn uregex_end(regexp: &mut URegularExpression, groupnum: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_end(regexp: *mut URegularExpression, groupnum: i32, status: *mut UErrorCode) -> i32; } uregex_end(::core::mem::transmute(regexp), groupnum, ::core::mem::transmute(status)) @@ -24384,7 +24384,7 @@ pub unsafe fn uregex_end(regexp: &mut URegularExpression, groupnum: i32, status: #[inline] pub unsafe fn uregex_end64(regexp: &mut URegularExpression, groupnum: i32, status: &mut UErrorCode) -> i64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_end64(regexp: *mut URegularExpression, groupnum: i32, status: *mut UErrorCode) -> i64; } uregex_end64(::core::mem::transmute(regexp), groupnum, ::core::mem::transmute(status)) @@ -24393,7 +24393,7 @@ pub unsafe fn uregex_end64(regexp: &mut URegularExpression, groupnum: i32, statu #[inline] pub unsafe fn uregex_find(regexp: &mut URegularExpression, startindex: i32, status: &mut UErrorCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_find(regexp: *mut URegularExpression, startindex: i32, status: *mut UErrorCode) -> i8; } uregex_find(::core::mem::transmute(regexp), startindex, ::core::mem::transmute(status)) @@ -24402,7 +24402,7 @@ pub unsafe fn uregex_find(regexp: &mut URegularExpression, startindex: i32, stat #[inline] pub unsafe fn uregex_find64(regexp: &mut URegularExpression, startindex: i64, status: &mut UErrorCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_find64(regexp: *mut URegularExpression, startindex: i64, status: *mut UErrorCode) -> i8; } uregex_find64(::core::mem::transmute(regexp), startindex, ::core::mem::transmute(status)) @@ -24411,7 +24411,7 @@ pub unsafe fn uregex_find64(regexp: &mut URegularExpression, startindex: i64, st #[inline] pub unsafe fn uregex_findNext(regexp: &mut URegularExpression, status: &mut UErrorCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_findNext(regexp: *mut URegularExpression, status: *mut UErrorCode) -> i8; } uregex_findNext(::core::mem::transmute(regexp), ::core::mem::transmute(status)) @@ -24420,7 +24420,7 @@ pub unsafe fn uregex_findNext(regexp: &mut URegularExpression, status: &mut UErr #[inline] pub unsafe fn uregex_flags(regexp: &URegularExpression, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_flags(regexp: *const URegularExpression, status: *mut UErrorCode) -> i32; } uregex_flags(::core::mem::transmute(regexp), ::core::mem::transmute(status)) @@ -24429,7 +24429,7 @@ pub unsafe fn uregex_flags(regexp: &URegularExpression, status: &mut UErrorCode) #[inline] pub unsafe fn uregex_getFindProgressCallback(regexp: &URegularExpression, callback: &mut URegexFindProgressCallback, context: *const *const ::core::ffi::c_void, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_getFindProgressCallback(regexp: *const URegularExpression, callback: *mut *mut ::core::ffi::c_void, context: *const *const ::core::ffi::c_void, status: *mut UErrorCode); } uregex_getFindProgressCallback(::core::mem::transmute(regexp), ::core::mem::transmute(callback), ::core::mem::transmute(context), ::core::mem::transmute(status)) @@ -24438,7 +24438,7 @@ pub unsafe fn uregex_getFindProgressCallback(regexp: &URegularExpression, callba #[inline] pub unsafe fn uregex_getMatchCallback(regexp: &URegularExpression, callback: &mut URegexMatchCallback, context: *const *const ::core::ffi::c_void, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_getMatchCallback(regexp: *const URegularExpression, callback: *mut *mut ::core::ffi::c_void, context: *const *const ::core::ffi::c_void, status: *mut UErrorCode); } uregex_getMatchCallback(::core::mem::transmute(regexp), ::core::mem::transmute(callback), ::core::mem::transmute(context), ::core::mem::transmute(status)) @@ -24447,7 +24447,7 @@ pub unsafe fn uregex_getMatchCallback(regexp: &URegularExpression, callback: &mu #[inline] pub unsafe fn uregex_getStackLimit(regexp: &URegularExpression, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_getStackLimit(regexp: *const URegularExpression, status: *mut UErrorCode) -> i32; } uregex_getStackLimit(::core::mem::transmute(regexp), ::core::mem::transmute(status)) @@ -24456,7 +24456,7 @@ pub unsafe fn uregex_getStackLimit(regexp: &URegularExpression, status: &mut UEr #[inline] pub unsafe fn uregex_getText(regexp: &mut URegularExpression, textlength: &mut i32, status: &mut UErrorCode) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_getText(regexp: *mut URegularExpression, textlength: *mut i32, status: *mut UErrorCode) -> *mut u16; } uregex_getText(::core::mem::transmute(regexp), ::core::mem::transmute(textlength), ::core::mem::transmute(status)) @@ -24465,7 +24465,7 @@ pub unsafe fn uregex_getText(regexp: &mut URegularExpression, textlength: &mut i #[inline] pub unsafe fn uregex_getTimeLimit(regexp: &URegularExpression, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_getTimeLimit(regexp: *const URegularExpression, status: *mut UErrorCode) -> i32; } uregex_getTimeLimit(::core::mem::transmute(regexp), ::core::mem::transmute(status)) @@ -24474,7 +24474,7 @@ pub unsafe fn uregex_getTimeLimit(regexp: &URegularExpression, status: &mut UErr #[inline] pub unsafe fn uregex_getUText(regexp: &mut URegularExpression, dest: &mut UText, status: &mut UErrorCode) -> *mut UText { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_getUText(regexp: *mut URegularExpression, dest: *mut UText, status: *mut UErrorCode) -> *mut UText; } uregex_getUText(::core::mem::transmute(regexp), ::core::mem::transmute(dest), ::core::mem::transmute(status)) @@ -24483,7 +24483,7 @@ pub unsafe fn uregex_getUText(regexp: &mut URegularExpression, dest: &mut UText, #[inline] pub unsafe fn uregex_group(regexp: &mut URegularExpression, groupnum: i32, dest: &mut u16, destcapacity: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_group(regexp: *mut URegularExpression, groupnum: i32, dest: *mut u16, destcapacity: i32, status: *mut UErrorCode) -> i32; } uregex_group(::core::mem::transmute(regexp), groupnum, ::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(status)) @@ -24492,7 +24492,7 @@ pub unsafe fn uregex_group(regexp: &mut URegularExpression, groupnum: i32, dest: #[inline] pub unsafe fn uregex_groupCount(regexp: &mut URegularExpression, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_groupCount(regexp: *mut URegularExpression, status: *mut UErrorCode) -> i32; } uregex_groupCount(::core::mem::transmute(regexp), ::core::mem::transmute(status)) @@ -24504,7 +24504,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_groupNumberFromCName(regexp: *mut URegularExpression, groupname: ::windows::core::PCSTR, namelength: i32, status: *mut UErrorCode) -> i32; } uregex_groupNumberFromCName(::core::mem::transmute(regexp), groupname.into(), namelength, ::core::mem::transmute(status)) @@ -24513,7 +24513,7 @@ where #[inline] pub unsafe fn uregex_groupNumberFromName(regexp: &mut URegularExpression, groupname: &u16, namelength: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_groupNumberFromName(regexp: *mut URegularExpression, groupname: *const u16, namelength: i32, status: *mut UErrorCode) -> i32; } uregex_groupNumberFromName(::core::mem::transmute(regexp), ::core::mem::transmute(groupname), namelength, ::core::mem::transmute(status)) @@ -24522,7 +24522,7 @@ pub unsafe fn uregex_groupNumberFromName(regexp: &mut URegularExpression, groupn #[inline] pub unsafe fn uregex_groupUText(regexp: &mut URegularExpression, groupnum: i32, dest: &mut UText, grouplength: &mut i64, status: &mut UErrorCode) -> *mut UText { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_groupUText(regexp: *mut URegularExpression, groupnum: i32, dest: *mut UText, grouplength: *mut i64, status: *mut UErrorCode) -> *mut UText; } uregex_groupUText(::core::mem::transmute(regexp), groupnum, ::core::mem::transmute(dest), ::core::mem::transmute(grouplength), ::core::mem::transmute(status)) @@ -24531,7 +24531,7 @@ pub unsafe fn uregex_groupUText(regexp: &mut URegularExpression, groupnum: i32, #[inline] pub unsafe fn uregex_hasAnchoringBounds(regexp: &URegularExpression, status: &mut UErrorCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_hasAnchoringBounds(regexp: *const URegularExpression, status: *mut UErrorCode) -> i8; } uregex_hasAnchoringBounds(::core::mem::transmute(regexp), ::core::mem::transmute(status)) @@ -24540,7 +24540,7 @@ pub unsafe fn uregex_hasAnchoringBounds(regexp: &URegularExpression, status: &mu #[inline] pub unsafe fn uregex_hasTransparentBounds(regexp: &URegularExpression, status: &mut UErrorCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_hasTransparentBounds(regexp: *const URegularExpression, status: *mut UErrorCode) -> i8; } uregex_hasTransparentBounds(::core::mem::transmute(regexp), ::core::mem::transmute(status)) @@ -24549,7 +24549,7 @@ pub unsafe fn uregex_hasTransparentBounds(regexp: &URegularExpression, status: & #[inline] pub unsafe fn uregex_hitEnd(regexp: &URegularExpression, status: &mut UErrorCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_hitEnd(regexp: *const URegularExpression, status: *mut UErrorCode) -> i8; } uregex_hitEnd(::core::mem::transmute(regexp), ::core::mem::transmute(status)) @@ -24558,7 +24558,7 @@ pub unsafe fn uregex_hitEnd(regexp: &URegularExpression, status: &mut UErrorCode #[inline] pub unsafe fn uregex_lookingAt(regexp: &mut URegularExpression, startindex: i32, status: &mut UErrorCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_lookingAt(regexp: *mut URegularExpression, startindex: i32, status: *mut UErrorCode) -> i8; } uregex_lookingAt(::core::mem::transmute(regexp), startindex, ::core::mem::transmute(status)) @@ -24567,7 +24567,7 @@ pub unsafe fn uregex_lookingAt(regexp: &mut URegularExpression, startindex: i32, #[inline] pub unsafe fn uregex_lookingAt64(regexp: &mut URegularExpression, startindex: i64, status: &mut UErrorCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_lookingAt64(regexp: *mut URegularExpression, startindex: i64, status: *mut UErrorCode) -> i8; } uregex_lookingAt64(::core::mem::transmute(regexp), startindex, ::core::mem::transmute(status)) @@ -24576,7 +24576,7 @@ pub unsafe fn uregex_lookingAt64(regexp: &mut URegularExpression, startindex: i6 #[inline] pub unsafe fn uregex_matches(regexp: &mut URegularExpression, startindex: i32, status: &mut UErrorCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_matches(regexp: *mut URegularExpression, startindex: i32, status: *mut UErrorCode) -> i8; } uregex_matches(::core::mem::transmute(regexp), startindex, ::core::mem::transmute(status)) @@ -24585,7 +24585,7 @@ pub unsafe fn uregex_matches(regexp: &mut URegularExpression, startindex: i32, s #[inline] pub unsafe fn uregex_matches64(regexp: &mut URegularExpression, startindex: i64, status: &mut UErrorCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_matches64(regexp: *mut URegularExpression, startindex: i64, status: *mut UErrorCode) -> i8; } uregex_matches64(::core::mem::transmute(regexp), startindex, ::core::mem::transmute(status)) @@ -24594,7 +24594,7 @@ pub unsafe fn uregex_matches64(regexp: &mut URegularExpression, startindex: i64, #[inline] pub unsafe fn uregex_open(pattern: &u16, patternlength: i32, flags: u32, pe: &mut UParseError, status: &mut UErrorCode) -> *mut URegularExpression { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_open(pattern: *const u16, patternlength: i32, flags: u32, pe: *mut UParseError, status: *mut UErrorCode) -> *mut URegularExpression; } uregex_open(::core::mem::transmute(pattern), patternlength, flags, ::core::mem::transmute(pe), ::core::mem::transmute(status)) @@ -24606,7 +24606,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_openC(pattern: ::windows::core::PCSTR, flags: u32, pe: *mut UParseError, status: *mut UErrorCode) -> *mut URegularExpression; } uregex_openC(pattern.into(), flags, ::core::mem::transmute(pe), ::core::mem::transmute(status)) @@ -24615,7 +24615,7 @@ where #[inline] pub unsafe fn uregex_openUText(pattern: &mut UText, flags: u32, pe: &mut UParseError, status: &mut UErrorCode) -> *mut URegularExpression { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_openUText(pattern: *mut UText, flags: u32, pe: *mut UParseError, status: *mut UErrorCode) -> *mut URegularExpression; } uregex_openUText(::core::mem::transmute(pattern), flags, ::core::mem::transmute(pe), ::core::mem::transmute(status)) @@ -24624,7 +24624,7 @@ pub unsafe fn uregex_openUText(pattern: &mut UText, flags: u32, pe: &mut UParseE #[inline] pub unsafe fn uregex_pattern(regexp: &URegularExpression, patlength: &mut i32, status: &mut UErrorCode) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_pattern(regexp: *const URegularExpression, patlength: *mut i32, status: *mut UErrorCode) -> *mut u16; } uregex_pattern(::core::mem::transmute(regexp), ::core::mem::transmute(patlength), ::core::mem::transmute(status)) @@ -24633,7 +24633,7 @@ pub unsafe fn uregex_pattern(regexp: &URegularExpression, patlength: &mut i32, s #[inline] pub unsafe fn uregex_patternUText(regexp: &URegularExpression, status: &mut UErrorCode) -> *mut UText { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_patternUText(regexp: *const URegularExpression, status: *mut UErrorCode) -> *mut UText; } uregex_patternUText(::core::mem::transmute(regexp), ::core::mem::transmute(status)) @@ -24642,7 +24642,7 @@ pub unsafe fn uregex_patternUText(regexp: &URegularExpression, status: &mut UErr #[inline] pub unsafe fn uregex_refreshUText(regexp: &mut URegularExpression, text: &mut UText, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_refreshUText(regexp: *mut URegularExpression, text: *mut UText, status: *mut UErrorCode); } uregex_refreshUText(::core::mem::transmute(regexp), ::core::mem::transmute(text), ::core::mem::transmute(status)) @@ -24651,7 +24651,7 @@ pub unsafe fn uregex_refreshUText(regexp: &mut URegularExpression, text: &mut UT #[inline] pub unsafe fn uregex_regionEnd(regexp: &URegularExpression, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_regionEnd(regexp: *const URegularExpression, status: *mut UErrorCode) -> i32; } uregex_regionEnd(::core::mem::transmute(regexp), ::core::mem::transmute(status)) @@ -24660,7 +24660,7 @@ pub unsafe fn uregex_regionEnd(regexp: &URegularExpression, status: &mut UErrorC #[inline] pub unsafe fn uregex_regionEnd64(regexp: &URegularExpression, status: &mut UErrorCode) -> i64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_regionEnd64(regexp: *const URegularExpression, status: *mut UErrorCode) -> i64; } uregex_regionEnd64(::core::mem::transmute(regexp), ::core::mem::transmute(status)) @@ -24669,7 +24669,7 @@ pub unsafe fn uregex_regionEnd64(regexp: &URegularExpression, status: &mut UErro #[inline] pub unsafe fn uregex_regionStart(regexp: &URegularExpression, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_regionStart(regexp: *const URegularExpression, status: *mut UErrorCode) -> i32; } uregex_regionStart(::core::mem::transmute(regexp), ::core::mem::transmute(status)) @@ -24678,7 +24678,7 @@ pub unsafe fn uregex_regionStart(regexp: &URegularExpression, status: &mut UErro #[inline] pub unsafe fn uregex_regionStart64(regexp: &URegularExpression, status: &mut UErrorCode) -> i64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_regionStart64(regexp: *const URegularExpression, status: *mut UErrorCode) -> i64; } uregex_regionStart64(::core::mem::transmute(regexp), ::core::mem::transmute(status)) @@ -24687,7 +24687,7 @@ pub unsafe fn uregex_regionStart64(regexp: &URegularExpression, status: &mut UEr #[inline] pub unsafe fn uregex_replaceAll(regexp: &mut URegularExpression, replacementtext: &u16, replacementlength: i32, destbuf: &mut u16, destcapacity: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_replaceAll(regexp: *mut URegularExpression, replacementtext: *const u16, replacementlength: i32, destbuf: *mut u16, destcapacity: i32, status: *mut UErrorCode) -> i32; } uregex_replaceAll(::core::mem::transmute(regexp), ::core::mem::transmute(replacementtext), replacementlength, ::core::mem::transmute(destbuf), destcapacity, ::core::mem::transmute(status)) @@ -24696,7 +24696,7 @@ pub unsafe fn uregex_replaceAll(regexp: &mut URegularExpression, replacementtext #[inline] pub unsafe fn uregex_replaceAllUText(regexp: &mut URegularExpression, replacement: &mut UText, dest: &mut UText, status: &mut UErrorCode) -> *mut UText { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_replaceAllUText(regexp: *mut URegularExpression, replacement: *mut UText, dest: *mut UText, status: *mut UErrorCode) -> *mut UText; } uregex_replaceAllUText(::core::mem::transmute(regexp), ::core::mem::transmute(replacement), ::core::mem::transmute(dest), ::core::mem::transmute(status)) @@ -24705,7 +24705,7 @@ pub unsafe fn uregex_replaceAllUText(regexp: &mut URegularExpression, replacemen #[inline] pub unsafe fn uregex_replaceFirst(regexp: &mut URegularExpression, replacementtext: &u16, replacementlength: i32, destbuf: &mut u16, destcapacity: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_replaceFirst(regexp: *mut URegularExpression, replacementtext: *const u16, replacementlength: i32, destbuf: *mut u16, destcapacity: i32, status: *mut UErrorCode) -> i32; } uregex_replaceFirst(::core::mem::transmute(regexp), ::core::mem::transmute(replacementtext), replacementlength, ::core::mem::transmute(destbuf), destcapacity, ::core::mem::transmute(status)) @@ -24714,7 +24714,7 @@ pub unsafe fn uregex_replaceFirst(regexp: &mut URegularExpression, replacementte #[inline] pub unsafe fn uregex_replaceFirstUText(regexp: &mut URegularExpression, replacement: &mut UText, dest: &mut UText, status: &mut UErrorCode) -> *mut UText { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_replaceFirstUText(regexp: *mut URegularExpression, replacement: *mut UText, dest: *mut UText, status: *mut UErrorCode) -> *mut UText; } uregex_replaceFirstUText(::core::mem::transmute(regexp), ::core::mem::transmute(replacement), ::core::mem::transmute(dest), ::core::mem::transmute(status)) @@ -24723,7 +24723,7 @@ pub unsafe fn uregex_replaceFirstUText(regexp: &mut URegularExpression, replacem #[inline] pub unsafe fn uregex_requireEnd(regexp: &URegularExpression, status: &mut UErrorCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_requireEnd(regexp: *const URegularExpression, status: *mut UErrorCode) -> i8; } uregex_requireEnd(::core::mem::transmute(regexp), ::core::mem::transmute(status)) @@ -24732,7 +24732,7 @@ pub unsafe fn uregex_requireEnd(regexp: &URegularExpression, status: &mut UError #[inline] pub unsafe fn uregex_reset(regexp: &mut URegularExpression, index: i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_reset(regexp: *mut URegularExpression, index: i32, status: *mut UErrorCode); } uregex_reset(::core::mem::transmute(regexp), index, ::core::mem::transmute(status)) @@ -24741,7 +24741,7 @@ pub unsafe fn uregex_reset(regexp: &mut URegularExpression, index: i32, status: #[inline] pub unsafe fn uregex_reset64(regexp: &mut URegularExpression, index: i64, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_reset64(regexp: *mut URegularExpression, index: i64, status: *mut UErrorCode); } uregex_reset64(::core::mem::transmute(regexp), index, ::core::mem::transmute(status)) @@ -24750,7 +24750,7 @@ pub unsafe fn uregex_reset64(regexp: &mut URegularExpression, index: i64, status #[inline] pub unsafe fn uregex_setFindProgressCallback(regexp: &mut URegularExpression, callback: URegexFindProgressCallback, context: *const ::core::ffi::c_void, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_setFindProgressCallback(regexp: *mut URegularExpression, callback: *mut ::core::ffi::c_void, context: *const ::core::ffi::c_void, status: *mut UErrorCode); } uregex_setFindProgressCallback(::core::mem::transmute(regexp), ::core::mem::transmute(callback), ::core::mem::transmute(context), ::core::mem::transmute(status)) @@ -24759,7 +24759,7 @@ pub unsafe fn uregex_setFindProgressCallback(regexp: &mut URegularExpression, ca #[inline] pub unsafe fn uregex_setMatchCallback(regexp: &mut URegularExpression, callback: URegexMatchCallback, context: *const ::core::ffi::c_void, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_setMatchCallback(regexp: *mut URegularExpression, callback: *mut ::core::ffi::c_void, context: *const ::core::ffi::c_void, status: *mut UErrorCode); } uregex_setMatchCallback(::core::mem::transmute(regexp), ::core::mem::transmute(callback), ::core::mem::transmute(context), ::core::mem::transmute(status)) @@ -24768,7 +24768,7 @@ pub unsafe fn uregex_setMatchCallback(regexp: &mut URegularExpression, callback: #[inline] pub unsafe fn uregex_setRegion(regexp: &mut URegularExpression, regionstart: i32, regionlimit: i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_setRegion(regexp: *mut URegularExpression, regionstart: i32, regionlimit: i32, status: *mut UErrorCode); } uregex_setRegion(::core::mem::transmute(regexp), regionstart, regionlimit, ::core::mem::transmute(status)) @@ -24777,7 +24777,7 @@ pub unsafe fn uregex_setRegion(regexp: &mut URegularExpression, regionstart: i32 #[inline] pub unsafe fn uregex_setRegion64(regexp: &mut URegularExpression, regionstart: i64, regionlimit: i64, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_setRegion64(regexp: *mut URegularExpression, regionstart: i64, regionlimit: i64, status: *mut UErrorCode); } uregex_setRegion64(::core::mem::transmute(regexp), regionstart, regionlimit, ::core::mem::transmute(status)) @@ -24786,7 +24786,7 @@ pub unsafe fn uregex_setRegion64(regexp: &mut URegularExpression, regionstart: i #[inline] pub unsafe fn uregex_setRegionAndStart(regexp: &mut URegularExpression, regionstart: i64, regionlimit: i64, startindex: i64, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_setRegionAndStart(regexp: *mut URegularExpression, regionstart: i64, regionlimit: i64, startindex: i64, status: *mut UErrorCode); } uregex_setRegionAndStart(::core::mem::transmute(regexp), regionstart, regionlimit, startindex, ::core::mem::transmute(status)) @@ -24795,7 +24795,7 @@ pub unsafe fn uregex_setRegionAndStart(regexp: &mut URegularExpression, regionst #[inline] pub unsafe fn uregex_setStackLimit(regexp: &mut URegularExpression, limit: i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_setStackLimit(regexp: *mut URegularExpression, limit: i32, status: *mut UErrorCode); } uregex_setStackLimit(::core::mem::transmute(regexp), limit, ::core::mem::transmute(status)) @@ -24804,7 +24804,7 @@ pub unsafe fn uregex_setStackLimit(regexp: &mut URegularExpression, limit: i32, #[inline] pub unsafe fn uregex_setText(regexp: &mut URegularExpression, text: &u16, textlength: i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_setText(regexp: *mut URegularExpression, text: *const u16, textlength: i32, status: *mut UErrorCode); } uregex_setText(::core::mem::transmute(regexp), ::core::mem::transmute(text), textlength, ::core::mem::transmute(status)) @@ -24813,7 +24813,7 @@ pub unsafe fn uregex_setText(regexp: &mut URegularExpression, text: &u16, textle #[inline] pub unsafe fn uregex_setTimeLimit(regexp: &mut URegularExpression, limit: i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_setTimeLimit(regexp: *mut URegularExpression, limit: i32, status: *mut UErrorCode); } uregex_setTimeLimit(::core::mem::transmute(regexp), limit, ::core::mem::transmute(status)) @@ -24822,7 +24822,7 @@ pub unsafe fn uregex_setTimeLimit(regexp: &mut URegularExpression, limit: i32, s #[inline] pub unsafe fn uregex_setUText(regexp: &mut URegularExpression, text: &mut UText, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_setUText(regexp: *mut URegularExpression, text: *mut UText, status: *mut UErrorCode); } uregex_setUText(::core::mem::transmute(regexp), ::core::mem::transmute(text), ::core::mem::transmute(status)) @@ -24831,7 +24831,7 @@ pub unsafe fn uregex_setUText(regexp: &mut URegularExpression, text: &mut UText, #[inline] pub unsafe fn uregex_split(regexp: &mut URegularExpression, destbuf: &mut u16, destcapacity: i32, requiredcapacity: &mut i32, destfields: &mut *mut u16, destfieldscapacity: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_split(regexp: *mut URegularExpression, destbuf: *mut u16, destcapacity: i32, requiredcapacity: *mut i32, destfields: *mut *mut u16, destfieldscapacity: i32, status: *mut UErrorCode) -> i32; } uregex_split(::core::mem::transmute(regexp), ::core::mem::transmute(destbuf), destcapacity, ::core::mem::transmute(requiredcapacity), ::core::mem::transmute(destfields), destfieldscapacity, ::core::mem::transmute(status)) @@ -24840,7 +24840,7 @@ pub unsafe fn uregex_split(regexp: &mut URegularExpression, destbuf: &mut u16, d #[inline] pub unsafe fn uregex_splitUText(regexp: &mut URegularExpression, destfields: &mut *mut UText, destfieldscapacity: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_splitUText(regexp: *mut URegularExpression, destfields: *mut *mut UText, destfieldscapacity: i32, status: *mut UErrorCode) -> i32; } uregex_splitUText(::core::mem::transmute(regexp), ::core::mem::transmute(destfields), destfieldscapacity, ::core::mem::transmute(status)) @@ -24849,7 +24849,7 @@ pub unsafe fn uregex_splitUText(regexp: &mut URegularExpression, destfields: &mu #[inline] pub unsafe fn uregex_start(regexp: &mut URegularExpression, groupnum: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_start(regexp: *mut URegularExpression, groupnum: i32, status: *mut UErrorCode) -> i32; } uregex_start(::core::mem::transmute(regexp), groupnum, ::core::mem::transmute(status)) @@ -24858,7 +24858,7 @@ pub unsafe fn uregex_start(regexp: &mut URegularExpression, groupnum: i32, statu #[inline] pub unsafe fn uregex_start64(regexp: &mut URegularExpression, groupnum: i32, status: &mut UErrorCode) -> i64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_start64(regexp: *mut URegularExpression, groupnum: i32, status: *mut UErrorCode) -> i64; } uregex_start64(::core::mem::transmute(regexp), groupnum, ::core::mem::transmute(status)) @@ -24867,7 +24867,7 @@ pub unsafe fn uregex_start64(regexp: &mut URegularExpression, groupnum: i32, sta #[inline] pub unsafe fn uregex_useAnchoringBounds(regexp: &mut URegularExpression, b: i8, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_useAnchoringBounds(regexp: *mut URegularExpression, b: i8, status: *mut UErrorCode); } uregex_useAnchoringBounds(::core::mem::transmute(regexp), b, ::core::mem::transmute(status)) @@ -24876,7 +24876,7 @@ pub unsafe fn uregex_useAnchoringBounds(regexp: &mut URegularExpression, b: i8, #[inline] pub unsafe fn uregex_useTransparentBounds(regexp: &mut URegularExpression, b: i8, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregex_useTransparentBounds(regexp: *mut URegularExpression, b: i8, status: *mut UErrorCode); } uregex_useTransparentBounds(::core::mem::transmute(regexp), b, ::core::mem::transmute(status)) @@ -24885,7 +24885,7 @@ pub unsafe fn uregex_useTransparentBounds(regexp: &mut URegularExpression, b: i8 #[inline] pub unsafe fn uregion_areEqual(uregion: &URegion, otherregion: &URegion) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregion_areEqual(uregion: *const URegion, otherregion: *const URegion) -> i8; } uregion_areEqual(::core::mem::transmute(uregion), ::core::mem::transmute(otherregion)) @@ -24894,7 +24894,7 @@ pub unsafe fn uregion_areEqual(uregion: &URegion, otherregion: &URegion) -> i8 { #[inline] pub unsafe fn uregion_contains(uregion: &URegion, otherregion: &URegion) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregion_contains(uregion: *const URegion, otherregion: *const URegion) -> i8; } uregion_contains(::core::mem::transmute(uregion), ::core::mem::transmute(otherregion)) @@ -24903,7 +24903,7 @@ pub unsafe fn uregion_contains(uregion: &URegion, otherregion: &URegion) -> i8 { #[inline] pub unsafe fn uregion_getAvailable(r#type: URegionType, status: &mut UErrorCode) -> *mut UEnumeration { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregion_getAvailable(r#type: URegionType, status: *mut UErrorCode) -> *mut UEnumeration; } uregion_getAvailable(r#type, ::core::mem::transmute(status)) @@ -24912,7 +24912,7 @@ pub unsafe fn uregion_getAvailable(r#type: URegionType, status: &mut UErrorCode) #[inline] pub unsafe fn uregion_getContainedRegions(uregion: &URegion, status: &mut UErrorCode) -> *mut UEnumeration { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregion_getContainedRegions(uregion: *const URegion, status: *mut UErrorCode) -> *mut UEnumeration; } uregion_getContainedRegions(::core::mem::transmute(uregion), ::core::mem::transmute(status)) @@ -24921,7 +24921,7 @@ pub unsafe fn uregion_getContainedRegions(uregion: &URegion, status: &mut UError #[inline] pub unsafe fn uregion_getContainedRegionsOfType(uregion: &URegion, r#type: URegionType, status: &mut UErrorCode) -> *mut UEnumeration { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregion_getContainedRegionsOfType(uregion: *const URegion, r#type: URegionType, status: *mut UErrorCode) -> *mut UEnumeration; } uregion_getContainedRegionsOfType(::core::mem::transmute(uregion), r#type, ::core::mem::transmute(status)) @@ -24930,7 +24930,7 @@ pub unsafe fn uregion_getContainedRegionsOfType(uregion: &URegion, r#type: URegi #[inline] pub unsafe fn uregion_getContainingRegion(uregion: &URegion) -> *mut URegion { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregion_getContainingRegion(uregion: *const URegion) -> *mut URegion; } uregion_getContainingRegion(::core::mem::transmute(uregion)) @@ -24939,7 +24939,7 @@ pub unsafe fn uregion_getContainingRegion(uregion: &URegion) -> *mut URegion { #[inline] pub unsafe fn uregion_getContainingRegionOfType(uregion: &URegion, r#type: URegionType) -> *mut URegion { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregion_getContainingRegionOfType(uregion: *const URegion, r#type: URegionType) -> *mut URegion; } uregion_getContainingRegionOfType(::core::mem::transmute(uregion), r#type) @@ -24948,7 +24948,7 @@ pub unsafe fn uregion_getContainingRegionOfType(uregion: &URegion, r#type: URegi #[inline] pub unsafe fn uregion_getNumericCode(uregion: &URegion) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregion_getNumericCode(uregion: *const URegion) -> i32; } uregion_getNumericCode(::core::mem::transmute(uregion)) @@ -24957,7 +24957,7 @@ pub unsafe fn uregion_getNumericCode(uregion: &URegion) -> i32 { #[inline] pub unsafe fn uregion_getPreferredValues(uregion: &URegion, status: &mut UErrorCode) -> *mut UEnumeration { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregion_getPreferredValues(uregion: *const URegion, status: *mut UErrorCode) -> *mut UEnumeration; } uregion_getPreferredValues(::core::mem::transmute(uregion), ::core::mem::transmute(status)) @@ -24966,7 +24966,7 @@ pub unsafe fn uregion_getPreferredValues(uregion: &URegion, status: &mut UErrorC #[inline] pub unsafe fn uregion_getRegionCode(uregion: &URegion) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregion_getRegionCode(uregion: *const URegion) -> ::windows::core::PSTR; } uregion_getRegionCode(::core::mem::transmute(uregion)) @@ -24978,7 +24978,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregion_getRegionFromCode(regioncode: ::windows::core::PCSTR, status: *mut UErrorCode) -> *mut URegion; } uregion_getRegionFromCode(regioncode.into(), ::core::mem::transmute(status)) @@ -24987,7 +24987,7 @@ where #[inline] pub unsafe fn uregion_getRegionFromNumericCode(code: i32, status: &mut UErrorCode) -> *mut URegion { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregion_getRegionFromNumericCode(code: i32, status: *mut UErrorCode) -> *mut URegion; } uregion_getRegionFromNumericCode(code, ::core::mem::transmute(status)) @@ -24996,7 +24996,7 @@ pub unsafe fn uregion_getRegionFromNumericCode(code: i32, status: &mut UErrorCod #[inline] pub unsafe fn uregion_getType(uregion: &URegion) -> URegionType { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uregion_getType(uregion: *const URegion) -> URegionType; } uregion_getType(::core::mem::transmute(uregion)) @@ -25005,7 +25005,7 @@ pub unsafe fn uregion_getType(uregion: &URegion) -> URegionType { #[inline] pub unsafe fn ureldatefmt_close(reldatefmt: &mut URelativeDateTimeFormatter) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ureldatefmt_close(reldatefmt: *mut URelativeDateTimeFormatter); } ureldatefmt_close(::core::mem::transmute(reldatefmt)) @@ -25014,7 +25014,7 @@ pub unsafe fn ureldatefmt_close(reldatefmt: &mut URelativeDateTimeFormatter) { #[inline] pub unsafe fn ureldatefmt_closeResult(ufrdt: &mut UFormattedRelativeDateTime) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ureldatefmt_closeResult(ufrdt: *mut UFormattedRelativeDateTime); } ureldatefmt_closeResult(::core::mem::transmute(ufrdt)) @@ -25023,7 +25023,7 @@ pub unsafe fn ureldatefmt_closeResult(ufrdt: &mut UFormattedRelativeDateTime) { #[inline] pub unsafe fn ureldatefmt_combineDateAndTime(reldatefmt: &URelativeDateTimeFormatter, relativedatestring: &u16, relativedatestringlen: i32, timestring: &u16, timestringlen: i32, result: &mut u16, resultcapacity: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ureldatefmt_combineDateAndTime(reldatefmt: *const URelativeDateTimeFormatter, relativedatestring: *const u16, relativedatestringlen: i32, timestring: *const u16, timestringlen: i32, result: *mut u16, resultcapacity: i32, status: *mut UErrorCode) -> i32; } ureldatefmt_combineDateAndTime(::core::mem::transmute(reldatefmt), ::core::mem::transmute(relativedatestring), relativedatestringlen, ::core::mem::transmute(timestring), timestringlen, ::core::mem::transmute(result), resultcapacity, ::core::mem::transmute(status)) @@ -25032,7 +25032,7 @@ pub unsafe fn ureldatefmt_combineDateAndTime(reldatefmt: &URelativeDateTimeForma #[inline] pub unsafe fn ureldatefmt_format(reldatefmt: &URelativeDateTimeFormatter, offset: f64, unit: URelativeDateTimeUnit, result: &mut u16, resultcapacity: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ureldatefmt_format(reldatefmt: *const URelativeDateTimeFormatter, offset: f64, unit: URelativeDateTimeUnit, result: *mut u16, resultcapacity: i32, status: *mut UErrorCode) -> i32; } ureldatefmt_format(::core::mem::transmute(reldatefmt), offset, unit, ::core::mem::transmute(result), resultcapacity, ::core::mem::transmute(status)) @@ -25041,7 +25041,7 @@ pub unsafe fn ureldatefmt_format(reldatefmt: &URelativeDateTimeFormatter, offset #[inline] pub unsafe fn ureldatefmt_formatNumeric(reldatefmt: &URelativeDateTimeFormatter, offset: f64, unit: URelativeDateTimeUnit, result: &mut u16, resultcapacity: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ureldatefmt_formatNumeric(reldatefmt: *const URelativeDateTimeFormatter, offset: f64, unit: URelativeDateTimeUnit, result: *mut u16, resultcapacity: i32, status: *mut UErrorCode) -> i32; } ureldatefmt_formatNumeric(::core::mem::transmute(reldatefmt), offset, unit, ::core::mem::transmute(result), resultcapacity, ::core::mem::transmute(status)) @@ -25050,7 +25050,7 @@ pub unsafe fn ureldatefmt_formatNumeric(reldatefmt: &URelativeDateTimeFormatter, #[inline] pub unsafe fn ureldatefmt_formatNumericToResult(reldatefmt: &URelativeDateTimeFormatter, offset: f64, unit: URelativeDateTimeUnit, result: &mut UFormattedRelativeDateTime, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ureldatefmt_formatNumericToResult(reldatefmt: *const URelativeDateTimeFormatter, offset: f64, unit: URelativeDateTimeUnit, result: *mut UFormattedRelativeDateTime, status: *mut UErrorCode); } ureldatefmt_formatNumericToResult(::core::mem::transmute(reldatefmt), offset, unit, ::core::mem::transmute(result), ::core::mem::transmute(status)) @@ -25059,7 +25059,7 @@ pub unsafe fn ureldatefmt_formatNumericToResult(reldatefmt: &URelativeDateTimeFo #[inline] pub unsafe fn ureldatefmt_formatToResult(reldatefmt: &URelativeDateTimeFormatter, offset: f64, unit: URelativeDateTimeUnit, result: &mut UFormattedRelativeDateTime, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ureldatefmt_formatToResult(reldatefmt: *const URelativeDateTimeFormatter, offset: f64, unit: URelativeDateTimeUnit, result: *mut UFormattedRelativeDateTime, status: *mut UErrorCode); } ureldatefmt_formatToResult(::core::mem::transmute(reldatefmt), offset, unit, ::core::mem::transmute(result), ::core::mem::transmute(status)) @@ -25071,7 +25071,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ureldatefmt_open(locale: ::windows::core::PCSTR, nftoadopt: *mut *mut ::core::ffi::c_void, width: UDateRelativeDateTimeFormatterStyle, capitalizationcontext: UDisplayContext, status: *mut UErrorCode) -> *mut URelativeDateTimeFormatter; } ureldatefmt_open(locale.into(), ::core::mem::transmute(nftoadopt), width, capitalizationcontext, ::core::mem::transmute(status)) @@ -25080,7 +25080,7 @@ where #[inline] pub unsafe fn ureldatefmt_openResult(ec: &mut UErrorCode) -> *mut UFormattedRelativeDateTime { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ureldatefmt_openResult(ec: *mut UErrorCode) -> *mut UFormattedRelativeDateTime; } ureldatefmt_openResult(::core::mem::transmute(ec)) @@ -25089,7 +25089,7 @@ pub unsafe fn ureldatefmt_openResult(ec: &mut UErrorCode) -> *mut UFormattedRela #[inline] pub unsafe fn ureldatefmt_resultAsValue(ufrdt: &UFormattedRelativeDateTime, ec: &mut UErrorCode) -> *mut UFormattedValue { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ureldatefmt_resultAsValue(ufrdt: *const UFormattedRelativeDateTime, ec: *mut UErrorCode) -> *mut UFormattedValue; } ureldatefmt_resultAsValue(::core::mem::transmute(ufrdt), ::core::mem::transmute(ec)) @@ -25098,7 +25098,7 @@ pub unsafe fn ureldatefmt_resultAsValue(ufrdt: &UFormattedRelativeDateTime, ec: #[inline] pub unsafe fn ures_close(resourcebundle: &mut UResourceBundle) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_close(resourcebundle: *mut UResourceBundle); } ures_close(::core::mem::transmute(resourcebundle)) @@ -25107,7 +25107,7 @@ pub unsafe fn ures_close(resourcebundle: &mut UResourceBundle) { #[inline] pub unsafe fn ures_getBinary(resourcebundle: &UResourceBundle, len: &mut i32, status: &mut UErrorCode) -> *mut u8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_getBinary(resourcebundle: *const UResourceBundle, len: *mut i32, status: *mut UErrorCode) -> *mut u8; } ures_getBinary(::core::mem::transmute(resourcebundle), ::core::mem::transmute(len), ::core::mem::transmute(status)) @@ -25116,7 +25116,7 @@ pub unsafe fn ures_getBinary(resourcebundle: &UResourceBundle, len: &mut i32, st #[inline] pub unsafe fn ures_getByIndex(resourcebundle: &UResourceBundle, indexr: i32, fillin: &mut UResourceBundle, status: &mut UErrorCode) -> *mut UResourceBundle { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_getByIndex(resourcebundle: *const UResourceBundle, indexr: i32, fillin: *mut UResourceBundle, status: *mut UErrorCode) -> *mut UResourceBundle; } ures_getByIndex(::core::mem::transmute(resourcebundle), indexr, ::core::mem::transmute(fillin), ::core::mem::transmute(status)) @@ -25128,7 +25128,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_getByKey(resourcebundle: *const UResourceBundle, key: ::windows::core::PCSTR, fillin: *mut UResourceBundle, status: *mut UErrorCode) -> *mut UResourceBundle; } ures_getByKey(::core::mem::transmute(resourcebundle), key.into(), ::core::mem::transmute(fillin), ::core::mem::transmute(status)) @@ -25137,7 +25137,7 @@ where #[inline] pub unsafe fn ures_getInt(resourcebundle: &UResourceBundle, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_getInt(resourcebundle: *const UResourceBundle, status: *mut UErrorCode) -> i32; } ures_getInt(::core::mem::transmute(resourcebundle), ::core::mem::transmute(status)) @@ -25146,7 +25146,7 @@ pub unsafe fn ures_getInt(resourcebundle: &UResourceBundle, status: &mut UErrorC #[inline] pub unsafe fn ures_getIntVector(resourcebundle: &UResourceBundle, len: &mut i32, status: &mut UErrorCode) -> *mut i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_getIntVector(resourcebundle: *const UResourceBundle, len: *mut i32, status: *mut UErrorCode) -> *mut i32; } ures_getIntVector(::core::mem::transmute(resourcebundle), ::core::mem::transmute(len), ::core::mem::transmute(status)) @@ -25155,7 +25155,7 @@ pub unsafe fn ures_getIntVector(resourcebundle: &UResourceBundle, len: &mut i32, #[inline] pub unsafe fn ures_getKey(resourcebundle: &UResourceBundle) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_getKey(resourcebundle: *const UResourceBundle) -> ::windows::core::PSTR; } ures_getKey(::core::mem::transmute(resourcebundle)) @@ -25164,7 +25164,7 @@ pub unsafe fn ures_getKey(resourcebundle: &UResourceBundle) -> ::windows::core:: #[inline] pub unsafe fn ures_getLocaleByType(resourcebundle: &UResourceBundle, r#type: ULocDataLocaleType, status: &mut UErrorCode) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_getLocaleByType(resourcebundle: *const UResourceBundle, r#type: ULocDataLocaleType, status: *mut UErrorCode) -> ::windows::core::PSTR; } ures_getLocaleByType(::core::mem::transmute(resourcebundle), r#type, ::core::mem::transmute(status)) @@ -25173,7 +25173,7 @@ pub unsafe fn ures_getLocaleByType(resourcebundle: &UResourceBundle, r#type: ULo #[inline] pub unsafe fn ures_getNextResource(resourcebundle: &mut UResourceBundle, fillin: &mut UResourceBundle, status: &mut UErrorCode) -> *mut UResourceBundle { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_getNextResource(resourcebundle: *mut UResourceBundle, fillin: *mut UResourceBundle, status: *mut UErrorCode) -> *mut UResourceBundle; } ures_getNextResource(::core::mem::transmute(resourcebundle), ::core::mem::transmute(fillin), ::core::mem::transmute(status)) @@ -25182,7 +25182,7 @@ pub unsafe fn ures_getNextResource(resourcebundle: &mut UResourceBundle, fillin: #[inline] pub unsafe fn ures_getNextString(resourcebundle: &mut UResourceBundle, len: &mut i32, key: &*const i8, status: &mut UErrorCode) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_getNextString(resourcebundle: *mut UResourceBundle, len: *mut i32, key: *const *const i8, status: *mut UErrorCode) -> *mut u16; } ures_getNextString(::core::mem::transmute(resourcebundle), ::core::mem::transmute(len), ::core::mem::transmute(key), ::core::mem::transmute(status)) @@ -25191,7 +25191,7 @@ pub unsafe fn ures_getNextString(resourcebundle: &mut UResourceBundle, len: &mut #[inline] pub unsafe fn ures_getSize(resourcebundle: &UResourceBundle) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_getSize(resourcebundle: *const UResourceBundle) -> i32; } ures_getSize(::core::mem::transmute(resourcebundle)) @@ -25200,7 +25200,7 @@ pub unsafe fn ures_getSize(resourcebundle: &UResourceBundle) -> i32 { #[inline] pub unsafe fn ures_getString(resourcebundle: &UResourceBundle, len: &mut i32, status: &mut UErrorCode) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_getString(resourcebundle: *const UResourceBundle, len: *mut i32, status: *mut UErrorCode) -> *mut u16; } ures_getString(::core::mem::transmute(resourcebundle), ::core::mem::transmute(len), ::core::mem::transmute(status)) @@ -25209,7 +25209,7 @@ pub unsafe fn ures_getString(resourcebundle: &UResourceBundle, len: &mut i32, st #[inline] pub unsafe fn ures_getStringByIndex(resourcebundle: &UResourceBundle, indexs: i32, len: &mut i32, status: &mut UErrorCode) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_getStringByIndex(resourcebundle: *const UResourceBundle, indexs: i32, len: *mut i32, status: *mut UErrorCode) -> *mut u16; } ures_getStringByIndex(::core::mem::transmute(resourcebundle), indexs, ::core::mem::transmute(len), ::core::mem::transmute(status)) @@ -25221,7 +25221,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_getStringByKey(resb: *const UResourceBundle, key: ::windows::core::PCSTR, len: *mut i32, status: *mut UErrorCode) -> *mut u16; } ures_getStringByKey(::core::mem::transmute(resb), key.into(), ::core::mem::transmute(len), ::core::mem::transmute(status)) @@ -25230,7 +25230,7 @@ where #[inline] pub unsafe fn ures_getType(resourcebundle: &UResourceBundle) -> UResType { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_getType(resourcebundle: *const UResourceBundle) -> UResType; } ures_getType(::core::mem::transmute(resourcebundle)) @@ -25239,7 +25239,7 @@ pub unsafe fn ures_getType(resourcebundle: &UResourceBundle) -> UResType { #[inline] pub unsafe fn ures_getUInt(resourcebundle: &UResourceBundle, status: &mut UErrorCode) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_getUInt(resourcebundle: *const UResourceBundle, status: *mut UErrorCode) -> u32; } ures_getUInt(::core::mem::transmute(resourcebundle), ::core::mem::transmute(status)) @@ -25251,7 +25251,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_getUTF8String(resb: *const UResourceBundle, dest: ::windows::core::PCSTR, length: *mut i32, forcecopy: i8, status: *mut UErrorCode) -> ::windows::core::PSTR; } ures_getUTF8String(::core::mem::transmute(resb), dest.into(), ::core::mem::transmute(length), forcecopy, ::core::mem::transmute(status)) @@ -25263,7 +25263,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_getUTF8StringByIndex(resb: *const UResourceBundle, stringindex: i32, dest: ::windows::core::PCSTR, plength: *mut i32, forcecopy: i8, status: *mut UErrorCode) -> ::windows::core::PSTR; } ures_getUTF8StringByIndex(::core::mem::transmute(resb), stringindex, dest.into(), ::core::mem::transmute(plength), forcecopy, ::core::mem::transmute(status)) @@ -25276,7 +25276,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_getUTF8StringByKey(resb: *const UResourceBundle, key: ::windows::core::PCSTR, dest: ::windows::core::PCSTR, plength: *mut i32, forcecopy: i8, status: *mut UErrorCode) -> ::windows::core::PSTR; } ures_getUTF8StringByKey(::core::mem::transmute(resb), key.into(), dest.into(), ::core::mem::transmute(plength), forcecopy, ::core::mem::transmute(status)) @@ -25285,7 +25285,7 @@ where #[inline] pub unsafe fn ures_getVersion(resb: &UResourceBundle, versioninfo: &mut u8) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_getVersion(resb: *const UResourceBundle, versioninfo: *mut u8); } ures_getVersion(::core::mem::transmute(resb), ::core::mem::transmute(versioninfo)) @@ -25294,7 +25294,7 @@ pub unsafe fn ures_getVersion(resb: &UResourceBundle, versioninfo: &mut u8) { #[inline] pub unsafe fn ures_hasNext(resourcebundle: &UResourceBundle) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_hasNext(resourcebundle: *const UResourceBundle) -> i8; } ures_hasNext(::core::mem::transmute(resourcebundle)) @@ -25307,7 +25307,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_open(packagename: ::windows::core::PCSTR, locale: ::windows::core::PCSTR, status: *mut UErrorCode) -> *mut UResourceBundle; } ures_open(packagename.into(), locale.into(), ::core::mem::transmute(status)) @@ -25319,7 +25319,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_openAvailableLocales(packagename: ::windows::core::PCSTR, status: *mut UErrorCode) -> *mut UEnumeration; } ures_openAvailableLocales(packagename.into(), ::core::mem::transmute(status)) @@ -25332,7 +25332,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_openDirect(packagename: ::windows::core::PCSTR, locale: ::windows::core::PCSTR, status: *mut UErrorCode) -> *mut UResourceBundle; } ures_openDirect(packagename.into(), locale.into(), ::core::mem::transmute(status)) @@ -25344,7 +25344,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_openU(packagename: *const u16, locale: ::windows::core::PCSTR, status: *mut UErrorCode) -> *mut UResourceBundle; } ures_openU(::core::mem::transmute(packagename), locale.into(), ::core::mem::transmute(status)) @@ -25353,7 +25353,7 @@ where #[inline] pub unsafe fn ures_resetIterator(resourcebundle: &mut UResourceBundle) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ures_resetIterator(resourcebundle: *mut UResourceBundle); } ures_resetIterator(::core::mem::transmute(resourcebundle)) @@ -25362,7 +25362,7 @@ pub unsafe fn ures_resetIterator(resourcebundle: &mut UResourceBundle) { #[inline] pub unsafe fn uscript_breaksBetweenLetters(script: UScriptCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uscript_breaksBetweenLetters(script: UScriptCode) -> i8; } uscript_breaksBetweenLetters(script) @@ -25374,7 +25374,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uscript_getCode(nameorabbrorlocale: ::windows::core::PCSTR, fillin: *mut UScriptCode, capacity: i32, err: *mut UErrorCode) -> i32; } uscript_getCode(nameorabbrorlocale.into(), ::core::mem::transmute(fillin), capacity, ::core::mem::transmute(err)) @@ -25383,7 +25383,7 @@ where #[inline] pub unsafe fn uscript_getName(scriptcode: UScriptCode) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uscript_getName(scriptcode: UScriptCode) -> ::windows::core::PSTR; } uscript_getName(scriptcode) @@ -25392,7 +25392,7 @@ pub unsafe fn uscript_getName(scriptcode: UScriptCode) -> ::windows::core::PSTR #[inline] pub unsafe fn uscript_getSampleString(script: UScriptCode, dest: &mut u16, capacity: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uscript_getSampleString(script: UScriptCode, dest: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32; } uscript_getSampleString(script, ::core::mem::transmute(dest), capacity, ::core::mem::transmute(perrorcode)) @@ -25401,7 +25401,7 @@ pub unsafe fn uscript_getSampleString(script: UScriptCode, dest: &mut u16, capac #[inline] pub unsafe fn uscript_getScript(codepoint: i32, err: &mut UErrorCode) -> UScriptCode { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uscript_getScript(codepoint: i32, err: *mut UErrorCode) -> UScriptCode; } uscript_getScript(codepoint, ::core::mem::transmute(err)) @@ -25410,7 +25410,7 @@ pub unsafe fn uscript_getScript(codepoint: i32, err: &mut UErrorCode) -> UScript #[inline] pub unsafe fn uscript_getScriptExtensions(c: i32, scripts: &mut UScriptCode, capacity: i32, errorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uscript_getScriptExtensions(c: i32, scripts: *mut UScriptCode, capacity: i32, errorcode: *mut UErrorCode) -> i32; } uscript_getScriptExtensions(c, ::core::mem::transmute(scripts), capacity, ::core::mem::transmute(errorcode)) @@ -25419,7 +25419,7 @@ pub unsafe fn uscript_getScriptExtensions(c: i32, scripts: &mut UScriptCode, cap #[inline] pub unsafe fn uscript_getShortName(scriptcode: UScriptCode) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uscript_getShortName(scriptcode: UScriptCode) -> ::windows::core::PSTR; } uscript_getShortName(scriptcode) @@ -25428,7 +25428,7 @@ pub unsafe fn uscript_getShortName(scriptcode: UScriptCode) -> ::windows::core:: #[inline] pub unsafe fn uscript_getUsage(script: UScriptCode) -> UScriptUsage { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uscript_getUsage(script: UScriptCode) -> UScriptUsage; } uscript_getUsage(script) @@ -25437,7 +25437,7 @@ pub unsafe fn uscript_getUsage(script: UScriptCode) -> UScriptUsage { #[inline] pub unsafe fn uscript_hasScript(c: i32, sc: UScriptCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uscript_hasScript(c: i32, sc: UScriptCode) -> i8; } uscript_hasScript(c, sc) @@ -25446,7 +25446,7 @@ pub unsafe fn uscript_hasScript(c: i32, sc: UScriptCode) -> i8 { #[inline] pub unsafe fn uscript_isCased(script: UScriptCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uscript_isCased(script: UScriptCode) -> i8; } uscript_isCased(script) @@ -25455,7 +25455,7 @@ pub unsafe fn uscript_isCased(script: UScriptCode) -> i8 { #[inline] pub unsafe fn uscript_isRightToLeft(script: UScriptCode) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uscript_isRightToLeft(script: UScriptCode) -> i8; } uscript_isRightToLeft(script) @@ -25464,7 +25464,7 @@ pub unsafe fn uscript_isRightToLeft(script: UScriptCode) -> i8 { #[inline] pub unsafe fn usearch_close(searchiter: &mut UStringSearch) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_close(searchiter: *mut UStringSearch); } usearch_close(::core::mem::transmute(searchiter)) @@ -25473,7 +25473,7 @@ pub unsafe fn usearch_close(searchiter: &mut UStringSearch) { #[inline] pub unsafe fn usearch_first(strsrch: &mut UStringSearch, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_first(strsrch: *mut UStringSearch, status: *mut UErrorCode) -> i32; } usearch_first(::core::mem::transmute(strsrch), ::core::mem::transmute(status)) @@ -25482,7 +25482,7 @@ pub unsafe fn usearch_first(strsrch: &mut UStringSearch, status: &mut UErrorCode #[inline] pub unsafe fn usearch_following(strsrch: &mut UStringSearch, position: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_following(strsrch: *mut UStringSearch, position: i32, status: *mut UErrorCode) -> i32; } usearch_following(::core::mem::transmute(strsrch), position, ::core::mem::transmute(status)) @@ -25491,7 +25491,7 @@ pub unsafe fn usearch_following(strsrch: &mut UStringSearch, position: i32, stat #[inline] pub unsafe fn usearch_getAttribute(strsrch: &UStringSearch, attribute: USearchAttribute) -> USearchAttributeValue { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_getAttribute(strsrch: *const UStringSearch, attribute: USearchAttribute) -> USearchAttributeValue; } usearch_getAttribute(::core::mem::transmute(strsrch), attribute) @@ -25500,7 +25500,7 @@ pub unsafe fn usearch_getAttribute(strsrch: &UStringSearch, attribute: USearchAt #[inline] pub unsafe fn usearch_getBreakIterator(strsrch: &UStringSearch) -> *mut UBreakIterator { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_getBreakIterator(strsrch: *const UStringSearch) -> *mut UBreakIterator; } usearch_getBreakIterator(::core::mem::transmute(strsrch)) @@ -25509,7 +25509,7 @@ pub unsafe fn usearch_getBreakIterator(strsrch: &UStringSearch) -> *mut UBreakIt #[inline] pub unsafe fn usearch_getCollator(strsrch: &UStringSearch) -> *mut UCollator { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_getCollator(strsrch: *const UStringSearch) -> *mut UCollator; } usearch_getCollator(::core::mem::transmute(strsrch)) @@ -25518,7 +25518,7 @@ pub unsafe fn usearch_getCollator(strsrch: &UStringSearch) -> *mut UCollator { #[inline] pub unsafe fn usearch_getMatchedLength(strsrch: &UStringSearch) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_getMatchedLength(strsrch: *const UStringSearch) -> i32; } usearch_getMatchedLength(::core::mem::transmute(strsrch)) @@ -25527,7 +25527,7 @@ pub unsafe fn usearch_getMatchedLength(strsrch: &UStringSearch) -> i32 { #[inline] pub unsafe fn usearch_getMatchedStart(strsrch: &UStringSearch) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_getMatchedStart(strsrch: *const UStringSearch) -> i32; } usearch_getMatchedStart(::core::mem::transmute(strsrch)) @@ -25536,7 +25536,7 @@ pub unsafe fn usearch_getMatchedStart(strsrch: &UStringSearch) -> i32 { #[inline] pub unsafe fn usearch_getMatchedText(strsrch: &UStringSearch, result: &mut u16, resultcapacity: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_getMatchedText(strsrch: *const UStringSearch, result: *mut u16, resultcapacity: i32, status: *mut UErrorCode) -> i32; } usearch_getMatchedText(::core::mem::transmute(strsrch), ::core::mem::transmute(result), resultcapacity, ::core::mem::transmute(status)) @@ -25545,7 +25545,7 @@ pub unsafe fn usearch_getMatchedText(strsrch: &UStringSearch, result: &mut u16, #[inline] pub unsafe fn usearch_getOffset(strsrch: &UStringSearch) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_getOffset(strsrch: *const UStringSearch) -> i32; } usearch_getOffset(::core::mem::transmute(strsrch)) @@ -25554,7 +25554,7 @@ pub unsafe fn usearch_getOffset(strsrch: &UStringSearch) -> i32 { #[inline] pub unsafe fn usearch_getPattern(strsrch: &UStringSearch, length: &mut i32) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_getPattern(strsrch: *const UStringSearch, length: *mut i32) -> *mut u16; } usearch_getPattern(::core::mem::transmute(strsrch), ::core::mem::transmute(length)) @@ -25563,7 +25563,7 @@ pub unsafe fn usearch_getPattern(strsrch: &UStringSearch, length: &mut i32) -> * #[inline] pub unsafe fn usearch_getText(strsrch: &UStringSearch, length: &mut i32) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_getText(strsrch: *const UStringSearch, length: *mut i32) -> *mut u16; } usearch_getText(::core::mem::transmute(strsrch), ::core::mem::transmute(length)) @@ -25572,7 +25572,7 @@ pub unsafe fn usearch_getText(strsrch: &UStringSearch, length: &mut i32) -> *mut #[inline] pub unsafe fn usearch_last(strsrch: &mut UStringSearch, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_last(strsrch: *mut UStringSearch, status: *mut UErrorCode) -> i32; } usearch_last(::core::mem::transmute(strsrch), ::core::mem::transmute(status)) @@ -25581,7 +25581,7 @@ pub unsafe fn usearch_last(strsrch: &mut UStringSearch, status: &mut UErrorCode) #[inline] pub unsafe fn usearch_next(strsrch: &mut UStringSearch, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_next(strsrch: *mut UStringSearch, status: *mut UErrorCode) -> i32; } usearch_next(::core::mem::transmute(strsrch), ::core::mem::transmute(status)) @@ -25593,7 +25593,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_open(pattern: *const u16, patternlength: i32, text: *const u16, textlength: i32, locale: ::windows::core::PCSTR, breakiter: *mut UBreakIterator, status: *mut UErrorCode) -> *mut UStringSearch; } usearch_open(::core::mem::transmute(pattern), patternlength, ::core::mem::transmute(text), textlength, locale.into(), ::core::mem::transmute(breakiter), ::core::mem::transmute(status)) @@ -25602,7 +25602,7 @@ where #[inline] pub unsafe fn usearch_openFromCollator(pattern: &u16, patternlength: i32, text: &u16, textlength: i32, collator: &UCollator, breakiter: &mut UBreakIterator, status: &mut UErrorCode) -> *mut UStringSearch { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_openFromCollator(pattern: *const u16, patternlength: i32, text: *const u16, textlength: i32, collator: *const UCollator, breakiter: *mut UBreakIterator, status: *mut UErrorCode) -> *mut UStringSearch; } usearch_openFromCollator(::core::mem::transmute(pattern), patternlength, ::core::mem::transmute(text), textlength, ::core::mem::transmute(collator), ::core::mem::transmute(breakiter), ::core::mem::transmute(status)) @@ -25611,7 +25611,7 @@ pub unsafe fn usearch_openFromCollator(pattern: &u16, patternlength: i32, text: #[inline] pub unsafe fn usearch_preceding(strsrch: &mut UStringSearch, position: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_preceding(strsrch: *mut UStringSearch, position: i32, status: *mut UErrorCode) -> i32; } usearch_preceding(::core::mem::transmute(strsrch), position, ::core::mem::transmute(status)) @@ -25620,7 +25620,7 @@ pub unsafe fn usearch_preceding(strsrch: &mut UStringSearch, position: i32, stat #[inline] pub unsafe fn usearch_previous(strsrch: &mut UStringSearch, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_previous(strsrch: *mut UStringSearch, status: *mut UErrorCode) -> i32; } usearch_previous(::core::mem::transmute(strsrch), ::core::mem::transmute(status)) @@ -25629,7 +25629,7 @@ pub unsafe fn usearch_previous(strsrch: &mut UStringSearch, status: &mut UErrorC #[inline] pub unsafe fn usearch_reset(strsrch: &mut UStringSearch) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_reset(strsrch: *mut UStringSearch); } usearch_reset(::core::mem::transmute(strsrch)) @@ -25638,7 +25638,7 @@ pub unsafe fn usearch_reset(strsrch: &mut UStringSearch) { #[inline] pub unsafe fn usearch_setAttribute(strsrch: &mut UStringSearch, attribute: USearchAttribute, value: USearchAttributeValue, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_setAttribute(strsrch: *mut UStringSearch, attribute: USearchAttribute, value: USearchAttributeValue, status: *mut UErrorCode); } usearch_setAttribute(::core::mem::transmute(strsrch), attribute, value, ::core::mem::transmute(status)) @@ -25647,7 +25647,7 @@ pub unsafe fn usearch_setAttribute(strsrch: &mut UStringSearch, attribute: USear #[inline] pub unsafe fn usearch_setBreakIterator(strsrch: &mut UStringSearch, breakiter: &mut UBreakIterator, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_setBreakIterator(strsrch: *mut UStringSearch, breakiter: *mut UBreakIterator, status: *mut UErrorCode); } usearch_setBreakIterator(::core::mem::transmute(strsrch), ::core::mem::transmute(breakiter), ::core::mem::transmute(status)) @@ -25656,7 +25656,7 @@ pub unsafe fn usearch_setBreakIterator(strsrch: &mut UStringSearch, breakiter: & #[inline] pub unsafe fn usearch_setCollator(strsrch: &mut UStringSearch, collator: &UCollator, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_setCollator(strsrch: *mut UStringSearch, collator: *const UCollator, status: *mut UErrorCode); } usearch_setCollator(::core::mem::transmute(strsrch), ::core::mem::transmute(collator), ::core::mem::transmute(status)) @@ -25665,7 +25665,7 @@ pub unsafe fn usearch_setCollator(strsrch: &mut UStringSearch, collator: &UColla #[inline] pub unsafe fn usearch_setOffset(strsrch: &mut UStringSearch, position: i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_setOffset(strsrch: *mut UStringSearch, position: i32, status: *mut UErrorCode); } usearch_setOffset(::core::mem::transmute(strsrch), position, ::core::mem::transmute(status)) @@ -25674,7 +25674,7 @@ pub unsafe fn usearch_setOffset(strsrch: &mut UStringSearch, position: i32, stat #[inline] pub unsafe fn usearch_setPattern(strsrch: &mut UStringSearch, pattern: &u16, patternlength: i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_setPattern(strsrch: *mut UStringSearch, pattern: *const u16, patternlength: i32, status: *mut UErrorCode); } usearch_setPattern(::core::mem::transmute(strsrch), ::core::mem::transmute(pattern), patternlength, ::core::mem::transmute(status)) @@ -25683,7 +25683,7 @@ pub unsafe fn usearch_setPattern(strsrch: &mut UStringSearch, pattern: &u16, pat #[inline] pub unsafe fn usearch_setText(strsrch: &mut UStringSearch, text: &u16, textlength: i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usearch_setText(strsrch: *mut UStringSearch, text: *const u16, textlength: i32, status: *mut UErrorCode); } usearch_setText(::core::mem::transmute(strsrch), ::core::mem::transmute(text), textlength, ::core::mem::transmute(status)) @@ -25692,7 +25692,7 @@ pub unsafe fn usearch_setText(strsrch: &mut UStringSearch, text: &u16, textlengt #[inline] pub unsafe fn uset_add(set: &mut USet, c: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_add(set: *mut USet, c: i32); } uset_add(::core::mem::transmute(set), c) @@ -25701,7 +25701,7 @@ pub unsafe fn uset_add(set: &mut USet, c: i32) { #[inline] pub unsafe fn uset_addAll(set: &mut USet, additionalset: &USet) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_addAll(set: *mut USet, additionalset: *const USet); } uset_addAll(::core::mem::transmute(set), ::core::mem::transmute(additionalset)) @@ -25710,7 +25710,7 @@ pub unsafe fn uset_addAll(set: &mut USet, additionalset: &USet) { #[inline] pub unsafe fn uset_addAllCodePoints(set: &mut USet, str: &u16, strlen: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_addAllCodePoints(set: *mut USet, str: *const u16, strlen: i32); } uset_addAllCodePoints(::core::mem::transmute(set), ::core::mem::transmute(str), strlen) @@ -25719,7 +25719,7 @@ pub unsafe fn uset_addAllCodePoints(set: &mut USet, str: &u16, strlen: i32) { #[inline] pub unsafe fn uset_addRange(set: &mut USet, start: i32, end: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_addRange(set: *mut USet, start: i32, end: i32); } uset_addRange(::core::mem::transmute(set), start, end) @@ -25728,7 +25728,7 @@ pub unsafe fn uset_addRange(set: &mut USet, start: i32, end: i32) { #[inline] pub unsafe fn uset_addString(set: &mut USet, str: &u16, strlen: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_addString(set: *mut USet, str: *const u16, strlen: i32); } uset_addString(::core::mem::transmute(set), ::core::mem::transmute(str), strlen) @@ -25737,7 +25737,7 @@ pub unsafe fn uset_addString(set: &mut USet, str: &u16, strlen: i32) { #[inline] pub unsafe fn uset_applyIntPropertyValue(set: &mut USet, prop: UProperty, value: i32, ec: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_applyIntPropertyValue(set: *mut USet, prop: UProperty, value: i32, ec: *mut UErrorCode); } uset_applyIntPropertyValue(::core::mem::transmute(set), prop, value, ::core::mem::transmute(ec)) @@ -25746,7 +25746,7 @@ pub unsafe fn uset_applyIntPropertyValue(set: &mut USet, prop: UProperty, value: #[inline] pub unsafe fn uset_applyPattern(set: &mut USet, pattern: &u16, patternlength: i32, options: u32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_applyPattern(set: *mut USet, pattern: *const u16, patternlength: i32, options: u32, status: *mut UErrorCode) -> i32; } uset_applyPattern(::core::mem::transmute(set), ::core::mem::transmute(pattern), patternlength, options, ::core::mem::transmute(status)) @@ -25755,7 +25755,7 @@ pub unsafe fn uset_applyPattern(set: &mut USet, pattern: &u16, patternlength: i3 #[inline] pub unsafe fn uset_applyPropertyAlias(set: &mut USet, prop: &u16, proplength: i32, value: &u16, valuelength: i32, ec: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_applyPropertyAlias(set: *mut USet, prop: *const u16, proplength: i32, value: *const u16, valuelength: i32, ec: *mut UErrorCode); } uset_applyPropertyAlias(::core::mem::transmute(set), ::core::mem::transmute(prop), proplength, ::core::mem::transmute(value), valuelength, ::core::mem::transmute(ec)) @@ -25764,7 +25764,7 @@ pub unsafe fn uset_applyPropertyAlias(set: &mut USet, prop: &u16, proplength: i3 #[inline] pub unsafe fn uset_charAt(set: &USet, charindex: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_charAt(set: *const USet, charindex: i32) -> i32; } uset_charAt(::core::mem::transmute(set), charindex) @@ -25773,7 +25773,7 @@ pub unsafe fn uset_charAt(set: &USet, charindex: i32) -> i32 { #[inline] pub unsafe fn uset_clear(set: &mut USet) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_clear(set: *mut USet); } uset_clear(::core::mem::transmute(set)) @@ -25782,7 +25782,7 @@ pub unsafe fn uset_clear(set: &mut USet) { #[inline] pub unsafe fn uset_clone(set: &USet) -> *mut USet { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_clone(set: *const USet) -> *mut USet; } uset_clone(::core::mem::transmute(set)) @@ -25791,7 +25791,7 @@ pub unsafe fn uset_clone(set: &USet) -> *mut USet { #[inline] pub unsafe fn uset_cloneAsThawed(set: &USet) -> *mut USet { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_cloneAsThawed(set: *const USet) -> *mut USet; } uset_cloneAsThawed(::core::mem::transmute(set)) @@ -25800,7 +25800,7 @@ pub unsafe fn uset_cloneAsThawed(set: &USet) -> *mut USet { #[inline] pub unsafe fn uset_close(set: &mut USet) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_close(set: *mut USet); } uset_close(::core::mem::transmute(set)) @@ -25809,7 +25809,7 @@ pub unsafe fn uset_close(set: &mut USet) { #[inline] pub unsafe fn uset_closeOver(set: &mut USet, attributes: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_closeOver(set: *mut USet, attributes: i32); } uset_closeOver(::core::mem::transmute(set), attributes) @@ -25818,7 +25818,7 @@ pub unsafe fn uset_closeOver(set: &mut USet, attributes: i32) { #[inline] pub unsafe fn uset_compact(set: &mut USet) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_compact(set: *mut USet); } uset_compact(::core::mem::transmute(set)) @@ -25827,7 +25827,7 @@ pub unsafe fn uset_compact(set: &mut USet) { #[inline] pub unsafe fn uset_complement(set: &mut USet) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_complement(set: *mut USet); } uset_complement(::core::mem::transmute(set)) @@ -25836,7 +25836,7 @@ pub unsafe fn uset_complement(set: &mut USet) { #[inline] pub unsafe fn uset_complementAll(set: &mut USet, complement: &USet) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_complementAll(set: *mut USet, complement: *const USet); } uset_complementAll(::core::mem::transmute(set), ::core::mem::transmute(complement)) @@ -25845,7 +25845,7 @@ pub unsafe fn uset_complementAll(set: &mut USet, complement: &USet) { #[inline] pub unsafe fn uset_contains(set: &USet, c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_contains(set: *const USet, c: i32) -> i8; } uset_contains(::core::mem::transmute(set), c) @@ -25854,7 +25854,7 @@ pub unsafe fn uset_contains(set: &USet, c: i32) -> i8 { #[inline] pub unsafe fn uset_containsAll(set1: &USet, set2: &USet) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_containsAll(set1: *const USet, set2: *const USet) -> i8; } uset_containsAll(::core::mem::transmute(set1), ::core::mem::transmute(set2)) @@ -25863,7 +25863,7 @@ pub unsafe fn uset_containsAll(set1: &USet, set2: &USet) -> i8 { #[inline] pub unsafe fn uset_containsAllCodePoints(set: &USet, str: &u16, strlen: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_containsAllCodePoints(set: *const USet, str: *const u16, strlen: i32) -> i8; } uset_containsAllCodePoints(::core::mem::transmute(set), ::core::mem::transmute(str), strlen) @@ -25872,7 +25872,7 @@ pub unsafe fn uset_containsAllCodePoints(set: &USet, str: &u16, strlen: i32) -> #[inline] pub unsafe fn uset_containsNone(set1: &USet, set2: &USet) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_containsNone(set1: *const USet, set2: *const USet) -> i8; } uset_containsNone(::core::mem::transmute(set1), ::core::mem::transmute(set2)) @@ -25881,7 +25881,7 @@ pub unsafe fn uset_containsNone(set1: &USet, set2: &USet) -> i8 { #[inline] pub unsafe fn uset_containsRange(set: &USet, start: i32, end: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_containsRange(set: *const USet, start: i32, end: i32) -> i8; } uset_containsRange(::core::mem::transmute(set), start, end) @@ -25890,7 +25890,7 @@ pub unsafe fn uset_containsRange(set: &USet, start: i32, end: i32) -> i8 { #[inline] pub unsafe fn uset_containsSome(set1: &USet, set2: &USet) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_containsSome(set1: *const USet, set2: *const USet) -> i8; } uset_containsSome(::core::mem::transmute(set1), ::core::mem::transmute(set2)) @@ -25899,7 +25899,7 @@ pub unsafe fn uset_containsSome(set1: &USet, set2: &USet) -> i8 { #[inline] pub unsafe fn uset_containsString(set: &USet, str: &u16, strlen: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_containsString(set: *const USet, str: *const u16, strlen: i32) -> i8; } uset_containsString(::core::mem::transmute(set), ::core::mem::transmute(str), strlen) @@ -25908,7 +25908,7 @@ pub unsafe fn uset_containsString(set: &USet, str: &u16, strlen: i32) -> i8 { #[inline] pub unsafe fn uset_equals(set1: &USet, set2: &USet) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_equals(set1: *const USet, set2: *const USet) -> i8; } uset_equals(::core::mem::transmute(set1), ::core::mem::transmute(set2)) @@ -25917,7 +25917,7 @@ pub unsafe fn uset_equals(set1: &USet, set2: &USet) -> i8 { #[inline] pub unsafe fn uset_freeze(set: &mut USet) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_freeze(set: *mut USet); } uset_freeze(::core::mem::transmute(set)) @@ -25926,7 +25926,7 @@ pub unsafe fn uset_freeze(set: &mut USet) { #[inline] pub unsafe fn uset_getItem(set: &USet, itemindex: i32, start: &mut i32, end: &mut i32, str: &mut u16, strcapacity: i32, ec: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_getItem(set: *const USet, itemindex: i32, start: *mut i32, end: *mut i32, str: *mut u16, strcapacity: i32, ec: *mut UErrorCode) -> i32; } uset_getItem(::core::mem::transmute(set), itemindex, ::core::mem::transmute(start), ::core::mem::transmute(end), ::core::mem::transmute(str), strcapacity, ::core::mem::transmute(ec)) @@ -25935,7 +25935,7 @@ pub unsafe fn uset_getItem(set: &USet, itemindex: i32, start: &mut i32, end: &mu #[inline] pub unsafe fn uset_getItemCount(set: &USet) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_getItemCount(set: *const USet) -> i32; } uset_getItemCount(::core::mem::transmute(set)) @@ -25944,7 +25944,7 @@ pub unsafe fn uset_getItemCount(set: &USet) -> i32 { #[inline] pub unsafe fn uset_getSerializedRange(set: &USerializedSet, rangeindex: i32, pstart: &mut i32, pend: &mut i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_getSerializedRange(set: *const USerializedSet, rangeindex: i32, pstart: *mut i32, pend: *mut i32) -> i8; } uset_getSerializedRange(::core::mem::transmute(set), rangeindex, ::core::mem::transmute(pstart), ::core::mem::transmute(pend)) @@ -25953,7 +25953,7 @@ pub unsafe fn uset_getSerializedRange(set: &USerializedSet, rangeindex: i32, pst #[inline] pub unsafe fn uset_getSerializedRangeCount(set: &USerializedSet) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_getSerializedRangeCount(set: *const USerializedSet) -> i32; } uset_getSerializedRangeCount(::core::mem::transmute(set)) @@ -25962,7 +25962,7 @@ pub unsafe fn uset_getSerializedRangeCount(set: &USerializedSet) -> i32 { #[inline] pub unsafe fn uset_getSerializedSet(fillset: &mut USerializedSet, src: &u16, srclength: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_getSerializedSet(fillset: *mut USerializedSet, src: *const u16, srclength: i32) -> i8; } uset_getSerializedSet(::core::mem::transmute(fillset), ::core::mem::transmute(src), srclength) @@ -25971,7 +25971,7 @@ pub unsafe fn uset_getSerializedSet(fillset: &mut USerializedSet, src: &u16, src #[inline] pub unsafe fn uset_indexOf(set: &USet, c: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_indexOf(set: *const USet, c: i32) -> i32; } uset_indexOf(::core::mem::transmute(set), c) @@ -25980,7 +25980,7 @@ pub unsafe fn uset_indexOf(set: &USet, c: i32) -> i32 { #[inline] pub unsafe fn uset_isEmpty(set: &USet) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_isEmpty(set: *const USet) -> i8; } uset_isEmpty(::core::mem::transmute(set)) @@ -25989,7 +25989,7 @@ pub unsafe fn uset_isEmpty(set: &USet) -> i8 { #[inline] pub unsafe fn uset_isFrozen(set: &USet) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_isFrozen(set: *const USet) -> i8; } uset_isFrozen(::core::mem::transmute(set)) @@ -25998,7 +25998,7 @@ pub unsafe fn uset_isFrozen(set: &USet) -> i8 { #[inline] pub unsafe fn uset_open(start: i32, end: i32) -> *mut USet { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_open(start: i32, end: i32) -> *mut USet; } uset_open(start, end) @@ -26007,7 +26007,7 @@ pub unsafe fn uset_open(start: i32, end: i32) -> *mut USet { #[inline] pub unsafe fn uset_openEmpty() -> *mut USet { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_openEmpty() -> *mut USet; } uset_openEmpty() @@ -26016,7 +26016,7 @@ pub unsafe fn uset_openEmpty() -> *mut USet { #[inline] pub unsafe fn uset_openPattern(pattern: &u16, patternlength: i32, ec: &mut UErrorCode) -> *mut USet { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_openPattern(pattern: *const u16, patternlength: i32, ec: *mut UErrorCode) -> *mut USet; } uset_openPattern(::core::mem::transmute(pattern), patternlength, ::core::mem::transmute(ec)) @@ -26025,7 +26025,7 @@ pub unsafe fn uset_openPattern(pattern: &u16, patternlength: i32, ec: &mut UErro #[inline] pub unsafe fn uset_openPatternOptions(pattern: &u16, patternlength: i32, options: u32, ec: &mut UErrorCode) -> *mut USet { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_openPatternOptions(pattern: *const u16, patternlength: i32, options: u32, ec: *mut UErrorCode) -> *mut USet; } uset_openPatternOptions(::core::mem::transmute(pattern), patternlength, options, ::core::mem::transmute(ec)) @@ -26034,7 +26034,7 @@ pub unsafe fn uset_openPatternOptions(pattern: &u16, patternlength: i32, options #[inline] pub unsafe fn uset_remove(set: &mut USet, c: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_remove(set: *mut USet, c: i32); } uset_remove(::core::mem::transmute(set), c) @@ -26043,7 +26043,7 @@ pub unsafe fn uset_remove(set: &mut USet, c: i32) { #[inline] pub unsafe fn uset_removeAll(set: &mut USet, removeset: &USet) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_removeAll(set: *mut USet, removeset: *const USet); } uset_removeAll(::core::mem::transmute(set), ::core::mem::transmute(removeset)) @@ -26052,7 +26052,7 @@ pub unsafe fn uset_removeAll(set: &mut USet, removeset: &USet) { #[inline] pub unsafe fn uset_removeAllStrings(set: &mut USet) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_removeAllStrings(set: *mut USet); } uset_removeAllStrings(::core::mem::transmute(set)) @@ -26061,7 +26061,7 @@ pub unsafe fn uset_removeAllStrings(set: &mut USet) { #[inline] pub unsafe fn uset_removeRange(set: &mut USet, start: i32, end: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_removeRange(set: *mut USet, start: i32, end: i32); } uset_removeRange(::core::mem::transmute(set), start, end) @@ -26070,7 +26070,7 @@ pub unsafe fn uset_removeRange(set: &mut USet, start: i32, end: i32) { #[inline] pub unsafe fn uset_removeString(set: &mut USet, str: &u16, strlen: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_removeString(set: *mut USet, str: *const u16, strlen: i32); } uset_removeString(::core::mem::transmute(set), ::core::mem::transmute(str), strlen) @@ -26079,7 +26079,7 @@ pub unsafe fn uset_removeString(set: &mut USet, str: &u16, strlen: i32) { #[inline] pub unsafe fn uset_resemblesPattern(pattern: &u16, patternlength: i32, pos: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_resemblesPattern(pattern: *const u16, patternlength: i32, pos: i32) -> i8; } uset_resemblesPattern(::core::mem::transmute(pattern), patternlength, pos) @@ -26088,7 +26088,7 @@ pub unsafe fn uset_resemblesPattern(pattern: &u16, patternlength: i32, pos: i32) #[inline] pub unsafe fn uset_retain(set: &mut USet, start: i32, end: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_retain(set: *mut USet, start: i32, end: i32); } uset_retain(::core::mem::transmute(set), start, end) @@ -26097,7 +26097,7 @@ pub unsafe fn uset_retain(set: &mut USet, start: i32, end: i32) { #[inline] pub unsafe fn uset_retainAll(set: &mut USet, retain: &USet) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_retainAll(set: *mut USet, retain: *const USet); } uset_retainAll(::core::mem::transmute(set), ::core::mem::transmute(retain)) @@ -26106,7 +26106,7 @@ pub unsafe fn uset_retainAll(set: &mut USet, retain: &USet) { #[inline] pub unsafe fn uset_serialize(set: &USet, dest: &mut u16, destcapacity: i32, perrorcode: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_serialize(set: *const USet, dest: *mut u16, destcapacity: i32, perrorcode: *mut UErrorCode) -> i32; } uset_serialize(::core::mem::transmute(set), ::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(perrorcode)) @@ -26115,7 +26115,7 @@ pub unsafe fn uset_serialize(set: &USet, dest: &mut u16, destcapacity: i32, perr #[inline] pub unsafe fn uset_serializedContains(set: &USerializedSet, c: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_serializedContains(set: *const USerializedSet, c: i32) -> i8; } uset_serializedContains(::core::mem::transmute(set), c) @@ -26124,7 +26124,7 @@ pub unsafe fn uset_serializedContains(set: &USerializedSet, c: i32) -> i8 { #[inline] pub unsafe fn uset_set(set: &mut USet, start: i32, end: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_set(set: *mut USet, start: i32, end: i32); } uset_set(::core::mem::transmute(set), start, end) @@ -26133,7 +26133,7 @@ pub unsafe fn uset_set(set: &mut USet, start: i32, end: i32) { #[inline] pub unsafe fn uset_setSerializedToOne(fillset: &mut USerializedSet, c: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_setSerializedToOne(fillset: *mut USerializedSet, c: i32); } uset_setSerializedToOne(::core::mem::transmute(fillset), c) @@ -26142,7 +26142,7 @@ pub unsafe fn uset_setSerializedToOne(fillset: &mut USerializedSet, c: i32) { #[inline] pub unsafe fn uset_size(set: &USet) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_size(set: *const USet) -> i32; } uset_size(::core::mem::transmute(set)) @@ -26151,7 +26151,7 @@ pub unsafe fn uset_size(set: &USet) -> i32 { #[inline] pub unsafe fn uset_span(set: &USet, s: &u16, length: i32, spancondition: USetSpanCondition) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_span(set: *const USet, s: *const u16, length: i32, spancondition: USetSpanCondition) -> i32; } uset_span(::core::mem::transmute(set), ::core::mem::transmute(s), length, spancondition) @@ -26160,7 +26160,7 @@ pub unsafe fn uset_span(set: &USet, s: &u16, length: i32, spancondition: USetSpa #[inline] pub unsafe fn uset_spanBack(set: &USet, s: &u16, length: i32, spancondition: USetSpanCondition) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_spanBack(set: *const USet, s: *const u16, length: i32, spancondition: USetSpanCondition) -> i32; } uset_spanBack(::core::mem::transmute(set), ::core::mem::transmute(s), length, spancondition) @@ -26172,7 +26172,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_spanBackUTF8(set: *const USet, s: ::windows::core::PCSTR, length: i32, spancondition: USetSpanCondition) -> i32; } uset_spanBackUTF8(::core::mem::transmute(set), s.into(), length, spancondition) @@ -26184,7 +26184,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_spanUTF8(set: *const USet, s: ::windows::core::PCSTR, length: i32, spancondition: USetSpanCondition) -> i32; } uset_spanUTF8(::core::mem::transmute(set), s.into(), length, spancondition) @@ -26193,7 +26193,7 @@ where #[inline] pub unsafe fn uset_toPattern(set: &USet, result: &mut u16, resultcapacity: i32, escapeunprintable: i8, ec: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uset_toPattern(set: *const USet, result: *mut u16, resultcapacity: i32, escapeunprintable: i8, ec: *mut UErrorCode) -> i32; } uset_toPattern(::core::mem::transmute(set), ::core::mem::transmute(result), resultcapacity, escapeunprintable, ::core::mem::transmute(ec)) @@ -26202,7 +26202,7 @@ pub unsafe fn uset_toPattern(set: &USet, result: &mut u16, resultcapacity: i32, #[inline] pub unsafe fn uspoof_areConfusable(sc: &USpoofChecker, id1: &u16, length1: i32, id2: &u16, length2: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_areConfusable(sc: *const USpoofChecker, id1: *const u16, length1: i32, id2: *const u16, length2: i32, status: *mut UErrorCode) -> i32; } uspoof_areConfusable(::core::mem::transmute(sc), ::core::mem::transmute(id1), length1, ::core::mem::transmute(id2), length2, ::core::mem::transmute(status)) @@ -26215,7 +26215,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_areConfusableUTF8(sc: *const USpoofChecker, id1: ::windows::core::PCSTR, length1: i32, id2: ::windows::core::PCSTR, length2: i32, status: *mut UErrorCode) -> i32; } uspoof_areConfusableUTF8(::core::mem::transmute(sc), id1.into(), length1, id2.into(), length2, ::core::mem::transmute(status)) @@ -26224,7 +26224,7 @@ where #[inline] pub unsafe fn uspoof_check(sc: &USpoofChecker, id: &u16, length: i32, position: &mut i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_check(sc: *const USpoofChecker, id: *const u16, length: i32, position: *mut i32, status: *mut UErrorCode) -> i32; } uspoof_check(::core::mem::transmute(sc), ::core::mem::transmute(id), length, ::core::mem::transmute(position), ::core::mem::transmute(status)) @@ -26233,7 +26233,7 @@ pub unsafe fn uspoof_check(sc: &USpoofChecker, id: &u16, length: i32, position: #[inline] pub unsafe fn uspoof_check2(sc: &USpoofChecker, id: &u16, length: i32, checkresult: &mut USpoofCheckResult, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_check2(sc: *const USpoofChecker, id: *const u16, length: i32, checkresult: *mut USpoofCheckResult, status: *mut UErrorCode) -> i32; } uspoof_check2(::core::mem::transmute(sc), ::core::mem::transmute(id), length, ::core::mem::transmute(checkresult), ::core::mem::transmute(status)) @@ -26245,7 +26245,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_check2UTF8(sc: *const USpoofChecker, id: ::windows::core::PCSTR, length: i32, checkresult: *mut USpoofCheckResult, status: *mut UErrorCode) -> i32; } uspoof_check2UTF8(::core::mem::transmute(sc), id.into(), length, ::core::mem::transmute(checkresult), ::core::mem::transmute(status)) @@ -26257,7 +26257,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_checkUTF8(sc: *const USpoofChecker, id: ::windows::core::PCSTR, length: i32, position: *mut i32, status: *mut UErrorCode) -> i32; } uspoof_checkUTF8(::core::mem::transmute(sc), id.into(), length, ::core::mem::transmute(position), ::core::mem::transmute(status)) @@ -26266,7 +26266,7 @@ where #[inline] pub unsafe fn uspoof_clone(sc: &USpoofChecker, status: &mut UErrorCode) -> *mut USpoofChecker { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_clone(sc: *const USpoofChecker, status: *mut UErrorCode) -> *mut USpoofChecker; } uspoof_clone(::core::mem::transmute(sc), ::core::mem::transmute(status)) @@ -26275,7 +26275,7 @@ pub unsafe fn uspoof_clone(sc: &USpoofChecker, status: &mut UErrorCode) -> *mut #[inline] pub unsafe fn uspoof_close(sc: &mut USpoofChecker) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_close(sc: *mut USpoofChecker); } uspoof_close(::core::mem::transmute(sc)) @@ -26284,7 +26284,7 @@ pub unsafe fn uspoof_close(sc: &mut USpoofChecker) { #[inline] pub unsafe fn uspoof_closeCheckResult(checkresult: &mut USpoofCheckResult) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_closeCheckResult(checkresult: *mut USpoofCheckResult); } uspoof_closeCheckResult(::core::mem::transmute(checkresult)) @@ -26293,7 +26293,7 @@ pub unsafe fn uspoof_closeCheckResult(checkresult: &mut USpoofCheckResult) { #[inline] pub unsafe fn uspoof_getAllowedChars(sc: &USpoofChecker, status: &mut UErrorCode) -> *mut USet { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_getAllowedChars(sc: *const USpoofChecker, status: *mut UErrorCode) -> *mut USet; } uspoof_getAllowedChars(::core::mem::transmute(sc), ::core::mem::transmute(status)) @@ -26302,7 +26302,7 @@ pub unsafe fn uspoof_getAllowedChars(sc: &USpoofChecker, status: &mut UErrorCode #[inline] pub unsafe fn uspoof_getAllowedLocales(sc: &mut USpoofChecker, status: &mut UErrorCode) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_getAllowedLocales(sc: *mut USpoofChecker, status: *mut UErrorCode) -> ::windows::core::PSTR; } uspoof_getAllowedLocales(::core::mem::transmute(sc), ::core::mem::transmute(status)) @@ -26311,7 +26311,7 @@ pub unsafe fn uspoof_getAllowedLocales(sc: &mut USpoofChecker, status: &mut UErr #[inline] pub unsafe fn uspoof_getCheckResultChecks(checkresult: &USpoofCheckResult, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_getCheckResultChecks(checkresult: *const USpoofCheckResult, status: *mut UErrorCode) -> i32; } uspoof_getCheckResultChecks(::core::mem::transmute(checkresult), ::core::mem::transmute(status)) @@ -26320,7 +26320,7 @@ pub unsafe fn uspoof_getCheckResultChecks(checkresult: &USpoofCheckResult, statu #[inline] pub unsafe fn uspoof_getCheckResultNumerics(checkresult: &USpoofCheckResult, status: &mut UErrorCode) -> *mut USet { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_getCheckResultNumerics(checkresult: *const USpoofCheckResult, status: *mut UErrorCode) -> *mut USet; } uspoof_getCheckResultNumerics(::core::mem::transmute(checkresult), ::core::mem::transmute(status)) @@ -26329,7 +26329,7 @@ pub unsafe fn uspoof_getCheckResultNumerics(checkresult: &USpoofCheckResult, sta #[inline] pub unsafe fn uspoof_getCheckResultRestrictionLevel(checkresult: &USpoofCheckResult, status: &mut UErrorCode) -> URestrictionLevel { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_getCheckResultRestrictionLevel(checkresult: *const USpoofCheckResult, status: *mut UErrorCode) -> URestrictionLevel; } uspoof_getCheckResultRestrictionLevel(::core::mem::transmute(checkresult), ::core::mem::transmute(status)) @@ -26338,7 +26338,7 @@ pub unsafe fn uspoof_getCheckResultRestrictionLevel(checkresult: &USpoofCheckRes #[inline] pub unsafe fn uspoof_getChecks(sc: &USpoofChecker, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_getChecks(sc: *const USpoofChecker, status: *mut UErrorCode) -> i32; } uspoof_getChecks(::core::mem::transmute(sc), ::core::mem::transmute(status)) @@ -26347,7 +26347,7 @@ pub unsafe fn uspoof_getChecks(sc: &USpoofChecker, status: &mut UErrorCode) -> i #[inline] pub unsafe fn uspoof_getInclusionSet(status: &mut UErrorCode) -> *mut USet { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_getInclusionSet(status: *mut UErrorCode) -> *mut USet; } uspoof_getInclusionSet(::core::mem::transmute(status)) @@ -26356,7 +26356,7 @@ pub unsafe fn uspoof_getInclusionSet(status: &mut UErrorCode) -> *mut USet { #[inline] pub unsafe fn uspoof_getRecommendedSet(status: &mut UErrorCode) -> *mut USet { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_getRecommendedSet(status: *mut UErrorCode) -> *mut USet; } uspoof_getRecommendedSet(::core::mem::transmute(status)) @@ -26365,7 +26365,7 @@ pub unsafe fn uspoof_getRecommendedSet(status: &mut UErrorCode) -> *mut USet { #[inline] pub unsafe fn uspoof_getRestrictionLevel(sc: &USpoofChecker) -> URestrictionLevel { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_getRestrictionLevel(sc: *const USpoofChecker) -> URestrictionLevel; } uspoof_getRestrictionLevel(::core::mem::transmute(sc)) @@ -26374,7 +26374,7 @@ pub unsafe fn uspoof_getRestrictionLevel(sc: &USpoofChecker) -> URestrictionLeve #[inline] pub unsafe fn uspoof_getSkeleton(sc: &USpoofChecker, r#type: u32, id: &u16, length: i32, dest: &mut u16, destcapacity: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_getSkeleton(sc: *const USpoofChecker, r#type: u32, id: *const u16, length: i32, dest: *mut u16, destcapacity: i32, status: *mut UErrorCode) -> i32; } uspoof_getSkeleton(::core::mem::transmute(sc), r#type, ::core::mem::transmute(id), length, ::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(status)) @@ -26387,7 +26387,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_getSkeletonUTF8(sc: *const USpoofChecker, r#type: u32, id: ::windows::core::PCSTR, length: i32, dest: ::windows::core::PCSTR, destcapacity: i32, status: *mut UErrorCode) -> i32; } uspoof_getSkeletonUTF8(::core::mem::transmute(sc), r#type, id.into(), length, dest.into(), destcapacity, ::core::mem::transmute(status)) @@ -26396,7 +26396,7 @@ where #[inline] pub unsafe fn uspoof_open(status: &mut UErrorCode) -> *mut USpoofChecker { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_open(status: *mut UErrorCode) -> *mut USpoofChecker; } uspoof_open(::core::mem::transmute(status)) @@ -26405,7 +26405,7 @@ pub unsafe fn uspoof_open(status: &mut UErrorCode) -> *mut USpoofChecker { #[inline] pub unsafe fn uspoof_openCheckResult(status: &mut UErrorCode) -> *mut USpoofCheckResult { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_openCheckResult(status: *mut UErrorCode) -> *mut USpoofCheckResult; } uspoof_openCheckResult(::core::mem::transmute(status)) @@ -26414,7 +26414,7 @@ pub unsafe fn uspoof_openCheckResult(status: &mut UErrorCode) -> *mut USpoofChec #[inline] pub unsafe fn uspoof_openFromSerialized(data: *const ::core::ffi::c_void, length: i32, pactuallength: &mut i32, perrorcode: &mut UErrorCode) -> *mut USpoofChecker { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_openFromSerialized(data: *const ::core::ffi::c_void, length: i32, pactuallength: *mut i32, perrorcode: *mut UErrorCode) -> *mut USpoofChecker; } uspoof_openFromSerialized(::core::mem::transmute(data), length, ::core::mem::transmute(pactuallength), ::core::mem::transmute(perrorcode)) @@ -26427,7 +26427,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_openFromSource(confusables: ::windows::core::PCSTR, confusableslen: i32, confusableswholescript: ::windows::core::PCSTR, confusableswholescriptlen: i32, errtype: *mut i32, pe: *mut UParseError, status: *mut UErrorCode) -> *mut USpoofChecker; } uspoof_openFromSource(confusables.into(), confusableslen, confusableswholescript.into(), confusableswholescriptlen, ::core::mem::transmute(errtype), ::core::mem::transmute(pe), ::core::mem::transmute(status)) @@ -26436,7 +26436,7 @@ where #[inline] pub unsafe fn uspoof_serialize(sc: &mut USpoofChecker, data: *mut ::core::ffi::c_void, capacity: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_serialize(sc: *mut USpoofChecker, data: *mut ::core::ffi::c_void, capacity: i32, status: *mut UErrorCode) -> i32; } uspoof_serialize(::core::mem::transmute(sc), ::core::mem::transmute(data), capacity, ::core::mem::transmute(status)) @@ -26445,7 +26445,7 @@ pub unsafe fn uspoof_serialize(sc: &mut USpoofChecker, data: *mut ::core::ffi::c #[inline] pub unsafe fn uspoof_setAllowedChars(sc: &mut USpoofChecker, chars: &USet, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_setAllowedChars(sc: *mut USpoofChecker, chars: *const USet, status: *mut UErrorCode); } uspoof_setAllowedChars(::core::mem::transmute(sc), ::core::mem::transmute(chars), ::core::mem::transmute(status)) @@ -26457,7 +26457,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_setAllowedLocales(sc: *mut USpoofChecker, localeslist: ::windows::core::PCSTR, status: *mut UErrorCode); } uspoof_setAllowedLocales(::core::mem::transmute(sc), localeslist.into(), ::core::mem::transmute(status)) @@ -26466,7 +26466,7 @@ where #[inline] pub unsafe fn uspoof_setChecks(sc: &mut USpoofChecker, checks: i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_setChecks(sc: *mut USpoofChecker, checks: i32, status: *mut UErrorCode); } uspoof_setChecks(::core::mem::transmute(sc), checks, ::core::mem::transmute(status)) @@ -26475,7 +26475,7 @@ pub unsafe fn uspoof_setChecks(sc: &mut USpoofChecker, checks: i32, status: &mut #[inline] pub unsafe fn uspoof_setRestrictionLevel(sc: &mut USpoofChecker, restrictionlevel: URestrictionLevel) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uspoof_setRestrictionLevel(sc: *mut USpoofChecker, restrictionlevel: URestrictionLevel); } uspoof_setRestrictionLevel(::core::mem::transmute(sc), restrictionlevel) @@ -26484,7 +26484,7 @@ pub unsafe fn uspoof_setRestrictionLevel(sc: &mut USpoofChecker, restrictionleve #[inline] pub unsafe fn usprep_close(profile: &mut UStringPrepProfile) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usprep_close(profile: *mut UStringPrepProfile); } usprep_close(::core::mem::transmute(profile)) @@ -26497,7 +26497,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usprep_open(path: ::windows::core::PCSTR, filename: ::windows::core::PCSTR, status: *mut UErrorCode) -> *mut UStringPrepProfile; } usprep_open(path.into(), filename.into(), ::core::mem::transmute(status)) @@ -26506,7 +26506,7 @@ where #[inline] pub unsafe fn usprep_openByType(r#type: UStringPrepProfileType, status: &mut UErrorCode) -> *mut UStringPrepProfile { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usprep_openByType(r#type: UStringPrepProfileType, status: *mut UErrorCode) -> *mut UStringPrepProfile; } usprep_openByType(r#type, ::core::mem::transmute(status)) @@ -26515,7 +26515,7 @@ pub unsafe fn usprep_openByType(r#type: UStringPrepProfileType, status: &mut UEr #[inline] pub unsafe fn usprep_prepare(prep: &UStringPrepProfile, src: &u16, srclength: i32, dest: &mut u16, destcapacity: i32, options: i32, parseerror: &mut UParseError, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn usprep_prepare(prep: *const UStringPrepProfile, src: *const u16, srclength: i32, dest: *mut u16, destcapacity: i32, options: i32, parseerror: *mut UParseError, status: *mut UErrorCode) -> i32; } usprep_prepare(::core::mem::transmute(prep), ::core::mem::transmute(src), srclength, ::core::mem::transmute(dest), destcapacity, options, ::core::mem::transmute(parseerror), ::core::mem::transmute(status)) @@ -26524,7 +26524,7 @@ pub unsafe fn usprep_prepare(prep: &UStringPrepProfile, src: &u16, srclength: i3 #[inline] pub unsafe fn utext_char32At(ut: &mut UText, nativeindex: i64) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_char32At(ut: *mut UText, nativeindex: i64) -> i32; } utext_char32At(::core::mem::transmute(ut), nativeindex) @@ -26533,7 +26533,7 @@ pub unsafe fn utext_char32At(ut: &mut UText, nativeindex: i64) -> i32 { #[inline] pub unsafe fn utext_clone(dest: &mut UText, src: &UText, deep: i8, readonly: i8, status: &mut UErrorCode) -> *mut UText { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_clone(dest: *mut UText, src: *const UText, deep: i8, readonly: i8, status: *mut UErrorCode) -> *mut UText; } utext_clone(::core::mem::transmute(dest), ::core::mem::transmute(src), deep, readonly, ::core::mem::transmute(status)) @@ -26542,7 +26542,7 @@ pub unsafe fn utext_clone(dest: &mut UText, src: &UText, deep: i8, readonly: i8, #[inline] pub unsafe fn utext_close(ut: &mut UText) -> *mut UText { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_close(ut: *mut UText) -> *mut UText; } utext_close(::core::mem::transmute(ut)) @@ -26551,7 +26551,7 @@ pub unsafe fn utext_close(ut: &mut UText) -> *mut UText { #[inline] pub unsafe fn utext_copy(ut: &mut UText, nativestart: i64, nativelimit: i64, destindex: i64, r#move: i8, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_copy(ut: *mut UText, nativestart: i64, nativelimit: i64, destindex: i64, r#move: i8, status: *mut UErrorCode); } utext_copy(::core::mem::transmute(ut), nativestart, nativelimit, destindex, r#move, ::core::mem::transmute(status)) @@ -26560,7 +26560,7 @@ pub unsafe fn utext_copy(ut: &mut UText, nativestart: i64, nativelimit: i64, des #[inline] pub unsafe fn utext_current32(ut: &mut UText) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_current32(ut: *mut UText) -> i32; } utext_current32(::core::mem::transmute(ut)) @@ -26569,7 +26569,7 @@ pub unsafe fn utext_current32(ut: &mut UText) -> i32 { #[inline] pub unsafe fn utext_equals(a: &UText, b: &UText) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_equals(a: *const UText, b: *const UText) -> i8; } utext_equals(::core::mem::transmute(a), ::core::mem::transmute(b)) @@ -26578,7 +26578,7 @@ pub unsafe fn utext_equals(a: &UText, b: &UText) -> i8 { #[inline] pub unsafe fn utext_extract(ut: &mut UText, nativestart: i64, nativelimit: i64, dest: &mut u16, destcapacity: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_extract(ut: *mut UText, nativestart: i64, nativelimit: i64, dest: *mut u16, destcapacity: i32, status: *mut UErrorCode) -> i32; } utext_extract(::core::mem::transmute(ut), nativestart, nativelimit, ::core::mem::transmute(dest), destcapacity, ::core::mem::transmute(status)) @@ -26587,7 +26587,7 @@ pub unsafe fn utext_extract(ut: &mut UText, nativestart: i64, nativelimit: i64, #[inline] pub unsafe fn utext_freeze(ut: &mut UText) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_freeze(ut: *mut UText); } utext_freeze(::core::mem::transmute(ut)) @@ -26596,7 +26596,7 @@ pub unsafe fn utext_freeze(ut: &mut UText) { #[inline] pub unsafe fn utext_getNativeIndex(ut: &UText) -> i64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_getNativeIndex(ut: *const UText) -> i64; } utext_getNativeIndex(::core::mem::transmute(ut)) @@ -26605,7 +26605,7 @@ pub unsafe fn utext_getNativeIndex(ut: &UText) -> i64 { #[inline] pub unsafe fn utext_getPreviousNativeIndex(ut: &mut UText) -> i64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_getPreviousNativeIndex(ut: *mut UText) -> i64; } utext_getPreviousNativeIndex(::core::mem::transmute(ut)) @@ -26614,7 +26614,7 @@ pub unsafe fn utext_getPreviousNativeIndex(ut: &mut UText) -> i64 { #[inline] pub unsafe fn utext_hasMetaData(ut: &UText) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_hasMetaData(ut: *const UText) -> i8; } utext_hasMetaData(::core::mem::transmute(ut)) @@ -26623,7 +26623,7 @@ pub unsafe fn utext_hasMetaData(ut: &UText) -> i8 { #[inline] pub unsafe fn utext_isLengthExpensive(ut: &UText) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_isLengthExpensive(ut: *const UText) -> i8; } utext_isLengthExpensive(::core::mem::transmute(ut)) @@ -26632,7 +26632,7 @@ pub unsafe fn utext_isLengthExpensive(ut: &UText) -> i8 { #[inline] pub unsafe fn utext_isWritable(ut: &UText) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_isWritable(ut: *const UText) -> i8; } utext_isWritable(::core::mem::transmute(ut)) @@ -26641,7 +26641,7 @@ pub unsafe fn utext_isWritable(ut: &UText) -> i8 { #[inline] pub unsafe fn utext_moveIndex32(ut: &mut UText, delta: i32) -> i8 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_moveIndex32(ut: *mut UText, delta: i32) -> i8; } utext_moveIndex32(::core::mem::transmute(ut), delta) @@ -26650,7 +26650,7 @@ pub unsafe fn utext_moveIndex32(ut: &mut UText, delta: i32) -> i8 { #[inline] pub unsafe fn utext_nativeLength(ut: &mut UText) -> i64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_nativeLength(ut: *mut UText) -> i64; } utext_nativeLength(::core::mem::transmute(ut)) @@ -26659,7 +26659,7 @@ pub unsafe fn utext_nativeLength(ut: &mut UText) -> i64 { #[inline] pub unsafe fn utext_next32(ut: &mut UText) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_next32(ut: *mut UText) -> i32; } utext_next32(::core::mem::transmute(ut)) @@ -26668,7 +26668,7 @@ pub unsafe fn utext_next32(ut: &mut UText) -> i32 { #[inline] pub unsafe fn utext_next32From(ut: &mut UText, nativeindex: i64) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_next32From(ut: *mut UText, nativeindex: i64) -> i32; } utext_next32From(::core::mem::transmute(ut), nativeindex) @@ -26677,7 +26677,7 @@ pub unsafe fn utext_next32From(ut: &mut UText, nativeindex: i64) -> i32 { #[inline] pub unsafe fn utext_openUChars(ut: &mut UText, s: &u16, length: i64, status: &mut UErrorCode) -> *mut UText { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_openUChars(ut: *mut UText, s: *const u16, length: i64, status: *mut UErrorCode) -> *mut UText; } utext_openUChars(::core::mem::transmute(ut), ::core::mem::transmute(s), length, ::core::mem::transmute(status)) @@ -26689,7 +26689,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_openUTF8(ut: *mut UText, s: ::windows::core::PCSTR, length: i64, status: *mut UErrorCode) -> *mut UText; } utext_openUTF8(::core::mem::transmute(ut), s.into(), length, ::core::mem::transmute(status)) @@ -26698,7 +26698,7 @@ where #[inline] pub unsafe fn utext_previous32(ut: &mut UText) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_previous32(ut: *mut UText) -> i32; } utext_previous32(::core::mem::transmute(ut)) @@ -26707,7 +26707,7 @@ pub unsafe fn utext_previous32(ut: &mut UText) -> i32 { #[inline] pub unsafe fn utext_previous32From(ut: &mut UText, nativeindex: i64) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_previous32From(ut: *mut UText, nativeindex: i64) -> i32; } utext_previous32From(::core::mem::transmute(ut), nativeindex) @@ -26716,7 +26716,7 @@ pub unsafe fn utext_previous32From(ut: &mut UText, nativeindex: i64) -> i32 { #[inline] pub unsafe fn utext_replace(ut: &mut UText, nativestart: i64, nativelimit: i64, replacementtext: &u16, replacementlength: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_replace(ut: *mut UText, nativestart: i64, nativelimit: i64, replacementtext: *const u16, replacementlength: i32, status: *mut UErrorCode) -> i32; } utext_replace(::core::mem::transmute(ut), nativestart, nativelimit, ::core::mem::transmute(replacementtext), replacementlength, ::core::mem::transmute(status)) @@ -26725,7 +26725,7 @@ pub unsafe fn utext_replace(ut: &mut UText, nativestart: i64, nativelimit: i64, #[inline] pub unsafe fn utext_setNativeIndex(ut: &mut UText, nativeindex: i64) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_setNativeIndex(ut: *mut UText, nativeindex: i64); } utext_setNativeIndex(::core::mem::transmute(ut), nativeindex) @@ -26734,7 +26734,7 @@ pub unsafe fn utext_setNativeIndex(ut: &mut UText, nativeindex: i64) { #[inline] pub unsafe fn utext_setup(ut: &mut UText, extraspace: i32, status: &mut UErrorCode) -> *mut UText { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utext_setup(ut: *mut UText, extraspace: i32, status: *mut UErrorCode) -> *mut UText; } utext_setup(::core::mem::transmute(ut), extraspace, ::core::mem::transmute(status)) @@ -26743,7 +26743,7 @@ pub unsafe fn utext_setup(ut: &mut UText, extraspace: i32, status: &mut UErrorCo #[inline] pub unsafe fn utf8_appendCharSafeBody(s: &mut u8, i: i32, length: i32, c: i32, piserror: &mut i8) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utf8_appendCharSafeBody(s: *mut u8, i: i32, length: i32, c: i32, piserror: *mut i8) -> i32; } utf8_appendCharSafeBody(::core::mem::transmute(s), i, length, c, ::core::mem::transmute(piserror)) @@ -26752,7 +26752,7 @@ pub unsafe fn utf8_appendCharSafeBody(s: &mut u8, i: i32, length: i32, c: i32, p #[inline] pub unsafe fn utf8_back1SafeBody(s: &u8, start: i32, i: i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utf8_back1SafeBody(s: *const u8, start: i32, i: i32) -> i32; } utf8_back1SafeBody(::core::mem::transmute(s), start, i) @@ -26761,7 +26761,7 @@ pub unsafe fn utf8_back1SafeBody(s: &u8, start: i32, i: i32) -> i32 { #[inline] pub unsafe fn utf8_nextCharSafeBody(s: &u8, pi: &mut i32, length: i32, c: i32, strict: i8) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utf8_nextCharSafeBody(s: *const u8, pi: *mut i32, length: i32, c: i32, strict: i8) -> i32; } utf8_nextCharSafeBody(::core::mem::transmute(s), ::core::mem::transmute(pi), length, c, strict) @@ -26770,7 +26770,7 @@ pub unsafe fn utf8_nextCharSafeBody(s: &u8, pi: &mut i32, length: i32, c: i32, s #[inline] pub unsafe fn utf8_prevCharSafeBody(s: &u8, start: i32, pi: &mut i32, c: i32, strict: i8) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utf8_prevCharSafeBody(s: *const u8, start: i32, pi: *mut i32, c: i32, strict: i8) -> i32; } utf8_prevCharSafeBody(::core::mem::transmute(s), start, ::core::mem::transmute(pi), c, strict) @@ -26779,7 +26779,7 @@ pub unsafe fn utf8_prevCharSafeBody(s: &u8, start: i32, pi: &mut i32, c: i32, st #[inline] pub unsafe fn utmscale_fromInt64(othertime: i64, timescale: UDateTimeScale, status: &mut UErrorCode) -> i64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utmscale_fromInt64(othertime: i64, timescale: UDateTimeScale, status: *mut UErrorCode) -> i64; } utmscale_fromInt64(othertime, timescale, ::core::mem::transmute(status)) @@ -26788,7 +26788,7 @@ pub unsafe fn utmscale_fromInt64(othertime: i64, timescale: UDateTimeScale, stat #[inline] pub unsafe fn utmscale_getTimeScaleValue(timescale: UDateTimeScale, value: UTimeScaleValue, status: &mut UErrorCode) -> i64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utmscale_getTimeScaleValue(timescale: UDateTimeScale, value: UTimeScaleValue, status: *mut UErrorCode) -> i64; } utmscale_getTimeScaleValue(timescale, value, ::core::mem::transmute(status)) @@ -26797,7 +26797,7 @@ pub unsafe fn utmscale_getTimeScaleValue(timescale: UDateTimeScale, value: UTime #[inline] pub unsafe fn utmscale_toInt64(universaltime: i64, timescale: UDateTimeScale, status: &mut UErrorCode) -> i64 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utmscale_toInt64(universaltime: i64, timescale: UDateTimeScale, status: *mut UErrorCode) -> i64; } utmscale_toInt64(universaltime, timescale, ::core::mem::transmute(status)) @@ -26810,7 +26810,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrace_format(outbuf: ::windows::core::PCSTR, capacity: i32, indent: i32, fmt: ::windows::core::PCSTR) -> i32; } utrace_format(outbuf.into(), capacity, indent, fmt.into()) @@ -26819,7 +26819,7 @@ where #[inline] pub unsafe fn utrace_functionName(fnnumber: i32) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrace_functionName(fnnumber: i32) -> ::windows::core::PSTR; } utrace_functionName(fnnumber) @@ -26828,7 +26828,7 @@ pub unsafe fn utrace_functionName(fnnumber: i32) -> ::windows::core::PSTR { #[inline] pub unsafe fn utrace_getFunctions(context: *const *const ::core::ffi::c_void, e: &mut UTraceEntry, x: &mut UTraceExit, d: &mut UTraceData) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrace_getFunctions(context: *const *const ::core::ffi::c_void, e: *mut *mut ::core::ffi::c_void, x: *mut *mut ::core::ffi::c_void, d: *mut *mut ::core::ffi::c_void); } utrace_getFunctions(::core::mem::transmute(context), ::core::mem::transmute(e), ::core::mem::transmute(x), ::core::mem::transmute(d)) @@ -26837,7 +26837,7 @@ pub unsafe fn utrace_getFunctions(context: *const *const ::core::ffi::c_void, e: #[inline] pub unsafe fn utrace_getLevel() -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrace_getLevel() -> i32; } utrace_getLevel() @@ -26846,7 +26846,7 @@ pub unsafe fn utrace_getLevel() -> i32 { #[inline] pub unsafe fn utrace_setFunctions(context: *const ::core::ffi::c_void, e: UTraceEntry, x: UTraceExit, d: UTraceData) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrace_setFunctions(context: *const ::core::ffi::c_void, e: *mut ::core::ffi::c_void, x: *mut ::core::ffi::c_void, d: *mut ::core::ffi::c_void); } utrace_setFunctions(::core::mem::transmute(context), ::core::mem::transmute(e), ::core::mem::transmute(x), ::core::mem::transmute(d)) @@ -26855,7 +26855,7 @@ pub unsafe fn utrace_setFunctions(context: *const ::core::ffi::c_void, e: UTrace #[inline] pub unsafe fn utrace_setLevel(tracelevel: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrace_setLevel(tracelevel: i32); } utrace_setLevel(tracelevel) @@ -26868,7 +26868,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrace_vformat(outbuf: ::windows::core::PCSTR, capacity: i32, indent: i32, fmt: ::windows::core::PCSTR, args: *mut i8) -> i32; } utrace_vformat(outbuf.into(), capacity, indent, fmt.into(), ::core::mem::transmute(args)) @@ -26877,7 +26877,7 @@ where #[inline] pub unsafe fn utrans_clone(trans: *const *const ::core::ffi::c_void, status: &mut UErrorCode) -> *mut *mut ::core::ffi::c_void { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrans_clone(trans: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; } utrans_clone(::core::mem::transmute(trans), ::core::mem::transmute(status)) @@ -26886,7 +26886,7 @@ pub unsafe fn utrans_clone(trans: *const *const ::core::ffi::c_void, status: &mu #[inline] pub unsafe fn utrans_close(trans: *mut *mut ::core::ffi::c_void) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrans_close(trans: *mut *mut ::core::ffi::c_void); } utrans_close(::core::mem::transmute(trans)) @@ -26895,7 +26895,7 @@ pub unsafe fn utrans_close(trans: *mut *mut ::core::ffi::c_void) { #[inline] pub unsafe fn utrans_countAvailableIDs() -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrans_countAvailableIDs() -> i32; } utrans_countAvailableIDs() @@ -26904,7 +26904,7 @@ pub unsafe fn utrans_countAvailableIDs() -> i32 { #[inline] pub unsafe fn utrans_getSourceSet(trans: *const *const ::core::ffi::c_void, ignorefilter: i8, fillin: &mut USet, status: &mut UErrorCode) -> *mut USet { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrans_getSourceSet(trans: *const *const ::core::ffi::c_void, ignorefilter: i8, fillin: *mut USet, status: *mut UErrorCode) -> *mut USet; } utrans_getSourceSet(::core::mem::transmute(trans), ignorefilter, ::core::mem::transmute(fillin), ::core::mem::transmute(status)) @@ -26913,7 +26913,7 @@ pub unsafe fn utrans_getSourceSet(trans: *const *const ::core::ffi::c_void, igno #[inline] pub unsafe fn utrans_getUnicodeID(trans: *const *const ::core::ffi::c_void, resultlength: &mut i32) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrans_getUnicodeID(trans: *const *const ::core::ffi::c_void, resultlength: *mut i32) -> *mut u16; } utrans_getUnicodeID(::core::mem::transmute(trans), ::core::mem::transmute(resultlength)) @@ -26922,7 +26922,7 @@ pub unsafe fn utrans_getUnicodeID(trans: *const *const ::core::ffi::c_void, resu #[inline] pub unsafe fn utrans_openIDs(perrorcode: &mut UErrorCode) -> *mut UEnumeration { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrans_openIDs(perrorcode: *mut UErrorCode) -> *mut UEnumeration; } utrans_openIDs(::core::mem::transmute(perrorcode)) @@ -26931,7 +26931,7 @@ pub unsafe fn utrans_openIDs(perrorcode: &mut UErrorCode) -> *mut UEnumeration { #[inline] pub unsafe fn utrans_openInverse(trans: *const *const ::core::ffi::c_void, status: &mut UErrorCode) -> *mut *mut ::core::ffi::c_void { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrans_openInverse(trans: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; } utrans_openInverse(::core::mem::transmute(trans), ::core::mem::transmute(status)) @@ -26940,7 +26940,7 @@ pub unsafe fn utrans_openInverse(trans: *const *const ::core::ffi::c_void, statu #[inline] pub unsafe fn utrans_openU(id: &u16, idlength: i32, dir: UTransDirection, rules: &u16, ruleslength: i32, parseerror: &mut UParseError, perrorcode: &mut UErrorCode) -> *mut *mut ::core::ffi::c_void { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrans_openU(id: *const u16, idlength: i32, dir: UTransDirection, rules: *const u16, ruleslength: i32, parseerror: *mut UParseError, perrorcode: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void; } utrans_openU(::core::mem::transmute(id), idlength, dir, ::core::mem::transmute(rules), ruleslength, ::core::mem::transmute(parseerror), ::core::mem::transmute(perrorcode)) @@ -26949,7 +26949,7 @@ pub unsafe fn utrans_openU(id: &u16, idlength: i32, dir: UTransDirection, rules: #[inline] pub unsafe fn utrans_register(adoptedtrans: *mut *mut ::core::ffi::c_void, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrans_register(adoptedtrans: *mut *mut ::core::ffi::c_void, status: *mut UErrorCode); } utrans_register(::core::mem::transmute(adoptedtrans), ::core::mem::transmute(status)) @@ -26958,7 +26958,7 @@ pub unsafe fn utrans_register(adoptedtrans: *mut *mut ::core::ffi::c_void, statu #[inline] pub unsafe fn utrans_setFilter(trans: *mut *mut ::core::ffi::c_void, filterpattern: &u16, filterpatternlen: i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrans_setFilter(trans: *mut *mut ::core::ffi::c_void, filterpattern: *const u16, filterpatternlen: i32, status: *mut UErrorCode); } utrans_setFilter(::core::mem::transmute(trans), ::core::mem::transmute(filterpattern), filterpatternlen, ::core::mem::transmute(status)) @@ -26967,7 +26967,7 @@ pub unsafe fn utrans_setFilter(trans: *mut *mut ::core::ffi::c_void, filterpatte #[inline] pub unsafe fn utrans_toRules(trans: *const *const ::core::ffi::c_void, escapeunprintable: i8, result: &mut u16, resultlength: i32, status: &mut UErrorCode) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrans_toRules(trans: *const *const ::core::ffi::c_void, escapeunprintable: i8, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32; } utrans_toRules(::core::mem::transmute(trans), escapeunprintable, ::core::mem::transmute(result), resultlength, ::core::mem::transmute(status)) @@ -26976,7 +26976,7 @@ pub unsafe fn utrans_toRules(trans: *const *const ::core::ffi::c_void, escapeunp #[inline] pub unsafe fn utrans_trans(trans: *const *const ::core::ffi::c_void, rep: *mut *mut ::core::ffi::c_void, repfunc: &UReplaceableCallbacks, start: i32, limit: &mut i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrans_trans(trans: *const *const ::core::ffi::c_void, rep: *mut *mut ::core::ffi::c_void, repfunc: *const UReplaceableCallbacks, start: i32, limit: *mut i32, status: *mut UErrorCode); } utrans_trans(::core::mem::transmute(trans), ::core::mem::transmute(rep), ::core::mem::transmute(repfunc), start, ::core::mem::transmute(limit), ::core::mem::transmute(status)) @@ -26985,7 +26985,7 @@ pub unsafe fn utrans_trans(trans: *const *const ::core::ffi::c_void, rep: *mut * #[inline] pub unsafe fn utrans_transIncremental(trans: *const *const ::core::ffi::c_void, rep: *mut *mut ::core::ffi::c_void, repfunc: &UReplaceableCallbacks, pos: &mut UTransPosition, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrans_transIncremental(trans: *const *const ::core::ffi::c_void, rep: *mut *mut ::core::ffi::c_void, repfunc: *const UReplaceableCallbacks, pos: *mut UTransPosition, status: *mut UErrorCode); } utrans_transIncremental(::core::mem::transmute(trans), ::core::mem::transmute(rep), ::core::mem::transmute(repfunc), ::core::mem::transmute(pos), ::core::mem::transmute(status)) @@ -26994,7 +26994,7 @@ pub unsafe fn utrans_transIncremental(trans: *const *const ::core::ffi::c_void, #[inline] pub unsafe fn utrans_transIncrementalUChars(trans: *const *const ::core::ffi::c_void, text: &mut u16, textlength: &mut i32, textcapacity: i32, pos: &mut UTransPosition, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrans_transIncrementalUChars(trans: *const *const ::core::ffi::c_void, text: *mut u16, textlength: *mut i32, textcapacity: i32, pos: *mut UTransPosition, status: *mut UErrorCode); } utrans_transIncrementalUChars(::core::mem::transmute(trans), ::core::mem::transmute(text), ::core::mem::transmute(textlength), textcapacity, ::core::mem::transmute(pos), ::core::mem::transmute(status)) @@ -27003,7 +27003,7 @@ pub unsafe fn utrans_transIncrementalUChars(trans: *const *const ::core::ffi::c_ #[inline] pub unsafe fn utrans_transUChars(trans: *const *const ::core::ffi::c_void, text: &mut u16, textlength: &mut i32, textcapacity: i32, start: i32, limit: &mut i32, status: &mut UErrorCode) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrans_transUChars(trans: *const *const ::core::ffi::c_void, text: *mut u16, textlength: *mut i32, textcapacity: i32, start: i32, limit: *mut i32, status: *mut UErrorCode); } utrans_transUChars(::core::mem::transmute(trans), ::core::mem::transmute(text), ::core::mem::transmute(textlength), textcapacity, start, ::core::mem::transmute(limit), ::core::mem::transmute(status)) @@ -27012,7 +27012,7 @@ pub unsafe fn utrans_transUChars(trans: *const *const ::core::ffi::c_void, text: #[inline] pub unsafe fn utrans_unregisterID(id: &u16, idlength: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn utrans_unregisterID(id: *const u16, idlength: i32); } utrans_unregisterID(::core::mem::transmute(id), idlength) diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Gdi/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Gdi/mod.rs index d8673a1f27..cde3d0d579 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Gdi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Gdi/mod.rs @@ -1796,7 +1796,7 @@ pub unsafe fn CreateFontIndirectW(lplf: &LOGFONTW) -> HFONT { #[inline] pub unsafe fn CreateFontPackage(puchsrcbuffer: &u8, ulsrcbuffersize: u32, ppuchfontpackagebuffer: &mut *mut u8, pulfontpackagebuffersize: &mut u32, pulbyteswritten: &mut u32, usflag: u16, usttcindex: u16, ussubsetformat: u16, ussubsetlanguage: u16, ussubsetplatform: CREATE_FONT_PACKAGE_SUBSET_PLATFORM, ussubsetencoding: CREATE_FONT_PACKAGE_SUBSET_ENCODING, pussubsetkeeplist: &u16, ussubsetlistcount: u16, lpfnallocate: CFP_ALLOCPROC, lpfnreallocate: CFP_REALLOCPROC, lpfnfree: CFP_FREEPROC, lpvreserved: *mut ::core::ffi::c_void) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn CreateFontPackage(puchsrcbuffer: *const u8, ulsrcbuffersize: u32, ppuchfontpackagebuffer: *mut *mut u8, pulfontpackagebuffersize: *mut u32, pulbyteswritten: *mut u32, usflag: u16, usttcindex: u16, ussubsetformat: u16, ussubsetlanguage: u16, ussubsetplatform: CREATE_FONT_PACKAGE_SUBSET_PLATFORM, ussubsetencoding: CREATE_FONT_PACKAGE_SUBSET_ENCODING, pussubsetkeeplist: *const u16, ussubsetlistcount: u16, lpfnallocate: *mut ::core::ffi::c_void, lpfnreallocate: *mut ::core::ffi::c_void, lpfnfree: *mut ::core::ffi::c_void, lpvreserved: *mut ::core::ffi::c_void) -> u32; } CreateFontPackage( @@ -12944,7 +12944,7 @@ where #[inline] pub unsafe fn MergeFontPackage(puchmergefontbuffer: &u8, ulmergefontbuffersize: u32, puchfontpackagebuffer: &u8, ulfontpackagebuffersize: u32, ppuchdestbuffer: &mut *mut u8, puldestbuffersize: &mut u32, pulbyteswritten: &mut u32, usmode: u16, lpfnallocate: CFP_ALLOCPROC, lpfnreallocate: CFP_REALLOCPROC, lpfnfree: CFP_FREEPROC, lpvreserved: *mut ::core::ffi::c_void) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn MergeFontPackage(puchmergefontbuffer: *const u8, ulmergefontbuffersize: u32, puchfontpackagebuffer: *const u8, ulfontpackagebuffersize: u32, ppuchdestbuffer: *mut *mut u8, puldestbuffersize: *mut u32, pulbyteswritten: *mut u32, usmode: u16, lpfnallocate: *mut ::core::ffi::c_void, lpfnreallocate: *mut ::core::ffi::c_void, lpfnfree: *mut ::core::ffi::c_void, lpvreserved: *mut ::core::ffi::c_void) -> u32; } MergeFontPackage(::core::mem::transmute(puchmergefontbuffer), ulmergefontbuffersize, ::core::mem::transmute(puchfontpackagebuffer), ulfontpackagebuffersize, ::core::mem::transmute(ppuchdestbuffer), ::core::mem::transmute(puldestbuffersize), ::core::mem::transmute(pulbyteswritten), usmode, ::core::mem::transmute(lpfnallocate), ::core::mem::transmute(lpfnreallocate), ::core::mem::transmute(lpfnfree), ::core::mem::transmute(lpvreserved)) diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs index 4b79bd92bb..395f5a613f 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs @@ -628,7 +628,7 @@ where #[inline] pub unsafe fn AppendPrinterNotifyInfoData(pinfodest: &PRINTER_NOTIFY_INFO, pdatasrc: ::core::option::Option<&PRINTER_NOTIFY_INFO_DATA>, fdwflags: u32) -> super::super::Foundation::BOOL { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn AppendPrinterNotifyInfoData(pinfodest: *const PRINTER_NOTIFY_INFO, pdatasrc: *const PRINTER_NOTIFY_INFO_DATA, fdwflags: u32) -> super::super::Foundation::BOOL; } AppendPrinterNotifyInfoData(::core::mem::transmute(pinfodest), ::core::mem::transmute(pdatasrc), fdwflags) @@ -1732,7 +1732,7 @@ where P1: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn CallRouterFindFirstPrinterChangeNotification(hprinterrpc: super::super::Foundation::HANDLE, fdwfilterflags: u32, fdwoptions: u32, hnotify: super::super::Foundation::HANDLE, pprinternotifyoptions: *const PRINTER_NOTIFY_OPTIONS) -> u32; } CallRouterFindFirstPrinterChangeNotification(hprinterrpc.into(), fdwfilterflags, fdwoptions, hnotify.into(), ::core::mem::transmute(pprinternotifyoptions)) @@ -1901,7 +1901,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn CreatePrinterIC(hprinter: super::super::Foundation::HANDLE, pdevmode: *const super::Gdi::DEVMODEW) -> super::super::Foundation::HANDLE; } CreatePrinterIC(hprinter.into(), ::core::mem::transmute(pdevmode)) @@ -4164,7 +4164,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DeletePrinterIC(hprinteric: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; } DeletePrinterIC(hprinteric.into()) @@ -4205,7 +4205,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DevQueryPrint(hprinter: super::super::Foundation::HANDLE, pdevmode: *const super::Gdi::DEVMODEA, presid: *mut u32) -> super::super::Foundation::BOOL; } DevQueryPrint(hprinter.into(), ::core::mem::transmute(pdevmode), ::core::mem::transmute(presid)) @@ -5304,7 +5304,7 @@ where P4: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ExtDeviceMode(hwnd: super::super::Foundation::HWND, hinst: super::super::Foundation::HANDLE, pdevmodeoutput: *mut super::Gdi::DEVMODEA, pdevicename: ::windows::core::PCSTR, pport: ::windows::core::PCSTR, pdevmodeinput: *const super::Gdi::DEVMODEA, pprofile: ::windows::core::PCSTR, fmode: u32) -> i32; } ExtDeviceMode(hwnd.into(), hinst.into(), ::core::mem::transmute(pdevmodeoutput), pdevicename.into(), pport.into(), ::core::mem::transmute(pdevmodeinput), pprofile.into(), fmode) @@ -5942,7 +5942,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn GetJobAttributes(pprintername: ::windows::core::PCWSTR, pdevmode: *const super::Gdi::DEVMODEW, pattributeinfo: *mut ATTRIBUTE_INFO_3) -> super::super::Foundation::BOOL; } GetJobAttributes(pprintername.into(), ::core::mem::transmute(pdevmode), ::core::mem::transmute(pattributeinfo)) @@ -5955,7 +5955,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn GetJobAttributesEx(pprintername: ::windows::core::PCWSTR, pdevmode: *const super::Gdi::DEVMODEW, dwlevel: u32, pattributeinfo: *mut u8, nsize: u32, dwflags: u32) -> super::super::Foundation::BOOL; } GetJobAttributesEx(pprintername.into(), ::core::mem::transmute(pdevmode), dwlevel, ::core::mem::transmute(pattributeinfo.as_ptr()), pattributeinfo.len() as _, dwflags) @@ -16993,7 +16993,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ImpersonatePrinterClient(htoken: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; } ImpersonatePrinterClient(htoken.into()) @@ -22703,7 +22703,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PartialReplyPrinterChangeNotification(hprinter: super::super::Foundation::HANDLE, pdatasrc: *const PRINTER_NOTIFY_INFO_DATA) -> super::super::Foundation::BOOL; } PartialReplyPrinterChangeNotification(hprinter.into(), ::core::mem::transmute(pdatasrc)) @@ -22716,7 +22716,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PlayGdiScriptOnPrinterIC(hprinteric: super::super::Foundation::HANDLE, pin: *const u8, cin: u32, pout: *mut u8, cout: u32, ul: u32) -> super::super::Foundation::BOOL; } PlayGdiScriptOnPrinterIC(hprinteric.into(), ::core::mem::transmute(pin.as_ptr()), pin.len() as _, ::core::mem::transmute(pout.as_ptr()), pout.len() as _, ul) @@ -23185,7 +23185,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ProvidorFindClosePrinterChangeNotification(hprinter: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; } ProvidorFindClosePrinterChangeNotification(hprinter.into()) @@ -23199,7 +23199,7 @@ where P1: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ProvidorFindFirstPrinterChangeNotification(hprinter: super::super::Foundation::HANDLE, fdwflags: u32, fdwoptions: u32, hnotify: super::super::Foundation::HANDLE, pprinternotifyoptions: *const ::core::ffi::c_void, pvreserved1: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; } ProvidorFindFirstPrinterChangeNotification(hprinter.into(), fdwflags, fdwoptions, hnotify.into(), ::core::mem::transmute(pprinternotifyoptions), ::core::mem::transmute(pvreserved1)) @@ -23278,7 +23278,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ReplyPrinterChangeNotification(hprinter: super::super::Foundation::HANDLE, fdwchangeflags: u32, pdwresult: *mut u32, pprinternotifyinfo: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; } ReplyPrinterChangeNotification(hprinter.into(), fdwchangeflags, ::core::mem::transmute(pdwresult), ::core::mem::transmute(pprinternotifyinfo)) @@ -23291,7 +23291,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ReplyPrinterChangeNotificationEx(hnotify: super::super::Foundation::HANDLE, dwcolor: u32, fdwflags: u32, pdwresult: *mut u32, pprinternotifyinfo: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; } ReplyPrinterChangeNotificationEx(hnotify.into(), dwcolor, fdwflags, ::core::mem::transmute(pdwresult), ::core::mem::transmute(pprinternotifyinfo)) @@ -23340,7 +23340,7 @@ where #[inline] pub unsafe fn RevertToPrinterSelf() -> super::super::Foundation::HANDLE { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RevertToPrinterSelf() -> super::super::Foundation::HANDLE; } RevertToPrinterSelf() @@ -23349,7 +23349,7 @@ pub unsafe fn RevertToPrinterSelf() -> super::super::Foundation::HANDLE { #[inline] pub unsafe fn RouterAllocBidiMem(numbytes: usize) -> *mut ::core::ffi::c_void { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterAllocBidiMem(numbytes: usize) -> *mut ::core::ffi::c_void; } RouterAllocBidiMem(numbytes) @@ -23359,7 +23359,7 @@ pub unsafe fn RouterAllocBidiMem(numbytes: usize) -> *mut ::core::ffi::c_void { #[inline] pub unsafe fn RouterAllocBidiResponseContainer(count: u32) -> *mut BIDI_RESPONSE_CONTAINER { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterAllocBidiResponseContainer(count: u32) -> *mut BIDI_RESPONSE_CONTAINER; } RouterAllocBidiResponseContainer(count) @@ -23368,7 +23368,7 @@ pub unsafe fn RouterAllocBidiResponseContainer(count: u32) -> *mut BIDI_RESPONSE #[inline] pub unsafe fn RouterAllocPrinterNotifyInfo(cprinternotifyinfodata: u32) -> *mut PRINTER_NOTIFY_INFO { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterAllocPrinterNotifyInfo(cprinternotifyinfodata: u32) -> *mut PRINTER_NOTIFY_INFO; } RouterAllocPrinterNotifyInfo(cprinternotifyinfodata) @@ -23377,7 +23377,7 @@ pub unsafe fn RouterAllocPrinterNotifyInfo(cprinternotifyinfodata: u32) -> *mut #[inline] pub unsafe fn RouterFreeBidiMem(pmempointer: *const ::core::ffi::c_void) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterFreeBidiMem(pmempointer: *const ::core::ffi::c_void); } RouterFreeBidiMem(::core::mem::transmute(pmempointer)) @@ -23387,7 +23387,7 @@ pub unsafe fn RouterFreeBidiMem(pmempointer: *const ::core::ffi::c_void) { #[inline] pub unsafe fn RouterFreeBidiResponseContainer(pdata: &BIDI_RESPONSE_CONTAINER) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterFreeBidiResponseContainer(pdata: *const BIDI_RESPONSE_CONTAINER) -> u32; } RouterFreeBidiResponseContainer(::core::mem::transmute(pdata)) @@ -23397,7 +23397,7 @@ pub unsafe fn RouterFreeBidiResponseContainer(pdata: &BIDI_RESPONSE_CONTAINER) - #[inline] pub unsafe fn RouterFreePrinterNotifyInfo(pinfo: ::core::option::Option<&PRINTER_NOTIFY_INFO>) -> super::super::Foundation::BOOL { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterFreePrinterNotifyInfo(pinfo: *const PRINTER_NOTIFY_INFO) -> super::super::Foundation::BOOL; } RouterFreePrinterNotifyInfo(::core::mem::transmute(pinfo)) @@ -24065,7 +24065,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn SplIsSessionZero(hprinter: super::super::Foundation::HANDLE, jobid: u32, pissessionzero: *mut super::super::Foundation::BOOL) -> u32; } SplIsSessionZero(hprinter.into(), jobid, ::core::mem::transmute(pissessionzero)) @@ -24078,7 +24078,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn SplPromptUIInUsersSession(hprinter: super::super::Foundation::HANDLE, jobid: u32, puiparams: *const SHOWUIPARAMS, presponse: *mut u32) -> super::super::Foundation::BOOL; } SplPromptUIInUsersSession(hprinter.into(), jobid, ::core::mem::transmute(puiparams), ::core::mem::transmute(presponse)) @@ -24105,7 +24105,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn SpoolerFindClosePrinterChangeNotification(hprinter: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; } SpoolerFindClosePrinterChangeNotification(hprinter.into()) @@ -24118,7 +24118,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn SpoolerFindFirstPrinterChangeNotification(hprinter: super::super::Foundation::HANDLE, fdwfilterflags: u32, fdwoptions: u32, pprinternotifyoptions: *const ::core::ffi::c_void, pvreserved: *const ::core::ffi::c_void, pnotificationconfig: *const ::core::ffi::c_void, phnotify: *mut super::super::Foundation::HANDLE, phevent: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; } SpoolerFindFirstPrinterChangeNotification(hprinter.into(), fdwfilterflags, fdwoptions, ::core::mem::transmute(pprinternotifyoptions), ::core::mem::transmute(pvreserved), ::core::mem::transmute(pnotificationconfig), ::core::mem::transmute(phnotify), ::core::mem::transmute(phevent)) @@ -24131,7 +24131,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn SpoolerFindNextPrinterChangeNotification(hprinter: super::super::Foundation::HANDLE, pfdwchange: *mut u32, pprinternotifyoptions: *const ::core::ffi::c_void, ppprinternotifyinfo: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; } SpoolerFindNextPrinterChangeNotification(hprinter.into(), ::core::mem::transmute(pfdwchange), ::core::mem::transmute(pprinternotifyoptions), ::core::mem::transmute(ppprinternotifyinfo)) @@ -24140,7 +24140,7 @@ where #[inline] pub unsafe fn SpoolerFreePrinterNotifyInfo(pinfo: &PRINTER_NOTIFY_INFO) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn SpoolerFreePrinterNotifyInfo(pinfo: *const PRINTER_NOTIFY_INFO); } SpoolerFreePrinterNotifyInfo(::core::mem::transmute(pinfo)) @@ -24153,7 +24153,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn SpoolerRefreshPrinterChangeNotification(hprinter: super::super::Foundation::HANDLE, dwcolor: u32, poptions: *const PRINTER_NOTIFY_OPTIONS, ppinfo: *mut *mut PRINTER_NOTIFY_INFO) -> super::super::Foundation::BOOL; } SpoolerRefreshPrinterChangeNotification(hprinter.into(), dwcolor, ::core::mem::transmute(poptions), ::core::mem::transmute(ppinfo)) diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/mod.rs index 12cf323e91..3e7bfe136b 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/mod.rs @@ -24,7 +24,7 @@ pub unsafe fn CreateAudioVolumeMeter() -> ::windows::core::Result<::windows::cor #[inline] pub unsafe fn CreateFX(clsid: &::windows::core::GUID, peffect: &mut ::core::option::Option<::windows::core::IUnknown>, pinitdat: ::core::option::Option<&[u8]>) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn CreateFX(clsid: *const ::windows::core::GUID, peffect: *mut *mut ::core::ffi::c_void, pinitdat: *const ::core::ffi::c_void, initdatabytesize: u32) -> ::windows::core::HRESULT; } CreateFX(::core::mem::transmute(clsid), ::core::mem::transmute(peffect), ::core::mem::transmute(pinitdat.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pinitdat.as_deref().map_or(0, |slice| slice.len() as _)).ok() diff --git a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs index 204ecd95e0..94fd064ac9 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs @@ -50991,7 +50991,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Graphics::Direct3D12::ID3D12Device>>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn MFCreateD3D12SynchronizationObject(pdevice: *mut ::core::ffi::c_void, riid: *const ::windows::core::GUID, ppvsyncobject: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } MFCreateD3D12SynchronizationObject(pdevice.into().abi(), ::core::mem::transmute(riid), ::core::mem::transmute(ppvsyncobject)).ok() @@ -62525,7 +62525,7 @@ where #[inline] pub unsafe fn OPMXboxEnableHDCP(hdcptype: OPM_HDCP_TYPE) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn OPMXboxEnableHDCP(hdcptype: OPM_HDCP_TYPE) -> ::windows::core::HRESULT; } OPMXboxEnableHDCP(hdcptype).ok() @@ -62534,7 +62534,7 @@ pub unsafe fn OPMXboxEnableHDCP(hdcptype: OPM_HDCP_TYPE) -> ::windows::core::Res #[inline] pub unsafe fn OPMXboxGetHDCPStatus(phdcpstatus: &mut OPM_HDCP_STATUS) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn OPMXboxGetHDCPStatus(phdcpstatus: *mut OPM_HDCP_STATUS) -> ::windows::core::HRESULT; } OPMXboxGetHDCPStatus(::core::mem::transmute(phdcpstatus)).ok() @@ -62543,7 +62543,7 @@ pub unsafe fn OPMXboxGetHDCPStatus(phdcpstatus: &mut OPM_HDCP_STATUS) -> ::windo #[inline] pub unsafe fn OPMXboxGetHDCPStatusAndType(phdcpstatus: &mut OPM_HDCP_STATUS, phdcptype: &mut OPM_HDCP_TYPE) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn OPMXboxGetHDCPStatusAndType(phdcpstatus: *mut OPM_HDCP_STATUS, phdcptype: *mut OPM_HDCP_TYPE) -> ::windows::core::HRESULT; } OPMXboxGetHDCPStatusAndType(::core::mem::transmute(phdcpstatus), ::core::mem::transmute(phdcptype)).ok() diff --git a/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs index d683b935fd..a322372654 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs @@ -845,7 +845,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<'a, IAVIStream>>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn AVISaveA(szfile: ::windows::core::PCSTR, pclsidhandler: *const ::windows::core::GUID, lpfncallback: *mut ::core::ffi::c_void, nstreams: i32, pfile: *mut ::core::ffi::c_void, lpoptions: *const AVICOMPRESSOPTIONS) -> ::windows::core::HRESULT; } AVISaveA(szfile.into(), ::core::mem::transmute(pclsidhandler), ::core::mem::transmute(lpfncallback), nstreams, pfile.into().abi(), ::core::mem::transmute(lpoptions)).ok() @@ -907,7 +907,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<'a, IAVIStream>>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn AVISaveW(szfile: ::windows::core::PCWSTR, pclsidhandler: *const ::windows::core::GUID, lpfncallback: *mut ::core::ffi::c_void, nstreams: i32, pfile: *mut ::core::ffi::c_void, lpoptions: *const AVICOMPRESSOPTIONS) -> ::windows::core::HRESULT; } AVISaveW(szfile.into(), ::core::mem::transmute(pclsidhandler), ::core::mem::transmute(lpfncallback), nstreams, pfile.into().abi(), ::core::mem::transmute(lpoptions)).ok() @@ -3736,7 +3736,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ICCompress(hic: HIC, dwflags: u32, lpbioutput: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, lpdata: *mut ::core::ffi::c_void, lpbiinput: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, lpbits: *const ::core::ffi::c_void, lpckid: *mut u32, lpdwflags: *mut u32, lframenum: i32, dwframesize: u32, dwquality: u32, lpbiprev: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, lpprev: *const ::core::ffi::c_void) -> u32; } ICCompress(hic.into(), dwflags, ::core::mem::transmute(lpbioutput), ::core::mem::transmute(lpdata), ::core::mem::transmute(lpbiinput), ::core::mem::transmute(lpbits), ::core::mem::transmute(lpckid), ::core::mem::transmute(lpdwflags), lframenum, dwframesize, dwquality, ::core::mem::transmute(lpbiprev), ::core::mem::transmute(lpprev)) @@ -4034,7 +4034,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ICDecompress(hic: HIC, dwflags: u32, lpbiformat: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, lpdata: *const ::core::ffi::c_void, lpbi: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, lpbits: *mut ::core::ffi::c_void) -> u32; } ICDecompress(hic.into(), dwflags, ::core::mem::transmute(lpbiformat), ::core::mem::transmute(lpdata), ::core::mem::transmute(lpbi), ::core::mem::transmute(lpbits)) @@ -4046,7 +4046,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ICDraw(hic: HIC, dwflags: u32, lpformat: *const ::core::ffi::c_void, lpdata: *const ::core::ffi::c_void, cbdata: u32, ltime: i32) -> u32; } ICDraw(hic.into(), dwflags, ::core::mem::transmute(lpformat), ::core::mem::transmute(lpdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpdata.as_deref().map_or(0, |slice| slice.len() as _), ltime) @@ -4062,7 +4062,7 @@ where P3: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ICDrawBegin(hic: HIC, dwflags: u32, hpal: super::super::Graphics::Gdi::HPALETTE, hwnd: super::super::Foundation::HWND, hdc: super::super::Graphics::Gdi::HDC, xdst: i32, ydst: i32, dxdst: i32, dydst: i32, lpbi: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, xsrc: i32, ysrc: i32, dxsrc: i32, dysrc: i32, dwrate: u32, dwscale: u32) -> u32; } ICDrawBegin(hic.into(), dwflags, hpal.into(), hwnd.into(), hdc.into(), xdst, ydst, dxdst, dydst, ::core::mem::transmute(lpbi), xsrc, ysrc, dxsrc, dysrc, dwrate, dwscale) @@ -5851,7 +5851,7 @@ where P2: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn MCIWndCreateA(hwndparent: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, dwstyle: u32, szfile: ::windows::core::PCSTR) -> super::super::Foundation::HWND; } MCIWndCreateA(hwndparent.into(), hinstance.into(), dwstyle, szfile.into()) @@ -5866,7 +5866,7 @@ where P2: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn MCIWndCreateW(hwndparent: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, dwstyle: u32, szfile: ::windows::core::PCWSTR) -> super::super::Foundation::HWND; } MCIWndCreateW(hwndparent.into(), hinstance.into(), dwstyle, szfile.into()) @@ -5876,7 +5876,7 @@ where #[inline] pub unsafe fn MCIWndRegisterClass() -> super::super::Foundation::BOOL { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn MCIWndRegisterClass() -> super::super::Foundation::BOOL; } MCIWndRegisterClass() diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs index 93243893ca..c245b6dcd8 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs @@ -6070,7 +6070,7 @@ where #[inline] pub unsafe fn DhcpAddServer(flags: u32, idinfo: *mut ::core::ffi::c_void, newserver: &mut DHCPDS_SERVER, callbackfn: *mut ::core::ffi::c_void, callbackdata: *mut ::core::ffi::c_void) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpAddServer(flags: u32, idinfo: *mut ::core::ffi::c_void, newserver: *mut DHCPDS_SERVER, callbackfn: *mut ::core::ffi::c_void, callbackdata: *mut ::core::ffi::c_void) -> u32; } DhcpAddServer(flags, ::core::mem::transmute(idinfo), ::core::mem::transmute(newserver), ::core::mem::transmute(callbackfn), ::core::mem::transmute(callbackdata)) @@ -6130,7 +6130,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpAuditLogGetParams(serveripaddress: ::windows::core::PCWSTR, flags: u32, auditlogdir: *mut ::windows::core::PWSTR, diskcheckinterval: *mut u32, maxlogfilessize: *mut u32, minspaceondisk: *mut u32) -> u32; } DhcpAuditLogGetParams(serveripaddress.into(), flags, ::core::mem::transmute(auditlogdir), ::core::mem::transmute(diskcheckinterval), ::core::mem::transmute(maxlogfilessize), ::core::mem::transmute(minspaceondisk)) @@ -6143,7 +6143,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpAuditLogSetParams(serveripaddress: ::windows::core::PCWSTR, flags: u32, auditlogdir: ::windows::core::PCWSTR, diskcheckinterval: u32, maxlogfilessize: u32, minspaceondisk: u32) -> u32; } DhcpAuditLogSetParams(serveripaddress.into(), flags, auditlogdir.into(), diskcheckinterval, maxlogfilessize, minspaceondisk) @@ -6174,7 +6174,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpCreateClass(serveripaddress: ::windows::core::PCWSTR, reservedmustbezero: u32, classinfo: *mut DHCP_CLASS_INFO) -> u32; } DhcpCreateClass(serveripaddress.into(), reservedmustbezero, ::core::mem::transmute(classinfo)) @@ -6250,7 +6250,7 @@ where P2: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpCreateOptionV5(serveripaddress: ::windows::core::PCWSTR, flags: u32, optionid: u32, classname: ::windows::core::PCWSTR, vendorname: ::windows::core::PCWSTR, optioninfo: *mut DHCP_OPTION) -> u32; } DhcpCreateOptionV5(serveripaddress.into(), flags, optionid, classname.into(), vendorname.into(), ::core::mem::transmute(optioninfo)) @@ -6322,7 +6322,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpDeleteClass(serveripaddress: ::windows::core::PCWSTR, reservedmustbezero: u32, classname: ::windows::core::PCWSTR) -> u32; } DhcpDeleteClass(serveripaddress.into(), reservedmustbezero, classname.into()) @@ -6381,7 +6381,7 @@ where #[inline] pub unsafe fn DhcpDeleteServer(flags: u32, idinfo: *mut ::core::ffi::c_void, newserver: &mut DHCPDS_SERVER, callbackfn: *mut ::core::ffi::c_void, callbackdata: *mut ::core::ffi::c_void) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpDeleteServer(flags: u32, idinfo: *mut ::core::ffi::c_void, newserver: *mut DHCPDS_SERVER, callbackfn: *mut ::core::ffi::c_void, callbackdata: *mut ::core::ffi::c_void) -> u32; } DhcpDeleteServer(flags, ::core::mem::transmute(idinfo), ::core::mem::transmute(newserver), ::core::mem::transmute(callbackfn), ::core::mem::transmute(callbackdata)) @@ -6418,7 +6418,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpDeleteSuperScopeV4(serveripaddress: ::windows::core::PCWSTR, superscopename: ::windows::core::PCWSTR) -> u32; } DhcpDeleteSuperScopeV4(serveripaddress.into(), superscopename.into()) @@ -6427,7 +6427,7 @@ where #[inline] pub unsafe fn DhcpDsCleanup() { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpDsCleanup(); } DhcpDsCleanup() @@ -6436,7 +6436,7 @@ pub unsafe fn DhcpDsCleanup() { #[inline] pub unsafe fn DhcpDsInit() -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpDsInit() -> u32; } DhcpDsInit() @@ -6449,7 +6449,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpEnumClasses(serveripaddress: ::windows::core::PCWSTR, reservedmustbezero: u32, resumehandle: *mut u32, preferredmaximum: u32, classinfoarray: *mut *mut DHCP_CLASS_INFO_ARRAY, nread: *mut u32, ntotal: *mut u32) -> u32; } DhcpEnumClasses(serveripaddress.into(), reservedmustbezero, ::core::mem::transmute(resumehandle), preferredmaximum, ::core::mem::transmute(classinfoarray), ::core::mem::transmute(nread), ::core::mem::transmute(ntotal)) @@ -6501,7 +6501,7 @@ where P2: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpEnumOptionValuesV5(serveripaddress: ::windows::core::PCWSTR, flags: u32, classname: ::windows::core::PCWSTR, vendorname: ::windows::core::PCWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO, resumehandle: *mut u32, preferredmaximum: u32, optionvalues: *mut *mut DHCP_OPTION_VALUE_ARRAY, optionsread: *mut u32, optionstotal: *mut u32) -> u32; } DhcpEnumOptionValuesV5(serveripaddress.into(), flags, classname.into(), vendorname.into(), ::core::mem::transmute(scopeinfo), ::core::mem::transmute(resumehandle), preferredmaximum, ::core::mem::transmute(optionvalues), ::core::mem::transmute(optionsread), ::core::mem::transmute(optionstotal)) @@ -6541,7 +6541,7 @@ where P2: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpEnumOptionsV5(serveripaddress: ::windows::core::PCWSTR, flags: u32, classname: ::windows::core::PCWSTR, vendorname: ::windows::core::PCWSTR, resumehandle: *mut u32, preferredmaximum: u32, options: *mut *mut DHCP_OPTION_ARRAY, optionsread: *mut u32, optionstotal: *mut u32) -> u32; } DhcpEnumOptionsV5(serveripaddress.into(), flags, classname.into(), vendorname.into(), ::core::mem::transmute(resumehandle), preferredmaximum, ::core::mem::transmute(options), ::core::mem::transmute(optionsread), ::core::mem::transmute(optionstotal)) @@ -6564,7 +6564,7 @@ where #[inline] pub unsafe fn DhcpEnumServers(flags: u32, idinfo: *mut ::core::ffi::c_void, servers: &mut *mut DHCPDS_SERVERS, callbackfn: *mut ::core::ffi::c_void, callbackdata: *mut ::core::ffi::c_void) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpEnumServers(flags: u32, idinfo: *mut ::core::ffi::c_void, servers: *mut *mut DHCPDS_SERVERS, callbackfn: *mut ::core::ffi::c_void, callbackdata: *mut ::core::ffi::c_void) -> u32; } DhcpEnumServers(flags, ::core::mem::transmute(idinfo), ::core::mem::transmute(servers), ::core::mem::transmute(callbackfn), ::core::mem::transmute(callbackdata)) @@ -6723,7 +6723,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpGetAllOptionValues(serveripaddress: ::windows::core::PCWSTR, flags: u32, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO, values: *mut *mut DHCP_ALL_OPTION_VALUES) -> u32; } DhcpGetAllOptionValues(serveripaddress.into(), flags, ::core::mem::transmute(scopeinfo), ::core::mem::transmute(values)) @@ -6748,7 +6748,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpGetAllOptions(serveripaddress: ::windows::core::PCWSTR, flags: u32, optionstruct: *mut *mut DHCP_ALL_OPTIONS) -> u32; } DhcpGetAllOptions(serveripaddress.into(), flags, ::core::mem::transmute(optionstruct)) @@ -6773,7 +6773,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpGetClassInfo(serveripaddress: ::windows::core::PCWSTR, reservedmustbezero: u32, partialclassinfo: *mut DHCP_CLASS_INFO, filledclassinfo: *mut *mut DHCP_CLASS_INFO) -> u32; } DhcpGetClassInfo(serveripaddress.into(), reservedmustbezero, ::core::mem::transmute(partialclassinfo), ::core::mem::transmute(filledclassinfo)) @@ -6883,7 +6883,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpGetMibInfoV6(serveripaddress: ::windows::core::PCWSTR, mibinfo: *mut *mut DHCP_MIB_INFO_V6) -> u32; } DhcpGetMibInfoV6(serveripaddress.into(), ::core::mem::transmute(mibinfo)) @@ -6909,7 +6909,7 @@ where P2: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpGetOptionInfoV5(serveripaddress: ::windows::core::PCWSTR, flags: u32, optionid: u32, classname: ::windows::core::PCWSTR, vendorname: ::windows::core::PCWSTR, optioninfo: *mut *mut DHCP_OPTION) -> u32; } DhcpGetOptionInfoV5(serveripaddress.into(), flags, optionid, classname.into(), vendorname.into(), ::core::mem::transmute(optioninfo)) @@ -6949,7 +6949,7 @@ where P2: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpGetOptionValueV5(serveripaddress: ::windows::core::PCWSTR, flags: u32, optionid: u32, classname: ::windows::core::PCWSTR, vendorname: ::windows::core::PCWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO, optionvalue: *mut *mut DHCP_OPTION_VALUE) -> u32; } DhcpGetOptionValueV5(serveripaddress.into(), flags, optionid, classname.into(), vendorname.into(), ::core::mem::transmute(scopeinfo), ::core::mem::transmute(optionvalue)) @@ -6963,7 +6963,7 @@ where P2: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpGetOptionValueV6(serveripaddress: ::windows::core::PCWSTR, flags: u32, optionid: u32, classname: ::windows::core::PCWSTR, vendorname: ::windows::core::PCWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO6, optionvalue: *mut *mut DHCP_OPTION_VALUE) -> u32; } DhcpGetOptionValueV6(serveripaddress.into(), flags, optionid, classname.into(), vendorname.into(), ::core::mem::transmute(scopeinfo), ::core::mem::transmute(optionvalue)) @@ -7073,7 +7073,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpGetSuperScopeInfoV4(serveripaddress: ::windows::core::PCWSTR, superscopetable: *mut *mut DHCP_SUPER_SCOPE_TABLE) -> u32; } DhcpGetSuperScopeInfoV4(serveripaddress.into(), ::core::mem::transmute(superscopetable)) @@ -7082,7 +7082,7 @@ where #[inline] pub unsafe fn DhcpGetThreadOptions(pflags: &mut u32, reserved: *mut ::core::ffi::c_void) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpGetThreadOptions(pflags: *mut u32, reserved: *mut ::core::ffi::c_void) -> u32; } DhcpGetThreadOptions(::core::mem::transmute(pflags), ::core::mem::transmute(reserved)) @@ -7168,7 +7168,7 @@ where #[inline] pub unsafe fn DhcpHlprFindV4DhcpProperty(propertyarray: &DHCP_PROPERTY_ARRAY, id: DHCP_PROPERTY_ID, r#type: DHCP_PROPERTY_TYPE) -> *mut DHCP_PROPERTY { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpHlprFindV4DhcpProperty(propertyarray: *const DHCP_PROPERTY_ARRAY, id: DHCP_PROPERTY_ID, r#type: DHCP_PROPERTY_TYPE) -> *mut DHCP_PROPERTY; } DhcpHlprFindV4DhcpProperty(::core::mem::transmute(propertyarray), id, r#type) @@ -7289,7 +7289,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpModifyClass(serveripaddress: ::windows::core::PCWSTR, reservedmustbezero: u32, classinfo: *mut DHCP_CLASS_INFO) -> u32; } DhcpModifyClass(serveripaddress.into(), reservedmustbezero, ::core::mem::transmute(classinfo)) @@ -7350,7 +7350,7 @@ where P2: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpRemoveOptionV5(serveripaddress: ::windows::core::PCWSTR, flags: u32, optionid: u32, classname: ::windows::core::PCWSTR, vendorname: ::windows::core::PCWSTR) -> u32; } DhcpRemoveOptionV5(serveripaddress.into(), flags, optionid, classname.into(), vendorname.into()) @@ -7390,7 +7390,7 @@ where P2: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpRemoveOptionValueV5(serveripaddress: ::windows::core::PCWSTR, flags: u32, optionid: u32, classname: ::windows::core::PCWSTR, vendorname: ::windows::core::PCWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO) -> u32; } DhcpRemoveOptionValueV5(serveripaddress.into(), flags, optionid, classname.into(), vendorname.into(), ::core::mem::transmute(scopeinfo)) @@ -7510,7 +7510,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpServerBackupDatabase(serveripaddress: ::windows::core::PCWSTR, path: ::windows::core::PCWSTR) -> u32; } DhcpServerBackupDatabase(serveripaddress.into(), path.into()) @@ -7574,7 +7574,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpServerQueryAttribute(serveripaddr: ::windows::core::PCWSTR, dwreserved: u32, dhcpattribid: u32, pdhcpattrib: *mut *mut DHCP_ATTRIB) -> u32; } DhcpServerQueryAttribute(serveripaddr.into(), dwreserved, dhcpattribid, ::core::mem::transmute(pdhcpattrib)) @@ -7587,7 +7587,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpServerQueryAttributes(serveripaddr: ::windows::core::PCWSTR, dwreserved: u32, dwattribcount: u32, pdhcpattribs: *mut u32, pdhcpattribarr: *mut *mut DHCP_ATTRIB_ARRAY) -> u32; } DhcpServerQueryAttributes(serveripaddr.into(), dwreserved, dwattribcount, ::core::mem::transmute(pdhcpattribs), ::core::mem::transmute(pdhcpattribarr)) @@ -7599,7 +7599,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpServerQueryDnsRegCredentials(serveripaddress: ::windows::core::PCWSTR, unamesize: u32, uname: ::windows::core::PWSTR, domainsize: u32, domain: ::windows::core::PWSTR) -> u32; } DhcpServerQueryDnsRegCredentials(serveripaddress.into(), uname.len() as _, ::core::mem::transmute(uname.as_ptr()), domain.len() as _, ::core::mem::transmute(domain.as_ptr())) @@ -7611,7 +7611,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpServerRedoAuthorization(serveripaddr: ::windows::core::PCWSTR, dwreserved: u32) -> u32; } DhcpServerRedoAuthorization(serveripaddr.into(), dwreserved) @@ -7624,7 +7624,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpServerRestoreDatabase(serveripaddress: ::windows::core::PCWSTR, path: ::windows::core::PCWSTR) -> u32; } DhcpServerRestoreDatabase(serveripaddress.into(), path.into()) @@ -7690,7 +7690,7 @@ where P3: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpServerSetDnsRegCredentials(serveripaddress: ::windows::core::PCWSTR, uname: ::windows::core::PCWSTR, domain: ::windows::core::PCWSTR, passwd: ::windows::core::PCWSTR) -> u32; } DhcpServerSetDnsRegCredentials(serveripaddress.into(), uname.into(), domain.into(), passwd.into()) @@ -7705,7 +7705,7 @@ where P3: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpServerSetDnsRegCredentialsV5(serveripaddress: ::windows::core::PCWSTR, uname: ::windows::core::PCWSTR, domain: ::windows::core::PCWSTR, passwd: ::windows::core::PCWSTR) -> u32; } DhcpServerSetDnsRegCredentialsV5(serveripaddress.into(), uname.into(), domain.into(), passwd.into()) @@ -7793,7 +7793,7 @@ where P2: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpSetOptionInfoV5(serveripaddress: ::windows::core::PCWSTR, flags: u32, optionid: u32, classname: ::windows::core::PCWSTR, vendorname: ::windows::core::PCWSTR, optioninfo: *mut DHCP_OPTION) -> u32; } DhcpSetOptionInfoV5(serveripaddress.into(), flags, optionid, classname.into(), vendorname.into(), ::core::mem::transmute(optioninfo)) @@ -7833,7 +7833,7 @@ where P2: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpSetOptionValueV5(serveripaddress: ::windows::core::PCWSTR, flags: u32, optionid: u32, classname: ::windows::core::PCWSTR, vendorname: ::windows::core::PCWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO, optionvalue: *mut DHCP_OPTION_DATA) -> u32; } DhcpSetOptionValueV5(serveripaddress.into(), flags, optionid, classname.into(), vendorname.into(), ::core::mem::transmute(scopeinfo), ::core::mem::transmute(optionvalue)) @@ -7873,7 +7873,7 @@ where P2: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpSetOptionValuesV5(serveripaddress: ::windows::core::PCWSTR, flags: u32, classname: ::windows::core::PCWSTR, vendorname: ::windows::core::PCWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO, optionvalues: *mut DHCP_OPTION_VALUE_ARRAY) -> u32; } DhcpSetOptionValuesV5(serveripaddress.into(), flags, classname.into(), vendorname.into(), ::core::mem::transmute(scopeinfo), ::core::mem::transmute(optionvalues)) @@ -7935,7 +7935,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpSetSubnetInfoV6(serveripaddress: ::windows::core::PCWSTR, subnetaddress: DHCP_IPV6_ADDRESS, subnetinfo: *mut DHCP_SUBNET_INFO_V6) -> u32; } DhcpSetSubnetInfoV6(serveripaddress.into(), ::core::mem::transmute(subnetaddress), ::core::mem::transmute(subnetinfo)) @@ -7962,7 +7962,7 @@ where P2: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpSetSuperScopeV4(serveripaddress: ::windows::core::PCWSTR, subnetaddress: u32, superscopename: ::windows::core::PCWSTR, changeexisting: super::super::Foundation::BOOL) -> u32; } DhcpSetSuperScopeV4(serveripaddress.into(), subnetaddress, superscopename.into(), changeexisting.into()) @@ -7971,7 +7971,7 @@ where #[inline] pub unsafe fn DhcpSetThreadOptions(flags: u32, reserved: *mut ::core::ffi::c_void) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DhcpSetThreadOptions(flags: u32, reserved: *mut ::core::ffi::c_void) -> u32; } DhcpSetThreadOptions(flags, ::core::mem::transmute(reserved)) diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dns/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dns/mod.rs index 164409930e..8d27278bae 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dns/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dns/mod.rs @@ -4117,7 +4117,7 @@ pub unsafe fn DnsCancelQuery(pcancelhandle: &DNS_QUERY_CANCEL) -> i32 { #[inline] pub unsafe fn DnsConnectionDeletePolicyEntries(policyentrytag: DNS_CONNECTION_POLICY_TAG) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DnsConnectionDeletePolicyEntries(policyentrytag: DNS_CONNECTION_POLICY_TAG) -> u32; } DnsConnectionDeletePolicyEntries(policyentrytag) @@ -4129,7 +4129,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DnsConnectionDeleteProxyInfo(pwszconnectionname: ::windows::core::PCWSTR, r#type: DNS_CONNECTION_PROXY_TYPE) -> u32; } DnsConnectionDeleteProxyInfo(pwszconnectionname.into(), r#type) @@ -4138,7 +4138,7 @@ where #[inline] pub unsafe fn DnsConnectionFreeNameList(pnamelist: &mut DNS_CONNECTION_NAME_LIST) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DnsConnectionFreeNameList(pnamelist: *mut DNS_CONNECTION_NAME_LIST); } DnsConnectionFreeNameList(::core::mem::transmute(pnamelist)) @@ -4147,7 +4147,7 @@ pub unsafe fn DnsConnectionFreeNameList(pnamelist: &mut DNS_CONNECTION_NAME_LIST #[inline] pub unsafe fn DnsConnectionFreeProxyInfo(pproxyinfo: &mut DNS_CONNECTION_PROXY_INFO) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DnsConnectionFreeProxyInfo(pproxyinfo: *mut DNS_CONNECTION_PROXY_INFO); } DnsConnectionFreeProxyInfo(::core::mem::transmute(pproxyinfo)) @@ -4157,7 +4157,7 @@ pub unsafe fn DnsConnectionFreeProxyInfo(pproxyinfo: &mut DNS_CONNECTION_PROXY_I #[inline] pub unsafe fn DnsConnectionFreeProxyInfoEx(pproxyinfoex: &mut DNS_CONNECTION_PROXY_INFO_EX) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DnsConnectionFreeProxyInfoEx(pproxyinfoex: *mut DNS_CONNECTION_PROXY_INFO_EX); } DnsConnectionFreeProxyInfoEx(::core::mem::transmute(pproxyinfoex)) @@ -4166,7 +4166,7 @@ pub unsafe fn DnsConnectionFreeProxyInfoEx(pproxyinfoex: &mut DNS_CONNECTION_PRO #[inline] pub unsafe fn DnsConnectionFreeProxyList(pproxylist: &mut DNS_CONNECTION_PROXY_LIST) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DnsConnectionFreeProxyList(pproxylist: *mut DNS_CONNECTION_PROXY_LIST); } DnsConnectionFreeProxyList(::core::mem::transmute(pproxylist)) @@ -4175,7 +4175,7 @@ pub unsafe fn DnsConnectionFreeProxyList(pproxylist: &mut DNS_CONNECTION_PROXY_L #[inline] pub unsafe fn DnsConnectionGetNameList(pnamelist: &mut DNS_CONNECTION_NAME_LIST) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DnsConnectionGetNameList(pnamelist: *mut DNS_CONNECTION_NAME_LIST) -> u32; } DnsConnectionGetNameList(::core::mem::transmute(pnamelist)) @@ -4187,7 +4187,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DnsConnectionGetProxyInfo(pwszconnectionname: ::windows::core::PCWSTR, r#type: DNS_CONNECTION_PROXY_TYPE, pproxyinfo: *mut DNS_CONNECTION_PROXY_INFO) -> u32; } DnsConnectionGetProxyInfo(pwszconnectionname.into(), r#type, ::core::mem::transmute(pproxyinfo)) @@ -4200,7 +4200,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DnsConnectionGetProxyInfoForHostUrl(pwszhosturl: ::windows::core::PCWSTR, pselectioncontext: *const u8, dwselectioncontextlength: u32, dwexplicitinterfaceindex: u32, pproxyinfoex: *mut DNS_CONNECTION_PROXY_INFO_EX) -> u32; } DnsConnectionGetProxyInfoForHostUrl(pwszhosturl.into(), ::core::mem::transmute(pselectioncontext.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pselectioncontext.as_deref().map_or(0, |slice| slice.len() as _), dwexplicitinterfaceindex, ::core::mem::transmute(pproxyinfoex)) @@ -4212,7 +4212,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DnsConnectionGetProxyList(pwszconnectionname: ::windows::core::PCWSTR, pproxylist: *mut DNS_CONNECTION_PROXY_LIST) -> u32; } DnsConnectionGetProxyList(pwszconnectionname.into(), ::core::mem::transmute(pproxylist)) @@ -4221,7 +4221,7 @@ where #[inline] pub unsafe fn DnsConnectionSetPolicyEntries(policyentrytag: DNS_CONNECTION_POLICY_TAG, ppolicyentrylist: &DNS_CONNECTION_POLICY_ENTRY_LIST) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DnsConnectionSetPolicyEntries(policyentrytag: DNS_CONNECTION_POLICY_TAG, ppolicyentrylist: *const DNS_CONNECTION_POLICY_ENTRY_LIST) -> u32; } DnsConnectionSetPolicyEntries(policyentrytag, ::core::mem::transmute(ppolicyentrylist)) @@ -4233,7 +4233,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DnsConnectionSetProxyInfo(pwszconnectionname: ::windows::core::PCWSTR, r#type: DNS_CONNECTION_PROXY_TYPE, pproxyinfo: *const DNS_CONNECTION_PROXY_INFO) -> u32; } DnsConnectionSetProxyInfo(pwszconnectionname.into(), r#type, ::core::mem::transmute(pproxyinfo)) @@ -4242,7 +4242,7 @@ where #[inline] pub unsafe fn DnsConnectionUpdateIfIndexTable(pconnectionifindexentries: &DNS_CONNECTION_IFINDEX_LIST) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DnsConnectionUpdateIfIndexTable(pconnectionifindexentries: *const DNS_CONNECTION_IFINDEX_LIST) -> u32; } DnsConnectionUpdateIfIndexTable(::core::mem::transmute(pconnectionifindexentries)) @@ -4313,7 +4313,7 @@ pub unsafe fn DnsFree(pdata: *const ::core::ffi::c_void, freetype: DNS_FREE_TYPE #[inline] pub unsafe fn DnsFreeCustomServers(pcservers: &mut u32, ppservers: &mut *mut DNS_CUSTOM_SERVER) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DnsFreeCustomServers(pcservers: *mut u32, ppservers: *mut *mut DNS_CUSTOM_SERVER); } DnsFreeCustomServers(::core::mem::transmute(pcservers), ::core::mem::transmute(ppservers)) @@ -4332,7 +4332,7 @@ pub unsafe fn DnsFreeProxyName(proxyname: ::windows::core::PCWSTR) { #[inline] pub unsafe fn DnsGetApplicationSettings(pcservers: &mut u32, ppdefaultservers: &mut *mut DNS_CUSTOM_SERVER, psettings: ::core::option::Option<&mut DNS_APPLICATION_SETTINGS>) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DnsGetApplicationSettings(pcservers: *mut u32, ppdefaultservers: *mut *mut DNS_CUSTOM_SERVER, psettings: *mut DNS_APPLICATION_SETTINGS) -> u32; } DnsGetApplicationSettings(::core::mem::transmute(pcservers), ::core::mem::transmute(ppdefaultservers), ::core::mem::transmute(psettings)) @@ -4522,7 +4522,7 @@ pub unsafe fn DnsRecordSetCopyEx(precordset: &DNS_RECORDA, charsetin: DNS_CHARSE #[inline] pub unsafe fn DnsRecordSetDetach(precordlist: &mut DNS_RECORDA) -> *mut DNS_RECORDA { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DnsRecordSetDetach(precordlist: *mut DNS_RECORDA) -> *mut DNS_RECORDA; } DnsRecordSetDetach(::core::mem::transmute(precordlist)) @@ -4681,7 +4681,7 @@ pub unsafe fn DnsServiceResolveCancel(pcancelhandle: &DNS_SERVICE_CANCEL) -> i32 #[inline] pub unsafe fn DnsSetApplicationSettings(pservers: &[DNS_CUSTOM_SERVER], psettings: ::core::option::Option<&DNS_APPLICATION_SETTINGS>) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DnsSetApplicationSettings(cservers: u32, pservers: *const DNS_CUSTOM_SERVER, psettings: *const DNS_APPLICATION_SETTINGS) -> u32; } DnsSetApplicationSettings(pservers.len() as _, ::core::mem::transmute(pservers.as_ptr()), ::core::mem::transmute(psettings)) @@ -4712,7 +4712,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DnsValidateName_A(pszname: ::windows::core::PCSTR, format: DNS_NAME_FORMAT) -> i32; } DnsValidateName_A(pszname.into(), format) @@ -4724,7 +4724,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DnsValidateName_UTF8(pszname: ::windows::core::PCSTR, format: DNS_NAME_FORMAT) -> i32; } DnsValidateName_UTF8(pszname.into(), format) @@ -4736,7 +4736,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DnsValidateName_W(pszname: ::windows::core::PCWSTR, format: DNS_NAME_FORMAT) -> i32; } DnsValidateName_W(pszname.into(), format) diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs index 0d4b62dfab..1865f53afb 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs @@ -1555,7 +1555,7 @@ pub unsafe fn GetNumberOfInterfaces(pdwnumif: &mut u32) -> u32 { #[inline] pub unsafe fn GetOwnerModuleFromPidAndInfo(ulpid: u32, pinfo: &u64, class: TCPIP_OWNER_MODULE_INFO_CLASS, pbuffer: *mut ::core::ffi::c_void, pdwsize: &mut u32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn GetOwnerModuleFromPidAndInfo(ulpid: u32, pinfo: *const u64, class: TCPIP_OWNER_MODULE_INFO_CLASS, pbuffer: *mut ::core::ffi::c_void, pdwsize: *mut u32) -> u32; } GetOwnerModuleFromPidAndInfo(ulpid, ::core::mem::transmute(pinfo), class, ::core::mem::transmute(pbuffer), ::core::mem::transmute(pdwsize)) diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs index b5c84fe9be..18f632fc07 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs @@ -5244,7 +5244,7 @@ pub unsafe fn LogErrorA(dwmessageid: u32, plpwssubstrings: &[::windows::core::PS #[inline] pub unsafe fn LogErrorW(dwmessageid: u32, plpwssubstrings: &[::windows::core::PWSTR], dwerrorcode: u32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn LogErrorW(dwmessageid: u32, cnumberofsubstrings: u32, plpwssubstrings: *const ::windows::core::PWSTR, dwerrorcode: u32); } LogErrorW(dwmessageid, plpwssubstrings.len() as _, ::core::mem::transmute(plpwssubstrings.as_ptr()), dwerrorcode) @@ -5262,7 +5262,7 @@ pub unsafe fn LogEventA(weventtype: u32, dwmessageid: u32, plpwssubstrings: &[:: #[inline] pub unsafe fn LogEventW(weventtype: u32, dwmessageid: u32, plpwssubstrings: &[::windows::core::PWSTR]) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn LogEventW(weventtype: u32, dwmessageid: u32, cnumberofsubstrings: u32, plpwssubstrings: *const ::windows::core::PWSTR); } LogEventW(weventtype, dwmessageid, plpwssubstrings.len() as _, ::core::mem::transmute(plpwssubstrings.as_ptr())) @@ -8302,7 +8302,7 @@ where P2: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn NetAddServiceAccount(servername: ::windows::core::PCWSTR, accountname: ::windows::core::PCWSTR, password: ::windows::core::PCWSTR, flags: u32) -> super::super::Foundation::NTSTATUS; } NetAddServiceAccount(servername.into(), accountname.into(), password.into(), flags).ok() @@ -8477,7 +8477,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn NetEnumerateServiceAccounts(servername: ::windows::core::PCWSTR, flags: u32, accountscount: *mut u32, accounts: *mut *mut *mut u16) -> super::super::Foundation::NTSTATUS; } NetEnumerateServiceAccounts(servername.into(), flags, ::core::mem::transmute(accountscount), ::core::mem::transmute(accounts)).ok() @@ -8736,7 +8736,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn NetIsServiceAccount(servername: ::windows::core::PCWSTR, accountname: ::windows::core::PCWSTR, isservice: *mut super::super::Foundation::BOOL) -> super::super::Foundation::NTSTATUS; } NetIsServiceAccount(servername.into(), accountname.into(), ::core::mem::transmute(isservice)).ok() @@ -9004,7 +9004,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn NetQueryServiceAccount(servername: ::windows::core::PCWSTR, accountname: ::windows::core::PCWSTR, infolevel: u32, buffer: *mut *mut u8) -> super::super::Foundation::NTSTATUS; } NetQueryServiceAccount(servername.into(), accountname.into(), infolevel, ::core::mem::transmute(buffer)).ok() @@ -9057,7 +9057,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn NetRemoveServiceAccount(servername: ::windows::core::PCWSTR, accountname: ::windows::core::PCWSTR, flags: u32) -> super::super::Foundation::NTSTATUS; } NetRemoveServiceAccount(servername.into(), accountname.into(), flags).ok() @@ -10666,7 +10666,7 @@ where P2: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterAssert(pszfailedassertion: ::windows::core::PCSTR, pszfilename: ::windows::core::PCSTR, dwlinenumber: u32, pszmessage: ::windows::core::PCSTR); } RouterAssert(pszfailedassertion.into(), pszfilename.into(), dwlinenumber, pszmessage.into()) @@ -10675,7 +10675,7 @@ where #[inline] pub unsafe fn RouterGetErrorStringA(dwerrorcode: u32, lplpszerrorstring: &mut ::windows::core::PSTR) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterGetErrorStringA(dwerrorcode: u32, lplpszerrorstring: *mut ::windows::core::PSTR) -> u32; } RouterGetErrorStringA(dwerrorcode, ::core::mem::transmute(lplpszerrorstring)) @@ -10684,7 +10684,7 @@ pub unsafe fn RouterGetErrorStringA(dwerrorcode: u32, lplpszerrorstring: &mut :: #[inline] pub unsafe fn RouterGetErrorStringW(dwerrorcode: u32, lplpwszerrorstring: &mut ::windows::core::PWSTR) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterGetErrorStringW(dwerrorcode: u32, lplpwszerrorstring: *mut ::windows::core::PWSTR) -> u32; } RouterGetErrorStringW(dwerrorcode, ::core::mem::transmute(lplpwszerrorstring)) @@ -10697,7 +10697,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterLogDeregisterA(hloghandle: super::super::Foundation::HANDLE); } RouterLogDeregisterA(hloghandle.into()) @@ -10710,7 +10710,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterLogDeregisterW(hloghandle: super::super::Foundation::HANDLE); } RouterLogDeregisterW(hloghandle.into()) @@ -10723,7 +10723,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterLogEventA(hloghandle: super::super::Foundation::HANDLE, dweventtype: u32, dwmessageid: u32, dwsubstringcount: u32, plpszsubstringarray: *const ::windows::core::PSTR, dwerrorcode: u32); } RouterLogEventA(hloghandle.into(), dweventtype, dwmessageid, plpszsubstringarray.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(plpszsubstringarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), dwerrorcode) @@ -10736,7 +10736,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterLogEventDataA(hloghandle: super::super::Foundation::HANDLE, dweventtype: u32, dwmessageid: u32, dwsubstringcount: u32, plpszsubstringarray: *const ::windows::core::PSTR, dwdatabytes: u32, lpdatabytes: *mut u8); } RouterLogEventDataA(hloghandle.into(), dweventtype, dwmessageid, plpszsubstringarray.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(plpszsubstringarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), dwdatabytes, ::core::mem::transmute(lpdatabytes)) @@ -10749,7 +10749,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterLogEventDataW(hloghandle: super::super::Foundation::HANDLE, dweventtype: u32, dwmessageid: u32, dwsubstringcount: u32, plpszsubstringarray: *const ::windows::core::PWSTR, dwdatabytes: u32, lpdatabytes: *mut u8); } RouterLogEventDataW(hloghandle.into(), dweventtype, dwmessageid, plpszsubstringarray.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(plpszsubstringarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), dwdatabytes, ::core::mem::transmute(lpdatabytes)) @@ -10763,7 +10763,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterLogEventExA(hloghandle: super::super::Foundation::HANDLE, dweventtype: u32, dwerrorcode: u32, dwmessageid: u32, ptszformat: ::windows::core::PCSTR); } RouterLogEventExA(hloghandle.into(), dweventtype, dwerrorcode, dwmessageid, ptszformat.into()) @@ -10777,7 +10777,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterLogEventExW(hloghandle: super::super::Foundation::HANDLE, dweventtype: u32, dwerrorcode: u32, dwmessageid: u32, ptszformat: ::windows::core::PCWSTR); } RouterLogEventExW(hloghandle.into(), dweventtype, dwerrorcode, dwmessageid, ptszformat.into()) @@ -10790,7 +10790,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterLogEventStringA(hloghandle: super::super::Foundation::HANDLE, dweventtype: u32, dwmessageid: u32, dwsubstringcount: u32, plpszsubstringarray: *const ::windows::core::PSTR, dwerrorcode: u32, dwerrorindex: u32); } RouterLogEventStringA(hloghandle.into(), dweventtype, dwmessageid, plpszsubstringarray.len() as _, ::core::mem::transmute(plpszsubstringarray.as_ptr()), dwerrorcode, dwerrorindex) @@ -10803,7 +10803,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterLogEventStringW(hloghandle: super::super::Foundation::HANDLE, dweventtype: u32, dwmessageid: u32, dwsubstringcount: u32, plpszsubstringarray: *const ::windows::core::PWSTR, dwerrorcode: u32, dwerrorindex: u32); } RouterLogEventStringW(hloghandle.into(), dweventtype, dwmessageid, plpszsubstringarray.len() as _, ::core::mem::transmute(plpszsubstringarray.as_ptr()), dwerrorcode, dwerrorindex) @@ -10817,7 +10817,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterLogEventValistExA(hloghandle: super::super::Foundation::HANDLE, dweventtype: u32, dwerrorcode: u32, dwmessageid: u32, ptszformat: ::windows::core::PCSTR, arglist: *mut i8); } RouterLogEventValistExA(hloghandle.into(), dweventtype, dwerrorcode, dwmessageid, ptszformat.into(), ::core::mem::transmute(arglist)) @@ -10831,7 +10831,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterLogEventValistExW(hloghandle: super::super::Foundation::HANDLE, dweventtype: u32, dwerrorcode: u32, dwmessageid: u32, ptszformat: ::windows::core::PCWSTR, arglist: *mut i8); } RouterLogEventValistExW(hloghandle.into(), dweventtype, dwerrorcode, dwmessageid, ptszformat.into(), ::core::mem::transmute(arglist)) @@ -10844,7 +10844,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterLogEventW(hloghandle: super::super::Foundation::HANDLE, dweventtype: u32, dwmessageid: u32, dwsubstringcount: u32, plpszsubstringarray: *const ::windows::core::PWSTR, dwerrorcode: u32); } RouterLogEventW(hloghandle.into(), dweventtype, dwmessageid, plpszsubstringarray.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(plpszsubstringarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), dwerrorcode) @@ -10857,7 +10857,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterLogRegisterA(lpszsource: ::windows::core::PCSTR) -> super::super::Foundation::HANDLE; } RouterLogRegisterA(lpszsource.into()) @@ -10870,7 +10870,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RouterLogRegisterW(lpszsource: ::windows::core::PCWSTR) -> super::super::Foundation::HANDLE; } RouterLogRegisterW(lpszsource.into()) @@ -16060,7 +16060,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn TracePrintfA(dwtraceid: u32, lpszformat: ::windows::core::PCSTR) -> u32; } TracePrintfA(dwtraceid, lpszformat.into()) @@ -16072,7 +16072,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn TracePrintfExA(dwtraceid: u32, dwflags: u32, lpszformat: ::windows::core::PCSTR) -> u32; } TracePrintfExA(dwtraceid, dwflags, lpszformat.into()) @@ -16084,7 +16084,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn TracePrintfExW(dwtraceid: u32, dwflags: u32, lpszformat: ::windows::core::PCWSTR) -> u32; } TracePrintfExW(dwtraceid, dwflags, lpszformat.into()) @@ -16096,7 +16096,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn TracePrintfW(dwtraceid: u32, lpszformat: ::windows::core::PCWSTR) -> u32; } TracePrintfW(dwtraceid, lpszformat.into()) diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetShell/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetShell/mod.rs index f0c57599cf..9ddeb763f8 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetShell/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetShell/mod.rs @@ -555,7 +555,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PrintError(hmodule: super::super::Foundation::HANDLE, dwerrid: u32) -> u32; } PrintError(hmodule.into(), dwerrid) @@ -567,7 +567,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PrintMessage(pwszformat: ::windows::core::PCWSTR) -> u32; } PrintMessage(pwszformat.into()) @@ -580,7 +580,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PrintMessageFromModule(hmodule: super::super::Foundation::HANDLE, dwmsgid: u32) -> u32; } PrintMessageFromModule(hmodule.into(), dwmsgid) diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Rras/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Rras/mod.rs index ff5ea4ea94..9341228498 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Rras/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Rras/mod.rs @@ -2867,7 +2867,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn MgmAddGroupMembershipEntry(hprotocol: super::super::Foundation::HANDLE, dwsourceaddr: u32, dwsourcemask: u32, dwgroupaddr: u32, dwgroupmask: u32, dwifindex: u32, dwifnexthopipaddr: u32, dwflags: u32) -> u32; } MgmAddGroupMembershipEntry(hprotocol.into(), dwsourceaddr, dwsourcemask, dwgroupaddr, dwgroupmask, dwifindex, dwifnexthopipaddr, dwflags) @@ -2880,7 +2880,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn MgmDeRegisterMProtocol(hprotocol: super::super::Foundation::HANDLE) -> u32; } MgmDeRegisterMProtocol(hprotocol.into()) @@ -2893,7 +2893,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn MgmDeleteGroupMembershipEntry(hprotocol: super::super::Foundation::HANDLE, dwsourceaddr: u32, dwsourcemask: u32, dwgroupaddr: u32, dwgroupmask: u32, dwifindex: u32, dwifnexthopipaddr: u32, dwflags: u32) -> u32; } MgmDeleteGroupMembershipEntry(hprotocol.into(), dwsourceaddr, dwsourcemask, dwgroupaddr, dwgroupmask, dwifindex, dwifnexthopipaddr, dwflags) @@ -2902,7 +2902,7 @@ where #[inline] pub unsafe fn MgmGetFirstMfe(pdwbuffersize: &mut u32, pbbuffer: &mut u8, pdwnumentries: &mut u32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn MgmGetFirstMfe(pdwbuffersize: *mut u32, pbbuffer: *mut u8, pdwnumentries: *mut u32) -> u32; } MgmGetFirstMfe(::core::mem::transmute(pdwbuffersize), ::core::mem::transmute(pbbuffer), ::core::mem::transmute(pdwnumentries)) @@ -2911,7 +2911,7 @@ pub unsafe fn MgmGetFirstMfe(pdwbuffersize: &mut u32, pbbuffer: &mut u8, pdwnume #[inline] pub unsafe fn MgmGetFirstMfeStats(pdwbuffersize: &mut u32, pbbuffer: &mut u8, pdwnumentries: &mut u32, dwflags: u32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn MgmGetFirstMfeStats(pdwbuffersize: *mut u32, pbbuffer: *mut u8, pdwnumentries: *mut u32, dwflags: u32) -> u32; } MgmGetFirstMfeStats(::core::mem::transmute(pdwbuffersize), ::core::mem::transmute(pbbuffer), ::core::mem::transmute(pdwnumentries), dwflags) @@ -2921,7 +2921,7 @@ pub unsafe fn MgmGetFirstMfeStats(pdwbuffersize: &mut u32, pbbuffer: &mut u8, pd #[inline] pub unsafe fn MgmGetMfe(pimm: &mut super::IpHelper::MIB_IPMCAST_MFE, pdwbuffersize: &mut u32, pbbuffer: &mut u8) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn MgmGetMfe(pimm: *mut super::IpHelper::MIB_IPMCAST_MFE, pdwbuffersize: *mut u32, pbbuffer: *mut u8) -> u32; } MgmGetMfe(::core::mem::transmute(pimm), ::core::mem::transmute(pdwbuffersize), ::core::mem::transmute(pbbuffer)) @@ -2931,7 +2931,7 @@ pub unsafe fn MgmGetMfe(pimm: &mut super::IpHelper::MIB_IPMCAST_MFE, pdwbuffersi #[inline] pub unsafe fn MgmGetMfeStats(pimm: &mut super::IpHelper::MIB_IPMCAST_MFE, pdwbuffersize: &mut u32, pbbuffer: &mut u8, dwflags: u32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn MgmGetMfeStats(pimm: *mut super::IpHelper::MIB_IPMCAST_MFE, pdwbuffersize: *mut u32, pbbuffer: *mut u8, dwflags: u32) -> u32; } MgmGetMfeStats(::core::mem::transmute(pimm), ::core::mem::transmute(pdwbuffersize), ::core::mem::transmute(pbbuffer), dwflags) @@ -2941,7 +2941,7 @@ pub unsafe fn MgmGetMfeStats(pimm: &mut super::IpHelper::MIB_IPMCAST_MFE, pdwbuf #[inline] pub unsafe fn MgmGetNextMfe(pimmstart: &mut super::IpHelper::MIB_IPMCAST_MFE, pdwbuffersize: &mut u32, pbbuffer: &mut u8, pdwnumentries: &mut u32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn MgmGetNextMfe(pimmstart: *mut super::IpHelper::MIB_IPMCAST_MFE, pdwbuffersize: *mut u32, pbbuffer: *mut u8, pdwnumentries: *mut u32) -> u32; } MgmGetNextMfe(::core::mem::transmute(pimmstart), ::core::mem::transmute(pdwbuffersize), ::core::mem::transmute(pbbuffer), ::core::mem::transmute(pdwnumentries)) @@ -2951,7 +2951,7 @@ pub unsafe fn MgmGetNextMfe(pimmstart: &mut super::IpHelper::MIB_IPMCAST_MFE, pd #[inline] pub unsafe fn MgmGetNextMfeStats(pimmstart: &mut super::IpHelper::MIB_IPMCAST_MFE, pdwbuffersize: &mut u32, pbbuffer: &mut u8, pdwnumentries: &mut u32, dwflags: u32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn MgmGetNextMfeStats(pimmstart: *mut super::IpHelper::MIB_IPMCAST_MFE, pdwbuffersize: *mut u32, pbbuffer: *mut u8, pdwnumentries: *mut u32, dwflags: u32) -> u32; } MgmGetNextMfeStats(::core::mem::transmute(pimmstart), ::core::mem::transmute(pdwbuffersize), ::core::mem::transmute(pbbuffer), ::core::mem::transmute(pdwnumentries), dwflags) @@ -2960,7 +2960,7 @@ pub unsafe fn MgmGetNextMfeStats(pimmstart: &mut super::IpHelper::MIB_IPMCAST_MF #[inline] pub unsafe fn MgmGetProtocolOnInterface(dwifindex: u32, dwifnexthopaddr: u32, pdwifprotocolid: &mut u32, pdwifcomponentid: &mut u32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn MgmGetProtocolOnInterface(dwifindex: u32, dwifnexthopaddr: u32, pdwifprotocolid: *mut u32, pdwifcomponentid: *mut u32) -> u32; } MgmGetProtocolOnInterface(dwifindex, dwifnexthopaddr, ::core::mem::transmute(pdwifprotocolid), ::core::mem::transmute(pdwifcomponentid)) @@ -2973,7 +2973,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn MgmGroupEnumerationEnd(henum: super::super::Foundation::HANDLE) -> u32; } MgmGroupEnumerationEnd(henum.into()) @@ -2986,7 +2986,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn MgmGroupEnumerationGetNext(henum: super::super::Foundation::HANDLE, pdwbuffersize: *mut u32, pbbuffer: *mut u8, pdwnumentries: *mut u32) -> u32; } MgmGroupEnumerationGetNext(henum.into(), ::core::mem::transmute(pdwbuffersize), ::core::mem::transmute(pbbuffer), ::core::mem::transmute(pdwnumentries)) @@ -2999,7 +2999,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn MgmGroupEnumerationStart(hprotocol: super::super::Foundation::HANDLE, metenumtype: MGM_ENUM_TYPES, phenumhandle: *mut super::super::Foundation::HANDLE) -> u32; } MgmGroupEnumerationStart(hprotocol.into(), metenumtype, ::core::mem::transmute(phenumhandle)) @@ -3009,7 +3009,7 @@ where #[inline] pub unsafe fn MgmRegisterMProtocol(prpiinfo: &mut ROUTING_PROTOCOL_CONFIG, dwprotocolid: u32, dwcomponentid: u32, phprotocol: &mut super::super::Foundation::HANDLE) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn MgmRegisterMProtocol(prpiinfo: *mut ROUTING_PROTOCOL_CONFIG, dwprotocolid: u32, dwcomponentid: u32, phprotocol: *mut super::super::Foundation::HANDLE) -> u32; } MgmRegisterMProtocol(::core::mem::transmute(prpiinfo), dwprotocolid, dwcomponentid, ::core::mem::transmute(phprotocol)) @@ -3022,7 +3022,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn MgmReleaseInterfaceOwnership(hprotocol: super::super::Foundation::HANDLE, dwifindex: u32, dwifnexthopaddr: u32) -> u32; } MgmReleaseInterfaceOwnership(hprotocol.into(), dwifindex, dwifnexthopaddr) @@ -3035,7 +3035,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn MgmTakeInterfaceOwnership(hprotocol: super::super::Foundation::HANDLE, dwifindex: u32, dwifnexthopaddr: u32) -> u32; } MgmTakeInterfaceOwnership(hprotocol.into(), dwifindex, dwifnexthopaddr) @@ -11280,7 +11280,7 @@ where #[inline] pub unsafe fn RtmConvertIpv6AddressAndLengthToNetAddress(pnetaddress: &mut RTM_NET_ADDRESS, address: super::super::Networking::WinSock::IN6_ADDR, dwlength: u32, dwaddresssize: u32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RtmConvertIpv6AddressAndLengthToNetAddress(pnetaddress: *mut RTM_NET_ADDRESS, address: super::super::Networking::WinSock::IN6_ADDR, dwlength: u32, dwaddresssize: u32) -> u32; } RtmConvertIpv6AddressAndLengthToNetAddress(::core::mem::transmute(pnetaddress), ::core::mem::transmute(address), dwlength, dwaddresssize) @@ -11290,7 +11290,7 @@ pub unsafe fn RtmConvertIpv6AddressAndLengthToNetAddress(pnetaddress: &mut RTM_N #[inline] pub unsafe fn RtmConvertNetAddressToIpv6AddressAndLength(pnetaddress: &mut RTM_NET_ADDRESS, paddress: &mut super::super::Networking::WinSock::IN6_ADDR, plength: &mut u32, dwaddresssize: u32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RtmConvertNetAddressToIpv6AddressAndLength(pnetaddress: *mut RTM_NET_ADDRESS, paddress: *mut super::super::Networking::WinSock::IN6_ADDR, plength: *mut u32, dwaddresssize: u32) -> u32; } RtmConvertNetAddressToIpv6AddressAndLength(::core::mem::transmute(pnetaddress), ::core::mem::transmute(paddress), ::core::mem::transmute(plength), dwaddresssize) diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Snmp/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Snmp/mod.rs index 390c4c928b..05f6280170 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Snmp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Snmp/mod.rs @@ -1300,7 +1300,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn SnmpUtilDbgPrint(nloglevel: SNMP_LOG, szformat: ::windows::core::PCSTR); } SnmpUtilDbgPrint(nloglevel, szformat.into()) diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WNet/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WNet/mod.rs index 14f9ae4f39..595d1bb6b6 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WNet/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WNet/mod.rs @@ -2068,7 +2068,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WNetSetLastErrorA(err: u32, lperror: ::windows::core::PCSTR, lpproviders: ::windows::core::PCSTR); } WNetSetLastErrorA(err, lperror.into(), lpproviders.into()) @@ -2081,7 +2081,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WNetSetLastErrorW(err: u32, lperror: ::windows::core::PCWSTR, lpproviders: ::windows::core::PCWSTR); } WNetSetLastErrorW(err, lperror.into(), lpproviders.into()) diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs index 064eca683a..bcd3fddf67 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs @@ -6748,7 +6748,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn NetworkIsolationDiagnoseConnectFailureAndGetInfo(wszservername: ::windows::core::PCWSTR, netisoerror: *mut NETISO_ERROR_TYPE) -> u32; } NetworkIsolationDiagnoseConnectFailureAndGetInfo(wszservername.into(), ::core::mem::transmute(netisoerror)) @@ -6758,7 +6758,7 @@ where #[inline] pub unsafe fn NetworkIsolationEnumAppContainers(flags: u32, pdwnumpublicappcs: &mut u32, pppublicappcs: &mut *mut INET_FIREWALL_APP_CONTAINER) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn NetworkIsolationEnumAppContainers(flags: u32, pdwnumpublicappcs: *mut u32, pppublicappcs: *mut *mut INET_FIREWALL_APP_CONTAINER) -> u32; } NetworkIsolationEnumAppContainers(flags, ::core::mem::transmute(pdwnumpublicappcs), ::core::mem::transmute(pppublicappcs)) @@ -6768,7 +6768,7 @@ pub unsafe fn NetworkIsolationEnumAppContainers(flags: u32, pdwnumpublicappcs: & #[inline] pub unsafe fn NetworkIsolationFreeAppContainers(ppublicappcs: &INET_FIREWALL_APP_CONTAINER) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn NetworkIsolationFreeAppContainers(ppublicappcs: *const INET_FIREWALL_APP_CONTAINER) -> u32; } NetworkIsolationFreeAppContainers(::core::mem::transmute(ppublicappcs)) @@ -6778,7 +6778,7 @@ pub unsafe fn NetworkIsolationFreeAppContainers(ppublicappcs: &INET_FIREWALL_APP #[inline] pub unsafe fn NetworkIsolationGetAppContainerConfig(pdwnumpublicappcs: &mut u32, appcontainersids: &mut *mut super::super::Security::SID_AND_ATTRIBUTES) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn NetworkIsolationGetAppContainerConfig(pdwnumpublicappcs: *mut u32, appcontainersids: *mut *mut super::super::Security::SID_AND_ATTRIBUTES) -> u32; } NetworkIsolationGetAppContainerConfig(::core::mem::transmute(pdwnumpublicappcs), ::core::mem::transmute(appcontainersids)) @@ -6788,7 +6788,7 @@ pub unsafe fn NetworkIsolationGetAppContainerConfig(pdwnumpublicappcs: &mut u32, #[inline] pub unsafe fn NetworkIsolationRegisterForAppContainerChanges(flags: u32, callback: PAC_CHANGES_CALLBACK_FN, context: *const ::core::ffi::c_void, registrationobject: &mut super::super::Foundation::HANDLE) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn NetworkIsolationRegisterForAppContainerChanges(flags: u32, callback: *mut ::core::ffi::c_void, context: *const ::core::ffi::c_void, registrationobject: *mut super::super::Foundation::HANDLE) -> u32; } NetworkIsolationRegisterForAppContainerChanges(flags, ::core::mem::transmute(callback), ::core::mem::transmute(context), ::core::mem::transmute(registrationobject)) @@ -6798,7 +6798,7 @@ pub unsafe fn NetworkIsolationRegisterForAppContainerChanges(flags: u32, callbac #[inline] pub unsafe fn NetworkIsolationSetAppContainerConfig(appcontainersids: &[super::super::Security::SID_AND_ATTRIBUTES]) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn NetworkIsolationSetAppContainerConfig(dwnumpublicappcs: u32, appcontainersids: *const super::super::Security::SID_AND_ATTRIBUTES) -> u32; } NetworkIsolationSetAppContainerConfig(appcontainersids.len() as _, ::core::mem::transmute(appcontainersids.as_ptr())) @@ -6815,7 +6815,7 @@ where P4: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn NetworkIsolationSetupAppContainerBinaries(applicationcontainersid: super::super::Foundation::PSID, packagefullname: ::windows::core::PCWSTR, packagefolder: ::windows::core::PCWSTR, displayname: ::windows::core::PCWSTR, bbinariesfullycomputed: super::super::Foundation::BOOL, binaries: *const ::windows::core::PWSTR, binariescount: u32) -> ::windows::core::HRESULT; } NetworkIsolationSetupAppContainerBinaries(applicationcontainersid.into(), packagefullname.into(), packagefolder.into(), displayname.into(), bbinariesfullycomputed.into(), ::core::mem::transmute(binaries.as_ptr()), binaries.len() as _).ok() @@ -6828,7 +6828,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn NetworkIsolationUnregisterForAppContainerChanges(registrationobject: super::super::Foundation::HANDLE) -> u32; } NetworkIsolationUnregisterForAppContainerChanges(registrationobject.into()) diff --git a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs index 89797b32a5..2d0ba27adb 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs @@ -8813,7 +8813,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ClusWorkersTerminate(clusworkers: *mut *mut CLUS_WORKER, clusworkerscount: usize, timeoutinmilliseconds: u32, waitonly: super::super::Foundation::BOOL) -> u32; } ClusWorkersTerminate(::core::mem::transmute(clusworkers.as_ptr()), clusworkers.len() as _, timeoutinmilliseconds, waitonly.into()) @@ -10274,7 +10274,7 @@ pub unsafe fn FreeClusterCrypt(pcryptinfo: *const ::core::ffi::c_void) -> u32 { #[inline] pub unsafe fn FreeClusterHealthFault(clusterhealthfault: &mut CLUSTER_HEALTH_FAULT) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn FreeClusterHealthFault(clusterhealthfault: *mut CLUSTER_HEALTH_FAULT) -> u32; } FreeClusterHealthFault(::core::mem::transmute(clusterhealthfault)) @@ -10283,7 +10283,7 @@ pub unsafe fn FreeClusterHealthFault(clusterhealthfault: &mut CLUSTER_HEALTH_FAU #[inline] pub unsafe fn FreeClusterHealthFaultArray(clusterhealthfaultarray: &mut CLUSTER_HEALTH_FAULT_ARRAY) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn FreeClusterHealthFaultArray(clusterhealthfaultarray: *mut CLUSTER_HEALTH_FAULT_ARRAY) -> u32; } FreeClusterHealthFaultArray(::core::mem::transmute(clusterhealthfaultarray)) @@ -17308,7 +17308,7 @@ pub struct IWEInvokeCommand_Vtbl { #[inline] pub unsafe fn InitializeClusterHealthFault(clusterhealthfault: &mut CLUSTER_HEALTH_FAULT) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn InitializeClusterHealthFault(clusterhealthfault: *mut CLUSTER_HEALTH_FAULT) -> u32; } InitializeClusterHealthFault(::core::mem::transmute(clusterhealthfault)) @@ -17317,7 +17317,7 @@ pub unsafe fn InitializeClusterHealthFault(clusterhealthfault: &mut CLUSTER_HEAL #[inline] pub unsafe fn InitializeClusterHealthFaultArray(clusterhealthfaultarray: &mut CLUSTER_HEALTH_FAULT_ARRAY) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn InitializeClusterHealthFaultArray(clusterhealthfaultarray: *mut CLUSTER_HEALTH_FAULT_ARRAY) -> u32; } InitializeClusterHealthFaultArray(::core::mem::transmute(clusterhealthfaultarray)) @@ -20254,7 +20254,7 @@ pub unsafe fn ResUtilIsResourceClassEqual(prci: &mut CLUS_RESOURCE_CLASS_INFO, h #[inline] pub unsafe fn ResUtilLeftPaxosIsLessThanRight(left: &PaxosTagCStruct, right: &PaxosTagCStruct) -> super::super::Foundation::BOOL { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ResUtilLeftPaxosIsLessThanRight(left: *const PaxosTagCStruct, right: *const PaxosTagCStruct) -> super::super::Foundation::BOOL; } ResUtilLeftPaxosIsLessThanRight(::core::mem::transmute(left), ::core::mem::transmute(right)) @@ -20273,7 +20273,7 @@ pub unsafe fn ResUtilNodeEnum(hcluster: &mut _HCLUSTER, pnodecallback: LPNODE_CA #[inline] pub unsafe fn ResUtilPaxosComparer(left: &PaxosTagCStruct, right: &PaxosTagCStruct) -> super::super::Foundation::BOOL { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ResUtilPaxosComparer(left: *const PaxosTagCStruct, right: *const PaxosTagCStruct) -> super::super::Foundation::BOOL; } ResUtilPaxosComparer(::core::mem::transmute(left), ::core::mem::transmute(right)) @@ -20670,7 +20670,7 @@ where P2: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ResUtilsDeleteKeyTree(key: super::super::System::Registry::HKEY, keyname: ::windows::core::PCWSTR, treatnokeyaserror: super::super::Foundation::BOOL) -> u32; } ResUtilsDeleteKeyTree(key.into(), keyname.into(), treatnokeyaserror.into()) diff --git a/crates/libs/windows/src/Windows/Win32/Networking/Ldap/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/Ldap/mod.rs index 787d3e7a1d..5a019798cf 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/Ldap/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/Ldap/mod.rs @@ -1026,7 +1026,7 @@ pub const LDAP_VLVINFO_VERSION: u32 = 1u32; #[inline] pub unsafe fn LdapGetLastError() -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn LdapGetLastError() -> u32; } LdapGetLastError() @@ -1035,7 +1035,7 @@ pub unsafe fn LdapGetLastError() -> u32 { #[inline] pub unsafe fn LdapMapErrorToWin32(ldaperror: u32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn LdapMapErrorToWin32(ldaperror: u32) -> u32; } LdapMapErrorToWin32(ldaperror) @@ -1044,7 +1044,7 @@ pub unsafe fn LdapMapErrorToWin32(ldaperror: u32) -> u32 { #[inline] pub unsafe fn LdapUTF8ToUnicode(lpsrcstr: &[u8], lpdeststr: &mut [u16]) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn LdapUTF8ToUnicode(lpsrcstr: ::windows::core::PCSTR, cchsrc: i32, lpdeststr: ::windows::core::PWSTR, cchdest: i32) -> i32; } LdapUTF8ToUnicode(::core::mem::transmute(lpsrcstr.as_ptr()), lpsrcstr.len() as _, ::core::mem::transmute(lpdeststr.as_ptr()), lpdeststr.len() as _) @@ -1053,7 +1053,7 @@ pub unsafe fn LdapUTF8ToUnicode(lpsrcstr: &[u8], lpdeststr: &mut [u16]) -> i32 { #[inline] pub unsafe fn LdapUnicodeToUTF8(lpsrcstr: &[u16], lpdeststr: &mut [u8]) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn LdapUnicodeToUTF8(lpsrcstr: ::windows::core::PCWSTR, cchsrc: i32, lpdeststr: ::windows::core::PSTR, cchdest: i32) -> i32; } LdapUnicodeToUTF8(::core::mem::transmute(lpsrcstr.as_ptr()), lpsrcstr.len() as _, ::core::mem::transmute(lpdeststr.as_ptr()), lpdeststr.len() as _) @@ -1077,7 +1077,7 @@ pub type VERIFYSERVERCERT = ::core::option::Option *mut berelement { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ber_alloc_t(options: i32) -> *mut berelement; } ber_alloc_t(options) @@ -1086,7 +1086,7 @@ pub unsafe fn ber_alloc_t(options: i32) -> *mut berelement { #[inline] pub unsafe fn ber_bvdup(pberval: &mut LDAP_BERVAL) -> *mut LDAP_BERVAL { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ber_bvdup(pberval: *mut LDAP_BERVAL) -> *mut LDAP_BERVAL; } ber_bvdup(::core::mem::transmute(pberval)) @@ -1095,7 +1095,7 @@ pub unsafe fn ber_bvdup(pberval: &mut LDAP_BERVAL) -> *mut LDAP_BERVAL { #[inline] pub unsafe fn ber_bvecfree(pberval: &mut *mut LDAP_BERVAL) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ber_bvecfree(pberval: *mut *mut LDAP_BERVAL); } ber_bvecfree(::core::mem::transmute(pberval)) @@ -1104,7 +1104,7 @@ pub unsafe fn ber_bvecfree(pberval: &mut *mut LDAP_BERVAL) { #[inline] pub unsafe fn ber_bvfree(bv: &mut LDAP_BERVAL) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ber_bvfree(bv: *mut LDAP_BERVAL); } ber_bvfree(::core::mem::transmute(bv)) @@ -1114,7 +1114,7 @@ pub unsafe fn ber_bvfree(bv: &mut LDAP_BERVAL) { #[inline] pub unsafe fn ber_first_element(pberelement: &mut berelement, plen: &mut u32, ppopaque: &mut *mut super::super::Foundation::CHAR) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ber_first_element(pberelement: *mut berelement, plen: *mut u32, ppopaque: *mut *mut super::super::Foundation::CHAR) -> u32; } ber_first_element(::core::mem::transmute(pberelement), ::core::mem::transmute(plen), ::core::mem::transmute(ppopaque)) @@ -1123,7 +1123,7 @@ pub unsafe fn ber_first_element(pberelement: &mut berelement, plen: &mut u32, pp #[inline] pub unsafe fn ber_flatten(pberelement: &mut berelement, pberval: &mut *mut LDAP_BERVAL) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ber_flatten(pberelement: *mut berelement, pberval: *mut *mut LDAP_BERVAL) -> i32; } ber_flatten(::core::mem::transmute(pberelement), ::core::mem::transmute(pberval)) @@ -1132,7 +1132,7 @@ pub unsafe fn ber_flatten(pberelement: &mut berelement, pberval: &mut *mut LDAP_ #[inline] pub unsafe fn ber_free(pberelement: &mut berelement, fbuf: i32) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ber_free(pberelement: *mut berelement, fbuf: i32); } ber_free(::core::mem::transmute(pberelement), fbuf) @@ -1141,7 +1141,7 @@ pub unsafe fn ber_free(pberelement: &mut berelement, fbuf: i32) { #[inline] pub unsafe fn ber_init(pberval: &mut LDAP_BERVAL) -> *mut berelement { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ber_init(pberval: *mut LDAP_BERVAL) -> *mut berelement; } ber_init(::core::mem::transmute(pberval)) @@ -1153,7 +1153,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ber_next_element(pberelement: *mut berelement, plen: *mut u32, opaque: ::windows::core::PCSTR) -> u32; } ber_next_element(::core::mem::transmute(pberelement), ::core::mem::transmute(plen), opaque.into()) @@ -1162,7 +1162,7 @@ where #[inline] pub unsafe fn ber_peek_tag(pberelement: &mut berelement, plen: &mut u32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ber_peek_tag(pberelement: *mut berelement, plen: *mut u32) -> u32; } ber_peek_tag(::core::mem::transmute(pberelement), ::core::mem::transmute(plen)) @@ -1174,7 +1174,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ber_printf(pberelement: *mut berelement, fmt: ::windows::core::PCSTR) -> i32; } ber_printf(::core::mem::transmute(pberelement), fmt.into()) @@ -1186,7 +1186,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ber_scanf(pberelement: *mut berelement, fmt: ::windows::core::PCSTR) -> u32; } ber_scanf(::core::mem::transmute(pberelement), fmt.into()) @@ -1195,7 +1195,7 @@ where #[inline] pub unsafe fn ber_skip_tag(pberelement: &mut berelement, plen: &mut u32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ber_skip_tag(pberelement: *mut berelement, plen: *mut u32) -> u32; } ber_skip_tag(::core::mem::transmute(pberelement), ::core::mem::transmute(plen)) @@ -1237,7 +1237,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn cldap_open(hostname: ::windows::core::PCSTR, portnumber: u32) -> *mut ldap; } cldap_open(hostname.into(), portnumber) @@ -1249,7 +1249,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn cldap_openA(hostname: ::windows::core::PCSTR, portnumber: u32) -> *mut ldap; } cldap_openA(hostname.into(), portnumber) @@ -1261,7 +1261,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn cldap_openW(hostname: ::windows::core::PCWSTR, portnumber: u32) -> *mut ldap; } cldap_openW(hostname.into(), portnumber) @@ -1365,7 +1365,7 @@ impl ::core::default::Default for ldap_0 { #[inline] pub unsafe fn ldap_abandon(ld: &mut ldap, msgid: u32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_abandon(ld: *mut ldap, msgid: u32) -> u32; } ldap_abandon(::core::mem::transmute(ld), msgid) @@ -1377,7 +1377,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_add(ld: *mut ldap, dn: ::windows::core::PCSTR, attrs: *mut *mut ldapmodA) -> u32; } ldap_add(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(attrs)) @@ -1389,7 +1389,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_addA(ld: *mut ldap, dn: ::windows::core::PCSTR, attrs: *mut *mut ldapmodA) -> u32; } ldap_addA(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(attrs)) @@ -1401,7 +1401,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_addW(ld: *mut ldap, dn: ::windows::core::PCWSTR, attrs: *mut *mut ldapmodW) -> u32; } ldap_addW(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(attrs)) @@ -1414,7 +1414,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_add_ext(ld: *mut ldap, dn: ::windows::core::PCSTR, attrs: *mut *mut ldapmodA, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; } ldap_add_ext(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(attrs), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(messagenumber)) @@ -1427,7 +1427,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_add_extA(ld: *mut ldap, dn: ::windows::core::PCSTR, attrs: *mut *mut ldapmodA, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; } ldap_add_extA(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(attrs), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(messagenumber)) @@ -1440,7 +1440,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_add_extW(ld: *mut ldap, dn: ::windows::core::PCWSTR, attrs: *mut *mut ldapmodW, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW, messagenumber: *mut u32) -> u32; } ldap_add_extW(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(attrs), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(messagenumber)) @@ -1453,7 +1453,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_add_ext_s(ld: *mut ldap, dn: ::windows::core::PCSTR, attrs: *mut *mut ldapmodA, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA) -> u32; } ldap_add_ext_s(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(attrs), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols)) @@ -1466,7 +1466,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_add_ext_sA(ld: *mut ldap, dn: ::windows::core::PCSTR, attrs: *mut *mut ldapmodA, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA) -> u32; } ldap_add_ext_sA(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(attrs), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols)) @@ -1479,7 +1479,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_add_ext_sW(ld: *mut ldap, dn: ::windows::core::PCWSTR, attrs: *mut *mut ldapmodW, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW) -> u32; } ldap_add_ext_sW(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(attrs), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols)) @@ -1491,7 +1491,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_add_s(ld: *mut ldap, dn: ::windows::core::PCSTR, attrs: *mut *mut ldapmodA) -> u32; } ldap_add_s(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(attrs)) @@ -1503,7 +1503,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_add_sA(ld: *mut ldap, dn: ::windows::core::PCSTR, attrs: *mut *mut ldapmodA) -> u32; } ldap_add_sA(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(attrs)) @@ -1515,7 +1515,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_add_sW(ld: *mut ldap, dn: ::windows::core::PCWSTR, attrs: *mut *mut ldapmodW) -> u32; } ldap_add_sW(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(attrs)) @@ -1528,7 +1528,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_bind(ld: *mut ldap, dn: ::windows::core::PCSTR, cred: ::windows::core::PCSTR, method: u32) -> u32; } ldap_bind(::core::mem::transmute(ld), dn.into(), cred.into(), method) @@ -1541,7 +1541,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_bindA(ld: *mut ldap, dn: ::windows::core::PCSTR, cred: ::windows::core::PCSTR, method: u32) -> u32; } ldap_bindA(::core::mem::transmute(ld), dn.into(), cred.into(), method) @@ -1554,7 +1554,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_bindW(ld: *mut ldap, dn: ::windows::core::PCWSTR, cred: ::windows::core::PCWSTR, method: u32) -> u32; } ldap_bindW(::core::mem::transmute(ld), dn.into(), cred.into(), method) @@ -1567,7 +1567,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_bind_s(ld: *mut ldap, dn: ::windows::core::PCSTR, cred: ::windows::core::PCSTR, method: u32) -> u32; } ldap_bind_s(::core::mem::transmute(ld), dn.into(), cred.into(), method) @@ -1580,7 +1580,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_bind_sA(ld: *mut ldap, dn: ::windows::core::PCSTR, cred: ::windows::core::PCSTR, method: u32) -> u32; } ldap_bind_sA(::core::mem::transmute(ld), dn.into(), cred.into(), method) @@ -1593,7 +1593,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_bind_sW(ld: *mut ldap, dn: ::windows::core::PCWSTR, cred: ::windows::core::PCWSTR, method: u32) -> u32; } ldap_bind_sW(::core::mem::transmute(ld), dn.into(), cred.into(), method) @@ -1605,7 +1605,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_check_filterA(ld: *mut ldap, searchfilter: ::windows::core::PCSTR) -> u32; } ldap_check_filterA(::core::mem::transmute(ld), searchfilter.into()) @@ -1617,7 +1617,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_check_filterW(ld: *mut ldap, searchfilter: ::windows::core::PCWSTR) -> u32; } ldap_check_filterW(::core::mem::transmute(ld), searchfilter.into()) @@ -1630,7 +1630,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_cleanup(hinstance: super::super::Foundation::HANDLE) -> u32; } ldap_cleanup(hinstance.into()) @@ -1639,7 +1639,7 @@ where #[inline] pub unsafe fn ldap_close_extended_op(ld: &mut ldap, messagenumber: u32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_close_extended_op(ld: *mut ldap, messagenumber: u32) -> u32; } ldap_close_extended_op(::core::mem::transmute(ld), messagenumber) @@ -1653,7 +1653,7 @@ where P2: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_compare(ld: *mut ldap, dn: ::windows::core::PCSTR, attr: ::windows::core::PCSTR, value: ::windows::core::PCSTR) -> u32; } ldap_compare(::core::mem::transmute(ld), dn.into(), attr.into(), value.into()) @@ -1667,7 +1667,7 @@ where P2: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_compareA(ld: *mut ldap, dn: ::windows::core::PCSTR, attr: ::windows::core::PCSTR, value: ::windows::core::PCSTR) -> u32; } ldap_compareA(::core::mem::transmute(ld), dn.into(), attr.into(), value.into()) @@ -1681,7 +1681,7 @@ where P2: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_compareW(ld: *mut ldap, dn: ::windows::core::PCWSTR, attr: ::windows::core::PCWSTR, value: ::windows::core::PCWSTR) -> u32; } ldap_compareW(::core::mem::transmute(ld), dn.into(), attr.into(), value.into()) @@ -1696,7 +1696,7 @@ where P2: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_compare_ext(ld: *mut ldap, dn: ::windows::core::PCSTR, attr: ::windows::core::PCSTR, value: ::windows::core::PCSTR, data: *mut LDAP_BERVAL, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; } ldap_compare_ext(::core::mem::transmute(ld), dn.into(), attr.into(), value.into(), ::core::mem::transmute(data), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(messagenumber)) @@ -1711,7 +1711,7 @@ where P2: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_compare_extA(ld: *mut ldap, dn: ::windows::core::PCSTR, attr: ::windows::core::PCSTR, value: ::windows::core::PCSTR, data: *const LDAP_BERVAL, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; } ldap_compare_extA(::core::mem::transmute(ld), dn.into(), attr.into(), value.into(), ::core::mem::transmute(data), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(messagenumber)) @@ -1726,7 +1726,7 @@ where P2: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_compare_extW(ld: *mut ldap, dn: ::windows::core::PCWSTR, attr: ::windows::core::PCWSTR, value: ::windows::core::PCWSTR, data: *const LDAP_BERVAL, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW, messagenumber: *mut u32) -> u32; } ldap_compare_extW(::core::mem::transmute(ld), dn.into(), attr.into(), value.into(), ::core::mem::transmute(data), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(messagenumber)) @@ -1741,7 +1741,7 @@ where P2: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_compare_ext_s(ld: *mut ldap, dn: ::windows::core::PCSTR, attr: ::windows::core::PCSTR, value: ::windows::core::PCSTR, data: *mut LDAP_BERVAL, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA) -> u32; } ldap_compare_ext_s(::core::mem::transmute(ld), dn.into(), attr.into(), value.into(), ::core::mem::transmute(data), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols)) @@ -1756,7 +1756,7 @@ where P2: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_compare_ext_sA(ld: *mut ldap, dn: ::windows::core::PCSTR, attr: ::windows::core::PCSTR, value: ::windows::core::PCSTR, data: *const LDAP_BERVAL, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA) -> u32; } ldap_compare_ext_sA(::core::mem::transmute(ld), dn.into(), attr.into(), value.into(), ::core::mem::transmute(data), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols)) @@ -1771,7 +1771,7 @@ where P2: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_compare_ext_sW(ld: *mut ldap, dn: ::windows::core::PCWSTR, attr: ::windows::core::PCWSTR, value: ::windows::core::PCWSTR, data: *const LDAP_BERVAL, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW) -> u32; } ldap_compare_ext_sW(::core::mem::transmute(ld), dn.into(), attr.into(), value.into(), ::core::mem::transmute(data), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols)) @@ -1785,7 +1785,7 @@ where P2: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_compare_s(ld: *mut ldap, dn: ::windows::core::PCSTR, attr: ::windows::core::PCSTR, value: ::windows::core::PCSTR) -> u32; } ldap_compare_s(::core::mem::transmute(ld), dn.into(), attr.into(), value.into()) @@ -1799,7 +1799,7 @@ where P2: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_compare_sA(ld: *mut ldap, dn: ::windows::core::PCSTR, attr: ::windows::core::PCSTR, value: ::windows::core::PCSTR) -> u32; } ldap_compare_sA(::core::mem::transmute(ld), dn.into(), attr.into(), value.into()) @@ -1813,7 +1813,7 @@ where P2: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_compare_sW(ld: *mut ldap, dn: ::windows::core::PCWSTR, attr: ::windows::core::PCWSTR, value: ::windows::core::PCWSTR) -> u32; } ldap_compare_sW(::core::mem::transmute(ld), dn.into(), attr.into(), value.into()) @@ -1823,7 +1823,7 @@ where #[inline] pub unsafe fn ldap_conn_from_msg(primaryconn: &mut ldap, res: &mut LDAPMessage) -> *mut ldap { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_conn_from_msg(primaryconn: *mut ldap, res: *mut LDAPMessage) -> *mut ldap; } ldap_conn_from_msg(::core::mem::transmute(primaryconn), ::core::mem::transmute(res)) @@ -1832,7 +1832,7 @@ pub unsafe fn ldap_conn_from_msg(primaryconn: &mut ldap, res: &mut LDAPMessage) #[inline] pub unsafe fn ldap_connect(ld: &mut ldap, timeout: &mut LDAP_TIMEVAL) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_connect(ld: *mut ldap, timeout: *mut LDAP_TIMEVAL) -> u32; } ldap_connect(::core::mem::transmute(ld), ::core::mem::transmute(timeout)) @@ -1842,7 +1842,7 @@ pub unsafe fn ldap_connect(ld: &mut ldap, timeout: &mut LDAP_TIMEVAL) -> u32 { #[inline] pub unsafe fn ldap_control_free(control: &mut ldapcontrolA) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_control_free(control: *mut ldapcontrolA) -> u32; } ldap_control_free(::core::mem::transmute(control)) @@ -1852,7 +1852,7 @@ pub unsafe fn ldap_control_free(control: &mut ldapcontrolA) -> u32 { #[inline] pub unsafe fn ldap_control_freeA(controls: &mut ldapcontrolA) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_control_freeA(controls: *mut ldapcontrolA) -> u32; } ldap_control_freeA(::core::mem::transmute(controls)) @@ -1862,7 +1862,7 @@ pub unsafe fn ldap_control_freeA(controls: &mut ldapcontrolA) -> u32 { #[inline] pub unsafe fn ldap_control_freeW(control: &mut ldapcontrolW) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_control_freeW(control: *mut ldapcontrolW) -> u32; } ldap_control_freeW(::core::mem::transmute(control)) @@ -1872,7 +1872,7 @@ pub unsafe fn ldap_control_freeW(control: &mut ldapcontrolW) -> u32 { #[inline] pub unsafe fn ldap_controls_free(controls: &mut *mut ldapcontrolA) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_controls_free(controls: *mut *mut ldapcontrolA) -> u32; } ldap_controls_free(::core::mem::transmute(controls)) @@ -1882,7 +1882,7 @@ pub unsafe fn ldap_controls_free(controls: &mut *mut ldapcontrolA) -> u32 { #[inline] pub unsafe fn ldap_controls_freeA(controls: &mut *mut ldapcontrolA) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_controls_freeA(controls: *mut *mut ldapcontrolA) -> u32; } ldap_controls_freeA(::core::mem::transmute(controls)) @@ -1892,7 +1892,7 @@ pub unsafe fn ldap_controls_freeA(controls: &mut *mut ldapcontrolA) -> u32 { #[inline] pub unsafe fn ldap_controls_freeW(control: &mut *mut ldapcontrolW) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_controls_freeW(control: *mut *mut ldapcontrolW) -> u32; } ldap_controls_freeW(::core::mem::transmute(control)) @@ -1902,7 +1902,7 @@ pub unsafe fn ldap_controls_freeW(control: &mut *mut ldapcontrolW) -> u32 { #[inline] pub unsafe fn ldap_count_entries(ld: &mut ldap, res: &mut LDAPMessage) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_count_entries(ld: *mut ldap, res: *mut LDAPMessage) -> u32; } ldap_count_entries(::core::mem::transmute(ld), ::core::mem::transmute(res)) @@ -1912,7 +1912,7 @@ pub unsafe fn ldap_count_entries(ld: &mut ldap, res: &mut LDAPMessage) -> u32 { #[inline] pub unsafe fn ldap_count_references(ld: &mut ldap, res: &mut LDAPMessage) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_count_references(ld: *mut ldap, res: *mut LDAPMessage) -> u32; } ldap_count_references(::core::mem::transmute(ld), ::core::mem::transmute(res)) @@ -1921,7 +1921,7 @@ pub unsafe fn ldap_count_references(ld: &mut ldap, res: &mut LDAPMessage) -> u32 #[inline] pub unsafe fn ldap_count_values(vals: ::core::option::Option<&::windows::core::PSTR>) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_count_values(vals: *const ::windows::core::PSTR) -> u32; } ldap_count_values(::core::mem::transmute(vals)) @@ -1930,7 +1930,7 @@ pub unsafe fn ldap_count_values(vals: ::core::option::Option<&::windows::core::P #[inline] pub unsafe fn ldap_count_valuesA(vals: ::core::option::Option<&::windows::core::PSTR>) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_count_valuesA(vals: *const ::windows::core::PSTR) -> u32; } ldap_count_valuesA(::core::mem::transmute(vals)) @@ -1939,7 +1939,7 @@ pub unsafe fn ldap_count_valuesA(vals: ::core::option::Option<&::windows::core:: #[inline] pub unsafe fn ldap_count_valuesW(vals: ::core::option::Option<&::windows::core::PWSTR>) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_count_valuesW(vals: *const ::windows::core::PWSTR) -> u32; } ldap_count_valuesW(::core::mem::transmute(vals)) @@ -1948,7 +1948,7 @@ pub unsafe fn ldap_count_valuesW(vals: ::core::option::Option<&::windows::core:: #[inline] pub unsafe fn ldap_count_values_len(vals: &mut *mut LDAP_BERVAL) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_count_values_len(vals: *mut *mut LDAP_BERVAL) -> u32; } ldap_count_values_len(::core::mem::transmute(vals)) @@ -1958,7 +1958,7 @@ pub unsafe fn ldap_count_values_len(vals: &mut *mut LDAP_BERVAL) -> u32 { #[inline] pub unsafe fn ldap_create_page_control(externalhandle: &mut ldap, pagesize: u32, cookie: &mut LDAP_BERVAL, iscritical: u8, control: &mut *mut ldapcontrolA) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_create_page_control(externalhandle: *mut ldap, pagesize: u32, cookie: *mut LDAP_BERVAL, iscritical: u8, control: *mut *mut ldapcontrolA) -> u32; } ldap_create_page_control(::core::mem::transmute(externalhandle), pagesize, ::core::mem::transmute(cookie), iscritical, ::core::mem::transmute(control)) @@ -1968,7 +1968,7 @@ pub unsafe fn ldap_create_page_control(externalhandle: &mut ldap, pagesize: u32, #[inline] pub unsafe fn ldap_create_page_controlA(externalhandle: &mut ldap, pagesize: u32, cookie: &mut LDAP_BERVAL, iscritical: u8, control: &mut *mut ldapcontrolA) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_create_page_controlA(externalhandle: *mut ldap, pagesize: u32, cookie: *mut LDAP_BERVAL, iscritical: u8, control: *mut *mut ldapcontrolA) -> u32; } ldap_create_page_controlA(::core::mem::transmute(externalhandle), pagesize, ::core::mem::transmute(cookie), iscritical, ::core::mem::transmute(control)) @@ -1978,7 +1978,7 @@ pub unsafe fn ldap_create_page_controlA(externalhandle: &mut ldap, pagesize: u32 #[inline] pub unsafe fn ldap_create_page_controlW(externalhandle: &mut ldap, pagesize: u32, cookie: &mut LDAP_BERVAL, iscritical: u8, control: &mut *mut ldapcontrolW) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_create_page_controlW(externalhandle: *mut ldap, pagesize: u32, cookie: *mut LDAP_BERVAL, iscritical: u8, control: *mut *mut ldapcontrolW) -> u32; } ldap_create_page_controlW(::core::mem::transmute(externalhandle), pagesize, ::core::mem::transmute(cookie), iscritical, ::core::mem::transmute(control)) @@ -1988,7 +1988,7 @@ pub unsafe fn ldap_create_page_controlW(externalhandle: &mut ldap, pagesize: u32 #[inline] pub unsafe fn ldap_create_sort_control(externalhandle: &mut ldap, sortkeys: &mut *mut ldapsortkeyA, iscritical: u8, control: &mut *mut ldapcontrolA) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_create_sort_control(externalhandle: *mut ldap, sortkeys: *mut *mut ldapsortkeyA, iscritical: u8, control: *mut *mut ldapcontrolA) -> u32; } ldap_create_sort_control(::core::mem::transmute(externalhandle), ::core::mem::transmute(sortkeys), iscritical, ::core::mem::transmute(control)) @@ -1998,7 +1998,7 @@ pub unsafe fn ldap_create_sort_control(externalhandle: &mut ldap, sortkeys: &mut #[inline] pub unsafe fn ldap_create_sort_controlA(externalhandle: &mut ldap, sortkeys: &mut *mut ldapsortkeyA, iscritical: u8, control: &mut *mut ldapcontrolA) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_create_sort_controlA(externalhandle: *mut ldap, sortkeys: *mut *mut ldapsortkeyA, iscritical: u8, control: *mut *mut ldapcontrolA) -> u32; } ldap_create_sort_controlA(::core::mem::transmute(externalhandle), ::core::mem::transmute(sortkeys), iscritical, ::core::mem::transmute(control)) @@ -2008,7 +2008,7 @@ pub unsafe fn ldap_create_sort_controlA(externalhandle: &mut ldap, sortkeys: &mu #[inline] pub unsafe fn ldap_create_sort_controlW(externalhandle: &mut ldap, sortkeys: &mut *mut ldapsortkeyW, iscritical: u8, control: &mut *mut ldapcontrolW) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_create_sort_controlW(externalhandle: *mut ldap, sortkeys: *mut *mut ldapsortkeyW, iscritical: u8, control: *mut *mut ldapcontrolW) -> u32; } ldap_create_sort_controlW(::core::mem::transmute(externalhandle), ::core::mem::transmute(sortkeys), iscritical, ::core::mem::transmute(control)) @@ -2018,7 +2018,7 @@ pub unsafe fn ldap_create_sort_controlW(externalhandle: &mut ldap, sortkeys: &mu #[inline] pub unsafe fn ldap_create_vlv_controlA(externalhandle: &mut ldap, vlvinfo: &mut ldapvlvinfo, iscritical: u8, control: &mut *mut ldapcontrolA) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_create_vlv_controlA(externalhandle: *mut ldap, vlvinfo: *mut ldapvlvinfo, iscritical: u8, control: *mut *mut ldapcontrolA) -> i32; } ldap_create_vlv_controlA(::core::mem::transmute(externalhandle), ::core::mem::transmute(vlvinfo), iscritical, ::core::mem::transmute(control)) @@ -2028,7 +2028,7 @@ pub unsafe fn ldap_create_vlv_controlA(externalhandle: &mut ldap, vlvinfo: &mut #[inline] pub unsafe fn ldap_create_vlv_controlW(externalhandle: &mut ldap, vlvinfo: &mut ldapvlvinfo, iscritical: u8, control: &mut *mut ldapcontrolW) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_create_vlv_controlW(externalhandle: *mut ldap, vlvinfo: *mut ldapvlvinfo, iscritical: u8, control: *mut *mut ldapcontrolW) -> i32; } ldap_create_vlv_controlW(::core::mem::transmute(externalhandle), ::core::mem::transmute(vlvinfo), iscritical, ::core::mem::transmute(control)) @@ -2040,7 +2040,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_delete(ld: *mut ldap, dn: ::windows::core::PCSTR) -> u32; } ldap_delete(::core::mem::transmute(ld), dn.into()) @@ -2052,7 +2052,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_deleteA(ld: *mut ldap, dn: ::windows::core::PCSTR) -> u32; } ldap_deleteA(::core::mem::transmute(ld), dn.into()) @@ -2064,7 +2064,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_deleteW(ld: *mut ldap, dn: ::windows::core::PCWSTR) -> u32; } ldap_deleteW(::core::mem::transmute(ld), dn.into()) @@ -2077,7 +2077,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_delete_ext(ld: *mut ldap, dn: ::windows::core::PCSTR, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; } ldap_delete_ext(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(messagenumber)) @@ -2090,7 +2090,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_delete_extA(ld: *mut ldap, dn: ::windows::core::PCSTR, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; } ldap_delete_extA(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(messagenumber)) @@ -2103,7 +2103,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_delete_extW(ld: *mut ldap, dn: ::windows::core::PCWSTR, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW, messagenumber: *mut u32) -> u32; } ldap_delete_extW(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(messagenumber)) @@ -2116,7 +2116,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_delete_ext_s(ld: *mut ldap, dn: ::windows::core::PCSTR, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA) -> u32; } ldap_delete_ext_s(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols)) @@ -2129,7 +2129,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_delete_ext_sA(ld: *mut ldap, dn: ::windows::core::PCSTR, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA) -> u32; } ldap_delete_ext_sA(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols)) @@ -2142,7 +2142,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_delete_ext_sW(ld: *mut ldap, dn: ::windows::core::PCWSTR, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW) -> u32; } ldap_delete_ext_sW(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols)) @@ -2154,7 +2154,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_delete_s(ld: *mut ldap, dn: ::windows::core::PCSTR) -> u32; } ldap_delete_s(::core::mem::transmute(ld), dn.into()) @@ -2166,7 +2166,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_delete_sA(ld: *mut ldap, dn: ::windows::core::PCSTR) -> u32; } ldap_delete_sA(::core::mem::transmute(ld), dn.into()) @@ -2178,7 +2178,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_delete_sW(ld: *mut ldap, dn: ::windows::core::PCWSTR) -> u32; } ldap_delete_sW(::core::mem::transmute(ld), dn.into()) @@ -2190,7 +2190,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_dn2ufn(dn: ::windows::core::PCSTR) -> ::windows::core::PSTR; } ldap_dn2ufn(dn.into()) @@ -2202,7 +2202,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_dn2ufnA(dn: ::windows::core::PCSTR) -> ::windows::core::PSTR; } ldap_dn2ufnA(dn.into()) @@ -2214,7 +2214,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_dn2ufnW(dn: ::windows::core::PCWSTR) -> ::windows::core::PWSTR; } ldap_dn2ufnW(dn.into()) @@ -2227,7 +2227,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_encode_sort_controlA(externalhandle: *mut ldap, sortkeys: *mut *mut ldapsortkeyA, control: *mut ldapcontrolA, criticality: super::super::Foundation::BOOLEAN) -> u32; } ldap_encode_sort_controlA(::core::mem::transmute(externalhandle), ::core::mem::transmute(sortkeys), ::core::mem::transmute(control), criticality.into()) @@ -2240,7 +2240,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_encode_sort_controlW(externalhandle: *mut ldap, sortkeys: *mut *mut ldapsortkeyW, control: *mut ldapcontrolW, criticality: super::super::Foundation::BOOLEAN) -> u32; } ldap_encode_sort_controlW(::core::mem::transmute(externalhandle), ::core::mem::transmute(sortkeys), ::core::mem::transmute(control), criticality.into()) @@ -2249,7 +2249,7 @@ where #[inline] pub unsafe fn ldap_err2string(err: u32) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_err2string(err: u32) -> ::windows::core::PSTR; } ldap_err2string(err) @@ -2258,7 +2258,7 @@ pub unsafe fn ldap_err2string(err: u32) -> ::windows::core::PSTR { #[inline] pub unsafe fn ldap_err2stringA(err: u32) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_err2stringA(err: u32) -> ::windows::core::PSTR; } ldap_err2stringA(err) @@ -2267,7 +2267,7 @@ pub unsafe fn ldap_err2stringA(err: u32) -> ::windows::core::PSTR { #[inline] pub unsafe fn ldap_err2stringW(err: u32) -> ::windows::core::PWSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_err2stringW(err: u32) -> ::windows::core::PWSTR; } ldap_err2stringW(err) @@ -2276,7 +2276,7 @@ pub unsafe fn ldap_err2stringW(err: u32) -> ::windows::core::PWSTR { #[inline] pub unsafe fn ldap_escape_filter_element(sourcefilterelement: &[u8], destfilterelement: ::core::option::Option<&mut [u8]>) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_escape_filter_element(sourcefilterelement: ::windows::core::PCSTR, sourcelength: u32, destfilterelement: ::windows::core::PSTR, destlength: u32) -> u32; } ldap_escape_filter_element(::core::mem::transmute(sourcefilterelement.as_ptr()), sourcefilterelement.len() as _, ::core::mem::transmute(destfilterelement.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), destfilterelement.as_deref().map_or(0, |slice| slice.len() as _)) @@ -2285,7 +2285,7 @@ pub unsafe fn ldap_escape_filter_element(sourcefilterelement: &[u8], destfiltere #[inline] pub unsafe fn ldap_escape_filter_elementA(sourcefilterelement: &[u8], destfilterelement: ::core::option::Option<&mut [u8]>) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_escape_filter_elementA(sourcefilterelement: ::windows::core::PCSTR, sourcelength: u32, destfilterelement: ::windows::core::PSTR, destlength: u32) -> u32; } ldap_escape_filter_elementA(::core::mem::transmute(sourcefilterelement.as_ptr()), sourcefilterelement.len() as _, ::core::mem::transmute(destfilterelement.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), destfilterelement.as_deref().map_or(0, |slice| slice.len() as _)) @@ -2294,7 +2294,7 @@ pub unsafe fn ldap_escape_filter_elementA(sourcefilterelement: &[u8], destfilter #[inline] pub unsafe fn ldap_escape_filter_elementW(sourcefilterelement: &[u8], destfilterelement: ::core::option::Option<&mut [u8]>) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_escape_filter_elementW(sourcefilterelement: ::windows::core::PCSTR, sourcelength: u32, destfilterelement: ::windows::core::PWSTR, destlength: u32) -> u32; } ldap_escape_filter_elementW(::core::mem::transmute(sourcefilterelement.as_ptr()), sourcefilterelement.len() as _, ::core::mem::transmute(destfilterelement.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), destfilterelement.as_deref().map_or(0, |slice| slice.len() as _)) @@ -2306,7 +2306,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_explode_dn(dn: ::windows::core::PCSTR, notypes: u32) -> *mut ::windows::core::PSTR; } ldap_explode_dn(dn.into(), notypes) @@ -2318,7 +2318,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_explode_dnA(dn: ::windows::core::PCSTR, notypes: u32) -> *mut ::windows::core::PSTR; } ldap_explode_dnA(dn.into(), notypes) @@ -2330,7 +2330,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_explode_dnW(dn: ::windows::core::PCWSTR, notypes: u32) -> *mut ::windows::core::PWSTR; } ldap_explode_dnW(dn.into(), notypes) @@ -2343,7 +2343,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_extended_operation(ld: *mut ldap, oid: ::windows::core::PCSTR, data: *mut LDAP_BERVAL, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; } ldap_extended_operation(::core::mem::transmute(ld), oid.into(), ::core::mem::transmute(data), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(messagenumber)) @@ -2356,7 +2356,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_extended_operationA(ld: *mut ldap, oid: ::windows::core::PCSTR, data: *mut LDAP_BERVAL, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; } ldap_extended_operationA(::core::mem::transmute(ld), oid.into(), ::core::mem::transmute(data), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(messagenumber)) @@ -2369,7 +2369,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_extended_operationW(ld: *mut ldap, oid: ::windows::core::PCWSTR, data: *mut LDAP_BERVAL, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW, messagenumber: *mut u32) -> u32; } ldap_extended_operationW(::core::mem::transmute(ld), oid.into(), ::core::mem::transmute(data), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(messagenumber)) @@ -2382,7 +2382,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_extended_operation_sA(externalhandle: *mut ldap, oid: ::windows::core::PCSTR, data: *mut LDAP_BERVAL, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, returnedoid: *mut ::windows::core::PSTR, returneddata: *mut *mut LDAP_BERVAL) -> u32; } ldap_extended_operation_sA(::core::mem::transmute(externalhandle), oid.into(), ::core::mem::transmute(data), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(returnedoid), ::core::mem::transmute(returneddata)) @@ -2395,7 +2395,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_extended_operation_sW(externalhandle: *mut ldap, oid: ::windows::core::PCWSTR, data: *mut LDAP_BERVAL, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW, returnedoid: *mut ::windows::core::PWSTR, returneddata: *mut *mut LDAP_BERVAL) -> u32; } ldap_extended_operation_sW(::core::mem::transmute(externalhandle), oid.into(), ::core::mem::transmute(data), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(returnedoid), ::core::mem::transmute(returneddata)) @@ -2405,7 +2405,7 @@ where #[inline] pub unsafe fn ldap_first_attribute(ld: &mut ldap, entry: &mut LDAPMessage, ptr: &mut *mut berelement) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_first_attribute(ld: *mut ldap, entry: *mut LDAPMessage, ptr: *mut *mut berelement) -> ::windows::core::PSTR; } ldap_first_attribute(::core::mem::transmute(ld), ::core::mem::transmute(entry), ::core::mem::transmute(ptr)) @@ -2415,7 +2415,7 @@ pub unsafe fn ldap_first_attribute(ld: &mut ldap, entry: &mut LDAPMessage, ptr: #[inline] pub unsafe fn ldap_first_attributeA(ld: &mut ldap, entry: &mut LDAPMessage, ptr: &mut *mut berelement) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_first_attributeA(ld: *mut ldap, entry: *mut LDAPMessage, ptr: *mut *mut berelement) -> ::windows::core::PSTR; } ldap_first_attributeA(::core::mem::transmute(ld), ::core::mem::transmute(entry), ::core::mem::transmute(ptr)) @@ -2425,7 +2425,7 @@ pub unsafe fn ldap_first_attributeA(ld: &mut ldap, entry: &mut LDAPMessage, ptr: #[inline] pub unsafe fn ldap_first_attributeW(ld: &mut ldap, entry: &mut LDAPMessage, ptr: &mut *mut berelement) -> ::windows::core::PWSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_first_attributeW(ld: *mut ldap, entry: *mut LDAPMessage, ptr: *mut *mut berelement) -> ::windows::core::PWSTR; } ldap_first_attributeW(::core::mem::transmute(ld), ::core::mem::transmute(entry), ::core::mem::transmute(ptr)) @@ -2435,7 +2435,7 @@ pub unsafe fn ldap_first_attributeW(ld: &mut ldap, entry: &mut LDAPMessage, ptr: #[inline] pub unsafe fn ldap_first_entry(ld: &mut ldap, res: &mut LDAPMessage) -> *mut LDAPMessage { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_first_entry(ld: *mut ldap, res: *mut LDAPMessage) -> *mut LDAPMessage; } ldap_first_entry(::core::mem::transmute(ld), ::core::mem::transmute(res)) @@ -2445,7 +2445,7 @@ pub unsafe fn ldap_first_entry(ld: &mut ldap, res: &mut LDAPMessage) -> *mut LDA #[inline] pub unsafe fn ldap_first_reference(ld: &mut ldap, res: &mut LDAPMessage) -> *mut LDAPMessage { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_first_reference(ld: *mut ldap, res: *mut LDAPMessage) -> *mut LDAPMessage; } ldap_first_reference(::core::mem::transmute(ld), ::core::mem::transmute(res)) @@ -2455,7 +2455,7 @@ pub unsafe fn ldap_first_reference(ld: &mut ldap, res: &mut LDAPMessage) -> *mut #[inline] pub unsafe fn ldap_free_controls(controls: &mut *mut ldapcontrolA) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_free_controls(controls: *mut *mut ldapcontrolA) -> u32; } ldap_free_controls(::core::mem::transmute(controls)) @@ -2465,7 +2465,7 @@ pub unsafe fn ldap_free_controls(controls: &mut *mut ldapcontrolA) -> u32 { #[inline] pub unsafe fn ldap_free_controlsA(controls: &mut *mut ldapcontrolA) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_free_controlsA(controls: *mut *mut ldapcontrolA) -> u32; } ldap_free_controlsA(::core::mem::transmute(controls)) @@ -2475,7 +2475,7 @@ pub unsafe fn ldap_free_controlsA(controls: &mut *mut ldapcontrolA) -> u32 { #[inline] pub unsafe fn ldap_free_controlsW(controls: &mut *mut ldapcontrolW) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_free_controlsW(controls: *mut *mut ldapcontrolW) -> u32; } ldap_free_controlsW(::core::mem::transmute(controls)) @@ -2485,7 +2485,7 @@ pub unsafe fn ldap_free_controlsW(controls: &mut *mut ldapcontrolW) -> u32 { #[inline] pub unsafe fn ldap_get_dn(ld: &mut ldap, entry: &mut LDAPMessage) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_get_dn(ld: *mut ldap, entry: *mut LDAPMessage) -> ::windows::core::PSTR; } ldap_get_dn(::core::mem::transmute(ld), ::core::mem::transmute(entry)) @@ -2495,7 +2495,7 @@ pub unsafe fn ldap_get_dn(ld: &mut ldap, entry: &mut LDAPMessage) -> ::windows:: #[inline] pub unsafe fn ldap_get_dnA(ld: &mut ldap, entry: &mut LDAPMessage) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_get_dnA(ld: *mut ldap, entry: *mut LDAPMessage) -> ::windows::core::PSTR; } ldap_get_dnA(::core::mem::transmute(ld), ::core::mem::transmute(entry)) @@ -2505,7 +2505,7 @@ pub unsafe fn ldap_get_dnA(ld: &mut ldap, entry: &mut LDAPMessage) -> ::windows: #[inline] pub unsafe fn ldap_get_dnW(ld: &mut ldap, entry: &mut LDAPMessage) -> ::windows::core::PWSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_get_dnW(ld: *mut ldap, entry: *mut LDAPMessage) -> ::windows::core::PWSTR; } ldap_get_dnW(::core::mem::transmute(ld), ::core::mem::transmute(entry)) @@ -2514,7 +2514,7 @@ pub unsafe fn ldap_get_dnW(ld: &mut ldap, entry: &mut LDAPMessage) -> ::windows: #[inline] pub unsafe fn ldap_get_next_page(externalhandle: &mut ldap, searchhandle: &mut ldapsearch, pagesize: u32, messagenumber: &mut u32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_get_next_page(externalhandle: *mut ldap, searchhandle: *mut ldapsearch, pagesize: u32, messagenumber: *mut u32) -> u32; } ldap_get_next_page(::core::mem::transmute(externalhandle), ::core::mem::transmute(searchhandle), pagesize, ::core::mem::transmute(messagenumber)) @@ -2524,7 +2524,7 @@ pub unsafe fn ldap_get_next_page(externalhandle: &mut ldap, searchhandle: &mut l #[inline] pub unsafe fn ldap_get_next_page_s(externalhandle: &mut ldap, searchhandle: &mut ldapsearch, timeout: &mut LDAP_TIMEVAL, pagesize: u32, totalcount: &mut u32, results: &mut *mut LDAPMessage) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_get_next_page_s(externalhandle: *mut ldap, searchhandle: *mut ldapsearch, timeout: *mut LDAP_TIMEVAL, pagesize: u32, totalcount: *mut u32, results: *mut *mut LDAPMessage) -> u32; } ldap_get_next_page_s(::core::mem::transmute(externalhandle), ::core::mem::transmute(searchhandle), ::core::mem::transmute(timeout), pagesize, ::core::mem::transmute(totalcount), ::core::mem::transmute(results)) @@ -2533,7 +2533,7 @@ pub unsafe fn ldap_get_next_page_s(externalhandle: &mut ldap, searchhandle: &mut #[inline] pub unsafe fn ldap_get_option(ld: &mut ldap, option: i32, outvalue: *mut ::core::ffi::c_void) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_get_option(ld: *mut ldap, option: i32, outvalue: *mut ::core::ffi::c_void) -> u32; } ldap_get_option(::core::mem::transmute(ld), option, ::core::mem::transmute(outvalue)) @@ -2542,7 +2542,7 @@ pub unsafe fn ldap_get_option(ld: &mut ldap, option: i32, outvalue: *mut ::core: #[inline] pub unsafe fn ldap_get_optionW(ld: &mut ldap, option: i32, outvalue: *mut ::core::ffi::c_void) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_get_optionW(ld: *mut ldap, option: i32, outvalue: *mut ::core::ffi::c_void) -> u32; } ldap_get_optionW(::core::mem::transmute(ld), option, ::core::mem::transmute(outvalue)) @@ -2552,7 +2552,7 @@ pub unsafe fn ldap_get_optionW(ld: &mut ldap, option: i32, outvalue: *mut ::core #[inline] pub unsafe fn ldap_get_paged_count(externalhandle: &mut ldap, searchblock: &mut ldapsearch, totalcount: &mut u32, results: &mut LDAPMessage) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_get_paged_count(externalhandle: *mut ldap, searchblock: *mut ldapsearch, totalcount: *mut u32, results: *mut LDAPMessage) -> u32; } ldap_get_paged_count(::core::mem::transmute(externalhandle), ::core::mem::transmute(searchblock), ::core::mem::transmute(totalcount), ::core::mem::transmute(results)) @@ -2565,7 +2565,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_get_values(ld: *mut ldap, entry: *mut LDAPMessage, attr: ::windows::core::PCSTR) -> *mut ::windows::core::PSTR; } ldap_get_values(::core::mem::transmute(ld), ::core::mem::transmute(entry), attr.into()) @@ -2578,7 +2578,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_get_valuesA(ld: *mut ldap, entry: *mut LDAPMessage, attr: ::windows::core::PCSTR) -> *mut ::windows::core::PSTR; } ldap_get_valuesA(::core::mem::transmute(ld), ::core::mem::transmute(entry), attr.into()) @@ -2591,7 +2591,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_get_valuesW(ld: *mut ldap, entry: *mut LDAPMessage, attr: ::windows::core::PCWSTR) -> *mut ::windows::core::PWSTR; } ldap_get_valuesW(::core::mem::transmute(ld), ::core::mem::transmute(entry), attr.into()) @@ -2604,7 +2604,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_get_values_len(externalhandle: *mut ldap, message: *mut LDAPMessage, attr: ::windows::core::PCSTR) -> *mut *mut LDAP_BERVAL; } ldap_get_values_len(::core::mem::transmute(externalhandle), ::core::mem::transmute(message), attr.into()) @@ -2617,7 +2617,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_get_values_lenA(externalhandle: *mut ldap, message: *mut LDAPMessage, attr: ::windows::core::PCSTR) -> *mut *mut LDAP_BERVAL; } ldap_get_values_lenA(::core::mem::transmute(externalhandle), ::core::mem::transmute(message), attr.into()) @@ -2630,7 +2630,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_get_values_lenW(externalhandle: *mut ldap, message: *mut LDAPMessage, attr: ::windows::core::PCWSTR) -> *mut *mut LDAP_BERVAL; } ldap_get_values_lenW(::core::mem::transmute(externalhandle), ::core::mem::transmute(message), attr.into()) @@ -2642,7 +2642,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_init(hostname: ::windows::core::PCSTR, portnumber: u32) -> *mut ldap; } ldap_init(hostname.into(), portnumber) @@ -2654,7 +2654,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_initA(hostname: ::windows::core::PCSTR, portnumber: u32) -> *mut ldap; } ldap_initA(hostname.into(), portnumber) @@ -2666,7 +2666,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_initW(hostname: ::windows::core::PCWSTR, portnumber: u32) -> *mut ldap; } ldap_initW(hostname.into(), portnumber) @@ -2678,7 +2678,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_memfree(block: ::windows::core::PCSTR); } ldap_memfree(block.into()) @@ -2690,7 +2690,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_memfreeA(block: ::windows::core::PCSTR); } ldap_memfreeA(block.into()) @@ -2702,7 +2702,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_memfreeW(block: ::windows::core::PCWSTR); } ldap_memfreeW(block.into()) @@ -2714,7 +2714,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modify(ld: *mut ldap, dn: ::windows::core::PCSTR, mods: *mut *mut ldapmodA) -> u32; } ldap_modify(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(mods)) @@ -2726,7 +2726,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modifyA(ld: *mut ldap, dn: ::windows::core::PCSTR, mods: *mut *mut ldapmodA) -> u32; } ldap_modifyA(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(mods)) @@ -2738,7 +2738,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modifyW(ld: *mut ldap, dn: ::windows::core::PCWSTR, mods: *mut *mut ldapmodW) -> u32; } ldap_modifyW(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(mods)) @@ -2751,7 +2751,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modify_ext(ld: *mut ldap, dn: ::windows::core::PCSTR, mods: *mut *mut ldapmodA, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; } ldap_modify_ext(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(mods), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(messagenumber)) @@ -2764,7 +2764,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modify_extA(ld: *mut ldap, dn: ::windows::core::PCSTR, mods: *mut *mut ldapmodA, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; } ldap_modify_extA(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(mods), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(messagenumber)) @@ -2777,7 +2777,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modify_extW(ld: *mut ldap, dn: ::windows::core::PCWSTR, mods: *mut *mut ldapmodW, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW, messagenumber: *mut u32) -> u32; } ldap_modify_extW(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(mods), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(messagenumber)) @@ -2790,7 +2790,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modify_ext_s(ld: *mut ldap, dn: ::windows::core::PCSTR, mods: *mut *mut ldapmodA, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA) -> u32; } ldap_modify_ext_s(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(mods), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols)) @@ -2803,7 +2803,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modify_ext_sA(ld: *mut ldap, dn: ::windows::core::PCSTR, mods: *mut *mut ldapmodA, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA) -> u32; } ldap_modify_ext_sA(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(mods), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols)) @@ -2816,7 +2816,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modify_ext_sW(ld: *mut ldap, dn: ::windows::core::PCWSTR, mods: *mut *mut ldapmodW, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW) -> u32; } ldap_modify_ext_sW(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(mods), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols)) @@ -2828,7 +2828,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modify_s(ld: *mut ldap, dn: ::windows::core::PCSTR, mods: *mut *mut ldapmodA) -> u32; } ldap_modify_s(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(mods)) @@ -2840,7 +2840,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modify_sA(ld: *mut ldap, dn: ::windows::core::PCSTR, mods: *mut *mut ldapmodA) -> u32; } ldap_modify_sA(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(mods)) @@ -2852,7 +2852,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modify_sW(ld: *mut ldap, dn: ::windows::core::PCWSTR, mods: *mut *mut ldapmodW) -> u32; } ldap_modify_sW(::core::mem::transmute(ld), dn.into(), ::core::mem::transmute(mods)) @@ -2865,7 +2865,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modrdn(externalhandle: *mut ldap, distinguishedname: ::windows::core::PCSTR, newdistinguishedname: ::windows::core::PCSTR) -> u32; } ldap_modrdn(::core::mem::transmute(externalhandle), distinguishedname.into(), newdistinguishedname.into()) @@ -2878,7 +2878,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modrdn2(externalhandle: *mut ldap, distinguishedname: ::windows::core::PCSTR, newdistinguishedname: ::windows::core::PCSTR, deleteoldrdn: i32) -> u32; } ldap_modrdn2(::core::mem::transmute(externalhandle), distinguishedname.into(), newdistinguishedname.into(), deleteoldrdn) @@ -2891,7 +2891,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modrdn2A(externalhandle: *mut ldap, distinguishedname: ::windows::core::PCSTR, newdistinguishedname: ::windows::core::PCSTR, deleteoldrdn: i32) -> u32; } ldap_modrdn2A(::core::mem::transmute(externalhandle), distinguishedname.into(), newdistinguishedname.into(), deleteoldrdn) @@ -2904,7 +2904,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modrdn2W(externalhandle: *mut ldap, distinguishedname: ::windows::core::PCWSTR, newdistinguishedname: ::windows::core::PCWSTR, deleteoldrdn: i32) -> u32; } ldap_modrdn2W(::core::mem::transmute(externalhandle), distinguishedname.into(), newdistinguishedname.into(), deleteoldrdn) @@ -2917,7 +2917,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modrdn2_s(externalhandle: *mut ldap, distinguishedname: ::windows::core::PCSTR, newdistinguishedname: ::windows::core::PCSTR, deleteoldrdn: i32) -> u32; } ldap_modrdn2_s(::core::mem::transmute(externalhandle), distinguishedname.into(), newdistinguishedname.into(), deleteoldrdn) @@ -2930,7 +2930,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modrdn2_sA(externalhandle: *mut ldap, distinguishedname: ::windows::core::PCSTR, newdistinguishedname: ::windows::core::PCSTR, deleteoldrdn: i32) -> u32; } ldap_modrdn2_sA(::core::mem::transmute(externalhandle), distinguishedname.into(), newdistinguishedname.into(), deleteoldrdn) @@ -2943,7 +2943,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modrdn2_sW(externalhandle: *mut ldap, distinguishedname: ::windows::core::PCWSTR, newdistinguishedname: ::windows::core::PCWSTR, deleteoldrdn: i32) -> u32; } ldap_modrdn2_sW(::core::mem::transmute(externalhandle), distinguishedname.into(), newdistinguishedname.into(), deleteoldrdn) @@ -2956,7 +2956,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modrdnA(externalhandle: *mut ldap, distinguishedname: ::windows::core::PCSTR, newdistinguishedname: ::windows::core::PCSTR) -> u32; } ldap_modrdnA(::core::mem::transmute(externalhandle), distinguishedname.into(), newdistinguishedname.into()) @@ -2969,7 +2969,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modrdnW(externalhandle: *mut ldap, distinguishedname: ::windows::core::PCWSTR, newdistinguishedname: ::windows::core::PCWSTR) -> u32; } ldap_modrdnW(::core::mem::transmute(externalhandle), distinguishedname.into(), newdistinguishedname.into()) @@ -2982,7 +2982,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modrdn_s(externalhandle: *mut ldap, distinguishedname: ::windows::core::PCSTR, newdistinguishedname: ::windows::core::PCSTR) -> u32; } ldap_modrdn_s(::core::mem::transmute(externalhandle), distinguishedname.into(), newdistinguishedname.into()) @@ -2995,7 +2995,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modrdn_sA(externalhandle: *mut ldap, distinguishedname: ::windows::core::PCSTR, newdistinguishedname: ::windows::core::PCSTR) -> u32; } ldap_modrdn_sA(::core::mem::transmute(externalhandle), distinguishedname.into(), newdistinguishedname.into()) @@ -3008,7 +3008,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_modrdn_sW(externalhandle: *mut ldap, distinguishedname: ::windows::core::PCWSTR, newdistinguishedname: ::windows::core::PCWSTR) -> u32; } ldap_modrdn_sW(::core::mem::transmute(externalhandle), distinguishedname.into(), newdistinguishedname.into()) @@ -3018,7 +3018,7 @@ where #[inline] pub unsafe fn ldap_msgfree(res: &mut LDAPMessage) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_msgfree(res: *mut LDAPMessage) -> u32; } ldap_msgfree(::core::mem::transmute(res)) @@ -3028,7 +3028,7 @@ pub unsafe fn ldap_msgfree(res: &mut LDAPMessage) -> u32 { #[inline] pub unsafe fn ldap_next_attribute(ld: &mut ldap, entry: &mut LDAPMessage, ptr: &mut berelement) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_next_attribute(ld: *mut ldap, entry: *mut LDAPMessage, ptr: *mut berelement) -> ::windows::core::PSTR; } ldap_next_attribute(::core::mem::transmute(ld), ::core::mem::transmute(entry), ::core::mem::transmute(ptr)) @@ -3038,7 +3038,7 @@ pub unsafe fn ldap_next_attribute(ld: &mut ldap, entry: &mut LDAPMessage, ptr: & #[inline] pub unsafe fn ldap_next_attributeA(ld: &mut ldap, entry: &mut LDAPMessage, ptr: &mut berelement) -> ::windows::core::PSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_next_attributeA(ld: *mut ldap, entry: *mut LDAPMessage, ptr: *mut berelement) -> ::windows::core::PSTR; } ldap_next_attributeA(::core::mem::transmute(ld), ::core::mem::transmute(entry), ::core::mem::transmute(ptr)) @@ -3048,7 +3048,7 @@ pub unsafe fn ldap_next_attributeA(ld: &mut ldap, entry: &mut LDAPMessage, ptr: #[inline] pub unsafe fn ldap_next_attributeW(ld: &mut ldap, entry: &mut LDAPMessage, ptr: &mut berelement) -> ::windows::core::PWSTR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_next_attributeW(ld: *mut ldap, entry: *mut LDAPMessage, ptr: *mut berelement) -> ::windows::core::PWSTR; } ldap_next_attributeW(::core::mem::transmute(ld), ::core::mem::transmute(entry), ::core::mem::transmute(ptr)) @@ -3058,7 +3058,7 @@ pub unsafe fn ldap_next_attributeW(ld: &mut ldap, entry: &mut LDAPMessage, ptr: #[inline] pub unsafe fn ldap_next_entry(ld: &mut ldap, entry: &mut LDAPMessage) -> *mut LDAPMessage { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_next_entry(ld: *mut ldap, entry: *mut LDAPMessage) -> *mut LDAPMessage; } ldap_next_entry(::core::mem::transmute(ld), ::core::mem::transmute(entry)) @@ -3068,7 +3068,7 @@ pub unsafe fn ldap_next_entry(ld: &mut ldap, entry: &mut LDAPMessage) -> *mut LD #[inline] pub unsafe fn ldap_next_reference(ld: &mut ldap, entry: &mut LDAPMessage) -> *mut LDAPMessage { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_next_reference(ld: *mut ldap, entry: *mut LDAPMessage) -> *mut LDAPMessage; } ldap_next_reference(::core::mem::transmute(ld), ::core::mem::transmute(entry)) @@ -3080,7 +3080,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_open(hostname: ::windows::core::PCSTR, portnumber: u32) -> *mut ldap; } ldap_open(hostname.into(), portnumber) @@ -3092,7 +3092,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_openA(hostname: ::windows::core::PCSTR, portnumber: u32) -> *mut ldap; } ldap_openA(hostname.into(), portnumber) @@ -3104,7 +3104,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_openW(hostname: ::windows::core::PCWSTR, portnumber: u32) -> *mut ldap; } ldap_openW(hostname.into(), portnumber) @@ -3117,7 +3117,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_parse_extended_resultA(connection: *mut ldap, resultmessage: *mut LDAPMessage, resultoid: *mut ::windows::core::PSTR, resultdata: *mut *mut LDAP_BERVAL, freeit: super::super::Foundation::BOOLEAN) -> u32; } ldap_parse_extended_resultA(::core::mem::transmute(connection), ::core::mem::transmute(resultmessage), ::core::mem::transmute(resultoid), ::core::mem::transmute(resultdata), freeit.into()) @@ -3130,7 +3130,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_parse_extended_resultW(connection: *mut ldap, resultmessage: *mut LDAPMessage, resultoid: *mut ::windows::core::PWSTR, resultdata: *mut *mut LDAP_BERVAL, freeit: super::super::Foundation::BOOLEAN) -> u32; } ldap_parse_extended_resultW(::core::mem::transmute(connection), ::core::mem::transmute(resultmessage), ::core::mem::transmute(resultoid), ::core::mem::transmute(resultdata), freeit.into()) @@ -3140,7 +3140,7 @@ where #[inline] pub unsafe fn ldap_parse_page_control(externalhandle: &mut ldap, servercontrols: &mut *mut ldapcontrolA, totalcount: &mut u32, cookie: &mut *mut LDAP_BERVAL) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_parse_page_control(externalhandle: *mut ldap, servercontrols: *mut *mut ldapcontrolA, totalcount: *mut u32, cookie: *mut *mut LDAP_BERVAL) -> u32; } ldap_parse_page_control(::core::mem::transmute(externalhandle), ::core::mem::transmute(servercontrols), ::core::mem::transmute(totalcount), ::core::mem::transmute(cookie)) @@ -3150,7 +3150,7 @@ pub unsafe fn ldap_parse_page_control(externalhandle: &mut ldap, servercontrols: #[inline] pub unsafe fn ldap_parse_page_controlA(externalhandle: &mut ldap, servercontrols: &mut *mut ldapcontrolA, totalcount: &mut u32, cookie: &mut *mut LDAP_BERVAL) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_parse_page_controlA(externalhandle: *mut ldap, servercontrols: *mut *mut ldapcontrolA, totalcount: *mut u32, cookie: *mut *mut LDAP_BERVAL) -> u32; } ldap_parse_page_controlA(::core::mem::transmute(externalhandle), ::core::mem::transmute(servercontrols), ::core::mem::transmute(totalcount), ::core::mem::transmute(cookie)) @@ -3160,7 +3160,7 @@ pub unsafe fn ldap_parse_page_controlA(externalhandle: &mut ldap, servercontrols #[inline] pub unsafe fn ldap_parse_page_controlW(externalhandle: &mut ldap, servercontrols: &mut *mut ldapcontrolW, totalcount: &mut u32, cookie: &mut *mut LDAP_BERVAL) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_parse_page_controlW(externalhandle: *mut ldap, servercontrols: *mut *mut ldapcontrolW, totalcount: *mut u32, cookie: *mut *mut LDAP_BERVAL) -> u32; } ldap_parse_page_controlW(::core::mem::transmute(externalhandle), ::core::mem::transmute(servercontrols), ::core::mem::transmute(totalcount), ::core::mem::transmute(cookie)) @@ -3170,7 +3170,7 @@ pub unsafe fn ldap_parse_page_controlW(externalhandle: &mut ldap, servercontrols #[inline] pub unsafe fn ldap_parse_reference(connection: &mut ldap, resultmessage: &mut LDAPMessage, referrals: &mut *mut ::windows::core::PSTR) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_parse_reference(connection: *mut ldap, resultmessage: *mut LDAPMessage, referrals: *mut *mut ::windows::core::PSTR) -> u32; } ldap_parse_reference(::core::mem::transmute(connection), ::core::mem::transmute(resultmessage), ::core::mem::transmute(referrals)) @@ -3180,7 +3180,7 @@ pub unsafe fn ldap_parse_reference(connection: &mut ldap, resultmessage: &mut LD #[inline] pub unsafe fn ldap_parse_referenceA(connection: &mut ldap, resultmessage: &mut LDAPMessage, referrals: &mut *mut ::windows::core::PSTR) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_parse_referenceA(connection: *mut ldap, resultmessage: *mut LDAPMessage, referrals: *mut *mut ::windows::core::PSTR) -> u32; } ldap_parse_referenceA(::core::mem::transmute(connection), ::core::mem::transmute(resultmessage), ::core::mem::transmute(referrals)) @@ -3190,7 +3190,7 @@ pub unsafe fn ldap_parse_referenceA(connection: &mut ldap, resultmessage: &mut L #[inline] pub unsafe fn ldap_parse_referenceW(connection: &mut ldap, resultmessage: &mut LDAPMessage, referrals: &mut *mut ::windows::core::PWSTR) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_parse_referenceW(connection: *mut ldap, resultmessage: *mut LDAPMessage, referrals: *mut *mut ::windows::core::PWSTR) -> u32; } ldap_parse_referenceW(::core::mem::transmute(connection), ::core::mem::transmute(resultmessage), ::core::mem::transmute(referrals)) @@ -3203,7 +3203,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_parse_result(connection: *mut ldap, resultmessage: *mut LDAPMessage, returncode: *mut u32, matcheddns: *mut ::windows::core::PSTR, errormessage: *mut ::windows::core::PSTR, referrals: *mut *mut ::windows::core::PSTR, servercontrols: *mut *mut *mut ldapcontrolA, freeit: super::super::Foundation::BOOLEAN) -> u32; } ldap_parse_result(::core::mem::transmute(connection), ::core::mem::transmute(resultmessage), ::core::mem::transmute(returncode), ::core::mem::transmute(matcheddns), ::core::mem::transmute(errormessage), ::core::mem::transmute(referrals), ::core::mem::transmute(servercontrols), freeit.into()) @@ -3216,7 +3216,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_parse_resultA(connection: *mut ldap, resultmessage: *mut LDAPMessage, returncode: *mut u32, matcheddns: *mut ::windows::core::PSTR, errormessage: *mut ::windows::core::PSTR, referrals: *mut *mut *mut i8, servercontrols: *mut *mut *mut ldapcontrolA, freeit: super::super::Foundation::BOOLEAN) -> u32; } ldap_parse_resultA(::core::mem::transmute(connection), ::core::mem::transmute(resultmessage), ::core::mem::transmute(returncode), ::core::mem::transmute(matcheddns), ::core::mem::transmute(errormessage), ::core::mem::transmute(referrals), ::core::mem::transmute(servercontrols), freeit.into()) @@ -3229,7 +3229,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_parse_resultW(connection: *mut ldap, resultmessage: *mut LDAPMessage, returncode: *mut u32, matcheddns: *mut ::windows::core::PWSTR, errormessage: *mut ::windows::core::PWSTR, referrals: *mut *mut *mut u16, servercontrols: *mut *mut *mut ldapcontrolW, freeit: super::super::Foundation::BOOLEAN) -> u32; } ldap_parse_resultW(::core::mem::transmute(connection), ::core::mem::transmute(resultmessage), ::core::mem::transmute(returncode), ::core::mem::transmute(matcheddns), ::core::mem::transmute(errormessage), ::core::mem::transmute(referrals), ::core::mem::transmute(servercontrols), freeit.into()) @@ -3239,7 +3239,7 @@ where #[inline] pub unsafe fn ldap_parse_sort_control(externalhandle: &mut ldap, control: &mut *mut ldapcontrolA, result: &mut u32, attribute: &mut ::windows::core::PSTR) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_parse_sort_control(externalhandle: *mut ldap, control: *mut *mut ldapcontrolA, result: *mut u32, attribute: *mut ::windows::core::PSTR) -> u32; } ldap_parse_sort_control(::core::mem::transmute(externalhandle), ::core::mem::transmute(control), ::core::mem::transmute(result), ::core::mem::transmute(attribute)) @@ -3249,7 +3249,7 @@ pub unsafe fn ldap_parse_sort_control(externalhandle: &mut ldap, control: &mut * #[inline] pub unsafe fn ldap_parse_sort_controlA(externalhandle: &mut ldap, control: &mut *mut ldapcontrolA, result: &mut u32, attribute: ::core::option::Option<&mut ::windows::core::PSTR>) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_parse_sort_controlA(externalhandle: *mut ldap, control: *mut *mut ldapcontrolA, result: *mut u32, attribute: *mut ::windows::core::PSTR) -> u32; } ldap_parse_sort_controlA(::core::mem::transmute(externalhandle), ::core::mem::transmute(control), ::core::mem::transmute(result), ::core::mem::transmute(attribute)) @@ -3259,7 +3259,7 @@ pub unsafe fn ldap_parse_sort_controlA(externalhandle: &mut ldap, control: &mut #[inline] pub unsafe fn ldap_parse_sort_controlW(externalhandle: &mut ldap, control: &mut *mut ldapcontrolW, result: &mut u32, attribute: ::core::option::Option<&mut ::windows::core::PWSTR>) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_parse_sort_controlW(externalhandle: *mut ldap, control: *mut *mut ldapcontrolW, result: *mut u32, attribute: *mut ::windows::core::PWSTR) -> u32; } ldap_parse_sort_controlW(::core::mem::transmute(externalhandle), ::core::mem::transmute(control), ::core::mem::transmute(result), ::core::mem::transmute(attribute)) @@ -3269,7 +3269,7 @@ pub unsafe fn ldap_parse_sort_controlW(externalhandle: &mut ldap, control: &mut #[inline] pub unsafe fn ldap_parse_vlv_controlA(externalhandle: &mut ldap, control: &mut *mut ldapcontrolA, targetpos: &mut u32, listcount: &mut u32, context: &mut *mut LDAP_BERVAL, errcode: &mut i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_parse_vlv_controlA(externalhandle: *mut ldap, control: *mut *mut ldapcontrolA, targetpos: *mut u32, listcount: *mut u32, context: *mut *mut LDAP_BERVAL, errcode: *mut i32) -> i32; } ldap_parse_vlv_controlA(::core::mem::transmute(externalhandle), ::core::mem::transmute(control), ::core::mem::transmute(targetpos), ::core::mem::transmute(listcount), ::core::mem::transmute(context), ::core::mem::transmute(errcode)) @@ -3279,7 +3279,7 @@ pub unsafe fn ldap_parse_vlv_controlA(externalhandle: &mut ldap, control: &mut * #[inline] pub unsafe fn ldap_parse_vlv_controlW(externalhandle: &mut ldap, control: &mut *mut ldapcontrolW, targetpos: &mut u32, listcount: &mut u32, context: &mut *mut LDAP_BERVAL, errcode: &mut i32) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_parse_vlv_controlW(externalhandle: *mut ldap, control: *mut *mut ldapcontrolW, targetpos: *mut u32, listcount: *mut u32, context: *mut *mut LDAP_BERVAL, errcode: *mut i32) -> i32; } ldap_parse_vlv_controlW(::core::mem::transmute(externalhandle), ::core::mem::transmute(control), ::core::mem::transmute(targetpos), ::core::mem::transmute(listcount), ::core::mem::transmute(context), ::core::mem::transmute(errcode)) @@ -3291,7 +3291,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_perror(ld: *mut ldap, msg: ::windows::core::PCSTR); } ldap_perror(::core::mem::transmute(ld), msg.into()) @@ -3306,7 +3306,7 @@ where P2: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_rename_ext(ld: *mut ldap, dn: ::windows::core::PCSTR, newrdn: ::windows::core::PCSTR, newparent: ::windows::core::PCSTR, deleteoldrdn: i32, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; } ldap_rename_ext(::core::mem::transmute(ld), dn.into(), newrdn.into(), newparent.into(), deleteoldrdn, ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(messagenumber)) @@ -3321,7 +3321,7 @@ where P2: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_rename_extA(ld: *mut ldap, dn: ::windows::core::PCSTR, newrdn: ::windows::core::PCSTR, newparent: ::windows::core::PCSTR, deleteoldrdn: i32, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, messagenumber: *mut u32) -> u32; } ldap_rename_extA(::core::mem::transmute(ld), dn.into(), newrdn.into(), newparent.into(), deleteoldrdn, ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(messagenumber)) @@ -3336,7 +3336,7 @@ where P2: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_rename_extW(ld: *mut ldap, dn: ::windows::core::PCWSTR, newrdn: ::windows::core::PCWSTR, newparent: ::windows::core::PCWSTR, deleteoldrdn: i32, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW, messagenumber: *mut u32) -> u32; } ldap_rename_extW(::core::mem::transmute(ld), dn.into(), newrdn.into(), newparent.into(), deleteoldrdn, ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(messagenumber)) @@ -3351,7 +3351,7 @@ where P2: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_rename_ext_s(ld: *mut ldap, dn: ::windows::core::PCSTR, newrdn: ::windows::core::PCSTR, newparent: ::windows::core::PCSTR, deleteoldrdn: i32, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA) -> u32; } ldap_rename_ext_s(::core::mem::transmute(ld), dn.into(), newrdn.into(), newparent.into(), deleteoldrdn, ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols)) @@ -3366,7 +3366,7 @@ where P2: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_rename_ext_sA(ld: *mut ldap, dn: ::windows::core::PCSTR, newrdn: ::windows::core::PCSTR, newparent: ::windows::core::PCSTR, deleteoldrdn: i32, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA) -> u32; } ldap_rename_ext_sA(::core::mem::transmute(ld), dn.into(), newrdn.into(), newparent.into(), deleteoldrdn, ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols)) @@ -3381,7 +3381,7 @@ where P2: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_rename_ext_sW(ld: *mut ldap, dn: ::windows::core::PCWSTR, newrdn: ::windows::core::PCWSTR, newparent: ::windows::core::PCWSTR, deleteoldrdn: i32, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW) -> u32; } ldap_rename_ext_sW(::core::mem::transmute(ld), dn.into(), newrdn.into(), newparent.into(), deleteoldrdn, ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols)) @@ -3391,7 +3391,7 @@ where #[inline] pub unsafe fn ldap_result(ld: &mut ldap, msgid: u32, all: u32, timeout: ::core::option::Option<&LDAP_TIMEVAL>, res: ::core::option::Option<&mut *mut LDAPMessage>) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_result(ld: *mut ldap, msgid: u32, all: u32, timeout: *const LDAP_TIMEVAL, res: *mut *mut LDAPMessage) -> u32; } ldap_result(::core::mem::transmute(ld), msgid, all, ::core::mem::transmute(timeout), ::core::mem::transmute(res)) @@ -3401,7 +3401,7 @@ pub unsafe fn ldap_result(ld: &mut ldap, msgid: u32, all: u32, timeout: ::core:: #[inline] pub unsafe fn ldap_result2error(ld: &mut ldap, res: &mut LDAPMessage, freeit: u32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_result2error(ld: *mut ldap, res: *mut LDAPMessage, freeit: u32) -> u32; } ldap_result2error(::core::mem::transmute(ld), ::core::mem::transmute(res), freeit) @@ -3415,7 +3415,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_sasl_bindA(externalhandle: *mut ldap, distname: ::windows::core::PCSTR, authmechanism: ::windows::core::PCSTR, cred: *const LDAP_BERVAL, serverctrls: *mut *mut ldapcontrolA, clientctrls: *mut *mut ldapcontrolA, messagenumber: *mut i32) -> i32; } ldap_sasl_bindA(::core::mem::transmute(externalhandle), distname.into(), authmechanism.into(), ::core::mem::transmute(cred), ::core::mem::transmute(serverctrls), ::core::mem::transmute(clientctrls), ::core::mem::transmute(messagenumber)) @@ -3429,7 +3429,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_sasl_bindW(externalhandle: *mut ldap, distname: ::windows::core::PCWSTR, authmechanism: ::windows::core::PCWSTR, cred: *const LDAP_BERVAL, serverctrls: *mut *mut ldapcontrolW, clientctrls: *mut *mut ldapcontrolW, messagenumber: *mut i32) -> i32; } ldap_sasl_bindW(::core::mem::transmute(externalhandle), distname.into(), authmechanism.into(), ::core::mem::transmute(cred), ::core::mem::transmute(serverctrls), ::core::mem::transmute(clientctrls), ::core::mem::transmute(messagenumber)) @@ -3443,7 +3443,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_sasl_bind_sA(externalhandle: *mut ldap, distname: ::windows::core::PCSTR, authmechanism: ::windows::core::PCSTR, cred: *const LDAP_BERVAL, serverctrls: *mut *mut ldapcontrolA, clientctrls: *mut *mut ldapcontrolA, serverdata: *mut *mut LDAP_BERVAL) -> i32; } ldap_sasl_bind_sA(::core::mem::transmute(externalhandle), distname.into(), authmechanism.into(), ::core::mem::transmute(cred), ::core::mem::transmute(serverctrls), ::core::mem::transmute(clientctrls), ::core::mem::transmute(serverdata)) @@ -3457,7 +3457,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_sasl_bind_sW(externalhandle: *mut ldap, distname: ::windows::core::PCWSTR, authmechanism: ::windows::core::PCWSTR, cred: *const LDAP_BERVAL, serverctrls: *mut *mut ldapcontrolW, clientctrls: *mut *mut ldapcontrolW, serverdata: *mut *mut LDAP_BERVAL) -> i32; } ldap_sasl_bind_sW(::core::mem::transmute(externalhandle), distname.into(), authmechanism.into(), ::core::mem::transmute(cred), ::core::mem::transmute(serverctrls), ::core::mem::transmute(clientctrls), ::core::mem::transmute(serverdata)) @@ -3470,7 +3470,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_search(ld: *mut ldap, base: ::windows::core::PCSTR, scope: u32, filter: ::windows::core::PCSTR, attrs: *const *const i8, attrsonly: u32) -> u32; } ldap_search(::core::mem::transmute(ld), base.into(), scope, filter.into(), ::core::mem::transmute(attrs), attrsonly) @@ -3483,7 +3483,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_searchA(ld: *mut ldap, base: ::windows::core::PCSTR, scope: u32, filter: ::windows::core::PCSTR, attrs: *const *const i8, attrsonly: u32) -> u32; } ldap_searchA(::core::mem::transmute(ld), base.into(), scope, filter.into(), ::core::mem::transmute(attrs), attrsonly) @@ -3496,7 +3496,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_searchW(ld: *mut ldap, base: ::windows::core::PCWSTR, scope: u32, filter: ::windows::core::PCWSTR, attrs: *const *const u16, attrsonly: u32) -> u32; } ldap_searchW(::core::mem::transmute(ld), base.into(), scope, filter.into(), ::core::mem::transmute(attrs), attrsonly) @@ -3505,7 +3505,7 @@ where #[inline] pub unsafe fn ldap_search_abandon_page(externalhandle: &mut ldap, searchblock: &mut ldapsearch) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_search_abandon_page(externalhandle: *mut ldap, searchblock: *mut ldapsearch) -> u32; } ldap_search_abandon_page(::core::mem::transmute(externalhandle), ::core::mem::transmute(searchblock)) @@ -3519,7 +3519,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_search_ext(ld: *mut ldap, base: ::windows::core::PCSTR, scope: u32, filter: ::windows::core::PCSTR, attrs: *const *const i8, attrsonly: u32, servercontrols: *const *const ldapcontrolA, clientcontrols: *const *const ldapcontrolA, timelimit: u32, sizelimit: u32, messagenumber: *mut u32) -> u32; } ldap_search_ext(::core::mem::transmute(ld), base.into(), scope, filter.into(), ::core::mem::transmute(attrs), attrsonly, ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), timelimit, sizelimit, ::core::mem::transmute(messagenumber)) @@ -3533,7 +3533,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_search_extA(ld: *mut ldap, base: ::windows::core::PCSTR, scope: u32, filter: ::windows::core::PCSTR, attrs: *const *const i8, attrsonly: u32, servercontrols: *const *const ldapcontrolA, clientcontrols: *const *const ldapcontrolA, timelimit: u32, sizelimit: u32, messagenumber: *mut u32) -> u32; } ldap_search_extA(::core::mem::transmute(ld), base.into(), scope, filter.into(), ::core::mem::transmute(attrs), attrsonly, ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), timelimit, sizelimit, ::core::mem::transmute(messagenumber)) @@ -3547,7 +3547,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_search_extW(ld: *mut ldap, base: ::windows::core::PCWSTR, scope: u32, filter: ::windows::core::PCWSTR, attrs: *const *const u16, attrsonly: u32, servercontrols: *const *const ldapcontrolW, clientcontrols: *const *const ldapcontrolW, timelimit: u32, sizelimit: u32, messagenumber: *mut u32) -> u32; } ldap_search_extW(::core::mem::transmute(ld), base.into(), scope, filter.into(), ::core::mem::transmute(attrs), attrsonly, ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), timelimit, sizelimit, ::core::mem::transmute(messagenumber)) @@ -3561,7 +3561,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_search_ext_s(ld: *mut ldap, base: ::windows::core::PCSTR, scope: u32, filter: ::windows::core::PCSTR, attrs: *const *const i8, attrsonly: u32, servercontrols: *const *const ldapcontrolA, clientcontrols: *const *const ldapcontrolA, timeout: *mut LDAP_TIMEVAL, sizelimit: u32, res: *mut *mut LDAPMessage) -> u32; } ldap_search_ext_s(::core::mem::transmute(ld), base.into(), scope, filter.into(), ::core::mem::transmute(attrs), attrsonly, ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(timeout), sizelimit, ::core::mem::transmute(res)) @@ -3575,7 +3575,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_search_ext_sA(ld: *mut ldap, base: ::windows::core::PCSTR, scope: u32, filter: ::windows::core::PCSTR, attrs: *const *const i8, attrsonly: u32, servercontrols: *const *const ldapcontrolA, clientcontrols: *const *const ldapcontrolA, timeout: *mut LDAP_TIMEVAL, sizelimit: u32, res: *mut *mut LDAPMessage) -> u32; } ldap_search_ext_sA(::core::mem::transmute(ld), base.into(), scope, filter.into(), ::core::mem::transmute(attrs), attrsonly, ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(timeout), sizelimit, ::core::mem::transmute(res)) @@ -3589,7 +3589,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_search_ext_sW(ld: *mut ldap, base: ::windows::core::PCWSTR, scope: u32, filter: ::windows::core::PCWSTR, attrs: *const *const u16, attrsonly: u32, servercontrols: *const *const ldapcontrolW, clientcontrols: *const *const ldapcontrolW, timeout: *mut LDAP_TIMEVAL, sizelimit: u32, res: *mut *mut LDAPMessage) -> u32; } ldap_search_ext_sW(::core::mem::transmute(ld), base.into(), scope, filter.into(), ::core::mem::transmute(attrs), attrsonly, ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), ::core::mem::transmute(timeout), sizelimit, ::core::mem::transmute(res)) @@ -3603,7 +3603,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_search_init_page(externalhandle: *mut ldap, distinguishedname: ::windows::core::PCSTR, scopeofsearch: u32, searchfilter: ::windows::core::PCSTR, attributelist: *mut *mut i8, attributesonly: u32, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, pagetimelimit: u32, totalsizelimit: u32, sortkeys: *mut *mut ldapsortkeyA) -> *mut ldapsearch; } ldap_search_init_page(::core::mem::transmute(externalhandle), distinguishedname.into(), scopeofsearch, searchfilter.into(), ::core::mem::transmute(attributelist), attributesonly, ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), pagetimelimit, totalsizelimit, ::core::mem::transmute(sortkeys)) @@ -3617,7 +3617,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_search_init_pageA(externalhandle: *mut ldap, distinguishedname: ::windows::core::PCSTR, scopeofsearch: u32, searchfilter: ::windows::core::PCSTR, attributelist: *const *const i8, attributesonly: u32, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA, pagetimelimit: u32, totalsizelimit: u32, sortkeys: *mut *mut ldapsortkeyA) -> *mut ldapsearch; } ldap_search_init_pageA(::core::mem::transmute(externalhandle), distinguishedname.into(), scopeofsearch, searchfilter.into(), ::core::mem::transmute(attributelist), attributesonly, ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), pagetimelimit, totalsizelimit, ::core::mem::transmute(sortkeys)) @@ -3631,7 +3631,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_search_init_pageW(externalhandle: *mut ldap, distinguishedname: ::windows::core::PCWSTR, scopeofsearch: u32, searchfilter: ::windows::core::PCWSTR, attributelist: *const *const u16, attributesonly: u32, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW, pagetimelimit: u32, totalsizelimit: u32, sortkeys: *mut *mut ldapsortkeyW) -> *mut ldapsearch; } ldap_search_init_pageW(::core::mem::transmute(externalhandle), distinguishedname.into(), scopeofsearch, searchfilter.into(), ::core::mem::transmute(attributelist), attributesonly, ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols), pagetimelimit, totalsizelimit, ::core::mem::transmute(sortkeys)) @@ -3645,7 +3645,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_search_s(ld: *mut ldap, base: ::windows::core::PCSTR, scope: u32, filter: ::windows::core::PCSTR, attrs: *const *const i8, attrsonly: u32, res: *mut *mut LDAPMessage) -> u32; } ldap_search_s(::core::mem::transmute(ld), base.into(), scope, filter.into(), ::core::mem::transmute(attrs), attrsonly, ::core::mem::transmute(res)) @@ -3659,7 +3659,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_search_sA(ld: *mut ldap, base: ::windows::core::PCSTR, scope: u32, filter: ::windows::core::PCSTR, attrs: *const *const i8, attrsonly: u32, res: *mut *mut LDAPMessage) -> u32; } ldap_search_sA(::core::mem::transmute(ld), base.into(), scope, filter.into(), ::core::mem::transmute(attrs), attrsonly, ::core::mem::transmute(res)) @@ -3673,7 +3673,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_search_sW(ld: *mut ldap, base: ::windows::core::PCWSTR, scope: u32, filter: ::windows::core::PCWSTR, attrs: *const *const u16, attrsonly: u32, res: *mut *mut LDAPMessage) -> u32; } ldap_search_sW(::core::mem::transmute(ld), base.into(), scope, filter.into(), ::core::mem::transmute(attrs), attrsonly, ::core::mem::transmute(res)) @@ -3687,7 +3687,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_search_st(ld: *mut ldap, base: ::windows::core::PCSTR, scope: u32, filter: ::windows::core::PCSTR, attrs: *const *const i8, attrsonly: u32, timeout: *mut LDAP_TIMEVAL, res: *mut *mut LDAPMessage) -> u32; } ldap_search_st(::core::mem::transmute(ld), base.into(), scope, filter.into(), ::core::mem::transmute(attrs), attrsonly, ::core::mem::transmute(timeout), ::core::mem::transmute(res)) @@ -3701,7 +3701,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_search_stA(ld: *mut ldap, base: ::windows::core::PCSTR, scope: u32, filter: ::windows::core::PCSTR, attrs: *const *const i8, attrsonly: u32, timeout: *mut LDAP_TIMEVAL, res: *mut *mut LDAPMessage) -> u32; } ldap_search_stA(::core::mem::transmute(ld), base.into(), scope, filter.into(), ::core::mem::transmute(attrs), attrsonly, ::core::mem::transmute(timeout), ::core::mem::transmute(res)) @@ -3715,7 +3715,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_search_stW(ld: *mut ldap, base: ::windows::core::PCWSTR, scope: u32, filter: ::windows::core::PCWSTR, attrs: *const *const u16, attrsonly: u32, timeout: *mut LDAP_TIMEVAL, res: *mut *mut LDAPMessage) -> u32; } ldap_search_stW(::core::mem::transmute(ld), base.into(), scope, filter.into(), ::core::mem::transmute(attrs), attrsonly, ::core::mem::transmute(timeout), ::core::mem::transmute(res)) @@ -3724,7 +3724,7 @@ where #[inline] pub unsafe fn ldap_set_dbg_flags(newflags: u32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_set_dbg_flags(newflags: u32) -> u32; } ldap_set_dbg_flags(newflags) @@ -3733,7 +3733,7 @@ pub unsafe fn ldap_set_dbg_flags(newflags: u32) -> u32 { #[inline] pub unsafe fn ldap_set_dbg_routine(debugprintroutine: DBGPRINT) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_set_dbg_routine(debugprintroutine: *mut ::core::ffi::c_void); } ldap_set_dbg_routine(::core::mem::transmute(debugprintroutine)) @@ -3742,7 +3742,7 @@ pub unsafe fn ldap_set_dbg_routine(debugprintroutine: DBGPRINT) { #[inline] pub unsafe fn ldap_set_option(ld: &mut ldap, option: i32, invalue: *const ::core::ffi::c_void) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_set_option(ld: *mut ldap, option: i32, invalue: *const ::core::ffi::c_void) -> u32; } ldap_set_option(::core::mem::transmute(ld), option, ::core::mem::transmute(invalue)) @@ -3751,7 +3751,7 @@ pub unsafe fn ldap_set_option(ld: &mut ldap, option: i32, invalue: *const ::core #[inline] pub unsafe fn ldap_set_optionW(ld: &mut ldap, option: i32, invalue: *const ::core::ffi::c_void) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_set_optionW(ld: *mut ldap, option: i32, invalue: *const ::core::ffi::c_void) -> u32; } ldap_set_optionW(::core::mem::transmute(ld), option, ::core::mem::transmute(invalue)) @@ -3764,7 +3764,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_simple_bind(ld: *mut ldap, dn: ::windows::core::PCSTR, passwd: ::windows::core::PCSTR) -> u32; } ldap_simple_bind(::core::mem::transmute(ld), dn.into(), passwd.into()) @@ -3777,7 +3777,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_simple_bindA(ld: *mut ldap, dn: ::windows::core::PCSTR, passwd: ::windows::core::PCSTR) -> u32; } ldap_simple_bindA(::core::mem::transmute(ld), dn.into(), passwd.into()) @@ -3790,7 +3790,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_simple_bindW(ld: *mut ldap, dn: ::windows::core::PCWSTR, passwd: ::windows::core::PCWSTR) -> u32; } ldap_simple_bindW(::core::mem::transmute(ld), dn.into(), passwd.into()) @@ -3803,7 +3803,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_simple_bind_s(ld: *mut ldap, dn: ::windows::core::PCSTR, passwd: ::windows::core::PCSTR) -> u32; } ldap_simple_bind_s(::core::mem::transmute(ld), dn.into(), passwd.into()) @@ -3816,7 +3816,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_simple_bind_sA(ld: *mut ldap, dn: ::windows::core::PCSTR, passwd: ::windows::core::PCSTR) -> u32; } ldap_simple_bind_sA(::core::mem::transmute(ld), dn.into(), passwd.into()) @@ -3829,7 +3829,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_simple_bind_sW(ld: *mut ldap, dn: ::windows::core::PCWSTR, passwd: ::windows::core::PCWSTR) -> u32; } ldap_simple_bind_sW(::core::mem::transmute(ld), dn.into(), passwd.into()) @@ -3841,7 +3841,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_sslinit(hostname: ::windows::core::PCSTR, portnumber: u32, secure: i32) -> *mut ldap; } ldap_sslinit(hostname.into(), portnumber, secure) @@ -3853,7 +3853,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_sslinitA(hostname: ::windows::core::PCSTR, portnumber: u32, secure: i32) -> *mut ldap; } ldap_sslinitA(hostname.into(), portnumber, secure) @@ -3865,7 +3865,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_sslinitW(hostname: ::windows::core::PCWSTR, portnumber: u32, secure: i32) -> *mut ldap; } ldap_sslinitW(hostname.into(), portnumber, secure) @@ -3875,7 +3875,7 @@ where #[inline] pub unsafe fn ldap_start_tls_sA(externalhandle: &mut ldap, serverreturnvalue: &mut u32, result: &mut *mut LDAPMessage, servercontrols: &mut *mut ldapcontrolA, clientcontrols: &mut *mut ldapcontrolA) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_start_tls_sA(externalhandle: *mut ldap, serverreturnvalue: *mut u32, result: *mut *mut LDAPMessage, servercontrols: *mut *mut ldapcontrolA, clientcontrols: *mut *mut ldapcontrolA) -> u32; } ldap_start_tls_sA(::core::mem::transmute(externalhandle), ::core::mem::transmute(serverreturnvalue), ::core::mem::transmute(result), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols)) @@ -3885,7 +3885,7 @@ pub unsafe fn ldap_start_tls_sA(externalhandle: &mut ldap, serverreturnvalue: &m #[inline] pub unsafe fn ldap_start_tls_sW(externalhandle: &mut ldap, serverreturnvalue: &mut u32, result: &mut *mut LDAPMessage, servercontrols: &mut *mut ldapcontrolW, clientcontrols: &mut *mut ldapcontrolW) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_start_tls_sW(externalhandle: *mut ldap, serverreturnvalue: *mut u32, result: *mut *mut LDAPMessage, servercontrols: *mut *mut ldapcontrolW, clientcontrols: *mut *mut ldapcontrolW) -> u32; } ldap_start_tls_sW(::core::mem::transmute(externalhandle), ::core::mem::transmute(serverreturnvalue), ::core::mem::transmute(result), ::core::mem::transmute(servercontrols), ::core::mem::transmute(clientcontrols)) @@ -3895,7 +3895,7 @@ pub unsafe fn ldap_start_tls_sW(externalhandle: &mut ldap, serverreturnvalue: &m #[inline] pub unsafe fn ldap_startup(version: &mut ldap_version_info, instance: &mut super::super::Foundation::HANDLE) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_startup(version: *mut ldap_version_info, instance: *mut super::super::Foundation::HANDLE) -> u32; } ldap_startup(::core::mem::transmute(version), ::core::mem::transmute(instance)) @@ -3905,7 +3905,7 @@ pub unsafe fn ldap_startup(version: &mut ldap_version_info, instance: &mut super #[inline] pub unsafe fn ldap_stop_tls_s(externalhandle: &mut ldap) -> super::super::Foundation::BOOLEAN { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_stop_tls_s(externalhandle: *mut ldap) -> super::super::Foundation::BOOLEAN; } ldap_stop_tls_s(::core::mem::transmute(externalhandle)) @@ -3917,7 +3917,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_ufn2dn(ufn: ::windows::core::PCSTR, pdn: *mut ::windows::core::PSTR) -> u32; } ldap_ufn2dn(ufn.into(), ::core::mem::transmute(pdn)) @@ -3929,7 +3929,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_ufn2dnA(ufn: ::windows::core::PCSTR, pdn: *mut ::windows::core::PSTR) -> u32; } ldap_ufn2dnA(ufn.into(), ::core::mem::transmute(pdn)) @@ -3941,7 +3941,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_ufn2dnW(ufn: ::windows::core::PCWSTR, pdn: *mut ::windows::core::PWSTR) -> u32; } ldap_ufn2dnW(ufn.into(), ::core::mem::transmute(pdn)) @@ -3950,7 +3950,7 @@ where #[inline] pub unsafe fn ldap_unbind(ld: &mut ldap) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_unbind(ld: *mut ldap) -> u32; } ldap_unbind(::core::mem::transmute(ld)) @@ -3959,7 +3959,7 @@ pub unsafe fn ldap_unbind(ld: &mut ldap) -> u32 { #[inline] pub unsafe fn ldap_unbind_s(ld: &mut ldap) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_unbind_s(ld: *mut ldap) -> u32; } ldap_unbind_s(::core::mem::transmute(ld)) @@ -3968,7 +3968,7 @@ pub unsafe fn ldap_unbind_s(ld: &mut ldap) -> u32 { #[inline] pub unsafe fn ldap_value_free(vals: ::core::option::Option<&::windows::core::PSTR>) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_value_free(vals: *const ::windows::core::PSTR) -> u32; } ldap_value_free(::core::mem::transmute(vals)) @@ -3977,7 +3977,7 @@ pub unsafe fn ldap_value_free(vals: ::core::option::Option<&::windows::core::PST #[inline] pub unsafe fn ldap_value_freeA(vals: ::core::option::Option<&::windows::core::PSTR>) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_value_freeA(vals: *const ::windows::core::PSTR) -> u32; } ldap_value_freeA(::core::mem::transmute(vals)) @@ -3986,7 +3986,7 @@ pub unsafe fn ldap_value_freeA(vals: ::core::option::Option<&::windows::core::PS #[inline] pub unsafe fn ldap_value_freeW(vals: ::core::option::Option<&::windows::core::PWSTR>) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_value_freeW(vals: *const ::windows::core::PWSTR) -> u32; } ldap_value_freeW(::core::mem::transmute(vals)) @@ -3995,7 +3995,7 @@ pub unsafe fn ldap_value_freeW(vals: ::core::option::Option<&::windows::core::PW #[inline] pub unsafe fn ldap_value_free_len(vals: &mut *mut LDAP_BERVAL) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ldap_value_free_len(vals: *mut *mut LDAP_BERVAL) -> u32; } ldap_value_free_len(::core::mem::transmute(vals)) diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs index 6cf5099be9..621674950d 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs @@ -1139,7 +1139,7 @@ pub unsafe fn DetectAutoProxyUrl(pszautoproxyurl: &mut [u8], dwdetectflags: PROX #[inline] pub unsafe fn DoConnectoidsExist() -> super::super::Foundation::BOOL { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DoConnectoidsExist() -> super::super::Foundation::BOOL; } DoConnectoidsExist() @@ -8692,7 +8692,7 @@ pub unsafe fn IsHostInProxyBypassList(tscheme: INTERNET_SCHEME, lpszhost: &[u8]) #[inline] pub unsafe fn IsProfilesEnabled() -> super::super::Foundation::BOOL { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn IsProfilesEnabled() -> super::super::Foundation::BOOL; } IsProfilesEnabled() @@ -8910,7 +8910,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PerformOperationOverUrlCacheA(pszurlsearchpattern: ::windows::core::PCSTR, dwflags: u32, dwfilter: u32, groupid: i64, preserved1: *mut ::core::ffi::c_void, pdwreserved2: *mut u32, preserved3: *mut ::core::ffi::c_void, op: *mut ::core::ffi::c_void, poperatordata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; } PerformOperationOverUrlCacheA(pszurlsearchpattern.into(), dwflags, dwfilter, groupid, ::core::mem::transmute(preserved1), ::core::mem::transmute(pdwreserved2), ::core::mem::transmute(preserved3), ::core::mem::transmute(op), ::core::mem::transmute(poperatordata)) @@ -9716,7 +9716,7 @@ pub unsafe fn UrlCacheFreeEntryInfo(pcacheentryinfo: &mut URLCACHE_ENTRY_INFO) { #[inline] pub unsafe fn UrlCacheFreeGlobalSpace(ulltargetsize: u64, dwfilter: u32) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn UrlCacheFreeGlobalSpace(ulltargetsize: u64, dwfilter: u32) -> u32; } UrlCacheFreeGlobalSpace(ulltargetsize, dwfilter) @@ -9747,7 +9747,7 @@ where #[inline] pub unsafe fn UrlCacheGetGlobalCacheSize(dwfilter: u32, pullsize: &mut u64, pulllimit: &mut u64) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn UrlCacheGetGlobalCacheSize(dwfilter: u32, pullsize: *mut u64, pulllimit: *mut u64) -> u32; } UrlCacheGetGlobalCacheSize(dwfilter, ::core::mem::transmute(pullsize), ::core::mem::transmute(pulllimit)) diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs index 67d28e4b03..9f817ebaf0 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs @@ -911,7 +911,7 @@ pub type CredFreeCredentialsFn = ::core::option::Option ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn CredMarshalTargetInfo(intargetinfo: *const super::super::Credentials::CREDENTIAL_TARGET_INFORMATIONW, buffer: *mut *mut u16, buffersize: *mut u32) -> super::super::super::Foundation::NTSTATUS; } CredMarshalTargetInfo(::core::mem::transmute(intargetinfo), ::core::mem::transmute(buffer), ::core::mem::transmute(buffersize)).ok() @@ -927,7 +927,7 @@ pub type CredReadFn = ::core::option::Option, retactualsize: ::core::option::Option<&mut u32>) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn CredUnmarshalTargetInfo(buffer: *const u16, buffersize: u32, rettargetinfo: *mut *mut super::super::Credentials::CREDENTIAL_TARGET_INFORMATIONW, retactualsize: *mut u32) -> super::super::super::Foundation::NTSTATUS; } CredUnmarshalTargetInfo(::core::mem::transmute(buffer.as_ptr()), buffer.len() as _, ::core::mem::transmute(rettargetinfo), ::core::mem::transmute(retactualsize)).ok() diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs index d4239cef5f..489a9f4630 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs @@ -2540,7 +2540,7 @@ where P4: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn AuthzInitializeObjectAccessAuditEvent(flags: AUTHZ_INITIALIZE_OBJECT_ACCESS_AUDIT_EVENT_FLAGS, hauditeventtype: AUTHZ_AUDIT_EVENT_TYPE_HANDLE, szoperationtype: ::windows::core::PCWSTR, szobjecttype: ::windows::core::PCWSTR, szobjectname: ::windows::core::PCWSTR, szadditionalinfo: ::windows::core::PCWSTR, phauditevent: *mut isize, dwadditionalparametercount: u32) -> super::super::Foundation::BOOL; } AuthzInitializeObjectAccessAuditEvent(flags, hauditeventtype.into(), szoperationtype.into(), szobjecttype.into(), szobjectname.into(), szadditionalinfo.into(), ::core::mem::transmute(phauditevent), dwadditionalparametercount) @@ -2558,7 +2558,7 @@ where P5: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn AuthzInitializeObjectAccessAuditEvent2(flags: u32, hauditeventtype: AUTHZ_AUDIT_EVENT_TYPE_HANDLE, szoperationtype: ::windows::core::PCWSTR, szobjecttype: ::windows::core::PCWSTR, szobjectname: ::windows::core::PCWSTR, szadditionalinfo: ::windows::core::PCWSTR, szadditionalinfo2: ::windows::core::PCWSTR, phauditevent: *mut isize, dwadditionalparametercount: u32) -> super::super::Foundation::BOOL; } AuthzInitializeObjectAccessAuditEvent2(flags, hauditeventtype.into(), szoperationtype.into(), szobjecttype.into(), szobjectname.into(), szadditionalinfo.into(), szadditionalinfo2.into(), ::core::mem::transmute(phauditevent), dwadditionalparametercount) @@ -2692,7 +2692,7 @@ where P1: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn AuthzReportSecurityEvent(dwflags: u32, heventprovider: AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE, dwauditid: u32, pusersid: super::super::Foundation::PSID, dwcount: u32) -> super::super::Foundation::BOOL; } AuthzReportSecurityEvent(dwflags, heventprovider.into(), dwauditid, pusersid.into(), dwcount) diff --git a/crates/libs/windows/src/Windows/Win32/Security/Credentials/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Credentials/mod.rs index e1a9bf3407..36c049a7c7 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Credentials/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Credentials/mod.rs @@ -1746,7 +1746,7 @@ pub unsafe fn GetOpenCardNameW(param0: &mut OPENCARDNAMEW) -> i32 { #[inline] pub unsafe fn KeyCredentialManagerFreeInformation(keycredentialmanagerinfo: &KeyCredentialManagerInfo) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn KeyCredentialManagerFreeInformation(keycredentialmanagerinfo: *const KeyCredentialManagerInfo); } KeyCredentialManagerFreeInformation(::core::mem::transmute(keycredentialmanagerinfo)) diff --git a/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs index 3eab60db4a..4010eb1581 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs @@ -665,7 +665,7 @@ pub unsafe fn SrpHostingInitialize(version: SRPHOSTING_VERSION, r#type: SRPHOSTI #[inline] pub unsafe fn SrpHostingTerminate(r#type: SRPHOSTING_TYPE) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn SrpHostingTerminate(r#type: SRPHOSTING_TYPE); } SrpHostingTerminate(r#type) @@ -678,7 +678,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn SrpIsTokenService(tokenhandle: super::super::Foundation::HANDLE, istokenservice: *mut u8) -> super::super::Foundation::NTSTATUS; } SrpIsTokenService(tokenhandle.into(), ::core::mem::transmute(istokenservice)).ok() diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Cabinets/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Cabinets/mod.rs index 641f1d1d73..570adf58a0 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Cabinets/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Cabinets/mod.rs @@ -120,7 +120,7 @@ where P2: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn FCIAddFile(hfci: *const ::core::ffi::c_void, pszsourcefile: ::windows::core::PCSTR, pszfilename: ::windows::core::PCSTR, fexecute: super::super::Foundation::BOOL, pfnfcignc: *mut ::core::ffi::c_void, pfnfcis: *mut ::core::ffi::c_void, pfnfcigoi: *mut ::core::ffi::c_void, typecompress: u16) -> super::super::Foundation::BOOL; } FCIAddFile(::core::mem::transmute(hfci), pszsourcefile.into(), pszfilename.into(), fexecute.into(), ::core::mem::transmute(pfnfcignc), ::core::mem::transmute(pfnfcis), ::core::mem::transmute(pfnfcigoi), typecompress) @@ -130,7 +130,7 @@ where #[inline] pub unsafe fn FCICreate(perf: &ERF, pfnfcifp: PFNFCIFILEPLACED, pfna: PFNFCIALLOC, pfnf: PFNFCIFREE, pfnopen: PFNFCIOPEN, pfnread: PFNFCIREAD, pfnwrite: PFNFCIWRITE, pfnclose: PFNFCICLOSE, pfnseek: PFNFCISEEK, pfndelete: PFNFCIDELETE, pfnfcigtf: PFNFCIGETTEMPFILE, pccab: &CCAB, pv: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn FCICreate(perf: *const ERF, pfnfcifp: *mut ::core::ffi::c_void, pfna: *mut ::core::ffi::c_void, pfnf: *mut ::core::ffi::c_void, pfnopen: *mut ::core::ffi::c_void, pfnread: *mut ::core::ffi::c_void, pfnwrite: *mut ::core::ffi::c_void, pfnclose: *mut ::core::ffi::c_void, pfnseek: *mut ::core::ffi::c_void, pfndelete: *mut ::core::ffi::c_void, pfnfcigtf: *mut ::core::ffi::c_void, pccab: *const CCAB, pv: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void; } FCICreate(::core::mem::transmute(perf), ::core::mem::transmute(pfnfcifp), ::core::mem::transmute(pfna), ::core::mem::transmute(pfnf), ::core::mem::transmute(pfnopen), ::core::mem::transmute(pfnread), ::core::mem::transmute(pfnwrite), ::core::mem::transmute(pfnclose), ::core::mem::transmute(pfnseek), ::core::mem::transmute(pfndelete), ::core::mem::transmute(pfnfcigtf), ::core::mem::transmute(pccab), ::core::mem::transmute(pv)) @@ -140,7 +140,7 @@ pub unsafe fn FCICreate(perf: &ERF, pfnfcifp: PFNFCIFILEPLACED, pfna: PFNFCIALLO #[inline] pub unsafe fn FCIDestroy(hfci: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn FCIDestroy(hfci: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; } FCIDestroy(::core::mem::transmute(hfci)) @@ -196,7 +196,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn FCIFlushCabinet(hfci: *const ::core::ffi::c_void, fgetnextcab: super::super::Foundation::BOOL, pfnfcignc: *mut ::core::ffi::c_void, pfnfcis: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; } FCIFlushCabinet(::core::mem::transmute(hfci), fgetnextcab.into(), ::core::mem::transmute(pfnfcignc), ::core::mem::transmute(pfnfcis)) @@ -206,7 +206,7 @@ where #[inline] pub unsafe fn FCIFlushFolder(hfci: *const ::core::ffi::c_void, pfnfcignc: PFNFCIGETNEXTCABINET, pfnfcis: PFNFCISTATUS) -> super::super::Foundation::BOOL { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn FCIFlushFolder(hfci: *const ::core::ffi::c_void, pfnfcignc: *mut ::core::ffi::c_void, pfnfcis: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; } FCIFlushFolder(::core::mem::transmute(hfci), ::core::mem::transmute(pfnfcignc), ::core::mem::transmute(pfnfcis)) @@ -294,7 +294,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn FDICopy(hfdi: *const ::core::ffi::c_void, pszcabinet: ::windows::core::PCSTR, pszcabpath: ::windows::core::PCSTR, flags: i32, pfnfdin: *mut ::core::ffi::c_void, pfnfdid: *mut ::core::ffi::c_void, pvuser: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; } FDICopy(::core::mem::transmute(hfdi), pszcabinet.into(), pszcabpath.into(), flags, ::core::mem::transmute(pfnfdin), ::core::mem::transmute(pfnfdid), ::core::mem::transmute(pvuser)) @@ -304,7 +304,7 @@ where #[inline] pub unsafe fn FDICreate(pfnalloc: PFNALLOC, pfnfree: PFNFREE, pfnopen: PFNOPEN, pfnread: PFNREAD, pfnwrite: PFNWRITE, pfnclose: PFNCLOSE, pfnseek: PFNSEEK, cputype: FDICREATE_CPU_TYPE, perf: &mut ERF) -> *mut ::core::ffi::c_void { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn FDICreate(pfnalloc: *mut ::core::ffi::c_void, pfnfree: *mut ::core::ffi::c_void, pfnopen: *mut ::core::ffi::c_void, pfnread: *mut ::core::ffi::c_void, pfnwrite: *mut ::core::ffi::c_void, pfnclose: *mut ::core::ffi::c_void, pfnseek: *mut ::core::ffi::c_void, cputype: FDICREATE_CPU_TYPE, perf: *mut ERF) -> *mut ::core::ffi::c_void; } FDICreate(::core::mem::transmute(pfnalloc), ::core::mem::transmute(pfnfree), ::core::mem::transmute(pfnopen), ::core::mem::transmute(pfnread), ::core::mem::transmute(pfnwrite), ::core::mem::transmute(pfnclose), ::core::mem::transmute(pfnseek), cputype, ::core::mem::transmute(perf)) @@ -535,7 +535,7 @@ impl ::core::fmt::Debug for FDIDECRYPTTYPE { #[inline] pub unsafe fn FDIDestroy(hfdi: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn FDIDestroy(hfdi: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; } FDIDestroy(::core::mem::transmute(hfdi)) @@ -594,7 +594,7 @@ impl ::core::fmt::Debug for FDIERROR { #[inline] pub unsafe fn FDIIsCabinet(hfdi: *const ::core::ffi::c_void, hf: isize, pfdici: ::core::option::Option<&mut FDICABINETINFO>) -> super::super::Foundation::BOOL { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn FDIIsCabinet(hfdi: *const ::core::ffi::c_void, hf: isize, pfdici: *mut FDICABINETINFO) -> super::super::Foundation::BOOL; } FDIIsCabinet(::core::mem::transmute(hfdi), hf, ::core::mem::transmute(pfdici)) @@ -764,7 +764,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn FDITruncateCabinet(hfdi: *const ::core::ffi::c_void, pszcabinetname: ::windows::core::PCSTR, ifoldertodelete: u16) -> super::super::Foundation::BOOL; } FDITruncateCabinet(::core::mem::transmute(hfdi), pszcabinetname.into(), ifoldertodelete) diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs index 9b4074ab58..b739c9896d 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs @@ -6899,7 +6899,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn GetCurrentClockTransactionManager(transactionmanagerhandle: super::super::Foundation::HANDLE, tmvirtualclock: *mut i64) -> super::super::Foundation::BOOL; } GetCurrentClockTransactionManager(transactionmanagerhandle.into(), ::core::mem::transmute(tmvirtualclock)) @@ -7762,7 +7762,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn GetTransactionManagerId(transactionmanagerhandle: super::super::Foundation::HANDLE, transactionmanagerid: *mut ::windows::core::GUID) -> super::super::Foundation::BOOL; } GetTransactionManagerId(transactionmanagerhandle.into(), ::core::mem::transmute(transactionmanagerid)) diff --git a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs index e2d042e310..126fc2c312 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs @@ -2354,7 +2354,7 @@ impl ::core::fmt::Debug for GetAppTrackerDataFlags { #[inline] pub unsafe fn GetDispenserManager() -> ::windows::core::Result { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn GetDispenserManager(param0: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } let mut result__ = ::core::mem::MaybeUninit::zeroed(); @@ -12596,7 +12596,7 @@ impl ::core::default::Default for RECYCLE_INFO { #[inline] pub unsafe fn RecycleSurrogate(lreasoncode: i32) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RecycleSurrogate(lreasoncode: i32) -> ::windows::core::HRESULT; } RecycleSurrogate(lreasoncode).ok() @@ -12635,7 +12635,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn SafeRef(rid: *const ::windows::core::GUID, punk: *mut ::core::ffi::c_void) -> *mut ::core::ffi::c_void; } SafeRef(::core::mem::transmute(rid), punk.into().abi()) diff --git a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs index 529c2f3ee3..1d5f978183 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs @@ -4444,7 +4444,7 @@ where #[inline] pub unsafe fn PxeProviderFreeInfo(pprovider: &PXE_PROVIDER) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PxeProviderFreeInfo(pprovider: *const PXE_PROVIDER) -> u32; } PxeProviderFreeInfo(::core::mem::transmute(pprovider)) @@ -4536,7 +4536,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn PxeTrace(hprovider: super::super::Foundation::HANDLE, severity: u32, pszformat: ::windows::core::PCWSTR) -> u32; } PxeTrace(hprovider.into(), severity, pszformat.into()) @@ -6079,7 +6079,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WdsCliLog(hsession: super::super::Foundation::HANDLE, ulloglevel: u32, ulmessagecode: u32) -> ::windows::core::HRESULT; } WdsCliLog(hsession.into(), ulloglevel, ulmessagecode).ok() @@ -6401,7 +6401,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WdsTransportServerTrace(hprovider: super::super::Foundation::HANDLE, severity: u32, pwszformat: ::windows::core::PCWSTR) -> ::windows::core::HRESULT; } WdsTransportServerTrace(hprovider.into(), severity, pwszformat.into()).ok() diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs index 8bc19e5ced..b93c880a7c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs @@ -54226,7 +54226,7 @@ where #[inline] pub unsafe fn RtlAddFunctionTable(functiontable: &[IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY], baseaddress: usize) -> super::super::super::Foundation::BOOLEAN { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RtlAddFunctionTable(functiontable: *const IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY, entrycount: u32, baseaddress: usize) -> super::super::super::Foundation::BOOLEAN; } RtlAddFunctionTable(::core::mem::transmute(functiontable.as_ptr()), functiontable.len() as _, baseaddress) @@ -54237,7 +54237,7 @@ pub unsafe fn RtlAddFunctionTable(functiontable: &[IMAGE_ARM64_RUNTIME_FUNCTION_ #[inline] pub unsafe fn RtlAddFunctionTable(functiontable: &[IMAGE_RUNTIME_FUNCTION_ENTRY], baseaddress: u64) -> super::super::super::Foundation::BOOLEAN { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RtlAddFunctionTable(functiontable: *const IMAGE_RUNTIME_FUNCTION_ENTRY, entrycount: u32, baseaddress: u64) -> super::super::super::Foundation::BOOLEAN; } RtlAddFunctionTable(::core::mem::transmute(functiontable.as_ptr()), functiontable.len() as _, baseaddress) @@ -54298,7 +54298,7 @@ pub unsafe fn RtlCaptureStackBackTrace(framestoskip: u32, backtrace: &mut [*mut #[inline] pub unsafe fn RtlDeleteFunctionTable(functiontable: &IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY) -> super::super::super::Foundation::BOOLEAN { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RtlDeleteFunctionTable(functiontable: *const IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY) -> super::super::super::Foundation::BOOLEAN; } RtlDeleteFunctionTable(::core::mem::transmute(functiontable)) @@ -54309,7 +54309,7 @@ pub unsafe fn RtlDeleteFunctionTable(functiontable: &IMAGE_ARM64_RUNTIME_FUNCTIO #[inline] pub unsafe fn RtlDeleteFunctionTable(functiontable: &IMAGE_RUNTIME_FUNCTION_ENTRY) -> super::super::super::Foundation::BOOLEAN { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RtlDeleteFunctionTable(functiontable: *const IMAGE_RUNTIME_FUNCTION_ENTRY) -> super::super::super::Foundation::BOOLEAN; } RtlDeleteFunctionTable(::core::mem::transmute(functiontable)) @@ -54343,7 +54343,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RtlInstallFunctionTableCallback(tableidentifier: u64, baseaddress: u64, length: u32, callback: *mut ::core::ffi::c_void, context: *const ::core::ffi::c_void, outofprocesscallbackdll: ::windows::core::PCWSTR) -> super::super::super::Foundation::BOOLEAN; } RtlInstallFunctionTableCallback(tableidentifier, baseaddress, length, ::core::mem::transmute(callback), ::core::mem::transmute(context), outofprocesscallbackdll.into()) @@ -54392,7 +54392,7 @@ pub unsafe fn RtlRaiseException(exceptionrecord: &EXCEPTION_RECORD) { #[inline] pub unsafe fn RtlRestoreContext(contextrecord: &CONTEXT, exceptionrecord: ::core::option::Option<&EXCEPTION_RECORD>) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RtlRestoreContext(contextrecord: *const CONTEXT, exceptionrecord: *const EXCEPTION_RECORD); } RtlRestoreContext(::core::mem::transmute(contextrecord), ::core::mem::transmute(exceptionrecord)) diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/mod.rs index c89b08dd7d..b864dcfbe9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/mod.rs @@ -6937,7 +6937,7 @@ pub unsafe fn TraceEventInstance(tracehandle: u64, eventtrace: &EVENT_INSTANCE_H #[inline] pub unsafe fn TraceMessage(loggerhandle: u64, messageflags: TRACE_MESSAGE_FLAGS, messageguid: &::windows::core::GUID, messagenumber: u16) -> super::super::super::Foundation::WIN32_ERROR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn TraceMessage(loggerhandle: u64, messageflags: TRACE_MESSAGE_FLAGS, messageguid: *const ::windows::core::GUID, messagenumber: u16) -> super::super::super::Foundation::WIN32_ERROR; } TraceMessage(loggerhandle, messageflags, ::core::mem::transmute(messageguid), messagenumber) @@ -6947,7 +6947,7 @@ pub unsafe fn TraceMessage(loggerhandle: u64, messageflags: TRACE_MESSAGE_FLAGS, #[inline] pub unsafe fn TraceMessageVa(loggerhandle: u64, messageflags: TRACE_MESSAGE_FLAGS, messageguid: &::windows::core::GUID, messagenumber: u16, messagearglist: &i8) -> super::super::super::Foundation::WIN32_ERROR { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn TraceMessageVa(loggerhandle: u64, messageflags: TRACE_MESSAGE_FLAGS, messageguid: *const ::windows::core::GUID, messagenumber: u16, messagearglist: *const i8) -> super::super::super::Foundation::WIN32_ERROR; } TraceMessageVa(loggerhandle, messageflags, ::core::mem::transmute(messageguid), messagenumber, ::core::mem::transmute(messagearglist)) diff --git a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs index 3a1602acf0..1873d374d3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs @@ -153,7 +153,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DtcGetTransactionManager(i_pszhost: ::windows::core::PCSTR, i_psztmname: ::windows::core::PCSTR, i_riid: *const ::windows::core::GUID, i_dwreserved1: u32, i_wcbreserved2: u16, i_pvreserved2: *const ::core::ffi::c_void, o_ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } DtcGetTransactionManager(i_pszhost.into(), i_psztmname.into(), ::core::mem::transmute(i_riid), i_dwreserved1, i_pvreserved2.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(i_pvreserved2.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(o_ppvobject)).ok() @@ -166,7 +166,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DtcGetTransactionManagerC(i_pszhost: ::windows::core::PCSTR, i_psztmname: ::windows::core::PCSTR, i_riid: *const ::windows::core::GUID, i_dwreserved1: u32, i_wcbreserved2: u16, i_pvreserved2: *const ::core::ffi::c_void, o_ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } DtcGetTransactionManagerC(i_pszhost.into(), i_psztmname.into(), ::core::mem::transmute(i_riid), i_dwreserved1, i_pvreserved2.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(i_pvreserved2.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(o_ppvobject)).ok() @@ -179,7 +179,7 @@ where P1: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DtcGetTransactionManagerExA(i_pszhost: ::windows::core::PCSTR, i_psztmname: ::windows::core::PCSTR, i_riid: *const ::windows::core::GUID, i_grfoptions: u32, i_pvconfigparams: *mut ::core::ffi::c_void, o_ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } DtcGetTransactionManagerExA(i_pszhost.into(), i_psztmname.into(), ::core::mem::transmute(i_riid), i_grfoptions, ::core::mem::transmute(i_pvconfigparams), ::core::mem::transmute(o_ppvobject)).ok() @@ -192,7 +192,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DtcGetTransactionManagerExW(i_pwszhost: ::windows::core::PCWSTR, i_pwsztmname: ::windows::core::PCWSTR, i_riid: *const ::windows::core::GUID, i_grfoptions: u32, i_pvconfigparams: *mut ::core::ffi::c_void, o_ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } DtcGetTransactionManagerExW(i_pwszhost.into(), i_pwsztmname.into(), ::core::mem::transmute(i_riid), i_grfoptions, ::core::mem::transmute(i_pvconfigparams), ::core::mem::transmute(o_ppvobject)).ok() diff --git a/crates/libs/windows/src/Windows/Win32/System/ErrorReporting/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ErrorReporting/mod.rs index c84525680c..e0476a3840 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ErrorReporting/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ErrorReporting/mod.rs @@ -1501,7 +1501,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WerFreeString(pwszstr: ::windows::core::PCWSTR); } WerFreeString(pwszstr.into()) @@ -1734,7 +1734,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WerStoreClose(hreportstore: HREPORTSTORE); } WerStoreClose(hreportstore.into()) @@ -1746,7 +1746,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WerStoreGetFirstReportKey(hreportstore: HREPORTSTORE, ppszreportkey: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } let mut result__ = ::core::mem::MaybeUninit::zeroed(); @@ -1759,7 +1759,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WerStoreGetNextReportKey(hreportstore: HREPORTSTORE, ppszreportkey: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } let mut result__ = ::core::mem::MaybeUninit::zeroed(); @@ -1772,7 +1772,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WerStoreGetReportCount(hreportstore: HREPORTSTORE, pdwreportcount: *mut u32) -> ::windows::core::HRESULT; } let mut result__ = ::core::mem::MaybeUninit::zeroed(); @@ -1785,7 +1785,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WerStoreGetSizeOnDisk(hreportstore: HREPORTSTORE, pqwsizeinbytes: *mut u64) -> ::windows::core::HRESULT; } let mut result__ = ::core::mem::MaybeUninit::zeroed(); @@ -1795,7 +1795,7 @@ where #[inline] pub unsafe fn WerStoreOpen(repstoretype: REPORT_STORE_TYPES) -> ::windows::core::Result { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WerStoreOpen(repstoretype: REPORT_STORE_TYPES, phreportstore: *mut HREPORTSTORE) -> ::windows::core::HRESULT; } let mut result__ = ::core::mem::MaybeUninit::zeroed(); @@ -1805,7 +1805,7 @@ pub unsafe fn WerStoreOpen(repstoretype: REPORT_STORE_TYPES) -> ::windows::core: #[inline] pub unsafe fn WerStorePurge() -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WerStorePurge() -> ::windows::core::HRESULT; } WerStorePurge().ok() @@ -1819,7 +1819,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WerStoreQueryReportMetadataV1(hreportstore: HREPORTSTORE, pszreportkey: ::windows::core::PCWSTR, preportmetadata: *mut WER_REPORT_METADATA_V1) -> ::windows::core::HRESULT; } let mut result__ = ::core::mem::MaybeUninit::zeroed(); @@ -1834,7 +1834,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WerStoreQueryReportMetadataV2(hreportstore: HREPORTSTORE, pszreportkey: ::windows::core::PCWSTR, preportmetadata: *mut WER_REPORT_METADATA_V2) -> ::windows::core::HRESULT; } let mut result__ = ::core::mem::MaybeUninit::zeroed(); @@ -1849,7 +1849,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WerStoreQueryReportMetadataV3(hreportstore: HREPORTSTORE, pszreportkey: ::windows::core::PCWSTR, preportmetadata: *mut WER_REPORT_METADATA_V3) -> ::windows::core::HRESULT; } let mut result__ = ::core::mem::MaybeUninit::zeroed(); @@ -1863,7 +1863,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WerStoreUploadReport(hreportstore: HREPORTSTORE, pszreportkey: ::windows::core::PCWSTR, dwflags: u32, psubmitresult: *mut WER_SUBMIT_RESULT) -> ::windows::core::HRESULT; } let mut result__ = ::core::mem::MaybeUninit::zeroed(); diff --git a/crates/libs/windows/src/Windows/Win32/System/Hypervisor/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Hypervisor/mod.rs index fd83d3ea1a..9a19cd6102 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Hypervisor/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Hypervisor/mod.rs @@ -405,7 +405,7 @@ pub unsafe fn GetGuestRawSavedMemorySize(vmsavedstatedumphandle: *mut ::core::ff #[inline] pub unsafe fn GetMemoryBlockCacheLimit(vmsavedstatedumphandle: *mut ::core::ffi::c_void, memoryblockcachelimit: &mut u64) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn GetMemoryBlockCacheLimit(vmsavedstatedumphandle: *mut ::core::ffi::c_void, memoryblockcachelimit: *mut u64) -> ::windows::core::HRESULT; } GetMemoryBlockCacheLimit(::core::mem::transmute(vmsavedstatedumphandle), ::core::mem::transmute(memoryblockcachelimit)).ok() @@ -1600,7 +1600,7 @@ pub unsafe fn SetMemoryBlockCacheLimit(vmsavedstatedumphandle: *mut ::core::ffi: #[inline] pub unsafe fn SetSavedStateSymbolProviderDebugInfoCallback(vmsavedstatedumphandle: *mut ::core::ffi::c_void, callback: GUEST_SYMBOLS_PROVIDER_DEBUG_INFO_CALLBACK) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn SetSavedStateSymbolProviderDebugInfoCallback(vmsavedstatedumphandle: *mut ::core::ffi::c_void, callback: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } SetSavedStateSymbolProviderDebugInfoCallback(::core::mem::transmute(vmsavedstatedumphandle), ::core::mem::transmute(callback)).ok() @@ -8030,7 +8030,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WHvCancelPartitionMigration(partition: WHV_PARTITION_HANDLE) -> ::windows::core::HRESULT; } WHvCancelPartitionMigration(partition.into()).ok() @@ -8054,7 +8054,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WHvCompletePartitionMigration(partition: WHV_PARTITION_HANDLE) -> ::windows::core::HRESULT; } WHvCompletePartitionMigration(partition.into()).ok() diff --git a/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs index 61e53b0fa3..59a0053da2 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs @@ -15299,7 +15299,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn OleUIPromptUserA(ntemplate: i32, hwndparent: super::super::Foundation::HWND) -> i32; } OleUIPromptUserA(ntemplate, hwndparent.into()) @@ -15312,7 +15312,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn OleUIPromptUserW(ntemplate: i32, hwndparent: super::super::Foundation::HWND) -> i32; } OleUIPromptUserW(ntemplate, hwndparent.into()) diff --git a/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs index b976220ae1..10deadf6a7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs @@ -52,7 +52,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn BackupPerfRegistryToFileW(szfilename: ::windows::core::PCWSTR, szcommentstring: ::windows::core::PCWSTR) -> u32; } BackupPerfRegistryToFileW(szfilename.into(), szcommentstring.into()) @@ -11352,7 +11352,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RestorePerfRegistryFromFileW(szfilename: ::windows::core::PCWSTR, szlangid: ::windows::core::PCWSTR) -> u32; } RestorePerfRegistryFromFileW(szfilename.into(), szlangid.into()) diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs index 3ba45de3be..62e3b17536 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs @@ -12199,7 +12199,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WTSEnableChildSessions(benable: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; } WTSEnableChildSessions(benable.into()) @@ -12403,7 +12403,7 @@ pub unsafe fn WTSGetActiveConsoleSessionId() -> u32 { #[inline] pub unsafe fn WTSGetChildSessionId(psessionid: &mut u32) -> super::super::Foundation::BOOL { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WTSGetChildSessionId(psessionid: *mut u32) -> super::super::Foundation::BOOL; } WTSGetChildSessionId(::core::mem::transmute(psessionid)) @@ -12825,7 +12825,7 @@ impl ::core::default::Default for WTSINFOW { #[inline] pub unsafe fn WTSIsChildSessionsEnabled(pbenabled: &mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WTSIsChildSessionsEnabled(pbenabled: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; } WTSIsChildSessionsEnabled(::core::mem::transmute(pbenabled)) diff --git a/crates/libs/windows/src/Windows/Win32/System/Rpc/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Rpc/mod.rs index 3fa4243676..f6a231bcff 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Rpc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Rpc/mod.rs @@ -985,7 +985,7 @@ pub unsafe fn I_RpcServerGetAssociationID(binding: *const ::core::ffi::c_void, a #[inline] pub unsafe fn I_RpcServerInqAddressChangeFn() -> *mut RPC_ADDRESS_CHANGE_FN { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn I_RpcServerInqAddressChangeFn() -> *mut RPC_ADDRESS_CHANGE_FN; } I_RpcServerInqAddressChangeFn() @@ -4534,7 +4534,7 @@ pub const NT351_INTERFACE_SIZE: u32 = 64u32; #[inline] pub unsafe fn Ndr64AsyncClientCall(pproxyinfo: &mut MIDL_STUBLESS_PROXY_INFO, nprocnum: u32, preturnvalue: *mut ::core::ffi::c_void) -> CLIENT_CALL_RETURN { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn Ndr64AsyncClientCall(pproxyinfo: *mut MIDL_STUBLESS_PROXY_INFO, nprocnum: u32, preturnvalue: *mut ::core::ffi::c_void) -> CLIENT_CALL_RETURN; } Ndr64AsyncClientCall(::core::mem::transmute(pproxyinfo), nprocnum, ::core::mem::transmute(preturnvalue)) @@ -4562,7 +4562,7 @@ pub unsafe fn Ndr64AsyncServerCallAll(prpcmsg: &mut RPC_MESSAGE) { #[inline] pub unsafe fn Ndr64DcomAsyncClientCall(pproxyinfo: &mut MIDL_STUBLESS_PROXY_INFO, nprocnum: u32, preturnvalue: *mut ::core::ffi::c_void) -> CLIENT_CALL_RETURN { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn Ndr64DcomAsyncClientCall(pproxyinfo: *mut MIDL_STUBLESS_PROXY_INFO, nprocnum: u32, preturnvalue: *mut ::core::ffi::c_void) -> CLIENT_CALL_RETURN; } Ndr64DcomAsyncClientCall(::core::mem::transmute(pproxyinfo), nprocnum, ::core::mem::transmute(preturnvalue)) @@ -4596,7 +4596,7 @@ pub unsafe fn NdrAllocate(pstubmsg: &mut MIDL_STUB_MESSAGE, len: usize) -> *mut #[inline] pub unsafe fn NdrAsyncClientCall(pstubdescriptor: &mut MIDL_STUB_DESC, pformat: &mut u8) -> CLIENT_CALL_RETURN { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn NdrAsyncClientCall(pstubdescriptor: *mut MIDL_STUB_DESC, pformat: *mut u8) -> CLIENT_CALL_RETURN; } NdrAsyncClientCall(::core::mem::transmute(pstubdescriptor), ::core::mem::transmute(pformat)) @@ -4665,7 +4665,7 @@ pub unsafe fn NdrClearOutParameters(pstubmsg: &mut MIDL_STUB_MESSAGE, pformat: & #[inline] pub unsafe fn NdrClientCall2(pstubdescriptor: &mut MIDL_STUB_DESC, pformat: &mut u8) -> CLIENT_CALL_RETURN { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn NdrClientCall2(pstubdescriptor: *mut MIDL_STUB_DESC, pformat: *mut u8) -> CLIENT_CALL_RETURN; } NdrClientCall2(::core::mem::transmute(pstubdescriptor), ::core::mem::transmute(pformat)) @@ -4675,7 +4675,7 @@ pub unsafe fn NdrClientCall2(pstubdescriptor: &mut MIDL_STUB_DESC, pformat: &mut #[inline] pub unsafe fn NdrClientCall3(pproxyinfo: &mut MIDL_STUBLESS_PROXY_INFO, nprocnum: u32, preturnvalue: *mut ::core::ffi::c_void) -> CLIENT_CALL_RETURN { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn NdrClientCall3(pproxyinfo: *mut MIDL_STUBLESS_PROXY_INFO, nprocnum: u32, preturnvalue: *mut ::core::ffi::c_void) -> CLIENT_CALL_RETURN; } NdrClientCall3(::core::mem::transmute(pproxyinfo), nprocnum, ::core::mem::transmute(preturnvalue)) @@ -5148,7 +5148,7 @@ where #[inline] pub unsafe fn NdrDcomAsyncClientCall(pstubdescriptor: &mut MIDL_STUB_DESC, pformat: &mut u8) -> CLIENT_CALL_RETURN { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn NdrDcomAsyncClientCall(pstubdescriptor: *mut MIDL_STUB_DESC, pformat: *mut u8) -> CLIENT_CALL_RETURN; } NdrDcomAsyncClientCall(::core::mem::transmute(pstubdescriptor), ::core::mem::transmute(pformat)) @@ -5390,7 +5390,7 @@ pub unsafe fn NdrMapCommAndFaultStatus(pstubmsg: &mut MIDL_STUB_MESSAGE, pcommst #[inline] pub unsafe fn NdrMesProcEncodeDecode(handle: *mut ::core::ffi::c_void, pstubdesc: &MIDL_STUB_DESC, pformatstring: &mut u8) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn NdrMesProcEncodeDecode(handle: *mut ::core::ffi::c_void, pstubdesc: *const MIDL_STUB_DESC, pformatstring: *mut u8); } NdrMesProcEncodeDecode(::core::mem::transmute(handle), ::core::mem::transmute(pstubdesc), ::core::mem::transmute(pformatstring)) @@ -5400,7 +5400,7 @@ pub unsafe fn NdrMesProcEncodeDecode(handle: *mut ::core::ffi::c_void, pstubdesc #[inline] pub unsafe fn NdrMesProcEncodeDecode2(handle: *mut ::core::ffi::c_void, pstubdesc: &MIDL_STUB_DESC, pformatstring: &mut u8) -> CLIENT_CALL_RETURN { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn NdrMesProcEncodeDecode2(handle: *mut ::core::ffi::c_void, pstubdesc: *const MIDL_STUB_DESC, pformatstring: *mut u8) -> CLIENT_CALL_RETURN; } NdrMesProcEncodeDecode2(::core::mem::transmute(handle), ::core::mem::transmute(pstubdesc), ::core::mem::transmute(pformatstring)) @@ -5410,7 +5410,7 @@ pub unsafe fn NdrMesProcEncodeDecode2(handle: *mut ::core::ffi::c_void, pstubdes #[inline] pub unsafe fn NdrMesProcEncodeDecode3(handle: *mut ::core::ffi::c_void, pproxyinfo: &MIDL_STUBLESS_PROXY_INFO, nprocnum: u32, preturnvalue: *mut ::core::ffi::c_void) -> CLIENT_CALL_RETURN { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn NdrMesProcEncodeDecode3(handle: *mut ::core::ffi::c_void, pproxyinfo: *const MIDL_STUBLESS_PROXY_INFO, nprocnum: u32, preturnvalue: *mut ::core::ffi::c_void) -> CLIENT_CALL_RETURN; } NdrMesProcEncodeDecode3(::core::mem::transmute(handle), ::core::mem::transmute(pproxyinfo), nprocnum, ::core::mem::transmute(preturnvalue)) diff --git a/crates/libs/windows/src/Windows/Win32/System/SubsystemForLinux/mod.rs b/crates/libs/windows/src/Windows/Win32/System/SubsystemForLinux/mod.rs index 77ed3b82fe..89b6a95cca 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SubsystemForLinux/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SubsystemForLinux/mod.rs @@ -64,7 +64,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WslConfigureDistribution(distributionname: ::windows::core::PCWSTR, defaultuid: u32, wsldistributionflags: WSL_DISTRIBUTION_FLAGS) -> ::windows::core::HRESULT; } WslConfigureDistribution(distributionname.into(), defaultuid, wsldistributionflags).ok() @@ -76,7 +76,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WslGetDistributionConfiguration(distributionname: ::windows::core::PCWSTR, distributionversion: *mut u32, defaultuid: *mut u32, wsldistributionflags: *mut WSL_DISTRIBUTION_FLAGS, defaultenvironmentvariables: *mut *mut ::windows::core::PSTR, defaultenvironmentvariablecount: *mut u32) -> ::windows::core::HRESULT; } WslGetDistributionConfiguration(distributionname.into(), ::core::mem::transmute(distributionversion), ::core::mem::transmute(defaultuid), ::core::mem::transmute(wsldistributionflags), ::core::mem::transmute(defaultenvironmentvariables), ::core::mem::transmute(defaultenvironmentvariablecount)).ok() @@ -89,7 +89,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WslIsDistributionRegistered(distributionname: ::windows::core::PCWSTR) -> super::super::Foundation::BOOL; } WslIsDistributionRegistered(distributionname.into()) @@ -107,7 +107,7 @@ where P5: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WslLaunch(distributionname: ::windows::core::PCWSTR, command: ::windows::core::PCWSTR, usecurrentworkingdirectory: super::super::Foundation::BOOL, stdin: super::super::Foundation::HANDLE, stdout: super::super::Foundation::HANDLE, stderr: super::super::Foundation::HANDLE, process: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } let mut result__ = ::core::mem::MaybeUninit::zeroed(); @@ -123,7 +123,7 @@ where P2: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WslLaunchInteractive(distributionname: ::windows::core::PCWSTR, command: ::windows::core::PCWSTR, usecurrentworkingdirectory: super::super::Foundation::BOOL, exitcode: *mut u32) -> ::windows::core::HRESULT; } let mut result__ = ::core::mem::MaybeUninit::zeroed(); @@ -137,7 +137,7 @@ where P1: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WslRegisterDistribution(distributionname: ::windows::core::PCWSTR, targzfilename: ::windows::core::PCWSTR) -> ::windows::core::HRESULT; } WslRegisterDistribution(distributionname.into(), targzfilename.into()).ok() @@ -149,7 +149,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn WslUnregisterDistribution(distributionname: ::windows::core::PCWSTR) -> ::windows::core::HRESULT; } WslUnregisterDistribution(distributionname.into()).ok() diff --git a/crates/libs/windows/src/Windows/Win32/System/TpmBaseServices/mod.rs b/crates/libs/windows/src/Windows/Win32/System/TpmBaseServices/mod.rs index cdd9003791..d3df7fa3ae 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TpmBaseServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TpmBaseServices/mod.rs @@ -3,7 +3,7 @@ #[inline] pub unsafe fn GetDeviceID(pbwindowsaik: ::core::option::Option<&mut [u8]>, pcbresult: &mut u32, pfprotectedbytpm: ::core::option::Option<&mut super::super::Foundation::BOOL>) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn GetDeviceID(pbwindowsaik: *mut u8, cbwindowsaik: u32, pcbresult: *mut u32, pfprotectedbytpm: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } GetDeviceID(::core::mem::transmute(pbwindowsaik.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbwindowsaik.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcbresult), ::core::mem::transmute(pfprotectedbytpm)).ok() @@ -13,7 +13,7 @@ pub unsafe fn GetDeviceID(pbwindowsaik: ::core::option::Option<&mut [u8]>, pcbre #[inline] pub unsafe fn GetDeviceIDString(pszwindowsaik: ::core::option::Option<&mut [u16]>, pcchresult: &mut u32, pfprotectedbytpm: ::core::option::Option<&mut super::super::Foundation::BOOL>) -> ::windows::core::Result<()> { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn GetDeviceIDString(pszwindowsaik: ::windows::core::PWSTR, cchwindowsaik: u32, pcchresult: *mut u32, pfprotectedbytpm: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } GetDeviceIDString(::core::mem::transmute(pszwindowsaik.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszwindowsaik.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcchresult), ::core::mem::transmute(pfprotectedbytpm)).ok() diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs index 014b20cb20..94bd44a225 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs @@ -242,7 +242,7 @@ where T: ::windows::core::Interface, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn CreateControlInput(riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } let mut result__ = ::core::option::Option::None; @@ -256,7 +256,7 @@ where T: ::windows::core::Interface, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn CreateControlInputEx(pcorewindow: *mut ::core::ffi::c_void, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } let mut result__ = ::core::option::Option::None; diff --git a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs index 48dfd186c5..8ef39e0909 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs @@ -2379,7 +2379,7 @@ where #[inline] pub unsafe fn GetFeatureEnabledState(featureid: u32, changetime: FEATURE_CHANGE_TIME) -> FEATURE_ENABLED_STATE { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn GetFeatureEnabledState(featureid: u32, changetime: FEATURE_CHANGE_TIME) -> FEATURE_ENABLED_STATE; } GetFeatureEnabledState(featureid, changetime) @@ -2389,7 +2389,7 @@ pub unsafe fn GetFeatureEnabledState(featureid: u32, changetime: FEATURE_CHANGE_ #[inline] pub unsafe fn GetFeatureVariant(featureid: u32, changetime: FEATURE_CHANGE_TIME, payloadid: &mut u32, hasnotification: &mut super::super::Foundation::BOOL) -> u32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn GetFeatureVariant(featureid: u32, changetime: FEATURE_CHANGE_TIME, payloadid: *mut u32, hasnotification: *mut super::super::Foundation::BOOL) -> u32; } GetFeatureVariant(featureid, changetime, ::core::mem::transmute(payloadid), ::core::mem::transmute(hasnotification)) @@ -5363,7 +5363,7 @@ where #[inline] pub unsafe fn RecordFeatureError(featureid: u32, error: &FEATURE_ERROR) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RecordFeatureError(featureid: u32, error: *const FEATURE_ERROR); } RecordFeatureError(featureid, ::core::mem::transmute(error)) @@ -5375,7 +5375,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn RecordFeatureUsage(featureid: u32, kind: u32, addend: u32, originname: ::windows::core::PCSTR); } RecordFeatureUsage(featureid, kind, addend, originname.into()) @@ -6671,7 +6671,7 @@ where #[inline] pub unsafe fn SubscribeFeatureStateChangeNotification(subscription: &mut FEATURE_STATE_CHANGE_SUBSCRIPTION, callback: PFEATURE_STATE_CHANGE_CALLBACK, context: *const ::core::ffi::c_void) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn SubscribeFeatureStateChangeNotification(subscription: *mut FEATURE_STATE_CHANGE_SUBSCRIPTION, callback: *mut ::core::ffi::c_void, context: *const ::core::ffi::c_void); } SubscribeFeatureStateChangeNotification(::core::mem::transmute(subscription), ::core::mem::transmute(callback), ::core::mem::transmute(context)) @@ -7040,7 +7040,7 @@ where P0: ::std::convert::Into, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn UnsubscribeFeatureStateChangeNotification(subscription: FEATURE_STATE_CHANGE_SUBSCRIPTION); } UnsubscribeFeatureStateChangeNotification(subscription.into()) @@ -8113,7 +8113,7 @@ pub unsafe fn uaw_lstrlenW(string: &u16) -> i32 { #[inline] pub unsafe fn uaw_wcschr(string: &u16, character: u16) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uaw_wcschr(string: *const u16, character: u16) -> *mut u16; } uaw_wcschr(::core::mem::transmute(string), character) @@ -8123,7 +8123,7 @@ pub unsafe fn uaw_wcschr(string: &u16, character: u16) -> *mut u16 { #[inline] pub unsafe fn uaw_wcscpy(destination: &mut u16, source: &u16) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uaw_wcscpy(destination: *mut u16, source: *const u16) -> *mut u16; } uaw_wcscpy(::core::mem::transmute(destination), ::core::mem::transmute(source)) @@ -8133,7 +8133,7 @@ pub unsafe fn uaw_wcscpy(destination: &mut u16, source: &u16) -> *mut u16 { #[inline] pub unsafe fn uaw_wcsicmp(string1: &u16, string2: &u16) -> i32 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uaw_wcsicmp(string1: *const u16, string2: *const u16) -> i32; } uaw_wcsicmp(::core::mem::transmute(string1), ::core::mem::transmute(string2)) @@ -8143,7 +8143,7 @@ pub unsafe fn uaw_wcsicmp(string1: &u16, string2: &u16) -> i32 { #[inline] pub unsafe fn uaw_wcslen(string: &u16) -> usize { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uaw_wcslen(string: *const u16) -> usize; } uaw_wcslen(::core::mem::transmute(string)) @@ -8153,7 +8153,7 @@ pub unsafe fn uaw_wcslen(string: &u16) -> usize { #[inline] pub unsafe fn uaw_wcsrchr(string: &u16, character: u16) -> *mut u16 { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn uaw_wcsrchr(string: *const u16, character: u16) -> *mut u16; } uaw_wcsrchr(::core::mem::transmute(string), character) diff --git a/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs index e33bf8ee84..ca58bfd73d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs @@ -8514,7 +8514,7 @@ impl ::core::default::Default for MI_ApplicationFT { #[inline] pub unsafe fn MI_Application_InitializeV1(flags: u32, applicationid: ::core::option::Option<&u16>, extendederror: ::core::option::Option<&mut *mut MI_Instance>, application: &mut MI_Application) -> MI_Result { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn MI_Application_InitializeV1(flags: u32, applicationid: *const u16, extendederror: *mut *mut MI_Instance, application: *mut MI_Application) -> MI_Result; } MI_Application_InitializeV1(flags, ::core::mem::transmute(applicationid), ::core::mem::transmute(extendederror), ::core::mem::transmute(application)) diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs index 677e3222c7..e40076c72b 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs @@ -71185,7 +71185,7 @@ where P3: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ShellMessageBoxA(happinst: super::super::Foundation::HINSTANCE, hwnd: super::super::Foundation::HWND, lpctext: ::windows::core::PCSTR, lpctitle: ::windows::core::PCSTR, fustyle: u32) -> i32; } ShellMessageBoxA(happinst.into(), hwnd.into(), lpctext.into(), lpctitle.into(), fustyle) @@ -71201,7 +71201,7 @@ where P3: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn ShellMessageBoxW(happinst: super::super::Foundation::HINSTANCE, hwnd: super::super::Foundation::HWND, lpctext: ::windows::core::PCWSTR, lpctitle: ::windows::core::PCWSTR, fustyle: u32) -> i32; } ShellMessageBoxW(happinst.into(), hwnd.into(), lpctext.into(), lpctitle.into(), fustyle) @@ -75232,7 +75232,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn wnsprintfA(pszdest: ::windows::core::PSTR, cchdest: i32, pszfmt: ::windows::core::PCSTR) -> i32; } wnsprintfA(::core::mem::transmute(pszdest.as_ptr()), pszdest.len() as _, pszfmt.into()) @@ -75244,7 +75244,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn wnsprintfW(pszdest: ::windows::core::PWSTR, cchdest: i32, pszfmt: ::windows::core::PCWSTR) -> i32; } wnsprintfW(::core::mem::transmute(pszdest.as_ptr()), pszdest.len() as _, pszfmt.into()) diff --git a/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs index a75f85a4bb..51ea26059c 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs @@ -2535,7 +2535,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DestroyIndexedResults(resourceuri: ::windows::core::PCWSTR, qualifiercount: u32, qualifiers: *const IndexedResourceQualifier); } DestroyIndexedResults(resourceuri.into(), qualifiers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(qualifiers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) @@ -2557,7 +2557,7 @@ where #[inline] pub unsafe fn DestroyResourceIndexer(resourceindexer: *const ::core::ffi::c_void) { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn DestroyResourceIndexer(resourceindexer: *const ::core::ffi::c_void); } DestroyResourceIndexer(::core::mem::transmute(resourceindexer)) @@ -15311,7 +15311,7 @@ where P0: ::std::convert::Into<::windows::core::PCSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn wsprintfA(param0: ::windows::core::PSTR, param1: ::windows::core::PCSTR) -> i32; } wsprintfA(::core::mem::transmute(param0), param1.into()) @@ -15323,7 +15323,7 @@ where P0: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn wsprintfW(param0: ::windows::core::PWSTR, param1: ::windows::core::PCWSTR) -> i32; } wsprintfW(::core::mem::transmute(param0), param1.into()) diff --git a/crates/libs/windows/src/Windows/Win32/UI/Xaml/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Xaml/Diagnostics/mod.rs index fd16ab4570..0f5d9f7343 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Xaml/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Xaml/Diagnostics/mod.rs @@ -927,7 +927,7 @@ where P2: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn InitializeXamlDiagnostic(endpointname: ::windows::core::PCWSTR, pid: u32, wszdllxamldiagnostics: ::windows::core::PCWSTR, wsztapdllname: ::windows::core::PCWSTR, tapclsid: ::windows::core::GUID) -> ::windows::core::HRESULT; } InitializeXamlDiagnostic(endpointname.into(), pid, wszdllxamldiagnostics.into(), wsztapdllname.into(), ::core::mem::transmute(tapclsid)).ok() @@ -942,7 +942,7 @@ where P3: ::std::convert::Into<::windows::core::PCWSTR>, { #[cfg_attr(windows, link(name = "windows"))] - extern "system" { + extern "cdecl" { fn InitializeXamlDiagnosticsEx(endpointname: ::windows::core::PCWSTR, pid: u32, wszdllxamldiagnostics: ::windows::core::PCWSTR, wsztapdllname: ::windows::core::PCWSTR, tapclsid: ::windows::core::GUID, wszinitializationdata: ::windows::core::PCWSTR) -> ::windows::core::HRESULT; } InitializeXamlDiagnosticsEx(endpointname.into(), pid, wszdllxamldiagnostics.into(), wsztapdllname.into(), ::core::mem::transmute(tapclsid), wszinitializationdata.into()).ok() diff --git a/crates/targets/aarch64_gnullvm/lib/libwindows.a b/crates/targets/aarch64_gnullvm/lib/libwindows.a index 6e771720a1..f4643de521 100644 Binary files a/crates/targets/aarch64_gnullvm/lib/libwindows.a and b/crates/targets/aarch64_gnullvm/lib/libwindows.a differ diff --git a/crates/targets/i686_gnu/lib/libwindows.a b/crates/targets/i686_gnu/lib/libwindows.a index c144ad2b86..1a82f6bd62 100644 Binary files a/crates/targets/i686_gnu/lib/libwindows.a and b/crates/targets/i686_gnu/lib/libwindows.a differ diff --git a/crates/targets/i686_msvc/lib/windows.lib b/crates/targets/i686_msvc/lib/windows.lib index 2cc1975c62..199ebc4496 100644 Binary files a/crates/targets/i686_msvc/lib/windows.lib and b/crates/targets/i686_msvc/lib/windows.lib differ diff --git a/crates/targets/x86_64_gnu/lib/libwindows.a b/crates/targets/x86_64_gnu/lib/libwindows.a index d2ac1fcef6..cf99d1034a 100644 Binary files a/crates/targets/x86_64_gnu/lib/libwindows.a and b/crates/targets/x86_64_gnu/lib/libwindows.a differ diff --git a/crates/targets/x86_64_gnullvm/lib/libwindows.a b/crates/targets/x86_64_gnullvm/lib/libwindows.a index 57b3dd97a8..55f2fff415 100644 Binary files a/crates/targets/x86_64_gnullvm/lib/libwindows.a and b/crates/targets/x86_64_gnullvm/lib/libwindows.a differ diff --git a/crates/targets/x86_64_msvc/lib/windows.lib b/crates/targets/x86_64_msvc/lib/windows.lib index d5503bfcae..6749ed9655 100644 Binary files a/crates/targets/x86_64_msvc/lib/windows.lib and b/crates/targets/x86_64_msvc/lib/windows.lib differ diff --git a/crates/tests/calling_convention/Cargo.toml b/crates/tests/calling_convention/Cargo.toml new file mode 100644 index 0000000000..634a54c627 --- /dev/null +++ b/crates/tests/calling_convention/Cargo.toml @@ -0,0 +1,19 @@ +[package] +name = "test_calling_convention" +version = "0.0.0" +authors = ["Microsoft"] +edition = "2018" + +[dependencies.windows] +path = "../../libs/windows" +features = [ + "Win32_Foundation", + "Win32_Networking_Ldap", +] + +[dependencies.windows-sys] +path = "../../libs/sys" +features = [ + "Win32_Foundation", + "Win32_Networking_Ldap", +] diff --git a/crates/tests/calling_convention/src/lib.rs b/crates/tests/calling_convention/src/lib.rs new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/crates/tests/calling_convention/src/lib.rs @@ -0,0 +1 @@ + diff --git a/crates/tests/calling_convention/tests/sys.rs b/crates/tests/calling_convention/tests/sys.rs new file mode 100644 index 0000000000..2041add846 --- /dev/null +++ b/crates/tests/calling_convention/tests/sys.rs @@ -0,0 +1,9 @@ +use windows_sys::{Win32::Foundation::*, Win32::Networking::Ldap::*}; + +#[test] +fn test() { + // TODO: workaround for https://github.com/microsoft/win32metadata/issues/1211 + unsafe { + assert_eq!(ERROR_BUSY, LdapMapErrorToWin32(LDAP_BUSY as _)); + } +} diff --git a/crates/tests/calling_convention/tests/win.rs b/crates/tests/calling_convention/tests/win.rs new file mode 100644 index 0000000000..029091d1a0 --- /dev/null +++ b/crates/tests/calling_convention/tests/win.rs @@ -0,0 +1,9 @@ +use windows::{Win32::Foundation::*, Win32::Networking::Ldap::*}; + +#[test] +fn test() { + // TODO: workaround for https://github.com/microsoft/win32metadata/issues/1211 + unsafe { + assert_eq!(ERROR_BUSY.0, LdapMapErrorToWin32(LDAP_BUSY.0 as _)); + } +} diff --git a/crates/tests/metadata/tests/fn_call_size.rs b/crates/tests/metadata/tests/fn_call_size.rs index e0fb1bcc38..5ab1211e32 100644 --- a/crates/tests/metadata/tests/fn_call_size.rs +++ b/crates/tests/metadata/tests/fn_call_size.rs @@ -1,20 +1,49 @@ #[test] fn size() { - assert_eq!(struct_size("Windows.Win32.System.Com", "VARIANT"), 16); + // Note: you can double check these export names from a Visual Studio x86 command prompt as follows: + // dumpbin /exports kernel32.lib | findstr /i RtmConvertIpv6AddressAndLengthToNetAddress - assert_eq!(function_size("Windows.Win32.System.Console", "ReadConsoleOutputA"), 20); - assert_eq!(function_size("Windows.Win32.System.Console", "ReadConsoleOutputAttribute"), 20); - assert_eq!(function_size("Windows.Win32.UI.Accessibility", "ItemContainerPattern_FindItemByProperty"), 32); - assert_eq!(function_size("Windows.Win32.System.Ole", "VarI2FromCy"), 12); - assert_eq!(function_size("Windows.Win32.UI.Accessibility", "UiaRaiseAutomationPropertyChangedEvent"), 40); - assert_eq!(function_size("Windows.Win32.Graphics.Gdi", "AlphaBlend"), 44); - assert_eq!(function_size("Windows.Win32.UI.Accessibility", "TextRange_FindAttribute"), 32); - assert_eq!(function_size("Windows.Win32.System.Com", "GetErrorInfo"), 8); -} - -fn function_size(namespace: &str, name: &str) -> usize { let files = vec![metadata::reader::File::new("../../libs/metadata/default/Windows.Win32.winmd").unwrap()]; let reader = &metadata::reader::Reader::new(&files); + + assert_eq!(struct_size(reader, "Windows.Win32.System.Com", "VARIANT"), 16); + assert_eq!(struct_size(reader, "Windows.Win32.Devices.AllJoyn", "alljoyn_interfacedescription_property"), 16); + assert_eq!(struct_size(reader, "Windows.Win32.Networking.WinSock", "IN6_ADDR"), 16); + assert_eq!(struct_size(reader, "Windows.Win32.Devices.BiometricFramework", "WINBIO_IDENTITY"), 76); + + assert_eq!(function_size(reader, "Windows.Win32.Graphics.Gdi", "AlphaBlend"), 44); + assert_eq!(function_size(reader, "Windows.Win32.System.Com", "GetErrorInfo"), 8); + assert_eq!(function_size(reader, "Windows.Win32.System.Console", "ReadConsoleOutputA"), 20); + assert_eq!(function_size(reader, "Windows.Win32.System.Console", "ReadConsoleOutputAttribute"), 20); + assert_eq!(function_size(reader, "Windows.Win32.System.Ole", "VarI2FromCy"), 12); + assert_eq!(function_size(reader, "Windows.Win32.UI.Accessibility", "ItemContainerPattern_FindItemByProperty"), 32); + assert_eq!(function_size(reader, "Windows.Win32.UI.Accessibility", "TextRange_FindAttribute"), 32); + assert_eq!(function_size(reader, "Windows.Win32.UI.Accessibility", "UiaRaiseAutomationPropertyChangedEvent"), 40); + assert_eq!(function_size(reader, "Windows.Win32.Storage.CloudFilters", "CfDisconnectSyncRoot"), 8); + assert_eq!(function_size(reader, "Windows.Win32.Storage.CloudFilters", "CfQuerySyncProviderStatus"), 12); + assert_eq!(function_size(reader, "Windows.Win32.Storage.CloudFilters", "CfReportProviderProgress"), 32); + assert_eq!(function_size(reader, "Windows.Win32.Storage.CloudFilters", "CfReportProviderProgress2"), 44); + assert_eq!(function_size(reader, "Windows.Win32.Storage.CloudFilters", "CfUpdateSyncProviderStatus"), 12); + assert_eq!(function_size(reader, "Windows.Win32.Networking.Clustering", "RegisterClusterNotifyV2"), 28); + assert_eq!(function_size(reader, "Windows.Win32.Security.ExtensibleAuthenticationProtocol", "EapHostPeerQueryUserBlobFromCredentialInputFields"), 48); + assert_eq!(function_size(reader, "Windows.Win32.Security.ExtensibleAuthenticationProtocol", "EapHostPeerQueryCredentialInputFields"), 40); + assert_eq!(function_size(reader, "Windows.Win32.Security.ExtensibleAuthenticationProtocol", "EapHostPeerInvokeIdentityUI"), 64); + assert_eq!(function_size(reader, "Windows.Win32.Security.ExtensibleAuthenticationProtocol", "EapHostPeerInvokeConfigUI"), 44); + assert_eq!(function_size(reader, "Windows.Win32.Security.ExtensibleAuthenticationProtocol", "EapHostPeerGetMethodProperties"), 52); + assert_eq!(function_size(reader, "Windows.Win32.Security.ExtensibleAuthenticationProtocol", "EapHostPeerConfigBlob2Xml"), 36); + assert_eq!(function_size(reader, "Windows.Win32.Security.ExtensibleAuthenticationProtocol", "EapHostPeerGetIdentity"), 68); + assert_eq!(function_size(reader, "Windows.Win32.Security.ExtensibleAuthenticationProtocol", "EapHostPeerBeginSession"), 68); + assert_eq!(function_size(reader, "Windows.Win32.Devices.AllJoyn", "alljoyn_interfacedescription_property_getannotationscount"), 16); + assert_eq!(function_size(reader, "Windows.Win32.Devices.AllJoyn", "alljoyn_interfacedescription_property_getannotationatindex"), 36); + assert_eq!(function_size(reader, "Windows.Win32.Devices.AllJoyn", "alljoyn_interfacedescription_property_getannotation"), 28); + assert_eq!(function_size(reader, "Windows.Win32.Devices.AllJoyn", "alljoyn_interfacedescription_property_eql"), 32); + assert_eq!(function_size(reader, "Windows.Win32.NetworkManagement.WiFi", "WlanSetProfileEapUserData"), 44); + assert_eq!(function_size(reader, "Windows.Win32.NetworkManagement.Rras", "RtmConvertIpv6AddressAndLengthToNetAddress"), 28); + assert_eq!(function_size(reader, "Windows.Win32.Devices.BiometricFramework", "WinBioRemoveCredential"), 80); + assert_eq!(function_size(reader, "Windows.Win32.Devices.BiometricFramework", "WinBioGetCredentialState"), 84); +} + +fn function_size(reader: &metadata::reader::Reader, namespace: &str, name: &str) -> usize { if let Some(def) = reader.get(metadata::reader::TypeName::new(namespace, "Apis")).next() { for method in reader.type_def_methods(def) { if reader.method_def_name(method) == name { @@ -25,9 +54,7 @@ fn function_size(namespace: &str, name: &str) -> usize { 0 } -fn struct_size(namespace: &str, name: &str) -> usize { - let files = vec![metadata::reader::File::new("../../libs/metadata/default/Windows.Win32.winmd").unwrap()]; - let reader = &metadata::reader::Reader::new(&files); +fn struct_size(reader: &metadata::reader::Reader, namespace: &str, name: &str) -> usize { if let Some(def) = reader.get(metadata::reader::TypeName::new(namespace, name)).next() { return reader.type_def_size(def); } diff --git a/crates/tools/gnu/src/main.rs b/crates/tools/gnu/src/main.rs index e9715d9fcc..ca33e83308 100644 --- a/crates/tools/gnu/src/main.rs +++ b/crates/tools/gnu/src/main.rs @@ -41,7 +41,7 @@ fn main() { } } -fn build_library(output: &std::path::Path, library: &str, functions: &BTreeMap, platform: &str) { +fn build_library(output: &std::path::Path, library: &str, functions: &BTreeMap, platform: &str) { println!("{}", library); // Note that we don't use set_extension as it confuses PathBuf when the library name includes a period. @@ -61,11 +61,10 @@ EXPORTS ) .unwrap(); - for (function, params) in functions { - if platform.eq("i686_gnu") { - def.write_all(format!("{}@{}\n", function, params).as_bytes()).unwrap(); - } else { - def.write_all(format!("{}\n", function).as_bytes()).unwrap(); + for (function, calling_convention) in functions { + match calling_convention { + lib::CallingConvention::Stdcall(params) if platform.eq("i686_gnu") => def.write_all(format!("{}@{}\n", function, params).as_bytes()).unwrap(), + _ => def.write_all(format!("{}\n", function).as_bytes()).unwrap(), } } @@ -115,7 +114,7 @@ EXPORTS std::fs::remove_file(output.join(format!("{}.def", library))).unwrap(); } -fn build_mri(output: &std::path::Path, libraries: &BTreeMap>) { +fn build_mri(output: &std::path::Path, libraries: &BTreeMap>) { let mri_path = output.join("unified.mri"); let mut mri = std::fs::File::create(&mri_path).unwrap(); println!("Generating {}", mri_path.to_string_lossy()); diff --git a/crates/tools/gnullvm/src/main.rs b/crates/tools/gnullvm/src/main.rs index 69acd3df42..a4b7784aff 100644 --- a/crates/tools/gnullvm/src/main.rs +++ b/crates/tools/gnullvm/src/main.rs @@ -44,7 +44,7 @@ fn main() { } } -fn build_library(output: &std::path::Path, library: &str, functions: &BTreeMap, dlltool_target: &str) { +fn build_library(output: &std::path::Path, library: &str, functions: &BTreeMap, dlltool_target: &str) { println!("{}", library); // Note that we don't use set_extension as it confuses PathBuf when the library name includes a period. @@ -83,7 +83,7 @@ EXPORTS std::fs::remove_file(output.join(format!("{}.def", library))).unwrap(); } -fn build_mri(output: &std::path::Path, libraries: &BTreeMap>) { +fn build_mri(output: &std::path::Path, libraries: &BTreeMap>) { let mri_path = output.join("unified.mri"); let mut mri = std::fs::File::create(&mri_path).unwrap(); println!("Generating {}", mri_path.to_string_lossy()); diff --git a/crates/tools/lib/src/lib.rs b/crates/tools/lib/src/lib.rs index 6c99b962d6..feeb9d432d 100644 --- a/crates/tools/lib/src/lib.rs +++ b/crates/tools/lib/src/lib.rs @@ -30,10 +30,10 @@ pub fn rustfmt(name: &str, tokens: &mut String) { } /// Returns the libraries and their function and stack sizes used by the gnu and msvc tools to build the umbrella libs. -pub fn libraries() -> BTreeMap> { +pub fn libraries() -> BTreeMap> { let files = vec![metadata::reader::File::new("crates/libs/metadata/default/Windows.winmd").unwrap(), metadata::reader::File::new("crates/libs/metadata/default/Windows.Win32.winmd").unwrap(), metadata::reader::File::new("crates/libs/metadata/default/Windows.Win32.Interop.winmd").unwrap()]; let reader = &metadata::reader::Reader::new(&files); - let mut libraries = BTreeMap::>::new(); + let mut libraries = BTreeMap::>::new(); let root = reader.tree("Windows.Win32", &[]).expect("`Windows` namespace not found"); for tree in root.flatten() { @@ -42,11 +42,23 @@ pub fn libraries() -> BTreeMap> { let impl_map = reader.method_def_impl_map(method).expect("ImplMap not found"); let scope = reader.impl_map_scope(impl_map); let library = reader.module_ref_name(scope).to_lowercase(); - let params = reader.method_def_size(method); - libraries.entry(library).or_default().insert(reader.method_def_name(method).to_string(), params); + let flags = reader.impl_map_flags(impl_map); + if flags.conv_platform() { + let params = reader.method_def_size(method); + libraries.entry(library).or_default().insert(reader.method_def_name(method).to_string(), CallingConvention::Stdcall(params)); + } else if flags.conv_cdecl() { + libraries.entry(library).or_default().insert(reader.method_def_name(method).to_string(), CallingConvention::Cdecl); + } else { + unimplemented!(); + } } } } libraries } + +pub enum CallingConvention { + Stdcall(usize), + Cdecl, +} diff --git a/crates/tools/msvc/src/main.rs b/crates/tools/msvc/src/main.rs index a6df49a720..8044a34559 100644 --- a/crates/tools/msvc/src/main.rs +++ b/crates/tools/msvc/src/main.rs @@ -42,7 +42,7 @@ fn main() { } } -fn build_library(output: &std::path::Path, library: &str, functions: &BTreeMap) { +fn build_library(output: &std::path::Path, library: &str, functions: &BTreeMap) { println!("{}", library); // Note that we don't use set_extension as it confuses PathBuf when the library name includes a period. @@ -67,19 +67,27 @@ EXPORTS ) .unwrap(); - for (function, params) in functions { - let mut buffer = format!("void __stdcall {}(", function); + for (function, calling_convention) in functions { + let buffer = match calling_convention { + lib::CallingConvention::Stdcall(size) => { + let mut buffer = format!("void __stdcall {}(", function); - for param in 0..(*params / 4) { - use std::fmt::Write; - write!(&mut buffer, "int p{}, ", param).unwrap(); - } + for param in 0..(*size / 4) { + use std::fmt::Write; + write!(&mut buffer, "int p{}, ", param).unwrap(); + } - if buffer.ends_with(' ') { - buffer.truncate(buffer.len() - 2); - } + if buffer.ends_with(' ') { + buffer.truncate(buffer.len() - 2); + } - buffer.push_str(") {}\n"); + buffer.push_str(") {}\n"); + buffer + } + lib::CallingConvention::Cdecl => { + format!("void __cdecl {}() {{}}\n", function) + } + }; c.write_all(buffer.as_bytes()).unwrap(); def.write_all(format!("{}\n", function).as_bytes()).unwrap();