DEADSOFTWARE

9ae5bf242e24b6035d507acd6b645e45ba60a6ff
[bbcp.git] / new / _Windows_GUI / Com / Interfaces / Lookup / Lookup.h
1 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
2
3
4 /* File created by MIDL compiler version 2.00.0102 */
5 /* at Wed Oct 30 17:25:28 1996
6 */
7 //@@MIDL_FILE_HEADING( )
8 #include "rpc.h"
9 #include "rpcndr.h"
10 #ifndef COM_NO_WINDOWS_H
11 #include "windows.h"
12 #include "ole2.h"
13 #endif /*COM_NO_WINDOWS_H*/
14
15 #ifndef __Lookup_h__
16 #define __Lookup_h__
17
18 #ifdef __cplusplus
19 extern "C"{
20 #endif
21
22 /* Forward Declarations */
23
24 #ifndef __ILookup_FWD_DEFINED__
25 #define __ILookup_FWD_DEFINED__
26 typedef interface ILookup ILookup;
27 #endif /* __ILookup_FWD_DEFINED__ */
28
29
30 /* header files for imported files */
31 #include "unknwn.h"
32
33 void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
34 void __RPC_USER MIDL_user_free( void __RPC_FAR * );
35
36 #ifndef __ILookup_INTERFACE_DEFINED__
37 #define __ILookup_INTERFACE_DEFINED__
38
39 /****************************************
40 * Generated header for interface: ILookup
41 * at Wed Oct 30 17:25:28 1996
42 * using MIDL 2.00.0102
43 ****************************************/
44 /* [unique][uuid][object] */
45
46
47
48 EXTERN_C const IID IID_ILookup;
49
50 #if defined(__cplusplus) && !defined(CINTERFACE)
51
52 interface ILookup : public IUnknown
53 {
54 public:
55 virtual HRESULT __stdcall LookupByName(
56 /* [in] */ LPTSTR lpName,
57 /* [string][out] */ WCHAR __RPC_FAR *__RPC_FAR *lplpNumber) = 0;
58
59 virtual HRESULT __stdcall LookupByNumber(
60 /* [in] */ LPSTR lpNumber,
61 /* [string][out] */ WCHAR __RPC_FAR *__RPC_FAR *lplpName) = 0;
62
63 };
64
65 #else /* C style interface */
66
67 typedef struct ILookupVtbl
68 {
69
70 HRESULT ( __stdcall __RPC_FAR *QueryInterface )(
71 ILookup __RPC_FAR * This,
72 /* [in] */ REFIID riid,
73 /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
74
75 ULONG ( __stdcall __RPC_FAR *AddRef )(
76 ILookup __RPC_FAR * This);
77
78 ULONG ( __stdcall __RPC_FAR *Release )(
79 ILookup __RPC_FAR * This);
80
81 HRESULT ( __stdcall __RPC_FAR *LookupByName )(
82 ILookup __RPC_FAR * This,
83 /* [in] */ LPTSTR lpName,
84 /* [string][out] */ WCHAR __RPC_FAR *__RPC_FAR *lplpNumber);
85
86 HRESULT ( __stdcall __RPC_FAR *LookupByNumber )(
87 ILookup __RPC_FAR * This,
88 /* [in] */ LPSTR lpNumber,
89 /* [string][out] */ WCHAR __RPC_FAR *__RPC_FAR *lplpName);
90
91 } ILookupVtbl;
92
93 interface ILookup
94 {
95 CONST_VTBL struct ILookupVtbl __RPC_FAR *lpVtbl;
96 };
97
98
99
100 #ifdef COBJMACROS
101
102
103 #define ILookup_QueryInterface(This,riid,ppvObject) \
104 (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
105
106 #define ILookup_AddRef(This) \
107 (This)->lpVtbl -> AddRef(This)
108
109 #define ILookup_Release(This) \
110 (This)->lpVtbl -> Release(This)
111
112
113 #define ILookup_LookupByName(This,lpName,lplpNumber) \
114 (This)->lpVtbl -> LookupByName(This,lpName,lplpNumber)
115
116 #define ILookup_LookupByNumber(This,lpNumber,lplpName) \
117 (This)->lpVtbl -> LookupByNumber(This,lpNumber,lplpName)
118
119 #endif /* COBJMACROS */
120
121
122 #endif /* C style interface */
123
124
125
126 HRESULT __stdcall ILookup_LookupByName_Proxy(
127 ILookup __RPC_FAR * This,
128 /* [in] */ LPTSTR lpName,
129 /* [string][out] */ WCHAR __RPC_FAR *__RPC_FAR *lplpNumber);
130
131
132 void __RPC_STUB ILookup_LookupByName_Stub(
133 IRpcStubBuffer *This,
134 IRpcChannelBuffer *_pRpcChannelBuffer,
135 PRPC_MESSAGE _pRpcMessage,
136 DWORD *_pdwStubPhase);
137
138
139 HRESULT __stdcall ILookup_LookupByNumber_Proxy(
140 ILookup __RPC_FAR * This,
141 /* [in] */ LPSTR lpNumber,
142 /* [string][out] */ WCHAR __RPC_FAR *__RPC_FAR *lplpName);
143
144
145 void __RPC_STUB ILookup_LookupByNumber_Stub(
146 IRpcStubBuffer *This,
147 IRpcChannelBuffer *_pRpcChannelBuffer,
148 PRPC_MESSAGE _pRpcMessage,
149 DWORD *_pdwStubPhase);
150
151
152
153 #endif /* __ILookup_INTERFACE_DEFINED__ */
154
155
156 /* Additional Prototypes for ALL interfaces */
157
158 /* end of Additional Prototypes */
159
160 #ifdef __cplusplus
161 }
162 #endif
163
164 #endif