VFS_GetCustomColumns(
     HANDLE:hVFSData
)
→ LPVFSCUSTOMCOLUMN

Arguments

hVFSData

[in] The handle to the namespace instance data

Return value

If you wish to add custom columns you must return a pointer to a linked list of VFSCUSTOMCOLUMN structures. If you do not want to add custom columns you must return NULL.

Description

The VFS_GetCustomColumns function is called to allow your plugin to add its own information columns to Directory Opus whenever your namespace is displayed in a Lister.

The linked list of VFSCUSTOMCOLUMN structures that you return will not be freed by Opus. It must remain valid for as long as the namespace instance handle remains valid (that is, until VFS_Destroy is called.)

Each custom column must be assigned an ID number via the iID field of the structure. These should be sequential beginning from 1.

See the Specifying Custom Columns section for more information on adding custom columns to the Lister.