I use VC++ to code SNMP Extension Agents for Windows XP Professional.

I have coded for REstart, Shutdown and Logoff for the MIB functions.

The code for Restart and Shutdown works fine inside SNMP code.

The code for logoff does not work inside SNMP code.

with regards,
Ranga.