ExtRemoteData::WriteBuffer method (engextcpp.hpp)
The WriteBuffer method writes data to the target's memory. The data is located in the beginning of the region represented by the ExtRemoteData object. However, the size of the data can be different.
Syntax
ULONG WriteBuffer(
[in] PVOID Buffer,
[in] ULONG Bytes,
bool MustWriteAll
);
Parameters
[in] Buffer
Specifies the data to write to the target.
[in] Bytes
Specifies the number of bytes to write. The Buffer buffer must be at least this size.
MustWriteAll
Return value
WriteBuffer returns the number of bytes written to the target from the Buffer buffer. If MustReadAll is true
, the value of Bytes will be returned (unless an exception is thrown).
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | engextcpp.hpp (include Engextcpp.hpp) |