- Timestamp:
- Aug 26, 2011, 11:48:06 PM (14 years ago)
- Location:
- trunk/dll
- Files:
-
- 14 edited
-
autoview.c (modified) (2 diffs)
-
copyf.c (modified) (2 diffs)
-
datamin.c (modified) (3 diffs)
-
eas.c (modified) (3 diffs)
-
instant.c (modified) (2 diffs)
-
killproc.c (modified) (3 diffs)
-
misc.c (modified) (2 diffs)
-
mle.c (modified) (9 diffs)
-
saveclip.c (modified) (2 diffs)
-
subj.c (modified) (2 diffs)
-
systemf.c (modified) (4 diffs)
-
valid.c (modified) (2 diffs)
-
wrappers.c (modified) (5 diffs)
-
wrappers.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/autoview.c
r1616 r1627 37 37 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *. 38 38 13 Aug 11 GKY Change to Doxygen comment format 39 26 Aug 11 GKY Add a low mem version of xDosAlloc* wrappers; move error checking into all the 40 xDosAlloc* wrappers. 39 41 40 42 ***********************************************************************/ … … 144 146 } 145 147 146 rc = xDosAllocMem((PPVOID) & pfealist, ealen, PAG_COMMIT | PAG_READ | 147 PAG_WRITE, pszSrcFile, __LINE__); 148 if (rc || !pfealist) 149 Dos_Error(MB_CANCEL, rc, hwnd, pszSrcFile, __LINE__, 150 GetPString(IDS_OUTOFMEMORY)); 148 if (xDosAllocMem((PPVOID) &pfealist, ealen, PAG_COMMIT | PAG_READ | 149 PAG_WRITE, pszSrcFile, __LINE__)) 150 ret = FALSE; 151 151 else { 152 152 memset(pfealist, 0, ealen); -
trunk/dll/copyf.c
r1520 r1627 27 27 19 Oct 09 SHL Correct copyf regression when moving to save volume 28 28 31 Mar 10 JBS Correct copyf which was creating 8.4, not 8.3, temporary names 29 26 Aug 11 GKY Add a low mem version of xDosAlloc* wrappers; move error checking into all the 30 xDosAlloc* wrappers. 29 31 30 32 ***********************************************************************/ … … 326 328 else 327 329 ealen = sizeof(FEALIST) + 10; 328 rc = xDosAllocMem((PPVOID) & pfealist, 329 ealen + 32L, PAG_COMMIT | PAG_READ | PAG_WRITE, 330 pszSrcFile, __LINE__); 331 if (rc) 332 Dos_Error(MB_CANCEL, rc, HWND_DESKTOP, pszSrcFile, __LINE__, 333 GetPString(IDS_OUTOFMEMORY)); 330 if (xDosAllocMem((PPVOID) &pfealist, 331 ealen + 32L, PAG_COMMIT | PAG_READ | PAG_WRITE, 332 pszSrcFile, __LINE__)) 333 return FALSE; 334 334 else { 335 335 memset(pfealist, 0, ealen + 1); -
trunk/dll/datamin.c
r1498 r1627 35 35 one or more miniapp but not to FM/2 36 36 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *. 37 26 Aug 11 GKY Add a low mem version of xDosAlloc* wrappers; move error checking into all the 38 xDosAlloc* wrappers. 37 39 38 40 ***********************************************************************/ … … 853 855 MODINFO *pmi; 854 856 ULONG numprocs = 0, numthreads = 0; 855 APIRET rc; 856 857 rc = xDosAllocMem((PVOID)&pbh, USHRT_MAX + 4096, 857 858 if (!xDosAllocMem((PVOID)&pbh, USHRT_MAX + 4096, 858 859 PAG_COMMIT | PAG_READ | PAG_WRITE, 859 pszSrcFile, __LINE__); 860 if (rc) 861 Dos_Error(MB_CANCEL, rc, hwnd, pszSrcFile, __LINE__, 862 GetPString(IDS_OUTOFMEMORY)); 863 else { 860 pszSrcFile, __LINE__)) { 864 861 if (DosQProcStatus((ULONG *)pbh, USHRT_MAX)) 865 862 noqproc = TRUE; … … 893 890 QSLREC *pmi; 894 891 ULONG numprocs = 0, numthreads = 0; 895 APIRET rc; 896 897 rc = xDosAllocMem((PVOID) & pbh, USHRT_MAX + 4096, 892 893 if (!xDosAllocMem((PVOID) & pbh, USHRT_MAX + 4096, 898 894 PAG_COMMIT | PAG_READ | PAG_WRITE, 899 pszSrcFile, __LINE__); 900 if (rc) 901 Dos_Error(MB_CANCEL, rc, hwnd, pszSrcFile, __LINE__, 902 GetPString(IDS_OUTOFMEMORY)); 903 else { //2 Sep 07 GKY 0x05 = process & Mod data only 895 pszSrcFile, __LINE__)) { 896 //2 Sep 07 GKY 0x05 = process & Mod data only 904 897 if (DosQuerySysState(QS_PROCESS | QS_MTE, 0, 0, 0, pbh, USHRT_MAX)) 905 898 noqproc = TRUE; -
trunk/dll/eas.c
r1547 r1627 26 26 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *. 27 27 23 Oct 10 GKY Added button to allow opening of a new file's eas from the EA dialog. 28 26 Aug 11 GKY Add a low mem version of xDosAlloc* wrappers; move error checking into all the 29 xDosAlloc* wrappers. 28 30 29 31 ***********************************************************************/ … … 200 202 ULONG ealen; 201 203 CHAR *eaval; 202 APIRET rc;203 204 204 205 ealen = sizeof(FEA2LIST) + strlen(s) + 64; 205 rc =xDosAllocMem((PPVOID) & pfealist, ealen + 1,206 if (!xDosAllocMem((PPVOID) & pfealist, ealen + 1, 206 207 PAG_COMMIT | PAG_READ | PAG_WRITE, 207 pszSrcFile, __LINE__); 208 if (rc) 209 Dos_Error(MB_CANCEL, rc, HWND_DESKTOP, pszSrcFile, __LINE__, 210 GetPString(IDS_OUTOFMEMORY)); 211 else { 208 pszSrcFile, __LINE__)) { 212 209 memset(pfealist, 0, ealen + 1); 213 210 pfealist->cbList = ealen; … … 1108 1105 } 1109 1106 1110 rc = xDosAllocMem((PPVOID) & pfealist, ealen, 1111 PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__); 1112 if (rc) 1113 Dos_Error(MB_CANCEL, rc, HWND_DESKTOP, pszSrcFile, __LINE__, 1114 GetPString(IDS_OUTOFMEMORY)); 1115 else { 1107 if (!xDosAllocMem((PPVOID) & pfealist, ealen, 1108 PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__)) { 1116 1109 memset(pfealist, 0, ealen); 1117 1110 pfealist->list[0].oNextEntryOffset = 0; -
trunk/dll/instant.c
r1544 r1627 14 14 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 15 15 12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory 16 26 Aug 11 GKY Add a low mem version of xDosAlloc* wrappers; move error checking into all the 17 xDosAlloc* wrappers. 16 18 17 19 ***********************************************************************/ … … 105 107 mem = MLEgetlen(hwndMLE); 106 108 if (mem) { 107 rc = xDosAllocMem((PVOID) & bat, mem, 108 PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__); 109 if (rc || !bat) { 110 Dos_Error(MB_CANCEL, rc, HWND_DESKTOP, pszSrcFile, __LINE__, 111 GetPString(IDS_OUTOFMEMORY)); 109 if (xDosAllocMem((PVOID) & bat, mem, 110 PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__)) { 112 111 WinDismissDlg(hwnd, 0); 113 112 break; -
trunk/dll/killproc.c
r1554 r1627 31 31 20 Nov 10 GKY Check that pTmpDir IsValid and recreate if not found; Fixes hangs caused 32 32 by temp file creation failures. 33 26 Aug 11 GKY Add a low mem version of xDosAlloc* wrappers; move error checking into all the 34 xDosAlloc* wrappers. 33 35 34 36 ***********************************************************************/ … … 127 129 128 130 WinSendDlgItemMsg(hwnd, KILL_LISTBOX, LM_DELETEALL, MPVOID, MPVOID); 129 rc = xDosAllocMem((PVOID) & pbh, USHRT_MAX + 4096, 130 PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__); 131 if (rc) 132 Dos_Error(MB_CANCEL, rc, HWND_DESKTOP, pszSrcFile, __LINE__, 133 GetPString(IDS_OUTOFMEMORY)); 134 else { 131 if (!xDosAllocMem((PVOID) & pbh, USHRT_MAX + 4096, 132 PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__)) { 135 133 rc = DosQProcStatus((ULONG *)pbh, USHRT_MAX); 136 134 if (!rc) { … … 196 194 197 195 WinSendDlgItemMsg(hwnd, KILL_LISTBOX, LM_DELETEALL, MPVOID, MPVOID); 198 rc = xDosAllocMem((PVOID) & pbh, USHRT_MAX + 4096, 199 PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__); 200 if (rc) 201 Dos_Error(MB_CANCEL, rc, HWND_DESKTOP, pszSrcFile, __LINE__, 202 GetPString(IDS_OUTOFMEMORY)); 203 else { 196 if (!xDosAllocMem((PVOID) & pbh, USHRT_MAX + 4096, 197 PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__)) { 204 198 rc = DosQuerySysState(QS_PROCESS | QS_MTE, 0, 0, 0, pbh, USHRT_MAX); 205 199 if (!rc) { -
trunk/dll/misc.c
r1546 r1627 68 68 23 Oct 10 GKY Add menu items for opening directory cnrs based on path of selected item 69 69 including the option to use walk directories to select path 70 26 Aug 11 GKY Add a low mem version of xDosAlloc* wrappers; move error checking into all the 71 xDosAlloc* wrappers. 70 72 71 73 ***********************************************************************/ … … 882 884 else 883 885 ealen = sizeof(FEALIST) + 9; 884 rc = xDosAllocMem((PPVOID) & pfealist, ealen + 64, 885 PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__); 886 if (rc) 887 Dos_Error(MB_CANCEL, rc, HWND_DESKTOP, pszSrcFile, 888 __LINE__, GetPString(IDS_OUTOFMEMORY)); 889 else { 886 if (!xDosAllocMem((PPVOID) & pfealist, ealen + 64, 887 PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__)) { 890 888 memset(pfealist, 0, ealen + 1); 891 889 pfealist->cbList = ealen; -
trunk/dll/mle.c
r1544 r1627 25 25 12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory 26 26 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *. 27 26 Aug 11 GKY Add a low mem version of xDosAlloc* wrappers; move error checking into all the 28 xDosAlloc* wrappers. 27 29 28 30 ***********************************************************************/ … … 174 176 IPT ancpos, curpos, here; 175 177 LONG len, oldlen; 176 APIRET rc;177 178 ULONG size; 178 179 … … 182 183 if (len) { 183 184 len++; 184 rc = xDosAllocMem((PVOID) & temp, 4096, 185 PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__); 186 if (rc || !temp) 187 Dos_Error(MB_CANCEL, rc, h, pszSrcFile, __LINE__, 188 GetPString(IDS_OUTOFMEMORY)); 189 else { 185 if (!xDosAllocMem((PVOID) & temp, 4096, 186 PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__)) { 190 187 ancpos = MLEancpos(h); 191 188 curpos = MLEcurpos(h); … … 257 254 IPT ancpos, curpos, here; 258 255 LONG sellen, oldlen; 259 APIRET rc;260 256 261 257 oldlen = MLEsizeofsel(h); … … 265 261 if (!sel) 266 262 return FALSE; 267 rc = xDosAllocMem((PVOID) & temp, 32768L, 268 PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__); 269 if (rc || !temp) { 270 Dos_Error(MB_CANCEL, rc, h, pszSrcFile, __LINE__, 271 GetPString(IDS_OUTOFMEMORY)); 263 if (xDosAllocMem((PVOID) & temp, 32768L, 264 PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__)) { 272 265 free(sel); 273 266 # ifdef FORTIFY … … 540 533 DosChgFilePtr(handle, 0, FILE_BEGIN, &action); 541 534 if (len) { 542 rc = xDosAllocMem((PVOID) & hexbuff, 50001, 543 PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__); 544 if (rc || !hexbuff) { 545 Dos_Error(MB_CANCEL, rc, h, pszSrcFile, __LINE__, 546 GetPString(IDS_OUTOFMEMORY)); 535 if (xDosAllocMem((PVOID) & hexbuff, 50001, 536 PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__)) 547 537 ret = FALSE; 548 }549 538 else { 550 539 buffer = xmalloc(10000, pszSrcFile, __LINE__); … … 670 659 fseek(fp, 0L, SEEK_SET); 671 660 if (len && len != -1) { 672 rc = xDosAllocMem((PVOID) & buffer, 673 50000L, PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__); 674 if (rc || !buffer) { 675 Dos_Error(MB_CANCEL, rc, h, pszSrcFile, __LINE__, 676 GetPString(IDS_OUTOFMEMORY)); 661 if (xDosAllocMem((PVOID) & buffer, 662 50000L, PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__)) 677 663 ret = FALSE; 678 }679 664 else { 680 665 WinSendMsg(h, … … 896 881 INT blanklines = 0; 897 882 BOOL fWrap = MLEgetwrap(h); 898 APIRET rc;899 883 CHAR *mode; 900 884 … … 923 907 } 924 908 925 rc = xDosAllocMem((PVOID) & buffer, 4096L, 926 PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__); 927 if (rc || !buffer) { 928 Dos_Error(MB_CANCEL, rc, h, pszSrcFile, __LINE__, 929 GetPString(IDS_OUTOFMEMORY)); 909 if (xDosAllocMem((PVOID) & buffer, 4096L, 910 PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__)) 930 911 ok = FALSE; 931 }932 912 else { 933 913 mode = "a+"; -
trunk/dll/saveclip.c
r1544 r1627 32 32 12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory 33 33 29 May 10 GKY Fix SaveListDlgProc to append to a file when Append checkbox is selected 34 26 Aug 11 GKY Add a low mem version of xDosAlloc* wrappers; move error checking into all the 35 xDosAlloc* wrappers. 34 36 35 37 ***********************************************************************/ … … 102 104 if (clip) 103 105 len += strlen(clip) + 1; 104 if (!xDosAllocSharedMem((PPVOID) &hold, (PSZ) NULL, len, PAG_COMMIT |105 OBJ_GIVEABLE | PAG_READ | PAG_WRITE)) {106 if (!xDosAllocSharedMem((PPVOID) &hold, (PSZ) NULL, len, PAG_COMMIT | 107 OBJ_GIVEABLE | PAG_READ | PAG_WRITE, __FILE__, __LINE__)) { 106 108 *hold = 0; 107 109 if (clip) -
trunk/dll/subj.c
r1480 r1627 16 16 08 Mar 09 GKY Additional strings move to PCSZs 17 17 12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory 18 26 Aug 11 GKY Add a low mem version of xDosAlloc* wrappers; move error checking into all the 19 xDosAlloc* wrappers. 18 20 19 21 ***********************************************************************/ … … 126 128 else 127 129 ealen = sizeof(FEALIST) + 9; 128 rc = xDosAllocMem((PPVOID) & pfealist, ealen + 1L, 129 PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__); 130 if (rc) 131 Dos_Error(MB_CANCEL, rc, hwnd, pszSrcFile, __LINE__, 132 GetPString(IDS_OUTOFMEMORY)); 133 else { 130 if (!xDosAllocMem((PPVOID) & pfealist, ealen + 1L, 131 PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__)) { 134 132 memset(pfealist, 0, ealen + 1); 135 133 pfealist->cbList = ealen; -
trunk/dll/systemf.c
r1554 r1627 37 37 20 Nov 10 GKY Check that pTmpDir IsValid and recreate if not found; Fixes hangs caused 38 38 by temp file creation failures. 39 26 Aug 11 GKY Add a low mem version of xDosAlloc* wrappers; move error checking into all the 40 xDosAlloc* wrappers. 39 41 40 42 ***********************************************************************/ … … 768 770 hwnd = HWND_DESKTOP; 769 771 770 rc = DosAllocMem((PVOID)&pszPgm, 771 MaxComLineStrg, 772 PAG_COMMIT | PAG_READ | PAG_WRITE); 773 if (rc) { 774 Dos_Error(MB_CANCEL,rc,hwnd,pszSrcFile,__LINE__,GetPString(IDS_OUTOFMEMORY)); 775 return -1; 776 } 777 772 if (xDosAllocMemLow((PVOID)&pszPgm, 773 MaxComLineStrg, 774 PAG_COMMIT | PAG_READ | PAG_WRITE, 775 pszSrcFile,__LINE__)) 776 return -1; //already complained 778 777 *szSavedir = 0; 779 778 … … 816 815 temp = *p; 817 816 if (temp) { 818 rc = DosAllocMem((PVOID)&pszArgs, 819 MaxComLineStrg * 2, 820 PAG_COMMIT | PAG_READ | PAG_WRITE); 821 if (rc) 822 Dos_Error(MB_CANCEL,rc,hwnd,pszSrcFile,__LINE__,GetPString(IDS_OUTOFMEMORY)); 817 if (xDosAllocMemLow((PVOID)&pszArgs, MaxComLineStrg * 2, 818 PAG_COMMIT | PAG_READ | PAG_WRITE, 819 pszSrcFile, __LINE__)) { 820 DosFreeMem(pszPgm); 821 return -1; //already complained 822 } 823 823 } 824 824 else … … 958 958 if (~type & FULLSCREEN) 959 959 type |= WINDOWED; 960 rc = DosAllocMem((PVOID) & pszArgs, MaxComLineStrg * 2, 961 PAG_COMMIT | PAG_READ | PAG_WRITE); 962 if (rc) { 963 Dos_Error(MB_CANCEL,rc,hwnd,pszSrcFile,__LINE__,GetPString(IDS_OUTOFMEMORY)); 960 if (xDosAllocMemLow((PVOID) &pszArgs, MaxComLineStrg * 2, 961 PAG_COMMIT | PAG_READ | PAG_WRITE, 962 pszSrcFile, __LINE__)) { 964 963 DosFreeMem(pszPgm); 965 return -1; 964 return -1; //already complained 966 965 } 967 966 *pszArgs = 0; -
trunk/dll/valid.c
r1544 r1627 41 41 22 Jul 09 GKY Streamline scanning code for faster Tree rescans 42 42 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *. 43 26 Aug 11 GKY Add a low mem version of xDosAlloc* wrappers; move error checking into all the 44 xDosAlloc* wrappers. 43 45 44 46 ***********************************************************************/ … … 307 309 308 310 # define BUFFER_BYTES 8192 309 rc = xDosAllocMem(&pvBuffer, BUFFER_BYTES, 310 PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__); 311 if (rc) { 312 Dos_Error(MB_CANCEL, rc, HWND_DESKTOP, pszSrcFile, __LINE__, 313 GetPString(IDS_OUTOFMEMORY)); 311 if (xDosAllocMem(&pvBuffer, BUFFER_BYTES, 312 PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__)) 314 313 return -1; // Say failed 315 }316 317 314 szPath[0] = chDrive; 318 315 szPath[1] = ':'; -
trunk/dll/wrappers.c
r1544 r1627 19 19 12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory 20 20 15 Nov 09 GKY Rework xDosQueryAppType to remove HIMEM ifdefs 21 26 Aug 11 GKY Add a low mem version of xDosAlloc* wrappers; move error checking into all the 22 xDosAlloc* wrappers. 21 23 22 24 ***********************************************************************/ … … 68 70 PSZ pszName, 69 71 ULONG cb, 70 ULONG flag) 72 ULONG flag, 73 PCSZ pszSrcFile, 74 UINT uiLineNumber) 71 75 { 72 76 APIRET rc; ; … … 76 80 if (rc) 77 81 rc = DosAllocSharedMem(ppb, pszName, cb, flag); 82 if (rc) 83 Runtime_Error(pszSrcFile, uiLineNumber, GetPString(IDS_OUTOFMEMORY)); 78 84 return rc; 79 85 } … … 91 97 if (rc) 92 98 rc = DosAllocMem(ppb, cb, flag); 99 if (rc) 100 Runtime_Error(pszSrcFile, uiLineNumber, GetPString(IDS_OUTOFMEMORY)); 101 //DbgMsg(pszSrcFile, uiLineNumber, "ppb %p", *ppb); 102 return rc; 103 } 104 105 APIRET xDosAllocMemLow(PPVOID ppb, 106 ULONG cb, 107 ULONG flag, 108 PCSZ pszSrcFile, 109 UINT uiLineNumber) 110 { 111 APIRET rc; 112 113 rc = DosAllocMem(ppb, cb, flag); 114 if (rc) 115 Runtime_Error(pszSrcFile, uiLineNumber, GetPString(IDS_OUTOFMEMORY)); 93 116 //DbgMsg(pszSrcFile, uiLineNumber, "ppb %p", *ppb); 94 117 return rc; … … 250 273 * support systems without large file support 251 274 * 252 * Some kernels todo not correctly handle FILESTATUS3 and PEAOP2 buffers275 * Some kernels do not correctly handle FILESTATUS3 and PEAOP2 buffers 253 276 * that cross a 64K boundary. 254 277 * When this occurs, they return ERROR_INVALID_NAME. -
trunk/dll/wrappers.h
r1544 r1627 11 11 08 Dec 08 SHL Add missing OS2_INCLUDED check 12 12 12 Jul 09 GKY Add xDosQueryAppType and xDoxAlloc... to allow FM/2 to load in high memory 13 26 Aug 11 GKY Add a low mem version of xDosAlloc* wrappers; move error checking into all the 14 xDosAlloc* wrappers. 13 15 14 16 ***********************************************************************/ … … 26 28 PSZ pszName, 27 29 ULONG cb, 28 ULONG flag); 30 ULONG flag, 31 PCSZ pszSrcFile, 32 UINT uiLineNumber); 29 33 30 34 APIRET xDosAllocMem(PPVOID ppb, … … 32 36 ULONG flag, 33 37 PCSZ pszSrcFile, 34 UINT uiLineNumber); 38 UINT uiLineNumber); 39 40 APIRET xDosAllocMemLow(PPVOID ppb, 41 ULONG cb, 42 ULONG flag, 43 PCSZ pszSrcFile, 44 UINT uiLineNumber); 35 45 36 46 APIRET xDosFindFirst(PSZ pszFileSpec,
Note:
See TracChangeset
for help on using the changeset viewer.
