powdeviceinfo.cfgmgr package#
- class powdeviceinfo.cfgmgr.CMClass(guid: Guid)#
ベースクラス:
object- abstractmethod static classenumflags() int#
- abstractmethod static classpropflags() int#
- get_prop(key: DevicePropertyKey) DeviceProperty#
- get_prop_or_none(key: DevicePropertyKey) DeviceProperty | None#
- property instanceid_or_none: str | None#
- classmethod iter() Iterator[Self]#
- property name_or_none: str | None#
- property propkeycount: int#
- property propkeys: tuple[DevicePropertyKey, ...]#
- property props: tuple[DeviceProperty, ...]#
- class powdeviceinfo.cfgmgr.CMDevice(id: str, flags: ~powdeviceinfo.cfgmgr.CMLocateFlag | int = <CMLocateFlag.NORMAL: 0>)#
ベースクラス:
object- property description_or_none: str | None#
- property devinst: int#
- get_prop(key: DevicePropertyKey) DeviceProperty#
- get_prop_or_none(key: DevicePropertyKey) DeviceProperty | None#
- property instanceid_or_none: str | None#
- static iter_deviceid_by_class(class_: CMSetupClass, presents_only: bool) Iterator[CMDevice]#
- static iter_deviceid_by_classname(classname: str, presents_only: bool, ignorecase: bool = True) Iterator[CMDevice]#
- property name_or_none: str | None#
- property propdict: OrderedDict[DevicePropertyKey, DeviceProperty]#
- property propkeys: tuple[DevicePropertyKey, ...]#
- property propkeyscount: int#
- property props: tuple[tuple[DevicePropertyKey, DeviceProperty], ...]#
- property props_iter: Iterator[tuple[DevicePropertyKey, DeviceProperty]]#
- class powdeviceinfo.cfgmgr.CMDeviceID#
ベースクラス:
object- static iter_all(presents_only: bool = False) Iterator[str]#
- static iter_by_class(enumerator: str, presents_only: bool) Iterator[str]#
- static iter_by_enumerator(enumerator: str, presents_only: bool) Iterator[str]#
- exception powdeviceinfo.cfgmgr.CMError(cr: int)#
ベースクラス:
Exception- cr: int#
- static throw_if_failed(cr: int) None#
- static throw_ifnot_buffersmall(cr: int) None#
- class powdeviceinfo.cfgmgr.CMInterfaceClass(guid: Guid)#
ベースクラス:
CMClass- static classenumflags() int#
- static classpropflags() int#
- class powdeviceinfo.cfgmgr.CMLocateFlag(*values)#
ベースクラス:
IntFlag- CANCEL_REMOVE = 2#
- NORMAL = 0#
- NO_VALIDATION = 4#
- PHANTOM = 1#
- class powdeviceinfo.cfgmgr.CMSetupClass(guid: Guid)#
ベースクラス:
CMClass- static classenumflags() int#
- property classname_or_none: str | None#
- static classpropflags() int#
- static find_by_classname(classname: str, ignorecase: bool) CMSetupClass | None#