Syntax
VM_RESULT vm_fs_read(
    VM_FS_HANDLE handle, 
    void* buffer, 
    VMUINT size, 
    VMUINT* bytes
);
ContentsIndex
PreviousUpNext
vm_fs_read
Syntax
VM_RESULT vm_fs_read(
    VM_FS_HANDLE handle, 
    void* buffer, 
    VMUINT size, 
    VMUINT* bytes
);
Description

Reads the file through the file handle.

Parameters
Parameters 
Description 
VM_FS_HANDLE handle 
[IN] The file handle of the file to be read. 
void* buffer 
[OUT] Stores the data read from the file. 
VMUINT size 
[IN] The size of the buffer in bytes. 
VMUINT* bytes 
[OUT] The actual number of bytes read from the file. 
Returns

If it returns a positive value, the value is the number of bytes of data 

read from the file. If the return value is negative, it indicates an error 

has occurred. Refer to VM_FS_RESULT for error code.

File

vmfs.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.