27 lines
313 B
C++
27 lines
313 B
C++
#pragma once
|
|
#ifndef DRIVER_H
|
|
#define DRIVER_H
|
|
#include "Base.h"
|
|
#include "driver_func.h"
|
|
|
|
|
|
|
|
class Driver
|
|
{
|
|
public:
|
|
static auto fn_get_instance()->Driver*;
|
|
|
|
//驱动加载
|
|
auto driver_install()->BOOL;
|
|
|
|
//判断是否加载驱动
|
|
auto is_driver_load()->BOOL;
|
|
|
|
private:
|
|
static Driver* instance;
|
|
};
|
|
|
|
|
|
|
|
#endif // !DRIVER_H
|