beautypg.com

Functions, Summary – MagTek MAGTEK User Manual

Page 57

background image

Section 5. Application Programmable Interface


51

FUNCTIONS

Summary

The following section describes each function of the API. A short description of the purpose for
each function is provided along with detailed descriptions of input and output parameters and
return values. Refer to the constant definitions section of this document for function return
value, property type and operation attribute constants.

The MCP API comprises the following functions:

Function

Description

McpEnum

Enumerate available MCP devices on the host computer.

McpOpen

Establish a communication channel with an MCP device.

McpClose

Close a communication channel with an MCP device.

McpReset

Reset the communication channel.

McpGet

Retrieve the value of a property from an MCP device,
embedded application, or MCP driver.

McpSet

Modify the value of a property from an MCP device
application or MCP driver device instance.

Mcpcall

Execute a command defined by an embedded application in
an MCP device.

McpWait

Wait for a notification message from an MCP device.