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
939 B

  1. #define SXSP_GENERATE_SXS_PATH_PATHTYPE_INVALID (0)
  2. #define SXSP_GENERATE_SXS_PATH_PATHTYPE_MANIFEST (1)
  3. #define SXSP_GENERATE_SXS_PATH_PATHTYPE_ASSEMBLY (2)
  4. #define SXSP_GENERATE_SXS_PATH_PATHTYPE_POLICY (3)
  5. #define SXSP_GENERATE_SXS_PATH_FLAG_OMIT_ROOT (0x00000001)
  6. #define SXSP_GENERATE_SXS_PATH_FLAG_PARTIAL_PATH (0x00000002)
  7. #define SXSP_GENERATE_SXS_PATH_FLAG_OMIT_VERSION (0x00000004)
  8. extern HRESULT ca_SxspDeleteDirectory(
  9. const CStringBuffer &dir
  10. );
  11. extern HRESULT ca_SxspGenerateSxsPath(
  12. IN DWORD Flags,
  13. IN ULONG PathType,
  14. IN const WCHAR *AssemblyRootDirectory OPTIONAL,
  15. IN SIZE_T AssemblyRootDirectoryCch,
  16. IN PCASSEMBLY_IDENTITY pAssemblyIdentity,
  17. IN OUT CBaseStringBuffer &PathBuffer
  18. );
  19. extern HRESULT ca_SxspDetermineAssemblyType(
  20. PCASSEMBLY_IDENTITY pAssemblyIdentity,
  21. BOOL &fIsWin32,
  22. BOOL &fIsWin32Policy
  23. );