summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
17c8128)
- OpenFile: set the structure size after doing basic parameter checks
- Fixes two kernel32 file tests
svn path=/trunk/; revision=44394
- lpReOpenBuff->cBytes = sizeof(OFSTRUCT);
lpReOpenBuff->nErrCode = 0;
if (uStyle & OF_REOPEN) lpFileName = lpReOpenBuff->szPathName;
lpReOpenBuff->nErrCode = 0;
if (uStyle & OF_REOPEN) lpFileName = lpReOpenBuff->szPathName;
+ lpReOpenBuff->cBytes = sizeof(OFSTRUCT);
+ lpReOpenBuff->cBytes = sizeof(OFSTRUCT);
if ((uStyle & OF_CREATE) == OF_CREATE)
{
DWORD Sharing;
if ((uStyle & OF_CREATE) == OF_CREATE)
{
DWORD Sharing;