Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

36 lines
555 B

#include <nt.h>
#include <ntrtl.h>
#include <nturtl.h>
#include <windows.h>
#include <winsvc.h> // Service control APIs
#include <rpc.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <Shlwapi.h>
#include <sacapi.h>
#include <ntddsac.h>
#pragma warning(disable:4127) // condition expression is constant
VOID SvcDebugOut(LPSTR String, DWORD Status);
VOID
MyServiceCtrlHandler (
DWORD Opcode
);
BOOL
Run(
VOID
);
BOOL
Stop(
VOID
);