diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/oleutest/simpdnd/ids.h | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'private/oleutest/simpdnd/ids.h')
-rw-r--r-- | private/oleutest/simpdnd/ids.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/private/oleutest/simpdnd/ids.h b/private/oleutest/simpdnd/ids.h new file mode 100644 index 000000000..470d05ee2 --- /dev/null +++ b/private/oleutest/simpdnd/ids.h @@ -0,0 +1,43 @@ +//********************************************************************** +// File name: ids.h +// +// Definition of CDropSource +// +// Copyright (c) 1992 - 1993 Microsoft Corporation. All rights reserved. +//********************************************************************** +#if !defined( _IDS_H_ ) +#define _IDS_H_ + +#include <assert.h> + +class CSimpleDoc; + +interface CDropSource : public IDropSource +{ + CSimpleDoc FAR * m_pDoc; + + CDropSource(CSimpleDoc FAR * pDoc) + { + TestDebugOut("In IDS's constructor\r\n"); + m_pDoc = pDoc; + }; + + ~CDropSource() + { + TestDebugOut("In IDS's destructor\r\n"); + }; + + STDMETHODIMP QueryInterface (REFIID riid, LPVOID FAR* ppv); + STDMETHODIMP_(ULONG) AddRef (); + STDMETHODIMP_(ULONG) Release (); + + // *** IDropSource methods *** + STDMETHODIMP QueryContinueDrag (BOOL fEscapePressed, DWORD grfKeyState); + STDMETHODIMP GiveFeedback (DWORD dwEffect); + +private: + +}; + + +#endif |