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.

305 lines
9.6 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for safsessionresolver.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  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. /* [in] */ ULONG_PTR hShutdown,
  74. /* [out] */ long *sessionID,
  75. /* [in] */ DWORD dwPID,
  76. /* [out] */ ULONG_PTR *hHelpCtr,
  77. /* [retval][out] */ int *userResponse) = 0;
  78. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnDisconnect(
  79. /* [in] */ BSTR connectParms,
  80. /* [in] */ BSTR userSID,
  81. /* [in] */ long sessionID) = 0;
  82. };
  83. #else /* C style interface */
  84. typedef struct ISAFRemoteDesktopCallbackVtbl
  85. {
  86. BEGIN_INTERFACE
  87. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  88. ISAFRemoteDesktopCallback * This,
  89. /* [in] */ REFIID riid,
  90. /* [iid_is][out] */ void **ppvObject);
  91. ULONG ( STDMETHODCALLTYPE *AddRef )(
  92. ISAFRemoteDesktopCallback * This);
  93. ULONG ( STDMETHODCALLTYPE *Release )(
  94. ISAFRemoteDesktopCallback * This);
  95. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  96. ISAFRemoteDesktopCallback * This,
  97. /* [out] */ UINT *pctinfo);
  98. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  99. ISAFRemoteDesktopCallback * This,
  100. /* [in] */ UINT iTInfo,
  101. /* [in] */ LCID lcid,
  102. /* [out] */ ITypeInfo **ppTInfo);
  103. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  104. ISAFRemoteDesktopCallback * This,
  105. /* [in] */ REFIID riid,
  106. /* [size_is][in] */ LPOLESTR *rgszNames,
  107. /* [in] */ UINT cNames,
  108. /* [in] */ LCID lcid,
  109. /* [size_is][out] */ DISPID *rgDispId);
  110. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  111. ISAFRemoteDesktopCallback * This,
  112. /* [in] */ DISPID dispIdMember,
  113. /* [in] */ REFIID riid,
  114. /* [in] */ LCID lcid,
  115. /* [in] */ WORD wFlags,
  116. /* [out][in] */ DISPPARAMS *pDispParams,
  117. /* [out] */ VARIANT *pVarResult,
  118. /* [out] */ EXCEPINFO *pExcepInfo,
  119. /* [out] */ UINT *puArgErr);
  120. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ResolveUserSessionID )(
  121. ISAFRemoteDesktopCallback * This,
  122. /* [in] */ BSTR connectParms,
  123. /* [in] */ BSTR userSID,
  124. /* [in] */ BSTR expertHelpBlob,
  125. /* [in] */ BSTR userHelpBlob,
  126. /* [in] */ ULONG_PTR hShutdown,
  127. /* [out] */ long *sessionID,
  128. /* [in] */ DWORD dwPID,
  129. /* [out] */ ULONG_PTR *hHelpCtr,
  130. /* [retval][out] */ int *userResponse);
  131. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnDisconnect )(
  132. ISAFRemoteDesktopCallback * This,
  133. /* [in] */ BSTR connectParms,
  134. /* [in] */ BSTR userSID,
  135. /* [in] */ long sessionID);
  136. END_INTERFACE
  137. } ISAFRemoteDesktopCallbackVtbl;
  138. interface ISAFRemoteDesktopCallback
  139. {
  140. CONST_VTBL struct ISAFRemoteDesktopCallbackVtbl *lpVtbl;
  141. };
  142. #ifdef COBJMACROS
  143. #define ISAFRemoteDesktopCallback_QueryInterface(This,riid,ppvObject) \
  144. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  145. #define ISAFRemoteDesktopCallback_AddRef(This) \
  146. (This)->lpVtbl -> AddRef(This)
  147. #define ISAFRemoteDesktopCallback_Release(This) \
  148. (This)->lpVtbl -> Release(This)
  149. #define ISAFRemoteDesktopCallback_GetTypeInfoCount(This,pctinfo) \
  150. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  151. #define ISAFRemoteDesktopCallback_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  152. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  153. #define ISAFRemoteDesktopCallback_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  154. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  155. #define ISAFRemoteDesktopCallback_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  156. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  157. #define ISAFRemoteDesktopCallback_ResolveUserSessionID(This,connectParms,userSID,expertHelpBlob,userHelpBlob,hShutdown,sessionID,dwPID,hHelpCtr,userResponse) \
  158. (This)->lpVtbl -> ResolveUserSessionID(This,connectParms,userSID,expertHelpBlob,userHelpBlob,hShutdown,sessionID,dwPID,hHelpCtr,userResponse)
  159. #define ISAFRemoteDesktopCallback_OnDisconnect(This,connectParms,userSID,sessionID) \
  160. (This)->lpVtbl -> OnDisconnect(This,connectParms,userSID,sessionID)
  161. #endif /* COBJMACROS */
  162. #endif /* C style interface */
  163. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopCallback_ResolveUserSessionID_Proxy(
  164. ISAFRemoteDesktopCallback * This,
  165. /* [in] */ BSTR connectParms,
  166. /* [in] */ BSTR userSID,
  167. /* [in] */ BSTR expertHelpBlob,
  168. /* [in] */ BSTR userHelpBlob,
  169. /* [in] */ ULONG_PTR hShutdown,
  170. /* [out] */ long *sessionID,
  171. /* [in] */ DWORD dwPID,
  172. /* [out] */ ULONG_PTR *hHelpCtr,
  173. /* [retval][out] */ int *userResponse);
  174. void __RPC_STUB ISAFRemoteDesktopCallback_ResolveUserSessionID_Stub(
  175. IRpcStubBuffer *This,
  176. IRpcChannelBuffer *_pRpcChannelBuffer,
  177. PRPC_MESSAGE _pRpcMessage,
  178. DWORD *_pdwStubPhase);
  179. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopCallback_OnDisconnect_Proxy(
  180. ISAFRemoteDesktopCallback * This,
  181. /* [in] */ BSTR connectParms,
  182. /* [in] */ BSTR userSID,
  183. /* [in] */ long sessionID);
  184. void __RPC_STUB ISAFRemoteDesktopCallback_OnDisconnect_Stub(
  185. IRpcStubBuffer *This,
  186. IRpcChannelBuffer *_pRpcChannelBuffer,
  187. PRPC_MESSAGE _pRpcMessage,
  188. DWORD *_pdwStubPhase);
  189. #endif /* __ISAFRemoteDesktopCallback_INTERFACE_DEFINED__ */
  190. #ifndef __SAFSESSIONRESOLVERLib_LIBRARY_DEFINED__
  191. #define __SAFSESSIONRESOLVERLib_LIBRARY_DEFINED__
  192. /* library SAFSESSIONRESOLVERLib */
  193. /* [helpstring][version][uuid] */
  194. EXTERN_C const IID LIBID_SAFSESSIONRESOLVERLib;
  195. EXTERN_C const CLSID CLSID_SessionResolver;
  196. #ifdef __cplusplus
  197. class DECLSPEC_UUID("A55737AB-5B26-4A21-99B7-6D0C606F515E")
  198. SessionResolver;
  199. #endif
  200. #endif /* __SAFSESSIONRESOLVERLib_LIBRARY_DEFINED__ */
  201. /* Additional Prototypes for ALL interfaces */
  202. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  203. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  204. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  205. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  206. /* end of Additional Prototypes */
  207. #ifdef __cplusplus
  208. }
  209. #endif
  210. #endif