reference:plugins:vfs_plugins:vfs_getprefixlist

VFS_GetPrefixList(
     LPTSTR:lpszPrefix,
     int:cchPrefixMax
)
→ BOOL

Arguments

lpszPrefix

[out] Points to a buffer into which you must copy your list of prefixes.

cchPrefixMax

[in] Specifies the size of the buffer in characters

Return value

You should copy your prefix list into the buffer as a double null-terminated list of strings, and return TRUE for success. On failure you should return FALSE.

Description

The VFS_GetPrefixList function is called to retrieve a list of URL-style prefixes supported by your plugin.

This function is called if you specify the VFSF_MULTIPLEFORMATS plugin flag. Opus calls this function to retrieve a list of the URL-style prefixes your plugin supports. You must supply the prefix list as a double null-terminated list of strings.