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.
-
CommandLineToArgv(
Pointer< shell32Utf16> lpCmdLine, Pointer<Int32> pNumArgs) → Pointer<Pointer< Utf16> > - Retrieves the command-line string for the current process.
-
DragQueryFile(
int hDrop, int iFile, Pointer< shell32Utf16> lpszFile, int cch) → int - Retrieves the names of dropped files that result from a successful drag-and-drop operation.
-
DragQueryFile(
int hDrop, int iFile, Pointer< shell32Utf16> lpszFile, int cch) → int - Retrieves the names of dropped files that result from a successful drag-and-drop operation.
-
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.
-
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.
-
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.
-
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.
-
SHCreateMemStream(
Pointer< shell32Uint8> pInit, int cbInit) → Pointer<COMObject> - Creates a memory stream using a similar process to CreateStreamOnHGlobal.
-
SHCreateMemStream(
Pointer< shell32Uint8> pInit, int cbInit) → Pointer<COMObject> - Creates a memory stream using a similar process to CreateStreamOnHGlobal.
-
Shell_NotifyIcon(
int dwMessage, Pointer< shell32NOTIFYICONDATA> lpData) → int - Sends a message to the taskbar's status area.
-
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.
-
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.
-
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.
-
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.
-
SHEmptyRecycleBin(
int hwnd, Pointer< shell32Utf16> pszRootPath, int dwFlags) → int - Empties the Recycle Bin on the specified drive.
-
SHFileOperation(
Pointer< shell32SHFILEOPSTRUCT> lpFileOp) → int - Copies, moves, renames, or deletes a file system object.
-
SHFileOperation(
Pointer< shell32SHFILEOPSTRUCT> lpFileOp) → int - Copies, moves, renames, or deletes a file system object.
-
SHFreeNameMappings(
int hNameMappings) → void shell32 - Frees a file name mapping object that was retrieved by the SHFileOperation function.
-
SHFreeNameMappings(
int hNameMappings) → void shell32 - Frees a file name mapping object that was retrieved by the SHFileOperation function.
-
SHGetDesktopFolder(
Pointer< shell32Pointer< ppshf) → intCOMObject> > - Retrieves the IShellFolder interface for the desktop folder, which is the root of the Shell's namespace.
-
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.
-
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.
-
SHGetDriveMedia(
Pointer< shell32Utf16> pszDrive, Pointer<Uint32> pdwMediaContent) → int - Returns the type of media that is in the given drive.
-
SHGetFileInfo(
Pointer< shell32Utf16> pszPath, int dwFileAttributes, Pointer<SHFILEINFO> psfi, int cbFileInfo, int uFlags) → int - Retrieves information about an object in the file system, such as a file, folder, directory, or drive root.
-
SHGetFileInfo(
Pointer< shell32Utf16> pszPath, int dwFileAttributes, Pointer<SHFILEINFO> psfi, int cbFileInfo, int uFlags) → int - Retrieves information about an object in the file system, such as a file, folder, directory, or drive root.
-
SHGetFolderPath(
int hwnd, int csidl, int hToken, int dwFlags, Pointer< shell32Utf16> pszPath) → int - Gets the path of a folder identified by a CSIDL value.
-
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.
-
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.
-
SHGetLocalizedName(
Pointer< shell32Utf16> pszPath, Pointer<Utf16> pszResModule, int cch, Pointer<Int32> pidsRes) → int - Retrieves the localized name of a file in a Shell folder.
-
SHGetLocalizedName(
Pointer< shell32Utf16> pszPath, Pointer<Utf16> pszResModule, int cch, Pointer<Int32> pidsRes) → int - Retrieves the localized name of a file in a Shell folder.
-
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.
-
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.