WriteAt writes the specified number of bytes starting at a specified offset from the beginning of the byte array.
HRESULT WriteAt(
ULARGE_INTEGER uliOffset,
Void const *pData,
ULONGcbWrite,
ULONG *pcbWrote
);
Parameter |
Description |
---|---|
uliOffset [in] |
Specifies the starting point from the beginning of the byte array for the data to be written. |
pData [in] |
Pointer to the buffer that contains the data to be written. |
cbWrite [in] |
Specifies the number of bytes of data to try to write into the byte array. |
pcbWrote [out] |
Pointer to the location where this method specifies the actual number of bytes written to the byte array. You can set this pointer to NULL to indicate that you are not interested in this value. In this case, this method does not provide the actual number of bytes written. |
Term |
Definition |
---|---|
NOERROR |
The method succeeded. |
E_UNEXPECTED |
Rowset is in a "zombied" state. |