基本信息
源码名称:win7下测试kernel驱动程序
源码大小:1.38M
文件格式:.zip
开发语言:C/C++
更新时间:2025-12-15
友情提示:(无需注册或充值,赞助后即可获取资源下载链接)
嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):78630559
本次赞助数额为: 1 元×
微信扫码支付:1 元
×
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
源码介绍
win7下测试kernel驱动程序
BOOL CKpztestDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// Add "About..." menu item to system menu.
// IDM_ABOUTBOX must be in the system command range.
ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX);
ASSERT(IDM_ABOUTBOX < 0xF000);
CMenu* pSysMenu = GetSystemMenu(FALSE);
if (pSysMenu != NULL)
{
CString strAboutMenu;
strAboutMenu.LoadString(IDS_ABOUTBOX);
if (!strAboutMenu.IsEmpty())
{
pSysMenu->AppendMenu(MF_SEPARATOR);
pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu);
}
}
// Set the icon for this dialog. The framework does this automatically
// when the application's main window is not a dialog
SetIcon(m_hIcon, TRUE); // Set big icon
SetIcon(m_hIcon, FALSE); // Set small icon
// TODO: Add extra initialization here
PlxdrvCard0Init(0, NULL);
/* PlxdrvCard1Init(0, NULL);
PlxdrvCard2Init(0, NULL);
PlxdrvCard3Init(0, NULL);
PlxdrvCard4Init(0, NULL);
PlxdrvCard5Init(0, NULL);
PlxdrvCard6Init(0, NULL);
PlxdrvCard7Init(0, NULL);
PlxdrvCard8Init(0, NULL);
PlxdrvCard9Init(0, NULL);
PlxdrvCardaInit(0, NULL);
PlxdrvCardbInit(0, NULL);
PlxdrvCardcInit(0, NULL);
PlxdrvCarddInit(0, NULL);
PlxdrvCardeInit(0, NULL);
PlxdrvCardfInit(0, NULL);
*/
// fp = fopen("a.txt", "wt");
SetTimer(1, 50, NULL);
return TRUE; // return TRUE unless you set the focus to a control
}
win7下测试kernel驱动程序
BOOL CKpztestDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// Add "About..." menu item to system menu.
// IDM_ABOUTBOX must be in the system command range.
ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX);
ASSERT(IDM_ABOUTBOX < 0xF000);
CMenu* pSysMenu = GetSystemMenu(FALSE);
if (pSysMenu != NULL)
{
CString strAboutMenu;
strAboutMenu.LoadString(IDS_ABOUTBOX);
if (!strAboutMenu.IsEmpty())
{
pSysMenu->AppendMenu(MF_SEPARATOR);
pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu);
}
}
// Set the icon for this dialog. The framework does this automatically
// when the application's main window is not a dialog
SetIcon(m_hIcon, TRUE); // Set big icon
SetIcon(m_hIcon, FALSE); // Set small icon
// TODO: Add extra initialization here
PlxdrvCard0Init(0, NULL);
/* PlxdrvCard1Init(0, NULL);
PlxdrvCard2Init(0, NULL);
PlxdrvCard3Init(0, NULL);
PlxdrvCard4Init(0, NULL);
PlxdrvCard5Init(0, NULL);
PlxdrvCard6Init(0, NULL);
PlxdrvCard7Init(0, NULL);
PlxdrvCard8Init(0, NULL);
PlxdrvCard9Init(0, NULL);
PlxdrvCardaInit(0, NULL);
PlxdrvCardbInit(0, NULL);
PlxdrvCardcInit(0, NULL);
PlxdrvCarddInit(0, NULL);
PlxdrvCardeInit(0, NULL);
PlxdrvCardfInit(0, NULL);
*/
// fp = fopen("a.txt", "wt");
SetTimer(1, 50, NULL);
return TRUE; // return TRUE unless you set the focus to a control
}