CPluginFactory

Undocumented in source.

Constructors

this
this(PFactoryInfo info)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

countClasses
int32 countClasses()
Undocumented in source. Be warned that the author may not have intended to support it.
createInstance
tresult createInstance(FIDString cid, FIDString _iid, void** obj)
Undocumented in source. Be warned that the author may not have intended to support it.
getClassInfo
tresult getClassInfo(int32 index, PClassInfo* info)
Undocumented in source. Be warned that the author may not have intended to support it.
getClassInfo2
tresult getClassInfo2(int32 index, PClassInfo2* info)
Undocumented in source. Be warned that the author may not have intended to support it.
getClassInfoUnicode
tresult getClassInfoUnicode(int32 index, PClassInfoW* info)
Undocumented in source. Be warned that the author may not have intended to support it.
getFactoryInfo
tresult getFactoryInfo(PFactoryInfo* info)
Undocumented in source. Be warned that the author may not have intended to support it.
growClasses
bool growClasses()
Undocumented in source. Be warned that the author may not have intended to support it.
registerClass
bool registerClass(const(PClassInfo)* info, PCreateFun createFunc, void* context)

Registers a Plug-in class with classInfo version 1, returns true for success.

registerClass
bool registerClass(const(PClassInfo2)* info, PCreateFun createFunc, void* context)

Registers a Plug-in class with classInfo version 2, returns true for success.

registerClass
bool registerClass(const(PClassInfoW)* info, PCreateFun createFunc, void* context)

Registers a Plug-in class with classInfo Unicode version, returns true for success.

setHostContext
tresult setHostContext(FUnknown* context)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin QUERY_INTERFACE_SPECIAL_CASE_IUNKNOWN!(IPluginFactory, IPluginFactory2, IPluginFactory3)
Undocumented in source.
__anonymous
mixin IMPLEMENT_REFCOUNT
Undocumented in source.

Structs

PClassEntry
struct PClassEntry
Undocumented in source.

Variables

classCount
int32 classCount;
Undocumented in source.
classes
PClassEntry* classes;
Undocumented in source.
factoryInfo
PFactoryInfo factoryInfo;
Undocumented in source.
maxClassCount
int32 maxClassCount;
Undocumented in source.

Mixed In Members

From mixin QUERY_INTERFACE_SPECIAL_CASE_IUNKNOWN!(IPluginFactory, IPluginFactory2, IPluginFactory3)

queryInterface
tresult queryInterface(TUID _iid, void** obj)
Undocumented in source. Be warned that the author may not have intended to support it.

From mixin IMPLEMENT_REFCOUNT

addRef
uint addRef()
Undocumented in source. Be warned that the author may not have intended to support it.
release
uint release()
Undocumented in source. Be warned that the author may not have intended to support it.
_funknownRefCount
shared(int) _funknownRefCount;
Undocumented in source.

Inherited Members

From IPluginFactory3

getClassInfoUnicode
tresult getClassInfoUnicode(int32 index, PClassInfoW* info)

Returns the unicode class info for a given index.

setHostContext
tresult setHostContext(FUnknown* context)

Receives information about host

iid
TUID iid;
Undocumented in source.

Meta