?/TD>
Microsoft DirectX 9.0

IDirectXFileBinary::Read Method


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_BADVALUEParameter is invalid.
DXFILEERR_NOMOREDATANo further data is available.




© 2002 Microsoft Corporation. All rights reserved.