mcstruct.h
来自「美国Delta Tau公司PMAC多轴运动控制卡的VC++示例程序」· C头文件 代码 · 共 43 行
H
43 行
/*
* mcstruct.h
*
* 32-bit Motion Control Device Driver
*
* This header describes structures used in the interface between the
* kernel driver and the user-mode dll.
HISTORY
07Jun99 JET move DPRREADBUFFER, etc. to common.h
*/
#ifndef _MCSTRUCT_
#define _MCSTRUCT_
// Buffer limits
#define MAX_BUSBUFFER 256
/* --- pmac configuration buffer layout --------------------------------- */
typedef struct _CONFIG_INFO {
ULONG ulSize; /* size of struct including size field */
BYTE ulData[1]; /* (ulSize - sizeof(ULONG)) bytes of data */
} CONFIG_INFO, *PCONFIG_INFO;
/* --- pmac dpram buffer layout ----------------------------------------- */
typedef struct _MEMINITBUFFER {
HANDLE hProcess; // process handle
PVOID pAddress; // pointer to base of virtual ram
} MEMINITBUFFER, * PMEMINITBUFFER;
/* --- pmac interrupt buffer layout ------------------------------------- */
typedef struct _INTRBUFFER {
PCH lpData; // buffer data area
ULONG dwBufferLength; // length of buffer
DWORD dwInterruptType; // not used by kernel interface
} INTRBUFFER, * PINTRBUFFER;
#endif //_MCSTRUCT_
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?