VFS_PropGet(
     HANDLE:hVFSData,
     vfsProperty:propId,
     LPVOID:lpPropData,
     LPVOID:lpData1,
     LPVOID:lpData2,
     LPVOID:lpData3
)
→ BOOL

Arguments

hVFSData

[in] The handle to the namespace instance data

propId

[in] The type of property to retrieve

lpPropData

[in/out] The meaning of this parameter changes depending on the property type

lpData1

[in/out] The meaning of this parameter changes depending on the property type

lpData2

[in/out] The meaning of this parameter changes depending on the property type

lpData3

[in/out] The meaning of this parameter changes depending on the property type

Return value

The function must return TRUE if the property was successfully retrieved, or FALSE on failure. You should set an appropriate error code on failure that Opus can retrieve via VFS_GetLastError.

Description

The VFS_PropGet function is called to retrieve several properties for files or folders in your plugin namespace, or for the namespace itself.

Generally, lpPropData will point to a variable or buffer for you to return the necessary property information, and lpData1, lpData2 and lpData3 will be used to provide additional information about the property request. However this is not always the case and you should read the documentation in the Property Reference section for a full listing of the property types supported by this function.