Get process's exception notification

I wonder if theres a similiar API or somesort of a method to achieve the same callback
you achieve with:
PsSetLoadImageNotifyRoutine()
PsSetCreateProcessNotifyRoutine()

But with exceptions. for example i want a callback everytime an access violation(not a page fault) has happened in one of the process’s threads, or one of the thread
used ‘RaiseException(…)’, or divided in zero…

I couldn’t find anything that is documented, only nasty methods like hooking ‘KiDispatchException’.

> i want a callback everytime an access
violation(not a page fault) has happened in one of the process’s threads

The debugging Win32 API allows this (DebugActiveProcess and so on).

– pa