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.

49 lines
1.5 KiB

  1. /**************************************************************************
  2. THIS CODE AND INFORMATION IS PROVIDED 'AS IS' WITHOUT WARRANTY OF
  3. ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  4. THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  5. PARTICULAR PURPOSE.
  6. Copyright 1998 Microsoft Corporation. All Rights Reserved.
  7. **************************************************************************/
  8. /**************************************************************************
  9. File: DropSrc.h
  10. Description: CDropSource class defintions
  11. **************************************************************************/
  12. /**************************************************************************
  13. #include statements
  14. **************************************************************************/
  15. #include <windows.h>
  16. #include "Utility.h"
  17. /**************************************************************************
  18. class definitions
  19. **************************************************************************/
  20. class CDropSource : public IDropSource
  21. {
  22. private:
  23. DWORD m_ObjRefCount;
  24. public:
  25. // Contstructor and Destructor
  26. CDropSource();
  27. ~CDropSource();
  28. // IUnknown Interface members
  29. STDMETHODIMP QueryInterface(REFIID, LPVOID*);
  30. STDMETHODIMP_(ULONG) AddRef(void);
  31. STDMETHODIMP_(ULONG) Release(void);
  32. // IDropSource Interface members
  33. STDMETHODIMP QueryContinueDrag(BOOL, DWORD);
  34. STDMETHODIMP GiveFeedback(DWORD);
  35. };