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.

61 lines
809 B

  1. #pragma once
  2. class CAssemblyFileInfo : public IAssemblyFileInfo
  3. {
  4. public:
  5. // IUnknown methods
  6. STDMETHODIMP QueryInterface(REFIID riid,void ** ppv);
  7. STDMETHODIMP_(ULONG) AddRef();
  8. STDMETHODIMP_(ULONG) Release();
  9. STDMETHOD(Set)(
  10. /* in */ DWORD dwId,
  11. /* in */ LPCOLESTR pwzProperty);
  12. STDMETHOD(Get)(
  13. /* in */ DWORD dwId,
  14. /* out */ LPOLESTR *ppwzProperty,
  15. /* out */ LPDWORD pccProperty);
  16. BOOL operator==( CAssemblyFileInfo& asmFIRHS );
  17. CAssemblyFileInfo();
  18. ~CAssemblyFileInfo();
  19. private:
  20. struct FileInfo
  21. {
  22. LPWSTR pwzProperty;
  23. DWORD ccProperty;
  24. };
  25. DWORD _dwSig;
  26. DWORD _cRef;
  27. HRESULT _hr;
  28. FileInfo _fi[ASM_FILE_MAX];
  29. };