다음을 통해 공유


IDebugObject::SetValue

Sets the value of the object from a consecutive series of bytes.

HRESULT SetValue( 
   BYTE* pValue,
   UINT  nSize
);
int SetValue(
   byte[] pValue, 
   uint   nSize
);

Parameters

  • pValue
    [in] An array of bytes representing the new value.

  • nSize
    [in] The size of the value in bytes.

Return Value

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

Remarks

The values in the array are copied into this IDebugObject object, replacing any existing value. The size of the new value can be larger or smaller than the existing value. This IDebugObject cannot be a null reference.

See Also

Reference

IDebugObject

IDebugObject::GetValue