Share via


IRemoteToolCommand::ModifyBYTES (Compact 7)

3/12/2014

Modifies a BYTE array value in a random-access command packet.

For more information, see IRemoteToolCommand::SetBYTESModifiable.

Syntax

HRESULT ModifyBYTES([in] DWORD dwHandle, [in] DWORD dwOffset, [in] VARIANT value)

Parameters

  • dwOffset
    The offset to the starting byte of the BYTE array that you want to modify with value.
  • value
    The BYTE array that you want to use as a replacement.

Return Value

E_INVALIDARG if value is not a BYTE array.

E_FAIL if value is NULL or if the BYTE array cannot be accessed with the given dwHandle.

S_OK if successful.

See Also

Reference

IRemoteToolCommand
IRemoteToolCommand::SetBYTESModifiable