propsys.SHGetPropertyStoreForWindow

PyIPropertyStore = SHGetPropertyStoreForWindow(hwnd, riid )

Retrieves a collection of a window's properties

Parameters

hwnd : PyHANDLE

Handle to a window

riid=IID_IPropertyStore : PyIID

The interface to create

Comments

Requires Windows 7 or later.

Return Value

The returned store can be used to set the System.AppUserModel.ID property that determines how windows are grouped on the taskbar