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.

55 lines
1.0 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. faxconmenu.h
  5. Abstract:
  6. This header prototypes my implementation of IExtendContextMenu.
  7. Environment:
  8. WIN32 User Mode
  9. Author:
  10. Darwin Ouyang (t-darouy) 30-Sept-1997
  11. --*/
  12. #ifndef __FAX_ICOMPONENT_CONTEXT_MENU_H_
  13. #define __FAX_ICOMPONENT_CONTEXT_MENU_H_
  14. #include "resource.h"
  15. class CFaxComponent; // forward decl
  16. class CFaxComponentExtendContextMenu : public IExtendContextMenu
  17. {
  18. public:
  19. // constructor
  20. CFaxComponentExtendContextMenu()
  21. {
  22. m_pFaxComponent = NULL;
  23. }
  24. // IExtendContextMenu
  25. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddMenuItems(
  26. /* [in] */ LPDATAOBJECT piDataObject,
  27. /* [in] */ LPCONTEXTMENUCALLBACK piCallback,
  28. /* [out][in] */ long __RPC_FAR *pInsertionAllowed);
  29. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Command(
  30. /* [in] */ long lCommandID,
  31. /* [in] */ LPDATAOBJECT piDataObject);
  32. protected:
  33. CFaxComponent * m_pFaxComponent;
  34. };
  35. #endif