Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

22 lines
580 B

#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();
~IProfferServiceImpl();
HDSA _hdsa; // list of services held
DWORD _dwNextCookie; // unique cookie index
};
#endif // _PROFSVC_H_