#define global IID_ICEnroll "{43F8F288-7A20-11D0-8F06-00C04FC295E1}"
#usecom global ICEnroll IID_ICEnroll "{43F8F289-7A20-11D0-8F06-00C04FC295E1}"
#comfunc global ICEnroll_createFilePKCS10 7 wstr,wstr,wstr
#comfunc global ICEnroll_acceptFilePKCS7 8 wstr
#comfunc global ICEnroll_createPKCS10 9 wstr,wstr,var
#comfunc global ICEnroll_acceptPKCS7 10 wstr
#comfunc global ICEnroll_getCertFromPKCS7 11 wstr,var
#comfunc global ICEnroll_enumProviders 12 int,int,var
#comfunc global ICEnroll_enumContainers 13 int,var
#comfunc global ICEnroll_freeRequestInfo 14 wstr
#comfunc global ICEnroll_get_MyStoreName 15 var
#comfunc global ICEnroll_put_MyStoreName 16 wstr
#comfunc global ICEnroll_get_MyStoreType 17 var
#comfunc global ICEnroll_put_MyStoreType 18 wstr
#comfunc global ICEnroll_get_MyStoreFlags 19 var
#comfunc global ICEnroll_put_MyStoreFlags 20 int
#comfunc global ICEnroll_get_CAStoreName 21 var
#comfunc global ICEnroll_put_CAStoreName 22 wstr
#comfunc global ICEnroll_get_CAStoreType 23 var
#comfunc global ICEnroll_put_CAStoreType 24 wstr
#comfunc global ICEnroll_get_CAStoreFlags 25 var
#comfunc global ICEnroll_put_CAStoreFlags 26 int
#comfunc global ICEnroll_get_RootStoreName 27 var
#comfunc global ICEnroll_put_RootStoreName 28 wstr
#comfunc global ICEnroll_get_RootStoreType 29 var
#comfunc global ICEnroll_put_RootStoreType 30 wstr
#comfunc global ICEnroll_get_RootStoreFlags 31 var
#comfunc global ICEnroll_put_RootStoreFlags 32 int
#comfunc global ICEnroll_get_RequestStoreName 33 var
#comfunc global ICEnroll_put_RequestStoreName 34 wstr
#comfunc global ICEnroll_get_RequestStoreType 35 var
#comfunc global ICEnroll_put_RequestStoreType 36 wstr
#comfunc global ICEnroll_get_RequestStoreFlags 37 var
#comfunc global ICEnroll_put_RequestStoreFlags 38 int
#comfunc global ICEnroll_get_ContainerName 39 var
#comfunc global ICEnroll_put_ContainerName 40 wstr
#comfunc global ICEnroll_get_ProviderName 41 var
#comfunc global ICEnroll_put_ProviderName 42 wstr
#comfunc global ICEnroll_get_ProviderType 43 var
#comfunc global ICEnroll_put_ProviderType 44 int
#comfunc global ICEnroll_get_KeySpec 45 var
#comfunc global ICEnroll_put_KeySpec 46 int
#comfunc global ICEnroll_get_ProviderFlags 47 var
#comfunc global ICEnroll_put_ProviderFlags 48 int
#comfunc global ICEnroll_get_UseExistingKeySet 49 var
#comfunc global ICEnroll_put_UseExistingKeySet 50 int
#comfunc global ICEnroll_get_GenKeyFlags 51 var
#comfunc global ICEnroll_put_GenKeyFlags 52 int
#comfunc global ICEnroll_get_DeleteRequestCert 53 var
#comfunc global ICEnroll_put_DeleteRequestCert 54 int
#comfunc global ICEnroll_get_WriteCertToCSP 55 var
#comfunc global ICEnroll_put_WriteCertToCSP 56 int
#comfunc global ICEnroll_get_SPCFileName 57 var
#comfunc global ICEnroll_put_SPCFileName 58 wstr
#comfunc global ICEnroll_get_PVKFileName 59 var
#comfunc global ICEnroll_put_PVKFileName 60 wstr
#comfunc global ICEnroll_get_HashAlgorithm 61 var
#comfunc global ICEnroll_put_HashAlgorithm 62 wstr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_ICEnroll "{43F8F288-7A20-11D0-8F06-00C04FC295E1}"
#usecom global ICEnroll IID_ICEnroll "{43F8F289-7A20-11D0-8F06-00C04FC295E1}"
#comfunc global ICEnroll_createFilePKCS10 7 wstr,wstr,wstr
#comfunc global ICEnroll_acceptFilePKCS7 8 wstr
#comfunc global ICEnroll_createPKCS10 9 wstr,wstr,sptr
#comfunc global ICEnroll_acceptPKCS7 10 wstr
#comfunc global ICEnroll_getCertFromPKCS7 11 wstr,sptr
#comfunc global ICEnroll_enumProviders 12 int,int,sptr
#comfunc global ICEnroll_enumContainers 13 int,sptr
#comfunc global ICEnroll_freeRequestInfo 14 wstr
#comfunc global ICEnroll_get_MyStoreName 15 sptr
#comfunc global ICEnroll_put_MyStoreName 16 wstr
#comfunc global ICEnroll_get_MyStoreType 17 sptr
#comfunc global ICEnroll_put_MyStoreType 18 wstr
#comfunc global ICEnroll_get_MyStoreFlags 19 sptr
#comfunc global ICEnroll_put_MyStoreFlags 20 int
#comfunc global ICEnroll_get_CAStoreName 21 sptr
#comfunc global ICEnroll_put_CAStoreName 22 wstr
#comfunc global ICEnroll_get_CAStoreType 23 sptr
#comfunc global ICEnroll_put_CAStoreType 24 wstr
#comfunc global ICEnroll_get_CAStoreFlags 25 sptr
#comfunc global ICEnroll_put_CAStoreFlags 26 int
#comfunc global ICEnroll_get_RootStoreName 27 sptr
#comfunc global ICEnroll_put_RootStoreName 28 wstr
#comfunc global ICEnroll_get_RootStoreType 29 sptr
#comfunc global ICEnroll_put_RootStoreType 30 wstr
#comfunc global ICEnroll_get_RootStoreFlags 31 sptr
#comfunc global ICEnroll_put_RootStoreFlags 32 int
#comfunc global ICEnroll_get_RequestStoreName 33 sptr
#comfunc global ICEnroll_put_RequestStoreName 34 wstr
#comfunc global ICEnroll_get_RequestStoreType 35 sptr
#comfunc global ICEnroll_put_RequestStoreType 36 wstr
#comfunc global ICEnroll_get_RequestStoreFlags 37 sptr
#comfunc global ICEnroll_put_RequestStoreFlags 38 int
#comfunc global ICEnroll_get_ContainerName 39 sptr
#comfunc global ICEnroll_put_ContainerName 40 wstr
#comfunc global ICEnroll_get_ProviderName 41 sptr
#comfunc global ICEnroll_put_ProviderName 42 wstr
#comfunc global ICEnroll_get_ProviderType 43 sptr
#comfunc global ICEnroll_put_ProviderType 44 int
#comfunc global ICEnroll_get_KeySpec 45 sptr
#comfunc global ICEnroll_put_KeySpec 46 int
#comfunc global ICEnroll_get_ProviderFlags 47 sptr
#comfunc global ICEnroll_put_ProviderFlags 48 int
#comfunc global ICEnroll_get_UseExistingKeySet 49 sptr
#comfunc global ICEnroll_put_UseExistingKeySet 50 int
#comfunc global ICEnroll_get_GenKeyFlags 51 sptr
#comfunc global ICEnroll_put_GenKeyFlags 52 int
#comfunc global ICEnroll_get_DeleteRequestCert 53 sptr
#comfunc global ICEnroll_put_DeleteRequestCert 54 int
#comfunc global ICEnroll_get_WriteCertToCSP 55 sptr
#comfunc global ICEnroll_put_WriteCertToCSP 56 int
#comfunc global ICEnroll_get_SPCFileName 57 sptr
#comfunc global ICEnroll_put_SPCFileName 58 wstr
#comfunc global ICEnroll_get_PVKFileName 59 sptr
#comfunc global ICEnroll_put_PVKFileName 60 wstr
#comfunc global ICEnroll_get_HashAlgorithm 61 sptr
#comfunc global ICEnroll_put_HashAlgorithm 62 wstr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。