⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unit4.~pas

📁 这是一个对工作人员监控的很好的软件,当人不在时候,能够很好的监控人员!
💻 ~PAS
字号:
//***********************************************
//WinIO的声明单元
//***********************************************
unit Unit4;

interface

 function InstallWinIoDriver(const PathName: String; Flags: Boolean): Boolean; stdcall;
 function InitializeWinIo():Boolean; stdcall;
 function SetPortVal(PortAddr:Integer;PortVal:Integer;bSize:Byte):Boolean; stdcall;
 function GetPortVal(PortAddr:Integer;pPortVal:dword;bSize:Byte):Boolean;stdcall;
 procedure ShutdownWinIo;  stdcall;
 procedure RemoveWinIoDriver; stdcall;

implementation

 function InstallWinIoDriver(const PathName: String; Flags: Boolean): Boolean;
        external 'winio.dll' name 'InstallWinIoDriver';  stdcall;
 function SetPortVal(PortAddr:Integer;PortVal:Integer;bSize:Byte):Boolean;
        external 'winio.dll' name 'SetPortVal';  stdcall;
 function GetPortVal(PortAddr:Integer;pPortVal:dword;bSize:Byte):Boolean;
        external 'winio.dll' name 'GetPortVal';  stdcall;
 function InitializeWinIo():Boolean;
        external 'winio.dll' name 'InitializeWinIo'; stdcall;
 procedure ShutdownWinIo;
        external 'winio.dll' name 'ShutdownWinIo'; stdcall;
 procedure RemoveWinIoDriver;
        external 'winio.dll' name 'RemoveWinIoDriver';  stdcall;
end.

⌨️ 快捷键说明

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