Changeset 1273 for trunk/src/win32k/ldr/myldrClose.cpp
- Timestamp:
- Oct 14, 1999, 3:25:39 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/ldr/myldrClose.cpp
r847 r1273 1 /* $Id: myldrClose.cpp,v 1. 1 1999-09-06 02:20:01bird Exp $1 /* $Id: myldrClose.cpp,v 1.2 1999-10-14 01:25:38 bird Exp $ 2 2 * 3 3 * myldrClose - _ldrClose … … 18 18 #include <os2.h> 19 19 20 #include <memory.h> 21 #include <stdlib.h> 22 23 #include "log.h" 24 #include <peexe.h> 25 #include <exe386.h> 20 26 #include "OS2Krnl.h" 21 #include "log.h" 22 #if 0 23 #include "lxFile.h" 24 #else 25 #define LXFile class { public: BOOL queryIsModuleName(const char *) {return FALSE;}} 26 #endif 27 #include "pe2lx.h" 27 28 #include "ldr.h" 28 29 #include "ldrCalls.h" … … 41 42 /* closes handle */ 42 43 kprintf(("_ldrClose: hFile = %.4x\n", hFile)); 43 if (GetState(hFile) == HSTATE_CHECK) 44 freeUncertainEntry(hFile); 45 else 44 if (GetState(hFile) == HSTATE_OUR) 46 45 { 47 if (GetState(hFile) == HSTATE_PE) 48 { 49 rc = deleteNode(hFile); 50 if (rc != NO_ERROR) 51 kprintf(("Funny! deleteNode failed rc = %d\n", rc)); 52 } 46 rc = deleteNode(hFile); 47 if (rc != NO_ERROR) 48 kprintf(("Funny! deleteNode failed rc = %d\n", rc)); 49 50 SetState(hFile, HSTATE_UNUSED); 53 51 } 54 52 55 SetState(hFile, HSTATE_UNUSED);56 53 return _ldrClose(hFile); 57 54 }
Note:
See TracChangeset
for help on using the changeset viewer.