Source code of Windows XP (NT5)
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.

40 lines
886 B

  1. #pragma once
  2. // note: Ids (defined in fusenet.idl) have to be in sync with eStringTableId in manifestimport.h
  3. class CManifestApplicationInfo : public IManifestApplicationInfo
  4. {
  5. public:
  6. // IUnknown methods
  7. STDMETHODIMP QueryInterface(REFIID riid,void ** ppv);
  8. STDMETHODIMP_(ULONG) AddRef();
  9. STDMETHODIMP_(ULONG) Release();
  10. STDMETHOD(Set)(
  11. /* in */ DWORD dwId,
  12. /* in */ LPCOLESTR pwzProperty);
  13. STDMETHOD(Get)(
  14. /* in */ DWORD dwId,
  15. /* out */ LPOLESTR *ppwzProperty,
  16. /* out */ LPDWORD pccProperty);
  17. CManifestApplicationInfo();
  18. ~CManifestApplicationInfo();
  19. private:
  20. struct ApplicationInfo
  21. {
  22. LPWSTR pwzProperty;
  23. DWORD ccProperty;
  24. };
  25. DWORD _dwSig;
  26. DWORD _cRef;
  27. HRESULT _hr;
  28. ApplicationInfo _ai[MAN_APPLICATION_MAX];
  29. };