dllfunctypedefine.h

来自「NI公司的PCI-6120四通道电压测量卡控制程序。该程序主要用VC实现对PCI」· C头文件 代码 · 共 51 行

H
51
字号
#ifndef DLLFUNCTYPEDEFINE_H_
#define DLLFUNCTYPEDEFINE_H_
///////////////////////////start define dll function type ///////////////////////////
typedef void(*VOID_DLLFUNC)();
typedef void(*VOID_DLLFUNC_INT)(int);
typedef void(*VOID_DLLFUNC_INT_2)(int, int);
typedef void(*VOID_DLLFUNC_INT_3)(int, int, int);
typedef void(*VOID_DLLFUNC_UINT)(unsigned int);
typedef void(*VOID_DLLFUNC_CHAR)(char);
typedef void(*VOID_DLLFUNC_CHAR_2)(char, char);
typedef void(*VOID_DLLFUNC_CHAR_3)(char, char, char);
typedef void(*VOID_DLLFUNC_UCHAR)(unsigned char);
typedef void(*VOID_DLLFUNC_UCHAR_2)(unsigned char, unsigned char);
typedef void(*VOID_DLLFUNC_UCHAR_3)(unsigned char, unsigned char, unsigned char);
typedef void(*VOID_DLLFUNC_ULONG)(unsigned long);
typedef void(*VOID_DLLFUNC_ULONG_2)(unsigned long, unsigned long);
typedef void(*VOID_DLLFUNC_ULONG_3)(unsigned long, unsigned long, unsigned long);
typedef void(*VOID_DLLFUNC_ULONG_4)(unsigned long, unsigned long, unsigned long, unsigned long);
typedef void(*VOID_DLLFUNC_ULONG_5)(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long);
typedef void(*VOID_DLLFUNC_INT_INT_CHAR)(int, int, char);
typedef void(*VOID_DLLFUNC_INT_INT_PCHAR)(int, int, char*);
typedef void(*VOID_DLLFUNC_INT_CHAR_CHAR)(int, char, char);
typedef void(*VOID_DLLFUNC_INT_INT_CHAR_CHAR)(int, int, char, char);

typedef int(*INT_DLLFUNC)();
typedef int(*INT_DLLFUNC_INT)(int);
typedef int(*INT_DLLFUNC_INT_2)(int, int);
typedef int(*INT_DLLFUNC_INT_3)(int, int, int);
typedef int(*INT_DLLFUNC_CHAR)(char);
typedef int(*INT_DLLFUNC_CHAR_2)(char, char);
typedef int(*INT_DLLFUNC_CHAR_3)(char, char, char);
typedef int(*INT_DLLFUNC_UCHAR)(unsigned char);
typedef int(*INT_DLLFUNC_UCHAR_2)(unsigned char, unsigned char);
typedef int(*INT_DLLFUNC_UCHAR_3)(unsigned char, unsigned char, unsigned char);
typedef int(*INT_DLLFUNC_ULONG)(unsigned long);
typedef int(*INT_DLLFUNC_ULONG_2)(unsigned long, unsigned long);
typedef int(*INT_DLLFUNC_ULONG_3)(unsigned long, unsigned long, unsigned long);
typedef int(*INT_DLLFUNC_ULONG_4)(unsigned long, unsigned long, unsigned long, unsigned long);
typedef int(*INT_DLLFUNC_ULONG_5)(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long);
typedef int(*INT_DLLFUNC_INT_CHAR_CHAR)(int, char, char);
typedef int(*INT_DLLFUNC_INT_INT_CHAR)(int, int, char);
typedef int(*INT_DLLFUNC_INT_INT_CHAR_CHAR)(int, int, char, char);
typedef int(*INT_DLLFUNC_INT_BOOL)(int, bool);
typedef int(*INT_DLLFUNC_INT_PCHAR)(int, char*);
typedef int(*INT_DLLFUNC_INT_INT_PCHAR_PCHAR)(int, int, char*, char*);
typedef char*(*PCHAR_DLLFUNC)();

typedef unsigned long(*ULONG_DLLFUNC)();

///////////////////////////end define dll function type ///////////////////////////////
#endif

⌨️ 快捷键说明

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