d3d9.dllRead
Microsoft DirectX 9.0 SDK Update (October 2004)

IDirectXFileBinary::Read Method


Reads the binary data. Deprecated.

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.




© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.