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.

24 lines
696 B

  1. IDownloadSite *CopyDownloadSite(DOWNLOADSITE *pdls);
  2. DOWNLOADSITE *AllocateDownloadSite(LPCSTR pszUrl, LPCSTR pszName, LPCSTR pszLang, LPCSTR pszRegion);
  3. void DeleteDownloadSite(DOWNLOADSITE *pdls);
  4. void FreeDownloadSite(DOWNLOADSITE *pdls);
  5. class CDownloadSite : public IDownloadSite
  6. {
  7. public:
  8. CDownloadSite(DOWNLOADSITE *pds);
  9. ~CDownloadSite();
  10. // IUnknown
  11. STDMETHOD(QueryInterface) (THIS_ REFIID riid, void **ppvObj);
  12. STDMETHOD_(ULONG,AddRef) (THIS);
  13. STDMETHOD_(ULONG,Release) (THIS);
  14. // IDownloadSite
  15. STDMETHOD(GetData)(THIS_ DOWNLOADSITE **pds);
  16. private:
  17. DWORD m_cRef;
  18. DOWNLOADSITE *m_pdls;
  19. };