ProSoft Technology MVI69-ADM User Manual

Page 124

Advertising
background image

Application Development Function Library - ADM API

MVI-ADM ♦ 'C' Programmable

Developer's Guide

'C' Programmable Application Development Module

Page 124 of 342

ProSoft Technology, Inc.

February 20, 2013

ADM_Close

Syntax

int ADM_Close(ADMHANDLE adm_handle);

Parameters

adm_handle

Handle returned by previous call to ADM_Open

Description
This function is used by an application to release control of the API. adm_handle
must be a valid handle returned from ADM_Open.

IMPORTANT: After the API has been opened, this function should always be called before exiting
the application.

Return Value

ADM_SUCCESS

API was closed successfully

ADM_ERR_NOACCESS

adm_handle does not have access

Example

ADMHANDLE adm_handle;
ADM_Close(adm_handle);

See Also
ADM_Open (page 123)

Advertising