Vanara.PInvoke.ShlwApi 4.0.2

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Vanara.PInvoke.ShlwApi --version 4.0.2                
NuGet\Install-Package Vanara.PInvoke.ShlwApi -Version 4.0.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vanara.PInvoke.ShlwApi" Version="4.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.ShlwApi --version 4.0.2                
#r "nuget: Vanara.PInvoke.ShlwApi, 4.0.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Vanara.PInvoke.ShlwApi as a Cake Addin
#addin nuget:?package=Vanara.PInvoke.ShlwApi&version=4.0.2

// Install Vanara.PInvoke.ShlwApi as a Cake Tool
#tool nuget:?package=Vanara.PInvoke.ShlwApi&version=4.0.2                

Vanara

Vanara.PInvoke.ShlwApi NuGet Package

Version Build status

PInvoke API (methods, structures and constants) imported from Windows ShlwApi.dll.

What is Vanara?

Vanara is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.

Issues?

First check if it's already fixed by trying the AppVeyor build. If you're still running into problems, file an issue.

Included in Vanara.PInvoke.ShlwApi

Functions Enumerations Structures Interfaces
AssocCreate AssocGetPerceivedType AssocIsDangerous AssocQueryKey AssocQueryString ChrCmpI ColorAdjustLuma ColorHLSToRGB ColorRGBToHLS ConnectToConnectionPoint GetAcceptLanguages GetMenuPosFromID HashData IsCharSpace IsInternetESCEnabled IsOS IStream_Copy IStream_Read IStream_ReadPidl IStream_ReadStr IStream_Reset IStream_Size IStream_Write IStream_WritePidl IStream_WriteStr IUnknown_AtomicRelease IUnknown_GetSite IUnknown_GetWindow IUnknown_QueryService IUnknown_Set IUnknown_SetSite MLLoadLibrary ParseURL PathAddBackslash PathAddExtension PathAppend PathBuildRoot PathCanonicalize PathCombine PathCommonPrefix PathCompactPath PathCompactPathEx PathCreateFromUrl PathCreateFromUrlAlloc PathFileExists PathFindExtension PathFindFileName PathFindNextComponent PathFindOnPath PathFindSuffixArray PathGetArgs PathGetCharType PathGetDriveNumber PathIsContentType PathIsDirectory PathIsDirectoryEmpty PathIsFileSpec PathIsLFNFileSpec PathIsNetworkPath PathIsPrefix PathIsRelative PathIsRoot PathIsSameRoot PathIsSystemFolder PathIsUNC PathIsUNCServer PathIsUNCServerShare PathIsURL PathMakePretty PathMakeSystemFolder PathMatchSpec PathMatchSpecEx PathParseIconLocation PathQuoteSpaces PathRelativePathTo PathRemoveArgs PathRemoveBackslash PathRemoveBlanks PathRemoveExtension PathRemoveFileSpec PathRenameExtension PathSearchAndQualify PathSetDlgItemPath PathSkipRoot PathStripPath PathStripToRoot PathUndecorate PathUnExpandEnvStrings PathUnmakeSystemFolder PathUnquoteSpaces QISearch SHAllocShared SHAnsiToAnsi SHAnsiToUnicode SHAutoComplete SHCopyKey SHCreateMemStream SHCreateShellPalette SHCreateStreamOnFile SHCreateStreamOnFileEx SHCreateThread SHCreateThreadRef SHCreateThreadWithHandle SHDeleteEmptyKey SHDeleteKey SHDeleteValue SHEnumKeyEx SHEnumValue SHFormatDateTime SHFreeShared SHGetInverseCMAP SHGetThreadRef SHGetValue SHGetViewStatePropertyBag SHIsChildOrSelf SHIsLowMemoryMachine SHLoadIndirectString SHLockShared SHMessageBoxCheck SHOpenRegStream2 SHQueryInfoKey SHQueryValueEx SHRegCloseUSKey SHRegCreateUSKey SHRegDeleteEmptyUSKey SHRegDeleteUSValue SHRegDuplicateHKey SHRegEnumUSKey SHRegEnumUSValue SHRegGetBoolUSValue SHRegGetBoolValueFromHKCUHKLM SHRegGetIntW SHRegGetPath SHRegGetUSValue SHRegGetValue SHRegGetValueFromHKCUHKLM SHRegOpenUSKey SHRegQueryInfoUSKey SHRegQueryUSValue SHRegSetPath SHRegSetUSValue SHRegWriteUSValue SHReleaseThreadRef SHSendMessageBroadcast SHSetThreadRef SHSetValue SHSkipJunction SHStrDup SHStripMneumonic SHUnicodeToAnsi SHUnicodeToUnicode SHUnlockShared StrCatBuff StrCatChainW StrCatW StrChr StrChrI StrChrNIW StrChrNW StrCmpC StrCmpIC StrCmpIW StrCmpLogicalW StrCmpN StrCmpNC StrCmpNI StrCmpNIC StrCmpW StrCpyNW StrCpyW StrCSpn StrCSpnI StrDup StrFormatByteSize StrFormatByteSize64A StrFormatByteSizeEx StrFormatKBSize StrFromTimeInterval StrIsIntlEqual StrNCat StrPBrk StrRChr StrRChrI StrRetToBSTR StrRetToBuf StrRetToStr StrRStrI StrSpn StrStr StrStrI StrStrNIW StrStrNW StrToInt StrToInt64Ex StrToIntEx StrTrim UrlApplyScheme UrlCanonicalize UrlCombine UrlCompare UrlCreateFromPath UrlEscape UrlFixupW UrlGetLocation UrlGetPart UrlHash UrlIs UrlIsNoHistory UrlIsOpaque UrlUnescape WhichPlatform ASSOCDATA ASSOCENUM FDTF FILETYPEATTRIBUTEFLAGS GCT OS SHACF SHCT_FLAGS SHELLPLATFORM SHGVSPB SHREGDEL_FLAGS SHREGENUM_FLAGS SHREGSET SRRF ASSOCF ASSOCKEY ASSOCSTR PERCEIVED PERCEIVEDFLAG PMSF SFBS_FLAGS STIF_FLAGS URL_APPLY URL_PART URL_PARTFLAG URL_SCHEME URLFLAGS URLIS HUSKEY QITAB PARSEDURL IQueryAssociations
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Vanara.PInvoke.ShlwApi:

