Creates and operates external objects
Methods
MFExternalCreate
Creates an object in an external process by its GUID. You can find GUIDs of objects in /Include/MPlatform.idl file in your SDK's directory.
Syntax
void MFExternalCreate( Guid _gCLassID, out object _ppObj, out uint _pdwProcessID, string _bsProps )
Parameters
_gCLassID - GUID of an object. For example, "{0F56D2E7-033C-4A05-BCDA-DF58C9BBF06F}" for Character Generator
_ppObj - output object that you can use for further control in your application
_pdwProcessID - process ID that you need to control the process
_bsProps - additional properties (reserved for future usage)
MFExternalDestroy
Destroys an external object
Syntax
void MFExternalDestroy( object _pObj )
Parameters
_pObj - object itself that you need to be destroyed
MFExternalIsAliveByPID
Checks whether an external object is alive by the object's process ID
Syntax
void MFExternalIsAliveByPID( uint _dwPID, out int _pbAlive )
Parameters
_dwPID - process ID
_pbAlive - indicator whether the object alive (1) or not (0)