I have developed a driver for Windows XP which is able to monitor the execution of processes. A callback function receives the notifications using standard WDK API (PsSetCreateProcessNotifyRoutine).
The driver then decides if the process should be authorized or not; if not, it must block its execution/kill it.
What's the cleanest way to intercept execution that way ? I don't mind if it's not documented, but I'd rather not resort to hooking, if possible.