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.

37 lines
1.1 KiB

  1. #ifndef _CDLINFO_INCLUDED
  2. #define _CDLINFO_INCLUDED
  3. class CCodeDownloadInfo : public ICodeDownloadInfo
  4. {
  5. public:
  6. // IUnknown methods
  7. STDMETHODIMP QueryInterface(REFIID iid, void **ppvObj);
  8. STDMETHODIMP_(ULONG) AddRef(void);
  9. STDMETHODIMP_(ULONG) Release(void);
  10. // ICodeDownloadInfo methods
  11. STDMETHODIMP GetCodeBase(LPWSTR *szCodeBase);
  12. STDMETHODIMP SetCodeBase(LPCWSTR szCodeBase);
  13. STDMETHODIMP GetClassID(CLSID *clsid);
  14. STDMETHODIMP SetClassID(CLSID clsid);
  15. STDMETHODIMP SetMajorVersion(ULONG ulVersion);
  16. STDMETHODIMP GetMajorVersion(ULONG *pulVersion);
  17. STDMETHODIMP SetMinorVersion(ULONG ulVersion);
  18. STDMETHODIMP GetMinorVersion(ULONG *pulVersion);
  19. public:
  20. CCodeDownloadInfo();
  21. virtual ~CCodeDownloadInfo();
  22. private:
  23. LPWSTR _szCodeBase;
  24. DWORD _cRefs;
  25. ULONG _ulMajorVersion;
  26. ULONG _ulMinorVersion;
  27. CLSID _clsid;
  28. };
  29. #endif