dev.h

来自「并口控制、调试工具」· C头文件 代码 · 共 24 行

H
24
字号
#include "stdafx.h"
#include <windows.h>
#include <winioctl.h>
#include "GPIOCTL.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif


class  dev:  public CObject
{
 public:
bool IsInitialized = false;
char szDriverPath[MAX_PATH];
bool GetDriverPath();
bool  StartDriver();
bool  Initialize();
bool StopDriver();
bool  RemoveDriver();
bool  InstallDriver(PSTR pszDriverPath, bool   IsDemandLoaded);
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?