source: trunk/include/win/wine/obj_surrogate.h

Last change on this file was 21916, checked in by dmik, 14 years ago

Merge branch gcc-kmk to trunk.

File size: 1.3 KB
Line 
1/* $Id: obj_surrogate.h,v 1.2 1999-08-22 22:52:11 sandervl Exp $ */
2/*
3 * Defines surrogate COM Interface
4 */
5
6#ifndef __WINE_WINE_OBJ_SURROGATE_H
7#define __WINE_WINE_OBJ_SURROGATE_H
8
9#include "wine/obj_base.h"
10
11
12/*****************************************************************************
13* Predeclare the interfaces
14*/
15DEFINE_OLEGUID(IID_ISurrogate, 0x00000046L, 0, 0);
16typedef struct ISurrogate ISurrogate,*LPSURROGATE;
17
18/*****************************************************************************
19 * ISurrogate interface
20 */
21#define ICOM_INTERFACE ISurrogate
22#define ISurrogate_METHODS \
23 ICOM_METHOD1(HRESULT,LoadDllServer, REFCLSID,rclsid) \
24 ICOM_METHOD (HRESULT,FreeSurrogate)
25#define ISurrogate_IMETHODS \
26 IUnknown_IMETHODS \
27 ISurrogate_METHODS
28ICOM_DEFINE(ISurrogate,IUnknown)
29#undef ICOM_INTERFACE
30
31#ifdef ICOM_CINTERFACE
32/*** IUnknown methods ***/
33#define ISurrogate_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
34#define ISurrogate_AddRef(p) ICOM_CALL (AddRef,p)
35#define ISurrogate_Release(p) ICOM_CALL (Release,p)
36
37/*** ISurrogate methods ***/
38#define ISurrogate_LoadDllServer(p,a) ICOM_CALL1(LoadDllServer,p,a)
39#define ISurrogate_FreeSurrogate(p) ICOM_CALL (Reset,p)
40
41#endif
42
43HRESULT WIN32API CoRegisterSurrogate(LPSURROGATE pSurrogate);
44
45
46#endif // __WINE_WINE_OBJ_SURROGATE_H
47
48
Note: See TracBrowser for help on using the repository browser.