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.

48 lines
938 B

  1. //*************************************************************
  2. //
  3. // Copyright (c) Microsoft Corporation 1998
  4. // All rights reserved
  5. //
  6. // cltevnts.cxx
  7. //
  8. //*************************************************************
  9. #include "appmgmt.hxx"
  10. void
  11. CEvents::ZAPInstall(
  12. DWORD ErrorStatus,
  13. WCHAR * pwszDeploymentName,
  14. WCHAR * pwszGPOName,
  15. WCHAR * pwszPath
  16. )
  17. {
  18. WCHAR wszStatus[12];
  19. if ( ErrorStatus != ERROR_SUCCESS )
  20. {
  21. DwordToString( ErrorStatus, wszStatus );
  22. Report(
  23. EVENT_APPMGMT_ZAP_FAILED,
  24. FALSE,
  25. 4,
  26. pwszDeploymentName,
  27. pwszGPOName,
  28. pwszPath,
  29. wszStatus );
  30. }
  31. else
  32. {
  33. Report(
  34. EVENT_APPMGMT_ZAP,
  35. FALSE,
  36. 2,
  37. pwszDeploymentName,
  38. pwszGPOName );
  39. }
  40. }