beautypg.com

1 m1x66_ret, M1x66_ret – Maxim Integrated 73M1866B/73M1966B FXOAPI User Manual

Page 48

background image

73M1866B/73M1966B FXOAPI User Guide

UG_1x66B_046

48

Rev. 2.1

4.1 M1x66_RET

Description

API function return code. All APIs, expect the open device and open channel, return with M1x66_RET
code. For additional error information when an API returns M1x66_FAILED the application program can
issue a get last error – M1x66_GetLastError.

Prototype

/*
**************************************************************************
** Function return code
*************************************************************************/
typedef enum {
M1x66_SUCCESS = 0,
M1x66_FAILED = (-1),
}
M1x66_RET;

Parameters


Name

Value

Description

M1x66_SUCCESS

0

Successful.

M1x66_FAILED

-1

Failed.