AddPublicKeyRecipientFromStoreA
安全與簽章
需要 Enterprise 版本。在 Delphi、C++Builder 與 Lazarus 程式碼中,請以 TPDFlibEnterprise(PDFlibEnterprise 單元)建立程式庫;Enterprise DLL 與 ActiveX 組建原樣提供。其他版本保留此方法,方法會傳回 0、空字串或 False,並將 LastErrorCode 設為 900(PDFLIB_ERROR_ENTERPRISE_REQUIRED)
描述
AddPublicKeyRecipientFromStore 的 ANSI 版本
字串參數接受 ANSI 文字,其餘行為與寬字元字串版本完全相同
語法
DLL
int DLAddPublicKeyRecipientFromStoreA(int InstanceID, const char* StoreName, const char* CertificateName, int UseMachineStore, int Permissions);傳回值
| 1 | 收件者憑證已加入 |
|---|---|
| 0 | 存放區、憑證、權限或文件狀態無效 |
備註
DLL 另外匯出 ANSI 字串用的 DLAddPublicKeyRecipientFromStoreA