powc.comobj module#
COMオブジェクトの基本操作クラス。
- class powc.comobj.BindCtx(o: Any)#
ベースクラス:
objectIBindCtxインターフェイスのラッパーです。
- property bindoptions: BindOptions3#
- property bindoptions1: BindOptions#
- property bindoptions1_nothrow: ComResult[BindOptions]#
- property bindoptions2: BindOptions2#
- property bindoptions2_nothrow: ComResult[BindOptions2]#
- property bindoptions3: BindOptions3#
- property bindoptions3_nothrow: ComResult[BindOptions3]#
- property bindoptions_nothrow: ComResult[BindOptions3]#
- get_enumobjectparams() ComStringEnumerator#
- get_enumobjectparams_nothrow() ComResult[ComStringEnumerator]#
- get_objectparam(key: str, t: type[T]) T#
- register_objectbound(obj: IUnknownWrapper) None#
- register_objectbound_nothrow(obj: IUnknownWrapper) ComResult[None]#
- register_objectparam(key: str, obj: IUnknownWrapper) None#
- register_objectparam_nothrow(key: str, obj: IUnknownWrapper) ComResult[None]#
- release_boundobjects() None#
- revoke_objectbound(obj: IUnknownWrapper) None#
- revoke_objectbound_nothrow(obj: IUnknownWrapper) ComResult[None]#
- revoke_objectparam(key: str) None#
- property rot: RunningObjectTable#
- property rot_nothrow: ComResult[RunningObjectTable]#
- set_bindoptions1_nothrow(options: BindOptions) ComResult[None]#
- set_bindoptions2_nothrow(options: BindOptions2) ComResult[None]#
- set_bindoptions3_nothrow(options: BindOptions3) ComResult[None]#
- property wrapped_obj: c_void_p#
- class powc.comobj.BindFlag(*values)#
ベースクラス:
IntFlagBIND_FLAGS
- JUST_TEST_EXISTENCE = 2#
- MAY_BOTHER_USER = 1#
- class powc.comobj.BindOptions#
ベースクラス:
StructureBIND_OPTS構造体のラッパー。
- cb_struct#
Structure/Union member
- flags#
Structure/Union member
- mode#
Structure/Union member
- tickcount_deadline#
Structure/Union member
- class powc.comobj.BindOptions2#
ベースクラス:
BindOptions- class_context#
Structure/Union member
- locale#
Structure/Union member
- server_info#
Structure/Union member
- track_flags#
Structure/Union member
- class powc.comobj.BindOptions3#
ベースクラス:
BindOptions2- window_handle#
Structure/Union member
- class powc.comobj.ComStringEnumerator(o: Any)#
ベースクラス:
objectIEnumStringインターフェイスのラッパーです。
- clone() ComStringEnumerator#
- clone_nothrow() ComResult[ComStringEnumerator]#
- property wrapped_obj: c_void_p#
- class powc.comobj.IBindCtx#
ベースクラス:
IUnknownIBindCtxインターフェイスのラッパー。
- EnumObjectParam = <COM method offset 11: WinFunctionType>#
- GetBindOptions = <COM method offset 7: WinFunctionType>#
- GetObjectParam = <COM method offset 10: WinFunctionType>#
- GetRunningObjectTable = <COM method offset 8: WinFunctionType>#
- RegisterObjectBound = <COM method offset 3: WinFunctionType>#
- RegisterObjectParam = <COM method offset 9: WinFunctionType>#
- ReleaseBoundObjects = <COM method offset 5: WinFunctionType>#
- RevokeObjectBound = <COM method offset 4: WinFunctionType>#
- RevokeObjectParam = <COM method offset 12: WinFunctionType>#
- SetBindOptions = <COM method offset 6: WinFunctionType>#
- class powc.comobj.IEnumMoniker#
ベースクラス:
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.comobj.IEnumString#
ベースクラス:
IUnknownIEnumStringインターフェイス。
- 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.comobj.IEnumUnknown#
ベースクラス:
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.comobj.IMoniker#
ベースクラス:
IPersistStream- BindToObject = <COM method offset 8: WinFunctionType>#
- BindToStorage = <COM method offset 9: WinFunctionType>#
- CommonPrefixWith = <COM method offset 18: WinFunctionType>#
- ComposeWith = <COM method offset 11: WinFunctionType>#
- Enum = <COM method offset 12: WinFunctionType>#
- GetDisplayName = <COM method offset 20: WinFunctionType>#
- GetTimeOfLastChange = <COM method offset 16: WinFunctionType>#
- Hash = <COM method offset 14: WinFunctionType>#
- Inverse = <COM method offset 17: WinFunctionType>#
- IsEqual = <COM method offset 13: WinFunctionType>#
- IsRunning = <COM method offset 15: WinFunctionType>#
- IsSystemMoniker = <COM method offset 22: WinFunctionType>#
- ParseDisplayName = <COM method offset 21: WinFunctionType>#
- Reduce = <COM method offset 10: WinFunctionType>#
- RelativePathTo = <COM method offset 19: WinFunctionType>#
- class powc.comobj.IRunningObjectTable#
ベースクラス:
IUnknown- EnumRunning = <COM method offset 9: WinFunctionType>#
- GetObject = <COM method offset 6: WinFunctionType>#
- GetTimeOfLastChange = <COM method offset 8: WinFunctionType>#
- IsRunning = <COM method offset 5: WinFunctionType>#
- NoteChangeTime = <COM method offset 7: WinFunctionType>#
- Register = <COM method offset 3: WinFunctionType>#
- Revoke = <COM method offset 4: WinFunctionType>#
- class powc.comobj.IUnknownEnumerator(o: Any)#
ベースクラス:
objectIEnumUnknownインターフェイスのラッパーです。
- clone() IUnknownEnumerator#
- clone_nothrow() ComResult[IUnknownEnumerator]#
- property wrapped_obj: c_void_p#
- class powc.comobj.Moniker(o: Any)#
ベースクラス:
objectIMonikerインターフェイスのラッパーです。
- property clsid: GUID#
- static create_objref(wrapper: IUnknownWrapper) Moniker#
- static create_objref_nothrow(wrapper: IUnknownWrapper) ComResult[Moniker]#
- static create_pointer(wrapper: IUnknownWrapper) Moniker#
- static create_pointer_nothrow(wrapper: IUnknownWrapper) ComResult[Moniker]#
- property displayname: str#
- property enum_backward: MonikerEnumerator#
- property enum_backward_nothrow: ComResult[MonikerEnumerator]#
- property enum_forward: MonikerEnumerator#
- property enum_forward_nothrow: ComResult[MonikerEnumerator]#
- property hash: int#
- property is_dirty: bool#
- property is_sysmoniker: MonikerSystem#
- property is_sysmoniker_nothrow: ComResult[MonikerSystem]#
- parse_displayname(displayname: str, left: Moniker | None = None, bc: BindCtx | None = None) Moniker#
- parse_displayname_nothrow(displayname: str, left: Moniker | None = None, bc: BindCtx | None = None) ComResult[Moniker]#
- property sizemax: int#
- property wrapped_obj: c_void_p#
- class powc.comobj.MonikerEnumerator(o: Any)#
ベースクラス:
objectIEnumMonikerインターフェイスのラッパーです。
- clone() MonikerEnumerator#
- clone_nothrow() ComResult[MonikerEnumerator]#
- property wrapped_obj: c_void_p#
- class powc.comobj.MonikerReduce(*values)#
ベースクラス:
IntFlagMKREDUCE
- ALL = 0#
- ONE = 196608#
- THROUGHUSER = 65536#
- TOUSER = 131072#
- class powc.comobj.MonikerSystem(*values)#
ベースクラス:
IntEnumMKSYS
- ANTI_MONIKER = 3#
- CLASS_MONIKER = 7#
- FILE_MONIKER = 2#
- GENERIC_COMPOSITE = 1#
- ITEM_MONIKER = 4#
- LUA_MONIKER = 10#
- NONE = 0#
- OBJREF_MONIKER = 8#
- POINTER_MONIKER = 5#
- SESSION_MONIKER = 9#
- class powc.comobj.RunningObjectTable(o: Any)#
ベースクラス:
objectIRunningObjectTableインターフェイスのラッパーです。
- static create() RunningObjectTable#
- static create_nothrow() ComResult[RunningObjectTable]#
- property enumrunning: MonikerEnumerator#
- property enumrunning_nothrow: ComResult[MonikerEnumerator]#
- register(flags: RunningObjectTableFlag, object: POINTER(IUnknown), objectname: Moniker) int#
- register_nothrow(flags: RunningObjectTableFlag, object: POINTER(IUnknown), objectname: Moniker) ComResult[int]#
- revoke(register: int) None#
- property wrapped_obj: c_void_p#