IDebugFunctionObject::CreateStringObject

Creates a string object.

HRESULT CreateStringObject( 
   LPCOLESTR      pcstrString,
   IDebugObject** ppObject
);
int CreateStringObject(
   string      pcstrString, 
   out IDebugObject ppOjbect
);

Parameters

  • pcstrString
    [in] The string value for the string object.

  • ppObject
    [out] Returns an IDebugObject object that represents the newly created string object.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

Call this method to create an object that represents a string that is a parameter to the function which is represented by the IDebugFunctionObject interface.

See Also

Reference

IDebugFunctionObject