Syntax
VM_FS_HANDLE vm_fs_find_first_ex(
    VMWSTR path_name, 
    vm_fs_info_ex_t* file_info
);
ContentsIndex
PreviousUpNext
vm_fs_find_first_ex
Syntax
VM_FS_HANDLE vm_fs_find_first_ex(
    VMWSTR path_name, 
    vm_fs_info_ex_t* file_info
);
Description

Similar to the vm_fs_find_first(), except it obtains more information, as specified in vm_fs_info_ex_t, for the file or folder from the system. 

It finds the first file or folder under the specified path, and return a handle. This function supports the wild character (*) in the search pattern. The file or folder information is returned through the out parameter of the vm_fs_info_ex_t object. 

A handle of this find function is returned to the caller, which can be used for getting the next file or folder by calling vm_fs_find_next_ex(). 

The caller of this function should call vm_fs_find_close_ex() to release the resource after it is done with the handle.

Parameters
Parameters 
Description 
VMWSTR path_name 
[IN] The path, encoded in UCS-2. 
vm_fs_info_ex_t* file_info 
[OUT] The file information obtained by calling this function. 
Returns

If a positive integer is returned, it is the handle for finding the next file or folder. 

If a negative integer is returned, then 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.