Windows2003-3790/ds/netapi/svcdlls/upssvc/upsexe/test_main.c

28 lines
373 B
C
Raw Permalink Normal View History

2001-01-01 00:00:00 +01: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();
}