summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
97acc35)
Save the error code returned by applications.
svn path=/branches/ntvdm/; revision=60789
static WORD DosSftRefCount[DOS_SFT_SIZE];
static BYTE DosAllocStrategy = DOS_ALLOC_BEST_FIT;
static BOOLEAN DosUmbLinked = FALSE;
static WORD DosSftRefCount[DOS_SFT_SIZE];
static BYTE DosAllocStrategy = DOS_ALLOC_BEST_FIT;
static BOOLEAN DosUmbLinked = FALSE;
+static BYTE DosErrorLevel = 0;
/* PRIVATE FUNCTIONS **********************************************************/
/* PRIVATE FUNCTIONS **********************************************************/
if (CurrentPsp == SYSTEM_PSP) VdmRunning = FALSE;
}
if (CurrentPsp == SYSTEM_PSP) VdmRunning = FALSE;
}
+ /* Save the return code */
+ DosErrorLevel = ReturnCode;
+
/* Return control to the parent process */
EmulatorExecute(HIWORD(PspBlock->TerminateAddress),
LOWORD(PspBlock->TerminateAddress));
/* Return control to the parent process */
EmulatorExecute(HIWORD(PspBlock->TerminateAddress),
LOWORD(PspBlock->TerminateAddress));