72 API Command Reference
Personal488 User's Manual For Windows95 and Windows NT
KeepDevice
Syntax
INT WINAPI KeepDevice(DevHandleT devHandle);
devHandle
refers to an external device.
Returns
-1
if error
Mode
Any
Bus States
None
Example
errorcode = KeepDevice(scope);
See Also
MakeDevice, MakeNewDevice, RemoveDevice, OpenName
Note:
KeepDevice
will update an existing device or will create a new device in the Registry. This
update feature is new and useful. For example, if you wish to change the bus address of the
device and make it a permanent change.
The
KeepDevice
command changes the indicated temporary Driver488 device to a permanent device,
visible to all applications. Permanent Driver488 devices are not removed when Driver488 is closed.
Driver488 devices are created by
MakeDevice
and are initially temporary. Unless
KeepDevice
is
used, all temporary Driver488 devices are forgotten when Driver488 is closed. The only way to
remove the permanent device once it has been made permanent by the
KeepDevice
command, is to
use the
RemoveDevice
command.
Summary of Contents for OMB-PER-488/W95
Page 1: ......
Page 4: ...ii Personal488 User s Manual For Windows 95 and Windows NT Notes...
Page 38: ...32 Personal488 with GP488B Personal488 User s Manual For Windows95 and Windows NT Notes...
Page 52: ...46 Driver488 W95 Driver488 WNT Personal488 User s Manual For Windows95 and Windows NT Notes...
Page 136: ...130 Appendix Personal488 User s Manual For Windows95 and Windows NT Notes...
Page 139: ...Personal488 User s Manual For Windows 95 and Windows NT Index 133 Notes...
Page 142: ...136 Abbreviations Personal488 User s Manual For Windows95 and Windows NT Notes...