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.

838 lines
31 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 sessmgr.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 __sessmgr_h__
  27. #define __sessmgr_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IRemoteDesktopHelpSession_FWD_DEFINED__
  33. #define __IRemoteDesktopHelpSession_FWD_DEFINED__
  34. typedef interface IRemoteDesktopHelpSession IRemoteDesktopHelpSession;
  35. #endif /* __IRemoteDesktopHelpSession_FWD_DEFINED__ */
  36. #ifndef __IRemoteDesktopHelpSessionMgr_FWD_DEFINED__
  37. #define __IRemoteDesktopHelpSessionMgr_FWD_DEFINED__
  38. typedef interface IRemoteDesktopHelpSessionMgr IRemoteDesktopHelpSessionMgr;
  39. #endif /* __IRemoteDesktopHelpSessionMgr_FWD_DEFINED__ */
  40. #ifndef __RemoteDesktopHelpSessionMgr_FWD_DEFINED__
  41. #define __RemoteDesktopHelpSessionMgr_FWD_DEFINED__
  42. #ifdef __cplusplus
  43. typedef class RemoteDesktopHelpSessionMgr RemoteDesktopHelpSessionMgr;
  44. #else
  45. typedef struct RemoteDesktopHelpSessionMgr RemoteDesktopHelpSessionMgr;
  46. #endif /* __cplusplus */
  47. #endif /* __RemoteDesktopHelpSessionMgr_FWD_DEFINED__ */
  48. /* header files for imported files */
  49. #include "oaidl.h"
  50. #include "ocidl.h"
  51. #include "rdshost.h"
  52. #ifdef __cplusplus
  53. extern "C"{
  54. #endif
  55. void * __RPC_USER MIDL_user_allocate(size_t);
  56. void __RPC_USER MIDL_user_free( void * );
  57. #ifndef __IRemoteDesktopHelpSession_INTERFACE_DEFINED__
  58. #define __IRemoteDesktopHelpSession_INTERFACE_DEFINED__
  59. /* interface IRemoteDesktopHelpSession */
  60. /* [unique][helpstring][dual][uuid][object][local] */
  61. EXTERN_C const IID IID_IRemoteDesktopHelpSession;
  62. #if defined(__cplusplus) && !defined(CINTERFACE)
  63. MIDL_INTERFACE("19E62A24-95D2-483A-AEB6-6FA92914DF96")
  64. IRemoteDesktopHelpSession : public IDispatch
  65. {
  66. public:
  67. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HelpSessionId(
  68. /* [retval][out] */ BSTR *pVal) = 0;
  69. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UserLogonId(
  70. /* [retval][out] */ long *pVal) = 0;
  71. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AssistantAccountName(
  72. /* [retval][out] */ BSTR *pVal) = 0;
  73. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_UserHelpSessionRemoteDesktopSharingSetting(
  74. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS level) = 0;
  75. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UserHelpSessionRemoteDesktopSharingSetting(
  76. /* [retval][out] */ REMOTE_DESKTOP_SHARING_CLASS *pLevel) = 0;
  77. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ConnectParms(
  78. /* [retval][out] */ BSTR *pConnectParm) = 0;
  79. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteHelp( void) = 0;
  80. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ResolveUserSession(
  81. /* [in] */ BSTR bstrResolverBlob,
  82. /* [in] */ BSTR bstrExpertBlob,
  83. /* [in] */ LONG CallerProcessId,
  84. /* [out] */ ULONG_PTR *hHelpCtr,
  85. /* [out] */ LONG *pResolverErrorCode,
  86. /* [retval][out] */ long *plUserSession) = 0;
  87. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnableUserSessionRdsSetting(
  88. /* [in] */ BOOL bEnable) = 0;
  89. };
  90. #else /* C style interface */
  91. typedef struct IRemoteDesktopHelpSessionVtbl
  92. {
  93. BEGIN_INTERFACE
  94. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  95. IRemoteDesktopHelpSession * This,
  96. /* [in] */ REFIID riid,
  97. /* [iid_is][out] */ void **ppvObject);
  98. ULONG ( STDMETHODCALLTYPE *AddRef )(
  99. IRemoteDesktopHelpSession * This);
  100. ULONG ( STDMETHODCALLTYPE *Release )(
  101. IRemoteDesktopHelpSession * This);
  102. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  103. IRemoteDesktopHelpSession * This,
  104. /* [out] */ UINT *pctinfo);
  105. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  106. IRemoteDesktopHelpSession * This,
  107. /* [in] */ UINT iTInfo,
  108. /* [in] */ LCID lcid,
  109. /* [out] */ ITypeInfo **ppTInfo);
  110. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  111. IRemoteDesktopHelpSession * This,
  112. /* [in] */ REFIID riid,
  113. /* [size_is][in] */ LPOLESTR *rgszNames,
  114. /* [in] */ UINT cNames,
  115. /* [in] */ LCID lcid,
  116. /* [size_is][out] */ DISPID *rgDispId);
  117. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  118. IRemoteDesktopHelpSession * This,
  119. /* [in] */ DISPID dispIdMember,
  120. /* [in] */ REFIID riid,
  121. /* [in] */ LCID lcid,
  122. /* [in] */ WORD wFlags,
  123. /* [out][in] */ DISPPARAMS *pDispParams,
  124. /* [out] */ VARIANT *pVarResult,
  125. /* [out] */ EXCEPINFO *pExcepInfo,
  126. /* [out] */ UINT *puArgErr);
  127. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HelpSessionId )(
  128. IRemoteDesktopHelpSession * This,
  129. /* [retval][out] */ BSTR *pVal);
  130. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UserLogonId )(
  131. IRemoteDesktopHelpSession * This,
  132. /* [retval][out] */ long *pVal);
  133. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AssistantAccountName )(
  134. IRemoteDesktopHelpSession * This,
  135. /* [retval][out] */ BSTR *pVal);
  136. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_UserHelpSessionRemoteDesktopSharingSetting )(
  137. IRemoteDesktopHelpSession * This,
  138. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS level);
  139. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UserHelpSessionRemoteDesktopSharingSetting )(
  140. IRemoteDesktopHelpSession * This,
  141. /* [retval][out] */ REMOTE_DESKTOP_SHARING_CLASS *pLevel);
  142. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ConnectParms )(
  143. IRemoteDesktopHelpSession * This,
  144. /* [retval][out] */ BSTR *pConnectParm);
  145. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteHelp )(
  146. IRemoteDesktopHelpSession * This);
  147. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ResolveUserSession )(
  148. IRemoteDesktopHelpSession * This,
  149. /* [in] */ BSTR bstrResolverBlob,
  150. /* [in] */ BSTR bstrExpertBlob,
  151. /* [in] */ LONG CallerProcessId,
  152. /* [out] */ ULONG_PTR *hHelpCtr,
  153. /* [out] */ LONG *pResolverErrorCode,
  154. /* [retval][out] */ long *plUserSession);
  155. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnableUserSessionRdsSetting )(
  156. IRemoteDesktopHelpSession * This,
  157. /* [in] */ BOOL bEnable);
  158. END_INTERFACE
  159. } IRemoteDesktopHelpSessionVtbl;
  160. interface IRemoteDesktopHelpSession
  161. {
  162. CONST_VTBL struct IRemoteDesktopHelpSessionVtbl *lpVtbl;
  163. };
  164. #ifdef COBJMACROS
  165. #define IRemoteDesktopHelpSession_QueryInterface(This,riid,ppvObject) \
  166. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  167. #define IRemoteDesktopHelpSession_AddRef(This) \
  168. (This)->lpVtbl -> AddRef(This)
  169. #define IRemoteDesktopHelpSession_Release(This) \
  170. (This)->lpVtbl -> Release(This)
  171. #define IRemoteDesktopHelpSession_GetTypeInfoCount(This,pctinfo) \
  172. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  173. #define IRemoteDesktopHelpSession_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  174. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  175. #define IRemoteDesktopHelpSession_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  176. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  177. #define IRemoteDesktopHelpSession_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  178. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  179. #define IRemoteDesktopHelpSession_get_HelpSessionId(This,pVal) \
  180. (This)->lpVtbl -> get_HelpSessionId(This,pVal)
  181. #define IRemoteDesktopHelpSession_get_UserLogonId(This,pVal) \
  182. (This)->lpVtbl -> get_UserLogonId(This,pVal)
  183. #define IRemoteDesktopHelpSession_get_AssistantAccountName(This,pVal) \
  184. (This)->lpVtbl -> get_AssistantAccountName(This,pVal)
  185. #define IRemoteDesktopHelpSession_put_UserHelpSessionRemoteDesktopSharingSetting(This,level) \
  186. (This)->lpVtbl -> put_UserHelpSessionRemoteDesktopSharingSetting(This,level)
  187. #define IRemoteDesktopHelpSession_get_UserHelpSessionRemoteDesktopSharingSetting(This,pLevel) \
  188. (This)->lpVtbl -> get_UserHelpSessionRemoteDesktopSharingSetting(This,pLevel)
  189. #define IRemoteDesktopHelpSession_get_ConnectParms(This,pConnectParm) \
  190. (This)->lpVtbl -> get_ConnectParms(This,pConnectParm)
  191. #define IRemoteDesktopHelpSession_DeleteHelp(This) \
  192. (This)->lpVtbl -> DeleteHelp(This)
  193. #define IRemoteDesktopHelpSession_ResolveUserSession(This,bstrResolverBlob,bstrExpertBlob,CallerProcessId,hHelpCtr,pResolverErrorCode,plUserSession) \
  194. (This)->lpVtbl -> ResolveUserSession(This,bstrResolverBlob,bstrExpertBlob,CallerProcessId,hHelpCtr,pResolverErrorCode,plUserSession)
  195. #define IRemoteDesktopHelpSession_EnableUserSessionRdsSetting(This,bEnable) \
  196. (This)->lpVtbl -> EnableUserSessionRdsSetting(This,bEnable)
  197. #endif /* COBJMACROS */
  198. #endif /* C style interface */
  199. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IRemoteDesktopHelpSession_get_HelpSessionId_Proxy(
  200. IRemoteDesktopHelpSession * This,
  201. /* [retval][out] */ BSTR *pVal);
  202. void __RPC_STUB IRemoteDesktopHelpSession_get_HelpSessionId_Stub(
  203. IRpcStubBuffer *This,
  204. IRpcChannelBuffer *_pRpcChannelBuffer,
  205. PRPC_MESSAGE _pRpcMessage,
  206. DWORD *_pdwStubPhase);
  207. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IRemoteDesktopHelpSession_get_UserLogonId_Proxy(
  208. IRemoteDesktopHelpSession * This,
  209. /* [retval][out] */ long *pVal);
  210. void __RPC_STUB IRemoteDesktopHelpSession_get_UserLogonId_Stub(
  211. IRpcStubBuffer *This,
  212. IRpcChannelBuffer *_pRpcChannelBuffer,
  213. PRPC_MESSAGE _pRpcMessage,
  214. DWORD *_pdwStubPhase);
  215. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IRemoteDesktopHelpSession_get_AssistantAccountName_Proxy(
  216. IRemoteDesktopHelpSession * This,
  217. /* [retval][out] */ BSTR *pVal);
  218. void __RPC_STUB IRemoteDesktopHelpSession_get_AssistantAccountName_Stub(
  219. IRpcStubBuffer *This,
  220. IRpcChannelBuffer *_pRpcChannelBuffer,
  221. PRPC_MESSAGE _pRpcMessage,
  222. DWORD *_pdwStubPhase);
  223. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IRemoteDesktopHelpSession_put_UserHelpSessionRemoteDesktopSharingSetting_Proxy(
  224. IRemoteDesktopHelpSession * This,
  225. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS level);
  226. void __RPC_STUB IRemoteDesktopHelpSession_put_UserHelpSessionRemoteDesktopSharingSetting_Stub(
  227. IRpcStubBuffer *This,
  228. IRpcChannelBuffer *_pRpcChannelBuffer,
  229. PRPC_MESSAGE _pRpcMessage,
  230. DWORD *_pdwStubPhase);
  231. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IRemoteDesktopHelpSession_get_UserHelpSessionRemoteDesktopSharingSetting_Proxy(
  232. IRemoteDesktopHelpSession * This,
  233. /* [retval][out] */ REMOTE_DESKTOP_SHARING_CLASS *pLevel);
  234. void __RPC_STUB IRemoteDesktopHelpSession_get_UserHelpSessionRemoteDesktopSharingSetting_Stub(
  235. IRpcStubBuffer *This,
  236. IRpcChannelBuffer *_pRpcChannelBuffer,
  237. PRPC_MESSAGE _pRpcMessage,
  238. DWORD *_pdwStubPhase);
  239. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IRemoteDesktopHelpSession_get_ConnectParms_Proxy(
  240. IRemoteDesktopHelpSession * This,
  241. /* [retval][out] */ BSTR *pConnectParm);
  242. void __RPC_STUB IRemoteDesktopHelpSession_get_ConnectParms_Stub(
  243. IRpcStubBuffer *This,
  244. IRpcChannelBuffer *_pRpcChannelBuffer,
  245. PRPC_MESSAGE _pRpcMessage,
  246. DWORD *_pdwStubPhase);
  247. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRemoteDesktopHelpSession_DeleteHelp_Proxy(
  248. IRemoteDesktopHelpSession * This);
  249. void __RPC_STUB IRemoteDesktopHelpSession_DeleteHelp_Stub(
  250. IRpcStubBuffer *This,
  251. IRpcChannelBuffer *_pRpcChannelBuffer,
  252. PRPC_MESSAGE _pRpcMessage,
  253. DWORD *_pdwStubPhase);
  254. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRemoteDesktopHelpSession_ResolveUserSession_Proxy(
  255. IRemoteDesktopHelpSession * This,
  256. /* [in] */ BSTR bstrResolverBlob,
  257. /* [in] */ BSTR bstrExpertBlob,
  258. /* [in] */ LONG CallerProcessId,
  259. /* [out] */ ULONG_PTR *hHelpCtr,
  260. /* [out] */ LONG *pResolverErrorCode,
  261. /* [retval][out] */ long *plUserSession);
  262. void __RPC_STUB IRemoteDesktopHelpSession_ResolveUserSession_Stub(
  263. IRpcStubBuffer *This,
  264. IRpcChannelBuffer *_pRpcChannelBuffer,
  265. PRPC_MESSAGE _pRpcMessage,
  266. DWORD *_pdwStubPhase);
  267. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRemoteDesktopHelpSession_EnableUserSessionRdsSetting_Proxy(
  268. IRemoteDesktopHelpSession * This,
  269. /* [in] */ BOOL bEnable);
  270. void __RPC_STUB IRemoteDesktopHelpSession_EnableUserSessionRdsSetting_Stub(
  271. IRpcStubBuffer *This,
  272. IRpcChannelBuffer *_pRpcChannelBuffer,
  273. PRPC_MESSAGE _pRpcMessage,
  274. DWORD *_pdwStubPhase);
  275. #endif /* __IRemoteDesktopHelpSession_INTERFACE_DEFINED__ */
  276. #ifndef __IRemoteDesktopHelpSessionMgr_INTERFACE_DEFINED__
  277. #define __IRemoteDesktopHelpSessionMgr_INTERFACE_DEFINED__
  278. /* interface IRemoteDesktopHelpSessionMgr */
  279. /* [unique][helpstring][dual][uuid][object][local] */
  280. EXTERN_C const IID IID_IRemoteDesktopHelpSessionMgr;
  281. #if defined(__cplusplus) && !defined(CINTERFACE)
  282. MIDL_INTERFACE("8556D72C-2854-447D-A098-39CDBFCDB832")
  283. IRemoteDesktopHelpSessionMgr : public IDispatch
  284. {
  285. public:
  286. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ResetHelpAssistantAccount(
  287. /* [in] */ BOOL bForce) = 0;
  288. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateHelpSession(
  289. /* [in] */ BSTR bstrSessName,
  290. /* [in] */ BSTR bstrSessPwd,
  291. /* [in] */ BSTR bstrSessDesc,
  292. /* [in] */ BSTR bstrHelpCreateBlob,
  293. /* [retval][out] */ IRemoteDesktopHelpSession **ppIRDHelpSession) = 0;
  294. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteHelpSession(
  295. /* [in] */ BSTR HelpSessionID) = 0;
  296. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RetrieveHelpSession(
  297. /* [in] */ BSTR HelpSessionID,
  298. /* [retval][out] */ IRemoteDesktopHelpSession **ppIRDHelpSession) = 0;
  299. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE VerifyUserHelpSession(
  300. /* [in] */ BSTR HelpSessionId,
  301. /* [in] */ BSTR bstrSessPwd,
  302. /* [in] */ BSTR bstrResolverBlob,
  303. /* [in] */ BSTR bstrExpertBlob,
  304. /* [in] */ LONG CallerProcessId,
  305. /* [out] */ ULONG_PTR *phHelpCtr,
  306. /* [out] */ LONG *pResolverErrCode,
  307. /* [retval][out] */ long *pdwUserLogonSession) = 0;
  308. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsValidHelpSession(
  309. /* [in] */ BSTR HelpSessionId,
  310. /* [in] */ BSTR bstrSessPwd) = 0;
  311. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetUserSessionRdsSetting(
  312. /* [retval][out] */ REMOTE_DESKTOP_SHARING_CLASS *sessionRdsLevel) = 0;
  313. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoteCreateHelpSession(
  314. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass,
  315. /* [in] */ LONG timeOut,
  316. /* [in] */ LONG userSessionId,
  317. /* [in] */ BSTR userSid,
  318. /* [in] */ BSTR bstrHelpCreateBlob,
  319. /* [retval][out] */ BSTR *parms) = 0;
  320. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateHelpSessionEx(
  321. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass,
  322. /* [in] */ BOOL fEnableCallback,
  323. /* [in] */ LONG timeOut,
  324. /* [in] */ LONG userSessionId,
  325. /* [in] */ BSTR userSid,
  326. /* [in] */ BSTR bstrHelpCreateBlob,
  327. /* [retval][out] */ IRemoteDesktopHelpSession **ppIRDHelpSession) = 0;
  328. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LogSalemEvent(
  329. /* [in] */ LONG ulEventType,
  330. /* [in] */ LONG ulEventCode,
  331. /* [in] */ VARIANT *EventString) = 0;
  332. };
  333. #else /* C style interface */
  334. typedef struct IRemoteDesktopHelpSessionMgrVtbl
  335. {
  336. BEGIN_INTERFACE
  337. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  338. IRemoteDesktopHelpSessionMgr * This,
  339. /* [in] */ REFIID riid,
  340. /* [iid_is][out] */ void **ppvObject);
  341. ULONG ( STDMETHODCALLTYPE *AddRef )(
  342. IRemoteDesktopHelpSessionMgr * This);
  343. ULONG ( STDMETHODCALLTYPE *Release )(
  344. IRemoteDesktopHelpSessionMgr * This);
  345. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  346. IRemoteDesktopHelpSessionMgr * This,
  347. /* [out] */ UINT *pctinfo);
  348. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  349. IRemoteDesktopHelpSessionMgr * This,
  350. /* [in] */ UINT iTInfo,
  351. /* [in] */ LCID lcid,
  352. /* [out] */ ITypeInfo **ppTInfo);
  353. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  354. IRemoteDesktopHelpSessionMgr * This,
  355. /* [in] */ REFIID riid,
  356. /* [size_is][in] */ LPOLESTR *rgszNames,
  357. /* [in] */ UINT cNames,
  358. /* [in] */ LCID lcid,
  359. /* [size_is][out] */ DISPID *rgDispId);
  360. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  361. IRemoteDesktopHelpSessionMgr * This,
  362. /* [in] */ DISPID dispIdMember,
  363. /* [in] */ REFIID riid,
  364. /* [in] */ LCID lcid,
  365. /* [in] */ WORD wFlags,
  366. /* [out][in] */ DISPPARAMS *pDispParams,
  367. /* [out] */ VARIANT *pVarResult,
  368. /* [out] */ EXCEPINFO *pExcepInfo,
  369. /* [out] */ UINT *puArgErr);
  370. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ResetHelpAssistantAccount )(
  371. IRemoteDesktopHelpSessionMgr * This,
  372. /* [in] */ BOOL bForce);
  373. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateHelpSession )(
  374. IRemoteDesktopHelpSessionMgr * This,
  375. /* [in] */ BSTR bstrSessName,
  376. /* [in] */ BSTR bstrSessPwd,
  377. /* [in] */ BSTR bstrSessDesc,
  378. /* [in] */ BSTR bstrHelpCreateBlob,
  379. /* [retval][out] */ IRemoteDesktopHelpSession **ppIRDHelpSession);
  380. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteHelpSession )(
  381. IRemoteDesktopHelpSessionMgr * This,
  382. /* [in] */ BSTR HelpSessionID);
  383. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RetrieveHelpSession )(
  384. IRemoteDesktopHelpSessionMgr * This,
  385. /* [in] */ BSTR HelpSessionID,
  386. /* [retval][out] */ IRemoteDesktopHelpSession **ppIRDHelpSession);
  387. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *VerifyUserHelpSession )(
  388. IRemoteDesktopHelpSessionMgr * This,
  389. /* [in] */ BSTR HelpSessionId,
  390. /* [in] */ BSTR bstrSessPwd,
  391. /* [in] */ BSTR bstrResolverBlob,
  392. /* [in] */ BSTR bstrExpertBlob,
  393. /* [in] */ LONG CallerProcessId,
  394. /* [out] */ ULONG_PTR *phHelpCtr,
  395. /* [out] */ LONG *pResolverErrCode,
  396. /* [retval][out] */ long *pdwUserLogonSession);
  397. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsValidHelpSession )(
  398. IRemoteDesktopHelpSessionMgr * This,
  399. /* [in] */ BSTR HelpSessionId,
  400. /* [in] */ BSTR bstrSessPwd);
  401. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetUserSessionRdsSetting )(
  402. IRemoteDesktopHelpSessionMgr * This,
  403. /* [retval][out] */ REMOTE_DESKTOP_SHARING_CLASS *sessionRdsLevel);
  404. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoteCreateHelpSession )(
  405. IRemoteDesktopHelpSessionMgr * This,
  406. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass,
  407. /* [in] */ LONG timeOut,
  408. /* [in] */ LONG userSessionId,
  409. /* [in] */ BSTR userSid,
  410. /* [in] */ BSTR bstrHelpCreateBlob,
  411. /* [retval][out] */ BSTR *parms);
  412. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateHelpSessionEx )(
  413. IRemoteDesktopHelpSessionMgr * This,
  414. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass,
  415. /* [in] */ BOOL fEnableCallback,
  416. /* [in] */ LONG timeOut,
  417. /* [in] */ LONG userSessionId,
  418. /* [in] */ BSTR userSid,
  419. /* [in] */ BSTR bstrHelpCreateBlob,
  420. /* [retval][out] */ IRemoteDesktopHelpSession **ppIRDHelpSession);
  421. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LogSalemEvent )(
  422. IRemoteDesktopHelpSessionMgr * This,
  423. /* [in] */ LONG ulEventType,
  424. /* [in] */ LONG ulEventCode,
  425. /* [in] */ VARIANT *EventString);
  426. END_INTERFACE
  427. } IRemoteDesktopHelpSessionMgrVtbl;
  428. interface IRemoteDesktopHelpSessionMgr
  429. {
  430. CONST_VTBL struct IRemoteDesktopHelpSessionMgrVtbl *lpVtbl;
  431. };
  432. #ifdef COBJMACROS
  433. #define IRemoteDesktopHelpSessionMgr_QueryInterface(This,riid,ppvObject) \
  434. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  435. #define IRemoteDesktopHelpSessionMgr_AddRef(This) \
  436. (This)->lpVtbl -> AddRef(This)
  437. #define IRemoteDesktopHelpSessionMgr_Release(This) \
  438. (This)->lpVtbl -> Release(This)
  439. #define IRemoteDesktopHelpSessionMgr_GetTypeInfoCount(This,pctinfo) \
  440. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  441. #define IRemoteDesktopHelpSessionMgr_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  442. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  443. #define IRemoteDesktopHelpSessionMgr_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  444. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  445. #define IRemoteDesktopHelpSessionMgr_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  446. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  447. #define IRemoteDesktopHelpSessionMgr_ResetHelpAssistantAccount(This,bForce) \
  448. (This)->lpVtbl -> ResetHelpAssistantAccount(This,bForce)
  449. #define IRemoteDesktopHelpSessionMgr_CreateHelpSession(This,bstrSessName,bstrSessPwd,bstrSessDesc,bstrHelpCreateBlob,ppIRDHelpSession) \
  450. (This)->lpVtbl -> CreateHelpSession(This,bstrSessName,bstrSessPwd,bstrSessDesc,bstrHelpCreateBlob,ppIRDHelpSession)
  451. #define IRemoteDesktopHelpSessionMgr_DeleteHelpSession(This,HelpSessionID) \
  452. (This)->lpVtbl -> DeleteHelpSession(This,HelpSessionID)
  453. #define IRemoteDesktopHelpSessionMgr_RetrieveHelpSession(This,HelpSessionID,ppIRDHelpSession) \
  454. (This)->lpVtbl -> RetrieveHelpSession(This,HelpSessionID,ppIRDHelpSession)
  455. #define IRemoteDesktopHelpSessionMgr_VerifyUserHelpSession(This,HelpSessionId,bstrSessPwd,bstrResolverBlob,bstrExpertBlob,CallerProcessId,phHelpCtr,pResolverErrCode,pdwUserLogonSession) \
  456. (This)->lpVtbl -> VerifyUserHelpSession(This,HelpSessionId,bstrSessPwd,bstrResolverBlob,bstrExpertBlob,CallerProcessId,phHelpCtr,pResolverErrCode,pdwUserLogonSession)
  457. #define IRemoteDesktopHelpSessionMgr_IsValidHelpSession(This,HelpSessionId,bstrSessPwd) \
  458. (This)->lpVtbl -> IsValidHelpSession(This,HelpSessionId,bstrSessPwd)
  459. #define IRemoteDesktopHelpSessionMgr_GetUserSessionRdsSetting(This,sessionRdsLevel) \
  460. (This)->lpVtbl -> GetUserSessionRdsSetting(This,sessionRdsLevel)
  461. #define IRemoteDesktopHelpSessionMgr_RemoteCreateHelpSession(This,sharingClass,timeOut,userSessionId,userSid,bstrHelpCreateBlob,parms) \
  462. (This)->lpVtbl -> RemoteCreateHelpSession(This,sharingClass,timeOut,userSessionId,userSid,bstrHelpCreateBlob,parms)
  463. #define IRemoteDesktopHelpSessionMgr_CreateHelpSessionEx(This,sharingClass,fEnableCallback,timeOut,userSessionId,userSid,bstrHelpCreateBlob,ppIRDHelpSession) \
  464. (This)->lpVtbl -> CreateHelpSessionEx(This,sharingClass,fEnableCallback,timeOut,userSessionId,userSid,bstrHelpCreateBlob,ppIRDHelpSession)
  465. #define IRemoteDesktopHelpSessionMgr_LogSalemEvent(This,ulEventType,ulEventCode,EventString) \
  466. (This)->lpVtbl -> LogSalemEvent(This,ulEventType,ulEventCode,EventString)
  467. #endif /* COBJMACROS */
  468. #endif /* C style interface */
  469. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRemoteDesktopHelpSessionMgr_ResetHelpAssistantAccount_Proxy(
  470. IRemoteDesktopHelpSessionMgr * This,
  471. /* [in] */ BOOL bForce);
  472. void __RPC_STUB IRemoteDesktopHelpSessionMgr_ResetHelpAssistantAccount_Stub(
  473. IRpcStubBuffer *This,
  474. IRpcChannelBuffer *_pRpcChannelBuffer,
  475. PRPC_MESSAGE _pRpcMessage,
  476. DWORD *_pdwStubPhase);
  477. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRemoteDesktopHelpSessionMgr_CreateHelpSession_Proxy(
  478. IRemoteDesktopHelpSessionMgr * This,
  479. /* [in] */ BSTR bstrSessName,
  480. /* [in] */ BSTR bstrSessPwd,
  481. /* [in] */ BSTR bstrSessDesc,
  482. /* [in] */ BSTR bstrHelpCreateBlob,
  483. /* [retval][out] */ IRemoteDesktopHelpSession **ppIRDHelpSession);
  484. void __RPC_STUB IRemoteDesktopHelpSessionMgr_CreateHelpSession_Stub(
  485. IRpcStubBuffer *This,
  486. IRpcChannelBuffer *_pRpcChannelBuffer,
  487. PRPC_MESSAGE _pRpcMessage,
  488. DWORD *_pdwStubPhase);
  489. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRemoteDesktopHelpSessionMgr_DeleteHelpSession_Proxy(
  490. IRemoteDesktopHelpSessionMgr * This,
  491. /* [in] */ BSTR HelpSessionID);
  492. void __RPC_STUB IRemoteDesktopHelpSessionMgr_DeleteHelpSession_Stub(
  493. IRpcStubBuffer *This,
  494. IRpcChannelBuffer *_pRpcChannelBuffer,
  495. PRPC_MESSAGE _pRpcMessage,
  496. DWORD *_pdwStubPhase);
  497. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRemoteDesktopHelpSessionMgr_RetrieveHelpSession_Proxy(
  498. IRemoteDesktopHelpSessionMgr * This,
  499. /* [in] */ BSTR HelpSessionID,
  500. /* [retval][out] */ IRemoteDesktopHelpSession **ppIRDHelpSession);
  501. void __RPC_STUB IRemoteDesktopHelpSessionMgr_RetrieveHelpSession_Stub(
  502. IRpcStubBuffer *This,
  503. IRpcChannelBuffer *_pRpcChannelBuffer,
  504. PRPC_MESSAGE _pRpcMessage,
  505. DWORD *_pdwStubPhase);
  506. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRemoteDesktopHelpSessionMgr_VerifyUserHelpSession_Proxy(
  507. IRemoteDesktopHelpSessionMgr * This,
  508. /* [in] */ BSTR HelpSessionId,
  509. /* [in] */ BSTR bstrSessPwd,
  510. /* [in] */ BSTR bstrResolverBlob,
  511. /* [in] */ BSTR bstrExpertBlob,
  512. /* [in] */ LONG CallerProcessId,
  513. /* [out] */ ULONG_PTR *phHelpCtr,
  514. /* [out] */ LONG *pResolverErrCode,
  515. /* [retval][out] */ long *pdwUserLogonSession);
  516. void __RPC_STUB IRemoteDesktopHelpSessionMgr_VerifyUserHelpSession_Stub(
  517. IRpcStubBuffer *This,
  518. IRpcChannelBuffer *_pRpcChannelBuffer,
  519. PRPC_MESSAGE _pRpcMessage,
  520. DWORD *_pdwStubPhase);
  521. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRemoteDesktopHelpSessionMgr_IsValidHelpSession_Proxy(
  522. IRemoteDesktopHelpSessionMgr * This,
  523. /* [in] */ BSTR HelpSessionId,
  524. /* [in] */ BSTR bstrSessPwd);
  525. void __RPC_STUB IRemoteDesktopHelpSessionMgr_IsValidHelpSession_Stub(
  526. IRpcStubBuffer *This,
  527. IRpcChannelBuffer *_pRpcChannelBuffer,
  528. PRPC_MESSAGE _pRpcMessage,
  529. DWORD *_pdwStubPhase);
  530. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRemoteDesktopHelpSessionMgr_GetUserSessionRdsSetting_Proxy(
  531. IRemoteDesktopHelpSessionMgr * This,
  532. /* [retval][out] */ REMOTE_DESKTOP_SHARING_CLASS *sessionRdsLevel);
  533. void __RPC_STUB IRemoteDesktopHelpSessionMgr_GetUserSessionRdsSetting_Stub(
  534. IRpcStubBuffer *This,
  535. IRpcChannelBuffer *_pRpcChannelBuffer,
  536. PRPC_MESSAGE _pRpcMessage,
  537. DWORD *_pdwStubPhase);
  538. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRemoteDesktopHelpSessionMgr_RemoteCreateHelpSession_Proxy(
  539. IRemoteDesktopHelpSessionMgr * This,
  540. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass,
  541. /* [in] */ LONG timeOut,
  542. /* [in] */ LONG userSessionId,
  543. /* [in] */ BSTR userSid,
  544. /* [in] */ BSTR bstrHelpCreateBlob,
  545. /* [retval][out] */ BSTR *parms);
  546. void __RPC_STUB IRemoteDesktopHelpSessionMgr_RemoteCreateHelpSession_Stub(
  547. IRpcStubBuffer *This,
  548. IRpcChannelBuffer *_pRpcChannelBuffer,
  549. PRPC_MESSAGE _pRpcMessage,
  550. DWORD *_pdwStubPhase);
  551. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRemoteDesktopHelpSessionMgr_CreateHelpSessionEx_Proxy(
  552. IRemoteDesktopHelpSessionMgr * This,
  553. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass,
  554. /* [in] */ BOOL fEnableCallback,
  555. /* [in] */ LONG timeOut,
  556. /* [in] */ LONG userSessionId,
  557. /* [in] */ BSTR userSid,
  558. /* [in] */ BSTR bstrHelpCreateBlob,
  559. /* [retval][out] */ IRemoteDesktopHelpSession **ppIRDHelpSession);
  560. void __RPC_STUB IRemoteDesktopHelpSessionMgr_CreateHelpSessionEx_Stub(
  561. IRpcStubBuffer *This,
  562. IRpcChannelBuffer *_pRpcChannelBuffer,
  563. PRPC_MESSAGE _pRpcMessage,
  564. DWORD *_pdwStubPhase);
  565. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRemoteDesktopHelpSessionMgr_LogSalemEvent_Proxy(
  566. IRemoteDesktopHelpSessionMgr * This,
  567. /* [in] */ LONG ulEventType,
  568. /* [in] */ LONG ulEventCode,
  569. /* [in] */ VARIANT *EventString);
  570. void __RPC_STUB IRemoteDesktopHelpSessionMgr_LogSalemEvent_Stub(
  571. IRpcStubBuffer *This,
  572. IRpcChannelBuffer *_pRpcChannelBuffer,
  573. PRPC_MESSAGE _pRpcMessage,
  574. DWORD *_pdwStubPhase);
  575. #endif /* __IRemoteDesktopHelpSessionMgr_INTERFACE_DEFINED__ */
  576. #ifndef __RDSESSMGRLib_LIBRARY_DEFINED__
  577. #define __RDSESSMGRLib_LIBRARY_DEFINED__
  578. /* library RDSESSMGRLib */
  579. /* [helpstring][version][uuid] */
  580. EXTERN_C const IID LIBID_RDSESSMGRLib;
  581. EXTERN_C const CLSID CLSID_RemoteDesktopHelpSessionMgr;
  582. #ifdef __cplusplus
  583. class DECLSPEC_UUID("A6A6F92B-26B5-463B-AE0D-5F361B09C171")
  584. RemoteDesktopHelpSessionMgr;
  585. #endif
  586. #endif /* __RDSESSMGRLib_LIBRARY_DEFINED__ */
  587. /* Additional Prototypes for ALL interfaces */
  588. /* end of Additional Prototypes */
  589. #ifdef __cplusplus
  590. }
  591. #endif
  592. #endif