VFS_Properties(
     HANDLE:hVFSData,
     LPVFSFUNCDATA:lpFuncData,
     HWND:hwndParent,
     LPTSTR:lpszFiles
)
→ HWND

Arguments

hVFSData

[in] The handle to the namespace instance data

lpFuncData

[in] unused

hwndParent

[in] The parent window handle

lpszFiles

[in] Double null-terminated list of string representing the files to show Properties for

Return value

For a modeless dialog, your function must return the HWND of the dialog window. For a modal dialog you should return TRUE. On failure you should return 0.

Description

The VFS_Properties function is called when the user wants to display a Properties dialog for one or more files in your plugin's namespace.

If you specify the VFSCAPABILITY_COMBINEDPROPERTIES flag and the user selects multiple files, lpszFiles will be a double null-terminated list of filenames. If only a single file is selected you can treat lpszFiles as an ordinary string. If you are showing combined properties your Properties dialog should combine the common properties of the selected files as best you can.

Your Properties dialog should resemble the standard Windows file Properties dialog as much as possible, to avoid confusing the user and to create a more seamless environment.