include: Add DShellFolderViewEvents to shldisp.idl.

This commit is contained in:
Rob Shearman 2008-09-23 13:31:23 +01:00 committed by Alexandre Julliard
parent 39894c2423
commit 2f10cc5c28
3 changed files with 56 additions and 0 deletions

View File

@ -373,6 +373,7 @@ SRCDIR_INCLUDES = \
sensapi.h \
setupapi.h \
sfc.h \
shdispid.h \
shellapi.h \
shlguid.h \
shlobj.h \

30
include/shdispid.h Normal file
View File

@ -0,0 +1,30 @@
/*
* DispIds for Shell Interfaces
*
* Copyright (C) 2008 Robert Shearman
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef _SHDISPID_H_
#define _SHDISPID_H_
#define DISPID_SELECTIONCHANGED 200
#define DISPID_FILELISTENUMDONE 201
#define DISPID_VERBINVOKED 202
#define DISPID_DEFAULTVERBINVOKED 203
#define DISPID_BEGINDRAG 204
#endif /* defined _SHDISPID_H_ */

View File

@ -25,6 +25,8 @@ import "shtypes.idl";
import "servprov.idl";
import "comcat.idl";
#include <shdispid.h>
/*****************************************************************************
* IAutoComplete interface
*/
@ -84,6 +86,29 @@ interface IFolderViewOC : IDispatch
HRESULT SetFolderView( [in] IDispatch *pdisp );
}
[
uuid(62112aa2-ebe4-11cf-a5fb-0020afe7292d)
]
dispinterface DShellFolderViewEvents
{
properties:
methods:
[id(DISPID_SELECTIONCHANGED)]
void SelectionChanged();
[id(DISPID_FILELISTENUMDONE)]
void EnumDone();
[id(DISPID_VERBINVOKED)]
VARIANT_BOOL VerbInvoked();
[id(DISPID_DEFAULTVERBINVOKED)]
VARIANT_BOOL DefaultVerbInvoked();
[id(DISPID_BEGINDRAG)]
VARIANT_BOOL BeginDrag();
}
[
uuid(9ba05971-f6a8-11cf-a442-00a0c90a8f39),
hidden