testcspdlg.h
来自「Windows Mobile 5.0下的CSP图形化测试工具。」· C头文件 代码 · 共 51 行
H
51 行
// TestCSPDlg.h : header file
//
#include <wincrypt.h>
#include <windows.h>
#include <service.h>
#pragma once
// CTestCSPDlg dialog
class CTestCSPDlg : public CDialog
{
// Construction
public:
CTestCSPDlg(CWnd* pParent = NULL); // standard constructor
void WriteLog(CString log);
void WL(const char* bytes);
void SL();
void FL();
/************************************************************************/
bool AcquireContext(HCRYPTPROV* hProv);
void TestCreateContainer();
void TestDeleteKeySet();
void TestGenKey();
void TestHashData();
void TestSignHash();
void TestReleaseContext();
void TestGetProvParam();
void TestEncrypt();
/************************************************************************/
// Dialog Data
enum { IDD = IDD_TESTCSP_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
virtual BOOL OnInitDialog();
#if defined(_DEVICE_RESOLUTION_AWARE) && !defined(WIN32_PLATFORM_WFSP)
afx_msg void OnSize(UINT /*nType*/, int /*cx*/, int /*cy*/);
#endif
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedButton1();
public:
CString msg;
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?