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.

88 lines
1.8 KiB

  1. //*************************************************************
  2. //
  3. // Copyright (c) Microsoft Corporation 1998
  4. // All rights reserved
  5. //
  6. // appmgext.hxx
  7. //
  8. // Precompiled header file for appmgext project.
  9. //
  10. //*************************************************************
  11. #if !defined(__APPMGEXT_HXX__)
  12. #define __APPMGEXT_HXX__
  13. #include <nt.h>
  14. #include <ntrtl.h>
  15. #include <nturtl.h>
  16. #include <windows.h>
  17. #include <shlobj.h>
  18. #include <malloc.h>
  19. #include <wbemcli.h>
  20. #include <userenv.h>
  21. #include <ole2.h>
  22. #include <msi.h>
  23. #include <msip.h>
  24. #include <lm.h>
  25. #define SECURITY_WIN32
  26. #include <security.h>
  27. #include <ntdsapi.h>
  28. #include <winldap.h>
  29. #include <dsgetdc.h>
  30. #include <sddl.h>
  31. #include <srrestoreptapi.h>
  32. #include "cstore.hxx"
  33. #include "common.hxx"
  34. #include "cspath.hxx"
  35. #include "cslang.hxx"
  36. #include "rsop.hxx"
  37. #include "schema.h"
  38. #include "appschem.h"
  39. #include "catlog.hxx"
  40. #include "app.h"
  41. #include "logonmsg.h"
  42. #include "registry.hxx"
  43. #include "conflict.hxx"
  44. #include "appinfo.hxx"
  45. #include "applist.hxx"
  46. #include "debug.hxx"
  47. #include "events.hxx"
  48. #include "manapp.hxx"
  49. #include "util.hxx"
  50. #define GUIDSTRLEN 38
  51. enum
  52. {
  53. PROCESSGPOLIST_DELETED = 1,
  54. PROCESSGPOLIST_CHANGED = 2
  55. };
  56. extern CRITICAL_SECTION gAppCS;
  57. extern BOOL gbInitialized;
  58. DWORD
  59. ProcessGPOList(
  60. PGROUP_POLICY_OBJECT pGPOList,
  61. DWORD dwFlags,
  62. HANDLE hUserToken,
  63. HKEY hKeyRoot,
  64. PFNSTATUSMESSAGECALLBACK pfnStatusCallback,
  65. DWORD dwListType,
  66. CRsopAppContext* pRsopContext
  67. );
  68. extern "C" DWORD WINAPI
  69. GenerateManagedApplications(
  70. PGROUP_POLICY_OBJECT pGPOList,
  71. DWORD dwFlags,
  72. CRsopAppContext* pRsopContext
  73. );
  74. void
  75. Initialize();
  76. #endif // !defined(__APPMGEXT_HXX__)