Package Downloads
Vanara.PInvoke.Shell32

PInvoke API (methods, structures and constants) imported from Windows Shell32.dll.

Vanara.SystemServices

Classes for system related items derived from the Vanara PInvoke libraries. Includes extensions for Process (privileges and elavation), FileInfo (compression info), Shared Network Drives and Devices, and ServiceController (SetStartType) that pull extended information through native API calls.

Vanara.Library

The full set of packages associated with the Vanara PInvoke Libraries.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Vanara.PInvoke.ShlwApi:

Repository Stars
zhuxb711/RX-Explorer
一款优雅的UWP文件管理器 | An elegant UWP Explorer
omeryanar/FileExplorer
Windows File Explorer alternative with tab browsing
Version Downloads Last updated
4.0.4 4,848 9/13/2024
4.0.3 2,623 8/5/2024
4.0.2 2,777 6/24/2024
4.0.1 17,264 4/30/2024
4.0.0 3,484 3/29/2024
4.0.0-beta2 479 1/22/2024
4.0.0-beta 547 11/20/2023
3.4.17 21,862 10/18/2023
3.4.16 21,292 8/7/2023
3.4.15 7,948 5/18/2023
3.4.14 15,660 4/15/2023
3.4.13 6,515 2/4/2023
3.4.12 2,639 1/15/2023
3.4.11 22,467 11/15/2022
3.4.10 3,034 10/25/2022
3.4.9 3,000 10/3/2022
3.4.8 5,752 9/16/2022
3.4.7 2,405 9/3/2022
3.4.6 2,691 8/7/2022
3.4.5 9,014 7/17/2022
3.4.4 2,870 7/5/2022
3.4.3 2,697 6/14/2022
3.4.2 4,873 5/13/2022
3.4.1 2,738 5/5/2022
3.4.0 3,756 3/14/2022
3.3.15 22,307 12/27/2021
3.3.14 3,786 10/26/2021
3.3.13 2,356 9/30/2021
3.3.12 2,892 8/30/2021
3.3.11 11,425 7/22/2021
3.3.10 3,853 6/4/2021
3.3.9 3,813 5/7/2021
3.3.8 3,094 4/7/2021
3.3.7 3,094 3/24/2021
3.3.6 1,817 3/19/2021
3.3.5 3,097 3/1/2021
3.3.4 4,741 2/11/2021
3.3.3 5,404 2/3/2021
3.3.2 1,888 1/21/2021
3.3.1 1,542 1/20/2021
3.3.0 4,142 11/20/2020
3.2.21 1,717 11/13/2020
3.2.20 4,637 11/8/2020
3.2.19 5,772 10/23/2020
3.2.18 1,606 10/21/2020
3.2.17 3,575 9/20/2020
3.2.16 1,758 9/7/2020
3.2.15 1,889 8/30/2020
3.2.14 1,770 8/20/2020
3.2.13 2,090 7/27/2020
3.2.12 1,935 7/13/2020
3.2.11 2,023 6/28/2020
3.2.10 1,960 6/14/2020
3.2.9 2,028 6/3/2020
3.2.7 2,417 5/4/2020
3.2.6 1,741 4/21/2020
3.2.5 1,722 4/15/2020
3.2.4 1,720 4/12/2020
3.2.3 1,702 4/1/2020
3.2.2 1,650 3/24/2020
3.2.1 1,722 3/17/2020
3.2.0 1,958 2/27/2020
3.1.9 1,865 1/17/2020
3.1.8 1,751 1/13/2020
3.1.7 1,713 1/6/2020
3.1.6 1,744 12/12/2019
3.1.5 1,832 11/26/2019
3.1.4 1,952 11/25/2019
3.1.3 1,911 11/8/2019
3.1.2 1,697 11/4/2019
3.1.1 2,678 10/17/2019
3.1.0 1,729 10/3/2019
3.0.1 1,581 9/20/2019
3.0.0 1,443 8/27/2019
2.3.11 1,201 6/9/2019
2.3.10 944 6/5/2019
2.3.9 915 5/26/2019
2.3.8 876 5/13/2019
2.3.7 922 4/24/2019
2.3.6 891 4/17/2019
2.3.5 875 4/10/2019
2.3.4 938 3/9/2019
2.3.3 890 3/8/2019
2.3.2 928 2/28/2019
2.3.1 918 2/25/2019
2.3.0 911 2/22/2019
2.2.1 944 2/12/2019
2.2.0 906 2/1/2019
2.1.2 1,400 1/14/2019
2.1.0 1,133 12/15/2018
2.0.1 961 12/7/2018
2.0.0 1,037 11/28/2018
1.1.0 1,224 9/10/2018
1.0.18 962 8/10/2018
1.0.17 897 7/30/2018
1.0.16 1,009 6/29/2018
1.0.15 891 6/27/2018
1.0.14 1,001 6/8/2018
1.0.13 970 6/6/2018
1.0.12 940 4/5/2018
1.0.11 1,037 4/4/2018
1.0.10 1,028 3/27/2018
1.0.9 1,019 3/26/2018
1.0.8 1,076 2/7/2018
1.0.7 1,035 1/27/2018
1.0.6 1,082 1/8/2018
1.0.5 1,074 12/28/2017
1.0.4 1,100 12/15/2017
1.0.3 1,099 12/8/2017
1.0.2 956 11/30/2017
1.0.1 1,019 11/28/2017

