void Throw(lpCatchBuf,nThrowBack)
This function restores the execution environment to the values saved in the buffer pointed
to by the lpCatchBuf parameter. The execution environment is the state of all system registers and the instruction counter. Execution continues at the Catch function that copied the environment pointed to by lpCatchBuf. The nThrowBack parameter is passed as the return value to the Catch function. It can be a nonzero value.
Parameter | Type/Description |
lpCatchBuf | LPCATCHBUF Points to an array that contains the execution environment. | |
nThrowBack | int Specifies the value to be returned to the Catch function. |
None.
The Throw function is similar to the C run-time LongJmp function (which is incompatible with the Windows environment).