IDebugFunctionObject2::CreateStringObjectWithLength

Creates a string object that has the specified length.

HRESULT CreateStringObjectWithLength (
   LPCOLESTR      pcstrString,
   UINT           uiLength,
   IDebugObject** ppObject
);
int CreateStringObjectWithLength (
   string           pcstrString,
   uint             uiLength,
   out IDebugObject ppObject
);

Parameters

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

  • uiLength
    [in] The length of the string in bytes.

  • 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.

See Also

Reference

IDebugFunctionObject2