Function prototypes – MagTek MAGTEK User Manual
Page 78
MagTek Communications Protocol, Driver Reference Manual
72
#define MCP_ST_CLEANUP
85
// object is about to be destroyed, now in
// cleanup
#define MCP_ST_OVERRIDE
86
// operation/entity was overridden
#define MCP_ST_POSTPONE
87 //
postpone
operation:
inappropriate state
// API
#define MCP_ST_CANT_BIND
90
// can't bind / resolve name, handle, etc.
#define MCP_ST_API_ERROR
91
// invalid function request, etc.
#define MCP_ST_WRONG_VERSION 92
// incompatible version of data/code detected
#define MCP_ST_NOT_IMPLEMENTED 93
// feature not implemented
#define MCP_ST_NOT_SUPPORTED
94
// feature not supported
// object model & environment
#define MCP_ST_BAD_OID
100
// invalid object id
#define MCP_ST_BAD_MESSAGE
101
// object does not handle this message
FUNCTION PROTOTYPES
DWORD WINAPI McpEnum (MCPBUS *pMCPBUS);
DWORD WINAPI McpOpen (LPSTR lpDeviceName, HANDLE *hpDevice);
DWORD WINAPI McpClose (HANDLE hDevice);
DWORD WINAPI McpReset (HANDLE hDevice);
DWORD WINAPI McpGet (HANDLE hDevice, MCPBUS *pMCPBUS);
DWORD WINAPI McpSet (HANDLE hDevice, MCPBUS *pMCPBUS);
DWORD WINAPI McpCall (HANDLE hDevice, MCPBUS *pMCPBUS);
DWORD WINAPI McpWait (HANDLE hDevice, MCPBUS *pMCPBUS);