home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / certenc.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  82KB  |  2,417 lines

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