mirror of
https://github.com/modernw/App-Installer-For-Windows-8.x-Reset.git
synced 2026-04-20 02:34:42 +10:00
Update the features about Notification and Cert.
This commit is contained in:
18
certmgr/certmgr.h
Normal file
18
certmgr/certmgr.h
Normal file
@@ -0,0 +1,18 @@
|
||||
// 下列 ifdef 块是创建使从 DLL 导出更简单的
|
||||
// 宏的标准方法。此 DLL 中的所有文件都是用命令行上定义的 CERTMGR_EXPORTS
|
||||
// 符号编译的。在使用此 DLL 的
|
||||
// 任何其他项目上不应定义此符号。这样,源文件中包含此文件的任何其他项目都会将
|
||||
// CERTMGR_API 函数视为是从 DLL 导入的,而此 DLL 则将用此宏定义的
|
||||
// 符号视为是被导出的。
|
||||
#ifdef CERTMGR_EXPORTS
|
||||
#define CERTMGR_API __declspec(dllexport)
|
||||
#else
|
||||
#define CERTMGR_API __declspec(dllimport)
|
||||
#endif
|
||||
|
||||
// 从 CER 文件导入证书到信任区域
|
||||
// 如果返回假(即失败),请从 GetLastError 获取错误代码
|
||||
CERTMGR_API BOOL LoadCertFromCertFile (LPCWSTR lpCertFile);
|
||||
// 从已签名的文件导入证书到信任区域
|
||||
// 如果返回假(即失败),请从 GetLastError 获取错误代码
|
||||
CERTMGR_API BOOL LoadCertFromSignedFile (LPCWSTR lpSignedFile);
|
||||
Reference in New Issue
Block a user