IClassFactory

A class factory.

Class factories allows classes to be instantiated in an uninitialized state.

Members

Aliases

RemoteCreateInstance
alias RemoteCreateInstance = CreateInstance
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
RemoteLockServer
alias RemoteLockServer = LockServer
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.

Functions

CreateInstance
HRESULT CreateInstance(IUnknown outer, const(IID)* riid, void* ppvObject)

Creates an uninitialized object.

LockServer
HRESULT LockServer(bool fLock)

Locks an object application open in memory. This enables instances to be created more quickly.

Inherited Members

From IUnknown

iid
IID iid;

Helper type for getting the GUID of IUnknown.

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

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

QueryInterface
HRESULT QueryInterface(T** pvObject)

A helper function that infers an interface identifier.

AddRef
uint AddRef()

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

Release
uint Release()

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

Meta