Re-writing my event log cleaner and want to shutoff net access so the appropriate logs are erased. I already have admin access, but can't find the appropriate API.
you might have to use WMI for that, Don
Think I'm on the right track. No error checking yet but I think I have the calls thanks.
Shutoff_Net PROC
invoke DisableIPSec
invoke ReleaseDHCPLease
OT..
You could make a movie with the topic title ?
:biggrin:
"Return to the Lost API", starring Tamara Gorski :dazzled:
Note to scriptwriter: you will probably have to throw in a couple of nudists, so people like DAVE can relate to the concept,... :icon_eek:
Indiana Jones and the secret of the lost APIs.
"ApiWars: Microsoft Strikes Back" ::)