// IContextMenuImpl.h // ////////////////////////////////////////////////////////////////////// #include #include class ATL_NO_VTABLE IContextMenuImpl : public IContextMenu3 { public: // IUnknown // STDMETHOD(QueryInterface)(REFIID riid, void** ppvObject) = 0; _ATL_DEBUG_ADDREF_RELEASE_IMPL( IContextMenuImpl ) // IContextMenu // STDMETHOD(GetCommandString)(UINT, UINT, UINT*, LPSTR, UINT) { return S_FALSE; } STDMETHOD(InvokeCommand)(LPCMINVOKECOMMANDINFO) { return S_FALSE; } STDMETHOD(QueryContextMenu)(HMENU, UINT, UINT , UINT, UINT) { return S_FALSE; } // IContextMenu2 // STDMETHOD(HandleMenuMsg)(UINT, WPARAM, LPARAM) { return S_FALSE; } // IContextMenu3 // STDMETHOD(HandleMenuMsg2)(UINT, WPARAM, LPARAM, LRESULT *) { return S_FALSE; } };