propsys.SHSetDefaultProperties
SHSetDefaultProperties(hwnd, Item, FileOpFlags, Sink)
Sets the default properties for a file.
Parameters
hwnd : PyHANDLE
Parent window for any notifications, can be NoneItem : PyIShellItem
Shell item whose defaults are to be setFileOpFlags=0 : int
File operation flags, as used with PyIFileOperation::SetOperationFlags
Sink=None : PyGFileOperationProgressSink
Event sink to receive notifications
Comments
Default properties are registered by filetype under SetDefaultsFor value.