Ignore:
Timestamp:
Jun 29, 1999, 1:02:52 PM (26 years ago)
Author:
phaller
Message:

Fix: HandleManager::Open32::OpenFile return code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/hmopen32.cpp

    r240 r241  
    1 /* $Id: hmopen32.cpp,v 1.4 1999-06-29 08:45:04 phaller Exp $ */
     1/* $Id: hmopen32.cpp,v 1.5 1999-06-29 11:02:52 phaller Exp $ */
    22
    33/*
     
    533533                       arg3);
    534534  if (hFile != INVALID_HANDLE_ERROR)
    535      pHMHandleData->hWinHandle = hFile;
     535  {
     536    pHMHandleData->hWinHandle = hFile;
     537    return (NO_ERROR);
     538  }
    536539
    537540  //@@@PH: Edgar Buerkle suspects wrong return value here, should be 0 in case of success
     541  hFile = O32_GetLastError();
    538542  dprintf(("KERNEL32: HandleManager::Open32::OpenFile returns %08xh\n",
    539543           hFile));
    540544
    541   return(hFile);
     545  return(hFile); // return error cause
    542546}
    543547
Note: See TracChangeset for help on using the changeset viewer.