IFsiFileItem::get_Data method (imapi2fs.h)
Retrieves the data stream of the file's content.
HRESULT get_Data( [out] IStream **pVal );
An IStream interface of the contents of the file.
S_OK is returned on success, but other success codes may be returned as a result of implementation. The following error codes are commonly returned on operation failure, but do not represent the only possible error values:
Pointer is not valid.
Failed to allocate necessary memory.
The contents of the file becomes read-only once the file item is added to file system image.
|Minimum supported client||Windows Vista, Windows XP with SP2 [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|