IDebugFunctionObject:: CreateObjectNoConstructor

创建对象不构造函数。

HRESULT CreateObjectNoConstructor( 
   IDebugField*   pClassObject,
   IDebugObject** ppObject
);
int CreateObjectNoConstructor(
   IDebugField      pClassField, 
   out IDebugObject ppObject
);

参数

  • pClassObject
    [in] 表示对象的类型 IDebugField 将会创建对象。

  • ppObject
    [out] 返回表示新创建的对象的 IDebugObject

返回值

如果成功,则返回 S_OK;否则,返回错误代码。

备注

调用此方法创建表示结构或复杂类型 (实例不需要构造函数的对象) 是参数设置为 IDebugFunctionObject 接口表示的功能。

如果对象参数需要构造函数,请调用 IDebugFunctionObject:: CreateObject 方法。

请参见

参考

IDebugField

IDebugFunctionObject

IDebugFunctionObject:: CreateObject