Changeset 1627 for trunk/dll/instant.c
- Timestamp:
- Aug 26, 2011, 11:48:06 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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;
Note:
See TracChangeset
for help on using the changeset viewer.