windows-nt/Source/XPSP1/NT/ds/netapi/svcdlls/upssvc/upsexe/main.c

28 lines
346 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#include <windows.h>
#include "polmgr.h"
#include <process.h>
#include <stdio.h>
#include "eventlog.h"
#include "notifier.h"
void testmethod();
void main(){
DWORD err;
err = PolicyManagerInit();
// _beginthread( testmethod, 0, NULL);
PolicyManagerRun();
}
void testmethod(){
int i=0;
Sleep(3000);
PolicyManagerStop();
}