From f08cc7b21077012b8142b625f6e02355ec390396 Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Sun, 18 Jan 2009 17:14:54 +0000 Subject: [PATCH] add ctxtcall.idl from wine svn path=/trunk/; revision=38900 --- reactos/include/psdk/ctxtcall.idl | 49 +++++++++++++++++++++++++++++++ reactos/include/psdk/psdk.rbuild | 1 + 2 files changed, 50 insertions(+) create mode 100644 reactos/include/psdk/ctxtcall.idl diff --git a/reactos/include/psdk/ctxtcall.idl b/reactos/include/psdk/ctxtcall.idl new file mode 100644 index 00000000000..f07dc1bb79e --- /dev/null +++ b/reactos/include/psdk/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); +} diff --git a/reactos/include/psdk/psdk.rbuild b/reactos/include/psdk/psdk.rbuild index d9f642a7963..d08e3c8f287 100644 --- a/reactos/include/psdk/psdk.rbuild +++ b/reactos/include/psdk/psdk.rbuild @@ -5,6 +5,7 @@ activdbg.idl activscp.idl control.idl + ctxtcall.idl dimm.idl dispex.idl docobj.idl