diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:03 +0000 |
commit | 64d98f8ee037282c35007b64c2649055c56af1db (patch) | |
tree | 5492bcf97fce41ee1c0b1cc2add283f3e66cdab0 /vendor/windows-sys/src/Windows/Win32/NetworkManagement/WebDav | |
parent | Adding debian version 1.67.1+dfsg1-1. (diff) | |
download | rustc-64d98f8ee037282c35007b64c2649055c56af1db.tar.xz rustc-64d98f8ee037282c35007b64c2649055c56af1db.zip |
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/NetworkManagement/WebDav')
-rw-r--r-- | vendor/windows-sys/src/Windows/Win32/NetworkManagement/WebDav/mod.rs | 48 |
1 files changed, 17 insertions, 31 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WebDav/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WebDav/mod.rs index c9d671667..c35dfcf78 100644 --- a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WebDav/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WebDav/mod.rs @@ -1,34 +1,20 @@ -#[cfg_attr(windows, link(name = "windows"))] -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; - #[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; - #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn DavDeleteConnection(connectionhandle: super::super::Foundation::HANDLE) -> u32; - #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn DavFlushFile(hfile: super::super::Foundation::HANDLE) -> u32; - #[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; - #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] - pub fn DavGetHTTPFromUNCPath(uncpath: ::windows_sys::core::PCWSTR, url: ::windows_sys::core::PWSTR, lpsize: *mut u32) -> u32; - #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] - pub fn DavGetTheLockOwnerOfTheFile(filename: ::windows_sys::core::PCWSTR, lockownername: ::windows_sys::core::PWSTR, lockownernamelengthinbytes: *mut u32) -> u32; - #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] - pub fn DavGetUNCFromHTTPPath(url: ::windows_sys::core::PCWSTR, uncpath: ::windows_sys::core::PWSTR, lpsize: *mut u32) -> u32; - #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] - pub fn DavInvalidateCache(urlname: ::windows_sys::core::PCWSTR) -> u32; - #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn DavRegisterAuthCallback(callback: PFNDAVAUTHCALLBACK, version: u32) -> u32; - #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] - pub fn DavUnregisterAuthCallback(hcallback: u32); -} +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] 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(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "davclnt.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] fn DavCancelConnectionsToServer ( lpname : :: windows_sys::core::PCWSTR , fforce : super::super::Foundation:: BOOL ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] fn DavDeleteConnection ( connectionhandle : super::super::Foundation:: HANDLE ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] fn DavFlushFile ( hfile : super::super::Foundation:: HANDLE ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] fn DavGetExtendedError ( hfile : super::super::Foundation:: HANDLE , exterror : *mut u32 , exterrorstring : :: windows_sys::core::PWSTR , cchsize : *mut u32 ) -> u32 ); +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] fn DavGetHTTPFromUNCPath ( uncpath : :: windows_sys::core::PCWSTR , url : :: windows_sys::core::PWSTR , lpsize : *mut u32 ) -> u32 ); +::windows_sys::core::link ! ( "davclnt.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] fn DavGetTheLockOwnerOfTheFile ( filename : :: windows_sys::core::PCWSTR , lockownername : :: windows_sys::core::PWSTR , lockownernamelengthinbytes : *mut u32 ) -> u32 ); +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] fn DavGetUNCFromHTTPPath ( url : :: windows_sys::core::PCWSTR , uncpath : :: windows_sys::core::PWSTR , lpsize : *mut u32 ) -> u32 ); +::windows_sys::core::link ! ( "davclnt.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] fn DavInvalidateCache ( urlname : :: windows_sys::core::PCWSTR ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "davclnt.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] fn DavRegisterAuthCallback ( callback : PFNDAVAUTHCALLBACK , version : u32 ) -> u32 ); +::windows_sys::core::link ! ( "davclnt.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] fn DavUnregisterAuthCallback ( hcallback : u32 ) -> ( ) ); #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] pub const DAV_AUTHN_SCHEME_BASIC: u32 = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] |