📄 mcstruct.h
字号:
/*
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -