powcpropsys.propdesc module

目次

powcpropsys.propdesc module#

プロパティ情報。

class powcpropsys.propdesc.ConditionOperation(*values)#

ベースクラス: IntEnum

CONDITION_OPERATION

APPLICATION_SPECIFIC = 14#
DOSWILDCARDS = 11#
EQUAL = 1#
GREATERTHAN = 4#
GREATERTHANOREQUAL = 6#
IMPLICIT = 0#
LESSTHAN = 3#
LESSTHANOREQUAL = 5#
NOTEQUAL = 2#
VALUE_CONTAINS = 9#
VALUE_ENDSWITH = 8#
VALUE_NOTCONTAINS = 10#
VALUE_STARTSWITH = 7#
WORD_EQUAL = 12#
WORD_STARTSWITH = 13#
class powcpropsys.propdesc.IPropertyDescription#

ベースクラス: IUnknown

CoerceToCanonicalValue = <COM method offset 21: WinFunctionType>#
FormatForDisplay = <COM method offset 22: WinFunctionType>#
GetAggregationType = <COM method offset 18: WinFunctionType>#
GetCanonicalName = <COM method offset 4: WinFunctionType>#
GetColumnState = <COM method offset 12: WinFunctionType>#
GetConditionType = <COM method offset 19: WinFunctionType>#
GetDefaultColumnWidth = <COM method offset 10: WinFunctionType>#
GetDisplayName = <COM method offset 6: WinFunctionType>#
GetDisplayType = <COM method offset 11: WinFunctionType>#
GetEditInvitation = <COM method offset 7: WinFunctionType>#
GetEnumTypeList = <COM method offset 20: WinFunctionType>#
GetGroupingRange = <COM method offset 13: WinFunctionType>#
GetPropertyKey = <COM method offset 3: WinFunctionType>#
GetPropertyType = <COM method offset 5: WinFunctionType>#
GetRelativeDescription = <COM method offset 15: WinFunctionType>#
GetRelativeDescriptionType = <COM method offset 14: WinFunctionType>#
GetSortDescription = <COM method offset 16: WinFunctionType>#
GetSortDescriptionLabel = <COM method offset 17: WinFunctionType>#
GetTypeFlags = <COM method offset 8: WinFunctionType>#
GetViewFlags = <COM method offset 9: WinFunctionType>#
IsValueCanonical = <COM method offset 23: WinFunctionType>#
class powcpropsys.propdesc.IPropertyDescriptionList#

ベースクラス: IUnknown

GetAt = <COM method offset 4: WinFunctionType>#
GetCount = <COM method offset 3: WinFunctionType>#
class powcpropsys.propdesc.IPropertyEnumType#

ベースクラス: IUnknown

GetDisplayText = <COM method offset 7: WinFunctionType>#
GetEnumType = <COM method offset 3: WinFunctionType>#
GetRangeMinValue = <COM method offset 5: WinFunctionType>#
GetRangeSetValue = <COM method offset 6: WinFunctionType>#
GetValue = <COM method offset 4: WinFunctionType>#
class powcpropsys.propdesc.IPropertyEnumTypeList#

ベースクラス: IUnknown

FindMatchingIndex = <COM method offset 6: WinFunctionType>#
GetAt = <COM method offset 4: WinFunctionType>#
GetCount = <COM method offset 3: WinFunctionType>#
GetconditionAt = <COM method offset 5: WinFunctionType>#
class powcpropsys.propdesc.PropDescAggregationType(*values)#

ベースクラス: IntEnum

PROPDESC_AGGREGATION_TYPE

AVERAGE = 3#
DATERANGE = 4#
DEFAULT = 0#
FIRST = 1#
MAX = 6#
MIN = 7#
SUM = 2#
UNION = 5#
class powcpropsys.propdesc.PropDescConditionType(*values)#

ベースクラス: IntEnum

PROPDESC_CONDITION_TYPE

BOOLEAN = 4#
DATETIME = 3#
NONE = 0#
NUMBER = 5#
SIZE = 2#
STRING = 1#
class powcpropsys.propdesc.PropDescDisplayType(*values)#

ベースクラス: IntEnum

PROPDESC_DISPLAYTYPE

BOOLEAN = 2#
DATETIME = 3#
ENUMERATED = 4#
NUMBER = 1#
STRING = 0#
class powcpropsys.propdesc.PropDescEnumFilter(*values)#

ベースクラス: IntEnum

PROPDESC_ENUMFILTER

ALL = 0#
COLUMN = 6#
INFULLTEXTQUERY = 5#
NONSYSTEM = 2#
QUERYABLE = 4#
SYSTEM = 1#
VIEWABLE = 3#
class powcpropsys.propdesc.PropDescFormatFlags(*values)#

ベースクラス: IntFlag

PROPDESC_FORMAT_FLAGS

ALWAYSKB = 4#
DEFAULT = 0#
FILENAME = 2#
HIDEDATE = 512#
HIDETIME = 64#
LONGDATE = 256#
LONGTIME = 32#
NOAUTOREADINGORDER = 8192#
PREFIXNAME = 1#
READONLY = 4096#
RELATIVEDATE = 1024#
RESERVED_RIGHTTOLEFT = 8#
SHORTDATE = 128#
SHORTTIME = 16#
USEEDITINVITATION = 2048#
class powcpropsys.propdesc.PropDescGroupingRange(*values)#

ベースクラス: IntEnum

PROPDESC_GROUPING_RANGE

ALPHANUMERIC = 1#
DATE = 4#
DISCRETE = 0#
DYNAMIC = 3#
ENUMERATED = 6#
PERCENT = 5#
SIZE = 2#
class powcpropsys.propdesc.PropDescRelativeDescriptionType(*values)#

ベースクラス: IntEnum

PROPDESC_RELATIVEDESCRIPTION_TYPE

COUNT = 3#
DATE = 1#
DURATION = 6#
GENERAL = 0#
LENGTH = 5#
PRIORITY = 10#
RATE = 8#
RATING = 9#
REVISION = 4#
SIZE = 2#
SPEED = 7#
class powcpropsys.propdesc.PropDescSortDescription(*values)#

ベースクラス: IntEnum

PROPDESC_SORTDESCRIPTION

A_Z = 1#
GENERAL = 0#
LOWEST_HIGHEST = 2#
OLDEST_NEWEST = 4#
SMALLEST_BIGGEST = 3#
class powcpropsys.propdesc.PropDescTypeFlags(*values)#

ベースクラス: IntFlag

PROPDESC_TYPE_FLAGS

ALWAYS_INSUPPLEMENTAL_STORE = 4096#
CANBE_PURGED = 512#
CAN_GROUPBY = 8#
CAN_STACKBY = 16#
DEFAULT = 0#
DONT_COERCE_EMPTYSTRINGS = 2048#
INCLUDE_INFULLTEXTQUERY = 64#
IS_GROUP = 4#
IS_INNATE = 2#
IS_QUERYABLE = 256#
IS_SYSTEM_PROPERTY = 2147483648#
IS_TREEPROPERTY = 32#
IS_VIEWABLE = 128#
MASK_ALL = 2147491839#
MULTIPLEVALUES = 1#
SEARCH_RAWVALUE = 1024#
class powcpropsys.propdesc.PropDescViewFlags(*values)#

ベースクラス: IntFlag

PROPDESC_VIEW_FLAGS

BEGIN_NEWGROUP = 4#
CANWRAP = 4096#
CENTER_ALIGN = 1#
DEFAULT = 0#
FILL_AREA = 8#
HIDDEN = 2048#
HIDE_LABEL = 512#
MASK_ALL = 7167#
RIGHT_ALIGN = 2#
SHOW_BYDEFAULT = 64#
SHOW_INPRIMARYLIST = 128#
SHOW_INSECONDARYLIST = 256#
SHOW_ONLYIFPRESENT = 32#
SORT_DESCENDING = 16#
class powcpropsys.propdesc.PropEnumType(*values)#

ベースクラス: IntEnum

DEFAULTVALUE = 2#
DISCRETEVALUE = 0#
ENDRANGE = 3#
RANGEDVALUE = 1#
class powcpropsys.propdesc.PropertyDescription(o: Any)#

ベースクラス: object

プロパティシステムのプロパティの説明。IPropertyDescriptionのラッパーです。

class ConditionType(conditiontype: powcpropsys.propdesc.PropDescConditionType, default_operation: powcpropsys.propdesc.ConditionOperation)#

ベースクラス: object

conditiontype: PropDescConditionType#
default_operation: ConditionOperation#
class RelativeDescription(desc1: str, desc2: str)#

ベースクラス: object

desc1: str#
desc2: str#
property aggregationtype: PropDescAggregationType#
property aggregationtype_nothrow: ComResult[PropDescAggregationType]#
property canonicalname: str#
property canonicalname_nothrow: ComResult[str]#
property columnstate: ShellColumnState#
property columnstate_nothrow: ComResult[ShellColumnState]#
property conditiontype: ConditionType#
property conditiontype_nothrow: ComResult[ConditionType]#
corece_to_canonicalvalue(value: PropVariant) None#
corece_to_canonicalvalue_nothrow(value: PropVariant) ComResult[None]#
property default_columnwidth: int#
property default_columnwidth_nothrow: ComResult[int]#
property displayname: str#
property displayname_nothrow: ComResult[str]#
property displaytype: PropDescDisplayType#
property displaytype_nothrow: ComResult[PropDescDisplayType]#
property edit_invitation: str#
property edit_invitation_nothrow: ComResult[str]#
property enumtypelist: PropertyEnumTypeList#
property enumtypelist_nothrow: ComResult[PropertyEnumTypeList]#
format_for_display(value: PropVariant, flags: PropDescFormatFlags) str#
format_for_display_nothrow(value: PropVariant, flags: PropDescFormatFlags) ComResult[str]#
get_relativedesc(value1: PropVariant, value2: PropVariant) RelativeDescription#
get_relativedesc_nothrow(value1: PropVariant, value2: PropVariant) ComResult[RelativeDescription]#
get_sortdesclabel(desc: bool) str#
get_sortdesclabel_nothrow(desc: bool) ComResult[str]#
property groupingrange: PropDescGroupingRange#
property groupingrange_nothrow: ComResult[PropDescGroupingRange]#
is_value_canonical(value: PropVariant) bool#
is_value_canonical_nothrow(value: PropVariant) ComResult[bool]#
property propkey: PropertyKey#
property propkey_nothrow: ComResult[PropertyKey]#
property proptype: VARENUM#
property proptype_nothrow: ComResult[VARENUM]#
property reldesctype: PropDescRelativeDescriptionType#
property reldesctype_nothrow: ComResult[PropDescRelativeDescriptionType]#
property sortdesc: PropDescSortDescription#
property sortdesc_nothrow: ComResult[PropDescSortDescription]#
property sortdesclabel_ascending: str#
property sortdesclabel_ascending_nothrow: ComResult[str]#
property sortdesclabel_descending: str#
property sortdesclabel_descending_nothrow: ComResult[str]#
property typeflags: PropDescTypeFlags#
property typeflags_nothrow: ComResult[PropDescTypeFlags]#
property viewflags: PropDescViewFlags#
property viewflags_nothrow: ComResult[PropDescViewFlags]#
property wrapped_obj: c_void_p#
class powcpropsys.propdesc.PropertyDescriptionList(o: Any)#

ベースクラス: object

プロパティシステムのプロパティの説明リスト。IPropertyDescriptionListのラッパーです。

getat(index: int) PropertyDescription#

インデックスを指定して項目を取得します。 キーが整数固定なので__getitem__より高速です。

property items: tuple[PropertyDescription, ...]#
property wrapped_obj: c_void_p#
class powcpropsys.propdesc.PropertyEnumType(o: Any)#

ベースクラス: object

プロパティの列挙情報。IPropertyEnumTypeのラッパーです。

property displaytext: str#
property displaytext_nothrow: ComResult[str]#
property enumtype: PropEnumType#
property enumtype_nothrow: ComResult[PropEnumType]#
property range_min: PropVariant#
property range_min_nothrow: ComResult[PropVariant]#
property range_set: PropVariant#
property range_set_nothrow: ComResult[PropVariant]#
property value: PropVariant#
property value_nothrow: ComResult[PropVariant]#
property wrapped_obj: c_void_p#
class powcpropsys.propdesc.PropertyEnumTypeList(o: Any)#

ベースクラス: object

プロパティの列挙情報リスト。PropertyEnumTypeListのラッパーです。

find_matching_index(value: PropVariant) int#
find_matching_index_nothrow(value: PropVariant) ComResult[int]#
getat(index: int) PropertyEnumType#

インデックスを指定して項目を取得します。 キーが整数固定なので__getitem__より高速です。

property items: tuple[PropertyEnumType, ...]#
property wrapped_obj: c_void_p#
class powcpropsys.propdesc.ShellColumnState(*values)#

ベースクラス: IntFlag

SHCOLSTATEF

BATCHREAD = 131072#
DEFAULT = 0#
DISPLAYMASK = 61440#
EXTENDED = 64#
FIXED_RATIO = 16384#
FIXED_WIDTH = 4096#
HIDDEN = 256#
NODPISCALE = 8192#
NOSORTBYFOLDERNESS = 2048#
NO_GROUPBY = 262144#
ONBYDEFAULT = 16#
PREFER_FMTCMP = 1024#
PREFER_VARCMP = 512#
SECONDARYUI = 128#
SLOW = 32#
TYPEMASK = 15#
TYPE_DATE = 3#
TYPE_INT = 2#
TYPE_STR = 1#
VIEWONLY = 65536#