shellapi module

class shellapi.SHELLEXECUTEINFOW(**kwargs)

Bases: Structure

_fields_ = (('cbSize', <class 'ctypes.c_ulong'>), ('fMask', <class 'ctypes.c_ulong'>), ('hwnd', <class 'ctypes.c_void_p'>), ('lpVerb', <class 'ctypes.c_wchar_p'>), ('lpFile', <class 'ctypes.c_wchar_p'>), ('lpParameters', <class 'ctypes.c_wchar_p'>), ('lpDirectory', <class 'ctypes.c_wchar_p'>), ('nShow', <class 'ctypes.c_long'>), ('hInstApp', <class 'ctypes.c_void_p'>), ('lpIDList', <class 'ctypes.c_void_p'>), ('lpClass', <class 'ctypes.c_wchar_p'>), ('hkeyClass', <class 'ctypes.c_void_p'>), ('dwHotKey', <class 'ctypes.c_ulong'>), ('hIconOrMonitor', <class 'ctypes.c_void_p'>), ('hProcess', <class 'ctypes.c_void_p'>))
cbSize

Structure/Union member

dwHotKey

Structure/Union member

fMask

Structure/Union member

hIconOrMonitor

Structure/Union member

hInstApp

Structure/Union member

hProcess

Structure/Union member

hkeyClass

Structure/Union member

hwnd

Structure/Union member

lpClass

Structure/Union member

lpDirectory

Structure/Union member

lpFile

Structure/Union member

lpIDList

Structure/Union member

lpParameters

Structure/Union member

lpVerb

Structure/Union member

nShow

Structure/Union member

shellapi.SHELLEXECUTEINFO

alias of SHELLEXECUTEINFOW

shellapi.ShellExecute(hwnd: int | None, operation: str | None, file: str, parameters: str | None, directory: str | None, showCmd: int) None
shellapi.ShellExecuteEx(execInfo)
class shellapi.SHFILEOPSTRUCT

Bases: Structure

_fields_ = [('hwnd', <class 'ctypes.c_void_p'>), ('wFunc', <class 'ctypes.c_ulong'>), ('pFrom', <class 'ctypes.c_wchar_p'>), ('pTo', <class 'ctypes.c_wchar_p'>), ('fFlags', <class 'ctypes.c_ushort'>), ('fAnyOperationsAborted', <class 'ctypes.c_long'>), ('hNameMapping', <class 'ctypes.c_void_p'>), ('lpszProgressTitle', <class 'ctypes.c_wchar_p'>)]
fAnyOperationsAborted

Structure/Union member

fFlags

Structure/Union member

hNameMapping

Structure/Union member

hwnd

Structure/Union member

lpszProgressTitle

Structure/Union member

pFrom

Structure/Union member

pTo

Structure/Union member

wFunc

Structure/Union member

shellapi.SHChangeNotify(wEventId, uFlags, dwItem1, dwItem2)