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.

43 lines
979 B

  1. //**********************************************************************
  2. // File name: ids.h
  3. //
  4. // Definition of CDropSource
  5. //
  6. // Copyright (c) 1992 - 1993 Microsoft Corporation. All rights reserved.
  7. //**********************************************************************
  8. #if !defined( _IDS_H_ )
  9. #define _IDS_H_
  10. #include <assert.h>
  11. class CSimpleDoc;
  12. interface CDropSource : public IDropSource
  13. {
  14. CSimpleDoc FAR * m_pDoc;
  15. CDropSource(CSimpleDoc FAR * pDoc)
  16. {
  17. TestDebugOut("In IDS's constructor\r\n");
  18. m_pDoc = pDoc;
  19. };
  20. ~CDropSource()
  21. {
  22. TestDebugOut("In IDS's destructor\r\n");
  23. };
  24. STDMETHODIMP QueryInterface (REFIID riid, LPVOID FAR* ppv);
  25. STDMETHODIMP_(ULONG) AddRef ();
  26. STDMETHODIMP_(ULONG) Release ();
  27. // *** IDropSource methods ***
  28. STDMETHODIMP QueryContinueDrag (BOOL fEscapePressed, DWORD grfKeyState);
  29. STDMETHODIMP GiveFeedback (DWORD dwEffect);
  30. private:
  31. };
  32. #endif