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.

1046 lines
31 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 sensevts.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 __sensevts_h__
  23. #define __sensevts_h__
  24. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  25. #pragma once
  26. #endif
  27. /* Forward Declarations */
  28. #ifndef __ISensNetwork_FWD_DEFINED__
  29. #define __ISensNetwork_FWD_DEFINED__
  30. typedef interface ISensNetwork ISensNetwork;
  31. #endif /* __ISensNetwork_FWD_DEFINED__ */
  32. #ifndef __ISensOnNow_FWD_DEFINED__
  33. #define __ISensOnNow_FWD_DEFINED__
  34. typedef interface ISensOnNow ISensOnNow;
  35. #endif /* __ISensOnNow_FWD_DEFINED__ */
  36. #ifndef __ISensLogon_FWD_DEFINED__
  37. #define __ISensLogon_FWD_DEFINED__
  38. typedef interface ISensLogon ISensLogon;
  39. #endif /* __ISensLogon_FWD_DEFINED__ */
  40. #ifndef __ISensLogon2_FWD_DEFINED__
  41. #define __ISensLogon2_FWD_DEFINED__
  42. typedef interface ISensLogon2 ISensLogon2;
  43. #endif /* __ISensLogon2_FWD_DEFINED__ */
  44. #ifndef __SENS_FWD_DEFINED__
  45. #define __SENS_FWD_DEFINED__
  46. #ifdef __cplusplus
  47. typedef class SENS SENS;
  48. #else
  49. typedef struct SENS SENS;
  50. #endif /* __cplusplus */
  51. #endif /* __SENS_FWD_DEFINED__ */
  52. /* header files for imported files */
  53. #include "wtypes.h"
  54. #ifdef __cplusplus
  55. extern "C"{
  56. #endif
  57. void * __RPC_USER MIDL_user_allocate(size_t);
  58. void __RPC_USER MIDL_user_free( void * );
  59. #ifndef __SensEvents_LIBRARY_DEFINED__
  60. #define __SensEvents_LIBRARY_DEFINED__
  61. /* library SensEvents */
  62. /* [helpstring][version][uuid] */
  63. typedef /* [uuid] */ DECLSPEC_UUID("d597fad1-5b9f-11d1-8dd2-00aa004abd5e") struct SENS_QOCINFO
  64. {
  65. DWORD dwSize;
  66. DWORD dwFlags;
  67. DWORD dwOutSpeed;
  68. DWORD dwInSpeed;
  69. } SENS_QOCINFO;
  70. typedef SENS_QOCINFO *LPSENS_QOCINFO;
  71. EXTERN_C const IID LIBID_SensEvents;
  72. #ifndef __ISensNetwork_INTERFACE_DEFINED__
  73. #define __ISensNetwork_INTERFACE_DEFINED__
  74. /* interface ISensNetwork */
  75. /* [dual][helpstring][version][uuid][object] */
  76. EXTERN_C const IID IID_ISensNetwork;
  77. #if defined(__cplusplus) && !defined(CINTERFACE)
  78. MIDL_INTERFACE("d597bab1-5b9f-11d1-8dd2-00aa004abd5e")
  79. ISensNetwork : public IDispatch
  80. {
  81. public:
  82. virtual /* [id] */ HRESULT STDMETHODCALLTYPE ConnectionMade(
  83. /* [in] */ BSTR bstrConnection,
  84. /* [in] */ ULONG ulType,
  85. /* [in] */ LPSENS_QOCINFO lpQOCInfo) = 0;
  86. virtual /* [id] */ HRESULT STDMETHODCALLTYPE ConnectionMadeNoQOCInfo(
  87. /* [in] */ BSTR bstrConnection,
  88. /* [in] */ ULONG ulType) = 0;
  89. virtual /* [id] */ HRESULT STDMETHODCALLTYPE ConnectionLost(
  90. /* [in] */ BSTR bstrConnection,
  91. /* [in] */ ULONG ulType) = 0;
  92. virtual /* [id] */ HRESULT STDMETHODCALLTYPE DestinationReachable(
  93. /* [in] */ BSTR bstrDestination,
  94. /* [in] */ BSTR bstrConnection,
  95. /* [in] */ ULONG ulType,
  96. /* [in] */ LPSENS_QOCINFO lpQOCInfo) = 0;
  97. virtual /* [id] */ HRESULT STDMETHODCALLTYPE DestinationReachableNoQOCInfo(
  98. /* [in] */ BSTR bstrDestination,
  99. /* [in] */ BSTR bstrConnection,
  100. /* [in] */ ULONG ulType) = 0;
  101. };
  102. #else /* C style interface */
  103. typedef struct ISensNetworkVtbl
  104. {
  105. BEGIN_INTERFACE
  106. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  107. ISensNetwork * This,
  108. /* [in] */ REFIID riid,
  109. /* [iid_is][out] */ void **ppvObject);
  110. ULONG ( STDMETHODCALLTYPE *AddRef )(
  111. ISensNetwork * This);
  112. ULONG ( STDMETHODCALLTYPE *Release )(
  113. ISensNetwork * This);
  114. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  115. ISensNetwork * This,
  116. /* [out] */ UINT *pctinfo);
  117. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  118. ISensNetwork * This,
  119. /* [in] */ UINT iTInfo,
  120. /* [in] */ LCID lcid,
  121. /* [out] */ ITypeInfo **ppTInfo);
  122. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  123. ISensNetwork * This,
  124. /* [in] */ REFIID riid,
  125. /* [size_is][in] */ LPOLESTR *rgszNames,
  126. /* [in] */ UINT cNames,
  127. /* [in] */ LCID lcid,
  128. /* [size_is][out] */ DISPID *rgDispId);
  129. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  130. ISensNetwork * This,
  131. /* [in] */ DISPID dispIdMember,
  132. /* [in] */ REFIID riid,
  133. /* [in] */ LCID lcid,
  134. /* [in] */ WORD wFlags,
  135. /* [out][in] */ DISPPARAMS *pDispParams,
  136. /* [out] */ VARIANT *pVarResult,
  137. /* [out] */ EXCEPINFO *pExcepInfo,
  138. /* [out] */ UINT *puArgErr);
  139. /* [id] */ HRESULT ( STDMETHODCALLTYPE *ConnectionMade )(
  140. ISensNetwork * This,
  141. /* [in] */ BSTR bstrConnection,
  142. /* [in] */ ULONG ulType,
  143. /* [in] */ LPSENS_QOCINFO lpQOCInfo);
  144. /* [id] */ HRESULT ( STDMETHODCALLTYPE *ConnectionMadeNoQOCInfo )(
  145. ISensNetwork * This,
  146. /* [in] */ BSTR bstrConnection,
  147. /* [in] */ ULONG ulType);
  148. /* [id] */ HRESULT ( STDMETHODCALLTYPE *ConnectionLost )(
  149. ISensNetwork * This,
  150. /* [in] */ BSTR bstrConnection,
  151. /* [in] */ ULONG ulType);
  152. /* [id] */ HRESULT ( STDMETHODCALLTYPE *DestinationReachable )(
  153. ISensNetwork * This,
  154. /* [in] */ BSTR bstrDestination,
  155. /* [in] */ BSTR bstrConnection,
  156. /* [in] */ ULONG ulType,
  157. /* [in] */ LPSENS_QOCINFO lpQOCInfo);
  158. /* [id] */ HRESULT ( STDMETHODCALLTYPE *DestinationReachableNoQOCInfo )(
  159. ISensNetwork * This,
  160. /* [in] */ BSTR bstrDestination,
  161. /* [in] */ BSTR bstrConnection,
  162. /* [in] */ ULONG ulType);
  163. END_INTERFACE
  164. } ISensNetworkVtbl;
  165. interface ISensNetwork
  166. {
  167. CONST_VTBL struct ISensNetworkVtbl *lpVtbl;
  168. };
  169. #ifdef COBJMACROS
  170. #define ISensNetwork_QueryInterface(This,riid,ppvObject) \
  171. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  172. #define ISensNetwork_AddRef(This) \
  173. (This)->lpVtbl -> AddRef(This)
  174. #define ISensNetwork_Release(This) \
  175. (This)->lpVtbl -> Release(This)
  176. #define ISensNetwork_GetTypeInfoCount(This,pctinfo) \
  177. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  178. #define ISensNetwork_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  179. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  180. #define ISensNetwork_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  181. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  182. #define ISensNetwork_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  183. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  184. #define ISensNetwork_ConnectionMade(This,bstrConnection,ulType,lpQOCInfo) \
  185. (This)->lpVtbl -> ConnectionMade(This,bstrConnection,ulType,lpQOCInfo)
  186. #define ISensNetwork_ConnectionMadeNoQOCInfo(This,bstrConnection,ulType) \
  187. (This)->lpVtbl -> ConnectionMadeNoQOCInfo(This,bstrConnection,ulType)
  188. #define ISensNetwork_ConnectionLost(This,bstrConnection,ulType) \
  189. (This)->lpVtbl -> ConnectionLost(This,bstrConnection,ulType)
  190. #define ISensNetwork_DestinationReachable(This,bstrDestination,bstrConnection,ulType,lpQOCInfo) \
  191. (This)->lpVtbl -> DestinationReachable(This,bstrDestination,bstrConnection,ulType,lpQOCInfo)
  192. #define ISensNetwork_DestinationReachableNoQOCInfo(This,bstrDestination,bstrConnection,ulType) \
  193. (This)->lpVtbl -> DestinationReachableNoQOCInfo(This,bstrDestination,bstrConnection,ulType)
  194. #endif /* COBJMACROS */
  195. #endif /* C style interface */
  196. /* [id] */ HRESULT STDMETHODCALLTYPE ISensNetwork_ConnectionMade_Proxy(
  197. ISensNetwork * This,
  198. /* [in] */ BSTR bstrConnection,
  199. /* [in] */ ULONG ulType,
  200. /* [in] */ LPSENS_QOCINFO lpQOCInfo);
  201. void __RPC_STUB ISensNetwork_ConnectionMade_Stub(
  202. IRpcStubBuffer *This,
  203. IRpcChannelBuffer *_pRpcChannelBuffer,
  204. PRPC_MESSAGE _pRpcMessage,
  205. DWORD *_pdwStubPhase);
  206. /* [id] */ HRESULT STDMETHODCALLTYPE ISensNetwork_ConnectionMadeNoQOCInfo_Proxy(
  207. ISensNetwork * This,
  208. /* [in] */ BSTR bstrConnection,
  209. /* [in] */ ULONG ulType);
  210. void __RPC_STUB ISensNetwork_ConnectionMadeNoQOCInfo_Stub(
  211. IRpcStubBuffer *This,
  212. IRpcChannelBuffer *_pRpcChannelBuffer,
  213. PRPC_MESSAGE _pRpcMessage,
  214. DWORD *_pdwStubPhase);
  215. /* [id] */ HRESULT STDMETHODCALLTYPE ISensNetwork_ConnectionLost_Proxy(
  216. ISensNetwork * This,
  217. /* [in] */ BSTR bstrConnection,
  218. /* [in] */ ULONG ulType);
  219. void __RPC_STUB ISensNetwork_ConnectionLost_Stub(
  220. IRpcStubBuffer *This,
  221. IRpcChannelBuffer *_pRpcChannelBuffer,
  222. PRPC_MESSAGE _pRpcMessage,
  223. DWORD *_pdwStubPhase);
  224. /* [id] */ HRESULT STDMETHODCALLTYPE ISensNetwork_DestinationReachable_Proxy(
  225. ISensNetwork * This,
  226. /* [in] */ BSTR bstrDestination,
  227. /* [in] */ BSTR bstrConnection,
  228. /* [in] */ ULONG ulType,
  229. /* [in] */ LPSENS_QOCINFO lpQOCInfo);
  230. void __RPC_STUB ISensNetwork_DestinationReachable_Stub(
  231. IRpcStubBuffer *This,
  232. IRpcChannelBuffer *_pRpcChannelBuffer,
  233. PRPC_MESSAGE _pRpcMessage,
  234. DWORD *_pdwStubPhase);
  235. /* [id] */ HRESULT STDMETHODCALLTYPE ISensNetwork_DestinationReachableNoQOCInfo_Proxy(
  236. ISensNetwork * This,
  237. /* [in] */ BSTR bstrDestination,
  238. /* [in] */ BSTR bstrConnection,
  239. /* [in] */ ULONG ulType);
  240. void __RPC_STUB ISensNetwork_DestinationReachableNoQOCInfo_Stub(
  241. IRpcStubBuffer *This,
  242. IRpcChannelBuffer *_pRpcChannelBuffer,
  243. PRPC_MESSAGE _pRpcMessage,
  244. DWORD *_pdwStubPhase);
  245. #endif /* __ISensNetwork_INTERFACE_DEFINED__ */
  246. #ifndef __ISensOnNow_INTERFACE_DEFINED__
  247. #define __ISensOnNow_INTERFACE_DEFINED__
  248. /* interface ISensOnNow */
  249. /* [dual][helpstring][version][uuid][object] */
  250. EXTERN_C const IID IID_ISensOnNow;
  251. #if defined(__cplusplus) && !defined(CINTERFACE)
  252. MIDL_INTERFACE("d597bab2-5b9f-11d1-8dd2-00aa004abd5e")
  253. ISensOnNow : public IDispatch
  254. {
  255. public:
  256. virtual /* [id] */ HRESULT STDMETHODCALLTYPE OnACPower( void) = 0;
  257. virtual /* [id] */ HRESULT STDMETHODCALLTYPE OnBatteryPower(
  258. /* [in] */ DWORD dwBatteryLifePercent) = 0;
  259. virtual /* [id] */ HRESULT STDMETHODCALLTYPE BatteryLow(
  260. /* [in] */ DWORD dwBatteryLifePercent) = 0;
  261. };
  262. #else /* C style interface */
  263. typedef struct ISensOnNowVtbl
  264. {
  265. BEGIN_INTERFACE
  266. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  267. ISensOnNow * This,
  268. /* [in] */ REFIID riid,
  269. /* [iid_is][out] */ void **ppvObject);
  270. ULONG ( STDMETHODCALLTYPE *AddRef )(
  271. ISensOnNow * This);
  272. ULONG ( STDMETHODCALLTYPE *Release )(
  273. ISensOnNow * This);
  274. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  275. ISensOnNow * This,
  276. /* [out] */ UINT *pctinfo);
  277. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  278. ISensOnNow * This,
  279. /* [in] */ UINT iTInfo,
  280. /* [in] */ LCID lcid,
  281. /* [out] */ ITypeInfo **ppTInfo);
  282. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  283. ISensOnNow * This,
  284. /* [in] */ REFIID riid,
  285. /* [size_is][in] */ LPOLESTR *rgszNames,
  286. /* [in] */ UINT cNames,
  287. /* [in] */ LCID lcid,
  288. /* [size_is][out] */ DISPID *rgDispId);
  289. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  290. ISensOnNow * This,
  291. /* [in] */ DISPID dispIdMember,
  292. /* [in] */ REFIID riid,
  293. /* [in] */ LCID lcid,
  294. /* [in] */ WORD wFlags,
  295. /* [out][in] */ DISPPARAMS *pDispParams,
  296. /* [out] */ VARIANT *pVarResult,
  297. /* [out] */ EXCEPINFO *pExcepInfo,
  298. /* [out] */ UINT *puArgErr);
  299. /* [id] */ HRESULT ( STDMETHODCALLTYPE *OnACPower )(
  300. ISensOnNow * This);
  301. /* [id] */ HRESULT ( STDMETHODCALLTYPE *OnBatteryPower )(
  302. ISensOnNow * This,
  303. /* [in] */ DWORD dwBatteryLifePercent);
  304. /* [id] */ HRESULT ( STDMETHODCALLTYPE *BatteryLow )(
  305. ISensOnNow * This,
  306. /* [in] */ DWORD dwBatteryLifePercent);
  307. END_INTERFACE
  308. } ISensOnNowVtbl;
  309. interface ISensOnNow
  310. {
  311. CONST_VTBL struct ISensOnNowVtbl *lpVtbl;
  312. };
  313. #ifdef COBJMACROS
  314. #define ISensOnNow_QueryInterface(This,riid,ppvObject) \
  315. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  316. #define ISensOnNow_AddRef(This) \
  317. (This)->lpVtbl -> AddRef(This)
  318. #define ISensOnNow_Release(This) \
  319. (This)->lpVtbl -> Release(This)
  320. #define ISensOnNow_GetTypeInfoCount(This,pctinfo) \
  321. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  322. #define ISensOnNow_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  323. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  324. #define ISensOnNow_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  325. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  326. #define ISensOnNow_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  327. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  328. #define ISensOnNow_OnACPower(This) \
  329. (This)->lpVtbl -> OnACPower(This)
  330. #define ISensOnNow_OnBatteryPower(This,dwBatteryLifePercent) \
  331. (This)->lpVtbl -> OnBatteryPower(This,dwBatteryLifePercent)
  332. #define ISensOnNow_BatteryLow(This,dwBatteryLifePercent) \
  333. (This)->lpVtbl -> BatteryLow(This,dwBatteryLifePercent)
  334. #endif /* COBJMACROS */
  335. #endif /* C style interface */
  336. /* [id] */ HRESULT STDMETHODCALLTYPE ISensOnNow_OnACPower_Proxy(
  337. ISensOnNow * This);
  338. void __RPC_STUB ISensOnNow_OnACPower_Stub(
  339. IRpcStubBuffer *This,
  340. IRpcChannelBuffer *_pRpcChannelBuffer,
  341. PRPC_MESSAGE _pRpcMessage,
  342. DWORD *_pdwStubPhase);
  343. /* [id] */ HRESULT STDMETHODCALLTYPE ISensOnNow_OnBatteryPower_Proxy(
  344. ISensOnNow * This,
  345. /* [in] */ DWORD dwBatteryLifePercent);
  346. void __RPC_STUB ISensOnNow_OnBatteryPower_Stub(
  347. IRpcStubBuffer *This,
  348. IRpcChannelBuffer *_pRpcChannelBuffer,
  349. PRPC_MESSAGE _pRpcMessage,
  350. DWORD *_pdwStubPhase);
  351. /* [id] */ HRESULT STDMETHODCALLTYPE ISensOnNow_BatteryLow_Proxy(
  352. ISensOnNow * This,
  353. /* [in] */ DWORD dwBatteryLifePercent);
  354. void __RPC_STUB ISensOnNow_BatteryLow_Stub(
  355. IRpcStubBuffer *This,
  356. IRpcChannelBuffer *_pRpcChannelBuffer,
  357. PRPC_MESSAGE _pRpcMessage,
  358. DWORD *_pdwStubPhase);
  359. #endif /* __ISensOnNow_INTERFACE_DEFINED__ */
  360. #ifndef __ISensLogon_INTERFACE_DEFINED__
  361. #define __ISensLogon_INTERFACE_DEFINED__
  362. /* interface ISensLogon */
  363. /* [dual][helpstring][version][uuid][object] */
  364. EXTERN_C const IID IID_ISensLogon;
  365. #if defined(__cplusplus) && !defined(CINTERFACE)
  366. MIDL_INTERFACE("d597bab3-5b9f-11d1-8dd2-00aa004abd5e")
  367. ISensLogon : public IDispatch
  368. {
  369. public:
  370. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Logon(
  371. /* [in] */ BSTR bstrUserName) = 0;
  372. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Logoff(
  373. /* [in] */ BSTR bstrUserName) = 0;
  374. virtual /* [id] */ HRESULT STDMETHODCALLTYPE StartShell(
  375. /* [in] */ BSTR bstrUserName) = 0;
  376. virtual /* [id] */ HRESULT STDMETHODCALLTYPE DisplayLock(
  377. /* [in] */ BSTR bstrUserName) = 0;
  378. virtual /* [id] */ HRESULT STDMETHODCALLTYPE DisplayUnlock(
  379. /* [in] */ BSTR bstrUserName) = 0;
  380. virtual /* [id] */ HRESULT STDMETHODCALLTYPE StartScreenSaver(
  381. /* [in] */ BSTR bstrUserName) = 0;
  382. virtual /* [id] */ HRESULT STDMETHODCALLTYPE StopScreenSaver(
  383. /* [in] */ BSTR bstrUserName) = 0;
  384. };
  385. #else /* C style interface */
  386. typedef struct ISensLogonVtbl
  387. {
  388. BEGIN_INTERFACE
  389. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  390. ISensLogon * This,
  391. /* [in] */ REFIID riid,
  392. /* [iid_is][out] */ void **ppvObject);
  393. ULONG ( STDMETHODCALLTYPE *AddRef )(
  394. ISensLogon * This);
  395. ULONG ( STDMETHODCALLTYPE *Release )(
  396. ISensLogon * This);
  397. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  398. ISensLogon * This,
  399. /* [out] */ UINT *pctinfo);
  400. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  401. ISensLogon * This,
  402. /* [in] */ UINT iTInfo,
  403. /* [in] */ LCID lcid,
  404. /* [out] */ ITypeInfo **ppTInfo);
  405. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  406. ISensLogon * This,
  407. /* [in] */ REFIID riid,
  408. /* [size_is][in] */ LPOLESTR *rgszNames,
  409. /* [in] */ UINT cNames,
  410. /* [in] */ LCID lcid,
  411. /* [size_is][out] */ DISPID *rgDispId);
  412. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  413. ISensLogon * This,
  414. /* [in] */ DISPID dispIdMember,
  415. /* [in] */ REFIID riid,
  416. /* [in] */ LCID lcid,
  417. /* [in] */ WORD wFlags,
  418. /* [out][in] */ DISPPARAMS *pDispParams,
  419. /* [out] */ VARIANT *pVarResult,
  420. /* [out] */ EXCEPINFO *pExcepInfo,
  421. /* [out] */ UINT *puArgErr);
  422. /* [id] */ HRESULT ( STDMETHODCALLTYPE *Logon )(
  423. ISensLogon * This,
  424. /* [in] */ BSTR bstrUserName);
  425. /* [id] */ HRESULT ( STDMETHODCALLTYPE *Logoff )(
  426. ISensLogon * This,
  427. /* [in] */ BSTR bstrUserName);
  428. /* [id] */ HRESULT ( STDMETHODCALLTYPE *StartShell )(
  429. ISensLogon * This,
  430. /* [in] */ BSTR bstrUserName);
  431. /* [id] */ HRESULT ( STDMETHODCALLTYPE *DisplayLock )(
  432. ISensLogon * This,
  433. /* [in] */ BSTR bstrUserName);
  434. /* [id] */ HRESULT ( STDMETHODCALLTYPE *DisplayUnlock )(
  435. ISensLogon * This,
  436. /* [in] */ BSTR bstrUserName);
  437. /* [id] */ HRESULT ( STDMETHODCALLTYPE *StartScreenSaver )(
  438. ISensLogon * This,
  439. /* [in] */ BSTR bstrUserName);
  440. /* [id] */ HRESULT ( STDMETHODCALLTYPE *StopScreenSaver )(
  441. ISensLogon * This,
  442. /* [in] */ BSTR bstrUserName);
  443. END_INTERFACE
  444. } ISensLogonVtbl;
  445. interface ISensLogon
  446. {
  447. CONST_VTBL struct ISensLogonVtbl *lpVtbl;
  448. };
  449. #ifdef COBJMACROS
  450. #define ISensLogon_QueryInterface(This,riid,ppvObject) \
  451. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  452. #define ISensLogon_AddRef(This) \
  453. (This)->lpVtbl -> AddRef(This)
  454. #define ISensLogon_Release(This) \
  455. (This)->lpVtbl -> Release(This)
  456. #define ISensLogon_GetTypeInfoCount(This,pctinfo) \
  457. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  458. #define ISensLogon_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  459. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  460. #define ISensLogon_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  461. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  462. #define ISensLogon_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  463. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  464. #define ISensLogon_Logon(This,bstrUserName) \
  465. (This)->lpVtbl -> Logon(This,bstrUserName)
  466. #define ISensLogon_Logoff(This,bstrUserName) \
  467. (This)->lpVtbl -> Logoff(This,bstrUserName)
  468. #define ISensLogon_StartShell(This,bstrUserName) \
  469. (This)->lpVtbl -> StartShell(This,bstrUserName)
  470. #define ISensLogon_DisplayLock(This,bstrUserName) \
  471. (This)->lpVtbl -> DisplayLock(This,bstrUserName)
  472. #define ISensLogon_DisplayUnlock(This,bstrUserName) \
  473. (This)->lpVtbl -> DisplayUnlock(This,bstrUserName)
  474. #define ISensLogon_StartScreenSaver(This,bstrUserName) \
  475. (This)->lpVtbl -> StartScreenSaver(This,bstrUserName)
  476. #define ISensLogon_StopScreenSaver(This,bstrUserName) \
  477. (This)->lpVtbl -> StopScreenSaver(This,bstrUserName)
  478. #endif /* COBJMACROS */
  479. #endif /* C style interface */
  480. /* [id] */ HRESULT STDMETHODCALLTYPE ISensLogon_Logon_Proxy(
  481. ISensLogon * This,
  482. /* [in] */ BSTR bstrUserName);
  483. void __RPC_STUB ISensLogon_Logon_Stub(
  484. IRpcStubBuffer *This,
  485. IRpcChannelBuffer *_pRpcChannelBuffer,
  486. PRPC_MESSAGE _pRpcMessage,
  487. DWORD *_pdwStubPhase);
  488. /* [id] */ HRESULT STDMETHODCALLTYPE ISensLogon_Logoff_Proxy(
  489. ISensLogon * This,
  490. /* [in] */ BSTR bstrUserName);
  491. void __RPC_STUB ISensLogon_Logoff_Stub(
  492. IRpcStubBuffer *This,
  493. IRpcChannelBuffer *_pRpcChannelBuffer,
  494. PRPC_MESSAGE _pRpcMessage,
  495. DWORD *_pdwStubPhase);
  496. /* [id] */ HRESULT STDMETHODCALLTYPE ISensLogon_StartShell_Proxy(
  497. ISensLogon * This,
  498. /* [in] */ BSTR bstrUserName);
  499. void __RPC_STUB ISensLogon_StartShell_Stub(
  500. IRpcStubBuffer *This,
  501. IRpcChannelBuffer *_pRpcChannelBuffer,
  502. PRPC_MESSAGE _pRpcMessage,
  503. DWORD *_pdwStubPhase);
  504. /* [id] */ HRESULT STDMETHODCALLTYPE ISensLogon_DisplayLock_Proxy(
  505. ISensLogon * This,
  506. /* [in] */ BSTR bstrUserName);
  507. void __RPC_STUB ISensLogon_DisplayLock_Stub(
  508. IRpcStubBuffer *This,
  509. IRpcChannelBuffer *_pRpcChannelBuffer,
  510. PRPC_MESSAGE _pRpcMessage,
  511. DWORD *_pdwStubPhase);
  512. /* [id] */ HRESULT STDMETHODCALLTYPE ISensLogon_DisplayUnlock_Proxy(
  513. ISensLogon * This,
  514. /* [in] */ BSTR bstrUserName);
  515. void __RPC_STUB ISensLogon_DisplayUnlock_Stub(
  516. IRpcStubBuffer *This,
  517. IRpcChannelBuffer *_pRpcChannelBuffer,
  518. PRPC_MESSAGE _pRpcMessage,
  519. DWORD *_pdwStubPhase);
  520. /* [id] */ HRESULT STDMETHODCALLTYPE ISensLogon_StartScreenSaver_Proxy(
  521. ISensLogon * This,
  522. /* [in] */ BSTR bstrUserName);
  523. void __RPC_STUB ISensLogon_StartScreenSaver_Stub(
  524. IRpcStubBuffer *This,
  525. IRpcChannelBuffer *_pRpcChannelBuffer,
  526. PRPC_MESSAGE _pRpcMessage,
  527. DWORD *_pdwStubPhase);
  528. /* [id] */ HRESULT STDMETHODCALLTYPE ISensLogon_StopScreenSaver_Proxy(
  529. ISensLogon * This,
  530. /* [in] */ BSTR bstrUserName);
  531. void __RPC_STUB ISensLogon_StopScreenSaver_Stub(
  532. IRpcStubBuffer *This,
  533. IRpcChannelBuffer *_pRpcChannelBuffer,
  534. PRPC_MESSAGE _pRpcMessage,
  535. DWORD *_pdwStubPhase);
  536. #endif /* __ISensLogon_INTERFACE_DEFINED__ */
  537. #ifndef __ISensLogon2_INTERFACE_DEFINED__
  538. #define __ISensLogon2_INTERFACE_DEFINED__
  539. /* interface ISensLogon2 */
  540. /* [dual][helpstring][version][uuid][object] */
  541. EXTERN_C const IID IID_ISensLogon2;
  542. #if defined(__cplusplus) && !defined(CINTERFACE)
  543. MIDL_INTERFACE("d597bab4-5b9f-11d1-8dd2-00aa004abd5e")
  544. ISensLogon2 : public IDispatch
  545. {
  546. public:
  547. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Logon(
  548. /* [in] */ BSTR bstrUserName,
  549. /* [in] */ DWORD dwSessionId) = 0;
  550. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Logoff(
  551. /* [in] */ BSTR bstrUserName,
  552. /* [in] */ DWORD dwSessionId) = 0;
  553. virtual /* [id] */ HRESULT STDMETHODCALLTYPE SessionDisconnect(
  554. /* [in] */ BSTR bstrUserName,
  555. /* [in] */ DWORD dwSessionId) = 0;
  556. virtual /* [id] */ HRESULT STDMETHODCALLTYPE SessionReconnect(
  557. /* [in] */ BSTR bstrUserName,
  558. /* [in] */ DWORD dwSessionId) = 0;
  559. virtual /* [id] */ HRESULT STDMETHODCALLTYPE PostShell(
  560. /* [in] */ BSTR bstrUserName,
  561. /* [in] */ DWORD dwSessionId) = 0;
  562. };
  563. #else /* C style interface */
  564. typedef struct ISensLogon2Vtbl
  565. {
  566. BEGIN_INTERFACE
  567. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  568. ISensLogon2 * This,
  569. /* [in] */ REFIID riid,
  570. /* [iid_is][out] */ void **ppvObject);
  571. ULONG ( STDMETHODCALLTYPE *AddRef )(
  572. ISensLogon2 * This);
  573. ULONG ( STDMETHODCALLTYPE *Release )(
  574. ISensLogon2 * This);
  575. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  576. ISensLogon2 * This,
  577. /* [out] */ UINT *pctinfo);
  578. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  579. ISensLogon2 * This,
  580. /* [in] */ UINT iTInfo,
  581. /* [in] */ LCID lcid,
  582. /* [out] */ ITypeInfo **ppTInfo);
  583. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  584. ISensLogon2 * This,
  585. /* [in] */ REFIID riid,
  586. /* [size_is][in] */ LPOLESTR *rgszNames,
  587. /* [in] */ UINT cNames,
  588. /* [in] */ LCID lcid,
  589. /* [size_is][out] */ DISPID *rgDispId);
  590. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  591. ISensLogon2 * This,
  592. /* [in] */ DISPID dispIdMember,
  593. /* [in] */ REFIID riid,
  594. /* [in] */ LCID lcid,
  595. /* [in] */ WORD wFlags,
  596. /* [out][in] */ DISPPARAMS *pDispParams,
  597. /* [out] */ VARIANT *pVarResult,
  598. /* [out] */ EXCEPINFO *pExcepInfo,
  599. /* [out] */ UINT *puArgErr);
  600. /* [id] */ HRESULT ( STDMETHODCALLTYPE *Logon )(
  601. ISensLogon2 * This,
  602. /* [in] */ BSTR bstrUserName,
  603. /* [in] */ DWORD dwSessionId);
  604. /* [id] */ HRESULT ( STDMETHODCALLTYPE *Logoff )(
  605. ISensLogon2 * This,
  606. /* [in] */ BSTR bstrUserName,
  607. /* [in] */ DWORD dwSessionId);
  608. /* [id] */ HRESULT ( STDMETHODCALLTYPE *SessionDisconnect )(
  609. ISensLogon2 * This,
  610. /* [in] */ BSTR bstrUserName,
  611. /* [in] */ DWORD dwSessionId);
  612. /* [id] */ HRESULT ( STDMETHODCALLTYPE *SessionReconnect )(
  613. ISensLogon2 * This,
  614. /* [in] */ BSTR bstrUserName,
  615. /* [in] */ DWORD dwSessionId);
  616. /* [id] */ HRESULT ( STDMETHODCALLTYPE *PostShell )(
  617. ISensLogon2 * This,
  618. /* [in] */ BSTR bstrUserName,
  619. /* [in] */ DWORD dwSessionId);
  620. END_INTERFACE
  621. } ISensLogon2Vtbl;
  622. interface ISensLogon2
  623. {
  624. CONST_VTBL struct ISensLogon2Vtbl *lpVtbl;
  625. };
  626. #ifdef COBJMACROS
  627. #define ISensLogon2_QueryInterface(This,riid,ppvObject) \
  628. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  629. #define ISensLogon2_AddRef(This) \
  630. (This)->lpVtbl -> AddRef(This)
  631. #define ISensLogon2_Release(This) \
  632. (This)->lpVtbl -> Release(This)
  633. #define ISensLogon2_GetTypeInfoCount(This,pctinfo) \
  634. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  635. #define ISensLogon2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  636. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  637. #define ISensLogon2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  638. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  639. #define ISensLogon2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  640. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  641. #define ISensLogon2_Logon(This,bstrUserName,dwSessionId) \
  642. (This)->lpVtbl -> Logon(This,bstrUserName,dwSessionId)
  643. #define ISensLogon2_Logoff(This,bstrUserName,dwSessionId) \
  644. (This)->lpVtbl -> Logoff(This,bstrUserName,dwSessionId)
  645. #define ISensLogon2_SessionDisconnect(This,bstrUserName,dwSessionId) \
  646. (This)->lpVtbl -> SessionDisconnect(This,bstrUserName,dwSessionId)
  647. #define ISensLogon2_SessionReconnect(This,bstrUserName,dwSessionId) \
  648. (This)->lpVtbl -> SessionReconnect(This,bstrUserName,dwSessionId)
  649. #define ISensLogon2_PostShell(This,bstrUserName,dwSessionId) \
  650. (This)->lpVtbl -> PostShell(This,bstrUserName,dwSessionId)
  651. #endif /* COBJMACROS */
  652. #endif /* C style interface */
  653. /* [id] */ HRESULT STDMETHODCALLTYPE ISensLogon2_Logon_Proxy(
  654. ISensLogon2 * This,
  655. /* [in] */ BSTR bstrUserName,
  656. /* [in] */ DWORD dwSessionId);
  657. void __RPC_STUB ISensLogon2_Logon_Stub(
  658. IRpcStubBuffer *This,
  659. IRpcChannelBuffer *_pRpcChannelBuffer,
  660. PRPC_MESSAGE _pRpcMessage,
  661. DWORD *_pdwStubPhase);
  662. /* [id] */ HRESULT STDMETHODCALLTYPE ISensLogon2_Logoff_Proxy(
  663. ISensLogon2 * This,
  664. /* [in] */ BSTR bstrUserName,
  665. /* [in] */ DWORD dwSessionId);
  666. void __RPC_STUB ISensLogon2_Logoff_Stub(
  667. IRpcStubBuffer *This,
  668. IRpcChannelBuffer *_pRpcChannelBuffer,
  669. PRPC_MESSAGE _pRpcMessage,
  670. DWORD *_pdwStubPhase);
  671. /* [id] */ HRESULT STDMETHODCALLTYPE ISensLogon2_SessionDisconnect_Proxy(
  672. ISensLogon2 * This,
  673. /* [in] */ BSTR bstrUserName,
  674. /* [in] */ DWORD dwSessionId);
  675. void __RPC_STUB ISensLogon2_SessionDisconnect_Stub(
  676. IRpcStubBuffer *This,
  677. IRpcChannelBuffer *_pRpcChannelBuffer,
  678. PRPC_MESSAGE _pRpcMessage,
  679. DWORD *_pdwStubPhase);
  680. /* [id] */ HRESULT STDMETHODCALLTYPE ISensLogon2_SessionReconnect_Proxy(
  681. ISensLogon2 * This,
  682. /* [in] */ BSTR bstrUserName,
  683. /* [in] */ DWORD dwSessionId);
  684. void __RPC_STUB ISensLogon2_SessionReconnect_Stub(
  685. IRpcStubBuffer *This,
  686. IRpcChannelBuffer *_pRpcChannelBuffer,
  687. PRPC_MESSAGE _pRpcMessage,
  688. DWORD *_pdwStubPhase);
  689. /* [id] */ HRESULT STDMETHODCALLTYPE ISensLogon2_PostShell_Proxy(
  690. ISensLogon2 * This,
  691. /* [in] */ BSTR bstrUserName,
  692. /* [in] */ DWORD dwSessionId);
  693. void __RPC_STUB ISensLogon2_PostShell_Stub(
  694. IRpcStubBuffer *This,
  695. IRpcChannelBuffer *_pRpcChannelBuffer,
  696. PRPC_MESSAGE _pRpcMessage,
  697. DWORD *_pdwStubPhase);
  698. #endif /* __ISensLogon2_INTERFACE_DEFINED__ */
  699. EXTERN_C const CLSID CLSID_SENS;
  700. #ifdef __cplusplus
  701. class DECLSPEC_UUID("d597cafe-5b9f-11d1-8dd2-00aa004abd5e")
  702. SENS;
  703. #endif
  704. #endif /* __SensEvents_LIBRARY_DEFINED__ */
  705. /* Additional Prototypes for ALL interfaces */
  706. /* end of Additional Prototypes */
  707. #ifdef __cplusplus
  708. }
  709. #endif
  710. #endif