msi:RECORD_StreamFromFile bug, help needed

robert.van.herk at robert.van.herk at
Tue Jun 19 14:45:39 CDT 2012

> We don't have to call SHCreateStreamOnFileEx, we can add a suitable implementation to msi.

Ah, I see.

I guess this stream cannot escape from MSI. The only way it can be accessed is through MsiRecordReadStream and MsiRecordSetStream, but it can never be accessed directly?

In that case, we don't have to use an IStream...
I could alter msipriv.h such that MSIFIELD just holds a HANDLE in case the field is a stream.
The handle can then be created through CreateFile, and I guess then I could alter the permissions such that it matches the MS implementation...

Do you think that that is the way to go?

Or is there a deep reason why we should use IStream, and create our own IStream implementation?


More information about the wine-devel mailing list