The following property values are used with VFS_PropGet. Note that it is possible for a parameter which is documented as containing a path to be NULL so you should always check the value before attempting to access it.
| lpPropData | LPBOOL pfIsExtractable |
| lpData1 | LPTSTR lpszFileName |
| lpData2 | DWORD dwAttr |
Query whether a specified file or folder is extractable - that is, whether it can be extracted from the plugin's namespace to a local folder using the VFS_ExtractFiles function. lpszFileName provides the full pathname of the file in question, and dwAttr the file attributes (so you can check for the FILE_ATTRIBUTE_DIRECTORY attribute if needed.) pfIsExtractable points to a BOOL value - you should set this value to TRUE if the file can be extracted.
| lpPropData | LPBOOL pfUseFullRename |
| lpData1 | LPTSTR lpszPath |
Query whether the specified folder supports the "full rename" function. lpszPath provides the path of the folder in question, and pfUseFullRename points to a BOOL value. Set this value to FALSE if you only want the user to be able to use the "simple rename" function in your namespace.
| lpPropData | LPDWORD pdwShowFullProgress |
| lpData1 | LPTSTR lpszPath |
| lpData2 | LPTSTR lpszOtherPath |
| lpData3 | BOOL fIsDest |
Query whether the "full progress" bar should be shown for a copy operation involving the two specified paths. lpszPath is the path in your plugin's namespace. lpszOtherPath is the other path involved in the operation (although this may be NULL). fIsDest indicates if your plugin is the destination or source of the copy operation.
pdwShowFullProgress is a pointer to a DWORD. You should set the LOWORD of this DWORD to TRUE if you want a full progress bar displayed, or FALSE if you do not. You should set the HIWORD to TRUE if you want to prevent a full progress bar from being displayed (otherwise, the other namespace involved in the copy may also enable the full progress bar.)
| lpPropData | LPBOOL pfCanDeleteToTrash |
| lpData1 | LPTSTR lpszPath |
Query whether the file specified by lpszPath can be deleted to the recycle bin. If it can you should return TRUE in pfCanDeleteToTrash, otherwise you should return FALSE.
| lpPropData | LPBOOL pfCanDeleteSecure |
| lpData1 | LPTSTR lpszPath |
Query whether the specified file can be deleted securely or not. lpszPath provides the file or folder name. If your VFS_DeleteFile function can delete it securely you should return TRUE in pfCanDeleteSecure, otherwise you should return FALSE.
| lpPropData | LPDWORD pdwBufferSize |
| lpData1 | LPTSTR lpszPath |
| lpData2 | unsigned __int64* puiFileSize |
Query the recommended buffer size for a copy operation involving the specified path. If lpszPath is NULL you should just return your preferred buffer size. puiFileSize may be NULL, or it may point to an unsigned 64 bit integer specifying the size of the file to be copied. You should return your recommended buffer size (in bytes) in pdwBufferSize.
| lpPropData | LPDWORD pdwDragEffectsAvailable |
| lpData1 | LPTSTR lpszPath |
Query the drag effects available when dragging from the path specified by lpszPath. You should return the effects value in pdwDragEffectsAvailable. Valid effects are DROPEFFECT_COPY, DROPEFFECT_MOVE, DROPEFFECT_LINK or DROPEFFECT_NONE.
| lpPropData | LPBOOL pfShowThumbnails |
| lpData1 | LPTSTR lpszPath |
Query whether thumbnails should be allowed for the path specified in lpszPath. You should return TRUE in pfShowThumbnails if you want to allow thumbnails.
| lpPropData | LPBOOL pfShowFileInfo |
| lpData1 | LPTSTR lpszPath |
Query whether extractable file information should be supported for the pathname specified in lpszPath. You should return TRUE to allow the extraction of file information.
| lpPropData | LPBOOL pfAllowToolTipGetSizes |
| lpData1 | LPTSTR lpszPath |
Query whether tooltips for the specified folder can be allowed to trigger a GetSizes command. Return TRUE to allow this or FALSE to prevent it.
| lpPropData | LPBOOL pfCanShowSubFolders |
| lpData1 | LPTSTR lpszPath |
Query whether the showing of sub-folders (flat view) should be allowed for the specified path. Return TRUE in pfCanShowSubFolders to allow this or FALSE to prevent it.
| lpPropData | unsigned __int64* pdwFuncAvailFlags |
| lpData1 | LPTSTR lpszPath |
Query the availability of Opus functions for the specified path. pdwFuncAvailFlags is supplied with a mask of the functions that Opus is querying for - on return you should clear the flags for those functions you do not support. Opus uses this value to disable functions from the user. Defined function flags are:
| VFSFUNCAVAIL_COPY |
| VFSFUNCAVAIL_MOVE |
| VFSFUNCAVAIL_DELETE |
| VFSFUNCAVAIL_GETSIZES |
| VFSFUNCAVAIL_MAKEDIR |
| VFSFUNCAVAIL_PRINT |
| VFSFUNCAVAIL_PROPERTIES |
| VFSFUNCAVAIL_RENAME |
| VFSFUNCAVAIL_SETATTR |
| VFSFUNCAVAIL_SHORTCUT |
| VFSFUNCAVAIL_SELECTALL |
| VFSFUNCAVAIL_SELECTNONE |
| VFSFUNCAVAIL_SELECTINVERT |
| VFSFUNCAVAIL_VIEWLARGEICONS |
| VFSFUNCAVAIL_VIEWSMALLICONS |
| VFSFUNCAVAIL_VIEWLIST |
| VFSFUNCAVAIL_VIEWDETAILS |
| VFSFUNCAVAIL_VIEWTHUMBNAIL |
| VFSFUNCAVAIL_CLIPCOPY |
| VFSFUNCAVAIL_CLIPCUT |
| VFSFUNCAVAIL_CLIPPASTE |
| VFSFUNCAVAIL_CLIPPASTESHORTCUT |
| VFSFUNCAVAIL_UNDO |
| VFSFUNCAVAIL_SHOW |
| VFSFUNCAVAIL_DUPLICATE |
| VFSFUNCAVAIL_SPLITJOIN |
| VFSFUNCAVAIL_SELECTRESELECT |
| VFSFUNCAVAIL_SELECTALLFILES |
| VFSFUNCAVAIL_SELECTALLDIRS |
| VFSFUNCAVAIL_PLAY |
| VFSFUNCAVAIL_SETTIME |
| VFSFUNCAVAIL_VIEWTILE |
| VFSFUNCAVAIL_SETCOMMENT |
| lpPropData | LPBOOL pfSupportFileHash |
| lpData1 | LPTSTR lpszPath |
Query whether file hashing should be allowed for the specified path. Return TRUE in pfSupportFileHash to allow this or FALSE to prevent it.
| lpPropData | undefined |
| lpData1 | HICON* phLargeIcon |
| lpData2 | HICON* phSmallIcon |
| lpData3 | LPBOOL pfDestroyIcons |
Retrieve an icon to use to represent the plugin namespace itself. The icon will be displayed in the location field and in Favorites/Recent lists etc. If not provided a default icon is used instead. You should return the handle to large and small icons in phLargeIcon and phSmallIcon. Set pfDestroyIcons to TRUE to have Opus destroy these icon handles via DestroyIcon or set to FALSE if you do not want Opus to destroy them.
| lpPropData | LPBOOL pfSupportCompletion |
| lpData1 | LPTSTR lpszPath |
Query whether Opus should support path completion for the specified path. Return TRUE in pfSupportCompletion to allow it or FALSE to prevent it.
| lpPropData | LPDWORD pdwBatchResult |
| lpData1 | LPTSTR lpszPath |
| lpData2 | LPTSTR lpszDestPath |
| lpData2 | UINT uiOperation |
Query whether Opus should call VFS_BatchOperation to perform a batch file operation. lpszPath specifies the path in your plugin's namespace, and lpszDestPath specifies the destination path for an extraction operation. uiOperation specifies the desired operation type. You should place one of the VFS_BatchOperation return codes in pdwBatchResult to indicate if the batch operation is to be handled. If any value other than VFSBATCHRES_HANDLED is returned, VFS_BatchOperation will not be called.
| lpPropData | LPDWORD pdwActions |
| lpData1 | LPDWORD lpszFilePath |
Query if certain shell actions are valid for a file or folder in your plugin's namespace. When called, the value pointed to by pdwActions contains a bitmask of the actions that Opus wishes to query. When you return you should clear the flags that are not supported for the object passed in lpszFilePath. The shell flags queried for are SFGAO_CANRENAME, SFGAO_CANDELETE, SFGAO_CANCOPY, SFGAO_CANMOVE, and SFGAO_HASPROPSHEET.
| lpPropData | LPDWORD pdwShowPictures |
Query whether a plugin supports the direct viewing of pictures in the Opus viewer. Return TRUE in pdwShowPictures if pictures can be viewed directly (this implies that your plugin exports the VFS_CreateFile and VFS_ReadFile functions) or FALSE if images in your plugin's namespace must be extracted to local disk before they can be viewed.