Syntax
VM_RESULT vm_fs_get_size(
    VM_FS_HANDLE handle, 
    VMUINT* size
);
ContentsIndex
PreviousUpNext
vm_fs_get_size
Syntax
VM_RESULT vm_fs_get_size(
    VM_FS_HANDLE handle, 
    VMUINT* size
);
Description

Obtains the size of the file in bytes. The file is specified by the file handle.

Parameters
Parameters 
Description 
VM_FS_HANDLE handle 
[IN] The file handle of the file. 
VMUINT* size 
[OUT] The size of the file specified by the file handle in bytes, an output parameter of this function. 
Returns

It returns 0, if the size of the file was obtained successfully. If fails, 

a negative value is returned. 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.