- Timestamp:
- Jun 14, 2001, 2:19:41 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/ldr/myldrOpen.cpp
r5119 r6009 1 /* $Id: myldrOpen.cpp,v 1.1 5 2001-02-11 23:43:51 bird Exp $1 /* $Id: myldrOpen.cpp,v 1.16 2001-06-14 12:19:41 bird Exp $ 2 2 * 3 3 * myldrOpen - ldrOpen. … … 296 296 kprintf(("myldrOpen-%d: pe.exe - opening\n", cNesting)); 297 297 ldrClose(*phFile); 298 *phFile = 0xFFFF; 298 299 strcpy(u1.pach, "PE.EXE"); 299 300 rc = ldrOpen(phFile, u1.pach, pfl); /* This isn't recusive! */ … … 424 425 425 426 ldrClose(*phFile); 427 *phFile = 0xFFFF; 426 428 rc = ldrOpen(phFile, ".\\JAVA.EXE", pfl); 427 429 if (rc != NO_ERROR) … … 641 643 } 642 644 ldrClose(*phFile); 645 *phFile = 0xFFFF; 643 646 rc = myldrOpen(phFile, psz, pfl); 644 647 if (rc != NO_ERROR) … … 712 715 kprintf(("myldrOpen-%d: Found REXX script\n", cNesting)); 713 716 ldrClose(*phFile); 717 *phFile = 0xFFFF; 714 718 psz = "KRX.EXE"; 715 719 rc = ldrOpen(phFile, psz, pfl); … … 753 757 */ 754 758 cleanup: 759 if (rc && *phFile != 0xFFFF) 760 { 761 ldrClose(*phFile); 762 *phFile = 0xFFFF; 763 } 755 764 rfree(u1.pach); 756 765 cNesting--;
Note:
See TracChangeset
for help on using the changeset viewer.