Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

in the documentation for IVFSNODE_SetData(), the following statement is made:

Quote:This method may be used to set the data held by an IVFSNODE. Please note that many Vfs nodes are read-only, and that this call will return EFAILED if used on them.

However, there doesn't seem to be an explanation of how you can specify that a given IVfsNode should be read only. Is it done via the "flags" parameter in the IACTORCONTEXT_CreateXxx() function? If so, where are these flags defined? The only flag I've seen in the documentation is "ACTORCONTEXT_CREATE_PRIVATE_VTABLE "

Hi jaythrash,
Do you want to create a readonly node?
To do that, try to overwrite the IVFSNODE_SetData function.
rgds,
Mai Trung Tin

Hi jaythrash,
Do you want to create a readonly node?
To do that, try to overwrite the IVFSNODE_SetData function.
rgds,
Mai Trung Tin