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

📄 port32.h

📁 本程序是VC为平台开发的股票资讯系统
💻 H
字号:
#ifndef PORT32_H#define PORT32_H#ifdef WINIO_DLL#define PORT32API _declspec(dllexport)#else#define PORT32API _declspec(dllimport)#endif#pragma pack(1)struct GDT_DESCRIPTOR{  WORD Limit_0_15;  WORD Base_0_15;  BYTE Base_16_23;  BYTE Type         : 4;  BYTE System       : 1;  BYTE DPL          : 2;  BYTE Present      : 1;  BYTE Limit_16_19  : 4;  BYTE Available    : 1;  BYTE Reserved     : 1;  BYTE D_B          : 1;  BYTE Granularity  : 1;  BYTE Base_24_31;};struct CALLGATE_DESCRIPTOR{  WORD Offset_0_15;  WORD Selector;  WORD ParamCount   : 5;  WORD Unused       : 3;  WORD Type         : 4;  WORD System       : 1;  WORD DPL          : 2;  WORD Present      : 1;  WORD Offset_16_31;};struct GDTR{  WORD wGDTLimit;  DWORD dwGDTBase;};#pragma pack()//extern "C"//{//  PORT32API bool _stdcall GetPortVal(WORD wPortAddr, PDWORD pdwPortVal, BYTE bSize);//  PORT32API bool _stdcall SetPortVal(WORD wPortAddr, DWORD dwPortVal, BYTE bSize);//}#endif

⌨️ 快捷键说明

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