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. |
C Syntax: | BOOL BBPCWDT_Shutdown(HANDLE hDev); |
BASIC | Function BBPCWDTShutdown (ByVal hDev |
Syntax: | As Long) As Byte |
Remarks: | hDev is the handle to the watchdog timer that was |
| returned by BBPCWDT_Startup. The Windows NT |
| version of this function closes the communications |
| to the PCWDT device driver. |
Return Value: | TRUE |
| (zero). |
16 | Documentation Number |
B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph