template <typename T>
void SetUserExceptionHandlerLocal(
UserExceptionHandler pHandler,
T * pStack,
ExceptionBuffer * pExceptionBuffer
);
| Name | Description |
|---|---|
T |
Stack type. |
| Name | Description | |
|---|---|---|
| in | pHandler |
Specifies the exception handler called when an exception occurs. |
| in | pStack |
Specifies the stack to use for the exception handler. |
| in | pExceptionBuffer |
Specifies a buffer for storing exception information. |
Sets the local thread exception handler.
This is a wrapper function for accepting the stack used by the exception handler via a stack-type member function.
For details, see SetUserExceptionHandlerLocal(UserExceptionHandler, uptr, ExceptionBuffer*).
Outside of the main thread, this function is thread-safe. In the main thread, it requires mutual exclusion with the SetUserExceptionHandler function.
CONFIDENTIAL