Module shell
A module wrapping Windows Shell functions and interfaces
Methods
- AssocCreate
- Creates a PyIQueryAssociations object
- AssocCreateForClasses
- Retrieves an object that implements an IQueryAssociations interface."}
- DragQueryFile
- Retrieves the file names of dropped files that have resulted from a successful drag-and-drop operation.
- DragQueryFileW
- Retrieves the file names of dropped files that have resulted from a successful drag-and-drop operation.
- DragQueryPoint
- Retrieves the position of the mouse pointer at the time a file was dropped during a drag-and-drop operation.
- IsUserAnAdmin
- Tests whether the current user is a member of the Administrator's group.
- SHCreateDataObject
- Creates a data object in a parent folder.
- SHCreateDefaultContextMenu
- SHCreateDefaultExtractIcon
- Creates a standard icon extractor, whose defaults can be further configured via the IDefaultExtractIconInit interface.
- SHCreateShellFolderView
- Creates a new instance of the default Shell folder view object.
- SHCreateShellItemArray
- Creates a Shell item array object.
- SHCreateShellItemArrayFromDataObject
- Creates a shell item array from an IDataObject interface
- SHCreateShellItemArrayFromIDLists
- Creates a shell item array from a number of item identifiers
- SHCreateShellItemArrayFromShellItem
- SHGetPathFromIDList
- Converts an PyIDL to a path.
- SHGetPathFromIDListW
- Converts an PyIDL to a unicode path.
- SHBrowseForFolder
- Displays a dialog box that enables the user to select a shell folder.
- SHGetFileInfo
- Retrieves information about an object in the file system, such as a file, a folder, a directory, or a drive root.
- SHGetFolderPath
- Retrieves the path of a folder.
- SHSetFolderPath
- Sets the location of a special folder
- SHGetFolderLocation
- Retrieves the PyIDL of a folder.
- SHGetNameFromIDList
- Retrieves the display name of an item from an ID list.
- SHGetSpecialFolderPath
- Retrieves the path of a special folder.
- SHGetSpecialFolderLocation
- Retrieves the PyIDL of a special folder.
- SHAddToRecentDocs
- Adds a document to the shell's list of recently used documents or clears all documents from the list. The user gains access to the list through the Start menu of the Windows taskbar.
- SHChangeNotify
- Notifies the system of an event that an application has performed. An application should use this function if it performs an action that may affect the shell.
- SHEmptyRecycleBin
- Empties the recycle bin on the specified drive.
- SHQueryRecycleBin
- Returns the number of items and total size of recycle bin
- SHGetDesktopFolder
- Retrieves the PyIShellFolder interface for the desktop folder, which is the root of the shell's namespace.
- SHUpdateImage
- Notifies the shell that an image in the system image list has changed.
- SHChangeNotify
- Notifies the system of an event that an application has performed.
- SHChangeNotifyRegister
- Registers a window that receives notifications from the file system or shell.
- SHChangeNotifyDeregister
- Unregisters the client's window process from receiving notification events
- SHCreateItemFromIDList
- Creates and initializes a Shell item object.
- SHCreateItemFromParsingName
- Creates and initializes a Shell item object from a parsing name.
- SHCreateItemFromRelativeName
- Creates and initializes a Shell item object from a relative parsing name.
- SHCreateItemInKnownFolder
- Creates a Shell item object for a single file that exists inside a known folder.
- SHCreateItemWithParent
- Create a Shell item, given a parent folder and a child item ID.
- SHGetIDListFromObject
- Retrieves the PIDL of an object.
- SHGetInstanceExplorer
- Allows components that run in a Web browser (Iexplore.exe) or a nondefault Windows® Explorer (Explorer.exe) process to hold a reference to the process. The components can use the reference to prevent the process from closing prematurely.
- SHFileOperation
- Copies, moves, renames, or deletes a file system object.
- StringAsCIDA
- Given a CIDA as a raw string, return pidl_folder, [pidl_children, ...]
- CIDAAsString
- Given a (pidl, child_pidls) object, return a CIDA as a string
- StringAsPIDL
- Given a PIDL as a raw string, return a PIDL object (ie, a list of strings)
- AddressAsPIDL
- Given the address of a PIDL, return a PIDL object (ie, a list of strings)
- PIDLAsString
- Given a PIDL object, return the raw PIDL bytes as a string
- SHGetSettings
- Retrieves the current shell option settings.
- FILEGROUPDESCRIPTORAsString
- Creates a FILEGROUPDESCRIPTOR from a sequence of mapping objects, each with FILEDESCRIPTOR attributes
- StringAsFILEGROUPDESCRIPTOR
- Decodes a FILEGROUPDESCRIPTOR packed in a string
- ShellExecuteEx
- Performs an action on a file.
- SHGetViewStatePropertyBag
- Retrieves an interface for a folder's view state
- SHILCreateFromPath
- Returns the PIDL and attributes of a path
- SHCreateShellItem
- Creates an IShellItem interface from a PIDL
- SHOpenFolderAndSelectItems
- Displays a shell folder with items pre-selected
- SHCreateStreamOnFileEx
- Creates a PyIStream that reads and writes to a file
- SetCurrentProcessExplicitAppUserModelID
- Sets the taskbar identifier
- GetCurrentProcessExplicitAppUserModelID
- Retrieves the current taskbar identifier
- SHParseDisplayName
- Translates a display name into a shell item identifier