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.

118 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 2000-2002 Microsoft Corporation
  3. Module Name:
  4. acwebsvc.hxx
  5. Abstract:
  6. Header file for AcWebSvc shim dll
  7. Author:
  8. Wade A. Hilmo (WadeH) 30-Apr-2002
  9. Project:
  10. AcWebSvc.dll
  11. --*/
  12. #ifndef _ACWEBSVC_HXX_
  13. #define _ACWEBSVC_HXX_
  14. struct EXTENSION_IMAGE
  15. {
  16. STRU strPath;
  17. LIST_ENTRY le;
  18. BOOL fExists;
  19. };
  20. BOOL
  21. DoWork(
  22. LPCSTR szCommandLine
  23. );
  24. HRESULT
  25. ReadDataFromAppCompatDB(
  26. LPCSTR szCommandLine
  27. );
  28. HRESULT
  29. BuildListOfExtensions(
  30. VOID
  31. );
  32. HRESULT
  33. BuildCookedBasePath(
  34. STRU * pstrCookedBasePath
  35. );
  36. BOOL
  37. IsApplicationInstalled(
  38. VOID
  39. );
  40. HRESULT
  41. InstallApplication(
  42. VOID
  43. );
  44. HRESULT
  45. UninstallApplication(
  46. VOID
  47. );
  48. HRESULT
  49. InitMetabase(
  50. VOID
  51. );
  52. HRESULT
  53. UninitMetabase(
  54. VOID
  55. );
  56. BOOL
  57. IsApplicationAlreadyInstalled(
  58. VOID
  59. );
  60. HRESULT
  61. AddExtensionsToMetabase(
  62. VOID
  63. );
  64. HRESULT
  65. AddDependenciesToMetabase(
  66. VOID
  67. );
  68. HRESULT
  69. RemoveExtensionsFromMetabase(
  70. VOID
  71. );
  72. HRESULT
  73. RemoveDependenciesFromMetabase(
  74. VOID
  75. );
  76. BOOL
  77. IsExtensionInMetabase(
  78. LPWSTR szImagePath
  79. );
  80. BOOL
  81. DoesFileExist(
  82. LPWSTR szImagePath
  83. );
  84. VOID
  85. WriteDebug(
  86. LPWSTR szFormat,
  87. ...
  88. );
  89. #endif // _ACWEBSVC_HXX_