include: Add ctxtcall.idl file with IContextCallback interface definition.

This commit is contained in:
Andrey Turkin 2009-01-14 01:58:41 +03:00 committed by Alexandre Julliard
parent a28052ab8a
commit aa8f008952
4 changed files with 52 additions and 0 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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"

View File

@ -18,6 +18,7 @@ PUBLIC_IDL_H_SRCS = \
bits1_5.idl \
comcat.idl \
control.idl \
ctxtcall.idl \
d3d10.idl \
ddstream.idl \
dimm.idl \

49
include/ctxtcall.idl Normal file
View File

@ -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);
}