VFS_GetFileSize(
HANDLE:hVFSData,
LPVFSFUNCDATA:lpFuncData,
LPTSTR:lpszPath,
HANDLE:hFile,
unsigned __int64*:piFileSize
)
→ BOOL
The VFS_GetFileSize function is called to retrieve the size of a file in your plugin's namespace.
Directory Opus will either specify the pathname of the file in lpszPath or will provide a HANDLE to the file in hFile - never both. If hFile is specified it will be a file handle created by your VFS_CreateFile function. Your VFS_GetFileSize function should be able to handle both cases.