StgIsStorageFile Try #2
Ryan Cumming
ryan at completely.kicks-ass.org
Fri Nov 15 19:06:26 CST 2002
Ugh, it seems that Windows doesn't even check to make sure the storage file is
at least 24 bytes long. It looks like we were -too- good at checking for
valid storage files.
Versus current CVS
ChangeLog:
-Move StgIsStorageFile16's implementation to StgIsStorageFile; port it to
Win32.
-Move StgIsStorageFile from storage.c to storage32.c
-StgIsStorageFile only returns S_OK, STG_E_FILENOTFOUND, and S_FALSE (checked
against MSDN and WinXP)
-StgIsStorageFile doesn't check if a file is large enough to be a storage
file, it only checks for the presence of the 8-byte magic (checked against
WinXP)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: StgIsStorageFile2.diff
Type: text/x-diff
Size: 3659 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20021115/a46173bd/StgIsStorageFile2.bin
More information about the wine-patches
mailing list