Changeset 4778 for trunk/src/win32k/ldr/myldrOpen.cpp
- Timestamp:
- Dec 11, 2000, 7:30:59 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/ldr/myldrOpen.cpp
r4239 r4778 1 /* $Id: myldrOpen.cpp,v 1.1 2 2000-09-12 04:40:57bird Exp $1 /* $Id: myldrOpen.cpp,v 1.13 2000-12-11 06:30:59 bird Exp $ 2 2 * 3 3 * myldrOpen - ldrOpen. … … 75 75 /* When the maximum depth has been reached */ 76 76 /* we'll not intercept loading any longer! */ 77 ULONG rc;/* Return value. */77 ULONG rc; /* Return value. */ 78 78 79 79 /** @sketch 80 * Try open the file (that's why this function is called anyway) 80 * Try open the file (that's why this function is called) 81 * Apply Extention fix if this is requested. 81 82 */ 82 rc = ldrOpen(phFile, pszFilename, pfl); 83 if (fldrOpenExtentionFix) 84 { 85 int cchFilename = strlen(pszFilename); 86 pszFilename[cchFilename - 4] = '\0'; 87 rc = ldrOpen(phFile, pszFilename, pfl); 88 if (rc != NO_ERROR) 89 { 90 pszFilename[cchFilename - 4] = '.'; 91 rc = ldrOpen(phFile, pszFilename, pfl); 92 } 93 } 94 else 95 rc = ldrOpen(phFile, pszFilename, pfl); 96 83 97 if (rc == NO_ERROR) 84 98 kprintf(("myldrOpen-%d: phFile=%#.4x, flags=%#.8x, pszFn=%s\n", cNesting, *phFile, pfl, pszFilename)); … … 771 785 * 772 786 * @status completly implemented. 773 * @author knut st. osmundsen (knut.stange.osmundsen@ pmsc.no)787 * @author knut st. osmundsen (knut.stange.osmundsen@mynd.no) 774 788 * @remark Implementation note: 775 789 * The arguments convention is as follows: … … 899 913 * @param pszExecName Pointer to new executable name. 900 914 * @status completly implemented. 901 * @author knut st. osmundsen (knut.stange.osmundsen@ pmsc.no)915 * @author knut st. osmundsen (knut.stange.osmundsen@mynd.no) 902 916 * @remark . 903 917 */ … … 941 955 * @param pfl Some flags set by ldrOpen. 942 956 * @sketch stub 943 * @author knut st. osmundsen (knut.stange.osmundsen@ pmsc.no)957 * @author knut st. osmundsen (knut.stange.osmundsen@mynd.no) 944 958 * @remark 945 959 */
Note:
See TracChangeset
for help on using the changeset viewer.