IConstructableConcept::CreateInstance method (dbgmodel.h)
Creates an instance of the object or model implementing the IConstructableConcept interface.
Syntax
HRESULT CreateInstance(
ULONG64 argCount,
IModelObject **ppArguments,
_COM_Errorptr_ IModelObject **ppInstance
);
Parameters
argCount
The count of arguments to be passed to the constructor of the object.
ppArguments
Pointer to the array of arguments passed to the constructor of the object. The array should have at least 'argCount' elements.
ppInstance
Pointer to a location where a pointer to the newly created instance will be written.
Return value
If the method succeeds, it returns S_OK, and a pointer to the newly created instance is written to 'ppInstance'. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Header | dbgmodel.h |