Currently implements:

Functions
AssocCreate AssocGetPerceivedType AssocIsDangerous AssocQueryKey AssocQueryString ChrCmpI ColorAdjustLuma ColorHLSToRGB ColorRGBToHLS ConnectToConnectionPoint GetAcceptLanguages GetMenuPosFromID HashData IsCharSpace IsInternetESCEnabled IsOS IStream_Copy IStream_Read IStream_ReadPidl IStream_ReadStr IStream_Reset IStream_Size IStream_Write IStream_WritePidl IStream_WriteStr IUnknown_AtomicRelease IUnknown_GetSite IUnknown_GetWindow IUnknown_QueryService IUnknown_Set IUnknown_SetSite MLLoadLibrary ParseURL PathAddBackslash PathAddExtension PathAppend PathBuildRoot PathCanonicalize PathCombine PathCommonPrefix PathCompactPath PathCompactPathEx PathCreateFromUrl PathCreateFromUrlAlloc PathFileExists PathFindExtension PathFindFileName PathFindNextComponent PathFindOnPath PathFindSuffixArray PathGetArgs PathGetCharType PathGetDriveNumber PathIsContentType PathIsDirectory PathIsDirectoryEmpty PathIsFileSpec PathIsLFNFileSpec PathIsNetworkPath PathIsPrefix PathIsRelative PathIsRoot PathIsSameRoot PathIsSystemFolder PathIsUNC PathIsUNCServer PathIsUNCServerShare PathIsURL PathMakePretty PathMakeSystemFolder PathMatchSpec PathMatchSpecEx PathParseIconLocation PathQuoteSpaces PathRelativePathTo PathRemoveArgs PathRemoveBackslash PathRemoveBlanks PathRemoveExtension PathRemoveFileSpec PathRenameExtension PathSearchAndQualify PathSetDlgItemPath PathSkipRoot PathStripPath PathStripToRoot PathUndecorate PathUnExpandEnvStrings PathUnmakeSystemFolder PathUnquoteSpaces QISearch SHAllocShared SHAnsiToAnsi SHAnsiToUnicode SHAutoComplete SHCopyKey SHCreateMemStream SHCreateShellPalette SHCreateStreamOnFile SHCreateStreamOnFileEx SHCreateThread SHCreateThreadRef SHCreateThreadWithHandle SHDeleteEmptyKey SHDeleteKey SHDeleteValue SHEnumKeyEx SHEnumValue SHFormatDateTime SHFreeShared SHGetInverseCMAP SHGetThreadRef SHGetValue SHGetViewStatePropertyBag SHIsChildOrSelf SHIsLowMemoryMachine SHLoadIndirectString SHLockShared SHMessageBoxCheck SHOpenRegStream2 SHQueryInfoKey SHQueryValueEx SHRegCloseUSKey SHRegCreateUSKey SHRegDeleteEmptyUSKey SHRegDeleteUSValue SHRegDuplicateHKey SHRegEnumUSKey SHRegEnumUSValue SHRegGetBoolUSValue SHRegGetBoolValueFromHKCUHKLM SHRegGetIntW SHRegGetPath SHRegGetUSValue SHRegGetValue SHRegGetValueFromHKCUHKLM SHRegOpenUSKey SHRegQueryInfoUSKey SHRegQueryUSValue SHRegSetPath SHRegSetUSValue SHRegWriteUSValue SHReleaseThreadRef SHSendMessageBroadcast SHSetThreadRef SHSetValue SHSkipJunction SHStrDup SHStripMneumonic SHUnicodeToAnsi SHUnicodeToUnicode SHUnlockShared StrCatBuff StrCatChainW StrCatW StrChr StrChrI StrChrNIW StrChrNW StrCmpC StrCmpIC StrCmpIW StrCmpLogicalW StrCmpN StrCmpNC StrCmpNI StrCmpNIC StrCmpW StrCpyNW StrCpyW StrCSpn StrCSpnI StrDup StrFormatByteSize StrFormatByteSize64A StrFormatByteSizeEx StrFormatKBSize StrFromTimeInterval StrIsIntlEqual StrNCat StrPBrk StrRChr StrRChrI StrRetToBSTR StrRetToBuf StrRetToStr StrRStrI StrSpn StrStr StrStrI StrStrNIW StrStrNW StrToInt StrToInt64Ex StrToIntEx StrTrim UrlApplyScheme UrlCanonicalize UrlCombine UrlCompare UrlCreateFromPath UrlEscape UrlFixupW UrlGetLocation UrlGetPart UrlHash UrlIs UrlIsNoHistory UrlIsOpaque UrlUnescape WhichPlatform

Structures
HUSKEY PARSEDURL QITAB

Interfaces
IQueryAssociations