windows-nt/Source/XPSP1/NT/public/sdk/inc/ctxtcall.idl

50 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
//+-------------------------------------------------------------------
//
// File: ctxtcall.idl
//
// Contents: Public Context interfaces
//
// History: 04-Dec-97 Created
//
//--------------------------------------------------------------------
cpp_quote("//+-----------------------------------------------------------------")
cpp_quote("//")
cpp_quote("// Microsoft Windows")
cpp_quote("// Copyright (c) Microsoft Corporation. All rights reserved.")
cpp_quote("//")
cpp_quote("//------------------------------------------------------------------")
import "wtypes.idl";
import "objidl.idl";
import "unknwn.idl";
// ComCallData used with IContextCallback::ContextCallback
typedef struct tagComCallData {
DWORD dwDispid;
DWORD dwReserved;
void *pUserDefined;
} ComCallData;
// IContextCallback interface
[
local,
object,
uuid(000001da-0000-0000-C000-000000000046),
pointer_default(unique)
]
interface IContextCallback : IUnknown
{
typedef [ref] HRESULT __stdcall (*PFNCONTEXTCALL)(ComCallData* pParam);
HRESULT ContextCallback([in] PFNCONTEXTCALL pfnCallback,
[in] ComCallData *pParam,
[in] REFIID riid,
[in] int iMethod,
[in] IUnknown *pUnk);
}