Leaked source code of windows server 2003
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
602 B

  1. #ifndef _PROFSVC_H_
  2. #define _PROFSVC_H_
  3. class IProfferServiceImpl : public IProfferService
  4. {
  5. public:
  6. // IProfferService
  7. STDMETHODIMP ProfferService(REFGUID rguidService, IServiceProvider *psp, DWORD *pdwCookie);
  8. STDMETHODIMP RevokeService(DWORD dwCookie);
  9. // delegate unrecognized QS's here
  10. HRESULT QueryService(REFGUID guidService, REFIID riid, void **ppv);
  11. protected:
  12. IProfferServiceImpl();
  13. ~IProfferServiceImpl();
  14. HDSA _hdsa; // list of services held
  15. DWORD _dwNextCookie; // unique cookie index
  16. };
  17. #endif // _PROFSVC_H_