Wraps the IPropertySystem interface
-
Returns an interface used to describe a property
-
Returns an interface used to describe a property
-
GetPropertyDescriptionListFromString
Retrieves property descriptions from a string of property names
-
Returns an interface used to list defined properties
-
Formats a property into a string
-
Registers a set of properties defined in a .propdesc file
-
Removes a set of registered properties
-
Not currently implemented by the OS
PyIPropertySystem.EnumeratePropertyDescriptions
PyIPropertyDescriptionList = EnumeratePropertyDescriptions(Filter, riid
) Returns an interface used to list defined properties
-
Filter=PDEF_ALL : int
Value from PROPDESC_ENUMFILTER (pscon.PDEF_*) that limits what types of properties are listed
-
riid=IID_IPropertyDescriptionList : PyIID
The interface to return
PyIPropertySystem.FormatForDisplay
str = FormatForDisplay(Key, Value
, Flags
) Formats a property into a string
-
Key : PyPROPERTYKEY
Fmtid and property id that identifies the property
-
Value : PyPROPVARIANT
The value to format
-
Flags=PDFF_DEFAULT : int
Combination of PROPDESC_FORMAT_FLAGS (pscon.PDFF_*) indicating formatting options
PyIPropertySystem.GetPropertyDescription
PyIPropertyDescription = GetPropertyDescription(Key, riid
) Returns an interface used to describe a property
-
Key : PyPROPERTYKEY
Fmtid and propertyid that uniquely identifies a property
-
riid=IID_IPropertyDescription : PyIID
The interface to return
PyIPropertySystem.GetPropertyDescriptionByName
PyIPropertyDescription = GetPropertyDescriptionByName(CanonicalName, riid
) Returns an interface used to describe a property
-
CanonicalName : str
Registered name of the property
-
riid=IID_IPropertyDescription : PyIID
The interface to return
PyIPropertySystem.GetPropertyDescriptionListFromString
PyIPropertyDescriptionList = GetPropertyDescriptionListFromString(PropList, riid
) Retrieves property descriptions from a string of property names
-
PropList : str
String containing a list of properties and flags
-
riid=IPropertyDescriptionList : PyIID
The interface to return
PyIPropertySystem.RefreshPropertySchema
RefreshPropertySchema() Not currently implemented by the OS
Not currently implemented, according to MSDN
PyIPropertySystem.RegisterPropertySchema
RegisterPropertySchema(Path) Registers a set of properties defined in a .propdesc file
-
Path : str
Path to a property schema XML file (.propdesc)
PyIPropertySystem.UnregisterPropertySchema
UnregisterPropertySchema(Path) Removes a set of registered properties
-
Path : str
Path to a property schema XML file (.propdesc)