- po:[in] Pointer to the IVfsNode interface object
- buf:[in] The new data buffer to be used by the node
int IVFSNODE_SetDataBuffer(IVfsNode * po,void * buf)
SUCCESS, or standard error code.
This provides an alternate mechanism for setting string and data values: create a string or data node of size 0, then call SetDataBuffer with the address of the value to be assigned.
You should always call SetDataBufferSize() immediately after this call. The node DOES NOT take ownership of the buffer, which MUST be freed separately to the destruction of the node.