The ReadAt method reads a specified number of bytes starting at a specified offset from the beginning of the buffer.
HRESULT ReadAt( [in] ULONG ulOffset, [out] void* pv, [in] ULONG cb, ULONG* pcbRead );
Specifies the starting point from the beginning of the buffer for reading data.
Pointer to the buffer into which the buffer content is copied.
Specifies the number of bytes to attempt to read from the byte buffer.
Pointer to a location where this method writes the actual number of bytes copied from the buffer. 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 copied.
The method succeeded.
Invalid parameter.
Null pointer argument.
Server | Requires Windows Server 2008. |
---|---|
Version | Requires Forefront Threat Management Gateway (TMG). |
Header |
Declared in Wspfwext.idl. |
DLL |
Requires Wspsrv.exe. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.