Vanara.PInvoke.Shell32 2.1.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Vanara.PInvoke.Shell32 --version 2.1.0
                    
NuGet\Install-Package Vanara.PInvoke.Shell32 -Version 2.1.0
                    
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.Shell32" Version="2.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Vanara.PInvoke.Shell32" Version="2.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Vanara.PInvoke.Shell32" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Vanara.PInvoke.Shell32 --version 2.1.0
                    
#r "nuget: Vanara.PInvoke.Shell32, 2.1.0"
                    
#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.
#:package Vanara.PInvoke.Shell32@2.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Vanara.PInvoke.Shell32&version=2.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Vanara.PInvoke.Shell32&version=2.1.0
                    
Install as a Cake Tool

Methods, structures and constants imported from Shell32.dll.

Product Compatible and additional computed target framework versions.
.NET Framework net20 is compatible.  net35 is compatible.  net40 is compatible.  net403 was computed.  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 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on Vanara.PInvoke.Shell32:

Package Downloads
Vanara.PInvoke.SearchApi

PInvoke API (methods, structures and constants imported from Windows Search.

Vanara.Library

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

Vanara.PInvoke.PhotoAcquire

PInvoke API (methods, structures and constants) imported from Windows Photo Acquisition.

Nakshatra.Windows.IconChanger

Library that provides utility methods to handle folder icons on windows. such as setFolderIcon, ConvertPngToIco

Vanara.PInvoke.SpeechApi

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

GitHub repositories (11)

Showing the top 11 popular GitHub repositories that depend on Vanara.PInvoke.Shell32:

Repository Stars
Scighost/Starward
Game Launcher for miHoYo - 米家游戏启动器
ProtonVPN/win-app
Official ProtonVPN Windows app
shrimqy/Sefirah
Phone Link / KDE Connect alternative
xunkong/xunkong
记录旅途中发生的事
omeryanar/FileExplorer
Windows File Explorer alternative with tab browsing
jayfunc/BetterLyrics
Your dynamic lyrics display tool built with WinUI 3 and Win2D - works with local playback and other music players | 使用 WinUI 3 和 Win2D 打造的动态歌词显示工具 - 支持本地播放及其他音乐播放器
not-nullptr/Aerochat
Native rewrite of Aerochat, a WLM 09 themed Discord client
securefolderfs-community/SecureFolderFS
Powerful, secure, modern way to keep your files protected.
Miaoyww/NonsPlayer
Multiple music streaming services & High performance.多音源 | 高性能。能播放所有平台音乐的音乐播放器
5cover/WinClean
Windows optimization and debloating utility.
damienleroy/PowerAccent
Easily create accented letters with all type of keyboard (QWERTY, AZERTY, others...)
Version Downloads Last Updated
4.2.1 408 9/9/2025
4.2.0 984 8/25/2025
4.1.6 3,245 6/20/2025
4.1.5 267 6/20/2025
4.1.4 1,490 6/7/2025
4.1.3 3,707 4/24/2025
4.1.2 691 4/16/2025
4.1.1 5,796 3/7/2025
4.1.0 431 3/7/2025
4.0.6 917 2/24/2025
4.0.5 3,194 2/8/2025
4.0.4 16,217 9/13/2024
4.0.3 2,718 8/5/2024
4.0.2 3,186 6/24/2024
4.0.1 27,730 4/30/2024
4.0.0 3,500 3/29/2024
4.0.0-beta2 497 1/22/2024
4.0.0-beta 474 11/20/2023
3.4.17 22,677 10/18/2023
3.4.16 24,117 8/7/2023
3.4.15 7,536 5/18/2023
3.4.14 12,907 4/15/2023
3.4.13 6,319 2/4/2023
3.4.12 2,459 1/15/2023
3.4.11 22,727 11/15/2022
3.4.10 2,481 10/25/2022
3.4.9 2,666 10/3/2022
3.4.8 5,309 9/16/2022
3.4.7 1,969 9/3/2022
3.4.6 2,245 8/7/2022
3.4.5 4,487 7/17/2022
3.4.4 2,185 7/5/2022
3.4.3 2,227 6/14/2022
3.4.2 4,433 5/13/2022
3.4.1 2,162 5/5/2022
3.4.0 2,814 3/14/2022
3.3.15 19,972 12/27/2021
3.3.14 3,726 10/26/2021
3.3.13 2,153 9/30/2021
3.3.12 2,681 8/30/2021
3.3.11 5,777 7/22/2021
3.3.10 3,634 6/4/2021
3.3.9 3,352 5/7/2021
3.3.8 2,853 4/7/2021
3.3.7 2,849 3/24/2021
3.3.6 1,698 3/19/2021
3.3.5 2,838 3/1/2021
3.3.4 5,743 2/11/2021
3.3.3 1,646 2/3/2021
3.3.2 1,701 1/21/2021
3.3.1 1,306 1/20/2021
3.3.0 3,747 11/20/2020
3.2.21 1,503 11/13/2020
3.2.20 1,596 11/8/2020
3.2.19 1,734 10/23/2020
3.2.18 1,395 10/21/2020
3.2.17 1,935 9/20/2020
3.2.16 1,583 9/7/2020
3.2.15 1,605 8/30/2020
3.2.14 1,601 8/20/2020
3.2.13 1,902 7/27/2020
3.2.12 1,705 7/13/2020
3.2.11 1,791 6/28/2020
3.2.10 1,705 6/14/2020
3.2.9 1,808 6/3/2020
3.2.7 2,204 5/4/2020
3.2.6 1,490 4/21/2020
3.2.5 1,423 4/15/2020
3.2.4 1,464 4/12/2020
3.2.3 1,498 4/1/2020
3.2.2 1,394 3/24/2020
3.2.1 1,467 3/17/2020
3.2.0 1,709 2/27/2020
3.1.9 1,629 1/17/2020
3.1.8 1,482 1/13/2020
3.1.7 1,490 1/6/2020
3.1.6 1,514 12/12/2019
3.1.5 1,568 11/26/2019
3.1.4 1,746 11/25/2019
3.1.3 1,439 11/8/2019
3.1.2 1,434 11/4/2019
3.1.1 2,449 10/17/2019
3.1.0 1,523 10/3/2019
3.0.1 1,298 9/20/2019
3.0.0 1,087 8/27/2019
2.3.11 1,082 6/9/2019
2.3.10 800 6/5/2019
2.3.9 779 5/26/2019
2.3.8 814 5/13/2019
2.3.7 867 4/24/2019
2.3.6 794 4/17/2019
2.3.5 814 4/10/2019
2.3.4 840 3/9/2019
2.3.3 798 3/8/2019
2.3.2 824 2/28/2019
2.3.1 795 2/25/2019
2.3.0 817 2/22/2019
2.2.1 864 2/12/2019
2.2.0 870 2/1/2019
2.1.2 1,260 1/14/2019
2.1.0 1,231 12/15/2018
2.0.1 901 12/7/2018
2.0.0 935 11/28/2018
1.1.0 1,104 9/10/2018
1.0.18 1,121 8/10/2018
1.0.17 1,156 7/30/2018
1.0.16 1,160 6/29/2018
1.0.15 1,163 6/27/2018
1.0.14 1,468 6/8/2018
1.0.13 1,364 6/6/2018
1.0.12 1,462 4/5/2018
1.0.11 1,432 4/4/2018
1.0.10 1,411 3/27/2018
1.0.9 1,408 3/26/2018
1.0.8 1,435 2/7/2018
1.0.7 1,409 1/27/2018
1.0.6 1,501 1/8/2018
1.0.5 1,539 12/28/2017
1.0.4 1,494 12/15/2017
1.0.3 1,486 12/8/2017
1.0.2 1,253 11/30/2017
1.0.1 1,402 11/28/2017

Currently implements:

Functions
AssocCreateForClasses, AssocGetDetailsOfPropKey, CDefFolderMenu_Create2, CommandLineToArgvW, DragAcceptFiles, DragFinish, DragQueryFileA, DragQueryFileW, DragQueryPoint, DuplicateIcon, ExtractAssociatedIconA, ExtractAssociatedIconExA, ExtractAssociatedIconExW, ExtractAssociatedIconW, ExtractIconA, ExtractIconExA, ExtractIconExW, ExtractIconW, FindExecutableA, FindExecutableW, GetCurrentProcessExplicitAppUserModelID, GetFileNameFromBrowse, ILAppendID, ILClone, ILCloneFirst, ILCombine, ILCreateFromPathA, ILCreateFromPathW, ILFindChild, ILFindLastID, ILFree, ILGetNext, ILGetSize, ILIsEqual, ILIsParent, ILLoadFromStreamEx, ILRemoveLastID, ILSaveToStream, InitNetworkAddressControl, IsNetDrive, IsUserAnAdmin, OpenRegStream, PathCleanupSpec, PathGetShortPath, PathIsExe, PathIsSlowA, PathIsSlowW, PathMakeUniqueName, PathResolve, PathYetAnotherMakeUniqueName, PickIconDlg, PifMgr_CloseProperties, PifMgr_GetProperties, PifMgr_OpenProperties, PifMgr_SetProperties, ReadCabinetState, RealDriveType, RestartDialog, RestartDialogEx, SetCurrentProcessExplicitAppUserModelID, SHAddDefaultPropertiesByExt, SHAddFromPropSheetExtArray, SHAddToRecentDocs, SHAlloc, SHAppBarMessage, SHAssocEnumHandlers, SHAssocEnumHandlersForProtocolByApplication, SHBindToFolderIDListParent, SHBindToFolderIDListParentEx, SHBindToObject, SHBindToParent, SHBrowseForFolderA, SHBrowseForFolderW, SHChangeNotification_Lock, SHChangeNotification_Unlock, SHChangeNotify, SHChangeNotifyDeregister, SHChangeNotifyRegister, SHChangeNotifyRegisterThread, SHCreateAssociationRegistration, SHCreateDataObject, SHCreateDefaultContextMenu, SHCreateDefaultExtractIcon, SHCreateDefaultPropertiesOp, SHCreateDirectory, SHCreateDirectoryExA, SHCreateDirectoryExW, SHCreateFileExtractIconW, SHCreateItemFromIDList, SHCreateItemFromParsingName, SHCreateItemFromRelativeName, SHCreateItemInKnownFolder, SHCreateItemWithParent, SHCreatePropSheetExtArray, SHCreateShellFolderView, SHCreateShellFolderViewEx, SHCreateShellItem, SHCreateShellItemArray, SHCreateShellItemArrayFromDataObject, SHCreateShellItemArrayFromIDLists, SHCreateShellItemArrayFromShellItem, SHCreateStdEnumFmtEtc, SHDefExtractIconA, SHDefExtractIconW, SHDestroyPropSheetExtArray, SHDoDragDrop, Shell_GetCachedImageIndexA, Shell_GetCachedImageIndexW, Shell_GetImageLists, Shell_MergeMenus, Shell_NotifyIconA, Shell_NotifyIconGetRect, Shell_NotifyIconW, ShellAboutA, ShellAboutW, ShellExecuteA, ShellExecuteExA, ShellExecuteExW, ShellExecuteW, SHEmptyRecycleBinA, SHEmptyRecycleBinW, SHEnumerateUnreadMailAccountsA, SHEnumerateUnreadMailAccountsW, SHEvaluateSystemCommandTemplate, SHFileOperationA, SHFileOperationW, SHFind_InitMenuPopup, SHFindFiles, SHFlushSFCache, SHFormatDrive, SHFree, SHFreeNameMappings, SHGetAttributesFromDataObject, SHGetDataFromIDListA, SHGetDataFromIDListW, SHGetDesktopFolder, SHGetDiskFreeSpaceA, SHGetDiskFreeSpaceExA, SHGetDiskFreeSpaceExW, SHGetDiskFreeSpaceW, SHGetDriveMedia, SHGetFileInfoA, SHGetFileInfoW, SHGetFolderLocation, SHGetFolderPathA, SHGetFolderPathAndSubDirA, SHGetFolderPathAndSubDirW, SHGetFolderPathEx, SHGetFolderPathW, SHGetIconOverlayIndexA, SHGetIconOverlayIndexW, SHGetIDListFromObject, SHGetImageList, SHGetInstanceExplorer, SHGetItemFromDataObject, SHGetItemFromObject, SHGetKnownFolderIDList, SHGetKnownFolderItem, SHGetKnownFolderPath, SHGetLocalizedName, SHGetNameFromIDList, SHGetNewLinkInfoA, SHGetNewLinkInfoW, SHGetPathFromIDListA, SHGetPathFromIDListEx, SHGetPathFromIDListW, SHGetPropertyStoreForWindow, SHGetPropertyStoreFromIDList, SHGetPropertyStoreFromParsingName, SHGetRealIDL, SHGetSetFolderCustomSettings, SHGetSetSettings, SHGetSettings, SHGetStockIconInfo, SHGetTemporaryPropertyForItem, SHGetUnreadMailCountW, SHHandleUpdateImage, SHInvokePrinterCommandA, SHInvokePrinterCommandW, SHIsFileAvailableOffline, SHLimitInputEdit, SHLoadInProc, SHLoadNonloadedIconOverlayIdentifiers, SHMapPIDLToSystemImageListIndex, SHMultiFileProperties, SHObjectProperties, SHOpenFolderAndSelectItems, SHOpenWithDialog, SHParseDisplayName, SHPathPrepareForWriteA, SHPathPrepareForWriteW, SHPropStgCreate, SHPropStgReadMultiple, SHPropStgWriteMultiple, SHQueryRecycleBinA, SHQueryRecycleBinW, SHQueryUserNotificationState, SHRemoveLocalizedName, SHReplaceFromPropSheetExtArray, SHResolveLibrary, SHRestricted, SHSetDefaultProperties, SHSetInstanceExplorer, SHSetKnownFolderPath, SHSetLocalizedName, SHSetTemporaryPropertyForItem, SHSetUnreadMailCountW, SHShellFolderView_Message, SHShowManageLibraryUI, SHSimpleIDListFromPath, SHTestTokenMembership, SHUpdateImageA, SHUpdateImageW, SHValidateUNC, SignalFileOpen, StgMakeUniqueName, Win32DeleteFile, WriteCabinetState

Structures
OLECMD, OLECMDTEXT, APPBARDATA, ASSOCIATIONELEMENT, NOTIFYICONDATA, NOTIFYICONIDENTIFIER, SHELLEXECUTEINFO, SHFILEINFO, SHFILEOPSTRUCT, SHQUERYRBINFO, SHSTOCKICONINFO, BROWSEINFO, CABINETSTATE, COORD, CSFV, DATABLOCKHEADER, DEFCONTEXTMENU, EXP_DARWIN_LINK, EXP_SPECIAL_FOLDER, EXP_SZ_LINK, HPIF, HPSXA, NT_CONSOLE_PROPS, NT_FE_CONSOLE_PROPS, OPENASINFO, PROPPRG, SFV_CREATE, SHChangeNotifyEntry, SHDESCRIPTIONID, SHELLFLAGSTATE, SHELLSTATE, SHFOLDERCUSTOMSETTINGS, CMINVOKECOMMANDINFOEX, COMDLG_FILTERSPEC, KNOWNFOLDER_DEFINITION, PREVIEWHANDLERFRAMEINFO, EXTRASEARCH, FOLDERSETTINGS, SV2CVW2_PARAMS, THUMBBUTTON, ITEMIDLIST, SHITEMID

Interfaces
IAutoComplete, IAutoComplete2, IOleCommandTarget, IObjectArray, IObjectCollection, IExtractIcon, IProgressDialog, IOpenControlPanel, IApplicationAssociationRegistration, IApplicationDestinations, IApplicationDocumentLists, IDefaultExtractIconInit, IEnumAssocHandlers, IEnumIDList, IFileSystemBindData, IFileSystemBindData2, IQueryInfo, IActionProgress, IActionProgressDialog, ICommDlgBrowser, ICommDlgBrowser2, ICommDlgBrowser3, IContextMenu, IContextMenu2, IContextMenu3, IContextMenuCB, ICopyHookA, ICopyHookW, IExplorerBrowser, IExplorerBrowserEvents, IExplorerPaneVisibility, IExtractImage, IFileDialog, IFileDialog2, IFileDialogControlEvents, IFileDialogCustomize, IFileDialogEvents, IFileOpenDialog, IFileOperationProgressSink, IFileSaveDialog, IModalWindow, IFileOperation, IInitializeWithFile, IInitializeWithItem, IInitializeWithStream, IInputObject, IInputObject2, IInputObjectSite, IKnownFolder, IKnownFolderManager, IObjectWithAppUserModelId, IObjectWithProgId, IObjectWithSite, IOperationsProgressDialog, IPreviewHandler, IPreviewHandlerFrame, IPreviewHandlerVisuals, IServiceProvider, IShellExtInit, IEnumExtraSearch, IShellFolder, IShellFolder2, IEnumShellItems, IShellItem, IShellItem2, IShellItemArray, IShellItemImageFactory, IShellLibrary, IShellLinkDataList, IShellLinkW, IShellPropSheetExt, IFolderViewOptions, IShellBrowser, IShellFolderViewCB, IShellView, IShellView2, IShellView3, IStartMenuPinnedList, ICustomDestinationList, ITaskbarList, ITaskbarList2, ITaskbarList3, ITaskbarList4, IThumbnailProvider