shell32 topic
Windows Shell APIs
Functions provided by the Windows desktop shell, including file associations, known paths, installed programs and the taskbar.
Functions
-
CommandLineToArgv(
Pointer< shell32Utf16> lpCmdLine, Pointer<Int32> pNumArgs) → Pointer<Pointer< Utf16> > - Retrieves the command-line string for the current process.
-
ExtractAssociatedIcon(
int hInst, Pointer< shell32Utf16> pszIconPath, Pointer<Uint16> piIcon) → int - Gets a handle to an icon stored as a resource in a file or an icon stored in a file's associated executable file.
-
FindExecutable(
Pointer< shell32Utf16> lpFile, Pointer<Utf16> lpDirectory, Pointer<Utf16> lpResult) → int - Retrieves the name of and handle to the executable (.exe) file associated with a specific document file.
-
SHCreateItemFromParsingName(
Pointer< shell32Utf16> pszPath, Pointer<COMObject> pbc, Pointer<GUID> riid, Pointer<Pointer< ppv) → intNativeType> > - Creates and initializes a Shell item object from a parsing name.
-
Shell_NotifyIcon(
int dwMessage, Pointer< shell32NOTIFYICONDATA> lpData) → int - Sends a message to the taskbar's status area.
-
ShellAbout(
int hWnd, Pointer< shell32Utf16> szApp, Pointer<Utf16> szOtherStuff, int hIcon) → int - Displays a ShellAbout dialog box.
-
ShellExecute(
int hwnd, Pointer< shell32Utf16> lpOperation, Pointer<Utf16> lpFile, Pointer<Utf16> lpParameters, Pointer<Utf16> lpDirectory, int nShowCmd) → int - Performs an operation on a specified file.
-
ShellExecuteEx(
Pointer< shell32SHELLEXECUTEINFO> pExecInfo) → int - Performs an operation on a specified file.
-
SHEmptyRecycleBin(
int hwnd, Pointer< shell32Utf16> pszRootPath, int dwFlags) → int - Empties the Recycle Bin on the specified drive.
-
SHGetDesktopFolder(
Pointer< shell32Pointer< ppshf) → intCOMObject> > - Retrieves the IShellFolder interface for the desktop folder, which is the root of the Shell's namespace.
-
SHGetDiskFreeSpaceEx(
Pointer< shell32Utf16> pszDirectoryName, Pointer<Uint64> pulFreeBytesAvailableToCaller, Pointer<Uint64> pulTotalNumberOfBytes, Pointer<Uint64> pulTotalNumberOfFreeBytes) → int - Retrieves disk space information for a disk volume.
-
SHGetDriveMedia(
Pointer< shell32Utf16> pszDrive, Pointer<Uint32> pdwMediaContent) → int - Returns the type of media that is in the given drive.
-
SHGetFolderPath(
int hwnd, int csidl, int hToken, int dwFlags, Pointer< shell32Utf16> pszPath) → int - Gets the path of a folder identified by a CSIDL value.
-
SHGetKnownFolderPath(
Pointer< shell32GUID> rfid, int dwFlags, int hToken, Pointer<Pointer< ppszPath) → intUtf16> > - Retrieves the full path of a known folder identified by the folder's KNOWNFOLDERID.
-
SHQueryRecycleBin(
Pointer< shell32Utf16> pszRootPath, Pointer<SHQUERYRBINFO> pSHQueryRBInfo) → int - Retrieves the size of the Recycle Bin and the number of items in it, for a specified drive.