Lookup.h 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 2.00.0102 */
  3. /* at Wed Oct 30 17:25:28 1996
  4. */
  5. //@@MIDL_FILE_HEADING( )
  6. #include "rpc.h"
  7. #include "rpcndr.h"
  8. #ifndef COM_NO_WINDOWS_H
  9. #include "windows.h"
  10. #include "ole2.h"
  11. #endif /*COM_NO_WINDOWS_H*/
  12. #ifndef __Lookup_h__
  13. #define __Lookup_h__
  14. #ifdef __cplusplus
  15. extern "C"{
  16. #endif
  17. /* Forward Declarations */
  18. #ifndef __ILookup_FWD_DEFINED__
  19. #define __ILookup_FWD_DEFINED__
  20. typedef interface ILookup ILookup;
  21. #endif /* __ILookup_FWD_DEFINED__ */
  22. /* header files for imported files */
  23. #include "unknwn.h"
  24. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  25. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  26. #ifndef __ILookup_INTERFACE_DEFINED__
  27. #define __ILookup_INTERFACE_DEFINED__
  28. /****************************************
  29. * Generated header for interface: ILookup
  30. * at Wed Oct 30 17:25:28 1996
  31. * using MIDL 2.00.0102
  32. ****************************************/
  33. /* [unique][uuid][object] */
  34. EXTERN_C const IID IID_ILookup;
  35. #if defined(__cplusplus) && !defined(CINTERFACE)
  36. interface ILookup : public IUnknown
  37. {
  38. public:
  39. virtual HRESULT __stdcall LookupByName(
  40. /* [in] */ LPTSTR lpName,
  41. /* [string][out] */ WCHAR __RPC_FAR *__RPC_FAR *lplpNumber) = 0;
  42. virtual HRESULT __stdcall LookupByNumber(
  43. /* [in] */ LPSTR lpNumber,
  44. /* [string][out] */ WCHAR __RPC_FAR *__RPC_FAR *lplpName) = 0;
  45. };
  46. #else /* C style interface */
  47. typedef struct ILookupVtbl
  48. {
  49. HRESULT ( __stdcall __RPC_FAR *QueryInterface )(
  50. ILookup __RPC_FAR * This,
  51. /* [in] */ REFIID riid,
  52. /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  53. ULONG ( __stdcall __RPC_FAR *AddRef )(
  54. ILookup __RPC_FAR * This);
  55. ULONG ( __stdcall __RPC_FAR *Release )(
  56. ILookup __RPC_FAR * This);
  57. HRESULT ( __stdcall __RPC_FAR *LookupByName )(
  58. ILookup __RPC_FAR * This,
  59. /* [in] */ LPTSTR lpName,
  60. /* [string][out] */ WCHAR __RPC_FAR *__RPC_FAR *lplpNumber);
  61. HRESULT ( __stdcall __RPC_FAR *LookupByNumber )(
  62. ILookup __RPC_FAR * This,
  63. /* [in] */ LPSTR lpNumber,
  64. /* [string][out] */ WCHAR __RPC_FAR *__RPC_FAR *lplpName);
  65. } ILookupVtbl;
  66. interface ILookup
  67. {
  68. CONST_VTBL struct ILookupVtbl __RPC_FAR *lpVtbl;
  69. };
  70. #ifdef COBJMACROS
  71. #define ILookup_QueryInterface(This,riid,ppvObject) \
  72. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  73. #define ILookup_AddRef(This) \
  74. (This)->lpVtbl -> AddRef(This)
  75. #define ILookup_Release(This) \
  76. (This)->lpVtbl -> Release(This)
  77. #define ILookup_LookupByName(This,lpName,lplpNumber) \
  78. (This)->lpVtbl -> LookupByName(This,lpName,lplpNumber)
  79. #define ILookup_LookupByNumber(This,lpNumber,lplpName) \
  80. (This)->lpVtbl -> LookupByNumber(This,lpNumber,lplpName)
  81. #endif /* COBJMACROS */
  82. #endif /* C style interface */
  83. HRESULT __stdcall ILookup_LookupByName_Proxy(
  84. ILookup __RPC_FAR * This,
  85. /* [in] */ LPTSTR lpName,
  86. /* [string][out] */ WCHAR __RPC_FAR *__RPC_FAR *lplpNumber);
  87. void __RPC_STUB ILookup_LookupByName_Stub(
  88. IRpcStubBuffer *This,
  89. IRpcChannelBuffer *_pRpcChannelBuffer,
  90. PRPC_MESSAGE _pRpcMessage,
  91. DWORD *_pdwStubPhase);
  92. HRESULT __stdcall ILookup_LookupByNumber_Proxy(
  93. ILookup __RPC_FAR * This,
  94. /* [in] */ LPSTR lpNumber,
  95. /* [string][out] */ WCHAR __RPC_FAR *__RPC_FAR *lplpName);
  96. void __RPC_STUB ILookup_LookupByNumber_Stub(
  97. IRpcStubBuffer *This,
  98. IRpcChannelBuffer *_pRpcChannelBuffer,
  99. PRPC_MESSAGE _pRpcMessage,
  100. DWORD *_pdwStubPhase);
  101. #endif /* __ILookup_INTERFACE_DEFINED__ */
  102. /* Additional Prototypes for ALL interfaces */
  103. /* end of Additional Prototypes */
  104. #ifdef __cplusplus
  105. }
  106. #endif
  107. #endif