powc.dataobj module#
COMデータオブジェクト機能を提供します。主なクラスは DataObject です。
- class powc.dataobj.ClipboardFormat(fmt: int)#
ベースクラス:
object- property formatname: str | None#
- property is_gdiobj: bool#
- property is_private: bool#
- property is_standard: bool#
- property value: int#
- class powc.dataobj.DataObject(o: Any)#
ベースクラス:
object- static get_clipboard() DataObject#
- static get_clipboard_nothrow() ComResult[DataObject]#
- get_data(format: ClipboardFormat) StorageMedium#
- get_data_nothrow(format: ClipboardFormat) ComResult[StorageMedium]#
- get_formatetc_enum(direction: DataDirection) FormatEtcEnumerator#
- get_formatetc_enum_nothrow(direction: DataDirection) ComResult[FormatEtcEnumerator]#
- set_clipboard(flush: bool) None#
- property wrapped_obj: c_void_p#
- class powc.dataobj.DeviceTargetDevice#
ベースクラス:
StructureDVTARGETDEVICE
- device_name_offset#
Structure/Union member
- driver_name_offset#
Structure/Union member
- ext_device_mode_offset#
Structure/Union member
- port_name_offset#
Structure/Union member
- size#
Structure/Union member
- class powc.dataobj.FormatEtc#
ベースクラス:
Structure- aspect: int#
Structure/Union member
- static create_simple(format: ClipboardFormat) FormatEtc#
- property format: ClipboardFormat#
- index: int#
Structure/Union member
- ptd: int#
Structure/Union member
- property tymed: MediumType#
- class powc.dataobj.IDataObject#
ベースクラス:
IUnknown- DAdvise = <COM method offset 9: WinFunctionType>#
- DUnadvise = <COM method offset 10: WinFunctionType>#
- EnumDAdvise = <COM method offset 11: WinFunctionType>#
- EnumFormatEtc = <COM method offset 8: WinFunctionType>#
- GetCanonicalFormatEtc = <COM method offset 6: WinFunctionType>#
- GetData = <COM method offset 3: WinFunctionType>#
- GetDataHere = <COM method offset 4: WinFunctionType>#
- QueryGetData = <COM method offset 5: WinFunctionType>#
- SetData = <COM method offset 7: WinFunctionType>#
- class powc.dataobj.IEnumFORMATETC#
ベースクラス:
IUnknown- Clone = <COM method offset 6: WinFunctionType>#
- Next = <COM method offset 3: WinFunctionType>#
- Reset = <COM method offset 5: WinFunctionType>#
- Skip = <COM method offset 4: WinFunctionType>#
- class powc.dataobj.MediumType(*values)#
ベースクラス:
IntFlagTYMED
- ENHMF = 64#
- FILE = 2#
- GDI = 16#
- HGLOBAL = 1#
- ISTORAGE = 8#
- ISTREAM = 4#
- MFPICT = 32#
- NULL = 0#
- class powc.dataobj.StorageMedium#
ベースクラス:
StructureSTGMEDIUM構造体。
- class DummyUnion#
ベースクラス:
Union- bitmap_handle#
Structure/Union member
- enhmetafile_handle#
Structure/Union member
- file#
Structure/Union member
- global_handle#
Structure/Union member
- metafilepict_handle#
Structure/Union member
- storage_ptr#
Structure/Union member
- stream_ptr#
Structure/Union member
- bitmap_handle: int#
Structure/Union member
- property bytes: bytes#
- enhmetafile_handle: int#
Structure/Union member
- file: str#
Structure/Union member
- global_handle: int#
Structure/Union member
- metafilepict_handle: int#
Structure/Union member
- storage_ptr: _Pointer[IUnknown]#
Structure/Union member
- property tymed: MediumType#
- u#
Structure/Union member
- unk_for_release: _Pointer[IUnknown]#
Structure/Union member