From a4b7ed7a42c716ab9f05e351f003d589124fd55d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:18:58 +0200 Subject: Adding upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- .../Win32/Storage/ProjectedFileSystem/mod.rs | 78 ++++++++-------------- 1 file changed, 28 insertions(+), 50 deletions(-) (limited to 'vendor/windows-sys/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs') diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs index 7d4b67280..04f1caa36 100644 --- a/vendor/windows-sys/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs @@ -1,52 +1,30 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] - pub fn PrjAllocateAlignedBuffer(namespacevirtualizationcontext: PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, size: usize) -> *mut ::core::ffi::c_void; - #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] - pub fn PrjClearNegativePathCache(namespacevirtualizationcontext: PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, totalentrynumber: *mut u32) -> ::windows_sys::core::HRESULT; - #[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; - #[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; - #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn PrjDoesNameContainWildCards(filename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] - pub fn PrjFileNameCompare(filename1: ::windows_sys::core::PCWSTR, filename2: ::windows_sys::core::PCWSTR) -> i32; - #[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; - #[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; - #[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; - #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] - pub fn PrjFreeAlignedBuffer(buffer: *const ::core::ffi::c_void); - #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] - pub fn PrjGetOnDiskFileState(destinationfilename: ::windows_sys::core::PCWSTR, filestate: *mut PRJ_FILE_STATE) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] - pub fn PrjGetVirtualizationInstanceInfo(namespacevirtualizationcontext: PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, virtualizationinstanceinfo: *mut PRJ_VIRTUALIZATION_INSTANCE_INFO) -> ::windows_sys::core::HRESULT; - #[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; - #[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; - #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] - pub fn PrjStopVirtualizing(namespacevirtualizationcontext: PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT); - #[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; - #[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; - #[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; - #[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; -} +::windows_sys::core::link ! ( "projectedfslib.dll""system" #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] fn PrjAllocateAlignedBuffer ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT , size : usize ) -> *mut ::core::ffi::c_void ); +::windows_sys::core::link ! ( "projectedfslib.dll""system" #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] fn PrjClearNegativePathCache ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT , totalentrynumber : *mut u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "projectedfslib.dll""system" #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] 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 ); +::windows_sys::core::link ! ( "projectedfslib.dll""system" #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] 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(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "projectedfslib.dll""system" #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] fn PrjDoesNameContainWildCards ( filename : :: windows_sys::core::PCWSTR ) -> super::super::Foundation:: BOOLEAN ); +::windows_sys::core::link ! ( "projectedfslib.dll""system" #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] fn PrjFileNameCompare ( filename1 : :: windows_sys::core::PCWSTR , filename2 : :: windows_sys::core::PCWSTR ) -> i32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "projectedfslib.dll""system" #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] fn PrjFileNameMatch ( filenametocheck : :: windows_sys::core::PCWSTR , pattern : :: windows_sys::core::PCWSTR ) -> super::super::Foundation:: BOOLEAN ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "projectedfslib.dll""system" #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] fn PrjFillDirEntryBuffer ( filename : :: windows_sys::core::PCWSTR , filebasicinfo : *const PRJ_FILE_BASIC_INFO , direntrybufferhandle : PRJ_DIR_ENTRY_BUFFER_HANDLE ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "projectedfslib.dll""system" #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] 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 ); +::windows_sys::core::link ! ( "projectedfslib.dll""system" #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] fn PrjFreeAlignedBuffer ( buffer : *const ::core::ffi::c_void ) -> ( ) ); +::windows_sys::core::link ! ( "projectedfslib.dll""system" #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] fn PrjGetOnDiskFileState ( destinationfilename : :: windows_sys::core::PCWSTR , filestate : *mut PRJ_FILE_STATE ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "projectedfslib.dll""system" #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] fn PrjGetVirtualizationInstanceInfo ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT , virtualizationinstanceinfo : *mut PRJ_VIRTUALIZATION_INSTANCE_INFO ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "projectedfslib.dll""system" #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] 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(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "projectedfslib.dll""system" #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] 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 ); +::windows_sys::core::link ! ( "projectedfslib.dll""system" #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] fn PrjStopVirtualizing ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT ) -> ( ) ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "projectedfslib.dll""system" #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] 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 ); +::windows_sys::core::link ! ( "projectedfslib.dll""system" #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] 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(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "projectedfslib.dll""system" #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] fn PrjWritePlaceholderInfo ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT , destinationfilename : :: windows_sys::core::PCWSTR , placeholderinfo : *const PRJ_PLACEHOLDER_INFO , placeholderinfosize : u32 ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "projectedfslib.dll""system" #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] 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 ); #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] pub type PRJ_CALLBACK_DATA_FLAGS = i32; #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] @@ -492,7 +470,7 @@ impl ::core::clone::Clone for PRJ_VIRTUALIZATION_INSTANCE_INFO { } } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] -pub type PRJ_CANCEL_COMMAND_CB = ::core::option::Option; +pub type PRJ_CANCEL_COMMAND_CB = ::core::option::Option ()>; #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] pub type PRJ_END_DIRECTORY_ENUMERATION_CB = ::core::option::Option ::windows_sys::core::HRESULT>; #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] -- cgit v1.2.3