OpenNamedDevice
Opens a named device.
Synopsis
Item OpenNamedDevice( const char *name, a )
Description
This macro opens a device that you specify by name.
Arguments
- name
- The name of the device to open.
- a
- This argument, which is not currently used, must be 0.
Return Value
The procedure returns the item number for the opened device or an error code if an error occurs.
Implementation
Macro implemented in device.h V20.
Associated Files
- device.h
- ANSI C Macro definition
See Also
CloseNamedDevice
(), OpenItem(), CloseItem(), FindItem()