mp270_nt.h

来自「mp270app.dsp This file (the project fi」· C头文件 代码 · 共 63 行

H
63
字号
//----------------- MP270 Function for NT 4.0/W2K-----------------------------------------

typedef int (*funcMP270_init)(HANDLE);
funcMP270_init MP270_init;

typedef int (*funcMP270_outp)(HANDLE, unsigned char  ,unsigned char );
funcMP270_outp MP270_outp;

typedef int (*funcMP270_outpw)(HANDLE, unsigned char  ,unsigned short );
funcMP270_outpw MP270_outpw;

typedef int (*funcMP270_outps)(HANDLE, unsigned char  ,unsigned char *,  ULONG);
funcMP270_outps MP270_outps;

typedef int (*funcMP270_outpws)(HANDLE, unsigned char  ,unsigned short *,  ULONG);
funcMP270_outpws MP270_outpws;

typedef int (*funcMP270_inp)(HANDLE, unsigned char );
funcMP270_inp MP270_inp;

typedef int (*funcMP270_inps)(HANDLE, unsigned char  ,unsigned char *, ULONG );
funcMP270_inps MP270_inps;

typedef int (*funcMP270_inpws)(HANDLE, unsigned char  ,unsigned short *, ULONG );
funcMP270_inpws MP270_inpws;

typedef int (*funcMP270_State)(HANDLE);
funcMP270_State MP270_State;

typedef int (*funcMP270_SetChMode)(HANDLE, unsigned char);
funcMP270_SetChMode MP270_SetChMode;

typedef int (*funcMP270_Rew)(HANDLE);
funcMP270_Rew MP270_Rew;

typedef int (*funcMP270_ReadData)(HANDLE, unsigned char *, ULONG );
funcMP270_ReadData MP270_ReadData;

typedef int (*funcMP270_ReadDataWord)(HANDLE, unsigned short *, ULONG );
funcMP270_ReadDataWord MP270_ReadDataWord;

typedef int (*funcMP270_SetMode)(HANDLE, long, long,long );
funcMP270_SetMode MP270_SetMode;

typedef int (*funcMP270_Run)(HANDLE);
funcMP270_Run MP270_Run;

typedef int (*funcMP270_DAout)(HANDLE, unsigned short );
funcMP270_DAout MP270_DAout;

typedef int (*funcMP270_Set8254)(HANDLE, unsigned short, unsigned short );
funcMP270_Set8254 MP270_Set8254;

typedef int (*funcMP270_Set8255Mode)(HANDLE, unsigned char );
funcMP270_Set8255Mode MP270_Set8255Mode;

typedef int (*funcMP270_Write8255)(HANDLE, int, unsigned char );
funcMP270_Write8255 MP270_Write8255;

typedef int (*funcMP270_Read8255)(HANDLE, int, unsigned char );
funcMP270_Read8255 MP270_Read8255;

⌨️ 快捷键说明

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