DEADSOFTWARE

new -> BlackBox
[bbcp.git] / BlackBox / _Windows_GUI / Com / Interfaces / Lookup / Lookup.h
1 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
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*/
15 #ifndef __Lookup_h__
16 #define __Lookup_h__
18 #ifdef __cplusplus
19 extern "C"{
20 #endif
22 /* Forward Declarations */
24 #ifndef __ILookup_FWD_DEFINED__
25 #define __ILookup_FWD_DEFINED__
26 typedef interface ILookup ILookup;
27 #endif /* __ILookup_FWD_DEFINED__ */
30 /* header files for imported files */
31 #include "unknwn.h"
33 void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
34 void __RPC_USER MIDL_user_free( void __RPC_FAR * );
36 #ifndef __ILookup_INTERFACE_DEFINED__
37 #define __ILookup_INTERFACE_DEFINED__
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] */
48 EXTERN_C const IID IID_ILookup;
50 #if defined(__cplusplus) && !defined(CINTERFACE)
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;
59 virtual HRESULT __stdcall LookupByNumber(
60 /* [in] */ LPSTR lpNumber,
61 /* [string][out] */ WCHAR __RPC_FAR *__RPC_FAR *lplpName) = 0;
63 };
65 #else /* C style interface */
67 typedef struct ILookupVtbl
68 {
70 HRESULT ( __stdcall __RPC_FAR *QueryInterface )(
71 ILookup __RPC_FAR * This,
72 /* [in] */ REFIID riid,
73 /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
75 ULONG ( __stdcall __RPC_FAR *AddRef )(
76 ILookup __RPC_FAR * This);
78 ULONG ( __stdcall __RPC_FAR *Release )(
79 ILookup __RPC_FAR * This);
81 HRESULT ( __stdcall __RPC_FAR *LookupByName )(
82 ILookup __RPC_FAR * This,
83 /* [in] */ LPTSTR lpName,
84 /* [string][out] */ WCHAR __RPC_FAR *__RPC_FAR *lplpNumber);
86 HRESULT ( __stdcall __RPC_FAR *LookupByNumber )(
87 ILookup __RPC_FAR * This,
88 /* [in] */ LPSTR lpNumber,
89 /* [string][out] */ WCHAR __RPC_FAR *__RPC_FAR *lplpName);
91 } ILookupVtbl;
93 interface ILookup
94 {
95 CONST_VTBL struct ILookupVtbl __RPC_FAR *lpVtbl;
96 };
100 #ifdef COBJMACROS
103 #define ILookup_QueryInterface(This,riid,ppvObject) \
104 (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
106 #define ILookup_AddRef(This) \
107 (This)->lpVtbl -> AddRef(This)
109 #define ILookup_Release(This) \
110 (This)->lpVtbl -> Release(This)
113 #define ILookup_LookupByName(This,lpName,lplpNumber) \
114 (This)->lpVtbl -> LookupByName(This,lpName,lplpNumber)
116 #define ILookup_LookupByNumber(This,lpNumber,lplpName) \
117 (This)->lpVtbl -> LookupByNumber(This,lpNumber,lplpName)
119 #endif /* COBJMACROS */
122 #endif /* C style interface */
126 HRESULT __stdcall ILookup_LookupByName_Proxy(
127 ILookup __RPC_FAR * This,
128 /* [in] */ LPTSTR lpName,
129 /* [string][out] */ WCHAR __RPC_FAR *__RPC_FAR *lplpNumber);
132 void __RPC_STUB ILookup_LookupByName_Stub(
133 IRpcStubBuffer *This,
134 IRpcChannelBuffer *_pRpcChannelBuffer,
135 PRPC_MESSAGE _pRpcMessage,
136 DWORD *_pdwStubPhase);
139 HRESULT __stdcall ILookup_LookupByNumber_Proxy(
140 ILookup __RPC_FAR * This,
141 /* [in] */ LPSTR lpNumber,
142 /* [string][out] */ WCHAR __RPC_FAR *__RPC_FAR *lplpName);
145 void __RPC_STUB ILookup_LookupByNumber_Stub(
146 IRpcStubBuffer *This,
147 IRpcChannelBuffer *_pRpcChannelBuffer,
148 PRPC_MESSAGE _pRpcMessage,
149 DWORD *_pdwStubPhase);
153 #endif /* __ILookup_INTERFACE_DEFINED__ */
156 /* Additional Prototypes for ALL interfaces */
158 /* end of Additional Prototypes */
160 #ifdef __cplusplus
162 #endif
164 #endif