IRemoteToolCommand::SetBYTESModifiable (Compact 2013)
3/26/2014
Adds a BYTE array value to a command packet and makes it randomly accessible so you can modify the value later with IRemoteToolCommand::ModifyBYTES.
Syntax
HRESULT SetBYTESModifiable([in] VARIANT value, [out] DWORD *dwHandle)
Parameters
- value
The BYTE array to add to the command packet.
- dwHandle
The handle to the BYTE array. Use this in subsequent calls to IRemoteToolCommand::ModifyBYTES.
Return Value
E_INVALIDARG if value is not a BYTE array.
E_FAIL if value is NULL or if a temporary BYTE array cannot be created.
S_OK if success.