建立具有指定長度的字串物件。
語法
int CreateStringObjectWithLength (
string pcstrString,
uint uiLength,
out IDebugObject ppObject
);
參數
pcstrString
[in]字串物件的字串值。
uiLength
[in]以位元組為單位的字串長度。
ppObject
[out]會傳 回代表新建立字串物件的 IDebugObject 物件。
傳回值
如果成功,則會傳回 S_OK;否則,會傳回錯誤碼。