Authors: Albert Den Haan <albertd@corel.ca>, Adrian Thurston <athursto@corel.ca>...
[wine] / include / wine / obj_clientserver.h
1 /*
2  * Defines the COM interfaces and APIs related to client/server aspects.
3  *
4  * Depends on 'obj_base.h'.
5  */
6
7 #ifndef __WINE_WINE_OBJ_CLIENTSERVER_H
8 #define __WINE_WINE_OBJ_CLIENTSERVER_H
9
10
11 /*****************************************************************************
12  * Predeclare the interfaces
13  */
14 DEFINE_OLEGUID(IID_IClientSecurity,     0x0000013dL, 0, 0);
15 typedef struct IClientSecurity IClientSecurity,*LPCLIENTSECURITY;
16
17 DEFINE_OLEGUID(IID_IExternalConnection, 0x00000019L, 0, 0);
18 typedef struct IExternalConnection IExternalConnection,*LPEXTERNALCONNECTION;
19
20 DEFINE_OLEGUID(IID_IMessageFilter,      0x00000016L, 0, 0);
21 typedef struct IMessageFilter IMessageFilter,*LPMESSAGEFILTER;
22
23 DEFINE_OLEGUID(IID_IServerSecurity,     0x0000013eL, 0, 0);
24 typedef struct IServerSecurity IServerSecurity,*LPSERVERSECURITY;
25
26
27 /*****************************************************************************
28  * IClientSecurity interface
29  */
30 /* FIXME: not implemented */
31
32
33 /*****************************************************************************
34  * IExternalConnection interface
35  */
36 /* FIXME: not implemented */
37
38 HRESULT WINAPI CoDisconnectObject(LPUNKNOWN lpUnk, DWORD reserved);
39
40
41 /*****************************************************************************
42  * IMessageFilter interface
43  */
44 /* FIXME: not implemented */
45 #define ICOM_INTERFACE IMessageFilter
46 ICOM_BEGIN(IMessageFilter, IUnknown)
47 ICOM_END(IMessageFilter)
48 #undef ICOM_INTERFACE
49
50
51
52 HRESULT WINAPI CoRegisterMessageFilter16(LPMESSAGEFILTER lpMessageFilter,LPMESSAGEFILTER *lplpMessageFilter);
53 HRESULT WINAPI CoRegisterMessageFilter32(LPMESSAGEFILTER lpMessageFilter,LPMESSAGEFILTER *lplpMessageFilter);
54 #define CoRegisterMessageFilter WINELIB_NAME(CoRegisterMessageFilter)
55
56
57 /*****************************************************************************
58  * IServerSecurity interface
59  */
60 /* FIXME: not implemented */
61
62
63 #endif /* __WINE_WINE_OBJ_CLIENTSERVER_H */