22 lines
574 B
C
Raw Normal View History

2001-01-01 00:00:00 +01:00
#ifndef _PROFSVC_H_
#define _PROFSVC_H_
class IProfferServiceImpl : public IProfferService
{
public:
// IProfferService
STDMETHODIMP ProfferService(REFGUID rguidService, IServiceProvider *psp, DWORD *pdwCookie);
STDMETHODIMP RevokeService(DWORD dwCookie);
// delegate unrecognized QS's here
HRESULT QueryService(REFGUID guidService, REFIID riid, void **ppv);
protected:
~IProfferServiceImpl();
HDSA _hdsa; // list of services held
DWORD _dwNextCookie; // unique cookie index
};
#endif // _PROFSVC_H_