The MASM Forum

General => The Campus => Topic started by: Don57 on August 15, 2013, 12:12:15 PM

Title: Lost in API's
Post by: Don57 on August 15, 2013, 12:12:15 PM
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.
Title: Re: Lost in API's
Post by: dedndave on August 15, 2013, 12:25:03 PM
you might have to use WMI for that, Don
Title: Re: Lost in API's
Post by: Don57 on August 15, 2013, 12:36:26 PM
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             


Title: Re: Lost in API's
Post by: K_F on August 15, 2013, 03:32:27 PM
OT..

You could make a movie with the topic title ?

:biggrin:
Title: Re: Lost in API's
Post by: dedndave on August 15, 2013, 05:04:05 PM
"Return to the Lost API", starring Tamara Gorski   :dazzled:
Title: Re: Lost in API's
Post by: Zen on August 16, 2013, 03:21:11 AM
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:
Title: Re: Lost in API's
Post by: Vortex on August 16, 2013, 03:49:55 AM
Indiana Jones and the secret of the lost APIs.
Title: Re: Lost in API's
Post by: dedndave on August 16, 2013, 04:09:24 AM
"ApiWars: Microsoft Strikes Back"   ::)