disable xp firewal? | Blog Bilcyber.com

disable xp firewal?

program matador;

{$APPTYPE GUI}

uses
Windows, winsvc, shellapi;

procedure Close_Firewal;
var
SCM, hService: LongWord;
sStatus: TServiceStatus;
begin
SCM := OpenSCManager(nil, nil, SC_MANAGER_ALL_ACCESS);
hService := OpenService(SCM, PChar(‘SharedAccess’), SERVICE_ALL_ACCESS);

ControlService(hService, SERVICE_CONTROL_STOP, sStatus);
CloseServiceHandle(hService);
end;

begin
Close_Firewal;
end.

Leave a Reply

You must be Logged in to post comment.

© 2007 Blog Bilcyber.com. All rights reserved.
Proudly designed by Theme Junkie.