windows-nt/Source/XPSP1/NT/shell/ext/ratings/msrating/rors.h
2020-09-26 16:20:57 +08:00

37 lines
950 B
C++

//*********************************************************************
//* Microsoft Windows **
//* Copyright(c) Microsoft Corp., 1996 **
//*********************************************************************
#ifndef _RORS_H_
#define _RORS_H_
/*Includes-----------------------------------------------------------*/
/*Prototypes---------------------------------------------------------*/
class CRORemoteSite : public IObtainRating
{
private:
UINT m_cRef;
public:
CRORemoteSite() { m_cRef = 1; }
STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID * ppvObj);
STDMETHOD_(ULONG,AddRef) (THIS);
STDMETHOD_(ULONG,Release) (THIS);
STDMETHOD(ObtainRating) (THIS_ LPCTSTR pszTargetUrl, HANDLE hAbortEvent,
IMalloc *pAllocator, LPSTR *ppRatingOut);
STDMETHOD_(ULONG,GetSortOrder) (THIS);
};
#endif
//_RORS_H_