| ?/TD> | 
| Microsoft DirectX 9.0 | 
Reads the binary data.
Syntax
HRESULT Read(
LPVOID pvData, DWORD cbSize, LPDWORD pcbRead );
Parameters
- pvData
 - [out] Pointer to the buffer that receives the data that has been read.
 - cbSize
 - [in] Size of the buffer pointed to by pvData, in bytes.
 - pcbRead
 - [out] Pointer to the number of bytes actually read.
 
Return Value
If the method succeeds, the return value is DXFILE_OK.
If the method fails, the return value can be one of the following values.
DXFILEERR_BADVALUE Parameter is invalid. DXFILEERR_NOMOREDATA No further data is available.