windows-nt/Source/XPSP1/NT/shell/ext/ratings/msrating/rors.h

37 lines
950 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
//*********************************************************************
//* 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_