propsys.SHSetDefaultProperties

SHSetDefaultProperties(hwnd, Item, FileOpFlags, Sink)

Sets the default properties for a file.

Parameters

hwnd : PyHANDLE

Parent window for any notifications, can be None

Item : PyIShellItem

Shell item whose defaults are to be set

FileOpFlags=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.