Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

274 lines
8.1 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 5.02.0221 */
  4. /* at Mon Feb 01 11:34:11 1999
  5. */
  6. /* Compiler settings for keyocx.idl:
  7. Oicf (OptLev=i2), W1, Zp8, env=Win32 (32b run), ms_ext, c_ext, robust
  8. error checks: allocation ref bounds_check enum stub_data
  9. VC __declspec() decoration level:
  10. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  11. DECLSPEC_UUID(), MIDL_INTERFACE()
  12. */
  13. //@@MIDL_FILE_HEADING( )
  14. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  15. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  16. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  17. #endif
  18. #include "rpc.h"
  19. #include "rpcndr.h"
  20. #ifndef __RPCNDR_H_VERSION__
  21. #error this stub requires an updated version of <rpcndr.h>
  22. #endif // __RPCNDR_H_VERSION__
  23. #ifndef COM_NO_WINDOWS_H
  24. #include "windows.h"
  25. #include "ole2.h"
  26. #endif /*COM_NO_WINDOWS_H*/
  27. #ifndef __keyocx_h__
  28. #define __keyocx_h__
  29. /* Forward Declarations */
  30. #ifndef __IKeyocxCtrl_FWD_DEFINED__
  31. #define __IKeyocxCtrl_FWD_DEFINED__
  32. typedef interface IKeyocxCtrl IKeyocxCtrl;
  33. #endif /* __IKeyocxCtrl_FWD_DEFINED__ */
  34. #ifndef __KeyocxCtrl_FWD_DEFINED__
  35. #define __KeyocxCtrl_FWD_DEFINED__
  36. #ifdef __cplusplus
  37. typedef class KeyocxCtrl KeyocxCtrl;
  38. #else
  39. typedef struct KeyocxCtrl KeyocxCtrl;
  40. #endif /* __cplusplus */
  41. #endif /* __KeyocxCtrl_FWD_DEFINED__ */
  42. /* header files for imported files */
  43. #include "oaidl.h"
  44. #include "ocidl.h"
  45. #ifdef __cplusplus
  46. extern "C"{
  47. #endif
  48. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  49. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  50. /* interface __MIDL_itf_keyocx_0000 */
  51. /* [local] */
  52. #pragma once
  53. extern RPC_IF_HANDLE __MIDL_itf_keyocx_0000_v0_0_c_ifspec;
  54. extern RPC_IF_HANDLE __MIDL_itf_keyocx_0000_v0_0_s_ifspec;
  55. #ifndef __IKeyocxCtrl_INTERFACE_DEFINED__
  56. #define __IKeyocxCtrl_INTERFACE_DEFINED__
  57. /* interface IKeyocxCtrl */
  58. /* [unique][helpstring][dual][uuid][object] */
  59. EXTERN_C const IID IID_IKeyocxCtrl;
  60. #if defined(__cplusplus) && !defined(CINTERFACE)
  61. MIDL_INTERFACE("48D17197-32CF-11D2-A337-00C04FD7C1FC")
  62. IKeyocxCtrl : public IDispatch
  63. {
  64. public:
  65. virtual /* [id] */ HRESULT STDMETHODCALLTYPE CorpKeycode(
  66. /* [in] */ BSTR bstrBaseKey,
  67. /* [retval][out] */ BSTR __RPC_FAR *bstrKeycode) = 0;
  68. virtual /* [id] */ HRESULT STDMETHODCALLTYPE ISPKeycode(
  69. /* [in] */ BSTR bstrBaseKey,
  70. /* [retval][out] */ BSTR __RPC_FAR *bstrKeycode) = 0;
  71. };
  72. #else /* C style interface */
  73. typedef struct IKeyocxCtrlVtbl
  74. {
  75. BEGIN_INTERFACE
  76. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  77. IKeyocxCtrl __RPC_FAR * This,
  78. /* [in] */ REFIID riid,
  79. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  80. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  81. IKeyocxCtrl __RPC_FAR * This);
  82. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  83. IKeyocxCtrl __RPC_FAR * This);
  84. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  85. IKeyocxCtrl __RPC_FAR * This,
  86. /* [out] */ UINT __RPC_FAR *pctinfo);
  87. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  88. IKeyocxCtrl __RPC_FAR * This,
  89. /* [in] */ UINT iTInfo,
  90. /* [in] */ LCID lcid,
  91. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  92. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  93. IKeyocxCtrl __RPC_FAR * This,
  94. /* [in] */ REFIID riid,
  95. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  96. /* [in] */ UINT cNames,
  97. /* [in] */ LCID lcid,
  98. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  99. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  100. IKeyocxCtrl __RPC_FAR * This,
  101. /* [in] */ DISPID dispIdMember,
  102. /* [in] */ REFIID riid,
  103. /* [in] */ LCID lcid,
  104. /* [in] */ WORD wFlags,
  105. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  106. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  107. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  108. /* [out] */ UINT __RPC_FAR *puArgErr);
  109. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CorpKeycode )(
  110. IKeyocxCtrl __RPC_FAR * This,
  111. /* [in] */ BSTR bstrBaseKey,
  112. /* [retval][out] */ BSTR __RPC_FAR *bstrKeycode);
  113. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ISPKeycode )(
  114. IKeyocxCtrl __RPC_FAR * This,
  115. /* [in] */ BSTR bstrBaseKey,
  116. /* [retval][out] */ BSTR __RPC_FAR *bstrKeycode);
  117. END_INTERFACE
  118. } IKeyocxCtrlVtbl;
  119. interface IKeyocxCtrl
  120. {
  121. CONST_VTBL struct IKeyocxCtrlVtbl __RPC_FAR *lpVtbl;
  122. };
  123. #ifdef COBJMACROS
  124. #define IKeyocxCtrl_QueryInterface(This,riid,ppvObject) \
  125. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  126. #define IKeyocxCtrl_AddRef(This) \
  127. (This)->lpVtbl -> AddRef(This)
  128. #define IKeyocxCtrl_Release(This) \
  129. (This)->lpVtbl -> Release(This)
  130. #define IKeyocxCtrl_GetTypeInfoCount(This,pctinfo) \
  131. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  132. #define IKeyocxCtrl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  133. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  134. #define IKeyocxCtrl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  135. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  136. #define IKeyocxCtrl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  137. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  138. #define IKeyocxCtrl_CorpKeycode(This,bstrBaseKey,bstrKeycode) \
  139. (This)->lpVtbl -> CorpKeycode(This,bstrBaseKey,bstrKeycode)
  140. #define IKeyocxCtrl_ISPKeycode(This,bstrBaseKey,bstrKeycode) \
  141. (This)->lpVtbl -> ISPKeycode(This,bstrBaseKey,bstrKeycode)
  142. #endif /* COBJMACROS */
  143. #endif /* C style interface */
  144. /* [id] */ HRESULT STDMETHODCALLTYPE IKeyocxCtrl_CorpKeycode_Proxy(
  145. IKeyocxCtrl __RPC_FAR * This,
  146. /* [in] */ BSTR bstrBaseKey,
  147. /* [retval][out] */ BSTR __RPC_FAR *bstrKeycode);
  148. void __RPC_STUB IKeyocxCtrl_CorpKeycode_Stub(
  149. IRpcStubBuffer *This,
  150. IRpcChannelBuffer *_pRpcChannelBuffer,
  151. PRPC_MESSAGE _pRpcMessage,
  152. DWORD *_pdwStubPhase);
  153. /* [id] */ HRESULT STDMETHODCALLTYPE IKeyocxCtrl_ISPKeycode_Proxy(
  154. IKeyocxCtrl __RPC_FAR * This,
  155. /* [in] */ BSTR bstrBaseKey,
  156. /* [retval][out] */ BSTR __RPC_FAR *bstrKeycode);
  157. void __RPC_STUB IKeyocxCtrl_ISPKeycode_Stub(
  158. IRpcStubBuffer *This,
  159. IRpcChannelBuffer *_pRpcChannelBuffer,
  160. PRPC_MESSAGE _pRpcMessage,
  161. DWORD *_pdwStubPhase);
  162. #endif /* __IKeyocxCtrl_INTERFACE_DEFINED__ */
  163. #ifndef __KEYOCXLib_LIBRARY_DEFINED__
  164. #define __KEYOCXLib_LIBRARY_DEFINED__
  165. /* library KEYOCXLib */
  166. /* [helpstring][version][uuid] */
  167. EXTERN_C const IID LIBID_KEYOCXLib;
  168. EXTERN_C const CLSID CLSID_KeyocxCtrl;
  169. #ifdef __cplusplus
  170. class DECLSPEC_UUID("8D3032AF-2CBA-11D2-8277-00104BC7DE21")
  171. KeyocxCtrl;
  172. #endif
  173. #endif /* __KEYOCXLib_LIBRARY_DEFINED__ */
  174. /* Additional Prototypes for ALL interfaces */
  175. unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
  176. unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  177. unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  178. void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
  179. /* end of Additional Prototypes */
  180. #ifdef __cplusplus
  181. }
  182. #endif
  183. #endif