IDebugFunctionObject::CreateObjectNoConstructorIDebugFunctionObject::CreateObjectNoConstructor
Crée un objet sans constructeur.Creates an object with no constructor.
SyntaxeSyntax
HRESULT CreateObjectNoConstructor(
IDebugField* pClassObject,
IDebugObject** ppObject
);
int CreateObjectNoConstructor(
IDebugField pClassField,
out IDebugObject ppObject
);
ParamètresParameters
pClassObject
dans Objet IDebugField qui représente le type de l’objet à créer.[in] An IDebugField object representing the type of the object to be created.
ppObject
à Retourne un IDebugObject représentant l’objet nouvellement créé.[out] Returns an IDebugObject representing the newly created object.
Valeur renvoyéeReturn Value
En cas de réussite, retourne S_OK ; Sinon, retourne un code d’erreur.If successful, returns S_OK; otherwise, returns an error code.
NotesRemarks
Appelez cette méthode pour créer un objet qui représente une instance d’une structure ou d’un type complexe (qui ne requiert pas de constructeur) qui est un paramètre de la fonction qui est représenté par l’interface IDebugFunctionObject .Call this method to create an object that represents an instance of a structure or complex type (that does not require a constructor) that is a parameter to the function which is represented by the IDebugFunctionObject interface.
Si le paramètre d’objet requiert un constructeur, appelez la méthode CreateObject .If the object parameter requires a constructor, call the CreateObject method.