home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / Runimage / Cbuilder4 / Include / CERTENC.H < prev    next >
Encoding:
C/C++ Source or Header  |  1999-01-26  |  80.5 KB  |  2,419 lines

  1. #pragma option push -b -a8 -pc -A- /*P_O_Push_S*/
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3.  
  4.  
  5. /* File created by MIDL compiler version 3.03.0106 */
  6. /* at Mon Aug 11 14:43:15 1997
  7.  */
  8. /* Compiler settings for certenc.idl:
  9.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  10.     error checks: none
  11. */
  12. //@@MIDL_FILE_HEADING(  )
  13.  
  14.  
  15. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  16. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  17. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  18. #endif
  19.  
  20. #include "rpc.h"
  21. #include "rpcndr.h"
  22.  
  23. #ifndef __RPCNDR_H_VERSION__
  24. #error this stub requires an updated version of <rpcndr.h>
  25. #endif // __RPCNDR_H_VERSION__
  26.  
  27. #ifndef COM_NO_WINDOWS_H
  28. #include "windows.h"
  29. #include "ole2.h"
  30. #endif /*COM_NO_WINDOWS_H*/
  31.  
  32. #ifndef __certenc_h__
  33. #define __certenc_h__
  34.  
  35. #ifdef __cplusplus
  36. extern "C"{
  37. #endif 
  38.  
  39. /* Forward Declarations */ 
  40.  
  41. #ifndef __ICertEncodeStringArray_FWD_DEFINED__
  42. #define __ICertEncodeStringArray_FWD_DEFINED__
  43. typedef interface ICertEncodeStringArray ICertEncodeStringArray;
  44. #endif     /* __ICertEncodeStringArray_FWD_DEFINED__ */
  45.  
  46.  
  47. #ifndef __ICertEncodeLongArray_FWD_DEFINED__
  48. #define __ICertEncodeLongArray_FWD_DEFINED__
  49. typedef interface ICertEncodeLongArray ICertEncodeLongArray;
  50. #endif     /* __ICertEncodeLongArray_FWD_DEFINED__ */
  51.  
  52.  
  53. #ifndef __ICertEncodeDateArray_FWD_DEFINED__
  54. #define __ICertEncodeDateArray_FWD_DEFINED__
  55. typedef interface ICertEncodeDateArray ICertEncodeDateArray;
  56. #endif     /* __ICertEncodeDateArray_FWD_DEFINED__ */
  57.  
  58.  
  59. #ifndef __ICertEncodeSampleStructure1_FWD_DEFINED__
  60. #define __ICertEncodeSampleStructure1_FWD_DEFINED__
  61. typedef interface ICertEncodeSampleStructure1 ICertEncodeSampleStructure1;
  62. #endif     /* __ICertEncodeSampleStructure1_FWD_DEFINED__ */
  63.  
  64.  
  65. #ifndef __ICertEncodeSampleStructure2_FWD_DEFINED__
  66. #define __ICertEncodeSampleStructure2_FWD_DEFINED__
  67. typedef interface ICertEncodeSampleStructure2 ICertEncodeSampleStructure2;
  68. #endif     /* __ICertEncodeSampleStructure2_FWD_DEFINED__ */
  69.  
  70.  
  71. #ifndef __ICertEncodeCRLDistInfo_FWD_DEFINED__
  72. #define __ICertEncodeCRLDistInfo_FWD_DEFINED__
  73. typedef interface ICertEncodeCRLDistInfo ICertEncodeCRLDistInfo;
  74. #endif     /* __ICertEncodeCRLDistInfo_FWD_DEFINED__ */
  75.  
  76.  
  77. #ifndef __ICertEncodeAltName_FWD_DEFINED__
  78. #define __ICertEncodeAltName_FWD_DEFINED__
  79. typedef interface ICertEncodeAltName ICertEncodeAltName;
  80. #endif     /* __ICertEncodeAltName_FWD_DEFINED__ */
  81.  
  82.  
  83. #ifndef __ICertEncodeBitString_FWD_DEFINED__
  84. #define __ICertEncodeBitString_FWD_DEFINED__
  85. typedef interface ICertEncodeBitString ICertEncodeBitString;
  86. #endif     /* __ICertEncodeBitString_FWD_DEFINED__ */
  87.  
  88.  
  89. #ifndef __CCertEncodeStringArray_FWD_DEFINED__
  90. #define __CCertEncodeStringArray_FWD_DEFINED__
  91.  
  92. #ifdef __cplusplus
  93. typedef class CCertEncodeStringArray CCertEncodeStringArray;
  94. #else
  95. typedef struct CCertEncodeStringArray CCertEncodeStringArray;
  96. #endif /* __cplusplus */
  97.  
  98. #endif     /* __CCertEncodeStringArray_FWD_DEFINED__ */
  99.  
  100.  
  101. #ifndef __CCertEncodeLongArray_FWD_DEFINED__
  102. #define __CCertEncodeLongArray_FWD_DEFINED__
  103.  
  104. #ifdef __cplusplus
  105. typedef class CCertEncodeLongArray CCertEncodeLongArray;
  106. #else
  107. typedef struct CCertEncodeLongArray CCertEncodeLongArray;
  108. #endif /* __cplusplus */
  109.  
  110. #endif     /* __CCertEncodeLongArray_FWD_DEFINED__ */
  111.  
  112.  
  113. #ifndef __CCertEncodeDateArray_FWD_DEFINED__
  114. #define __CCertEncodeDateArray_FWD_DEFINED__
  115.  
  116. #ifdef __cplusplus
  117. typedef class CCertEncodeDateArray CCertEncodeDateArray;
  118. #else
  119. typedef struct CCertEncodeDateArray CCertEncodeDateArray;
  120. #endif /* __cplusplus */
  121.  
  122. #endif     /* __CCertEncodeDateArray_FWD_DEFINED__ */
  123.  
  124.  
  125. #ifndef __CCertEncodeSampleStructure1_FWD_DEFINED__
  126. #define __CCertEncodeSampleStructure1_FWD_DEFINED__
  127.  
  128. #ifdef __cplusplus
  129. typedef class CCertEncodeSampleStructure1 CCertEncodeSampleStructure1;
  130. #else
  131. typedef struct CCertEncodeSampleStructure1 CCertEncodeSampleStructure1;
  132. #endif /* __cplusplus */
  133.  
  134. #endif     /* __CCertEncodeSampleStructure1_FWD_DEFINED__ */
  135.  
  136.  
  137. #ifndef __CCertEncodeSampleStructure2_FWD_DEFINED__
  138. #define __CCertEncodeSampleStructure2_FWD_DEFINED__
  139.  
  140. #ifdef __cplusplus
  141. typedef class CCertEncodeSampleStructure2 CCertEncodeSampleStructure2;
  142. #else
  143. typedef struct CCertEncodeSampleStructure2 CCertEncodeSampleStructure2;
  144. #endif /* __cplusplus */
  145.  
  146. #endif     /* __CCertEncodeSampleStructure2_FWD_DEFINED__ */
  147.  
  148.  
  149. #ifndef __CCertEncodeCRLDistInfo_FWD_DEFINED__
  150. #define __CCertEncodeCRLDistInfo_FWD_DEFINED__
  151.  
  152. #ifdef __cplusplus
  153. typedef class CCertEncodeCRLDistInfo CCertEncodeCRLDistInfo;
  154. #else
  155. typedef struct CCertEncodeCRLDistInfo CCertEncodeCRLDistInfo;
  156. #endif /* __cplusplus */
  157.  
  158. #endif     /* __CCertEncodeCRLDistInfo_FWD_DEFINED__ */
  159.  
  160.  
  161. #ifndef __CCertEncodeAltName_FWD_DEFINED__
  162. #define __CCertEncodeAltName_FWD_DEFINED__
  163.  
  164. #ifdef __cplusplus
  165. typedef class CCertEncodeAltName CCertEncodeAltName;
  166. #else
  167. typedef struct CCertEncodeAltName CCertEncodeAltName;
  168. #endif /* __cplusplus */
  169.  
  170. #endif     /* __CCertEncodeAltName_FWD_DEFINED__ */
  171.  
  172.  
  173. #ifndef __CCertEncodeBitString_FWD_DEFINED__
  174. #define __CCertEncodeBitString_FWD_DEFINED__
  175.  
  176. #ifdef __cplusplus
  177. typedef class CCertEncodeBitString CCertEncodeBitString;
  178. #else
  179. typedef struct CCertEncodeBitString CCertEncodeBitString;
  180. #endif /* __cplusplus */
  181.  
  182. #endif     /* __CCertEncodeBitString_FWD_DEFINED__ */
  183.  
  184.  
  185. /* header files for imported files */
  186. #include "wtypes.h"
  187. #include "oaidl.h"
  188.  
  189. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  190. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  191.  
  192. #ifndef __ICertEncodeStringArray_INTERFACE_DEFINED__
  193. #define __ICertEncodeStringArray_INTERFACE_DEFINED__
  194.  
  195. /****************************************
  196.  * Generated header for interface: ICertEncodeStringArray
  197.  * at Mon Aug 11 14:43:15 1997
  198.  * using MIDL 3.03.0106
  199.  ****************************************/
  200. /* [unique][helpstring][dual][uuid][object] */ 
  201.  
  202.  
  203.  
  204. EXTERN_C const IID IID_ICertEncodeStringArray;
  205.  
  206. #if defined(__cplusplus) && !defined(CINTERFACE)
  207.     
  208.     MIDL_INTERFACE("12a88820-7494-11d0-8816-00a0c903b83c")
  209.     ICertEncodeStringArray : public IDispatch
  210.     {
  211.     public:
  212.         virtual HRESULT STDMETHODCALLTYPE Decode( 
  213.             /* [in] */ const BSTR strBinary) = 0;
  214.         
  215.         virtual HRESULT STDMETHODCALLTYPE GetStringType( 
  216.             /* [retval][out] */ LONG __RPC_FAR *pStringType) = 0;
  217.         
  218.         virtual HRESULT STDMETHODCALLTYPE GetCount( 
  219.             /* [retval][out] */ LONG __RPC_FAR *pCount) = 0;
  220.         
  221.         virtual HRESULT STDMETHODCALLTYPE GetValue( 
  222.             /* [in] */ LONG Index,
  223.             /* [retval][out] */ BSTR __RPC_FAR *pstr) = 0;
  224.         
  225.         virtual HRESULT STDMETHODCALLTYPE Reset( 
  226.             /* [in] */ LONG Count,
  227.             /* [in] */ LONG StringType) = 0;
  228.         
  229.         virtual HRESULT STDMETHODCALLTYPE SetValue( 
  230.             /* [in] */ LONG Index,
  231.             /* [in] */ const BSTR str) = 0;
  232.         
  233.         virtual HRESULT STDMETHODCALLTYPE Encode( 
  234.             /* [retval][out] */ BSTR __RPC_FAR *pstrBinary) = 0;
  235.         
  236.     };
  237.     
  238. #else     /* C style interface */
  239.  
  240.     typedef struct ICertEncodeStringArrayVtbl
  241.     {
  242.         BEGIN_INTERFACE
  243.         
  244.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  245.             ICertEncodeStringArray __RPC_FAR * This,
  246.             /* [in] */ REFIID riid,
  247.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  248.         
  249.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  250.             ICertEncodeStringArray __RPC_FAR * This);
  251.         
  252.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  253.             ICertEncodeStringArray __RPC_FAR * This);
  254.         
  255.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  256.             ICertEncodeStringArray __RPC_FAR * This,
  257.             /* [out] */ UINT __RPC_FAR *pctinfo);
  258.         
  259.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  260.             ICertEncodeStringArray __RPC_FAR * This,
  261.             /* [in] */ UINT iTInfo,
  262.             /* [in] */ LCID lcid,
  263.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  264.         
  265.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  266.             ICertEncodeStringArray __RPC_FAR * This,
  267.             /* [in] */ REFIID riid,
  268.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  269.             /* [in] */ UINT cNames,
  270.             /* [in] */ LCID lcid,
  271.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  272.         
  273.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  274.             ICertEncodeStringArray __RPC_FAR * This,
  275.             /* [in] */ DISPID dispIdMember,
  276.             /* [in] */ REFIID riid,
  277.             /* [in] */ LCID lcid,
  278.             /* [in] */ WORD wFlags,
  279.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  280.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  281.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  282.             /* [out] */ UINT __RPC_FAR *puArgErr);
  283.         
  284.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Decode )( 
  285.             ICertEncodeStringArray __RPC_FAR * This,
  286.             /* [in] */ const BSTR strBinary);
  287.         
  288.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStringType )( 
  289.             ICertEncodeStringArray __RPC_FAR * This,
  290.             /* [retval][out] */ LONG __RPC_FAR *pStringType);
  291.         
  292.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCount )( 
  293.             ICertEncodeStringArray __RPC_FAR * This,
  294.             /* [retval][out] */ LONG __RPC_FAR *pCount);
  295.         
  296.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetValue )( 
  297.             ICertEncodeStringArray __RPC_FAR * This,
  298.             /* [in] */ LONG Index,
  299.             /* [retval][out] */ BSTR __RPC_FAR *pstr);
  300.         
  301.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Reset )( 
  302.             ICertEncodeStringArray __RPC_FAR * This,
  303.             /* [in] */ LONG Count,
  304.             /* [in] */ LONG StringType);
  305.         
  306.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetValue )( 
  307.             ICertEncodeStringArray __RPC_FAR * This,
  308.             /* [in] */ LONG Index,
  309.             /* [in] */ const BSTR str);
  310.         
  311.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Encode )( 
  312.             ICertEncodeStringArray __RPC_FAR * This,
  313.             /* [retval][out] */ BSTR __RPC_FAR *pstrBinary);
  314.         
  315.         END_INTERFACE
  316.     } ICertEncodeStringArrayVtbl;
  317.  
  318.     interface ICertEncodeStringArray
  319.     {
  320.         CONST_VTBL struct ICertEncodeStringArrayVtbl __RPC_FAR *lpVtbl;
  321.     };
  322.  
  323.     
  324.  
  325. #ifdef COBJMACROS
  326.  
  327.  
  328. #define ICertEncodeStringArray_QueryInterface(This,riid,ppvObject)    \
  329.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  330.  
  331. #define ICertEncodeStringArray_AddRef(This)    \
  332.     (This)->lpVtbl -> AddRef(This)
  333.  
  334. #define ICertEncodeStringArray_Release(This)    \
  335.     (This)->lpVtbl -> Release(This)
  336.  
  337.  
  338. #define ICertEncodeStringArray_GetTypeInfoCount(This,pctinfo)    \
  339.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  340.  
  341. #define ICertEncodeStringArray_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  342.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  343.  
  344. #define ICertEncodeStringArray_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  345.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  346.  
  347. #define ICertEncodeStringArray_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  348.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  349.  
  350.  
  351. #define ICertEncodeStringArray_Decode(This,strBinary)    \
  352.     (This)->lpVtbl -> Decode(This,strBinary)
  353.  
  354. #define ICertEncodeStringArray_GetStringType(This,pStringType)    \
  355.     (This)->lpVtbl -> GetStringType(This,pStringType)
  356.  
  357. #define ICertEncodeStringArray_GetCount(This,pCount)    \
  358.     (This)->lpVtbl -> GetCount(This,pCount)
  359.  
  360. #define ICertEncodeStringArray_GetValue(This,Index,pstr)    \
  361.     (This)->lpVtbl -> GetValue(This,Index,pstr)
  362.  
  363. #define ICertEncodeStringArray_Reset(This,Count,StringType)    \
  364.     (This)->lpVtbl -> Reset(This,Count,StringType)
  365.  
  366. #define ICertEncodeStringArray_SetValue(This,Index,str)    \
  367.     (This)->lpVtbl -> SetValue(This,Index,str)
  368.  
  369. #define ICertEncodeStringArray_Encode(This,pstrBinary)    \
  370.     (This)->lpVtbl -> Encode(This,pstrBinary)
  371.  
  372. #endif /* COBJMACROS */
  373.  
  374.  
  375. #endif     /* C style interface */
  376.  
  377.  
  378.  
  379. HRESULT STDMETHODCALLTYPE ICertEncodeStringArray_Decode_Proxy( 
  380.     ICertEncodeStringArray __RPC_FAR * This,
  381.     /* [in] */ const BSTR strBinary);
  382.  
  383.  
  384. void __RPC_STUB ICertEncodeStringArray_Decode_Stub(
  385.     IRpcStubBuffer *This,
  386.     IRpcChannelBuffer *_pRpcChannelBuffer,
  387.     PRPC_MESSAGE _pRpcMessage,
  388.     DWORD *_pdwStubPhase);
  389.  
  390.  
  391. HRESULT STDMETHODCALLTYPE ICertEncodeStringArray_GetStringType_Proxy( 
  392.     ICertEncodeStringArray __RPC_FAR * This,
  393.     /* [retval][out] */ LONG __RPC_FAR *pStringType);
  394.  
  395.  
  396. void __RPC_STUB ICertEncodeStringArray_GetStringType_Stub(
  397.     IRpcStubBuffer *This,
  398.     IRpcChannelBuffer *_pRpcChannelBuffer,
  399.     PRPC_MESSAGE _pRpcMessage,
  400.     DWORD *_pdwStubPhase);
  401.  
  402.  
  403. HRESULT STDMETHODCALLTYPE ICertEncodeStringArray_GetCount_Proxy( 
  404.     ICertEncodeStringArray __RPC_FAR * This,
  405.     /* [retval][out] */ LONG __RPC_FAR *pCount);
  406.  
  407.  
  408. void __RPC_STUB ICertEncodeStringArray_GetCount_Stub(
  409.     IRpcStubBuffer *This,
  410.     IRpcChannelBuffer *_pRpcChannelBuffer,
  411.     PRPC_MESSAGE _pRpcMessage,
  412.     DWORD *_pdwStubPhase);
  413.  
  414.  
  415. HRESULT STDMETHODCALLTYPE ICertEncodeStringArray_GetValue_Proxy( 
  416.     ICertEncodeStringArray __RPC_FAR * This,
  417.     /* [in] */ LONG Index,
  418.     /* [retval][out] */ BSTR __RPC_FAR *pstr);
  419.  
  420.  
  421. void __RPC_STUB ICertEncodeStringArray_GetValue_Stub(
  422.     IRpcStubBuffer *This,
  423.     IRpcChannelBuffer *_pRpcChannelBuffer,
  424.     PRPC_MESSAGE _pRpcMessage,
  425.     DWORD *_pdwStubPhase);
  426.  
  427.  
  428. HRESULT STDMETHODCALLTYPE ICertEncodeStringArray_Reset_Proxy( 
  429.     ICertEncodeStringArray __RPC_FAR * This,
  430.     /* [in] */ LONG Count,
  431.     /* [in] */ LONG StringType);
  432.  
  433.  
  434. void __RPC_STUB ICertEncodeStringArray_Reset_Stub(
  435.     IRpcStubBuffer *This,
  436.     IRpcChannelBuffer *_pRpcChannelBuffer,
  437.     PRPC_MESSAGE _pRpcMessage,
  438.     DWORD *_pdwStubPhase);
  439.  
  440.  
  441. HRESULT STDMETHODCALLTYPE ICertEncodeStringArray_SetValue_Proxy( 
  442.     ICertEncodeStringArray __RPC_FAR * This,
  443.     /* [in] */ LONG Index,
  444.     /* [in] */ const BSTR str);
  445.  
  446.  
  447. void __RPC_STUB ICertEncodeStringArray_SetValue_Stub(
  448.     IRpcStubBuffer *This,
  449.     IRpcChannelBuffer *_pRpcChannelBuffer,
  450.     PRPC_MESSAGE _pRpcMessage,
  451.     DWORD *_pdwStubPhase);
  452.  
  453.  
  454. HRESULT STDMETHODCALLTYPE ICertEncodeStringArray_Encode_Proxy( 
  455.     ICertEncodeStringArray __RPC_FAR * This,
  456.     /* [retval][out] */ BSTR __RPC_FAR *pstrBinary);
  457.  
  458.  
  459. void __RPC_STUB ICertEncodeStringArray_Encode_Stub(
  460.     IRpcStubBuffer *This,
  461.     IRpcChannelBuffer *_pRpcChannelBuffer,
  462.     PRPC_MESSAGE _pRpcMessage,
  463.     DWORD *_pdwStubPhase);
  464.  
  465.  
  466.  
  467. #endif     /* __ICertEncodeStringArray_INTERFACE_DEFINED__ */
  468.  
  469.  
  470. #ifndef __ICertEncodeLongArray_INTERFACE_DEFINED__
  471. #define __ICertEncodeLongArray_INTERFACE_DEFINED__
  472.  
  473. /****************************************
  474.  * Generated header for interface: ICertEncodeLongArray
  475.  * at Mon Aug 11 14:43:15 1997
  476.  * using MIDL 3.03.0106
  477.  ****************************************/
  478. /* [unique][helpstring][dual][uuid][object] */ 
  479.  
  480.  
  481.  
  482. EXTERN_C const IID IID_ICertEncodeLongArray;
  483.  
  484. #if defined(__cplusplus) && !defined(CINTERFACE)
  485.     
  486.     MIDL_INTERFACE("15e2f230-a0a2-11d0-8821-00a0c903b83c")
  487.     ICertEncodeLongArray : public IDispatch
  488.     {
  489.     public:
  490.         virtual HRESULT STDMETHODCALLTYPE Decode( 
  491.             /* [in] */ const BSTR strBinary) = 0;
  492.         
  493.         virtual HRESULT STDMETHODCALLTYPE GetCount( 
  494.             /* [retval][out] */ LONG __RPC_FAR *pCount) = 0;
  495.         
  496.         virtual HRESULT STDMETHODCALLTYPE GetValue( 
  497.             /* [in] */ LONG Index,
  498.             /* [retval][out] */ LONG __RPC_FAR *pValue) = 0;
  499.         
  500.         virtual HRESULT STDMETHODCALLTYPE Reset( 
  501.             /* [in] */ LONG Count) = 0;
  502.         
  503.         virtual HRESULT STDMETHODCALLTYPE SetValue( 
  504.             /* [in] */ LONG Index,
  505.             /* [in] */ LONG Value) = 0;
  506.         
  507.         virtual HRESULT STDMETHODCALLTYPE Encode( 
  508.             /* [retval][out] */ BSTR __RPC_FAR *pstrBinary) = 0;
  509.         
  510.     };
  511.     
  512. #else     /* C style interface */
  513.  
  514.     typedef struct ICertEncodeLongArrayVtbl
  515.     {
  516.         BEGIN_INTERFACE
  517.         
  518.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  519.             ICertEncodeLongArray __RPC_FAR * This,
  520.             /* [in] */ REFIID riid,
  521.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  522.         
  523.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  524.             ICertEncodeLongArray __RPC_FAR * This);
  525.         
  526.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  527.             ICertEncodeLongArray __RPC_FAR * This);
  528.         
  529.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  530.             ICertEncodeLongArray __RPC_FAR * This,
  531.             /* [out] */ UINT __RPC_FAR *pctinfo);
  532.         
  533.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  534.             ICertEncodeLongArray __RPC_FAR * This,
  535.             /* [in] */ UINT iTInfo,
  536.             /* [in] */ LCID lcid,
  537.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  538.         
  539.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  540.             ICertEncodeLongArray __RPC_FAR * This,
  541.             /* [in] */ REFIID riid,
  542.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  543.             /* [in] */ UINT cNames,
  544.             /* [in] */ LCID lcid,
  545.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  546.         
  547.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  548.             ICertEncodeLongArray __RPC_FAR * This,
  549.             /* [in] */ DISPID dispIdMember,
  550.             /* [in] */ REFIID riid,
  551.             /* [in] */ LCID lcid,
  552.             /* [in] */ WORD wFlags,
  553.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  554.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  555.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  556.             /* [out] */ UINT __RPC_FAR *puArgErr);
  557.         
  558.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Decode )( 
  559.             ICertEncodeLongArray __RPC_FAR * This,
  560.             /* [in] */ const BSTR strBinary);
  561.         
  562.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCount )( 
  563.             ICertEncodeLongArray __RPC_FAR * This,
  564.             /* [retval][out] */ LONG __RPC_FAR *pCount);
  565.         
  566.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetValue )( 
  567.             ICertEncodeLongArray __RPC_FAR * This,
  568.             /* [in] */ LONG Index,
  569.             /* [retval][out] */ LONG __RPC_FAR *pValue);
  570.         
  571.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Reset )( 
  572.             ICertEncodeLongArray __RPC_FAR * This,
  573.             /* [in] */ LONG Count);
  574.         
  575.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetValue )( 
  576.             ICertEncodeLongArray __RPC_FAR * This,
  577.             /* [in] */ LONG Index,
  578.             /* [in] */ LONG Value);
  579.         
  580.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Encode )( 
  581.             ICertEncodeLongArray __RPC_FAR * This,
  582.             /* [retval][out] */ BSTR __RPC_FAR *pstrBinary);
  583.         
  584.         END_INTERFACE
  585.     } ICertEncodeLongArrayVtbl;
  586.  
  587.     interface ICertEncodeLongArray
  588.     {
  589.         CONST_VTBL struct ICertEncodeLongArrayVtbl __RPC_FAR *lpVtbl;
  590.     };
  591.  
  592.     
  593.  
  594. #ifdef COBJMACROS
  595.  
  596.  
  597. #define ICertEncodeLongArray_QueryInterface(This,riid,ppvObject)    \
  598.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  599.  
  600. #define ICertEncodeLongArray_AddRef(This)    \
  601.     (This)->lpVtbl -> AddRef(This)
  602.  
  603. #define ICertEncodeLongArray_Release(This)    \
  604.     (This)->lpVtbl -> Release(This)
  605.  
  606.  
  607. #define ICertEncodeLongArray_GetTypeInfoCount(This,pctinfo)    \
  608.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  609.  
  610. #define ICertEncodeLongArray_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  611.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  612.  
  613. #define ICertEncodeLongArray_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  614.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  615.  
  616. #define ICertEncodeLongArray_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  617.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  618.  
  619.  
  620. #define ICertEncodeLongArray_Decode(This,strBinary)    \
  621.     (This)->lpVtbl -> Decode(This,strBinary)
  622.  
  623. #define ICertEncodeLongArray_GetCount(This,pCount)    \
  624.     (This)->lpVtbl -> GetCount(This,pCount)
  625.  
  626. #define ICertEncodeLongArray_GetValue(This,Index,pValue)    \
  627.     (This)->lpVtbl -> GetValue(This,Index,pValue)
  628.  
  629. #define ICertEncodeLongArray_Reset(This,Count)    \
  630.     (This)->lpVtbl -> Reset(This,Count)
  631.  
  632. #define ICertEncodeLongArray_SetValue(This,Index,Value)    \
  633.     (This)->lpVtbl -> SetValue(This,Index,Value)
  634.  
  635. #define ICertEncodeLongArray_Encode(This,pstrBinary)    \
  636.     (This)->lpVtbl -> Encode(This,pstrBinary)
  637.  
  638. #endif /* COBJMACROS */
  639.  
  640.  
  641. #endif     /* C style interface */
  642.  
  643.  
  644.  
  645. HRESULT STDMETHODCALLTYPE ICertEncodeLongArray_Decode_Proxy( 
  646.     ICertEncodeLongArray __RPC_FAR * This,
  647.     /* [in] */ const BSTR strBinary);
  648.  
  649.  
  650. void __RPC_STUB ICertEncodeLongArray_Decode_Stub(
  651.     IRpcStubBuffer *This,
  652.     IRpcChannelBuffer *_pRpcChannelBuffer,
  653.     PRPC_MESSAGE _pRpcMessage,
  654.     DWORD *_pdwStubPhase);
  655.  
  656.  
  657. HRESULT STDMETHODCALLTYPE ICertEncodeLongArray_GetCount_Proxy( 
  658.     ICertEncodeLongArray __RPC_FAR * This,
  659.     /* [retval][out] */ LONG __RPC_FAR *pCount);
  660.  
  661.  
  662. void __RPC_STUB ICertEncodeLongArray_GetCount_Stub(
  663.     IRpcStubBuffer *This,
  664.     IRpcChannelBuffer *_pRpcChannelBuffer,
  665.     PRPC_MESSAGE _pRpcMessage,
  666.     DWORD *_pdwStubPhase);
  667.  
  668.  
  669. HRESULT STDMETHODCALLTYPE ICertEncodeLongArray_GetValue_Proxy( 
  670.     ICertEncodeLongArray __RPC_FAR * This,
  671.     /* [in] */ LONG Index,
  672.     /* [retval][out] */ LONG __RPC_FAR *pValue);
  673.  
  674.  
  675. void __RPC_STUB ICertEncodeLongArray_GetValue_Stub(
  676.     IRpcStubBuffer *This,
  677.     IRpcChannelBuffer *_pRpcChannelBuffer,
  678.     PRPC_MESSAGE _pRpcMessage,
  679.     DWORD *_pdwStubPhase);
  680.  
  681.  
  682. HRESULT STDMETHODCALLTYPE ICertEncodeLongArray_Reset_Proxy( 
  683.     ICertEncodeLongArray __RPC_FAR * This,
  684.     /* [in] */ LONG Count);
  685.  
  686.  
  687. void __RPC_STUB ICertEncodeLongArray_Reset_Stub(
  688.     IRpcStubBuffer *This,
  689.     IRpcChannelBuffer *_pRpcChannelBuffer,
  690.     PRPC_MESSAGE _pRpcMessage,
  691.     DWORD *_pdwStubPhase);
  692.  
  693.  
  694. HRESULT STDMETHODCALLTYPE ICertEncodeLongArray_SetValue_Proxy( 
  695.     ICertEncodeLongArray __RPC_FAR * This,
  696.     /* [in] */ LONG Index,
  697.     /* [in] */ LONG Value);
  698.  
  699.  
  700. void __RPC_STUB ICertEncodeLongArray_SetValue_Stub(
  701.     IRpcStubBuffer *This,
  702.     IRpcChannelBuffer *_pRpcChannelBuffer,
  703.     PRPC_MESSAGE _pRpcMessage,
  704.     DWORD *_pdwStubPhase);
  705.  
  706.  
  707. HRESULT STDMETHODCALLTYPE ICertEncodeLongArray_Encode_Proxy( 
  708.     ICertEncodeLongArray __RPC_FAR * This,
  709.     /* [retval][out] */ BSTR __RPC_FAR *pstrBinary);
  710.  
  711.  
  712. void __RPC_STUB ICertEncodeLongArray_Encode_Stub(
  713.     IRpcStubBuffer *This,
  714.     IRpcChannelBuffer *_pRpcChannelBuffer,
  715.     PRPC_MESSAGE _pRpcMessage,
  716.     DWORD *_pdwStubPhase);
  717.  
  718.  
  719.  
  720. #endif     /* __ICertEncodeLongArray_INTERFACE_DEFINED__ */
  721.  
  722.  
  723. #ifndef __ICertEncodeDateArray_INTERFACE_DEFINED__
  724. #define __ICertEncodeDateArray_INTERFACE_DEFINED__
  725.  
  726. /****************************************
  727.  * Generated header for interface: ICertEncodeDateArray
  728.  * at Mon Aug 11 14:43:15 1997
  729.  * using MIDL 3.03.0106
  730.  ****************************************/
  731. /* [unique][helpstring][dual][uuid][object] */ 
  732.  
  733.  
  734.  
  735. EXTERN_C const IID IID_ICertEncodeDateArray;
  736.  
  737. #if defined(__cplusplus) && !defined(CINTERFACE)
  738.     
  739.     MIDL_INTERFACE("2f9469a0-a470-11d0-8821-00a0c903b83c")
  740.     ICertEncodeDateArray : public IDispatch
  741.     {
  742.     public:
  743.         virtual HRESULT STDMETHODCALLTYPE Decode( 
  744.             /* [in] */ const BSTR strBinary) = 0;
  745.         
  746.         virtual HRESULT STDMETHODCALLTYPE GetCount( 
  747.             /* [retval][out] */ LONG __RPC_FAR *pCount) = 0;
  748.         
  749.         virtual HRESULT STDMETHODCALLTYPE GetValue( 
  750.             /* [in] */ LONG Index,
  751.             /* [retval][out] */ DATE __RPC_FAR *pValue) = 0;
  752.         
  753.         virtual HRESULT STDMETHODCALLTYPE Reset( 
  754.             /* [in] */ LONG Count) = 0;
  755.         
  756.         virtual HRESULT STDMETHODCALLTYPE SetValue( 
  757.             /* [in] */ LONG Index,
  758.             /* [in] */ DATE Value) = 0;
  759.         
  760.         virtual HRESULT STDMETHODCALLTYPE Encode( 
  761.             /* [retval][out] */ BSTR __RPC_FAR *pstrBinary) = 0;
  762.         
  763.     };
  764.     
  765. #else     /* C style interface */
  766.  
  767.     typedef struct ICertEncodeDateArrayVtbl
  768.     {
  769.         BEGIN_INTERFACE
  770.         
  771.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  772.             ICertEncodeDateArray __RPC_FAR * This,
  773.             /* [in] */ REFIID riid,
  774.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  775.         
  776.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  777.             ICertEncodeDateArray __RPC_FAR * This);
  778.         
  779.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  780.             ICertEncodeDateArray __RPC_FAR * This);
  781.         
  782.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  783.             ICertEncodeDateArray __RPC_FAR * This,
  784.             /* [out] */ UINT __RPC_FAR *pctinfo);
  785.         
  786.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  787.             ICertEncodeDateArray __RPC_FAR * This,
  788.             /* [in] */ UINT iTInfo,
  789.             /* [in] */ LCID lcid,
  790.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  791.         
  792.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  793.             ICertEncodeDateArray __RPC_FAR * This,
  794.             /* [in] */ REFIID riid,
  795.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  796.             /* [in] */ UINT cNames,
  797.             /* [in] */ LCID lcid,
  798.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  799.         
  800.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  801.             ICertEncodeDateArray __RPC_FAR * This,
  802.             /* [in] */ DISPID dispIdMember,
  803.             /* [in] */ REFIID riid,
  804.             /* [in] */ LCID lcid,
  805.             /* [in] */ WORD wFlags,
  806.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  807.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  808.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  809.             /* [out] */ UINT __RPC_FAR *puArgErr);
  810.         
  811.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Decode )( 
  812.             ICertEncodeDateArray __RPC_FAR * This,
  813.             /* [in] */ const BSTR strBinary);
  814.         
  815.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCount )( 
  816.             ICertEncodeDateArray __RPC_FAR * This,
  817.             /* [retval][out] */ LONG __RPC_FAR *pCount);
  818.         
  819.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetValue )( 
  820.             ICertEncodeDateArray __RPC_FAR * This,
  821.             /* [in] */ LONG Index,
  822.             /* [retval][out] */ DATE __RPC_FAR *pValue);
  823.         
  824.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Reset )( 
  825.             ICertEncodeDateArray __RPC_FAR * This,
  826.             /* [in] */ LONG Count);
  827.         
  828.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetValue )( 
  829.             ICertEncodeDateArray __RPC_FAR * This,
  830.             /* [in] */ LONG Index,
  831.             /* [in] */ DATE Value);
  832.         
  833.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Encode )( 
  834.             ICertEncodeDateArray __RPC_FAR * This,
  835.             /* [retval][out] */ BSTR __RPC_FAR *pstrBinary);
  836.         
  837.         END_INTERFACE
  838.     } ICertEncodeDateArrayVtbl;
  839.  
  840.     interface ICertEncodeDateArray
  841.     {
  842.         CONST_VTBL struct ICertEncodeDateArrayVtbl __RPC_FAR *lpVtbl;
  843.     };
  844.  
  845.     
  846.  
  847. #ifdef COBJMACROS
  848.  
  849.  
  850. #define ICertEncodeDateArray_QueryInterface(This,riid,ppvObject)    \
  851.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  852.  
  853. #define ICertEncodeDateArray_AddRef(This)    \
  854.     (This)->lpVtbl -> AddRef(This)
  855.  
  856. #define ICertEncodeDateArray_Release(This)    \
  857.     (This)->lpVtbl -> Release(This)
  858.  
  859.  
  860. #define ICertEncodeDateArray_GetTypeInfoCount(This,pctinfo)    \
  861.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  862.  
  863. #define ICertEncodeDateArray_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  864.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  865.  
  866. #define ICertEncodeDateArray_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  867.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  868.  
  869. #define ICertEncodeDateArray_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  870.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  871.  
  872.  
  873. #define ICertEncodeDateArray_Decode(This,strBinary)    \
  874.     (This)->lpVtbl -> Decode(This,strBinary)
  875.  
  876. #define ICertEncodeDateArray_GetCount(This,pCount)    \
  877.     (This)->lpVtbl -> GetCount(This,pCount)
  878.  
  879. #define ICertEncodeDateArray_GetValue(This,Index,pValue)    \
  880.     (This)->lpVtbl -> GetValue(This,Index,pValue)
  881.  
  882. #define ICertEncodeDateArray_Reset(This,Count)    \
  883.     (This)->lpVtbl -> Reset(This,Count)
  884.  
  885. #define ICertEncodeDateArray_SetValue(This,Index,Value)    \
  886.     (This)->lpVtbl -> SetValue(This,Index,Value)
  887.  
  888. #define ICertEncodeDateArray_Encode(This,pstrBinary)    \
  889.     (This)->lpVtbl -> Encode(This,pstrBinary)
  890.  
  891. #endif /* COBJMACROS */
  892.  
  893.  
  894. #endif     /* C style interface */
  895.  
  896.  
  897.  
  898. HRESULT STDMETHODCALLTYPE ICertEncodeDateArray_Decode_Proxy( 
  899.     ICertEncodeDateArray __RPC_FAR * This,
  900.     /* [in] */ const BSTR strBinary);
  901.  
  902.  
  903. void __RPC_STUB ICertEncodeDateArray_Decode_Stub(
  904.     IRpcStubBuffer *This,
  905.     IRpcChannelBuffer *_pRpcChannelBuffer,
  906.     PRPC_MESSAGE _pRpcMessage,
  907.     DWORD *_pdwStubPhase);
  908.  
  909.  
  910. HRESULT STDMETHODCALLTYPE ICertEncodeDateArray_GetCount_Proxy( 
  911.     ICertEncodeDateArray __RPC_FAR * This,
  912.     /* [retval][out] */ LONG __RPC_FAR *pCount);
  913.  
  914.  
  915. void __RPC_STUB ICertEncodeDateArray_GetCount_Stub(
  916.     IRpcStubBuffer *This,
  917.     IRpcChannelBuffer *_pRpcChannelBuffer,
  918.     PRPC_MESSAGE _pRpcMessage,
  919.     DWORD *_pdwStubPhase);
  920.  
  921.  
  922. HRESULT STDMETHODCALLTYPE ICertEncodeDateArray_GetValue_Proxy( 
  923.     ICertEncodeDateArray __RPC_FAR * This,
  924.     /* [in] */ LONG Index,
  925.     /* [retval][out] */ DATE __RPC_FAR *pValue);
  926.  
  927.  
  928. void __RPC_STUB ICertEncodeDateArray_GetValue_Stub(
  929.     IRpcStubBuffer *This,
  930.     IRpcChannelBuffer *_pRpcChannelBuffer,
  931.     PRPC_MESSAGE _pRpcMessage,
  932.     DWORD *_pdwStubPhase);
  933.  
  934.  
  935. HRESULT STDMETHODCALLTYPE ICertEncodeDateArray_Reset_Proxy( 
  936.     ICertEncodeDateArray __RPC_FAR * This,
  937.     /* [in] */ LONG Count);
  938.  
  939.  
  940. void __RPC_STUB ICertEncodeDateArray_Reset_Stub(
  941.     IRpcStubBuffer *This,
  942.     IRpcChannelBuffer *_pRpcChannelBuffer,
  943.     PRPC_MESSAGE _pRpcMessage,
  944.     DWORD *_pdwStubPhase);
  945.  
  946.  
  947. HRESULT STDMETHODCALLTYPE ICertEncodeDateArray_SetValue_Proxy( 
  948.     ICertEncodeDateArray __RPC_FAR * This,
  949.     /* [in] */ LONG Index,
  950.     /* [in] */ DATE Value);
  951.  
  952.  
  953. void __RPC_STUB ICertEncodeDateArray_SetValue_Stub(
  954.     IRpcStubBuffer *This,
  955.     IRpcChannelBuffer *_pRpcChannelBuffer,
  956.     PRPC_MESSAGE _pRpcMessage,
  957.     DWORD *_pdwStubPhase);
  958.  
  959.  
  960. HRESULT STDMETHODCALLTYPE ICertEncodeDateArray_Encode_Proxy( 
  961.     ICertEncodeDateArray __RPC_FAR * This,
  962.     /* [retval][out] */ BSTR __RPC_FAR *pstrBinary);
  963.  
  964.  
  965. void __RPC_STUB ICertEncodeDateArray_Encode_Stub(
  966.     IRpcStubBuffer *This,
  967.     IRpcChannelBuffer *_pRpcChannelBuffer,
  968.     PRPC_MESSAGE _pRpcMessage,
  969.     DWORD *_pdwStubPhase);
  970.  
  971.  
  972.  
  973. #endif     /* __ICertEncodeDateArray_INTERFACE_DEFINED__ */
  974.  
  975.  
  976. #ifndef __ICertEncodeSampleStructure1_INTERFACE_DEFINED__
  977. #define __ICertEncodeSampleStructure1_INTERFACE_DEFINED__
  978.  
  979. /****************************************
  980.  * Generated header for interface: ICertEncodeSampleStructure1
  981.  * at Mon Aug 11 14:43:15 1997
  982.  * using MIDL 3.03.0106
  983.  ****************************************/
  984. /* [unique][helpstring][dual][uuid][object] */ 
  985.  
  986.  
  987.  
  988. EXTERN_C const IID IID_ICertEncodeSampleStructure1;
  989.  
  990. #if defined(__cplusplus) && !defined(CINTERFACE)
  991.     
  992.     MIDL_INTERFACE("eb244300-a0a0-11d0-8821-00a0c903b83c")
  993.     ICertEncodeSampleStructure1 : public IDispatch
  994.     {
  995.     public:
  996.         virtual HRESULT STDMETHODCALLTYPE Decode( 
  997.             /* [in] */ const BSTR strBinary) = 0;
  998.         
  999.         virtual HRESULT STDMETHODCALLTYPE GetStringField1( 
  1000.             /* [retval][out] */ BSTR __RPC_FAR *pstrString) = 0;
  1001.         
  1002.         virtual HRESULT STDMETHODCALLTYPE GetStringField2( 
  1003.             /* [retval][out] */ BSTR __RPC_FAR *pstrString) = 0;
  1004.         
  1005.         virtual HRESULT STDMETHODCALLTYPE GetLongField3( 
  1006.             /* [retval][out] */ LONG __RPC_FAR *pLong) = 0;
  1007.         
  1008.         virtual HRESULT STDMETHODCALLTYPE GetBinaryField4( 
  1009.             /* [retval][out] */ BSTR __RPC_FAR *pstrBinary) = 0;
  1010.         
  1011.         virtual HRESULT STDMETHODCALLTYPE GetDateField5( 
  1012.             /* [retval][out] */ DATE __RPC_FAR *pDate) = 0;
  1013.         
  1014.         virtual HRESULT STDMETHODCALLTYPE Encode( 
  1015.             /* [in] */ const BSTR strStringField1,
  1016.             /* [in] */ const BSTR strStringField2,
  1017.             /* [in] */ LONG LongField3,
  1018.             /* [in] */ const BSTR strBinaryField4,
  1019.             /* [in] */ DATE DateField5,
  1020.             /* [retval][out] */ BSTR __RPC_FAR *pstrBinary) = 0;
  1021.         
  1022.     };
  1023.     
  1024. #else     /* C style interface */
  1025.  
  1026.     typedef struct ICertEncodeSampleStructure1Vtbl
  1027.     {
  1028.         BEGIN_INTERFACE
  1029.         
  1030.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1031.             ICertEncodeSampleStructure1 __RPC_FAR * This,
  1032.             /* [in] */ REFIID riid,
  1033.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1034.         
  1035.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1036.             ICertEncodeSampleStructure1 __RPC_FAR * This);
  1037.         
  1038.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1039.             ICertEncodeSampleStructure1 __RPC_FAR * This);
  1040.         
  1041.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  1042.             ICertEncodeSampleStructure1 __RPC_FAR * This,
  1043.             /* [out] */ UINT __RPC_FAR *pctinfo);
  1044.         
  1045.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  1046.             ICertEncodeSampleStructure1 __RPC_FAR * This,
  1047.             /* [in] */ UINT iTInfo,
  1048.             /* [in] */ LCID lcid,
  1049.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1050.         
  1051.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  1052.             ICertEncodeSampleStructure1 __RPC_FAR * This,
  1053.             /* [in] */ REFIID riid,
  1054.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1055.             /* [in] */ UINT cNames,
  1056.             /* [in] */ LCID lcid,
  1057.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1058.         
  1059.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  1060.             ICertEncodeSampleStructure1 __RPC_FAR * This,
  1061.             /* [in] */ DISPID dispIdMember,
  1062.             /* [in] */ REFIID riid,
  1063.             /* [in] */ LCID lcid,
  1064.             /* [in] */ WORD wFlags,
  1065.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1066.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1067.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1068.             /* [out] */ UINT __RPC_FAR *puArgErr);
  1069.         
  1070.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Decode )( 
  1071.             ICertEncodeSampleStructure1 __RPC_FAR * This,
  1072.             /* [in] */ const BSTR strBinary);
  1073.         
  1074.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStringField1 )( 
  1075.             ICertEncodeSampleStructure1 __RPC_FAR * This,
  1076.             /* [retval][out] */ BSTR __RPC_FAR *pstrString);
  1077.         
  1078.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStringField2 )( 
  1079.             ICertEncodeSampleStructure1 __RPC_FAR * This,
  1080.             /* [retval][out] */ BSTR __RPC_FAR *pstrString);
  1081.         
  1082.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLongField3 )( 
  1083.             ICertEncodeSampleStructure1 __RPC_FAR * This,
  1084.             /* [retval][out] */ LONG __RPC_FAR *pLong);
  1085.         
  1086.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBinaryField4 )( 
  1087.             ICertEncodeSampleStructure1 __RPC_FAR * This,
  1088.             /* [retval][out] */ BSTR __RPC_FAR *pstrBinary);
  1089.         
  1090.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDateField5 )( 
  1091.             ICertEncodeSampleStructure1 __RPC_FAR * This,
  1092.             /* [retval][out] */ DATE __RPC_FAR *pDate);
  1093.         
  1094.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Encode )( 
  1095.             ICertEncodeSampleStructure1 __RPC_FAR * This,
  1096.             /* [in] */ const BSTR strStringField1,
  1097.             /* [in] */ const BSTR strStringField2,
  1098.             /* [in] */ LONG LongField3,
  1099.             /* [in] */ const BSTR strBinaryField4,
  1100.             /* [in] */ DATE DateField5,
  1101.             /* [retval][out] */ BSTR __RPC_FAR *pstrBinary);
  1102.         
  1103.         END_INTERFACE
  1104.     } ICertEncodeSampleStructure1Vtbl;
  1105.  
  1106.     interface ICertEncodeSampleStructure1
  1107.     {
  1108.         CONST_VTBL struct ICertEncodeSampleStructure1Vtbl __RPC_FAR *lpVtbl;
  1109.     };
  1110.  
  1111.     
  1112.  
  1113. #ifdef COBJMACROS
  1114.  
  1115.  
  1116. #define ICertEncodeSampleStructure1_QueryInterface(This,riid,ppvObject)    \
  1117.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1118.  
  1119. #define ICertEncodeSampleStructure1_AddRef(This)    \
  1120.     (This)->lpVtbl -> AddRef(This)
  1121.  
  1122. #define ICertEncodeSampleStructure1_Release(This)    \
  1123.     (This)->lpVtbl -> Release(This)
  1124.  
  1125.  
  1126. #define ICertEncodeSampleStructure1_GetTypeInfoCount(This,pctinfo)    \
  1127.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1128.  
  1129. #define ICertEncodeSampleStructure1_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  1130.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1131.  
  1132. #define ICertEncodeSampleStructure1_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  1133.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1134.  
  1135. #define ICertEncodeSampleStructure1_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  1136.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1137.  
  1138.  
  1139. #define ICertEncodeSampleStructure1_Decode(This,strBinary)    \
  1140.     (This)->lpVtbl -> Decode(This,strBinary)
  1141.  
  1142. #define ICertEncodeSampleStructure1_GetStringField1(This,pstrString)    \
  1143.     (This)->lpVtbl -> GetStringField1(This,pstrString)
  1144.  
  1145. #define ICertEncodeSampleStructure1_GetStringField2(This,pstrString)    \
  1146.     (This)->lpVtbl -> GetStringField2(This,pstrString)
  1147.  
  1148. #define ICertEncodeSampleStructure1_GetLongField3(This,pLong)    \
  1149.     (This)->lpVtbl -> GetLongField3(This,pLong)
  1150.  
  1151. #define ICertEncodeSampleStructure1_GetBinaryField4(This,pstrBinary)    \
  1152.     (This)->lpVtbl -> GetBinaryField4(This,pstrBinary)
  1153.  
  1154. #define ICertEncodeSampleStructure1_GetDateField5(This,pDate)    \
  1155.     (This)->lpVtbl -> GetDateField5(This,pDate)
  1156.  
  1157. #define ICertEncodeSampleStructure1_Encode(This,strStringField1,strStringField2,LongField3,strBinaryField4,DateField5,pstrBinary)    \
  1158.     (This)->lpVtbl -> Encode(This,strStringField1,strStringField2,LongField3,strBinaryField4,DateField5,pstrBinary)
  1159.  
  1160. #endif /* COBJMACROS */
  1161.  
  1162.  
  1163. #endif     /* C style interface */
  1164.  
  1165.  
  1166.  
  1167. HRESULT STDMETHODCALLTYPE ICertEncodeSampleStructure1_Decode_Proxy( 
  1168.     ICertEncodeSampleStructure1 __RPC_FAR * This,
  1169.     /* [in] */ const BSTR strBinary);
  1170.  
  1171.  
  1172. void __RPC_STUB ICertEncodeSampleStructure1_Decode_Stub(
  1173.     IRpcStubBuffer *This,
  1174.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1175.     PRPC_MESSAGE _pRpcMessage,
  1176.     DWORD *_pdwStubPhase);
  1177.  
  1178.  
  1179. HRESULT STDMETHODCALLTYPE ICertEncodeSampleStructure1_GetStringField1_Proxy( 
  1180.     ICertEncodeSampleStructure1 __RPC_FAR * This,
  1181.     /* [retval][out] */ BSTR __RPC_FAR *pstrString);
  1182.  
  1183.  
  1184. void __RPC_STUB ICertEncodeSampleStructure1_GetStringField1_Stub(
  1185.     IRpcStubBuffer *This,
  1186.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1187.     PRPC_MESSAGE _pRpcMessage,
  1188.     DWORD *_pdwStubPhase);
  1189.  
  1190.  
  1191. HRESULT STDMETHODCALLTYPE ICertEncodeSampleStructure1_GetStringField2_Proxy( 
  1192.     ICertEncodeSampleStructure1 __RPC_FAR * This,
  1193.     /* [retval][out] */ BSTR __RPC_FAR *pstrString);
  1194.  
  1195.  
  1196. void __RPC_STUB ICertEncodeSampleStructure1_GetStringField2_Stub(
  1197.     IRpcStubBuffer *This,
  1198.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1199.     PRPC_MESSAGE _pRpcMessage,
  1200.     DWORD *_pdwStubPhase);
  1201.  
  1202.  
  1203. HRESULT STDMETHODCALLTYPE ICertEncodeSampleStructure1_GetLongField3_Proxy( 
  1204.     ICertEncodeSampleStructure1 __RPC_FAR * This,
  1205.     /* [retval][out] */ LONG __RPC_FAR *pLong);
  1206.  
  1207.  
  1208. void __RPC_STUB ICertEncodeSampleStructure1_GetLongField3_Stub(
  1209.     IRpcStubBuffer *This,
  1210.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1211.     PRPC_MESSAGE _pRpcMessage,
  1212.     DWORD *_pdwStubPhase);
  1213.  
  1214.  
  1215. HRESULT STDMETHODCALLTYPE ICertEncodeSampleStructure1_GetBinaryField4_Proxy( 
  1216.     ICertEncodeSampleStructure1 __RPC_FAR * This,
  1217.     /* [retval][out] */ BSTR __RPC_FAR *pstrBinary);
  1218.  
  1219.  
  1220. void __RPC_STUB ICertEncodeSampleStructure1_GetBinaryField4_Stub(
  1221.     IRpcStubBuffer *This,
  1222.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1223.     PRPC_MESSAGE _pRpcMessage,
  1224.     DWORD *_pdwStubPhase);
  1225.  
  1226.  
  1227. HRESULT STDMETHODCALLTYPE ICertEncodeSampleStructure1_GetDateField5_Proxy( 
  1228.     ICertEncodeSampleStructure1 __RPC_FAR * This,
  1229.     /* [retval][out] */ DATE __RPC_FAR *pDate);
  1230.  
  1231.  
  1232. void __RPC_STUB ICertEncodeSampleStructure1_GetDateField5_Stub(
  1233.     IRpcStubBuffer *This,
  1234.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1235.     PRPC_MESSAGE _pRpcMessage,
  1236.     DWORD *_pdwStubPhase);
  1237.  
  1238.  
  1239. HRESULT STDMETHODCALLTYPE ICertEncodeSampleStructure1_Encode_Proxy( 
  1240.     ICertEncodeSampleStructure1 __RPC_FAR * This,
  1241.     /* [in] */ const BSTR strStringField1,
  1242.     /* [in] */ const BSTR strStringField2,
  1243.     /* [in] */ LONG LongField3,
  1244.     /* [in] */ const BSTR strBinaryField4,
  1245.     /* [in] */ DATE DateField5,
  1246.     /* [retval][out] */ BSTR __RPC_FAR *pstrBinary);
  1247.  
  1248.  
  1249. void __RPC_STUB ICertEncodeSampleStructure1_Encode_Stub(
  1250.     IRpcStubBuffer *This,
  1251.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1252.     PRPC_MESSAGE _pRpcMessage,
  1253.     DWORD *_pdwStubPhase);
  1254.  
  1255.  
  1256.  
  1257. #endif     /* __ICertEncodeSampleStructure1_INTERFACE_DEFINED__ */
  1258.  
  1259.  
  1260. #ifndef __ICertEncodeSampleStructure2_INTERFACE_DEFINED__
  1261. #define __ICertEncodeSampleStructure2_INTERFACE_DEFINED__
  1262.  
  1263. /****************************************
  1264.  * Generated header for interface: ICertEncodeSampleStructure2
  1265.  * at Mon Aug 11 14:43:15 1997
  1266.  * using MIDL 3.03.0106
  1267.  ****************************************/
  1268. /* [unique][helpstring][dual][uuid][object] */ 
  1269.  
  1270.  
  1271.  
  1272. EXTERN_C const IID IID_ICertEncodeSampleStructure2;
  1273.  
  1274. #if defined(__cplusplus) && !defined(CINTERFACE)
  1275.     
  1276.     MIDL_INTERFACE("68c58cd0-a0a0-11d0-8821-00a0c903b83c")
  1277.     ICertEncodeSampleStructure2 : public IDispatch
  1278.     {
  1279.     public:
  1280.         virtual HRESULT STDMETHODCALLTYPE Decode( 
  1281.             /* [in] */ const BSTR strBinary) = 0;
  1282.         
  1283.         virtual HRESULT STDMETHODCALLTYPE GetLongField1( 
  1284.             /* [retval][out] */ LONG __RPC_FAR *pLong) = 0;
  1285.         
  1286.         virtual HRESULT STDMETHODCALLTYPE GetStringField2( 
  1287.             /* [retval][out] */ BSTR __RPC_FAR *pstrString) = 0;
  1288.         
  1289.         virtual HRESULT STDMETHODCALLTYPE GetDateField3( 
  1290.             /* [retval][out] */ DATE __RPC_FAR *pDate) = 0;
  1291.         
  1292.         virtual HRESULT STDMETHODCALLTYPE Encode( 
  1293.             /* [in] */ LONG lField1,
  1294.             /* [in] */ const BSTR strStringField2,
  1295.             /* [in] */ DATE DateField3,
  1296.             /* [retval][out] */ BSTR __RPC_FAR *pstrBinary) = 0;
  1297.         
  1298.     };
  1299.     
  1300. #else     /* C style interface */
  1301.  
  1302.     typedef struct ICertEncodeSampleStructure2Vtbl
  1303.     {
  1304.         BEGIN_INTERFACE
  1305.         
  1306.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1307.             ICertEncodeSampleStructure2 __RPC_FAR * This,
  1308.             /* [in] */ REFIID riid,
  1309.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1310.         
  1311.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1312.             ICertEncodeSampleStructure2 __RPC_FAR * This);
  1313.         
  1314.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1315.             ICertEncodeSampleStructure2 __RPC_FAR * This);
  1316.         
  1317.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  1318.             ICertEncodeSampleStructure2 __RPC_FAR * This,
  1319.             /* [out] */ UINT __RPC_FAR *pctinfo);
  1320.         
  1321.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  1322.             ICertEncodeSampleStructure2 __RPC_FAR * This,
  1323.             /* [in] */ UINT iTInfo,
  1324.             /* [in] */ LCID lcid,
  1325.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1326.         
  1327.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  1328.             ICertEncodeSampleStructure2 __RPC_FAR * This,
  1329.             /* [in] */ REFIID riid,
  1330.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1331.             /* [in] */ UINT cNames,
  1332.             /* [in] */ LCID lcid,
  1333.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1334.         
  1335.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  1336.             ICertEncodeSampleStructure2 __RPC_FAR * This,
  1337.             /* [in] */ DISPID dispIdMember,
  1338.             /* [in] */ REFIID riid,
  1339.             /* [in] */ LCID lcid,
  1340.             /* [in] */ WORD wFlags,
  1341.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1342.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1343.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1344.             /* [out] */ UINT __RPC_FAR *puArgErr);
  1345.         
  1346.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Decode )( 
  1347.             ICertEncodeSampleStructure2 __RPC_FAR * This,
  1348.             /* [in] */ const BSTR strBinary);
  1349.         
  1350.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLongField1 )( 
  1351.             ICertEncodeSampleStructure2 __RPC_FAR * This,
  1352.             /* [retval][out] */ LONG __RPC_FAR *pLong);
  1353.         
  1354.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStringField2 )( 
  1355.             ICertEncodeSampleStructure2 __RPC_FAR * This,
  1356.             /* [retval][out] */ BSTR __RPC_FAR *pstrString);
  1357.         
  1358.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDateField3 )( 
  1359.             ICertEncodeSampleStructure2 __RPC_FAR * This,
  1360.             /* [retval][out] */ DATE __RPC_FAR *pDate);
  1361.         
  1362.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Encode )( 
  1363.             ICertEncodeSampleStructure2 __RPC_FAR * This,
  1364.             /* [in] */ LONG lField1,
  1365.             /* [in] */ const BSTR strStringField2,
  1366.             /* [in] */ DATE DateField3,
  1367.             /* [retval][out] */ BSTR __RPC_FAR *pstrBinary);
  1368.         
  1369.         END_INTERFACE
  1370.     } ICertEncodeSampleStructure2Vtbl;
  1371.  
  1372.     interface ICertEncodeSampleStructure2
  1373.     {
  1374.         CONST_VTBL struct ICertEncodeSampleStructure2Vtbl __RPC_FAR *lpVtbl;
  1375.     };
  1376.  
  1377.     
  1378.  
  1379. #ifdef COBJMACROS
  1380.  
  1381.  
  1382. #define ICertEncodeSampleStructure2_QueryInterface(This,riid,ppvObject)    \
  1383.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1384.  
  1385. #define ICertEncodeSampleStructure2_AddRef(This)    \
  1386.     (This)->lpVtbl -> AddRef(This)
  1387.  
  1388. #define ICertEncodeSampleStructure2_Release(This)    \
  1389.     (This)->lpVtbl -> Release(This)
  1390.  
  1391.  
  1392. #define ICertEncodeSampleStructure2_GetTypeInfoCount(This,pctinfo)    \
  1393.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1394.  
  1395. #define ICertEncodeSampleStructure2_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  1396.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1397.  
  1398. #define ICertEncodeSampleStructure2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  1399.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1400.  
  1401. #define ICertEncodeSampleStructure2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  1402.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1403.  
  1404.  
  1405. #define ICertEncodeSampleStructure2_Decode(This,strBinary)    \
  1406.     (This)->lpVtbl -> Decode(This,strBinary)
  1407.  
  1408. #define ICertEncodeSampleStructure2_GetLongField1(This,pLong)    \
  1409.     (This)->lpVtbl -> GetLongField1(This,pLong)
  1410.  
  1411. #define ICertEncodeSampleStructure2_GetStringField2(This,pstrString)    \
  1412.     (This)->lpVtbl -> GetStringField2(This,pstrString)
  1413.  
  1414. #define ICertEncodeSampleStructure2_GetDateField3(This,pDate)    \
  1415.     (This)->lpVtbl -> GetDateField3(This,pDate)
  1416.  
  1417. #define ICertEncodeSampleStructure2_Encode(This,lField1,strStringField2,DateField3,pstrBinary)    \
  1418.     (This)->lpVtbl -> Encode(This,lField1,strStringField2,DateField3,pstrBinary)
  1419.  
  1420. #endif /* COBJMACROS */
  1421.  
  1422.  
  1423. #endif     /* C style interface */
  1424.  
  1425.  
  1426.  
  1427. HRESULT STDMETHODCALLTYPE ICertEncodeSampleStructure2_Decode_Proxy( 
  1428.     ICertEncodeSampleStructure2 __RPC_FAR * This,
  1429.     /* [in] */ const BSTR strBinary);
  1430.  
  1431.  
  1432. void __RPC_STUB ICertEncodeSampleStructure2_Decode_Stub(
  1433.     IRpcStubBuffer *This,
  1434.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1435.     PRPC_MESSAGE _pRpcMessage,
  1436.     DWORD *_pdwStubPhase);
  1437.  
  1438.  
  1439. HRESULT STDMETHODCALLTYPE ICertEncodeSampleStructure2_GetLongField1_Proxy( 
  1440.     ICertEncodeSampleStructure2 __RPC_FAR * This,
  1441.     /* [retval][out] */ LONG __RPC_FAR *pLong);
  1442.  
  1443.  
  1444. void __RPC_STUB ICertEncodeSampleStructure2_GetLongField1_Stub(
  1445.     IRpcStubBuffer *This,
  1446.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1447.     PRPC_MESSAGE _pRpcMessage,
  1448.     DWORD *_pdwStubPhase);
  1449.  
  1450.  
  1451. HRESULT STDMETHODCALLTYPE ICertEncodeSampleStructure2_GetStringField2_Proxy( 
  1452.     ICertEncodeSampleStructure2 __RPC_FAR * This,
  1453.     /* [retval][out] */ BSTR __RPC_FAR *pstrString);
  1454.  
  1455.  
  1456. void __RPC_STUB ICertEncodeSampleStructure2_GetStringField2_Stub(
  1457.     IRpcStubBuffer *This,
  1458.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1459.     PRPC_MESSAGE _pRpcMessage,
  1460.     DWORD *_pdwStubPhase);
  1461.  
  1462.  
  1463. HRESULT STDMETHODCALLTYPE ICertEncodeSampleStructure2_GetDateField3_Proxy( 
  1464.     ICertEncodeSampleStructure2 __RPC_FAR * This,
  1465.     /* [retval][out] */ DATE __RPC_FAR *pDate);
  1466.  
  1467.  
  1468. void __RPC_STUB ICertEncodeSampleStructure2_GetDateField3_Stub(
  1469.     IRpcStubBuffer *This,
  1470.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1471.     PRPC_MESSAGE _pRpcMessage,
  1472.     DWORD *_pdwStubPhase);
  1473.  
  1474.  
  1475. HRESULT STDMETHODCALLTYPE ICertEncodeSampleStructure2_Encode_Proxy( 
  1476.     ICertEncodeSampleStructure2 __RPC_FAR * This,
  1477.     /* [in] */ LONG lField1,
  1478.     /* [in] */ const BSTR strStringField2,
  1479.     /* [in] */ DATE DateField3,
  1480.     /* [retval][out] */ BSTR __RPC_FAR *pstrBinary);
  1481.  
  1482.  
  1483. void __RPC_STUB ICertEncodeSampleStructure2_Encode_Stub(
  1484.     IRpcStubBuffer *This,
  1485.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1486.     PRPC_MESSAGE _pRpcMessage,
  1487.     DWORD *_pdwStubPhase);
  1488.  
  1489.  
  1490.  
  1491. #endif     /* __ICertEncodeSampleStructure2_INTERFACE_DEFINED__ */
  1492.  
  1493.  
  1494. #ifndef __ICertEncodeCRLDistInfo_INTERFACE_DEFINED__
  1495. #define __ICertEncodeCRLDistInfo_INTERFACE_DEFINED__
  1496.  
  1497. /****************************************
  1498.  * Generated header for interface: ICertEncodeCRLDistInfo
  1499.  * at Mon Aug 11 14:43:15 1997
  1500.  * using MIDL 3.03.0106
  1501.  ****************************************/
  1502. /* [unique][helpstring][dual][uuid][object] */ 
  1503.  
  1504.  
  1505.  
  1506. EXTERN_C const IID IID_ICertEncodeCRLDistInfo;
  1507.  
  1508. #if defined(__cplusplus) && !defined(CINTERFACE)
  1509.     
  1510.     MIDL_INTERFACE("01958640-bbff-11d0-8825-00a0c903b83c")
  1511.     ICertEncodeCRLDistInfo : public IDispatch
  1512.     {
  1513.     public:
  1514.         virtual HRESULT STDMETHODCALLTYPE Decode( 
  1515.             /* [in] */ const BSTR strBinary) = 0;
  1516.         
  1517.         virtual HRESULT STDMETHODCALLTYPE GetDistPointCount( 
  1518.             /* [retval][out] */ LONG __RPC_FAR *pDistPointCount) = 0;
  1519.         
  1520.         virtual HRESULT STDMETHODCALLTYPE GetNameCount( 
  1521.             /* [in] */ LONG DistPointIndex,
  1522.             /* [retval][out] */ LONG __RPC_FAR *pNameCount) = 0;
  1523.         
  1524.         virtual HRESULT STDMETHODCALLTYPE GetNameChoice( 
  1525.             /* [in] */ LONG DistPointIndex,
  1526.             /* [in] */ LONG NameIndex,
  1527.             /* [retval][out] */ LONG __RPC_FAR *pNameChoice) = 0;
  1528.         
  1529.         virtual HRESULT STDMETHODCALLTYPE GetName( 
  1530.             /* [in] */ LONG DistPointIndex,
  1531.             /* [in] */ LONG NameIndex,
  1532.             /* [retval][out] */ BSTR __RPC_FAR *pstrName) = 0;
  1533.         
  1534.         virtual HRESULT STDMETHODCALLTYPE Reset( 
  1535.             /* [in] */ LONG DistPointCount) = 0;
  1536.         
  1537.         virtual HRESULT STDMETHODCALLTYPE SetNameCount( 
  1538.             /* [in] */ LONG DistPointIndex,
  1539.             /* [in] */ LONG NameCount) = 0;
  1540.         
  1541.         virtual HRESULT STDMETHODCALLTYPE SetNameEntry( 
  1542.             /* [in] */ LONG DistPointIndex,
  1543.             /* [in] */ LONG NameIndex,
  1544.             /* [in] */ LONG NameChoice,
  1545.             /* [in] */ const BSTR strName) = 0;
  1546.         
  1547.         virtual HRESULT STDMETHODCALLTYPE Encode( 
  1548.             /* [retval][out] */ BSTR __RPC_FAR *pstrBinary) = 0;
  1549.         
  1550.     };
  1551.     
  1552. #else     /* C style interface */
  1553.  
  1554.     typedef struct ICertEncodeCRLDistInfoVtbl
  1555.     {
  1556.         BEGIN_INTERFACE
  1557.         
  1558.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1559.             ICertEncodeCRLDistInfo __RPC_FAR * This,
  1560.             /* [in] */ REFIID riid,
  1561.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1562.         
  1563.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1564.             ICertEncodeCRLDistInfo __RPC_FAR * This);
  1565.         
  1566.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1567.             ICertEncodeCRLDistInfo __RPC_FAR * This);
  1568.         
  1569.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  1570.             ICertEncodeCRLDistInfo __RPC_FAR * This,
  1571.             /* [out] */ UINT __RPC_FAR *pctinfo);
  1572.         
  1573.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  1574.             ICertEncodeCRLDistInfo __RPC_FAR * This,
  1575.             /* [in] */ UINT iTInfo,
  1576.             /* [in] */ LCID lcid,
  1577.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1578.         
  1579.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  1580.             ICertEncodeCRLDistInfo __RPC_FAR * This,
  1581.             /* [in] */ REFIID riid,
  1582.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1583.             /* [in] */ UINT cNames,
  1584.             /* [in] */ LCID lcid,
  1585.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1586.         
  1587.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  1588.             ICertEncodeCRLDistInfo __RPC_FAR * This,
  1589.             /* [in] */ DISPID dispIdMember,
  1590.             /* [in] */ REFIID riid,
  1591.             /* [in] */ LCID lcid,
  1592.             /* [in] */ WORD wFlags,
  1593.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1594.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1595.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1596.             /* [out] */ UINT __RPC_FAR *puArgErr);
  1597.         
  1598.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Decode )( 
  1599.             ICertEncodeCRLDistInfo __RPC_FAR * This,
  1600.             /* [in] */ const BSTR strBinary);
  1601.         
  1602.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDistPointCount )( 
  1603.             ICertEncodeCRLDistInfo __RPC_FAR * This,
  1604.             /* [retval][out] */ LONG __RPC_FAR *pDistPointCount);
  1605.         
  1606.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNameCount )( 
  1607.             ICertEncodeCRLDistInfo __RPC_FAR * This,
  1608.             /* [in] */ LONG DistPointIndex,
  1609.             /* [retval][out] */ LONG __RPC_FAR *pNameCount);
  1610.         
  1611.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNameChoice )( 
  1612.             ICertEncodeCRLDistInfo __RPC_FAR * This,
  1613.             /* [in] */ LONG DistPointIndex,
  1614.             /* [in] */ LONG NameIndex,
  1615.             /* [retval][out] */ LONG __RPC_FAR *pNameChoice);
  1616.         
  1617.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetName )( 
  1618.             ICertEncodeCRLDistInfo __RPC_FAR * This,
  1619.             /* [in] */ LONG DistPointIndex,
  1620.             /* [in] */ LONG NameIndex,
  1621.             /* [retval][out] */ BSTR __RPC_FAR *pstrName);
  1622.         
  1623.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Reset )( 
  1624.             ICertEncodeCRLDistInfo __RPC_FAR * This,
  1625.             /* [in] */ LONG DistPointCount);
  1626.         
  1627.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetNameCount )( 
  1628.             ICertEncodeCRLDistInfo __RPC_FAR * This,
  1629.             /* [in] */ LONG DistPointIndex,
  1630.             /* [in] */ LONG NameCount);
  1631.         
  1632.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetNameEntry )( 
  1633.             ICertEncodeCRLDistInfo __RPC_FAR * This,
  1634.             /* [in] */ LONG DistPointIndex,
  1635.             /* [in] */ LONG NameIndex,
  1636.             /* [in] */ LONG NameChoice,
  1637.             /* [in] */ const BSTR strName);
  1638.         
  1639.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Encode )( 
  1640.             ICertEncodeCRLDistInfo __RPC_FAR * This,
  1641.             /* [retval][out] */ BSTR __RPC_FAR *pstrBinary);
  1642.         
  1643.         END_INTERFACE
  1644.     } ICertEncodeCRLDistInfoVtbl;
  1645.  
  1646.     interface ICertEncodeCRLDistInfo
  1647.     {
  1648.         CONST_VTBL struct ICertEncodeCRLDistInfoVtbl __RPC_FAR *lpVtbl;
  1649.     };
  1650.  
  1651.     
  1652.  
  1653. #ifdef COBJMACROS
  1654.  
  1655.  
  1656. #define ICertEncodeCRLDistInfo_QueryInterface(This,riid,ppvObject)    \
  1657.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1658.  
  1659. #define ICertEncodeCRLDistInfo_AddRef(This)    \
  1660.     (This)->lpVtbl -> AddRef(This)
  1661.  
  1662. #define ICertEncodeCRLDistInfo_Release(This)    \
  1663.     (This)->lpVtbl -> Release(This)
  1664.  
  1665.  
  1666. #define ICertEncodeCRLDistInfo_GetTypeInfoCount(This,pctinfo)    \
  1667.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1668.  
  1669. #define ICertEncodeCRLDistInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  1670.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1671.  
  1672. #define ICertEncodeCRLDistInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  1673.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1674.  
  1675. #define ICertEncodeCRLDistInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  1676.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1677.  
  1678.  
  1679. #define ICertEncodeCRLDistInfo_Decode(This,strBinary)    \
  1680.     (This)->lpVtbl -> Decode(This,strBinary)
  1681.  
  1682. #define ICertEncodeCRLDistInfo_GetDistPointCount(This,pDistPointCount)    \
  1683.     (This)->lpVtbl -> GetDistPointCount(This,pDistPointCount)
  1684.  
  1685. #define ICertEncodeCRLDistInfo_GetNameCount(This,DistPointIndex,pNameCount)    \
  1686.     (This)->lpVtbl -> GetNameCount(This,DistPointIndex,pNameCount)
  1687.  
  1688. #define ICertEncodeCRLDistInfo_GetNameChoice(This,DistPointIndex,NameIndex,pNameChoice)    \
  1689.     (This)->lpVtbl -> GetNameChoice(This,DistPointIndex,NameIndex,pNameChoice)
  1690.  
  1691. #define ICertEncodeCRLDistInfo_GetName(This,DistPointIndex,NameIndex,pstrName)    \
  1692.     (This)->lpVtbl -> GetName(This,DistPointIndex,NameIndex,pstrName)
  1693.  
  1694. #define ICertEncodeCRLDistInfo_Reset(This,DistPointCount)    \
  1695.     (This)->lpVtbl -> Reset(This,DistPointCount)
  1696.  
  1697. #define ICertEncodeCRLDistInfo_SetNameCount(This,DistPointIndex,NameCount)    \
  1698.     (This)->lpVtbl -> SetNameCount(This,DistPointIndex,NameCount)
  1699.  
  1700. #define ICertEncodeCRLDistInfo_SetNameEntry(This,DistPointIndex,NameIndex,NameChoice,strName)    \
  1701.     (This)->lpVtbl -> SetNameEntry(This,DistPointIndex,NameIndex,NameChoice,strName)
  1702.  
  1703. #define ICertEncodeCRLDistInfo_Encode(This,pstrBinary)    \
  1704.     (This)->lpVtbl -> Encode(This,pstrBinary)
  1705.  
  1706. #endif /* COBJMACROS */
  1707.  
  1708.  
  1709. #endif     /* C style interface */
  1710.  
  1711.  
  1712.  
  1713. HRESULT STDMETHODCALLTYPE ICertEncodeCRLDistInfo_Decode_Proxy( 
  1714.     ICertEncodeCRLDistInfo __RPC_FAR * This,
  1715.     /* [in] */ const BSTR strBinary);
  1716.  
  1717.  
  1718. void __RPC_STUB ICertEncodeCRLDistInfo_Decode_Stub(
  1719.     IRpcStubBuffer *This,
  1720.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1721.     PRPC_MESSAGE _pRpcMessage,
  1722.     DWORD *_pdwStubPhase);
  1723.  
  1724.  
  1725. HRESULT STDMETHODCALLTYPE ICertEncodeCRLDistInfo_GetDistPointCount_Proxy( 
  1726.     ICertEncodeCRLDistInfo __RPC_FAR * This,
  1727.     /* [retval][out] */ LONG __RPC_FAR *pDistPointCount);
  1728.  
  1729.  
  1730. void __RPC_STUB ICertEncodeCRLDistInfo_GetDistPointCount_Stub(
  1731.     IRpcStubBuffer *This,
  1732.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1733.     PRPC_MESSAGE _pRpcMessage,
  1734.     DWORD *_pdwStubPhase);
  1735.  
  1736.  
  1737. HRESULT STDMETHODCALLTYPE ICertEncodeCRLDistInfo_GetNameCount_Proxy( 
  1738.     ICertEncodeCRLDistInfo __RPC_FAR * This,
  1739.     /* [in] */ LONG DistPointIndex,
  1740.     /* [retval][out] */ LONG __RPC_FAR *pNameCount);
  1741.  
  1742.  
  1743. void __RPC_STUB ICertEncodeCRLDistInfo_GetNameCount_Stub(
  1744.     IRpcStubBuffer *This,
  1745.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1746.     PRPC_MESSAGE _pRpcMessage,
  1747.     DWORD *_pdwStubPhase);
  1748.  
  1749.  
  1750. HRESULT STDMETHODCALLTYPE ICertEncodeCRLDistInfo_GetNameChoice_Proxy( 
  1751.     ICertEncodeCRLDistInfo __RPC_FAR * This,
  1752.     /* [in] */ LONG DistPointIndex,
  1753.     /* [in] */ LONG NameIndex,
  1754.     /* [retval][out] */ LONG __RPC_FAR *pNameChoice);
  1755.  
  1756.  
  1757. void __RPC_STUB ICertEncodeCRLDistInfo_GetNameChoice_Stub(
  1758.     IRpcStubBuffer *This,
  1759.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1760.     PRPC_MESSAGE _pRpcMessage,
  1761.     DWORD *_pdwStubPhase);
  1762.  
  1763.  
  1764. HRESULT STDMETHODCALLTYPE ICertEncodeCRLDistInfo_GetName_Proxy( 
  1765.     ICertEncodeCRLDistInfo __RPC_FAR * This,
  1766.     /* [in] */ LONG DistPointIndex,
  1767.     /* [in] */ LONG NameIndex,
  1768.     /* [retval][out] */ BSTR __RPC_FAR *pstrName);
  1769.  
  1770.  
  1771. void __RPC_STUB ICertEncodeCRLDistInfo_GetName_Stub(
  1772.     IRpcStubBuffer *This,
  1773.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1774.     PRPC_MESSAGE _pRpcMessage,
  1775.     DWORD *_pdwStubPhase);
  1776.  
  1777.  
  1778. HRESULT STDMETHODCALLTYPE ICertEncodeCRLDistInfo_Reset_Proxy( 
  1779.     ICertEncodeCRLDistInfo __RPC_FAR * This,
  1780.     /* [in] */ LONG DistPointCount);
  1781.  
  1782.  
  1783. void __RPC_STUB ICertEncodeCRLDistInfo_Reset_Stub(
  1784.     IRpcStubBuffer *This,
  1785.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1786.     PRPC_MESSAGE _pRpcMessage,
  1787.     DWORD *_pdwStubPhase);
  1788.  
  1789.  
  1790. HRESULT STDMETHODCALLTYPE ICertEncodeCRLDistInfo_SetNameCount_Proxy( 
  1791.     ICertEncodeCRLDistInfo __RPC_FAR * This,
  1792.     /* [in] */ LONG DistPointIndex,
  1793.     /* [in] */ LONG NameCount);
  1794.  
  1795.  
  1796. void __RPC_STUB ICertEncodeCRLDistInfo_SetNameCount_Stub(
  1797.     IRpcStubBuffer *This,
  1798.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1799.     PRPC_MESSAGE _pRpcMessage,
  1800.     DWORD *_pdwStubPhase);
  1801.  
  1802.  
  1803. HRESULT STDMETHODCALLTYPE ICertEncodeCRLDistInfo_SetNameEntry_Proxy( 
  1804.     ICertEncodeCRLDistInfo __RPC_FAR * This,
  1805.     /* [in] */ LONG DistPointIndex,
  1806.     /* [in] */ LONG NameIndex,
  1807.     /* [in] */ LONG NameChoice,
  1808.     /* [in] */ const BSTR strName);
  1809.  
  1810.  
  1811. void __RPC_STUB ICertEncodeCRLDistInfo_SetNameEntry_Stub(
  1812.     IRpcStubBuffer *This,
  1813.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1814.     PRPC_MESSAGE _pRpcMessage,
  1815.     DWORD *_pdwStubPhase);
  1816.  
  1817.  
  1818. HRESULT STDMETHODCALLTYPE ICertEncodeCRLDistInfo_Encode_Proxy( 
  1819.     ICertEncodeCRLDistInfo __RPC_FAR * This,
  1820.     /* [retval][out] */ BSTR __RPC_FAR *pstrBinary);
  1821.  
  1822.  
  1823. void __RPC_STUB ICertEncodeCRLDistInfo_Encode_Stub(
  1824.     IRpcStubBuffer *This,
  1825.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1826.     PRPC_MESSAGE _pRpcMessage,
  1827.     DWORD *_pdwStubPhase);
  1828.  
  1829.  
  1830.  
  1831. #endif     /* __ICertEncodeCRLDistInfo_INTERFACE_DEFINED__ */
  1832.  
  1833.  
  1834. #ifndef __ICertEncodeAltName_INTERFACE_DEFINED__
  1835. #define __ICertEncodeAltName_INTERFACE_DEFINED__
  1836.  
  1837. /****************************************
  1838.  * Generated header for interface: ICertEncodeAltName
  1839.  * at Mon Aug 11 14:43:15 1997
  1840.  * using MIDL 3.03.0106
  1841.  ****************************************/
  1842. /* [unique][helpstring][dual][uuid][object] */ 
  1843.  
  1844.  
  1845.  
  1846. EXTERN_C const IID IID_ICertEncodeAltName;
  1847.  
  1848. #if defined(__cplusplus) && !defined(CINTERFACE)
  1849.     
  1850.     MIDL_INTERFACE("1c9a8c70-1271-11d1-9bd4-00c04fb683fa")
  1851.     ICertEncodeAltName : public IDispatch
  1852.     {
  1853.     public:
  1854.         virtual HRESULT STDMETHODCALLTYPE Decode( 
  1855.             /* [in] */ const BSTR strBinary) = 0;
  1856.         
  1857.         virtual HRESULT STDMETHODCALLTYPE GetNameCount( 
  1858.             /* [retval][out] */ LONG __RPC_FAR *pNameCount) = 0;
  1859.         
  1860.         virtual HRESULT STDMETHODCALLTYPE GetNameChoice( 
  1861.             /* [in] */ LONG NameIndex,
  1862.             /* [retval][out] */ LONG __RPC_FAR *pNameChoice) = 0;
  1863.         
  1864.         virtual HRESULT STDMETHODCALLTYPE GetName( 
  1865.             /* [in] */ LONG NameIndex,
  1866.             /* [retval][out] */ BSTR __RPC_FAR *pstrName) = 0;
  1867.         
  1868.         virtual HRESULT STDMETHODCALLTYPE Reset( 
  1869.             /* [in] */ LONG NameCount) = 0;
  1870.         
  1871.         virtual HRESULT STDMETHODCALLTYPE SetNameEntry( 
  1872.             /* [in] */ LONG NameIndex,
  1873.             /* [in] */ LONG NameChoice,
  1874.             /* [in] */ const BSTR strName) = 0;
  1875.         
  1876.         virtual HRESULT STDMETHODCALLTYPE Encode( 
  1877.             /* [retval][out] */ BSTR __RPC_FAR *pstrBinary) = 0;
  1878.         
  1879.     };
  1880.     
  1881. #else     /* C style interface */
  1882.  
  1883.     typedef struct ICertEncodeAltNameVtbl
  1884.     {
  1885.         BEGIN_INTERFACE
  1886.         
  1887.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1888.             ICertEncodeAltName __RPC_FAR * This,
  1889.             /* [in] */ REFIID riid,
  1890.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1891.         
  1892.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1893.             ICertEncodeAltName __RPC_FAR * This);
  1894.         
  1895.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1896.             ICertEncodeAltName __RPC_FAR * This);
  1897.         
  1898.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  1899.             ICertEncodeAltName __RPC_FAR * This,
  1900.             /* [out] */ UINT __RPC_FAR *pctinfo);
  1901.         
  1902.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  1903.             ICertEncodeAltName __RPC_FAR * This,
  1904.             /* [in] */ UINT iTInfo,
  1905.             /* [in] */ LCID lcid,
  1906.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1907.         
  1908.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  1909.             ICertEncodeAltName __RPC_FAR * This,
  1910.             /* [in] */ REFIID riid,
  1911.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1912.             /* [in] */ UINT cNames,
  1913.             /* [in] */ LCID lcid,
  1914.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1915.         
  1916.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  1917.             ICertEncodeAltName __RPC_FAR * This,
  1918.             /* [in] */ DISPID dispIdMember,
  1919.             /* [in] */ REFIID riid,
  1920.             /* [in] */ LCID lcid,
  1921.             /* [in] */ WORD wFlags,
  1922.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1923.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1924.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1925.             /* [out] */ UINT __RPC_FAR *puArgErr);
  1926.         
  1927.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Decode )( 
  1928.             ICertEncodeAltName __RPC_FAR * This,
  1929.             /* [in] */ const BSTR strBinary);
  1930.         
  1931.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNameCount )( 
  1932.             ICertEncodeAltName __RPC_FAR * This,
  1933.             /* [retval][out] */ LONG __RPC_FAR *pNameCount);
  1934.         
  1935.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNameChoice )( 
  1936.             ICertEncodeAltName __RPC_FAR * This,
  1937.             /* [in] */ LONG NameIndex,
  1938.             /* [retval][out] */ LONG __RPC_FAR *pNameChoice);
  1939.         
  1940.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetName )( 
  1941.             ICertEncodeAltName __RPC_FAR * This,
  1942.             /* [in] */ LONG NameIndex,
  1943.             /* [retval][out] */ BSTR __RPC_FAR *pstrName);
  1944.         
  1945.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Reset )( 
  1946.             ICertEncodeAltName __RPC_FAR * This,
  1947.             /* [in] */ LONG NameCount);
  1948.         
  1949.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetNameEntry )( 
  1950.             ICertEncodeAltName __RPC_FAR * This,
  1951.             /* [in] */ LONG NameIndex,
  1952.             /* [in] */ LONG NameChoice,
  1953.             /* [in] */ const BSTR strName);
  1954.         
  1955.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Encode )( 
  1956.             ICertEncodeAltName __RPC_FAR * This,
  1957.             /* [retval][out] */ BSTR __RPC_FAR *pstrBinary);
  1958.         
  1959.         END_INTERFACE
  1960.     } ICertEncodeAltNameVtbl;
  1961.  
  1962.     interface ICertEncodeAltName
  1963.     {
  1964.         CONST_VTBL struct ICertEncodeAltNameVtbl __RPC_FAR *lpVtbl;
  1965.     };
  1966.  
  1967.     
  1968.  
  1969. #ifdef COBJMACROS
  1970.  
  1971.  
  1972. #define ICertEncodeAltName_QueryInterface(This,riid,ppvObject)    \
  1973.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1974.  
  1975. #define ICertEncodeAltName_AddRef(This)    \
  1976.     (This)->lpVtbl -> AddRef(This)
  1977.  
  1978. #define ICertEncodeAltName_Release(This)    \
  1979.     (This)->lpVtbl -> Release(This)
  1980.  
  1981.  
  1982. #define ICertEncodeAltName_GetTypeInfoCount(This,pctinfo)    \
  1983.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1984.  
  1985. #define ICertEncodeAltName_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  1986.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1987.  
  1988. #define ICertEncodeAltName_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  1989.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1990.  
  1991. #define ICertEncodeAltName_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  1992.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1993.  
  1994.  
  1995. #define ICertEncodeAltName_Decode(This,strBinary)    \
  1996.     (This)->lpVtbl -> Decode(This,strBinary)
  1997.  
  1998. #define ICertEncodeAltName_GetNameCount(This,pNameCount)    \
  1999.     (This)->lpVtbl -> GetNameCount(This,pNameCount)
  2000.  
  2001. #define ICertEncodeAltName_GetNameChoice(This,NameIndex,pNameChoice)    \
  2002.     (This)->lpVtbl -> GetNameChoice(This,NameIndex,pNameChoice)
  2003.  
  2004. #define ICertEncodeAltName_GetName(This,NameIndex,pstrName)    \
  2005.     (This)->lpVtbl -> GetName(This,NameIndex,pstrName)
  2006.  
  2007. #define ICertEncodeAltName_Reset(This,NameCount)    \
  2008.     (This)->lpVtbl -> Reset(This,NameCount)
  2009.  
  2010. #define ICertEncodeAltName_SetNameEntry(This,NameIndex,NameChoice,strName)    \
  2011.     (This)->lpVtbl -> SetNameEntry(This,NameIndex,NameChoice,strName)
  2012.  
  2013. #define ICertEncodeAltName_Encode(This,pstrBinary)    \
  2014.     (This)->lpVtbl -> Encode(This,pstrBinary)
  2015.  
  2016. #endif /* COBJMACROS */
  2017.  
  2018.  
  2019. #endif     /* C style interface */
  2020.  
  2021.  
  2022.  
  2023. HRESULT STDMETHODCALLTYPE ICertEncodeAltName_Decode_Proxy( 
  2024.     ICertEncodeAltName __RPC_FAR * This,
  2025.     /* [in] */ const BSTR strBinary);
  2026.  
  2027.  
  2028. void __RPC_STUB ICertEncodeAltName_Decode_Stub(
  2029.     IRpcStubBuffer *This,
  2030.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2031.     PRPC_MESSAGE _pRpcMessage,
  2032.     DWORD *_pdwStubPhase);
  2033.  
  2034.  
  2035. HRESULT STDMETHODCALLTYPE ICertEncodeAltName_GetNameCount_Proxy( 
  2036.     ICertEncodeAltName __RPC_FAR * This,
  2037.     /* [retval][out] */ LONG __RPC_FAR *pNameCount);
  2038.  
  2039.  
  2040. void __RPC_STUB ICertEncodeAltName_GetNameCount_Stub(
  2041.     IRpcStubBuffer *This,
  2042.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2043.     PRPC_MESSAGE _pRpcMessage,
  2044.     DWORD *_pdwStubPhase);
  2045.  
  2046.  
  2047. HRESULT STDMETHODCALLTYPE ICertEncodeAltName_GetNameChoice_Proxy( 
  2048.     ICertEncodeAltName __RPC_FAR * This,
  2049.     /* [in] */ LONG NameIndex,
  2050.     /* [retval][out] */ LONG __RPC_FAR *pNameChoice);
  2051.  
  2052.  
  2053. void __RPC_STUB ICertEncodeAltName_GetNameChoice_Stub(
  2054.     IRpcStubBuffer *This,
  2055.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2056.     PRPC_MESSAGE _pRpcMessage,
  2057.     DWORD *_pdwStubPhase);
  2058.  
  2059.  
  2060. HRESULT STDMETHODCALLTYPE ICertEncodeAltName_GetName_Proxy( 
  2061.     ICertEncodeAltName __RPC_FAR * This,
  2062.     /* [in] */ LONG NameIndex,
  2063.     /* [retval][out] */ BSTR __RPC_FAR *pstrName);
  2064.  
  2065.  
  2066. void __RPC_STUB ICertEncodeAltName_GetName_Stub(
  2067.     IRpcStubBuffer *This,
  2068.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2069.     PRPC_MESSAGE _pRpcMessage,
  2070.     DWORD *_pdwStubPhase);
  2071.  
  2072.  
  2073. HRESULT STDMETHODCALLTYPE ICertEncodeAltName_Reset_Proxy( 
  2074.     ICertEncodeAltName __RPC_FAR * This,
  2075.     /* [in] */ LONG NameCount);
  2076.  
  2077.  
  2078. void __RPC_STUB ICertEncodeAltName_Reset_Stub(
  2079.     IRpcStubBuffer *This,
  2080.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2081.     PRPC_MESSAGE _pRpcMessage,
  2082.     DWORD *_pdwStubPhase);
  2083.  
  2084.  
  2085. HRESULT STDMETHODCALLTYPE ICertEncodeAltName_SetNameEntry_Proxy( 
  2086.     ICertEncodeAltName __RPC_FAR * This,
  2087.     /* [in] */ LONG NameIndex,
  2088.     /* [in] */ LONG NameChoice,
  2089.     /* [in] */ const BSTR strName);
  2090.  
  2091.  
  2092. void __RPC_STUB ICertEncodeAltName_SetNameEntry_Stub(
  2093.     IRpcStubBuffer *This,
  2094.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2095.     PRPC_MESSAGE _pRpcMessage,
  2096.     DWORD *_pdwStubPhase);
  2097.  
  2098.  
  2099. HRESULT STDMETHODCALLTYPE ICertEncodeAltName_Encode_Proxy( 
  2100.     ICertEncodeAltName __RPC_FAR * This,
  2101.     /* [retval][out] */ BSTR __RPC_FAR *pstrBinary);
  2102.  
  2103.  
  2104. void __RPC_STUB ICertEncodeAltName_Encode_Stub(
  2105.     IRpcStubBuffer *This,
  2106.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2107.     PRPC_MESSAGE _pRpcMessage,
  2108.     DWORD *_pdwStubPhase);
  2109.  
  2110.  
  2111.  
  2112. #endif     /* __ICertEncodeAltName_INTERFACE_DEFINED__ */
  2113.  
  2114.  
  2115. #ifndef __ICertEncodeBitString_INTERFACE_DEFINED__
  2116. #define __ICertEncodeBitString_INTERFACE_DEFINED__
  2117.  
  2118. /****************************************
  2119.  * Generated header for interface: ICertEncodeBitString
  2120.  * at Mon Aug 11 14:43:15 1997
  2121.  * using MIDL 3.03.0106
  2122.  ****************************************/
  2123. /* [unique][helpstring][dual][uuid][object] */ 
  2124.  
  2125.  
  2126.  
  2127. EXTERN_C const IID IID_ICertEncodeBitString;
  2128.  
  2129. #if defined(__cplusplus) && !defined(CINTERFACE)
  2130.     
  2131.     MIDL_INTERFACE("6db525be-1278-11d1-9bd4-00c04fb683fa")
  2132.     ICertEncodeBitString : public IDispatch
  2133.     {
  2134.     public:
  2135.         virtual HRESULT STDMETHODCALLTYPE Decode( 
  2136.             /* [in] */ const BSTR strBinary) = 0;
  2137.         
  2138.         virtual HRESULT STDMETHODCALLTYPE GetBitCount( 
  2139.             /* [retval][out] */ LONG __RPC_FAR *pBitCount) = 0;
  2140.         
  2141.         virtual HRESULT STDMETHODCALLTYPE GetBitString( 
  2142.             /* [retval][out] */ BSTR __RPC_FAR *pstrBitString) = 0;
  2143.         
  2144.         virtual HRESULT STDMETHODCALLTYPE Encode( 
  2145.             /* [in] */ LONG BitCount,
  2146.             /* [in] */ BSTR strBitString,
  2147.             /* [retval][out] */ BSTR __RPC_FAR *pstrBinary) = 0;
  2148.         
  2149.     };
  2150.     
  2151. #else     /* C style interface */
  2152.  
  2153.     typedef struct ICertEncodeBitStringVtbl
  2154.     {
  2155.         BEGIN_INTERFACE
  2156.         
  2157.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2158.             ICertEncodeBitString __RPC_FAR * This,
  2159.             /* [in] */ REFIID riid,
  2160.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2161.         
  2162.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2163.             ICertEncodeBitString __RPC_FAR * This);
  2164.         
  2165.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2166.             ICertEncodeBitString __RPC_FAR * This);
  2167.         
  2168.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  2169.             ICertEncodeBitString __RPC_FAR * This,
  2170.             /* [out] */ UINT __RPC_FAR *pctinfo);
  2171.         
  2172.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  2173.             ICertEncodeBitString __RPC_FAR * This,
  2174.             /* [in] */ UINT iTInfo,
  2175.             /* [in] */ LCID lcid,
  2176.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2177.         
  2178.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  2179.             ICertEncodeBitString __RPC_FAR * This,
  2180.             /* [in] */ REFIID riid,
  2181.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2182.             /* [in] */ UINT cNames,
  2183.             /* [in] */ LCID lcid,
  2184.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2185.         
  2186.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  2187.             ICertEncodeBitString __RPC_FAR * This,
  2188.             /* [in] */ DISPID dispIdMember,
  2189.             /* [in] */ REFIID riid,
  2190.             /* [in] */ LCID lcid,
  2191.             /* [in] */ WORD wFlags,
  2192.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2193.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2194.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2195.             /* [out] */ UINT __RPC_FAR *puArgErr);
  2196.         
  2197.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Decode )( 
  2198.             ICertEncodeBitString __RPC_FAR * This,
  2199.             /* [in] */ const BSTR strBinary);
  2200.         
  2201.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBitCount )( 
  2202.             ICertEncodeBitString __RPC_FAR * This,
  2203.             /* [retval][out] */ LONG __RPC_FAR *pBitCount);
  2204.         
  2205.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBitString )( 
  2206.             ICertEncodeBitString __RPC_FAR * This,
  2207.             /* [retval][out] */ BSTR __RPC_FAR *pstrBitString);
  2208.         
  2209.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Encode )( 
  2210.             ICertEncodeBitString __RPC_FAR * This,
  2211.             /* [in] */ LONG BitCount,
  2212.             /* [in] */ BSTR strBitString,
  2213.             /* [retval][out] */ BSTR __RPC_FAR *pstrBinary);
  2214.         
  2215.         END_INTERFACE
  2216.     } ICertEncodeBitStringVtbl;
  2217.  
  2218.     interface ICertEncodeBitString
  2219.     {
  2220.         CONST_VTBL struct ICertEncodeBitStringVtbl __RPC_FAR *lpVtbl;
  2221.     };
  2222.  
  2223.     
  2224.  
  2225. #ifdef COBJMACROS
  2226.  
  2227.  
  2228. #define ICertEncodeBitString_QueryInterface(This,riid,ppvObject)    \
  2229.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2230.  
  2231. #define ICertEncodeBitString_AddRef(This)    \
  2232.     (This)->lpVtbl -> AddRef(This)
  2233.  
  2234. #define ICertEncodeBitString_Release(This)    \
  2235.     (This)->lpVtbl -> Release(This)
  2236.  
  2237.  
  2238. #define ICertEncodeBitString_GetTypeInfoCount(This,pctinfo)    \
  2239.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2240.  
  2241. #define ICertEncodeBitString_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  2242.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2243.  
  2244. #define ICertEncodeBitString_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  2245.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2246.  
  2247. #define ICertEncodeBitString_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  2248.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2249.  
  2250.  
  2251. #define ICertEncodeBitString_Decode(This,strBinary)    \
  2252.     (This)->lpVtbl -> Decode(This,strBinary)
  2253.  
  2254. #define ICertEncodeBitString_GetBitCount(This,pBitCount)    \
  2255.     (This)->lpVtbl -> GetBitCount(This,pBitCount)
  2256.  
  2257. #define ICertEncodeBitString_GetBitString(This,pstrBitString)    \
  2258.     (This)->lpVtbl -> GetBitString(This,pstrBitString)
  2259.  
  2260. #define ICertEncodeBitString_Encode(This,BitCount,strBitString,pstrBinary)    \
  2261.     (This)->lpVtbl -> Encode(This,BitCount,strBitString,pstrBinary)
  2262.  
  2263. #endif /* COBJMACROS */
  2264.  
  2265.  
  2266. #endif     /* C style interface */
  2267.  
  2268.  
  2269.  
  2270. HRESULT STDMETHODCALLTYPE ICertEncodeBitString_Decode_Proxy( 
  2271.     ICertEncodeBitString __RPC_FAR * This,
  2272.     /* [in] */ const BSTR strBinary);
  2273.  
  2274.  
  2275. void __RPC_STUB ICertEncodeBitString_Decode_Stub(
  2276.     IRpcStubBuffer *This,
  2277.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2278.     PRPC_MESSAGE _pRpcMessage,
  2279.     DWORD *_pdwStubPhase);
  2280.  
  2281.  
  2282. HRESULT STDMETHODCALLTYPE ICertEncodeBitString_GetBitCount_Proxy( 
  2283.     ICertEncodeBitString __RPC_FAR * This,
  2284.     /* [retval][out] */ LONG __RPC_FAR *pBitCount);
  2285.  
  2286.  
  2287. void __RPC_STUB ICertEncodeBitString_GetBitCount_Stub(
  2288.     IRpcStubBuffer *This,
  2289.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2290.     PRPC_MESSAGE _pRpcMessage,
  2291.     DWORD *_pdwStubPhase);
  2292.  
  2293.  
  2294. HRESULT STDMETHODCALLTYPE ICertEncodeBitString_GetBitString_Proxy( 
  2295.     ICertEncodeBitString __RPC_FAR * This,
  2296.     /* [retval][out] */ BSTR __RPC_FAR *pstrBitString);
  2297.  
  2298.  
  2299. void __RPC_STUB ICertEncodeBitString_GetBitString_Stub(
  2300.     IRpcStubBuffer *This,
  2301.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2302.     PRPC_MESSAGE _pRpcMessage,
  2303.     DWORD *_pdwStubPhase);
  2304.  
  2305.  
  2306. HRESULT STDMETHODCALLTYPE ICertEncodeBitString_Encode_Proxy( 
  2307.     ICertEncodeBitString __RPC_FAR * This,
  2308.     /* [in] */ LONG BitCount,
  2309.     /* [in] */ BSTR strBitString,
  2310.     /* [retval][out] */ BSTR __RPC_FAR *pstrBinary);
  2311.  
  2312.  
  2313. void __RPC_STUB ICertEncodeBitString_Encode_Stub(
  2314.     IRpcStubBuffer *This,
  2315.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2316.     PRPC_MESSAGE _pRpcMessage,
  2317.     DWORD *_pdwStubPhase);
  2318.  
  2319.  
  2320.  
  2321. #endif     /* __ICertEncodeBitString_INTERFACE_DEFINED__ */
  2322.  
  2323.  
  2324.  
  2325. #ifndef __CERTENCODELib_LIBRARY_DEFINED__
  2326. #define __CERTENCODELib_LIBRARY_DEFINED__
  2327.  
  2328. /****************************************
  2329.  * Generated header for library: CERTENCODELib
  2330.  * at Mon Aug 11 14:43:15 1997
  2331.  * using MIDL 3.03.0106
  2332.  ****************************************/
  2333. /* [helpstring][version][uuid] */ 
  2334.  
  2335.  
  2336.  
  2337. EXTERN_C const IID LIBID_CERTENCODELib;
  2338.  
  2339. EXTERN_C const CLSID CLSID_CCertEncodeStringArray;
  2340.  
  2341. #ifdef __cplusplus
  2342.  
  2343. class DECLSPEC_UUID("19a76fe0-7494-11d0-8816-00a0c903b83c")
  2344. CCertEncodeStringArray;
  2345. #endif
  2346.  
  2347. EXTERN_C const CLSID CLSID_CCertEncodeLongArray;
  2348.  
  2349. #ifdef __cplusplus
  2350.  
  2351. class DECLSPEC_UUID("4e0680a0-a0a2-11d0-8821-00a0c903b83c")
  2352. CCertEncodeLongArray;
  2353. #endif
  2354.  
  2355. EXTERN_C const CLSID CLSID_CCertEncodeDateArray;
  2356.  
  2357. #ifdef __cplusplus
  2358.  
  2359. class DECLSPEC_UUID("301f77b0-a470-11d0-8821-00a0c903b83c")
  2360. CCertEncodeDateArray;
  2361. #endif
  2362.  
  2363. EXTERN_C const CLSID CLSID_CCertEncodeSampleStructure1;
  2364.  
  2365. #ifdef __cplusplus
  2366.  
  2367. class DECLSPEC_UUID("14f92680-a0a2-11d0-8821-00a0c903b83c")
  2368. CCertEncodeSampleStructure1;
  2369. #endif
  2370.  
  2371. EXTERN_C const CLSID CLSID_CCertEncodeSampleStructure2;
  2372.  
  2373. #ifdef __cplusplus
  2374.  
  2375. class DECLSPEC_UUID("695e5b90-a0a0-11d0-8821-00a0c903b83c")
  2376. CCertEncodeSampleStructure2;
  2377. #endif
  2378.  
  2379. EXTERN_C const CLSID CLSID_CCertEncodeCRLDistInfo;
  2380.  
  2381. #ifdef __cplusplus
  2382.  
  2383. class DECLSPEC_UUID("01fa60a0-bbff-11d0-8825-00a0c903b83c")
  2384. CCertEncodeCRLDistInfo;
  2385. #endif
  2386.  
  2387. EXTERN_C const CLSID CLSID_CCertEncodeAltName;
  2388.  
  2389. #ifdef __cplusplus
  2390.  
  2391. class DECLSPEC_UUID("1cfc4cda-1271-11d1-9bd4-00c04fb683fa")
  2392. CCertEncodeAltName;
  2393. #endif
  2394.  
  2395. EXTERN_C const CLSID CLSID_CCertEncodeBitString;
  2396.  
  2397. #ifdef __cplusplus
  2398.  
  2399. class DECLSPEC_UUID("6d6b3cd8-1278-11d1-9bd4-00c04fb683fa")
  2400. CCertEncodeBitString;
  2401. #endif
  2402. #endif /* __CERTENCODELib_LIBRARY_DEFINED__ */
  2403.  
  2404. /* Additional Prototypes for ALL interfaces */
  2405.  
  2406. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long __RPC_FAR *, unsigned long            , BSTR __RPC_FAR * ); 
  2407. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  2408. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  2409. void                      __RPC_USER  BSTR_UserFree(     unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); 
  2410.  
  2411. /* end of Additional Prototypes */
  2412.  
  2413. #ifdef __cplusplus
  2414. }
  2415. #endif
  2416.  
  2417. #endif
  2418. #pragma option pop /*P_O_Pop*/
  2419.