diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs | 81 |
1 files changed, 28 insertions, 53 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs index 9b99520a6..9e47b8757 100644 --- a/vendor/windows-sys/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs @@ -1,56 +1,31 @@ -#[cfg_attr(windows, link(name = "windows"))] -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; - #[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; - #[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; - #[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; - #[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; - #[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; - #[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; - #[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; - #[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; - #[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; - #[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; - #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] - pub fn NetDfsMove(olddfsentrypath: ::windows_sys::core::PCWSTR, newdfsentrypath: ::windows_sys::core::PCWSTR, flags: u32) -> u32; - #[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; - #[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; - #[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; - #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] - pub fn NetDfsRemoveRootTarget(pdfspath: ::windows_sys::core::PCWSTR, ptargetpath: ::windows_sys::core::PCWSTR, flags: u32) -> u32; - #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] - pub fn NetDfsRemoveStdRoot(servername: ::windows_sys::core::PCWSTR, rootshare: ::windows_sys::core::PCWSTR, flags: u32) -> u32; - #[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; - #[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; - #[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; - #[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; - #[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; -} +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] 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 ); +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] 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 ); +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] fn NetDfsAddRootTarget ( pdfspath : :: windows_sys::core::PCWSTR , ptargetpath : :: windows_sys::core::PCWSTR , majorversion : u32 , pcomment : :: windows_sys::core::PCWSTR , flags : u32 ) -> u32 ); +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] fn NetDfsAddStdRoot ( servername : :: windows_sys::core::PCWSTR , rootshare : :: windows_sys::core::PCWSTR , comment : :: windows_sys::core::PCWSTR , flags : u32 ) -> u32 ); +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] fn NetDfsEnum ( dfsname : :: windows_sys::core::PCWSTR , level : u32 , prefmaxlen : u32 , buffer : *mut *mut u8 , entriesread : *mut u32 , resumehandle : *mut u32 ) -> u32 ); +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] 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(feature = "Win32_Security")] +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"] fn NetDfsGetFtContainerSecurity ( domainname : :: windows_sys::core::PCWSTR , securityinformation : u32 , ppsecuritydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR , lpcbsecuritydescriptor : *mut u32 ) -> u32 ); +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] 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(feature = "Win32_Security")] +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"] fn NetDfsGetSecurity ( dfsentrypath : :: windows_sys::core::PCWSTR , securityinformation : u32 , ppsecuritydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR , lpcbsecuritydescriptor : *mut u32 ) -> u32 ); +#[cfg(feature = "Win32_Security")] +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"] fn NetDfsGetStdContainerSecurity ( machinename : :: windows_sys::core::PCWSTR , securityinformation : u32 , ppsecuritydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR , lpcbsecuritydescriptor : *mut u32 ) -> u32 ); +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] fn NetDfsGetSupportedNamespaceVersion ( origin : DFS_NAMESPACE_VERSION_ORIGIN , pname : :: windows_sys::core::PCWSTR , ppversioninfo : *mut *mut DFS_SUPPORTED_NAMESPACE_VERSION_INFO ) -> u32 ); +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] fn NetDfsMove ( olddfsentrypath : :: windows_sys::core::PCWSTR , newdfsentrypath : :: windows_sys::core::PCWSTR , flags : u32 ) -> u32 ); +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] fn NetDfsRemove ( dfsentrypath : :: windows_sys::core::PCWSTR , servername : :: windows_sys::core::PCWSTR , sharename : :: windows_sys::core::PCWSTR ) -> u32 ); +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] fn NetDfsRemoveFtRoot ( servername : :: windows_sys::core::PCWSTR , rootshare : :: windows_sys::core::PCWSTR , ftdfsname : :: windows_sys::core::PCWSTR , flags : u32 ) -> u32 ); +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] 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 ); +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] fn NetDfsRemoveRootTarget ( pdfspath : :: windows_sys::core::PCWSTR , ptargetpath : :: windows_sys::core::PCWSTR , flags : u32 ) -> u32 ); +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] fn NetDfsRemoveStdRoot ( servername : :: windows_sys::core::PCWSTR , rootshare : :: windows_sys::core::PCWSTR , flags : u32 ) -> u32 ); +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] fn NetDfsSetClientInfo ( dfsentrypath : :: windows_sys::core::PCWSTR , servername : :: windows_sys::core::PCWSTR , sharename : :: windows_sys::core::PCWSTR , level : u32 , buffer : *const u8 ) -> u32 ); +#[cfg(feature = "Win32_Security")] +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"] fn NetDfsSetFtContainerSecurity ( domainname : :: windows_sys::core::PCWSTR , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] fn NetDfsSetInfo ( dfsentrypath : :: windows_sys::core::PCWSTR , servername : :: windows_sys::core::PCWSTR , sharename : :: windows_sys::core::PCWSTR , level : u32 , buffer : *const u8 ) -> u32 ); +#[cfg(feature = "Win32_Security")] +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"] fn NetDfsSetSecurity ( dfsentrypath : :: windows_sys::core::PCWSTR , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); +#[cfg(feature = "Win32_Security")] +::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"] fn NetDfsSetStdContainerSecurity ( machinename : :: windows_sys::core::PCWSTR , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub const DFS_ADD_VOLUME: u32 = 1u32; #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] |