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
942 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. int m_nCount;
  15. CSimpleDoc FAR * m_pDoc;
  16. CDropSource(CSimpleDoc FAR * pDoc) {
  17. TestDebugOut("In IDS's constructor\r\n");
  18. m_pDoc = pDoc;
  19. m_nCount = 0;
  20. };
  21. ~CDropSource() {
  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