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.

30 lines
595 B

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. logevent.cxx
  5. Abstract:
  6. Simple function creating isntance of Event_LOG object
  7. I need a separate file for that because API for constructor takes
  8. only ANSI string and can't be called from unicode CPP file
  9. Author:
  10. Kestutis Patiejunas 05-12-99
  11. --*/
  12. #include <eventlog.hxx>
  13. extern EVENT_LOG *g_eventLogForAccountRecreation;
  14. BOOL CreateEventLogObject()
  15. {
  16. g_eventLogForAccountRecreation = new EVENT_LOG("IISADMIN");
  17. return (g_eventLogForAccountRecreation != NULL);
  18. }