Vanara.PInvoke.ShlwApi 3.4.2 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved

.NET 5.0 .NET Core 3.1 .NET Standard 2.0 .NET Framework 4.5
Install-Package Vanara.PInvoke.ShlwApi -Version 3.4.2
dotnet add package Vanara.PInvoke.ShlwApi --version 3.4.2
<PackageReference Include="Vanara.PInvoke.ShlwApi" Version="3.4.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.ShlwApi --version 3.4.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Vanara.PInvoke.ShlwApi, 3.4.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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=3.4.2

// Install Vanara.PInvoke.ShlwApi as a Cake Tool
#tool nuget:?package=Vanara.PInvoke.ShlwApi&version=3.4.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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

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

Vanara.SystemServices The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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 ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.4.2 157 5/13/2022
3.4.1 204 5/5/2022
3.4.0 833 3/14/2022
3.3.15 5,741 12/27/2021
3.3.14 2,375 10/26/2021
3.3.13 1,408 9/30/2021
3.3.12 1,685 8/30/2021
3.3.11 4,054 7/22/2021
3.3.10 2,551 6/4/2021
3.3.9 2,792 5/7/2021
3.3.8 2,103 4/7/2021
3.3.7 2,140 3/24/2021
3.3.6 910 3/19/2021
3.3.5 2,070 3/1/2021
3.3.4 1,276 2/11/2021
3.3.3 4,525 2/3/2021
3.3.2 1,040 1/21/2021
3.3.1 605 1/20/2021
3.3.0 3,095 11/20/2020
3.2.21 803 11/13/2020
3.2.20 3,703 11/8/2020
3.2.19 4,850 10/23/2020
3.2.18 729 10/21/2020
3.2.17 2,700 9/20/2020
3.2.16 865 9/7/2020
3.2.15 907 8/30/2020
3.2.14 885 8/20/2020
3.2.13 1,116 7/27/2020
3.2.12 1,027 7/13/2020
3.2.11 1,083 6/28/2020
3.2.10 966 6/14/2020
3.2.9 1,067 6/3/2020
3.2.7 1,426 5/4/2020
3.2.6 770 4/21/2020
3.2.5 747 4/15/2020
3.2.4 778 4/12/2020
3.2.3 785 4/1/2020
3.2.2 728 3/24/2020
3.2.1 753 3/17/2020
3.2.0 959 2/27/2020
3.1.9 913 1/17/2020
3.1.8 782 1/13/2020
3.1.7 764 1/6/2020
3.1.6 852 12/12/2019
3.1.5 894 11/26/2019
3.1.4 809 11/25/2019
3.1.3 882 11/8/2019
3.1.2 746 11/4/2019
3.1.1 1,757 10/17/2019
3.1.0 754 10/3/2019
3.0.1 813 9/20/2019
3.0.0 762 8/27/2019
2.3.11 759 6/9/2019
2.3.10 543 6/5/2019
2.3.9 529 5/26/2019
2.3.8 517 5/13/2019
2.3.7 556 4/24/2019
2.3.6 499 4/17/2019
2.3.5 491 4/10/2019
2.3.4 544 3/9/2019
2.3.3 486 3/8/2019
2.3.2 533 2/28/2019
2.3.1 527 2/25/2019
2.3.0 531 2/22/2019
2.2.1 573 2/12/2019
2.2.0 548 2/1/2019
2.1.2 870 1/14/2019
2.1.0 756 12/15/2018
2.0.1 575 12/7/2018
2.0.0 612 11/28/2018
1.1.0 736 9/10/2018
1.0.18 674 8/10/2018
1.0.17 624 7/30/2018
1.0.16 738 6/29/2018
1.0.15 615 6/27/2018
1.0.14 692 6/8/2018
1.0.13 680 6/6/2018
1.0.12 631 4/5/2018
1.0.11 711 4/4/2018
1.0.10 711 3/27/2018
1.0.9 697 3/26/2018
1.0.8 745 2/7/2018
1.0.7 701 1/27/2018
1.0.6 767 1/8/2018
1.0.5 769 12/28/2017
1.0.4 769 12/15/2017
1.0.3 797 12/8/2017
1.0.2 682 11/30/2017
1.0.1 736 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