Source code of Windows XP (NT5)
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.

301 lines
9.2 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 6.00.0347 */
  4. /* Compiler settings for safsessionresolver.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, robust
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __safsessionresolver_h__
  27. #define __safsessionresolver_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ISAFRemoteDesktopCallback_FWD_DEFINED__
  33. #define __ISAFRemoteDesktopCallback_FWD_DEFINED__
  34. typedef interface ISAFRemoteDesktopCallback ISAFRemoteDesktopCallback;
  35. #endif /* __ISAFRemoteDesktopCallback_FWD_DEFINED__ */
  36. #ifndef __SessionResolver_FWD_DEFINED__
  37. #define __SessionResolver_FWD_DEFINED__
  38. #ifdef __cplusplus
  39. typedef class SessionResolver SessionResolver;
  40. #else
  41. typedef struct SessionResolver SessionResolver;
  42. #endif /* __cplusplus */
  43. #endif /* __SessionResolver_FWD_DEFINED__ */
  44. /* header files for imported files */
  45. #include "oaidl.h"
  46. #include "ocidl.h"
  47. #ifdef __cplusplus
  48. extern "C"{
  49. #endif
  50. void * __RPC_USER MIDL_user_allocate(size_t);
  51. void __RPC_USER MIDL_user_free( void * );
  52. /* interface __MIDL_itf_safsessionresolver_0000 */
  53. /* [local] */
  54. #define DISPID_RDSCALLBACK_RESOLVEUSERSESSIONID 1
  55. #define DISPID_RDSCALLBACK_ONDISCONNECT 2
  56. extern RPC_IF_HANDLE __MIDL_itf_safsessionresolver_0000_v0_0_c_ifspec;
  57. extern RPC_IF_HANDLE __MIDL_itf_safsessionresolver_0000_v0_0_s_ifspec;
  58. #ifndef __ISAFRemoteDesktopCallback_INTERFACE_DEFINED__
  59. #define __ISAFRemoteDesktopCallback_INTERFACE_DEFINED__
  60. /* interface ISAFRemoteDesktopCallback */
  61. /* [unique][helpstring][dual][uuid][object] */
  62. EXTERN_C const IID IID_ISAFRemoteDesktopCallback;
  63. #if defined(__cplusplus) && !defined(CINTERFACE)
  64. MIDL_INTERFACE("A39442C2-10A5-4805-BE54-5E6BA334DC29")
  65. ISAFRemoteDesktopCallback : public IDispatch
  66. {
  67. public:
  68. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ResolveUserSessionID(
  69. /* [in] */ BSTR connectParms,
  70. /* [in] */ BSTR userSID,
  71. /* [in] */ BSTR expertHelpBlob,
  72. /* [in] */ BSTR userHelpBlob,
  73. /* [out] */ long *sessionID,
  74. /* [in] */ DWORD dwPID,
  75. /* [out] */ ULONG_PTR *hHelpCtr,
  76. /* [retval][out] */ int *userResponse) = 0;
  77. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnDisconnect(
  78. /* [in] */ BSTR connectParms,
  79. /* [in] */ BSTR userSID,
  80. /* [in] */ long sessionID) = 0;
  81. };
  82. #else /* C style interface */
  83. typedef struct ISAFRemoteDesktopCallbackVtbl
  84. {
  85. BEGIN_INTERFACE
  86. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  87. ISAFRemoteDesktopCallback * This,
  88. /* [in] */ REFIID riid,
  89. /* [iid_is][out] */ void **ppvObject);
  90. ULONG ( STDMETHODCALLTYPE *AddRef )(
  91. ISAFRemoteDesktopCallback * This);
  92. ULONG ( STDMETHODCALLTYPE *Release )(
  93. ISAFRemoteDesktopCallback * This);
  94. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  95. ISAFRemoteDesktopCallback * This,
  96. /* [out] */ UINT *pctinfo);
  97. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  98. ISAFRemoteDesktopCallback * This,
  99. /* [in] */ UINT iTInfo,
  100. /* [in] */ LCID lcid,
  101. /* [out] */ ITypeInfo **ppTInfo);
  102. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  103. ISAFRemoteDesktopCallback * This,
  104. /* [in] */ REFIID riid,
  105. /* [size_is][in] */ LPOLESTR *rgszNames,
  106. /* [in] */ UINT cNames,
  107. /* [in] */ LCID lcid,
  108. /* [size_is][out] */ DISPID *rgDispId);
  109. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  110. ISAFRemoteDesktopCallback * This,
  111. /* [in] */ DISPID dispIdMember,
  112. /* [in] */ REFIID riid,
  113. /* [in] */ LCID lcid,
  114. /* [in] */ WORD wFlags,
  115. /* [out][in] */ DISPPARAMS *pDispParams,
  116. /* [out] */ VARIANT *pVarResult,
  117. /* [out] */ EXCEPINFO *pExcepInfo,
  118. /* [out] */ UINT *puArgErr);
  119. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ResolveUserSessionID )(
  120. ISAFRemoteDesktopCallback * This,
  121. /* [in] */ BSTR connectParms,
  122. /* [in] */ BSTR userSID,
  123. /* [in] */ BSTR expertHelpBlob,
  124. /* [in] */ BSTR userHelpBlob,
  125. /* [out] */ long *sessionID,
  126. /* [in] */ DWORD dwPID,
  127. /* [out] */ ULONG_PTR *hHelpCtr,
  128. /* [retval][out] */ int *userResponse);
  129. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnDisconnect )(
  130. ISAFRemoteDesktopCallback * This,
  131. /* [in] */ BSTR connectParms,
  132. /* [in] */ BSTR userSID,
  133. /* [in] */ long sessionID);
  134. END_INTERFACE
  135. } ISAFRemoteDesktopCallbackVtbl;
  136. interface ISAFRemoteDesktopCallback
  137. {
  138. CONST_VTBL struct ISAFRemoteDesktopCallbackVtbl *lpVtbl;
  139. };
  140. #ifdef COBJMACROS
  141. #define ISAFRemoteDesktopCallback_QueryInterface(This,riid,ppvObject) \
  142. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  143. #define ISAFRemoteDesktopCallback_AddRef(This) \
  144. (This)->lpVtbl -> AddRef(This)
  145. #define ISAFRemoteDesktopCallback_Release(This) \
  146. (This)->lpVtbl -> Release(This)
  147. #define ISAFRemoteDesktopCallback_GetTypeInfoCount(This,pctinfo) \
  148. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  149. #define ISAFRemoteDesktopCallback_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  150. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  151. #define ISAFRemoteDesktopCallback_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  152. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  153. #define ISAFRemoteDesktopCallback_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  154. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  155. #define ISAFRemoteDesktopCallback_ResolveUserSessionID(This,connectParms,userSID,expertHelpBlob,userHelpBlob,sessionID,dwPID,hHelpCtr,userResponse) \
  156. (This)->lpVtbl -> ResolveUserSessionID(This,connectParms,userSID,expertHelpBlob,userHelpBlob,sessionID,dwPID,hHelpCtr,userResponse)
  157. #define ISAFRemoteDesktopCallback_OnDisconnect(This,connectParms,userSID,sessionID) \
  158. (This)->lpVtbl -> OnDisconnect(This,connectParms,userSID,sessionID)
  159. #endif /* COBJMACROS */
  160. #endif /* C style interface */
  161. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopCallback_ResolveUserSessionID_Proxy(
  162. ISAFRemoteDesktopCallback * This,
  163. /* [in] */ BSTR connectParms,
  164. /* [in] */ BSTR userSID,
  165. /* [in] */ BSTR expertHelpBlob,
  166. /* [in] */ BSTR userHelpBlob,
  167. /* [out] */ long *sessionID,
  168. /* [in] */ DWORD dwPID,
  169. /* [out] */ ULONG_PTR *hHelpCtr,
  170. /* [retval][out] */ int *userResponse);
  171. void __RPC_STUB ISAFRemoteDesktopCallback_ResolveUserSessionID_Stub(
  172. IRpcStubBuffer *This,
  173. IRpcChannelBuffer *_pRpcChannelBuffer,
  174. PRPC_MESSAGE _pRpcMessage,
  175. DWORD *_pdwStubPhase);
  176. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopCallback_OnDisconnect_Proxy(
  177. ISAFRemoteDesktopCallback * This,
  178. /* [in] */ BSTR connectParms,
  179. /* [in] */ BSTR userSID,
  180. /* [in] */ long sessionID);
  181. void __RPC_STUB ISAFRemoteDesktopCallback_OnDisconnect_Stub(
  182. IRpcStubBuffer *This,
  183. IRpcChannelBuffer *_pRpcChannelBuffer,
  184. PRPC_MESSAGE _pRpcMessage,
  185. DWORD *_pdwStubPhase);
  186. #endif /* __ISAFRemoteDesktopCallback_INTERFACE_DEFINED__ */
  187. #ifndef __SAFSESSIONRESOLVERLib_LIBRARY_DEFINED__
  188. #define __SAFSESSIONRESOLVERLib_LIBRARY_DEFINED__
  189. /* library SAFSESSIONRESOLVERLib */
  190. /* [helpstring][version][uuid] */
  191. EXTERN_C const IID LIBID_SAFSESSIONRESOLVERLib;
  192. EXTERN_C const CLSID CLSID_SessionResolver;
  193. #ifdef __cplusplus
  194. class DECLSPEC_UUID("A55737AB-5B26-4A21-99B7-6D0C606F515E")
  195. SessionResolver;
  196. #endif
  197. #endif /* __SAFSESSIONRESOLVERLib_LIBRARY_DEFINED__ */
  198. /* Additional Prototypes for ALL interfaces */
  199. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  200. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  201. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  202. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  203. /* end of Additional Prototypes */
  204. #ifdef __cplusplus
  205. }
  206. #endif
  207. #endif