Module: wine Branch: master Commit: aa8f00895268952a8772b2d87b18d6e0b3c5c33b URL: http://source.winehq.org/git/wine.git/?a=commit;h=aa8f00895268952a8772b2d87b...
Author: Andrey Turkin andrey.turkin@gmail.com Date: Wed Jan 14 01:58:41 2009 +0300
include: Add ctxtcall.idl file with IContextCallback interface definition.
---
.gitignore | 1 + dlls/uuid/uuid.c | 1 + include/Makefile.in | 1 + include/ctxtcall.idl | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 52 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore index 531c2fc..4b61b4d 100644 --- a/.gitignore +++ b/.gitignore @@ -142,6 +142,7 @@ include/bits1_5.h include/comcat.h include/config.h include/control.h +include/ctxtcall.h include/d3d10.h include/ddstream.h include/dimm.h diff --git a/dlls/uuid/uuid.c b/dlls/uuid/uuid.c index ecac265..94f345e 100644 --- a/dlls/uuid/uuid.c +++ b/dlls/uuid/uuid.c @@ -41,6 +41,7 @@ DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0); #include "olectl.h"
#include "ocidl.h" +#include "ctxtcall.h"
#include "docobj.h" #include "exdisp.h" diff --git a/include/Makefile.in b/include/Makefile.in index 09d7b3c..2a990c0 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -18,6 +18,7 @@ PUBLIC_IDL_H_SRCS = \ bits1_5.idl \ comcat.idl \ control.idl \ + ctxtcall.idl \ d3d10.idl \ ddstream.idl \ dimm.idl \ diff --git a/include/ctxtcall.idl b/include/ctxtcall.idl new file mode 100644 index 0000000..f07dc1b --- /dev/null +++ b/include/ctxtcall.idl @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2008 Louis Lenders + * + * 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 + */ + +import "wtypes.idl"; +import "objidl.idl"; +import "unknwn.idl"; + +typedef struct tagComCallData +{ + DWORD dwDispid; + DWORD dwReserved; + void *pUserDefined; +} ComCallData; + +/*************************************************************************** + * IContextCallback + */ +[ + local, + object, + uuid(000001da-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IContextCallback : IUnknown +{ + typedef HRESULT (__stdcall *PFNCONTEXTCALL)(ComCallData *pParam); + + HRESULT ContextCallback( + [in] PFNCONTEXTCALL pCallback, + [in] ComCallData *pParam, + [in] REFIID riid, + [in] int iMethod, + [in] IUnknown *pUnk); +}