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
24 lines
696 B
IDownloadSite *CopyDownloadSite(DOWNLOADSITE *pdls);
|
|
DOWNLOADSITE *AllocateDownloadSite(LPCSTR pszUrl, LPCSTR pszName, LPCSTR pszLang, LPCSTR pszRegion);
|
|
void DeleteDownloadSite(DOWNLOADSITE *pdls);
|
|
void FreeDownloadSite(DOWNLOADSITE *pdls);
|
|
|
|
class CDownloadSite : public IDownloadSite
|
|
{
|
|
public:
|
|
CDownloadSite(DOWNLOADSITE *pds);
|
|
~CDownloadSite();
|
|
|
|
// IUnknown
|
|
STDMETHOD(QueryInterface) (THIS_ REFIID riid, void **ppvObj);
|
|
STDMETHOD_(ULONG,AddRef) (THIS);
|
|
STDMETHOD_(ULONG,Release) (THIS);
|
|
|
|
// IDownloadSite
|
|
STDMETHOD(GetData)(THIS_ DOWNLOADSITE **pds);
|
|
|
|
private:
|
|
DWORD m_cRef;
|
|
DOWNLOADSITE *m_pdls;
|
|
};
|
|
|