~~Title: Exported Functions~~ The VFS Plugin API currently consists of over 40 separate functions (many of which can be provided as ANSI, or Unicode, or both). Not all functions are necessary for a functioning plugin and missing functions //generally// only mean the equivalent user-level action is unavailable. For example, if you do not support VFS_SetFileComment then the user won't be able to set comments for files inside your plugin but other operations, such as renaming and copying files, will be unaffected, assuming they themselves are supported. Plugin authors must decide which functions to implement based on their importance and their relevance to the underlying objects which the plugin deals with. The functions a VFS plugin can export are listed below. See the following pages for full descriptions. "A/W" means ANSI and Unicode (Wide) versions are allowed.. |[[.exported_functions_reference:vfs_init|VFS_Init]]|initialize the plugin| |[[.exported_functions_reference:vfs_uninit|VFS_Uninit]]|uninitialize the plugin| |[[.exported_functions_reference:vfs_usbsafe|VFS_USBSafe]]|mark plugin as safe for USB export| |[[.exported_functions_reference:vfs_identify|VFS_Identify]] (A/W)|identifies the plugin| |[[.exported_functions_reference:vfs_querypath|VFS_QueryPath]] (A/W)|can the plugin handle a specified path?| |[[.exported_functions_reference:vfs_getprefixlist|VFS_GetPrefixList]] (A/W)|get a list of handled path prefixes| |[[.exported_functions_reference:vfs_create|VFS_Create]]|create a plugin namespace instance| |[[.exported_functions_reference:vfs_clone|VFS_Clone]]|clone an existing instance| |[[.exported_functions_reference:vfs_destroy|VFS_Destroy]]|destroy an instance| |[[.exported_functions_reference:vfs_getcapabilities|VFS_GetCapabilities]]|get plugin capabilities| |[[.exported_functions_reference:vfs_getcustomcolumns|VFS_GetCustomColumns]] (A/W)|get any custom columns| |[[.exported_functions_reference:vfs_getlasterror|VFS_GetLastError]]|get last error that occurred| |[[.exported_functions_reference:vfs_readdirectory|VFS_ReadDirectory]] (A/W)|read the contents of a directory| |[[.exported_functions_reference:vfs_getpathdisplayname|VFS_GetPathDisplayName]] (A/W)|get a version of a path string for display| |[[.exported_functions_reference:vfs_getfiledescription|VFS_GetFileDescription]] (A/W)|get description for a file| |[[.exported_functions_reference:vfs_getfileicon|VFS_GetFileIcon]] (A/W)|get icon for a file| |[[.exported_functions_reference:vfs_getfileinformation|VFS_GetFileInformation]] (A/W)|get information about a file| |[[.exported_functions_reference:vfs_getfilesize|VFS_GetFileSize]] (A/W)|get the size of a file| |[[.exported_functions_reference:vfs_batchoperation|VFS_BatchOperation]] (A/W)|perform batch operations| |[[.exported_functions_reference:vfs_createfile|VFS_CreateFile]] (A/W)|open a file for reading or writing| |[[.exported_functions_reference:vfs_readfile|VFS_ReadFile]]|read from a file| |[[.exported_functions_reference:vfs_writefile|VFS_WriteFile]]|write to a file| |[[.exported_functions_reference:vfs_seekfile|VFS_SeekFile]]|seek within a file| |[[.exported_functions_reference:vfs_closefile|VFS_CloseFile]]|close a file| |[[.exported_functions_reference:vfs_movefile|VFS_MoveFile]] (A/W)|move or rename a file| |[[.exported_functions_reference:vfs_deletefile|VFS_DeleteFile]] (A/W)|delete a file| |[[.exported_functions_reference:vfs_setfiletime|VFS_SetFileTime]] (A/W)|change the timestamp of a file| |[[.exported_functions_reference:vfs_setfileattr|VFS_SetFileAttr]] (A/W)|set file attributes| |[[.exported_functions_reference:vfs_getfileattr|VFS_GetFileAttr]] (A/W)|get file attributes| |[[.exported_functions_reference:vfs_setfilecomment|VFS_SetFileComment]] (A/W)|set file comment| |[[.exported_functions_reference:vfs_getfilecomment|VFS_GetFileComment]] (A/W)|get file comment| |[[.exported_functions_reference:vfs_createdirectory|VFS_CreateDirectory]] (A/W)|create a directory| |[[.exported_functions_reference:vfs_removedirectory|VFS_RemoveDirectory]] (A/W)|delete a directory| |[[.exported_functions_reference:vfs_findfirstfile|VFS_FindFirstFile]] (A/W)|find first file matching a pattern| |[[.exported_functions_reference:vfs_findnextfile|VFS_FindNextFile]] (A/W)|find the next file| |[[.exported_functions_reference:vfs_findclose|VFS_FindClose]] (A/W)|cleanup from FindFirstFile| |[[.exported_functions_reference:vfs_propget|VFS_PropGet]] (A/W)|get properties| |[[.exported_functions_reference:vfs_contextverb|VFS_ContextVerb]] (A/W)|perform an action on a file| |[[.exported_functions_reference:vfs_extractfiles|VFS_ExtractFiles]] (A/W)|extract files to disk| |[[.exported_functions_reference:vfs_properties|VFS_Properties]] (A/W)|display Properties dialog for a file| |[[.exported_functions_reference:vfs_getcontextmenu|VFS_GetContextMenu]] (A/W)|build context menu for a file| |[[.exported_functions_reference:vfs_getdropmenu|VFS_GetDropMenu]] (A/W)|build drop menu for a file| |[[.exported_functions_reference:vfs_getpathparentroot|VFS_GetPathParentRoot]] (A/W)|get parent or root of a path| |[[.exported_functions_reference:vfs_getfreediskspace|VFS_GetFreeDiskSpace]] (A/W)|get free disk space information| |[[.exported_functions_reference:vfs_configure|VFS_Configure]]|configure the plugin| |[[.exported_functions_reference:vfs_about|VFS_About]]|display about dialog|