Adm api debug port functions – ProSoft Technology MVI69-ADM User Manual
Page 125
![background image](/files/866090/content/doc125.png)
MVI-ADM ♦ 'C' Programmable
Application Development Function Library - ADM API
'C' Programmable Application Development Module
Developer's Guide
ProSoft Technology, Inc.
Page 125 of 342
February 20, 2013
7.3
ADM API Debug Port Functions
ADM_ProcessDebug
Syntax
int ADM_ProcessDebug(ADMHANDLE adm_handle, ADM_INTERFACE *adm_interface_ptr);
Parameters
adm_handle
Handle returned by previous call to ADM_Open
adm_interface_ptr
Pointer to ADM_INTERFACE structure to allow API access to
structures
Description
This function provides a module user interface using the debug port. adm_handle
must be a valid handle returned from ADM_Open.
Return Value
ADM_SUCCESS
No errors were encountered
ADM_ERR_NOACCESS
adm_handle does not have access or user pressed E
SC
to exit
program
Example
ADMHANDLE adm_handle;
ADM_INTERFACE *interface_ptr;
ADM_INTERFACE interface;
interface_ptr = &interface;
ADM_ProcessDebug(adm_handle, interface_ptr);