#define global IID_ICEnroll4 "{C1F1188A-2EB5-4A80-841B-7E729A356D90}"
#usecom global ICEnroll4 IID_ICEnroll4 "{43F8F289-7A20-11D0-8F06-00C04FC295E1}"
#comfunc global ICEnroll4_put_PrivateKeyArchiveCertificate 83 wstr
#comfunc global ICEnroll4_get_PrivateKeyArchiveCertificate 84 var
#comfunc global ICEnroll4_put_ThumbPrint 85 wstr
#comfunc global ICEnroll4_get_ThumbPrint 86 var
#comfunc global ICEnroll4_binaryToString 87 int,wstr,var
#comfunc global ICEnroll4_stringToBinary 88 int,wstr,var
#comfunc global ICEnroll4_addExtensionToRequest 89 int,wstr,wstr
#comfunc global ICEnroll4_addAttributeToRequest 90 int,wstr,wstr
#comfunc global ICEnroll4_addNameValuePairToRequest 91 int,wstr,wstr
#comfunc global ICEnroll4_resetExtensions 92
#comfunc global ICEnroll4_resetAttributes 93
#comfunc global ICEnroll4_createRequest 94 int,wstr,wstr,var
#comfunc global ICEnroll4_createFileRequest 95 int,wstr,wstr,wstr
#comfunc global ICEnroll4_acceptResponse 96 wstr
#comfunc global ICEnroll4_acceptFileResponse 97 wstr
#comfunc global ICEnroll4_getCertFromResponse 98 wstr,var
#comfunc global ICEnroll4_getCertFromFileResponse 99 wstr,var
#comfunc global ICEnroll4_createPFX 100 wstr,var
#comfunc global ICEnroll4_createFilePFX 101 wstr,wstr
#comfunc global ICEnroll4_setPendingRequestInfo 102 int,wstr,wstr,wstr
#comfunc global ICEnroll4_enumPendingRequest 103 int,int,var
#comfunc global ICEnroll4_removePendingRequest 104 wstr
#comfunc global ICEnroll4_GetKeyLenEx 105 int,int,var
#comfunc global ICEnroll4_InstallPKCS7Ex 106 wstr,var
#comfunc global ICEnroll4_addCertTypeToRequestEx 107 int,wstr,int,int,int
#comfunc global ICEnroll4_getProviderType 108 wstr,var
#comfunc global ICEnroll4_put_SignerCertificate 109 wstr
#comfunc global ICEnroll4_put_ClientId 110 int
#comfunc global ICEnroll4_get_ClientId 111 var
#comfunc global ICEnroll4_addBlobPropertyToCertificate 112 int,int,wstr
#comfunc global ICEnroll4_resetBlobProperties 113
#comfunc global ICEnroll4_put_IncludeSubjectKeyID 114 int
#comfunc global ICEnroll4_get_IncludeSubjectKeyID 115 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_ICEnroll4 "{C1F1188A-2EB5-4A80-841B-7E729A356D90}"
#usecom global ICEnroll4 IID_ICEnroll4 "{43F8F289-7A20-11D0-8F06-00C04FC295E1}"
#comfunc global ICEnroll4_put_PrivateKeyArchiveCertificate 83 wstr
#comfunc global ICEnroll4_get_PrivateKeyArchiveCertificate 84 sptr
#comfunc global ICEnroll4_put_ThumbPrint 85 wstr
#comfunc global ICEnroll4_get_ThumbPrint 86 sptr
#comfunc global ICEnroll4_binaryToString 87 int,wstr,sptr
#comfunc global ICEnroll4_stringToBinary 88 int,wstr,sptr
#comfunc global ICEnroll4_addExtensionToRequest 89 int,wstr,wstr
#comfunc global ICEnroll4_addAttributeToRequest 90 int,wstr,wstr
#comfunc global ICEnroll4_addNameValuePairToRequest 91 int,wstr,wstr
#comfunc global ICEnroll4_resetExtensions 92
#comfunc global ICEnroll4_resetAttributes 93
#comfunc global ICEnroll4_createRequest 94 int,wstr,wstr,sptr
#comfunc global ICEnroll4_createFileRequest 95 int,wstr,wstr,wstr
#comfunc global ICEnroll4_acceptResponse 96 wstr
#comfunc global ICEnroll4_acceptFileResponse 97 wstr
#comfunc global ICEnroll4_getCertFromResponse 98 wstr,sptr
#comfunc global ICEnroll4_getCertFromFileResponse 99 wstr,sptr
#comfunc global ICEnroll4_createPFX 100 wstr,sptr
#comfunc global ICEnroll4_createFilePFX 101 wstr,wstr
#comfunc global ICEnroll4_setPendingRequestInfo 102 int,wstr,wstr,wstr
#comfunc global ICEnroll4_enumPendingRequest 103 int,int,sptr
#comfunc global ICEnroll4_removePendingRequest 104 wstr
#comfunc global ICEnroll4_GetKeyLenEx 105 int,int,sptr
#comfunc global ICEnroll4_InstallPKCS7Ex 106 wstr,sptr
#comfunc global ICEnroll4_addCertTypeToRequestEx 107 int,wstr,int,int,int
#comfunc global ICEnroll4_getProviderType 108 wstr,sptr
#comfunc global ICEnroll4_put_SignerCertificate 109 wstr
#comfunc global ICEnroll4_put_ClientId 110 int
#comfunc global ICEnroll4_get_ClientId 111 sptr
#comfunc global ICEnroll4_addBlobPropertyToCertificate 112 int,int,wstr
#comfunc global ICEnroll4_resetBlobProperties 113
#comfunc global ICEnroll4_put_IncludeSubjectKeyID 114 int
#comfunc global ICEnroll4_get_IncludeSubjectKeyID 115 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。