I set a system hook, using a procedure in a DLL and I need to know if the hook remains active after the program that set it terminates.
When a process terminates, its 4GB virtual memory gets removed as it is now longer needed and so any reference would continuly cause exceptions unless windows automactily tidys things up and removes the hook, which I would assume it would.