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.

34 lines
1.2 KiB

  1. #pragma once
  2. #include "fusenet.h"
  3. #include "fusenetincludes.h"
  4. #define UNKNOWN_ASSEMBLY 0
  5. #define PRIVATE_ASSEMBLY 1
  6. #define GAC_ASSEMBLY 2
  7. class ManifestNode {
  8. public:
  9. ManifestNode(IAssemblyManifestImport *pManifestImport,
  10. LPWSTR pwzSrcRootDir,
  11. LPWSTR pwzFilePath,
  12. DWORD dwType);
  13. ~ManifestNode();
  14. HRESULT GetNextAssembly(DWORD index, IManifestInfo **ppManifestInfo);
  15. HRESULT GetNextFile(DWORD index, IManifestInfo **ppManifestInfo);
  16. HRESULT GetAssemblyIdentity(IAssemblyIdentity **ppAsmId);
  17. HRESULT GetManifestFilePath(LPWSTR *ppwzFileName);
  18. HRESULT SetManifestFilePath(LPWSTR pwzFileName);
  19. HRESULT GetSrcRootDir(LPWSTR *ppwzSrcRootDir);
  20. HRESULT SetSrcRootDir(LPWSTR pwzSrcRootDir);
  21. HRESULT GetManifestType(DWORD *pdwType);
  22. HRESULT SetManifestType(DWORD dwType);
  23. HRESULT IsEqual(ManifestNode *pManifestNode);
  24. private:
  25. IAssemblyManifestImport *_pManifestImport;
  26. LPWSTR _pwzSrcRootDir;
  27. LPWSTR _pwzFilePath;
  28. DWORD _dwType;
  29. };