DosEnterMustComplete

Provides entry into a section of code in which asynchronous exceptions are held.

Syntax
DosEnterMustComplete(pulNesting)

Parameters

 * pulNesting (PULONG) - output : A pointer to a value that is equal to the number of DosEnterMustComplete requests minus the number of DosExitMustComplete requests for the current thread.

Return Code

 * ulrc (APIRET) - returns:DosEnterMustComplete returns one of the following values:
 * 0 NO_ERROR
 * 650 ERROR_NESTING_TOO_DEEP

Remarks
Note: Do not make Presentation Manager calls from exception handlers.

DosEnterMustComplete notifies the system that the thread is entering a section of code in which asynchronous exceptions (signals and asynchronous process terminations) are to be held, rather than being immediately delivered to the thread.

Related Functions

 * DosAcknowledgeSignalException
 * DosExitMustComplete
 * DosRaiseException
 * DosSendSignalException
 * DosSetExceptionHandler
 * DosSetSignalExceptionFocus
 * DosUnsetExceptionHandler
 * DosUnwindException