ShellAPI is a Windows API that provides functions that interact with the Windows Shell (Explorer), enabling developers to open files, applications, and URLs.
Header: shellapi.h Library: Shell32.lib DLL: Shell32.dll
Some ShellAPI functions:
| Function | Description |
|---|---|
| ShellExecute | Opens files, applications, URLs, … |
| ShellExecuteEx | Extended version of ShellExecute, provides additional options |
| SHFileOperation | Move, copy, rename, delete files with Explorer-like UI |
| SHBrowseForFolder | Opens “Browse for Folder” dialog |
| SHGetFolderPath | Get special folder paths: Desktop, Documents, … |
| Shell_NotifyIcon | Add, modify, or remove system tray icons |