An object which represents the IClassFactory interface. Derived from PyIUnknown
-
Creates an uninitialized object.
-
Called by the client of a class object to keep a server open in memory, allowing instances to be created more quickly.
PyIClassFactory.CreateInstance
PyIUnknown = CreateInstance(outerUnknown, iid
) Creates an uninitialized object.
-
outerUnknown : PyIUnknown
Usually None, otherwise the outer unknown if the object is being created as part of an aggregate.
-
iid : PyIID
The IID of the resultant object.
The result object will always be derived from PyIUnknown, but will be of the
type specified by iid.
PyIClassFactory.LockServer
LockServer(bInc) Called by the client of a class object to keep a server open in memory, allowing instances to be created more quickly.
-
bInc : int
1 of the server should be locked, 0 if the server should be unlocked.