(Page 7 of 80 in this chapter)


adiCloseDriver

Description

Closes an open AG driver.

Prototype

DWORD adiCloseDriver( unsigned drvid )

drvid Driver ID returned from adiOpenDriver.

Return Values

Events

None.

Details

This function closes the open AG driver defined by drvid which was obtained from adiOpenDriver. All ports associated with this driver ID (drvid) are automatically closed.

Any events queued in the driver for any port or context accessible through the drvid are discarded. After the driver is closed, the mux handle returned by adiOpenDriver is invalid.

See Also

adiOpenDriver

Example

See adiOpenDriver example.



(Page 7 of 80 in this chapter)


Tech_Support@nmss.com
Copyright © 1996, Natural MicroSystems, Inc. All rights reserved.