reference:plugins:vfs_plugins:vfs_create

VFS_Create(
     LPGUID:pGUID,
     HWND:hwndMsgWindow
)
→ HANDLE

Arguments

pGUID

[in] A pointer to a GUID representing the type of namespace to create

hwndMsgWindow

[in] A window handle with which you can communicate with Directory Opus

Return value

The function must return a HANDLE value which points to a private data structure that provides everything necessary for your plugin to identify and keep track of this namespace instance.

Description

The VFS_Create function is called to create a unique instance of your plugin's namespace.

If you set the VFSF_MULTIPLEFORMATS plugin flag then pGUID will be a GUID retrieved from the VFS_QueryPath function. If the multiple format flag is not set the GUID will be that supplied by the VFS_Identify function.

Currently there are no defined messages that you can send to the window handle supplied in hwndMsgWindow although it is likely this will be used in the future.