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

Writes data in the buffer to a file pointed to by the file handle.

Parameters
Parameters 
Description 
VM_FS_HANDLE handle 
[IN] The file handle where the data to be written to. 
const void* buffer 
[IN] The buffer containing data to be written to a file. 
VMUINT size 
[IN] The size of the data in the buffer in bytes. 
VMUINT* bytes 
[IN] The actual number of bytes written to the file. 
Returns

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

written to the file. If the return value is negative value, 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.