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.

27 lines
373 B

  1. #include <windows.h>
  2. #include "polmgr.h"
  3. #include <process.h>
  4. #include <stdio.h>
  5. #include "eventlog.h"
  6. #include "notifier.h"
  7. void testmethod();
  8. void main(){
  9. DWORD err;
  10. err = PolicyManagerInit();
  11. // _beginthread( testmethod, 0, NULL);
  12. PolicyManagerRun();
  13. }
  14. void testmethod(){
  15. int i=0;
  16. Sleep(3000);
  17. PolicyManagerStop();
  18. }