home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 9 / IOPROG_9.ISO / contrib / iis4 / iis4_07.cab / NetAuth.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-09-05  |  12.2 KB  |  384 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 3.01.75 */
  5. /* at Fri Sep 05 17:30:29 1997
  6.  */
  7. /* Compiler settings for NetAuth.idl:
  8.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: none
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12. #include "rpc.h"
  13. #include "rpcndr.h"
  14. #ifndef COM_NO_WINDOWS_H
  15. #include "windows.h"
  16. #include "ole2.h"
  17. #endif /*COM_NO_WINDOWS_H*/
  18.  
  19. #ifndef __NetAuth_h__
  20. #define __NetAuth_h__
  21.  
  22. #ifdef __cplusplus
  23. extern "C"{
  24. #endif 
  25.  
  26. /* Forward Declarations */ 
  27.  
  28. #ifndef __IAuth_FWD_DEFINED__
  29. #define __IAuth_FWD_DEFINED__
  30. typedef interface IAuth IAuth;
  31. #endif     /* __IAuth_FWD_DEFINED__ */
  32.  
  33.  
  34. #ifndef __Auth_FWD_DEFINED__
  35. #define __Auth_FWD_DEFINED__
  36.  
  37. #ifdef __cplusplus
  38. typedef class Auth Auth;
  39. #else
  40. typedef struct Auth Auth;
  41. #endif /* __cplusplus */
  42.  
  43. #endif     /* __Auth_FWD_DEFINED__ */
  44.  
  45.  
  46. /* header files for imported files */
  47. #include "oaidl.h"
  48. #include "ocidl.h"
  49.  
  50. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  51. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  52.  
  53. #ifndef __IAuth_INTERFACE_DEFINED__
  54. #define __IAuth_INTERFACE_DEFINED__
  55.  
  56. /****************************************
  57.  * Generated header for interface: IAuth
  58.  * at Fri Sep 05 17:30:29 1997
  59.  * using MIDL 3.01.75
  60.  ****************************************/
  61. /* [unique][helpstring][dual][uuid][object] */ 
  62.  
  63.  
  64.  
  65. EXTERN_C const IID IID_IAuth;
  66.  
  67. #if defined(__cplusplus) && !defined(CINTERFACE)
  68.     
  69.     interface DECLSPEC_UUID("5544A00E-1E4C-11D1-A929-0080C7E28895")
  70.     IAuth : public IDispatch
  71.     {
  72.     public:
  73.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum( 
  74.             /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *retval) = 0;
  75.         
  76.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Username( 
  77.             /* [retval][out] */ BSTR __RPC_FAR *pstrUserName) = 0;
  78.         
  79.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Username( 
  80.             /* [in] */ BSTR strUserName) = 0;
  81.         
  82.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Domain( 
  83.             /* [retval][out] */ BSTR __RPC_FAR *bstrDomain) = 0;
  84.         
  85.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AuthMethod( 
  86.             /* [retval][out] */ BSTR __RPC_FAR *pbstrMethod) = 0;
  87.         
  88.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UsingHTTPS( 
  89.             /* [retval][out] */ BSTR __RPC_FAR *pbstrUsingHTTPS) = 0;
  90.         
  91.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsAdmin( 
  92.             /* [retval][out] */ BOOL __RPC_FAR *pfIsAdmin) = 0;
  93.         
  94.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsInGroup( 
  95.             /* [in] */ BSTR bstrGroupName,
  96.             /* [retval][out] */ BOOL __RPC_FAR *pfIsInGroup) = 0;
  97.         
  98.     };
  99.     
  100. #else     /* C style interface */
  101.  
  102.     typedef struct IAuthVtbl
  103.     {
  104.         BEGIN_INTERFACE
  105.         
  106.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  107.             IAuth __RPC_FAR * This,
  108.             /* [in] */ REFIID riid,
  109.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  110.         
  111.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  112.             IAuth __RPC_FAR * This);
  113.         
  114.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  115.             IAuth __RPC_FAR * This);
  116.         
  117.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  118.             IAuth __RPC_FAR * This,
  119.             /* [out] */ UINT __RPC_FAR *pctinfo);
  120.         
  121.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  122.             IAuth __RPC_FAR * This,
  123.             /* [in] */ UINT iTInfo,
  124.             /* [in] */ LCID lcid,
  125.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  126.         
  127.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  128.             IAuth __RPC_FAR * This,
  129.             /* [in] */ REFIID riid,
  130.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  131.             /* [in] */ UINT cNames,
  132.             /* [in] */ LCID lcid,
  133.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  134.         
  135.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  136.             IAuth __RPC_FAR * This,
  137.             /* [in] */ DISPID dispIdMember,
  138.             /* [in] */ REFIID riid,
  139.             /* [in] */ LCID lcid,
  140.             /* [in] */ WORD wFlags,
  141.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  142.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  143.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  144.             /* [out] */ UINT __RPC_FAR *puArgErr);
  145.         
  146.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get__NewEnum )( 
  147.             IAuth __RPC_FAR * This,
  148.             /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *retval);
  149.         
  150.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Username )( 
  151.             IAuth __RPC_FAR * This,
  152.             /* [retval][out] */ BSTR __RPC_FAR *pstrUserName);
  153.         
  154.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Username )( 
  155.             IAuth __RPC_FAR * This,
  156.             /* [in] */ BSTR strUserName);
  157.         
  158.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Domain )( 
  159.             IAuth __RPC_FAR * This,
  160.             /* [retval][out] */ BSTR __RPC_FAR *bstrDomain);
  161.         
  162.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_AuthMethod )( 
  163.             IAuth __RPC_FAR * This,
  164.             /* [retval][out] */ BSTR __RPC_FAR *pbstrMethod);
  165.         
  166.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_UsingHTTPS )( 
  167.             IAuth __RPC_FAR * This,
  168.             /* [retval][out] */ BSTR __RPC_FAR *pbstrUsingHTTPS);
  169.         
  170.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_IsAdmin )( 
  171.             IAuth __RPC_FAR * This,
  172.             /* [retval][out] */ BOOL __RPC_FAR *pfIsAdmin);
  173.         
  174.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_IsInGroup )( 
  175.             IAuth __RPC_FAR * This,
  176.             /* [in] */ BSTR bstrGroupName,
  177.             /* [retval][out] */ BOOL __RPC_FAR *pfIsInGroup);
  178.         
  179.         END_INTERFACE
  180.     } IAuthVtbl;
  181.  
  182.     interface IAuth
  183.     {
  184.         CONST_VTBL struct IAuthVtbl __RPC_FAR *lpVtbl;
  185.     };
  186.  
  187.     
  188.  
  189. #ifdef COBJMACROS
  190.  
  191.  
  192. #define IAuth_QueryInterface(This,riid,ppvObject)    \
  193.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  194.  
  195. #define IAuth_AddRef(This)    \
  196.     (This)->lpVtbl -> AddRef(This)
  197.  
  198. #define IAuth_Release(This)    \
  199.     (This)->lpVtbl -> Release(This)
  200.  
  201.  
  202. #define IAuth_GetTypeInfoCount(This,pctinfo)    \
  203.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  204.  
  205. #define IAuth_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  206.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  207.  
  208. #define IAuth_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  209.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  210.  
  211. #define IAuth_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  212.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  213.  
  214.  
  215. #define IAuth_get__NewEnum(This,retval)    \
  216.     (This)->lpVtbl -> get__NewEnum(This,retval)
  217.  
  218. #define IAuth_get_Username(This,pstrUserName)    \
  219.     (This)->lpVtbl -> get_Username(This,pstrUserName)
  220.  
  221. #define IAuth_put_Username(This,strUserName)    \
  222.     (This)->lpVtbl -> put_Username(This,strUserName)
  223.  
  224. #define IAuth_get_Domain(This,bstrDomain)    \
  225.     (This)->lpVtbl -> get_Domain(This,bstrDomain)
  226.  
  227. #define IAuth_get_AuthMethod(This,pbstrMethod)    \
  228.     (This)->lpVtbl -> get_AuthMethod(This,pbstrMethod)
  229.  
  230. #define IAuth_get_UsingHTTPS(This,pbstrUsingHTTPS)    \
  231.     (This)->lpVtbl -> get_UsingHTTPS(This,pbstrUsingHTTPS)
  232.  
  233. #define IAuth_get_IsAdmin(This,pfIsAdmin)    \
  234.     (This)->lpVtbl -> get_IsAdmin(This,pfIsAdmin)
  235.  
  236. #define IAuth_get_IsInGroup(This,bstrGroupName,pfIsInGroup)    \
  237.     (This)->lpVtbl -> get_IsInGroup(This,bstrGroupName,pfIsInGroup)
  238.  
  239. #endif /* COBJMACROS */
  240.  
  241.  
  242. #endif     /* C style interface */
  243.  
  244.  
  245.  
  246. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IAuth_get__NewEnum_Proxy( 
  247.     IAuth __RPC_FAR * This,
  248.     /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *retval);
  249.  
  250.  
  251. void __RPC_STUB IAuth_get__NewEnum_Stub(
  252.     IRpcStubBuffer *This,
  253.     IRpcChannelBuffer *_pRpcChannelBuffer,
  254.     PRPC_MESSAGE _pRpcMessage,
  255.     DWORD *_pdwStubPhase);
  256.  
  257.  
  258. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IAuth_get_Username_Proxy( 
  259.     IAuth __RPC_FAR * This,
  260.     /* [retval][out] */ BSTR __RPC_FAR *pstrUserName);
  261.  
  262.  
  263. void __RPC_STUB IAuth_get_Username_Stub(
  264.     IRpcStubBuffer *This,
  265.     IRpcChannelBuffer *_pRpcChannelBuffer,
  266.     PRPC_MESSAGE _pRpcMessage,
  267.     DWORD *_pdwStubPhase);
  268.  
  269.  
  270. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IAuth_put_Username_Proxy( 
  271.     IAuth __RPC_FAR * This,
  272.     /* [in] */ BSTR strUserName);
  273.  
  274.  
  275. void __RPC_STUB IAuth_put_Username_Stub(
  276.     IRpcStubBuffer *This,
  277.     IRpcChannelBuffer *_pRpcChannelBuffer,
  278.     PRPC_MESSAGE _pRpcMessage,
  279.     DWORD *_pdwStubPhase);
  280.  
  281.  
  282. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IAuth_get_Domain_Proxy( 
  283.     IAuth __RPC_FAR * This,
  284.     /* [retval][out] */ BSTR __RPC_FAR *bstrDomain);
  285.  
  286.  
  287. void __RPC_STUB IAuth_get_Domain_Stub(
  288.     IRpcStubBuffer *This,
  289.     IRpcChannelBuffer *_pRpcChannelBuffer,
  290.     PRPC_MESSAGE _pRpcMessage,
  291.     DWORD *_pdwStubPhase);
  292.  
  293.  
  294. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IAuth_get_AuthMethod_Proxy( 
  295.     IAuth __RPC_FAR * This,
  296.     /* [retval][out] */ BSTR __RPC_FAR *pbstrMethod);
  297.  
  298.  
  299. void __RPC_STUB IAuth_get_AuthMethod_Stub(
  300.     IRpcStubBuffer *This,
  301.     IRpcChannelBuffer *_pRpcChannelBuffer,
  302.     PRPC_MESSAGE _pRpcMessage,
  303.     DWORD *_pdwStubPhase);
  304.  
  305.  
  306. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IAuth_get_UsingHTTPS_Proxy( 
  307.     IAuth __RPC_FAR * This,
  308.     /* [retval][out] */ BSTR __RPC_FAR *pbstrUsingHTTPS);
  309.  
  310.  
  311. void __RPC_STUB IAuth_get_UsingHTTPS_Stub(
  312.     IRpcStubBuffer *This,
  313.     IRpcChannelBuffer *_pRpcChannelBuffer,
  314.     PRPC_MESSAGE _pRpcMessage,
  315.     DWORD *_pdwStubPhase);
  316.  
  317.  
  318. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IAuth_get_IsAdmin_Proxy( 
  319.     IAuth __RPC_FAR * This,
  320.     /* [retval][out] */ BOOL __RPC_FAR *pfIsAdmin);
  321.  
  322.  
  323. void __RPC_STUB IAuth_get_IsAdmin_Stub(
  324.     IRpcStubBuffer *This,
  325.     IRpcChannelBuffer *_pRpcChannelBuffer,
  326.     PRPC_MESSAGE _pRpcMessage,
  327.     DWORD *_pdwStubPhase);
  328.  
  329.  
  330. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IAuth_get_IsInGroup_Proxy( 
  331.     IAuth __RPC_FAR * This,
  332.     /* [in] */ BSTR bstrGroupName,
  333.     /* [retval][out] */ BOOL __RPC_FAR *pfIsInGroup);
  334.  
  335.  
  336. void __RPC_STUB IAuth_get_IsInGroup_Stub(
  337.     IRpcStubBuffer *This,
  338.     IRpcChannelBuffer *_pRpcChannelBuffer,
  339.     PRPC_MESSAGE _pRpcMessage,
  340.     DWORD *_pdwStubPhase);
  341.  
  342.  
  343.  
  344. #endif     /* __IAuth_INTERFACE_DEFINED__ */
  345.  
  346.  
  347.  
  348. #ifndef __NETAUTHLib_LIBRARY_DEFINED__
  349. #define __NETAUTHLib_LIBRARY_DEFINED__
  350.  
  351. /****************************************
  352.  * Generated header for library: NETAUTHLib
  353.  * at Fri Sep 05 17:30:29 1997
  354.  * using MIDL 3.01.75
  355.  ****************************************/
  356. /* [helpstring][version][uuid] */ 
  357.  
  358.  
  359.  
  360. EXTERN_C const IID LIBID_NETAUTHLib;
  361.  
  362. #ifdef __cplusplus
  363. EXTERN_C const CLSID CLSID_Auth;
  364.  
  365. class DECLSPEC_UUID("5544A00F-1E4C-11D1-A929-0080C7E28895")
  366. Auth;
  367. #endif
  368. #endif /* __NETAUTHLib_LIBRARY_DEFINED__ */
  369.  
  370. /* Additional Prototypes for ALL interfaces */
  371.  
  372. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long __RPC_FAR *, unsigned long            , BSTR __RPC_FAR * ); 
  373. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  374. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  375. void                      __RPC_USER  BSTR_UserFree(     unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); 
  376.  
  377. /* end of Additional Prototypes */
  378.  
  379. #ifdef __cplusplus
  380. }
  381. #endif
  382.  
  383. #endif
  384.