ComObject

Base COM Class for D extensions to the COM API.

Members

Functions

AddRef
uint AddRef()

Increments the reference count for an interface pointer to a COM object.

QueryInterface
HRESULT QueryInterface(const(IID)* riid, void* ppvObject)

Queries a COM object for a pointer to one of its interface.

Release
uint Release()

Decrements the reference count for an interface on a COM object.

Static functions

createInstance
HRESULT createInstance(I target, CLSCTX context, IUnknown outer)

Creates and default-initializes a single object of the class specified.

createInstance
HRESULT createInstance(inout(T)[] progID, I target, ComClassContext context, IUnknown outer)

Meta