- Timestamp:
- Jul 20, 2000, 8:07:00 PM (25 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/KERNEL32.CPP
r3804 r3872 1 /* $Id: KERNEL32.CPP,v 1. 49 2000-07-06 21:18:38 sandervl Exp $ */1 /* $Id: KERNEL32.CPP,v 1.50 2000-07-20 18:06:58 sandervl Exp $ */ 2 2 3 3 /* … … 707 707 708 708 709 ODINFUNCTION4(BOOL, GetStringTypeW,710 DWORD, dwInfoType,711 LPCWSTR, lpSrcStr,712 int, cchSrc,713 LPWORD, lpCharType)714 {715 return GetStringTypeExW(0,716 dwInfoType,717 lpSrcStr,718 cchSrc,719 lpCharType);720 }721 722 709 723 710 ODINFUNCTION5(BOOL, GetStringTypeExW, … … 771 758 } 772 759 773 //****************************************************************************** 774 //NOTE: This has one parameter more than the W version! (@#$@#$) 775 //****************************************************************************** 776 ODINFUNCTION5(BOOL, GetStringTypeA, 777 LCID, locale, 760 ODINFUNCTION4(BOOL, GetStringTypeW, 778 761 DWORD, dwInfoType, 779 LPC STR,lpSrcStr,762 LPCWSTR, lpSrcStr, 780 763 int, cchSrc, 781 764 LPWORD, lpCharType) 782 765 { 783 return GetStringTypeExA(locale,766 return ODIN_GetStringTypeExW(0, 784 767 dwInfoType, 785 768 lpSrcStr, … … 854 837 } 855 838 839 //****************************************************************************** 840 //NOTE: This has one parameter more than the W version! (@#$@#$) 841 //****************************************************************************** 842 ODINFUNCTION5(BOOL, GetStringTypeA, 843 LCID, locale, 844 DWORD, dwInfoType, 845 LPCSTR, lpSrcStr, 846 int, cchSrc, 847 LPWORD, lpCharType) 848 { 849 return ODIN_GetStringTypeExA(locale, 850 dwInfoType, 851 lpSrcStr, 852 cchSrc, 853 lpCharType); 854 } 856 855 857 856 //****************************************************************************** -
trunk/src/kernel32/exceptions.cpp
r3547 r3872 1 /* $Id: exceptions.cpp,v 1.4 1 2000-05-18 09:08:37sandervl Exp $ */1 /* $Id: exceptions.cpp,v 1.42 2000-07-20 18:06:59 sandervl Exp $ */ 2 2 3 3 /* … … 310 310 if(!pRecord) 311 311 { 312 record.ExceptionCode = STATUS_ INVALID_DISPOSITION;312 record.ExceptionCode = STATUS_UNWIND; 313 313 record.ExceptionFlags = 0; 314 314 record.ExceptionRecord = NULL; -
trunk/src/kernel32/winimagepeldr.cpp
r3765 r3872 1 /* $Id: winimagepeldr.cpp,v 1. 49 2000-06-28 18:08:36sandervl Exp $ */1 /* $Id: winimagepeldr.cpp,v 1.50 2000-07-20 18:07:00 sandervl Exp $ */ 2 2 3 3 /* … … 676 676 ULONG baseAddress; 677 677 678 realBaseAddress = 0; 679 680 //Allocated in peldr.dll 681 if(reservedMem && reservedMem == oh.ImageBase) { 682 realBaseAddress = oh.ImageBase; 683 return TRUE; 684 } 685 678 686 //SvL: We don't care where the image is loaded for resource lookup 679 687 if(fh.Characteristics & IMAGE_FILE_RELOCS_STRIPPED && loadType == REAL_LOAD) { … … 755 763 APIRET rc; 756 764 BOOL allocFlags = flAllocMem; 757 758 realBaseAddress = 0;759 760 //Allocated in peldr.dll761 if(reservedMem && reservedMem == oh.ImageBase) {762 realBaseAddress = oh.ImageBase;763 return TRUE;764 }765 765 766 766 //Reserve enough space to store 4096 pointers to 1MB memory chunks -
trunk/src/peldr/pe.cpp
r3827 r3872 1 /* $Id: pe.cpp,v 1. 19 2000-07-15 17:12:02sandervl Exp $ */1 /* $Id: pe.cpp,v 1.20 2000-07-20 18:06:29 sandervl Exp $ */ 2 2 3 3 /* … … 272 272 goto end; 273 273 } 274 if(!(fh.Characteristics & IMAGE_FILE_RELOCS_STRIPPED)) {275 goto end; //no need to allocate anything now276 }274 // if(!(fh.Characteristics & IMAGE_FILE_RELOCS_STRIPPED)) { 275 // goto end; //no need to allocate anything now 276 // } 277 277 278 278 // check for high memory support
Note:
See TracChangeset
for help on using the changeset viewer.