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.

50 lines
1.2 KiB

  1. /*******************************************************************************
  2. *
  3. * (C) COPYRIGHT MICROSOFT CORPORATION
  4. *
  5. * TITLE: APDROPT.H
  6. *
  7. * VERSION: 1.0
  8. *
  9. * AUTHOR: ShaunIv
  10. *
  11. * DATE: 5/22/2001
  12. *
  13. * DESCRIPTION: Drop target for shell autoplay
  14. *
  15. *******************************************************************************/
  16. #ifndef __APDROPT_H_INCLUDED
  17. #define __APDROPT_H_INCLUDED
  18. #include <windows.h>
  19. #include <atlbase.h>
  20. #include <objbase.h>
  21. class CWiaAutoPlayDropTarget :
  22. public IDropTarget
  23. {
  24. private:
  25. LONG m_cRef;
  26. public:
  27. CWiaAutoPlayDropTarget();
  28. ~CWiaAutoPlayDropTarget();
  29. public:
  30. //
  31. // IUnknown
  32. //
  33. STDMETHODIMP QueryInterface(REFIID riid, void **ppv);
  34. STDMETHODIMP_(ULONG) AddRef();
  35. STDMETHODIMP_(ULONG) Release();
  36. //
  37. // IDropTarget ***
  38. //
  39. STDMETHODIMP DragEnter(IDataObject *pdtobj, DWORD grfKeyState, POINTL pt, DWORD *pdwEffect);
  40. STDMETHODIMP DragOver(DWORD grfKeyState, POINTL pt, DWORD *pdwEffect);
  41. STDMETHODIMP DragLeave();
  42. STDMETHODIMP Drop(IDataObject *pdtobj, DWORD grfKeyState, POINTL pt, DWORD *pdwEffect);
  43. };
  44. #endif // __APDROPT_H_INCLUDED