Command Reference; Bbpcwdt_Startup; Bbpcwdt_Shutdown - B&B Electronics PC Watchdog Timer Card ATRWDT User Manual

Pc watchdog timer card
Table of Contents

Advertisement

Command Reference

BBPCWDT_Startup

Purpose:
Begin communications with the watchdog timer.
C Syntax:
HANDLE BBPCWDT_Startup(void);
BASIC
Function BBPCWDTStartup () As Long
Syntax:
Remarks:
This function reads the watchdog timer's I/O port
value that the setup program stored in the registry
for Windows 95 / NT or in the file, PCWDT.INI, for
Windows 3.11. The Windows NT version of this
function establishes communications with the
PCWDT device driver. The Windows 3.11 / 95
version of this function just returns a handle that is
used with the other functions in this section to
communicate with the watchdog timer.
Return Value:
On error, INVALID_HANDLE_VALUE is returned
otherwise a handle to the watchdog timer is
returned.

BBPCWDT_Shutdown

Purpose:
Terminate communications with the watchdog
timer.
BOOL BBPCWDT_Shutdown(HANDLE hDev);
C Syntax:
BASIC
Function BBPCWDTShutdown (ByVal hDev
As Long) As Byte
Syntax:
hDev is the handle to the watchdog timer that was
Remarks:
returned by BBPCWDT_Startup. The Windows NT
version of this function closes the communications
to the PCWDT device driver.
Return Value:
TRUE (non-zero) if successful, otherwise FALSE
(zero).
16
Documentation Number ATxWDT-1303

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pc watchdog timer card atxwdtAtrwdtAtxwdt

Table of Contents