Retrieves a code that identifies the type of exception that occurs. The function can be called only from within the filter expression or exception-handler block of an exception handler.
Note: The Microsoft C/C++ Optimizing Compiler interprets this function as a keyword, and its use outside the appropriate exception-handling syntax generates a compiler error.
DWORD GetExceptionCode(void);
This macro has no parameters.
The return value identifies the type of exception.
None.
| Versions | Defined in | Include | Link to | 
|---|---|---|---|
| INtime 3.0 | intime/rt/include/excpt.h | rt.h | rt.lib | 
Notes
This function operates in the real-time portion of your application.