home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Internet 2000 May / MICD_2000_05.iso / CBuilder5 / INSTALL / DATA1.CAB / Program_Built_Files / Include / sensevts.h < prev    next >
C/C++ Source or Header  |  2000-02-01  |  26KB  |  799 lines

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