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.

74 lines
1.3 KiB

  1. /*++
  2. 1998 Seagate Software, Inc. All rights reserved
  3. Module Name:
  4. clientob.h
  5. Abstract:
  6. This component is the client object the recall filter system contacts
  7. to notify when a recall starts.
  8. Author:
  9. Rohde Wakefield [rohde] 27-May-1997
  10. Revision History:
  11. --*/
  12. #include "fsaint.h"
  13. #include "fsalib.h"
  14. #ifndef _CLIENTOBJ_
  15. #define _CLIENTOBJ_
  16. /*++
  17. Class Name:
  18. CWsbShort
  19. Class Description:
  20. An object representations of the SHORT standard type. It
  21. is both persistable and collectable.
  22. --*/
  23. class CNotifyClient :
  24. public IFsaRecallNotifyClient,
  25. public CComCoClass<CNotifyClient,&CLSID_CFsaRecallNotifyClient >,
  26. public CComObjectRoot
  27. {
  28. public:
  29. CNotifyClient() {}
  30. BEGIN_COM_MAP( CNotifyClient )
  31. COM_INTERFACE_ENTRY( IFsaRecallNotifyClient )
  32. END_COM_MAP()
  33. #ifdef _USRDLL
  34. DECLARE_REGISTRY_RESOURCEID( IDR_CNotifyClientDll )
  35. #else
  36. DECLARE_REGISTRY_RESOURCEID( IDR_CNotifyClient )
  37. #endif
  38. // CComObjectRoot
  39. public:
  40. HRESULT FinalConstruct(void);
  41. void FinalRelease(void);
  42. // IFsaRecallNotifyClient
  43. public:
  44. STDMETHOD(IdentifyWithServer)( IN OLECHAR * szServerName );
  45. STDMETHOD(OnRecallStarted) ( IN IFsaRecallNotifyServer * pRecall );
  46. STDMETHOD(OnRecallFinished) ( IN IFsaRecallNotifyServer * pRecall, HRESULT hr );
  47. protected:
  48. };
  49. #endif // _CLIENTOBJ_