Show / Hide Table of Contents

Class ComUtil

COM utility functions.

public static class ComUtil

Namespace: Au.More
Assembly: Au.dll
Inheritance
object
ComUtil

Fields

Name Description
Missing

Default value for optional parameters of type VARIANT (object in C#) of COM functions. The same as System.Reflection.Missing.Value.

Methods

Name Description
CreateObject(in Guid)

Creates COM object using CLSID.

CreateObject(string)

Creates COM object using ProgID.

GetActiveObject(in Guid, bool)
GetActiveObject(string, bool)

Gets a COM object existing in other process and registered in ROT.

GetWindowObject(wnd, string, bool)

Gets COM object from a window using API AccessibleObjectFromWindow(OBJID_NATIVEOM, IID_IDispatch).